| Name | Type | Description | Notes |
|---|---|---|---|
| IsMalwareDetected | Pointer to bool | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional] [readonly] |
| PackageFile | string | The primary file for the package. | |
| Republish | Pointer to bool | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] |
| Tags | Pointer to NullableString | A comma-separated values list of tags to add to the package. | [optional] |
| VulnerabilityCounts | Pointer to NullableWebOSVSeverityCounts | [optional] |
func NewPythonPackageUploadRequest(packageFile string, ) *PythonPackageUploadRequest
NewPythonPackageUploadRequest instantiates a new PythonPackageUploadRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPythonPackageUploadRequestWithDefaults() *PythonPackageUploadRequest
NewPythonPackageUploadRequestWithDefaults instantiates a new PythonPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PythonPackageUploadRequest) GetIsMalwareDetected() bool
GetIsMalwareDetected returns the IsMalwareDetected field if non-nil, zero value otherwise.
func (o *PythonPackageUploadRequest) GetIsMalwareDetectedOk() (*bool, bool)
GetIsMalwareDetectedOk returns a tuple with the IsMalwareDetected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PythonPackageUploadRequest) SetIsMalwareDetected(v bool)
SetIsMalwareDetected sets IsMalwareDetected field to given value.
func (o *PythonPackageUploadRequest) HasIsMalwareDetected() bool
HasIsMalwareDetected returns a boolean if a field has been set.
func (o *PythonPackageUploadRequest) GetPackageFile() string
GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.
func (o *PythonPackageUploadRequest) GetPackageFileOk() (*string, bool)
GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PythonPackageUploadRequest) SetPackageFile(v string)
SetPackageFile sets PackageFile field to given value.
func (o *PythonPackageUploadRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
func (o *PythonPackageUploadRequest) GetRepublishOk() (*bool, bool)
GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PythonPackageUploadRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *PythonPackageUploadRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.
func (o *PythonPackageUploadRequest) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *PythonPackageUploadRequest) GetTagsOk() (*string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PythonPackageUploadRequest) SetTags(v string)
SetTags sets Tags field to given value.
func (o *PythonPackageUploadRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *PythonPackageUploadRequest) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *PythonPackageUploadRequest) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil
func (o *PythonPackageUploadRequest) GetVulnerabilityCounts() WebOSVSeverityCounts
GetVulnerabilityCounts returns the VulnerabilityCounts field if non-nil, zero value otherwise.
func (o *PythonPackageUploadRequest) GetVulnerabilityCountsOk() (*WebOSVSeverityCounts, bool)
GetVulnerabilityCountsOk returns a tuple with the VulnerabilityCounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PythonPackageUploadRequest) SetVulnerabilityCounts(v WebOSVSeverityCounts)
SetVulnerabilityCounts sets VulnerabilityCounts field to given value.
func (o *PythonPackageUploadRequest) HasVulnerabilityCounts() bool
HasVulnerabilityCounts returns a boolean if a field has been set.
func (o *PythonPackageUploadRequest) SetVulnerabilityCountsNil(b bool)
SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil
func (o *PythonPackageUploadRequest) UnsetVulnerabilityCounts()
UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, not even an explicit nil