| Name | Type | Description | Notes |
|---|---|---|---|
| UserId | Pointer to string | Organization user which is assigned to the database user. | [optional] |
| Username | string | ||
| Password | string | ||
| Buckets | Pointer to []BucketRole | [optional] | |
| AllBucketsAccess | Pointer to BucketRoleTypes | [optional] |
func NewCreateDatabaseUserRequest(username string, password string, ) *CreateDatabaseUserRequest
NewCreateDatabaseUserRequest instantiates a new CreateDatabaseUserRequest 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
func NewCreateDatabaseUserRequestWithDefaults() *CreateDatabaseUserRequest
NewCreateDatabaseUserRequestWithDefaults instantiates a new CreateDatabaseUserRequest 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
func (o *CreateDatabaseUserRequest) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *CreateDatabaseUserRequest) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDatabaseUserRequest) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *CreateDatabaseUserRequest) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *CreateDatabaseUserRequest) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *CreateDatabaseUserRequest) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDatabaseUserRequest) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *CreateDatabaseUserRequest) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *CreateDatabaseUserRequest) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDatabaseUserRequest) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *CreateDatabaseUserRequest) GetBuckets() []BucketRole
GetBuckets returns the Buckets field if non-nil, zero value otherwise.
func (o *CreateDatabaseUserRequest) GetBucketsOk() (*[]BucketRole, bool)
GetBucketsOk returns a tuple with the Buckets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDatabaseUserRequest) SetBuckets(v []BucketRole)
SetBuckets sets Buckets field to given value.
func (o *CreateDatabaseUserRequest) HasBuckets() bool
HasBuckets returns a boolean if a field has been set.
func (o *CreateDatabaseUserRequest) GetAllBucketsAccess() BucketRoleTypes
GetAllBucketsAccess returns the AllBucketsAccess field if non-nil, zero value otherwise.
func (o *CreateDatabaseUserRequest) GetAllBucketsAccessOk() (*BucketRoleTypes, bool)
GetAllBucketsAccessOk returns a tuple with the AllBucketsAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateDatabaseUserRequest) SetAllBucketsAccess(v BucketRoleTypes)
SetAllBucketsAccess sets AllBucketsAccess field to given value.
func (o *CreateDatabaseUserRequest) HasAllBucketsAccess() bool
HasAllBucketsAccess returns a boolean if a field has been set.