Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityInfo ¶
type OrganizationInfo ¶
type OrganizationInfo struct {
Name string `json:"name" doc:"organization name"`
CreatedAt time.Time `json:"created_at" doc:"organization creation time"`
Role string `json:"membership_role" doc:"user's role in this organization"`
JoinedAt time.Time `json:"joined_at" doc:"when the user joined this organization"`
}
type UserInfoResponse ¶
type UserInfoResponse struct {
Body UserInfoResponseBody
}
type UserInfoResponseBody ¶
type UserInfoResponseBody struct {
Name string `json:"name" doc:"user's name"`
Email string `json:"email" doc:"user's email address"`
LastLogin time.Time `json:"last_login" doc:"user's last login"`
CreatedAt time.Time `json:"created_at" doc:"user's creation time"`
DefaultOrganization OrganizationInfo `json:"default_organization" doc:"user's default organization"`
Organizations []OrganizationInfo `json:"organizations" doc:"user's organizations"`
Identities []IdentityInfo `json:"identities" doc:"user's identities"`
}
type UserUpdateRequest ¶
Click to show internal directories.
Click to hide internal directories.