Documentation
¶
Index ¶
- type OrganizationCreateBody
- type OrganizationUpdateBody
- type PermissionCreateBody
- type PermissionKey
- type PermissionUpdateBody
- type PermissionsCheckBody
- type PermissionsCreateBody
- type RoleBodyes
- type RoleCreateBody
- type RolePermission
- type RoleUpdateBody
- type RolesCreateBody
- type UserCreateBody
- type UserUpdateBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationCreateBody ¶
type OrganizationUpdateBody ¶
type PermissionCreateBody ¶
type PermissionKey ¶
type PermissionKey struct {
Id string `json:"id"`
}
type PermissionUpdateBody ¶
type PermissionsCheckBody ¶
type PermissionsCreateBody ¶
type PermissionsCreateBody struct {
Permissions []PermissionCreateBody `json:"permissions"`
}
type RoleBodyes ¶
type RoleBodyes struct {
Id string `json:"id"`
}
type RoleCreateBody ¶
type RolePermission ¶
type RolePermission struct {
Permissions []PermissionKey `json:"permissions"`
}
type RoleUpdateBody ¶
type RolesCreateBody ¶
type RolesCreateBody struct {
Roles []RoleCreateBody `json:"roles"`
}
type UserCreateBody ¶
type UserCreateBody struct {
Key string `json:"key"`
OrganizationId string `json:"organization_id"`
Roles []RoleBodyes `json:"roles"`
}
type UserUpdateBody ¶
type UserUpdateBody struct {
Roles []RoleBodyes `json:"roles"`
}
Click to show internal directories.
Click to hide internal directories.