include int64 patch

This commit is contained in:
Quentin 2023-01-31 09:13:55 +01:00
parent d012cff7c5
commit c965fe7f7d
Signed by: quentin
GPG key ID: E9602264D639FF68
7 changed files with 66 additions and 60 deletions

View file

@ -1060,9 +1060,11 @@ components:
type: array type: array
objects: objects:
example: 14827 example: 14827
format: int64
type: integer type: integer
bytes: bytes:
example: 13189855625 example: 13189855625
format: int64
type: integer type: integer
unfinishedUploads: unfinishedUploads:
example: 0 example: 0
@ -1307,9 +1309,11 @@ components:
properties: properties:
maxSize: maxSize:
example: 19029801 example: 19029801
format: int64
nullable: true nullable: true
type: integer type: integer
maxObjects: maxObjects:
format: int64
nullable: true nullable: true
type: integer type: integer
example: null example: null
@ -1425,10 +1429,12 @@ components:
maxObjects: 6 maxObjects: 6
properties: properties:
maxSize: maxSize:
format: int64
nullable: true nullable: true
type: integer type: integer
example: null example: null
maxObjects: maxObjects:
format: int64
nullable: true nullable: true
type: integer type: integer
example: null example: null

View file

@ -9,8 +9,8 @@ Name | Type | Description | Notes
**WebsiteAccess** | Pointer to **bool** | | [optional] **WebsiteAccess** | Pointer to **bool** | | [optional]
**WebsiteConfig** | Pointer to [**NullableBucketInfoWebsiteConfig**](BucketInfoWebsiteConfig.md) | | [optional] **WebsiteConfig** | Pointer to [**NullableBucketInfoWebsiteConfig**](BucketInfoWebsiteConfig.md) | | [optional]
**Keys** | Pointer to [**[]BucketKeyInfo**](BucketKeyInfo.md) | | [optional] **Keys** | Pointer to [**[]BucketKeyInfo**](BucketKeyInfo.md) | | [optional]
**Objects** | Pointer to **int32** | | [optional] **Objects** | Pointer to **int64** | | [optional]
**Bytes** | Pointer to **int32** | | [optional] **Bytes** | Pointer to **int64** | | [optional]
**UnfinishedUploads** | Pointer to **int32** | | [optional] **UnfinishedUploads** | Pointer to **int32** | | [optional]
**Quotas** | Pointer to [**BucketInfoQuotas**](BucketInfoQuotas.md) | | [optional] **Quotas** | Pointer to [**BucketInfoQuotas**](BucketInfoQuotas.md) | | [optional]
@ -170,20 +170,20 @@ HasKeys returns a boolean if a field has been set.
### GetObjects ### GetObjects
`func (o *BucketInfo) GetObjects() int32` `func (o *BucketInfo) GetObjects() int64`
GetObjects returns the Objects field if non-nil, zero value otherwise. GetObjects returns the Objects field if non-nil, zero value otherwise.
### GetObjectsOk ### GetObjectsOk
`func (o *BucketInfo) GetObjectsOk() (*int32, bool)` `func (o *BucketInfo) GetObjectsOk() (*int64, bool)`
GetObjectsOk returns a tuple with the Objects field if it's non-nil, zero value otherwise GetObjectsOk returns a tuple with the Objects field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set. and a boolean to check if the value has been set.
### SetObjects ### SetObjects
`func (o *BucketInfo) SetObjects(v int32)` `func (o *BucketInfo) SetObjects(v int64)`
SetObjects sets Objects field to given value. SetObjects sets Objects field to given value.
@ -195,20 +195,20 @@ HasObjects returns a boolean if a field has been set.
### GetBytes ### GetBytes
`func (o *BucketInfo) GetBytes() int32` `func (o *BucketInfo) GetBytes() int64`
GetBytes returns the Bytes field if non-nil, zero value otherwise. GetBytes returns the Bytes field if non-nil, zero value otherwise.
### GetBytesOk ### GetBytesOk
`func (o *BucketInfo) GetBytesOk() (*int32, bool)` `func (o *BucketInfo) GetBytesOk() (*int64, bool)`
GetBytesOk returns a tuple with the Bytes field if it's non-nil, zero value otherwise GetBytesOk returns a tuple with the Bytes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set. and a boolean to check if the value has been set.
### SetBytes ### SetBytes
`func (o *BucketInfo) SetBytes(v int32)` `func (o *BucketInfo) SetBytes(v int64)`
SetBytes sets Bytes field to given value. SetBytes sets Bytes field to given value.

