Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "member" | |
Id | string | Unique identifier for the user. | |
Role | MemberRoleOrGuest | ||
User | User | ||
Disabled | bool | Whatever the membership of this user is disabled and prevent them from accessing content. | |
JoinedAt | string | ||
LastSeenAt | Pointer to string | [optional] | |
Sso | bool | Whether the user can login with SSO. | |
Spaces | float32 | ||
Teams | float32 |
func NewOrganizationMember(object string, id string, role MemberRoleOrGuest, user User, disabled bool, joinedAt string, sso bool, spaces float32, teams float32, ) *OrganizationMember
NewOrganizationMember instantiates a new OrganizationMember 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 NewOrganizationMemberWithDefaults() *OrganizationMember
NewOrganizationMemberWithDefaults instantiates a new OrganizationMember 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 *OrganizationMember) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetObject(v string)
SetObject sets Object field to given value.
func (o *OrganizationMember) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OrganizationMember) 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.
func (o *OrganizationMember) SetId(v string)
SetId sets Id field to given value.
func (o *OrganizationMember) GetRole() MemberRoleOrGuest
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetRoleOk() (*MemberRoleOrGuest, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetRole(v MemberRoleOrGuest)
SetRole sets Role field to given value.
func (o *OrganizationMember) GetUser() User
GetUser returns the User field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetUser(v User)
SetUser sets User field to given value.
func (o *OrganizationMember) GetDisabled() bool
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetDisabled(v bool)
SetDisabled sets Disabled field to given value.
func (o *OrganizationMember) GetJoinedAt() string
GetJoinedAt returns the JoinedAt field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetJoinedAtOk() (*string, bool)
GetJoinedAtOk returns a tuple with the JoinedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetJoinedAt(v string)
SetJoinedAt sets JoinedAt field to given value.
func (o *OrganizationMember) GetLastSeenAt() string
GetLastSeenAt returns the LastSeenAt field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetLastSeenAtOk() (*string, bool)
GetLastSeenAtOk returns a tuple with the LastSeenAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetLastSeenAt(v string)
SetLastSeenAt sets LastSeenAt field to given value.
func (o *OrganizationMember) HasLastSeenAt() bool
HasLastSeenAt returns a boolean if a field has been set.
func (o *OrganizationMember) GetSso() bool
GetSso returns the Sso field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetSsoOk() (*bool, bool)
GetSsoOk returns a tuple with the Sso field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetSso(v bool)
SetSso sets Sso field to given value.
func (o *OrganizationMember) GetSpaces() float32
GetSpaces returns the Spaces field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetSpacesOk() (*float32, bool)
GetSpacesOk returns a tuple with the Spaces field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetSpaces(v float32)
SetSpaces sets Spaces field to given value.
func (o *OrganizationMember) GetTeams() float32
GetTeams returns the Teams field if non-nil, zero value otherwise.
func (o *OrganizationMember) GetTeamsOk() (*float32, bool)
GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OrganizationMember) SetTeams(v float32)
SetTeams sets Teams field to given value.