User
Last updated
Last updated
MongoDB database user.
Name | Type | Description | Notes |
---|---|---|---|
func (o *User) GetType() ResourceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *User) GetTypeOk() (*ResourceType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetType(v ResourceType)
SetType sets Type field to given value.
func (o *User) HasType() bool
HasType returns a boolean if a field has been set.
func (o *User) GetMetadata() UserMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *User) GetMetadataOk() (*UserMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetMetadata(v UserMetadata)
SetMetadata sets Metadata field to given value.
func (o *User) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *User) GetProperties() UserProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *User) GetPropertiesOk() (*UserProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetProperties(v UserProperties)
SetProperties sets Properties field to given value.
func (o *User) HasProperties() bool
HasProperties returns a boolean if a field has been set.
Type
Pointer to ResourceType
[optional]
Metadata
Pointer to UserMetadata
[optional]
Properties
Pointer to UserProperties
[optional]