Skip to content

Latest commit

 

History

History
283 lines (156 loc) · 7.25 KB

File metadata and controls

283 lines (156 loc) · 7.25 KB

UserItem

Properties

Name Type Description Notes
Links NullableUserItemLinks
Metadata NullableCommonMetadata
Country Pointer to string Country of the user as ISO 3166-1 alpha-2 code. [optional] [readonly]
Email Pointer to string Email address of the user. [optional] [readonly]
FirstName Pointer to string First name of the user. [optional] [readonly]
LastName Pointer to string Last name of the user. [optional] [readonly]
Name string The system identifier of the user. [readonly]
Title Pointer to string Human readable description of the user [optional] [readonly]
Username Pointer to NullableString Username of the user, which is the identifier provided by Arm account. [optional] [readonly]

Methods

NewUserItem

func NewUserItem(links NullableUserItemLinks, metadata NullableCommonMetadata, name string, ) *UserItem

NewUserItem instantiates a new UserItem 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

NewUserItemWithDefaults

func NewUserItemWithDefaults() *UserItem

NewUserItemWithDefaults instantiates a new UserItem 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

GetLinks

func (o *UserItem) GetLinks() UserItemLinks

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

GetLinksOk

func (o *UserItem) GetLinksOk() (*UserItemLinks, 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 *UserItem) SetLinks(v UserItemLinks)

SetLinks sets Links field to given value.

SetLinksNil

func (o *UserItem) SetLinksNil(b bool)

SetLinksNil sets the value for Links to be an explicit nil

UnsetLinks

func (o *UserItem) UnsetLinks()

UnsetLinks ensures that no value is present for Links, not even an explicit nil

GetMetadata

func (o *UserItem) GetMetadata() CommonMetadata

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *UserItem) GetMetadataOk() (*CommonMetadata, 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.

SetMetadata

func (o *UserItem) SetMetadata(v CommonMetadata)

SetMetadata sets Metadata field to given value.

SetMetadataNil

func (o *UserItem) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *UserItem) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

GetCountry

func (o *UserItem) GetCountry() string

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

GetCountryOk

func (o *UserItem) 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 *UserItem) SetCountry(v string)

SetCountry sets Country field to given value.

HasCountry

func (o *UserItem) HasCountry() bool

HasCountry returns a boolean if a field has been set.

GetEmail

func (o *UserItem) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *UserItem) GetEmailOk() (*string, bool)

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

SetEmail

func (o *UserItem) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *UserItem) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetFirstName

func (o *UserItem) GetFirstName() string

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

GetFirstNameOk

func (o *UserItem) 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 *UserItem) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *UserItem) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

GetLastName

func (o *UserItem) GetLastName() string

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

GetLastNameOk

func (o *UserItem) 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 *UserItem) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *UserItem) HasLastName() bool

HasLastName returns a boolean if a field has been set.

GetName

func (o *UserItem) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UserItem) GetNameOk() (*string, bool)

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

SetName

func (o *UserItem) SetName(v string)

SetName sets Name field to given value.

GetTitle

func (o *UserItem) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *UserItem) GetTitleOk() (*string, bool)

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

SetTitle

func (o *UserItem) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *UserItem) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetUsername

func (o *UserItem) GetUsername() string

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

GetUsernameOk

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

SetUsername sets Username field to given value.

HasUsername

func (o *UserItem) HasUsername() bool

HasUsername returns a boolean if a field has been set.

SetUsernameNil

func (o *UserItem) SetUsernameNil(b bool)

SetUsernameNil sets the value for Username to be an explicit nil

UnsetUsername

func (o *UserItem) UnsetUsername()

UnsetUsername ensures that no value is present for Username, not even an explicit nil

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