Skip to content

Commit

Permalink
fix: used wrong quota type
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusbakunas committed Aug 7, 2021
1 parent 33630c6 commit f6d24b3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -503,15 +503,15 @@ components:
comments: comments
recordsize: recordsize
deduplication: deduplication
refreservation: 1
refreservation: 5
sync: sync
snapdir: snapdir
copies: 0
readonly: readonly
quota: quota
quota: 6
aclmode: aclmode
compression: compression
refquota: 6
refquota: 1
exec: exec
properties:
atime:
Expand All @@ -529,7 +529,7 @@ components:
exec:
type: string
quota:
type: string
type: integer
readonly:
type: string
recordsize:
Expand Down
2 changes: 1 addition & 1 deletion cfg/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ components:
exec:
type: string
quota:
type: string
type: integer
readonly:
type: string
recordsize:
Expand Down
8 changes: 4 additions & 4 deletions docs/UpdateDatasetParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**Copies** | Pointer to **int32** | | [optional]
**Deduplication** | Pointer to **string** | | [optional]
**Exec** | Pointer to **string** | | [optional]
**Quota** | Pointer to **string** | | [optional]
**Quota** | Pointer to **int32** | | [optional]
**Readonly** | Pointer to **string** | | [optional]
**Recordsize** | Pointer to **string** | | [optional]
**Refquota** | Pointer to **int32** | | [optional]
Expand Down Expand Up @@ -215,20 +215,20 @@ HasExec returns a boolean if a field has been set.

### GetQuota

`func (o *UpdateDatasetParams) GetQuota() string`
`func (o *UpdateDatasetParams) GetQuota() int32`

GetQuota returns the Quota field if non-nil, zero value otherwise.

### GetQuotaOk

`func (o *UpdateDatasetParams) GetQuotaOk() (*string, bool)`
`func (o *UpdateDatasetParams) GetQuotaOk() (*int32, bool)`

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

### SetQuota

`func (o *UpdateDatasetParams) SetQuota(v string)`
`func (o *UpdateDatasetParams) SetQuota(v int32)`

SetQuota sets Quota field to given value.

Expand Down
12 changes: 6 additions & 6 deletions model_update_dataset_params.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6d24b3

Please sign in to comment.