Skip to content

Latest commit

 

History

History
375 lines (200 loc) · 9.46 KB

OrgUser.md

File metadata and controls

375 lines (200 loc) · 9.46 KB

OrgUser

Properties

Name Type Description Notes
CreatedAt string The time of creation in ISO 8601 UTC.
CreatedBy Pointer to User User information for the user who created this. [optional]
CreatedById string The ID of the user that created this.
Id string The unique identifier of the org member.
OrgId string The identifier of an org.
Role Pointer to string The role of the org user. [optional]
Scope Pointer to string The scope of the role. Can be either of tenant / org / workspace [optional]
Status string The status of the org member i.e invited or accepted.
UpdatedAt Pointer to string The time of the last update in ISO 8601 UTC. [optional]
UpdatedBy Pointer to User User information for the last user to update this. [optional]
UpdatedById string The ID of the user that performed the last update.
User Pointer to User Readonly in DB [optional]
UserHandle string The user handle of the member.
UserId string The identifier of a user.
VersionId int32 The version ID of this item. Pass this version ID via an If-Match header when performing mutation operations on the item.

Methods

NewOrgUser

func NewOrgUser(createdAt string, createdById string, id string, orgId string, status string, updatedById string, userHandle string, userId string, versionId int32, ) *OrgUser

NewOrgUser instantiates a new OrgUser 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

NewOrgUserWithDefaults

func NewOrgUserWithDefaults() *OrgUser

NewOrgUserWithDefaults instantiates a new OrgUser 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

GetCreatedAt

func (o *OrgUser) GetCreatedAt() string

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

GetCreatedAtOk

func (o *OrgUser) GetCreatedAtOk() (*string, 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 *OrgUser) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetCreatedBy

func (o *OrgUser) GetCreatedBy() User

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *OrgUser) GetCreatedByOk() (*User, bool)

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

SetCreatedBy

func (o *OrgUser) SetCreatedBy(v User)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *OrgUser) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedById

func (o *OrgUser) GetCreatedById() string

GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.

GetCreatedByIdOk

func (o *OrgUser) GetCreatedByIdOk() (*string, bool)

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

SetCreatedById

func (o *OrgUser) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetId

func (o *OrgUser) GetId() string

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

GetIdOk

func (o *OrgUser) 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 *OrgUser) SetId(v string)

SetId sets Id field to given value.

GetOrgId

func (o *OrgUser) GetOrgId() string

GetOrgId returns the OrgId field if non-nil, zero value otherwise.

GetOrgIdOk

func (o *OrgUser) GetOrgIdOk() (*string, bool)

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

SetOrgId

func (o *OrgUser) SetOrgId(v string)

SetOrgId sets OrgId field to given value.

GetRole

func (o *OrgUser) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *OrgUser) GetRoleOk() (*string, 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.

SetRole

func (o *OrgUser) SetRole(v string)

SetRole sets Role field to given value.

HasRole

func (o *OrgUser) HasRole() bool

HasRole returns a boolean if a field has been set.

GetScope

func (o *OrgUser) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

func (o *OrgUser) GetScopeOk() (*string, bool)

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

SetScope

func (o *OrgUser) SetScope(v string)

SetScope sets Scope field to given value.

HasScope

func (o *OrgUser) HasScope() bool

HasScope returns a boolean if a field has been set.

GetStatus

func (o *OrgUser) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *OrgUser) GetStatusOk() (*string, bool)

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

SetStatus

func (o *OrgUser) SetStatus(v string)

SetStatus sets Status field to given value.

GetUpdatedAt

func (o *OrgUser) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *OrgUser) GetUpdatedAtOk() (*string, bool)

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

SetUpdatedAt

func (o *OrgUser) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *OrgUser) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetUpdatedBy

func (o *OrgUser) GetUpdatedBy() User

GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise.

GetUpdatedByOk

func (o *OrgUser) GetUpdatedByOk() (*User, bool)

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

SetUpdatedBy

func (o *OrgUser) SetUpdatedBy(v User)

SetUpdatedBy sets UpdatedBy field to given value.

HasUpdatedBy

func (o *OrgUser) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

GetUpdatedById

func (o *OrgUser) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.

GetUpdatedByIdOk

func (o *OrgUser) GetUpdatedByIdOk() (*string, bool)

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

SetUpdatedById

func (o *OrgUser) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.

GetUser

func (o *OrgUser) GetUser() User

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *OrgUser) 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.

SetUser

func (o *OrgUser) SetUser(v User)

SetUser sets User field to given value.

HasUser

func (o *OrgUser) HasUser() bool

HasUser returns a boolean if a field has been set.

GetUserHandle

func (o *OrgUser) GetUserHandle() string

GetUserHandle returns the UserHandle field if non-nil, zero value otherwise.

GetUserHandleOk

func (o *OrgUser) GetUserHandleOk() (*string, bool)

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

SetUserHandle

func (o *OrgUser) SetUserHandle(v string)

SetUserHandle sets UserHandle field to given value.

GetUserId

func (o *OrgUser) GetUserId() string

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

GetUserIdOk

func (o *OrgUser) 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 *OrgUser) SetUserId(v string)

SetUserId sets UserId field to given value.

GetVersionId

func (o *OrgUser) GetVersionId() int32

GetVersionId returns the VersionId field if non-nil, zero value otherwise.

GetVersionIdOk

func (o *OrgUser) GetVersionIdOk() (*int32, bool)

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

SetVersionId

func (o *OrgUser) SetVersionId(v int32)

SetVersionId sets VersionId field to given value.

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