Skip to content

Latest commit

 

History

History
113 lines (62 loc) · 3.77 KB

File metadata and controls

113 lines (62 loc) · 3.77 KB

PackageMoveRequest

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]
VulnerabilityCounts Pointer to NullableWebOSVSeverityCounts [optional]

Methods

NewPackageMoveRequest

func NewPackageMoveRequest(destination string, ) *PackageMoveRequest

NewPackageMoveRequest instantiates a new PackageMoveRequest 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

NewPackageMoveRequestWithDefaults

func NewPackageMoveRequestWithDefaults() *PackageMoveRequest

NewPackageMoveRequestWithDefaults instantiates a new PackageMoveRequest 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 *PackageMoveRequest) GetDestination() string

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

GetDestinationOk

func (o *PackageMoveRequest) 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 *PackageMoveRequest) SetDestination(v string)

SetDestination sets Destination field to given value.

GetIsMalwareDetected

func (o *PackageMoveRequest) GetIsMalwareDetected() bool

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

GetIsMalwareDetectedOk

func (o *PackageMoveRequest) 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 *PackageMoveRequest) SetIsMalwareDetected(v bool)

SetIsMalwareDetected sets IsMalwareDetected field to given value.

HasIsMalwareDetected

func (o *PackageMoveRequest) HasIsMalwareDetected() bool

HasIsMalwareDetected returns a boolean if a field has been set.

GetVulnerabilityCounts

func (o *PackageMoveRequest) GetVulnerabilityCounts() WebOSVSeverityCounts

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

GetVulnerabilityCountsOk

func (o *PackageMoveRequest) 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 *PackageMoveRequest) SetVulnerabilityCounts(v WebOSVSeverityCounts)

SetVulnerabilityCounts sets VulnerabilityCounts field to given value.

HasVulnerabilityCounts

func (o *PackageMoveRequest) HasVulnerabilityCounts() bool

HasVulnerabilityCounts returns a boolean if a field has been set.

SetVulnerabilityCountsNil

func (o *PackageMoveRequest) SetVulnerabilityCountsNil(b bool)

SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil

UnsetVulnerabilityCounts

func (o *PackageMoveRequest) 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]