Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusActive = "active" StatusInvited = "invited" StatusSuspended = "suspended" StatusRemoved = "removed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { Raw json.RawMessage TeamMemberId string `path:"team_member_id" json:"team_member_id"` Email string `path:"email" json:"email"` EmailVerified bool `path:"email_verified" json:"email_verified"` Status string `path:"status.\\.tag" json:"status"` GivenName string `path:"name.given_name" json:"given_name"` Surname string `path:"name.surname" json:"surname"` FamiliarName string `path:"name.familiar_name" json:"familiar_name"` DisplayName string `path:"name.display_name" json:"display_name"` AbbreviatedName string `path:"name.abbreviated_name" json:"abbreviated_name"` MemberFolderId string `path:"member_folder_id" json:"member_folder_id"` ExternalId string `path:"external_id" json:"external_id"` AccountId string `path:"account_id" json:"account_id"` AccountType string `path:"account_type.\\.tag" json:"account_type"` JoinedOn string `path:"joined_on" json:"joined_on"` IsDirectoryRestricted bool `path:"is_directory_restricted" json:"is_directory_restricted"` }
func (Profile) IsAccepted ¶
True when the status is active or suspended.
func (Profile) IsSuspended ¶
Click to show internal directories.
Click to hide internal directories.