garage-admin-sdk-golang/docs/BucketInfoQuotas.md

2.8 KiB

BucketInfoQuotas

Properties

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

Methods

NewBucketInfoQuotas

func NewBucketInfoQuotas() *BucketInfoQuotas

NewBucketInfoQuotas instantiates a new BucketInfoQuotas 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

NewBucketInfoQuotasWithDefaults

func NewBucketInfoQuotasWithDefaults() *BucketInfoQuotas

NewBucketInfoQuotasWithDefaults instantiates a new BucketInfoQuotas 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 *BucketInfoQuotas) GetMaxSize() int64

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

GetMaxSizeOk

func (o *BucketInfoQuotas) GetMaxSizeOk() (*int64, 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 *BucketInfoQuotas) SetMaxSize(v int64)

SetMaxSize sets MaxSize field to given value.

HasMaxSize

func (o *BucketInfoQuotas) HasMaxSize() bool

HasMaxSize returns a boolean if a field has been set.

SetMaxSizeNil

func (o *BucketInfoQuotas) SetMaxSizeNil(b bool)

SetMaxSizeNil sets the value for MaxSize to be an explicit nil

UnsetMaxSize

func (o *BucketInfoQuotas) UnsetMaxSize()

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

GetMaxObjects

func (o *BucketInfoQuotas) GetMaxObjects() int64

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

GetMaxObjectsOk

func (o *BucketInfoQuotas) GetMaxObjectsOk() (*int64, 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 *BucketInfoQuotas) SetMaxObjects(v int64)

SetMaxObjects sets MaxObjects field to given value.

HasMaxObjects

func (o *BucketInfoQuotas) HasMaxObjects() bool

HasMaxObjects returns a boolean if a field has been set.

SetMaxObjectsNil

func (o *BucketInfoQuotas) SetMaxObjectsNil(b bool)

SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil

UnsetMaxObjects

func (o *BucketInfoQuotas) 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]