Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.34 KB

PackageCopyRequest.md

File metadata and controls

77 lines (42 loc) · 2.34 KB

PackageCopyRequest

Properties

Name Type Description Notes
Destination string
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]

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.

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.

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