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] |
func NewLuarocksPackageUploadRequest(packageFile string, ) *LuarocksPackageUploadRequest
NewLuarocksPackageUploadRequest instantiates a new LuarocksPackageUploadRequest 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 NewLuarocksPackageUploadRequestWithDefaults() *LuarocksPackageUploadRequest
NewLuarocksPackageUploadRequestWithDefaults instantiates a new LuarocksPackageUploadRequest 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 *LuarocksPackageUploadRequest) GetPackageFile() string
GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.
func (o *LuarocksPackageUploadRequest) 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 *LuarocksPackageUploadRequest) SetPackageFile(v string)
SetPackageFile sets PackageFile field to given value.
func (o *LuarocksPackageUploadRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
func (o *LuarocksPackageUploadRequest) 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 *LuarocksPackageUploadRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *LuarocksPackageUploadRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.
func (o *LuarocksPackageUploadRequest) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *LuarocksPackageUploadRequest) 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 *LuarocksPackageUploadRequest) SetTags(v string)
SetTags sets Tags field to given value.
func (o *LuarocksPackageUploadRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *LuarocksPackageUploadRequest) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *LuarocksPackageUploadRequest) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil