Skip to content

Latest commit

 

History

History
139 lines (76 loc) · 4.57 KB

File metadata and controls

139 lines (76 loc) · 4.57 KB

PackageCopyRequest

Properties

Name Type Description Notes
Destination string The name of the destination repository without the namespace.
IsMalwareDetected Pointer to bool Whether the package has been detected as containing malware. Requires Ultra plan. [optional] [readonly]
Republish Pointer to bool If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. [optional]
VulnerabilityCounts Pointer to NullableWebOSVSeverityCounts [optional]

Methods

NewPackageCopyRequest

func NewPackageCopyRequest(destination string, ) *PackageCopyRequest

NewPackageCopyRequest instantiates a new PackageCopyRequest 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

NewPackageCopyRequestWithDefaults

func NewPackageCopyRequestWithDefaults() *PackageCopyRequest

NewPackageCopyRequestWithDefaults instantiates a new PackageCopyRequest 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

GetDestination

func (o *PackageCopyRequest) GetDestination() string

GetDestination returns the Destination field if non-nil, zero value otherwise.

GetDestinationOk

func (o *PackageCopyRequest) GetDestinationOk() (*string, bool)

GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDestination

func (o *PackageCopyRequest) SetDestination(v string)

SetDestination sets Destination field to given value.

GetIsMalwareDetected

func (o *PackageCopyRequest) GetIsMalwareDetected() bool

GetIsMalwareDetected returns the IsMalwareDetected field if non-nil, zero value otherwise.

GetIsMalwareDetectedOk

func (o *PackageCopyRequest) 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.

SetIsMalwareDetected

func (o *PackageCopyRequest) SetIsMalwareDetected(v bool)

SetIsMalwareDetected sets IsMalwareDetected field to given value.

HasIsMalwareDetected

func (o *PackageCopyRequest) HasIsMalwareDetected() bool

HasIsMalwareDetected returns a boolean if a field has been set.

GetRepublish

func (o *PackageCopyRequest) GetRepublish() bool

GetRepublish returns the Republish field if non-nil, zero value otherwise.

GetRepublishOk

func (o *PackageCopyRequest) 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.

SetRepublish

func (o *PackageCopyRequest) SetRepublish(v bool)

SetRepublish sets Republish field to given value.

HasRepublish

func (o *PackageCopyRequest) HasRepublish() bool

HasRepublish returns a boolean if a field has been set.

GetVulnerabilityCounts

func (o *PackageCopyRequest) GetVulnerabilityCounts() WebOSVSeverityCounts

GetVulnerabilityCounts returns the VulnerabilityCounts field if non-nil, zero value otherwise.

GetVulnerabilityCountsOk

func (o *PackageCopyRequest) 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.

SetVulnerabilityCounts

func (o *PackageCopyRequest) SetVulnerabilityCounts(v WebOSVSeverityCounts)

SetVulnerabilityCounts sets VulnerabilityCounts field to given value.

HasVulnerabilityCounts

func (o *PackageCopyRequest) HasVulnerabilityCounts() bool

HasVulnerabilityCounts returns a boolean if a field has been set.

SetVulnerabilityCountsNil

func (o *PackageCopyRequest) SetVulnerabilityCountsNil(b bool)

SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil

UnsetVulnerabilityCounts

func (o *PackageCopyRequest) UnsetVulnerabilityCounts()

UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]