Skip to content

Latest commit

 

History

History
113 lines (62 loc) · 3.42 KB

HexPackageUploadRequest.md

File metadata and controls

113 lines (62 loc) · 3.42 KB

HexPackageUploadRequest

Properties

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

NewHexPackageUploadRequest

func NewHexPackageUploadRequest(packageFile string, ) *HexPackageUploadRequest

NewHexPackageUploadRequest instantiates a new HexPackageUploadRequest 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

NewHexPackageUploadRequestWithDefaults

func NewHexPackageUploadRequestWithDefaults() *HexPackageUploadRequest

NewHexPackageUploadRequestWithDefaults instantiates a new HexPackageUploadRequest 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

GetPackageFile

func (o *HexPackageUploadRequest) GetPackageFile() string

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

GetPackageFileOk

func (o *HexPackageUploadRequest) 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 *HexPackageUploadRequest) SetPackageFile(v string)

SetPackageFile sets PackageFile field to given value.

GetRepublish

func (o *HexPackageUploadRequest) GetRepublish() bool

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

GetRepublishOk

func (o *HexPackageUploadRequest) 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 *HexPackageUploadRequest) SetRepublish(v bool)

SetRepublish sets Republish field to given value.

HasRepublish

func (o *HexPackageUploadRequest) HasRepublish() bool

HasRepublish returns a boolean if a field has been set.

GetTags

func (o *HexPackageUploadRequest) GetTags() string

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

GetTagsOk

func (o *HexPackageUploadRequest) 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 *HexPackageUploadRequest) SetTags(v string)

SetTags sets Tags field to given value.

HasTags

func (o *HexPackageUploadRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTagsNil

func (o *HexPackageUploadRequest) SetTagsNil(b bool)

SetTagsNil sets the value for Tags to be an explicit nil

UnsetTags

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