Name | Type | Description | Notes |
---|---|---|---|
ContentType | Pointer to NullableString | A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. | [optional] |
Description | Pointer to NullableString | A textual description of this package. | [optional] |
Name | Pointer to NullableString | The name of this package. | [optional] |
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] |
Summary | Pointer to NullableString | A one-liner synopsis of this package. | [optional] |
Tags | Pointer to NullableString | A comma-separated values list of tags to add to the package. | [optional] |
Version | Pointer to NullableString | The raw version for this package. | [optional] |
func NewRawPackageUploadRequest(packageFile string, ) *RawPackageUploadRequest
NewRawPackageUploadRequest instantiates a new RawPackageUploadRequest 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 NewRawPackageUploadRequestWithDefaults() *RawPackageUploadRequest
NewRawPackageUploadRequestWithDefaults instantiates a new RawPackageUploadRequest 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 *RawPackageUploadRequest) GetContentType() string
GetContentType returns the ContentType field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RawPackageUploadRequest) SetContentType(v string)
SetContentType sets ContentType field to given value.
func (o *RawPackageUploadRequest) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetContentTypeNil(b bool)
SetContentTypeNil sets the value for ContentType to be an explicit nil
func (o *RawPackageUploadRequest) UnsetContentType()
UnsetContentType ensures that no value is present for ContentType, not even an explicit nil
func (o *RawPackageUploadRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RawPackageUploadRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *RawPackageUploadRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *RawPackageUploadRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *RawPackageUploadRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RawPackageUploadRequest) SetName(v string)
SetName sets Name field to given value.
func (o *RawPackageUploadRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *RawPackageUploadRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *RawPackageUploadRequest) GetPackageFile() string
GetPackageFile returns the PackageFile field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) 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 *RawPackageUploadRequest) SetPackageFile(v string)
SetPackageFile sets PackageFile field to given value.
func (o *RawPackageUploadRequest) GetRepublish() bool
GetRepublish returns the Republish field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) 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 *RawPackageUploadRequest) SetRepublish(v bool)
SetRepublish sets Republish field to given value.
func (o *RawPackageUploadRequest) HasRepublish() bool
HasRepublish returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) GetSummary() string
GetSummary returns the Summary field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) GetSummaryOk() (*string, bool)
GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RawPackageUploadRequest) SetSummary(v string)
SetSummary sets Summary field to given value.
func (o *RawPackageUploadRequest) HasSummary() bool
HasSummary returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetSummaryNil(b bool)
SetSummaryNil sets the value for Summary to be an explicit nil
func (o *RawPackageUploadRequest) UnsetSummary()
UnsetSummary ensures that no value is present for Summary, not even an explicit nil
func (o *RawPackageUploadRequest) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) 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 *RawPackageUploadRequest) SetTags(v string)
SetTags sets Tags field to given value.
func (o *RawPackageUploadRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *RawPackageUploadRequest) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil
func (o *RawPackageUploadRequest) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *RawPackageUploadRequest) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RawPackageUploadRequest) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *RawPackageUploadRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *RawPackageUploadRequest) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
func (o *RawPackageUploadRequest) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil