Files
sdk/docs/ProjectsUploadGrant.md

4.8 KiB

ProjectsUploadGrant

Properties

Name Type Description Notes
Copy Pointer to bool [optional]
ExpiresAt Pointer to int32 [optional]
Fields Pointer to map[string]string [optional]
MaxBytes Pointer to int32 [optional]
Prefix Pointer to string [optional]
Url Pointer to string [optional]

Methods

NewProjectsUploadGrant

func NewProjectsUploadGrant() *ProjectsUploadGrant

NewProjectsUploadGrant instantiates a new ProjectsUploadGrant 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

NewProjectsUploadGrantWithDefaults

func NewProjectsUploadGrantWithDefaults() *ProjectsUploadGrant

NewProjectsUploadGrantWithDefaults instantiates a new ProjectsUploadGrant 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

GetCopy

func (o *ProjectsUploadGrant) GetCopy() bool

GetCopy returns the Copy field if non-nil, zero value otherwise.

GetCopyOk

func (o *ProjectsUploadGrant) GetCopyOk() (*bool, bool)

GetCopyOk returns a tuple with the Copy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCopy

func (o *ProjectsUploadGrant) SetCopy(v bool)

SetCopy sets Copy field to given value.

HasCopy

func (o *ProjectsUploadGrant) HasCopy() bool

HasCopy returns a boolean if a field has been set.

GetExpiresAt

func (o *ProjectsUploadGrant) GetExpiresAt() int32

GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.

GetExpiresAtOk

func (o *ProjectsUploadGrant) GetExpiresAtOk() (*int32, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiresAt

func (o *ProjectsUploadGrant) SetExpiresAt(v int32)

SetExpiresAt sets ExpiresAt field to given value.

HasExpiresAt

func (o *ProjectsUploadGrant) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

GetFields

func (o *ProjectsUploadGrant) GetFields() map[string]string

GetFields returns the Fields field if non-nil, zero value otherwise.

GetFieldsOk

func (o *ProjectsUploadGrant) GetFieldsOk() (*map[string]string, bool)

GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFields

func (o *ProjectsUploadGrant) SetFields(v map[string]string)

SetFields sets Fields field to given value.

HasFields

func (o *ProjectsUploadGrant) HasFields() bool

HasFields returns a boolean if a field has been set.

GetMaxBytes

func (o *ProjectsUploadGrant) GetMaxBytes() int32

GetMaxBytes returns the MaxBytes field if non-nil, zero value otherwise.

GetMaxBytesOk

func (o *ProjectsUploadGrant) GetMaxBytesOk() (*int32, bool)

GetMaxBytesOk returns a tuple with the MaxBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxBytes

func (o *ProjectsUploadGrant) SetMaxBytes(v int32)

SetMaxBytes sets MaxBytes field to given value.

HasMaxBytes

func (o *ProjectsUploadGrant) HasMaxBytes() bool

HasMaxBytes returns a boolean if a field has been set.

GetPrefix

func (o *ProjectsUploadGrant) GetPrefix() string

GetPrefix returns the Prefix field if non-nil, zero value otherwise.

GetPrefixOk

func (o *ProjectsUploadGrant) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPrefix

func (o *ProjectsUploadGrant) SetPrefix(v string)

SetPrefix sets Prefix field to given value.

HasPrefix

func (o *ProjectsUploadGrant) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

GetUrl

func (o *ProjectsUploadGrant) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *ProjectsUploadGrant) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUrl

func (o *ProjectsUploadGrant) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *ProjectsUploadGrant) HasUrl() bool

HasUrl returns a boolean if a field has been set.

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