Skip to content

Latest commit

 

History

History
150 lines (81 loc) · 4.42 KB

File metadata and controls

150 lines (81 loc) · 4.42 KB

CreateDatabaseUserRequest

Properties

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]

Methods

NewCreateDatabaseUserRequest

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

NewCreateDatabaseUserRequestWithDefaults

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

GetUserId

func (o *CreateDatabaseUserRequest) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

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.

SetUserId

func (o *CreateDatabaseUserRequest) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *CreateDatabaseUserRequest) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetUsername

func (o *CreateDatabaseUserRequest) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

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.

SetUsername

func (o *CreateDatabaseUserRequest) SetUsername(v string)

SetUsername sets Username field to given value.

GetPassword

func (o *CreateDatabaseUserRequest) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

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.

SetPassword

func (o *CreateDatabaseUserRequest) SetPassword(v string)

SetPassword sets Password field to given value.

GetBuckets

func (o *CreateDatabaseUserRequest) GetBuckets() []BucketRole

GetBuckets returns the Buckets field if non-nil, zero value otherwise.

GetBucketsOk

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.

SetBuckets

func (o *CreateDatabaseUserRequest) SetBuckets(v []BucketRole)

SetBuckets sets Buckets field to given value.

HasBuckets

func (o *CreateDatabaseUserRequest) HasBuckets() bool

HasBuckets returns a boolean if a field has been set.

GetAllBucketsAccess

func (o *CreateDatabaseUserRequest) GetAllBucketsAccess() BucketRoleTypes

GetAllBucketsAccess returns the AllBucketsAccess field if non-nil, zero value otherwise.

GetAllBucketsAccessOk

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.

SetAllBucketsAccess

func (o *CreateDatabaseUserRequest) SetAllBucketsAccess(v BucketRoleTypes)

SetAllBucketsAccess sets AllBucketsAccess field to given value.

HasAllBucketsAccess

func (o *CreateDatabaseUserRequest) HasAllBucketsAccess() bool

HasAllBucketsAccess returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]