modify_group

package
v7.25.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

更新用户分组信息

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data added in v7.25.0

type Data struct {
	Id          string // 记录 ID
	RootUid     int64  // 根用户 uid
	Alias       string // 用户分组别名
	Description string // 用户分组描述
	Enabled     bool   // 用户分组是否启用
	CreatedAt   string // 用户分组创建时间
	UpdatedAt   string // 用户分组上次更新时间
}

用户分组信息

func (*Data) MarshalJSON added in v7.25.0

func (j *Data) MarshalJSON() ([]byte, error)

func (*Data) UnmarshalJSON added in v7.25.0

func (j *Data) UnmarshalJSON(data []byte) error

type ModifyGroupData added in v7.25.0

type ModifyGroupData = Data

返回的用户分组信息

type ModifyGroupParam

type ModifyGroupParam = Request

修改用户分组参数

type ModifyGroupResp added in v7.25.0

type ModifyGroupResp = Response

返回的用户分组响应

type Request

type Request struct {
	Alias       string                          // 子账号别名
	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
	NewAlias    string                          // 新的用户分组别名,由 `A-Za-z0-9` 组成
	Description string                          // 用户分组描述
}

调用 API 所用的请求

func (*Request) MarshalJSON

func (j *Request) MarshalJSON() ([]byte, error)

func (*Request) UnmarshalJSON

func (j *Request) UnmarshalJSON(data []byte) error

type Response

type Response struct {
	Data ModifyGroupData // 用户分组信息
}

获取 API 所用的响应

func (*Response) MarshalJSON added in v7.25.0

func (j *Response) MarshalJSON() ([]byte, error)

func (*Response) UnmarshalJSON added in v7.25.0

func (j *Response) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL