garage-admin-sdk-golang/docs/AllowBucketKeyRequestPermissions.md
2022-11-13 14:22:00 +01:00

93 lines
2.7 KiB
Markdown

# AllowBucketKeyRequestPermissions
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Read** | **bool** | |
**Write** | **bool** | |
**Owner** | **bool** | |
## Methods
### NewAllowBucketKeyRequestPermissions
`func NewAllowBucketKeyRequestPermissions(read bool, write bool, owner bool, ) *AllowBucketKeyRequestPermissions`
NewAllowBucketKeyRequestPermissions instantiates a new AllowBucketKeyRequestPermissions 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
### NewAllowBucketKeyRequestPermissionsWithDefaults
`func NewAllowBucketKeyRequestPermissionsWithDefaults() *AllowBucketKeyRequestPermissions`
NewAllowBucketKeyRequestPermissionsWithDefaults instantiates a new AllowBucketKeyRequestPermissions 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
### GetRead
`func (o *AllowBucketKeyRequestPermissions) GetRead() bool`
GetRead returns the Read field if non-nil, zero value otherwise.
### GetReadOk
`func (o *AllowBucketKeyRequestPermissions) GetReadOk() (*bool, bool)`
GetReadOk returns a tuple with the Read field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRead
`func (o *AllowBucketKeyRequestPermissions) SetRead(v bool)`
SetRead sets Read field to given value.
### GetWrite
`func (o *AllowBucketKeyRequestPermissions) GetWrite() bool`
GetWrite returns the Write field if non-nil, zero value otherwise.
### GetWriteOk
`func (o *AllowBucketKeyRequestPermissions) GetWriteOk() (*bool, bool)`
GetWriteOk returns a tuple with the Write field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetWrite
`func (o *AllowBucketKeyRequestPermissions) SetWrite(v bool)`
SetWrite sets Write field to given value.
### GetOwner
`func (o *AllowBucketKeyRequestPermissions) GetOwner() bool`
GetOwner returns the Owner field if non-nil, zero value otherwise.
### GetOwnerOk
`func (o *AllowBucketKeyRequestPermissions) GetOwnerOk() (*bool, bool)`
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOwner
`func (o *AllowBucketKeyRequestPermissions) SetOwner(v bool)`
SetOwner sets Owner field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)