View file

@ -4,8 +4,8 @@
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**MaxSize** | Pointer to **NullableInt32** | | [optional] **MaxSize** | Pointer to **NullableInt64** | | [optional]
**MaxObjects** | Pointer to **NullableInt32** | | [optional] **MaxObjects** | Pointer to **NullableInt64** | | [optional]
## Methods ## Methods
@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
### GetMaxSize ### GetMaxSize
`func (o *BucketInfoQuotas) GetMaxSize() int32` `func (o *BucketInfoQuotas) GetMaxSize() int64`
GetMaxSize returns the MaxSize field if non-nil, zero value otherwise. GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.
### GetMaxSizeOk ### GetMaxSizeOk
`func (o *BucketInfoQuotas) GetMaxSizeOk() (*int32, bool)` `func (o *BucketInfoQuotas) GetMaxSizeOk() (*int64, bool)`
GetMaxSizeOk returns a tuple with the MaxSize field if it's non-nil, zero value otherwise 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. and a boolean to check if the value has been set.
### SetMaxSize ### SetMaxSize
`func (o *BucketInfoQuotas) SetMaxSize(v int32)` `func (o *BucketInfoQuotas) SetMaxSize(v int64)`
SetMaxSize sets MaxSize field to given value. SetMaxSize sets MaxSize field to given value.
@ -63,20 +63,20 @@ HasMaxSize returns a boolean if a field has been set.
UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil
### GetMaxObjects ### GetMaxObjects
`func (o *BucketInfoQuotas) GetMaxObjects() int32` `func (o *BucketInfoQuotas) GetMaxObjects() int64`
GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise. GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise.
### GetMaxObjectsOk ### GetMaxObjectsOk
`func (o *BucketInfoQuotas) GetMaxObjectsOk() (*int32, bool)` `func (o *BucketInfoQuotas) GetMaxObjectsOk() (*int64, bool)`
GetMaxObjectsOk returns a tuple with the MaxObjects field if it's non-nil, zero value otherwise 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. and a boolean to check if the value has been set.
### SetMaxObjects ### SetMaxObjects
`func (o *BucketInfoQuotas) SetMaxObjects(v int32)` `func (o *BucketInfoQuotas) SetMaxObjects(v int64)`
SetMaxObjects sets MaxObjects field to given value. SetMaxObjects sets MaxObjects field to given value.

View file

@ -4,8 +4,8 @@
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**MaxSize** | Pointer to **NullableInt32** | | [optional] **MaxSize** | Pointer to **NullableInt64** | | [optional]
**MaxObjects** | Pointer to **NullableInt32** | | [optional] **MaxObjects** | Pointer to **NullableInt64** | | [optional]
## Methods ## Methods
@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
### GetMaxSize ### GetMaxSize
`func (o *UpdateBucketRequestQuotas) GetMaxSize() int32` `func (o *UpdateBucketRequestQuotas) GetMaxSize() int64`
GetMaxSize returns the MaxSize field if non-nil, zero value otherwise. GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.
### GetMaxSizeOk ### GetMaxSizeOk
`func (o *UpdateBucketRequestQuotas) GetMaxSizeOk() (*int32, bool)` `func (o *UpdateBucketRequestQuotas) GetMaxSizeOk() (*int64, bool)`
GetMaxSizeOk returns a tuple with the MaxSize field if it's non-nil, zero value otherwise 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. and a boolean to check if the value has been set.
### SetMaxSize ### SetMaxSize
`func (o *UpdateBucketRequestQuotas) SetMaxSize(v int32)` `func (o *UpdateBucketRequestQuotas) SetMaxSize(v int64)`
SetMaxSize sets MaxSize field to given value. SetMaxSize sets MaxSize field to given value.
@ -63,20 +63,20 @@ HasMaxSize returns a boolean if a field has been set.
UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil
### GetMaxObjects ### GetMaxObjects
`func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32` `func (o *UpdateBucketRequestQuotas) GetMaxObjects() int64`
GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise. GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise.
### GetMaxObjectsOk ### GetMaxObjectsOk
`func (o *UpdateBucketRequestQuotas) GetMaxObjectsOk() (*int32, bool)` `func (o *UpdateBucketRequestQuotas) GetMaxObjectsOk() (*int64, bool)`
GetMaxObjectsOk returns a tuple with the MaxObjects field if it's non-nil, zero value otherwise 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. and a boolean to check if the value has been set.
### SetMaxObjects ### SetMaxObjects
`func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int32)` `func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int64)`
SetMaxObjects sets MaxObjects field to given value. SetMaxObjects sets MaxObjects field to given value.

