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] |
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
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
func (o *PackageCopyRequest) GetDestination() string
GetDestination returns the Destination field if non-nil, zero value otherwise.
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.
func (o *PackageCopyRequest) SetDestination(v string)
SetDestination sets Destination field to given value.
func (o *PackageCopyRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
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.
func (o *PackageCopyRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *PackageCopyRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.