include int64 patch
This commit is contained in:
parent
d012cff7c5
commit
c965fe7f7d
7 changed files with 66 additions and 60 deletions
|
@ -1060,9 +1060,11 @@ components:
|
|||
type: array
|
||||
objects:
|
||||
example: 14827
|
||||
format: int64
|
||||
type: integer
|
||||
bytes:
|
||||
example: 13189855625
|
||||
format: int64
|
||||
type: integer
|
||||
unfinishedUploads:
|
||||
example: 0
|
||||
|
@ -1307,9 +1309,11 @@ components:
|
|||
properties:
|
||||
maxSize:
|
||||
example: 19029801
|
||||
format: int64
|
||||
nullable: true
|
||||
type: integer
|
||||
maxObjects:
|
||||
format: int64
|
||||
nullable: true
|
||||
type: integer
|
||||
example: null
|
||||
|
@ -1425,10 +1429,12 @@ components:
|
|||
maxObjects: 6
|
||||
properties:
|
||||
maxSize:
|
||||
format: int64
|
||||
nullable: true
|
||||
type: integer
|
||||
example: null
|
||||
maxObjects:
|
||||
format: int64
|
||||
nullable: true
|
||||
type: integer
|
||||
example: null
|
||||
|
|
|
@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|||
**WebsiteAccess** | Pointer to **bool** | | [optional]
|
||||
**WebsiteConfig** | Pointer to [**NullableBucketInfoWebsiteConfig**](BucketInfoWebsiteConfig.md) | | [optional]
|
||||
**Keys** | Pointer to [**[]BucketKeyInfo**](BucketKeyInfo.md) | | [optional]
|
||||
**Objects** | Pointer to **int32** | | [optional]
|
||||
**Bytes** | Pointer to **int32** | | [optional]
|
||||
**Objects** | Pointer to **int64** | | [optional]
|
||||
**Bytes** | Pointer to **int64** | | [optional]
|
||||
**UnfinishedUploads** | Pointer to **int32** | | [optional]
|
||||
**Quotas** | Pointer to [**BucketInfoQuotas**](BucketInfoQuotas.md) | | [optional]
|
||||
|
||||
|
@ -170,20 +170,20 @@ HasKeys returns a boolean if a field has been set.
|
|||
|
||||
### GetObjects
|
||||
|
||||
`func (o *BucketInfo) GetObjects() int32`
|
||||
`func (o *BucketInfo) GetObjects() int64`
|
||||
|
||||
GetObjects returns the Objects field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetObjects
|
||||
|
||||
`func (o *BucketInfo) SetObjects(v int32)`
|
||||
`func (o *BucketInfo) SetObjects(v int64)`
|
||||
|
||||
SetObjects sets Objects field to given value.
|
||||
|
||||
|
@ -195,20 +195,20 @@ HasObjects returns a boolean if a field has been set.
|
|||
|
||||
### GetBytes
|
||||
|
||||
`func (o *BucketInfo) GetBytes() int32`
|
||||
`func (o *BucketInfo) GetBytes() int64`
|
||||
|
||||
GetBytes returns the Bytes field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBytes
|
||||
|
||||
`func (o *BucketInfo) SetBytes(v int32)`
|
||||
`func (o *BucketInfo) SetBytes(v int64)`
|
||||
|
||||
SetBytes sets Bytes field to given value.
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**MaxSize** | Pointer to **NullableInt32** | | [optional]
|
||||
**MaxObjects** | Pointer to **NullableInt32** | | [optional]
|
||||
**MaxSize** | Pointer to **NullableInt64** | | [optional]
|
||||
**MaxObjects** | Pointer to **NullableInt64** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
|
@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
|
|||
|
||||
### GetMaxSize
|
||||
|
||||
`func (o *BucketInfoQuotas) GetMaxSize() int32`
|
||||
`func (o *BucketInfoQuotas) GetMaxSize() int64`
|
||||
|
||||
GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxSize
|
||||
|
||||
`func (o *BucketInfoQuotas) SetMaxSize(v int32)`
|
||||
`func (o *BucketInfoQuotas) SetMaxSize(v int64)`
|
||||
|
||||
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
|
||||
### GetMaxObjects
|
||||
|
||||
`func (o *BucketInfoQuotas) GetMaxObjects() int32`
|
||||
`func (o *BucketInfoQuotas) GetMaxObjects() int64`
|
||||
|
||||
GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxObjects
|
||||
|
||||
`func (o *BucketInfoQuotas) SetMaxObjects(v int32)`
|
||||
`func (o *BucketInfoQuotas) SetMaxObjects(v int64)`
|
||||
|
||||
SetMaxObjects sets MaxObjects field to given value.
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**MaxSize** | Pointer to **NullableInt32** | | [optional]
|
||||
**MaxObjects** | Pointer to **NullableInt32** | | [optional]
|
||||
**MaxSize** | Pointer to **NullableInt64** | | [optional]
|
||||
**MaxObjects** | Pointer to **NullableInt64** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
|
@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
|
|||
|
||||
### GetMaxSize
|
||||
|
||||
`func (o *UpdateBucketRequestQuotas) GetMaxSize() int32`
|
||||
`func (o *UpdateBucketRequestQuotas) GetMaxSize() int64`
|
||||
|
||||
GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxSize
|
||||
|
||||
`func (o *UpdateBucketRequestQuotas) SetMaxSize(v int32)`
|
||||
`func (o *UpdateBucketRequestQuotas) SetMaxSize(v int64)`
|
||||
|
||||
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
|
||||
### GetMaxObjects
|
||||
|
||||
`func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32`
|
||||
`func (o *UpdateBucketRequestQuotas) GetMaxObjects() int64`
|
||||
|
||||
GetMaxObjects returns the MaxObjects field if non-nil, zero value otherwise.
|
||||
|
||||
### 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
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxObjects
|
||||
|
||||
`func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int32)`
|
||||
`func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int64)`
|
||||
|
||||
SetMaxObjects sets MaxObjects field to given value.
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ type BucketInfo struct {
|
|||
WebsiteAccess *bool `json:"websiteAccess,omitempty"`
|
||||
WebsiteConfig NullableBucketInfoWebsiteConfig `json:"websiteConfig,omitempty"`
|
||||
Keys []BucketKeyInfo `json:"keys,omitempty"`
|
||||
Objects *int32 `json:"objects,omitempty"`
|
||||
Bytes *int32 `json:"bytes,omitempty"`
|
||||
Objects *int64 `json:"objects,omitempty"`
|
||||
Bytes *int64 `json:"bytes,omitempty"`
|
||||
UnfinishedUploads *int32 `json:"unfinishedUploads,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.
|
||||
func (o *BucketInfo) GetObjects() int32 {
|
||||
func (o *BucketInfo) GetObjects() int64 {
|
||||
if o == nil || o.Objects == nil {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -241,15 +241,15 @@ func (o *BucketInfo) HasObjects() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetObjects gets a reference to the given int32 and assigns it to the Objects field.
|
||||
func (o *BucketInfo) SetObjects(v int32) {
|
||||
// SetObjects gets a reference to the given int64 and assigns it to the Objects field.
|
||||
func (o *BucketInfo) SetObjects(v int64) {
|
||||
o.Objects = &v
|
||||
}
|
||||
|
||||
// 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 {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -273,8 +273,8 @@ func (o *BucketInfo) HasBytes() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetBytes gets a reference to the given int32 and assigns it to the Bytes field.
|
||||
func (o *BucketInfo) SetBytes(v int32) {
|
||||
// SetBytes gets a reference to the given int64 and assigns it to the Bytes field.
|
||||
func (o *BucketInfo) SetBytes(v int64) {
|
||||
o.Bytes = &v
|
||||
}
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ import (
|
|||
|
||||
// BucketInfoQuotas struct for BucketInfoQuotas
|
||||
type BucketInfoQuotas struct {
|
||||
MaxSize NullableInt32 `json:"maxSize,omitempty"`
|
||||
MaxObjects NullableInt32 `json:"maxObjects,omitempty"`
|
||||
MaxSize NullableInt64 `json:"maxSize,omitempty"`
|
||||
MaxObjects NullableInt64 `json:"maxObjects,omitempty"`
|
||||
}
|
||||
|
||||
// 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).
|
||||
func (o *BucketInfoQuotas) GetMaxSize() int32 {
|
||||
func (o *BucketInfoQuotas) GetMaxSize() int64 {
|
||||
if o == nil || o.MaxSize.Get() == nil {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// and a boolean to check if the value has been set.
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ func (o *BucketInfoQuotas) HasMaxSize() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetMaxSize gets a reference to the given NullableInt32 and assigns it to the MaxSize field.
|
||||
func (o *BucketInfoQuotas) SetMaxSize(v int32) {
|
||||
// SetMaxSize gets a reference to the given NullableInt64 and assigns it to the MaxSize field.
|
||||
func (o *BucketInfoQuotas) SetMaxSize(v int64) {
|
||||
o.MaxSize.Set(&v)
|
||||
}
|
||||
// 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).
|
||||
func (o *BucketInfoQuotas) GetMaxObjects() int32 {
|
||||
func (o *BucketInfoQuotas) GetMaxObjects() int64 {
|
||||
if o == nil || o.MaxObjects.Get() == nil {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// and a boolean to check if the value has been set.
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -107,8 +107,8 @@ func (o *BucketInfoQuotas) HasMaxObjects() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetMaxObjects gets a reference to the given NullableInt32 and assigns it to the MaxObjects field.
|
||||
func (o *BucketInfoQuotas) SetMaxObjects(v int32) {
|
||||
// SetMaxObjects gets a reference to the given NullableInt64 and assigns it to the MaxObjects field.
|
||||
func (o *BucketInfoQuotas) SetMaxObjects(v int64) {
|
||||
o.MaxObjects.Set(&v)
|
||||
}
|
||||
// SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil
|
||||
|
|
|
@ -16,8 +16,8 @@ import (
|
|||
|
||||
// UpdateBucketRequestQuotas struct for UpdateBucketRequestQuotas
|
||||
type UpdateBucketRequestQuotas struct {
|
||||
MaxSize NullableInt32 `json:"maxSize,omitempty"`
|
||||
MaxObjects NullableInt32 `json:"maxObjects,omitempty"`
|
||||
MaxSize NullableInt64 `json:"maxSize,omitempty"`
|
||||
MaxObjects NullableInt64 `json:"maxObjects,omitempty"`
|
||||
}
|
||||
|
||||
// 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).
|
||||
func (o *UpdateBucketRequestQuotas) GetMaxSize() int32 {
|
||||
func (o *UpdateBucketRequestQuotas) GetMaxSize() int64 {
|
||||
if o == nil || o.MaxSize.Get() == nil {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// and a boolean to check if the value has been set.
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ func (o *UpdateBucketRequestQuotas) HasMaxSize() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetMaxSize gets a reference to the given NullableInt32 and assigns it to the MaxSize field.
|
||||
func (o *UpdateBucketRequestQuotas) SetMaxSize(v int32) {
|
||||
// SetMaxSize gets a reference to the given NullableInt64 and assigns it to the MaxSize field.
|
||||
func (o *UpdateBucketRequestQuotas) SetMaxSize(v int64) {
|
||||
o.MaxSize.Set(&v)
|
||||
}
|
||||
// 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).
|
||||
func (o *UpdateBucketRequestQuotas) GetMaxObjects() int32 {
|
||||
func (o *UpdateBucketRequestQuotas) GetMaxObjects() int64 {
|
||||
if o == nil || o.MaxObjects.Get() == nil {
|
||||
var ret int32
|
||||
var ret int64
|
||||
return ret
|
||||
}
|
||||
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
|
||||
// and a boolean to check if the value has been set.
|
||||
// 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 {
|
||||
return nil, false
|
||||
}
|
||||
|
@ -107,8 +107,8 @@ func (o *UpdateBucketRequestQuotas) HasMaxObjects() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// SetMaxObjects gets a reference to the given NullableInt32 and assigns it to the MaxObjects field.
|
||||
func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int32) {
|
||||
// SetMaxObjects gets a reference to the given NullableInt64 and assigns it to the MaxObjects field.
|
||||
func (o *UpdateBucketRequestQuotas) SetMaxObjects(v int64) {
|
||||
o.MaxObjects.Set(&v)
|
||||
}
|
||||
// SetMaxObjectsNil sets the value for MaxObjects to be an explicit nil
|
||||
|
|
Loading…
Reference in a new issue