Documentation
¶
Overview ¶
新建用户分组
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
Id string // 记录 ID
RootUid int64 // 根用户 uid
Alias string // 用户分组别名
Description string // 用户分组描述
Enabled bool // 用户分组是否启用
CreatedAt string // 用户分组创建时间
UpdatedAt string // 用户分组上次更新时间
}
用户分组信息
func (*Data) MarshalJSON ¶
func (*Data) UnmarshalJSON ¶
type Request ¶
type Request struct {
Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
Alias string // 用户分组别名,由 `A-Za-z0-9` 组成
Description string // 用户分组描述
}
调用 API 所用的请求
func (*Request) MarshalJSON ¶
func (*Request) UnmarshalJSON ¶
type Response ¶
type Response struct {
Data CreatedGroupData // 用户分组信息
}
获取 API 所用的响应
func (*Response) MarshalJSON ¶
func (*Response) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.