garage-admin-sdk-generator/golang/docs/UpdateBucketRequestQuotas.md

3 KiB

UpdateBucketRequestQuotas

Properties

Name Type Description Notes
MaxSize Pointer to NullableInt32 [optional]
MaxObjects Pointer to NullableInt32 [optional]

Methods

NewUpdateBucketRequestQuotas

func NewUpdateBucketRequestQuotas() *UpdateBucketRequestQuotas

NewUpdateBucketRequestQuotas instantiates a new UpdateBucketRequestQuotas 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

NewUpdateBucketRequestQuotasWithDefaults

func NewUpdateBucketRequestQuotasWithDefaults() *UpdateBucketRequestQuotas

NewUpdateBucketRequestQuotasWithDefaults instantiates a new UpdateBucketRequestQuotas 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

GetMaxSize

func (o *UpdateBucketRequestQuotas) GetMaxSize() int32

GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.

GetMaxSizeOk

func (o *UpdateBucketRequestQuotas) GetMaxSizeOk() (*int32, bool)

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

SetMaxSize

func (o *UpdateBucketRequestQuotas) SetMaxSize(v int32)

SetMaxSize sets MaxSize field to given value.

HasMaxSize

func (o *UpdateBucketRequestQuotas) HasMaxSize() bool

HasMaxSize returns a boolean if a field has been set.

SetMaxSizeNil

func (o *UpdateBucketRequestQuotas) SetMaxSizeNil(b bool)

SetMaxSizeNil sets the value for MaxSize to be an explicit nil

UnsetMaxSize

func (o *UpdateBucketRequestQuotas) UnsetMaxSize()

UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil

GetMaxObjects

func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32

GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise.

GetMaxObjectsOk

func (o *UpdateBucketRequestQuotas) GetMaxObjectsOk() (*int32, bool)

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

SetMaxObjects

func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int32)

SetMaxObjects sets MaxObjects field to given value.

HasMaxObjects

func (o *UpdateBucketRequestQuotas) HasMaxObjects() bool

HasMaxObjects returns a boolean if a field has been set.

SetMaxObjectsNil

func (o *UpdateBucketRequestQuotas) SetMaxObjectsNil(b bool)

SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil

UnsetMaxObjects

func (o *UpdateBucketRequestQuotas) UnsetMaxObjects()

UnsetMaxObjects ensures that no value is present for MaxObjects, not even an explicit nil

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