Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 4.13 KB

AlpinePackageUploadRequest.md

File metadata and controls

134 lines (73 loc) · 4.13 KB

AlpinePackageUploadRequest

Properties

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]

Methods

NewAlpinePackageUploadRequest

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

NewAlpinePackageUploadRequestWithDefaults

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

GetDistribution

func (o *AlpinePackageUploadRequest) GetDistribution() string

GetDistribution returns the Distribution field if non-nil, zero value otherwise.

GetDistributionOk

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.

SetDistribution

func (o *AlpinePackageUploadRequest) SetDistribution(v string)

SetDistribution sets Distribution field to given value.

GetPackageFile

func (o *AlpinePackageUploadRequest) GetPackageFile() string

GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.

GetPackageFileOk

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.

SetPackageFile

func (o *AlpinePackageUploadRequest) SetPackageFile(v string)

SetPackageFile sets PackageFile field to given value.

GetRepublish

func (o *AlpinePackageUploadRequest) GetRepublish() bool

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

GetRepublishOk

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.

SetRepublish

func (o *AlpinePackageUploadRequest) SetRepublish(v bool)

SetRepublish sets Republish field to given value.

HasRepublish

func (o *AlpinePackageUploadRequest) HasRepublish() bool

HasRepublish returns a boolean if a field has been set.

GetTags

func (o *AlpinePackageUploadRequest) GetTags() string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

SetTags

func (o *AlpinePackageUploadRequest) SetTags(v string)

SetTags sets Tags field to given value.

HasTags

func (o *AlpinePackageUploadRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTagsNil

func (o *AlpinePackageUploadRequest) SetTagsNil(b bool)

SetTagsNil sets the value for Tags to be an explicit nil

UnsetTags

func (o *AlpinePackageUploadRequest) UnsetTags()

UnsetTags ensures that no value is present for Tags, not even an explicit nil

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