| Name | Type | Description | Notes |
|---|---|---|---|
| NpmDistTag | Pointer to NullableString | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional] [default to "latest"] |
| 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 NewNpmPackageUploadRequest(packageFile string, ) *NpmPackageUploadRequest
NewNpmPackageUploadRequest instantiates a new NpmPackageUploadRequest 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 NewNpmPackageUploadRequestWithDefaults() *NpmPackageUploadRequest
NewNpmPackageUploadRequestWithDefaults instantiates a new NpmPackageUploadRequest 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 *NpmPackageUploadRequest) GetNpmDistTag() string
GetNpmDistTag returns the NpmDistTag field if non-nil, zero value otherwise.
func (o *NpmPackageUploadRequest) GetNpmDistTagOk() (*string, bool)
GetNpmDistTagOk returns a tuple with the NpmDistTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NpmPackageUploadRequest) SetNpmDistTag(v string)
SetNpmDistTag sets NpmDistTag field to given value.
func (o *NpmPackageUploadRequest) HasNpmDistTag() bool
HasNpmDistTag returns a boolean if a field has been set.
func (o *NpmPackageUploadRequest) SetNpmDistTagNil(b bool)
SetNpmDistTagNil sets the value for NpmDistTag to be an explicit nil
func (o *NpmPackageUploadRequest) UnsetNpmDistTag()
UnsetNpmDistTag ensures that no value is present for NpmDistTag, not even an explicit nil
func (o *NpmPackageUploadRequest) GetPackageFile() string
GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.
func (o *NpmPackageUploadRequest) 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 *NpmPackageUploadRequest) SetPackageFile(v string)
SetPackageFile sets PackageFile field to given value.
func (o *NpmPackageUploadRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
func (o *NpmPackageUploadRequest) 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 *NpmPackageUploadRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *NpmPackageUploadRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.
func (o *NpmPackageUploadRequest) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *NpmPackageUploadRequest) 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 *NpmPackageUploadRequest) SetTags(v string)
SetTags sets Tags field to given value.
func (o *NpmPackageUploadRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *NpmPackageUploadRequest) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *NpmPackageUploadRequest) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil