Skip to content

Latest commit

 

History

History
323 lines (172 loc) · 9.71 KB

ApiAppUserView.md

File metadata and controls

323 lines (172 loc) · 9.71 KB

ApiAppUserView

Properties

Name Type Description Notes
Country string Two alphabet characters that identifies MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
CreatedAt Pointer to time.Time Date and time when the current account is created. This value is in the ISO 8601 timestamp format in UTC. [optional] [readonly]
EmailAddress string Email address that belongs to the MongoDB Cloud user.
FirstName string First or given name that belongs to the MongoDB Cloud user.
Id Pointer to string Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. [optional] [readonly]
LastAuth Pointer to time.Time Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC. [optional] [readonly]
LastName string Last name, family name, or surname that belongs to the MongoDB Cloud user.
Links []Link List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. [readonly]
MobileNumber string Mobile phone number that belongs to the MongoDB Cloud user.
Password string Password applied with the username to log in to MongoDB Cloud. MongoDB Cloud does not return this parameter except in response to creating a new MongoDB Cloud user. Only the MongoDB Cloud user can update their password after it has been set from the MongoDB Cloud console.
Roles []ApiRoleAssignmentView List of objects that display the MongoDB Cloud user's roles and the corresponding organization or project to which that role applies. A role can apply to one organization or one project but not both.
TeamIds Pointer to []string List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. [optional] [readonly]
Username string Email address that represents the username of the MongoDB Cloud user.

Methods

NewApiAppUserView

func NewApiAppUserView(country string, emailAddress string, firstName string, lastName string, links []Link, mobileNumber string, password string, roles []ApiRoleAssignmentView, username string, ) *ApiAppUserView

NewApiAppUserView instantiates a new ApiAppUserView 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

NewApiAppUserViewWithDefaults

func NewApiAppUserViewWithDefaults() *ApiAppUserView

NewApiAppUserViewWithDefaults instantiates a new ApiAppUserView 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

GetCountry

func (o *ApiAppUserView) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *ApiAppUserView) GetCountryOk() (*string, bool)

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

SetCountry

func (o *ApiAppUserView) SetCountry(v string)

SetCountry sets Country field to given value.

GetCreatedAt

func (o *ApiAppUserView) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *ApiAppUserView) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *ApiAppUserView) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *ApiAppUserView) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetEmailAddress

func (o *ApiAppUserView) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field if non-nil, zero value otherwise.

GetEmailAddressOk

func (o *ApiAppUserView) GetEmailAddressOk() (*string, bool)

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

SetEmailAddress

func (o *ApiAppUserView) SetEmailAddress(v string)

SetEmailAddress sets EmailAddress field to given value.

GetFirstName

func (o *ApiAppUserView) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

func (o *ApiAppUserView) GetFirstNameOk() (*string, bool)

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

SetFirstName

func (o *ApiAppUserView) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

GetId

func (o *ApiAppUserView) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ApiAppUserView) GetIdOk() (*string, bool)

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

SetId

func (o *ApiAppUserView) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *ApiAppUserView) HasId() bool

HasId returns a boolean if a field has been set.

GetLastAuth

func (o *ApiAppUserView) GetLastAuth() time.Time

GetLastAuth returns the LastAuth field if non-nil, zero value otherwise.

GetLastAuthOk

func (o *ApiAppUserView) GetLastAuthOk() (*time.Time, bool)

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

SetLastAuth

func (o *ApiAppUserView) SetLastAuth(v time.Time)

SetLastAuth sets LastAuth field to given value.

HasLastAuth

func (o *ApiAppUserView) HasLastAuth() bool

HasLastAuth returns a boolean if a field has been set.

GetLastName

func (o *ApiAppUserView) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

func (o *ApiAppUserView) GetLastNameOk() (*string, bool)

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

SetLastName

func (o *ApiAppUserView) SetLastName(v string)

SetLastName sets LastName field to given value.

GetLinks

func (o *ApiAppUserView) GetLinks() []Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *ApiAppUserView) GetLinksOk() (*[]Link, bool)

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

SetLinks

func (o *ApiAppUserView) SetLinks(v []Link)

SetLinks sets Links field to given value.

GetMobileNumber

func (o *ApiAppUserView) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field if non-nil, zero value otherwise.

GetMobileNumberOk

func (o *ApiAppUserView) GetMobileNumberOk() (*string, bool)

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

SetMobileNumber

func (o *ApiAppUserView) SetMobileNumber(v string)

SetMobileNumber sets MobileNumber field to given value.

GetPassword

func (o *ApiAppUserView) GetPassword() string

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

GetPasswordOk

func (o *ApiAppUserView) 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 *ApiAppUserView) SetPassword(v string)

SetPassword sets Password field to given value.

GetRoles

func (o *ApiAppUserView) GetRoles() []ApiRoleAssignmentView

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

func (o *ApiAppUserView) GetRolesOk() (*[]ApiRoleAssignmentView, bool)

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

SetRoles

func (o *ApiAppUserView) SetRoles(v []ApiRoleAssignmentView)

SetRoles sets Roles field to given value.

GetTeamIds

func (o *ApiAppUserView) GetTeamIds() []string

GetTeamIds returns the TeamIds field if non-nil, zero value otherwise.

GetTeamIdsOk

func (o *ApiAppUserView) GetTeamIdsOk() (*[]string, bool)

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

SetTeamIds

func (o *ApiAppUserView) SetTeamIds(v []string)

SetTeamIds sets TeamIds field to given value.

HasTeamIds

func (o *ApiAppUserView) HasTeamIds() bool

HasTeamIds returns a boolean if a field has been set.

GetUsername

func (o *ApiAppUserView) GetUsername() string

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

GetUsernameOk

func (o *ApiAppUserView) 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 *ApiAppUserView) SetUsername(v string)

SetUsername sets Username field to given value.

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