View file

@ -21,8 +21,8 @@ type BucketInfo struct {
WebsiteAccess *bool `json:"websiteAccess,omitempty"` WebsiteAccess *bool `json:"websiteAccess,omitempty"`
WebsiteConfig NullableBucketInfoWebsiteConfig `json:"websiteConfig,omitempty"` WebsiteConfig NullableBucketInfoWebsiteConfig `json:"websiteConfig,omitempty"`
Keys []BucketKeyInfo `json:"keys,omitempty"` Keys []BucketKeyInfo `json:"keys,omitempty"`
Objects *int32 `json:"objects,omitempty"` Objects *int64 `json:"objects,omitempty"`
Bytes *int32 `json:"bytes,omitempty"` Bytes *int64 `json:"bytes,omitempty"`
UnfinishedUploads *int32 `json:"unfinishedUploads,omitempty"` UnfinishedUploads *int32 `json:"unfinishedUploads,omitempty"`
Quotas *BucketInfoQuotas `json:"quotas,omitempty"` Quotas *BucketInfoQuotas `json:"quotas,omitempty"`
} }
@ -215,9 +215,9 @@ func (o *BucketInfo) SetKeys(v []BucketKeyInfo) {
} }
// GetObjects returns the Objects field value if set, zero value otherwise. // GetObjects returns the Objects field value if set, zero value otherwise.
func (o *BucketInfo) GetObjects() int32 { func (o *BucketInfo) GetObjects() int64 {
if o == nil || o.Objects == nil { if o == nil || o.Objects == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.Objects return *o.Objects
@ -225,7 +225,7 @@ func (o *BucketInfo) GetObjects() int32 {
// GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise // GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
func (o *BucketInfo) GetObjectsOk() (*int32, bool) { func (o *BucketInfo) GetObjectsOk() (*int64, bool) {
if o == nil || o.Objects == nil { if o == nil || o.Objects == nil {
return nil, false return nil, false
} }
@ -241,15 +241,15 @@ func (o *BucketInfo) HasObjects() bool {
return false return false
} }
// SetObjects gets a reference to the given int32 and assigns it to the Objects field. // SetObjects gets a reference to the given int64 and assigns it to the Objects field.
func (o *BucketInfo) SetObjects(v int32) { func (o *BucketInfo) SetObjects(v int64) {
o.Objects = &v o.Objects = &v
} }
// GetBytes returns the Bytes field value if set, zero value otherwise. // GetBytes returns the Bytes field value if set, zero value otherwise.
func (o *BucketInfo) GetBytes() int32 { func (o *BucketInfo) GetBytes() int64 {
if o == nil || o.Bytes == nil { if o == nil || o.Bytes == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.Bytes return *o.Bytes
@ -257,7 +257,7 @@ func (o *BucketInfo) GetBytes() int32 {
// GetBytesOk returns a tuple with the Bytes field value if set, nil otherwise // GetBytesOk returns a tuple with the Bytes field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
func (o *BucketInfo) GetBytesOk() (*int32, bool) { func (o *BucketInfo) GetBytesOk() (*int64, bool) {
if o == nil || o.Bytes == nil { if o == nil || o.Bytes == nil {
return nil, false return nil, false
} }
@ -273,8 +273,8 @@ func (o *BucketInfo) HasBytes() bool {
return false return false
} }
// SetBytes gets a reference to the given int32 and assigns it to the Bytes field. // SetBytes gets a reference to the given int64 and assigns it to the Bytes field.
func (o *BucketInfo) SetBytes(v int32) { func (o *BucketInfo) SetBytes(v int64) {
o.Bytes = &v o.Bytes = &v
} }

View file

@ -16,8 +16,8 @@ import (
// BucketInfoQuotas struct for BucketInfoQuotas // BucketInfoQuotas struct for BucketInfoQuotas
type BucketInfoQuotas struct { type BucketInfoQuotas struct {
MaxSize NullableInt32 `json:"maxSize,omitempty"` MaxSize NullableInt64 `json:"maxSize,omitempty"`
MaxObjects NullableInt32 `json:"maxObjects,omitempty"` MaxObjects NullableInt64 `json:"maxObjects,omitempty"`
} }
// NewBucketInfoQuotas instantiates a new BucketInfoQuotas object // NewBucketInfoQuotas instantiates a new BucketInfoQuotas object
@ -38,9 +38,9 @@ func NewBucketInfoQuotasWithDefaults() *BucketInfoQuotas {
} }
// GetMaxSize returns the MaxSize field value if set, zero value otherwise (both if not set or set to explicit null). // GetMaxSize returns the MaxSize field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BucketInfoQuotas) GetMaxSize() int32 { func (o *BucketInfoQuotas) GetMaxSize() int64 {
if o == nil || o.MaxSize.Get() == nil { if o == nil || o.MaxSize.Get() == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.MaxSize.Get() return *o.MaxSize.Get()
@ -49,7 +49,7 @@ func (o *BucketInfoQuotas) GetMaxSize() int32 {
// GetMaxSizeOk returns a tuple with the MaxSize field value if set, nil otherwise // GetMaxSizeOk returns a tuple with the MaxSize field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned // NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BucketInfoQuotas) GetMaxSizeOk() (*int32, bool) { func (o *BucketInfoQuotas) GetMaxSizeOk() (*int64, bool) {
if o == nil { if o == nil {
return nil, false return nil, false
} }
@ -65,8 +65,8 @@ func (o *BucketInfoQuotas) HasMaxSize() bool {
return false return false
} }
// SetMaxSize gets a reference to the given NullableInt32 and assigns it to the MaxSize field. // SetMaxSize gets a reference to the given NullableInt64 and assigns it to the MaxSize field.
func (o *BucketInfoQuotas) SetMaxSize(v int32) { func (o *BucketInfoQuotas) SetMaxSize(v int64) {
o.MaxSize.Set(&v) o.MaxSize.Set(&v)
} }
// SetMaxSizeNil sets the value for MaxSize to be an explicit nil // SetMaxSizeNil sets the value for MaxSize to be an explicit nil
@ -80,9 +80,9 @@ func (o *BucketInfoQuotas) UnsetMaxSize() {
} }
// GetMaxObjects returns the MaxObjects field value if set, zero value otherwise (both if not set or set to explicit null). // GetMaxObjects returns the MaxObjects field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *BucketInfoQuotas) GetMaxObjects() int32 { func (o *BucketInfoQuotas) GetMaxObjects() int64 {
if o == nil || o.MaxObjects.Get() == nil { if o == nil || o.MaxObjects.Get() == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.MaxObjects.Get() return *o.MaxObjects.Get()
@ -91,7 +91,7 @@ func (o *BucketInfoQuotas) GetMaxObjects() int32 {
// GetMaxObjectsOk returns a tuple with the MaxObjects field value if set, nil otherwise // GetMaxObjectsOk returns a tuple with the MaxObjects field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned // NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *BucketInfoQuotas) GetMaxObjectsOk() (*int32, bool) { func (o *BucketInfoQuotas) GetMaxObjectsOk() (*int64, bool) {
if o == nil { if o == nil {
return nil, false return nil, false
} }
@ -107,8 +107,8 @@ func (o *BucketInfoQuotas) HasMaxObjects() bool {
return false return false
} }
// SetMaxObjects gets a reference to the given NullableInt32 and assigns it to the MaxObjects field. // SetMaxObjects gets a reference to the given NullableInt64 and assigns it to the MaxObjects field.
func (o *BucketInfoQuotas) SetMaxObjects(v int32) { func (o *BucketInfoQuotas) SetMaxObjects(v int64) {
o.MaxObjects.Set(&v) o.MaxObjects.Set(&v)
} }
// SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil // SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil

View file

@ -16,8 +16,8 @@ import (
// UpdateBucketRequestQuotas struct for UpdateBucketRequestQuotas // UpdateBucketRequestQuotas struct for UpdateBucketRequestQuotas
type UpdateBucketRequestQuotas struct { type UpdateBucketRequestQuotas struct {
MaxSize NullableInt32 `json:"maxSize,omitempty"` MaxSize NullableInt64 `json:"maxSize,omitempty"`
MaxObjects NullableInt32 `json:"maxObjects,omitempty"` MaxObjects NullableInt64 `json:"maxObjects,omitempty"`
} }
// NewUpdateBucketRequestQuotas instantiates a new UpdateBucketRequestQuotas object // NewUpdateBucketRequestQuotas instantiates a new UpdateBucketRequestQuotas object
@ -38,9 +38,9 @@ func NewUpdateBucketRequestQuotasWithDefaults() *UpdateBucketRequestQuotas {
} }
// GetMaxSize returns the MaxSize field value if set, zero value otherwise (both if not set or set to explicit null). // GetMaxSize returns the MaxSize field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *UpdateBucketRequestQuotas) GetMaxSize() int32 { func (o *UpdateBucketRequestQuotas) GetMaxSize() int64 {
if o == nil || o.MaxSize.Get() == nil { if o == nil || o.MaxSize.Get() == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.MaxSize.Get() return *o.MaxSize.Get()
@ -49,7 +49,7 @@ func (o *UpdateBucketRequestQuotas) GetMaxSize() int32 {
// GetMaxSizeOk returns a tuple with the MaxSize field value if set, nil otherwise // GetMaxSizeOk returns a tuple with the MaxSize field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned // NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *UpdateBucketRequestQuotas) GetMaxSizeOk() (*int32, bool) { func (o *UpdateBucketRequestQuotas) GetMaxSizeOk() (*int64, bool) {
if o == nil { if o == nil {
return nil, false return nil, false
} }
@ -65,8 +65,8 @@ func (o *UpdateBucketRequestQuotas) HasMaxSize() bool {
return false return false
} }
// SetMaxSize gets a reference to the given NullableInt32 and assigns it to the MaxSize field. // SetMaxSize gets a reference to the given NullableInt64 and assigns it to the MaxSize field.
func (o *UpdateBucketRequestQuotas) SetMaxSize(v int32) { func (o *UpdateBucketRequestQuotas) SetMaxSize(v int64) {
o.MaxSize.Set(&v) o.MaxSize.Set(&v)
} }
// SetMaxSizeNil sets the value for MaxSize to be an explicit nil // SetMaxSizeNil sets the value for MaxSize to be an explicit nil
@ -80,9 +80,9 @@ func (o *UpdateBucketRequestQuotas) UnsetMaxSize() {
} }
// GetMaxObjects returns the MaxObjects field value if set, zero value otherwise (both if not set or set to explicit null). // GetMaxObjects returns the MaxObjects field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32 { func (o *UpdateBucketRequestQuotas) GetMaxObjects() int64 {
if o == nil || o.MaxObjects.Get() == nil { if o == nil || o.MaxObjects.Get() == nil {
var ret int32 var ret int64
return ret return ret
} }
return *o.MaxObjects.Get() return *o.MaxObjects.Get()
@ -91,7 +91,7 @@ func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32 {
// GetMaxObjectsOk returns a tuple with the MaxObjects field value if set, nil otherwise // GetMaxObjectsOk returns a tuple with the MaxObjects field value if set, nil otherwise
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned // NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *UpdateBucketRequestQuotas) GetMaxObjectsOk() (*int32, bool) { func (o *UpdateBucketRequestQuotas) GetMaxObjectsOk() (*int64, bool) {
if o == nil { if o == nil {
return nil, false return nil, false
} }
@ -107,8 +107,8 @@ func (o *UpdateBucketRequestQuotas) HasMaxObjects() bool {
return false return false
} }
// SetMaxObjects gets a reference to the given NullableInt32 and assigns it to the MaxObjects field. // SetMaxObjects gets a reference to the given NullableInt64 and assigns it to the MaxObjects field.
func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int32) { func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int64) {
o.MaxObjects.Set(&v) o.MaxObjects.Set(&v)
} }
// SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil // SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil