Name | Type | Description | Notes |
---|---|---|---|
Distribution | string | The distribution to store the package for. | |
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] |
func NewAlpinePackageUploadRequest(distribution string, packageFile string, ) *AlpinePackageUploadRequest
NewAlpinePackageUploadRequest instantiates a new AlpinePackageUploadRequest 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 NewAlpinePackageUploadRequestWithDefaults() *AlpinePackageUploadRequest
NewAlpinePackageUploadRequestWithDefaults instantiates a new AlpinePackageUploadRequest 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 *AlpinePackageUploadRequest) GetDistribution() string
GetDistribution returns the Distribution field if non-nil, zero value otherwise.
func (o *AlpinePackageUploadRequest) GetDistributionOk() (*string, bool)
GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlpinePackageUploadRequest) SetDistribution(v string)
SetDistribution sets Distribution field to given value.
func (o *AlpinePackageUploadRequest) GetPackageFile() string
GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.
func (o *AlpinePackageUploadRequest) 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 *AlpinePackageUploadRequest) SetPackageFile(v string)
SetPackageFile sets PackageFile field to given value.
func (o *AlpinePackageUploadRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
func (o *AlpinePackageUploadRequest) 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 *AlpinePackageUploadRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *AlpinePackageUploadRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.
func (o *AlpinePackageUploadRequest) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *AlpinePackageUploadRequest) 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 *AlpinePackageUploadRequest) SetTags(v string)
SetTags sets Tags field to given value.
func (o *AlpinePackageUploadRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *AlpinePackageUploadRequest) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *AlpinePackageUploadRequest) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil