v20210420

package
v1.0.941 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 账号已存在于该账号组。
	FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"

	// 账号组名称已存在。
	FAILEDOPERATION_ACCOUNTGROUPNAMEALREADYEXISTS = "FailedOperation.AccountGroupNameAlreadyExists"

	// 账号组不存在。
	FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"

	// 账号名称已存在。
	FAILEDOPERATION_ACCOUNTNAMEALREADYEXISTS = "FailedOperation.AccountNameAlreadyExists"

	// 账号不存在。
	FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"

	// 账号不存在。
	FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"

	// 应用名称已存在。
	FAILEDOPERATION_APPDISPLAYNAMEALREADYEXISTS = "FailedOperation.AppDisplayNameAlreadyExists"

	// 应用不存在。
	FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"

	// 同一组织下相同名称的子组织机构已存在。
	FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"

	// 其子机构中存在用户的机构节点不能被删除。
	FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCanNotBeDeleted"

	// 创建机构节点失败。
	FAILEDOPERATION_CREATEORGNODEERROR = "FailedOperation.CreateOrgNodeError"

	// 创建用户异常。
	FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"

	// 创建用户组失败。
	FAILEDOPERATION_CREATEUSERGROUPERROR = "FailedOperation.CreateUserGroupError"

	// 自定义机构节点对外ID已存在。
	FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"

	// 自定义机构节点对外ID不可填为空字符。
	FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"

	// 默认导入机构不能被删除。
	FAILEDOPERATION_DEFAULTORGNODECANNOTBEDELETED = "FailedOperation.DefaultOrgNodeCanNotBeDeleted"

	// 删除机构节点失败。
	FAILEDOPERATION_DELETEORGNODEERROR = "FailedOperation.DeleteOrgNodeError"

	// 删除用户失败。
	FAILEDOPERATION_DELETEUSERERROR = "FailedOperation.DeleteUserError"

	// 用户为管理员,不能删除。
	FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"

	// 删除用户组失败。
	FAILEDOPERATION_DELETEUSERGROUPERROR = "FailedOperation.DeleteUserGroupError"

	// 读取机构节点信息失败。
	FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"

	// 读取根机构节点信息失败。
	FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"

	// 期望返回的用户属性类型不存在。
	FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"

	// 用户组ID未找到。
	FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"

	// ID转换编码失败。
	FAILEDOPERATION_IDTOCODEERROR = "FailedOperation.IdToCodeError"

	// 同一个应用,相同的用户不能添加超过 %s 个映射关系。
	FAILEDOPERATION_LIMITQUOTANOTENOUGH = "FailedOperation.LimitQuotaNotEnough"

	// 获取用户所在的用户组列表失败。
	FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"

	// 读取节点下用户失败。
	FAILEDOPERATION_LISTUSERSINORGNODEERROR = "FailedOperation.ListUsersInOrgNodeError"

	// 获取用户组中的用户列表失败。
	FAILEDOPERATION_LISTUSERSINUSERGROUPERROR = "FailedOperation.ListUsersInUserGroupError"

	// 主组织机构不存在。
	FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"

	// 操作失败。
	FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"

	// 操作失败。
	FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"

	// 机构节点ID不存在。
	FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"

	// 机构节点不存在。
	FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"

	// 机构根节点不能被删除。
	FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCanNotBeDeleted"

	// 组织机构设置失败,组织机构不可同时被选择为用户所属的主组织和次要机构。
	FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"

	// 有用户存在的机构节点不能被删除。
	FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCanNotBeDeleted"

	// 父机构节点ID未找到。
	FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"

	// 身份主体未找到。
	FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"

	// 从用户组中移除用户失败。
	FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPERROR = "FailedOperation.RemoveUsersFromUserGroupError"

	// 次要机构元素重复。
	FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"

	// 不能变更LDAP导入的用户到目录外的组织机构下。
	FAILEDOPERATION_UPDATELDAPUSERORGEXCEEDSRANGE = "FailedOperation.UpdateLDAPUserOrgExceedsRange"

	// 不能变更LDAP导入的用户到其他目录的企业机构下。
	FAILEDOPERATION_UPDATELDAPUSERORGNOTINSAMECROP = "FailedOperation.UpdateLDAPUserOrgNotInSameCrop"

	// 不能变更自建用户到有同步操作类型的组织机构下。
	FAILEDOPERATION_UPDATEUSEREXCEEDSRANGE = "FailedOperation.UpdateUserExceedsRange"

	// 不能变更企业微信用户到企业外的组织机构。
	FAILEDOPERATION_UPDATEWECOMUSERORGEXCEEDSRANGE = "FailedOperation.UpdateWeComUserOrgExceedsRange"

	// 不能变更企业微信用户到非相同的企业机构下。
	FAILEDOPERATION_UPDATEWECOMUSERORGNOTINSAMECROP = "FailedOperation.UpdateWeComUserOrgNotInSameCrop"

	// 获取用户被授权访问的应用列表失败。
	FAILEDOPERATION_USERAUTHLISTERROR = "FailedOperation.UserAuthListError"

	// 用户邮箱已存在。
	FAILEDOPERATION_USEREMAILALREADYEXISTS = "FailedOperation.UserEmailAlreadyExists"

	// 用户组不存在。
	FAILEDOPERATION_USERGROUPNOTEXIST = "FailedOperation.UserGroupNotExist"

	// 用户名字已存在。
	FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists"

	// 用户不存在于该用户组。
	FAILEDOPERATION_USERNOTEXISTINUSERGROUP = "FailedOperation.UserNotExistInUserGroup"

	// 用户不存在。
	FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"

	// 用户手机已存在。
	FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"

	// 属性校验失败。
	INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"

	// 组织机构代码不合法。
	INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"

	// 参数不合法。
	INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"

	// 参数不合法。
	INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"

	// 列表搜索条件不合法。
	INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"

	// 时间格式不合法。
	INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"

	// 设定的用户过期时间不合法。
	INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"

	// 用户ID参数为空。
	INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"

	// 用户名参数为空。
	INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"

	// 账号ID列表不能为空。
	INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"

	// 应用ID不能为空。
	INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"

	// 应用信息分页展示的排列属性不合法。
	INVALIDPARAMETERVALUE_APPLICATIONINFOSORTKEYILLEGAL = "InvalidParameterValue.ApplicationInfoSortKeyIllegal"

	// EntityType不匹配。
	INVALIDPARAMETERVALUE_ENTITYTYPENOTMATCH = "InvalidParameterValue.EntityTypeNotMatch"

	// 参数的长度超出限制。
	INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"

	// 新密码不能为空。
	INVALIDPARAMETERVALUE_NEWPASSWORDCANNOTBEEMPTY = "InvalidParameterValue.NewPasswordCanNotBeEmpty"

	// 参数不合法。
	INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

	// 分页展示的排序属性不合法。
	INVALIDPARAMETERVALUE_SORTKEYILLEGAL = "InvalidParameterValue.SortKeyIllegal"

	// 用户ID不能为空。
	INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"

	// 用户名不能为空。
	INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"

	// 用户手机不能为空。
	INVALIDPARAMETERVALUE_USERPHONECANNOTBEEMPTY = "InvalidParameterValue.UserPhoneCanNotBeEmpty"

	// 数据条目数超出最大限制。
	LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

	// 输入参数超出长度限制。
	LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

	// 用户的次要机构超出数量上限。
	LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

	// 当前用户缺乏访问该操作的权限。
	OPERATIONDENIED_ACTIONPERMISSIONDENY = "OperationDenied.ActionPermissionDeny"
)
View Source
const APIVersion = "2021-04-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountGroupInfo added in v1.0.313

type AccountGroupInfo struct {
	// 账号组ID。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 账号组名。
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// 备注。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`
}

type AccountGroupSearchCriteria added in v1.0.313

type AccountGroupSearchCriteria struct {
	// 关键字
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type AddAccountToAccountGroupRequest added in v1.0.313

type AddAccountToAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 账号组ID
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 加入账号组的账号ID列表。
	AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"`
}

func NewAddAccountToAccountGroupRequest added in v1.0.313

func NewAddAccountToAccountGroupRequest() (request *AddAccountToAccountGroupRequest)

func (*AddAccountToAccountGroupRequest) FromJsonString added in v1.0.313

func (r *AddAccountToAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddAccountToAccountGroupRequest) ToJsonString added in v1.0.313

func (r *AddAccountToAccountGroupRequest) ToJsonString() string

type AddAccountToAccountGroupRequestParams added in v1.0.426

type AddAccountToAccountGroupRequestParams struct {
	// 账号组ID
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 加入账号组的账号ID列表。
	AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"`
}

Predefined struct for user

type AddAccountToAccountGroupResponse added in v1.0.313

type AddAccountToAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *AddAccountToAccountGroupResponseParams `json:"Response"`
}

func NewAddAccountToAccountGroupResponse added in v1.0.313

func NewAddAccountToAccountGroupResponse() (response *AddAccountToAccountGroupResponse)

func (*AddAccountToAccountGroupResponse) FromJsonString added in v1.0.313

func (r *AddAccountToAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddAccountToAccountGroupResponse) ToJsonString added in v1.0.313

func (r *AddAccountToAccountGroupResponse) ToJsonString() string

type AddAccountToAccountGroupResponseParams added in v1.0.426

type AddAccountToAccountGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddUserToUserGroupRequest

type AddUserToUserGroupRequest struct {
	*tchttp.BaseRequest

	// 加入用户组的用户ID列表。
	UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"`

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewAddUserToUserGroupRequest

func NewAddUserToUserGroupRequest() (request *AddUserToUserGroupRequest)

func (*AddUserToUserGroupRequest) FromJsonString

func (r *AddUserToUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUserToUserGroupRequest) ToJsonString

func (r *AddUserToUserGroupRequest) ToJsonString() string

type AddUserToUserGroupRequestParams added in v1.0.426

type AddUserToUserGroupRequestParams struct {
	// 加入用户组的用户ID列表。
	UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"`

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type AddUserToUserGroupResponse

type AddUserToUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *AddUserToUserGroupResponseParams `json:"Response"`
}

func NewAddUserToUserGroupResponse

func NewAddUserToUserGroupResponse() (response *AddUserToUserGroupResponse)

func (*AddUserToUserGroupResponse) FromJsonString

func (r *AddUserToUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUserToUserGroupResponse) ToJsonString

func (r *AddUserToUserGroupResponse) ToJsonString() string

type AddUserToUserGroupResponseParams added in v1.0.426

type AddUserToUserGroupResponseParams struct {
	// 未成功加入用户组的用户ID列表信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedItems []*string `json:"FailedItems,omitnil,omitempty" name:"FailedItems"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AppAccountInfo added in v1.0.313

type AppAccountInfo struct {
	// 账号ID。
	AccountId *string `json:"AccountId,omitnil,omitempty" name:"AccountId"`

	// 账号名。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// 用户信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserList []*LinkUserInfo `json:"UserList,omitnil,omitempty" name:"UserList"`

	// 描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`
}

type AppAccountSearchCriteria added in v1.0.313

type AppAccountSearchCriteria struct {
	// 关键字
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type ApplicationAuthorizationInfo

type ApplicationAuthorizationInfo struct {
	// 用户在被授权应用下对应的账号列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitnil,omitempty" name:"ApplicationAccounts"`

	// 应用ID,是应用的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 展示用户所在的用户组、机构节点拥有该应用的访问权限的ID信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InheritedForm *InheritedForm `json:"InheritedForm,omitnil,omitempty" name:"InheritedForm"`

	// 应用名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"`

	// 应用创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`
}

type ApplicationInfoSearchCriteria added in v1.0.206

type ApplicationInfoSearchCriteria struct {
	// 应用匹配搜索关键字,匹配范围包括:应用名称、应用ID。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// 应用类型。ApplicationType的取值范围有:OAUTH2、JWT、CAS、SAML2、FORM、OIDC、APIGW。
	ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"`
}

type ApplicationInformation added in v1.0.206

type ApplicationInformation struct {
	// 应用ID,是应用的全局唯一标识。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 应用展示名称,长度限制:64个字符。 默认与应用名字相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 应用创建时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`

	// 上次更新时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`

	// 应用状态。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppStatus *bool `json:"AppStatus,omitnil,omitempty" name:"AppStatus"`

	// 应用图标。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`

	// 应用类型。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"`

	// 客户端id。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
}

type AuthorizationInfo added in v1.0.206

type AuthorizationInfo struct {
	// 应用唯一ID。
	AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"`

	// 应用名称。
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`

	// 类型名称。
	EntityName *string `json:"EntityName,omitnil,omitempty" name:"EntityName"`

	// 类型唯一ID。
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// 上次更新时间,符合 ISO8601 标准。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`

	// 授权类型唯一ID。
	AuthorizationId *string `json:"AuthorizationId,omitnil,omitempty" name:"AuthorizationId"`
}

type AuthorizationInfoSearchCriteria added in v1.0.206

type AuthorizationInfoSearchCriteria struct {
	// 名称匹配搜索,当查询类型为用户时,匹配范围包括:用户名称、应用名称;当查询类型为用户组时,匹配范围包括:用户组名称、应用名称;当查询类型为组织机构时,匹配范围包括:组织机构名称、应用名称。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type AuthorizationResourceEntityInfo added in v1.0.329

type AuthorizationResourceEntityInfo struct {
	// 授权关系的唯一ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源授权类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// 授权的资源
	// 注意:此字段可能返回 null,表示取不到有效值。
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// 资源名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
}

type AuthorizationUserResouceInfo added in v1.0.228

type AuthorizationUserResouceInfo struct {
	// 资源ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// 授权资源
	// 注意:此字段可能返回 null,表示取不到有效值。
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// 继承关系
	// 注意:此字段可能返回 null,表示取不到有效值。
	InheritedForm *InheritedForm `json:"InheritedForm,omitnil,omitempty" name:"InheritedForm"`

	// 应用账户
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitnil,omitempty" name:"ApplicationAccounts"`

	// 资源名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddAccountToAccountGroup added in v1.0.313

func (c *Client) AddAccountToAccountGroup(request *AddAccountToAccountGroupRequest) (response *AddAccountToAccountGroupResponse, err error)

AddAccountToAccountGroup 账号组添加账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"
FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) AddAccountToAccountGroupWithContext added in v1.0.324

func (c *Client) AddAccountToAccountGroupWithContext(ctx context.Context, request *AddAccountToAccountGroupRequest) (response *AddAccountToAccountGroupResponse, err error)

AddAccountToAccountGroup 账号组添加账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"
FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) AddUserToUserGroup

func (c *Client) AddUserToUserGroup(request *AddUserToUserGroupRequest) (response *AddUserToUserGroupResponse, err error)

AddUserToUserGroup 加入用户到用户组

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) AddUserToUserGroupWithContext added in v1.0.324

func (c *Client) AddUserToUserGroupWithContext(ctx context.Context, request *AddUserToUserGroupRequest) (response *AddUserToUserGroupResponse, err error)

AddUserToUserGroup 加入用户到用户组

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAccountGroup added in v1.0.313

func (c *Client) CreateAccountGroup(request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error)

CreateAccountGroup 创建账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNAMEALREADYEXISTS = "FailedOperation.AccountGroupNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAccountGroupWithContext added in v1.0.324

func (c *Client) CreateAccountGroupWithContext(ctx context.Context, request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error)

CreateAccountGroup 创建账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNAMEALREADYEXISTS = "FailedOperation.AccountGroupNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAppAccount added in v1.0.313

func (c *Client) CreateAppAccount(request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error)

CreateAppAccount 创建应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNAMEALREADYEXISTS = "FailedOperation.AccountNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAppAccountWithContext added in v1.0.324

func (c *Client) CreateAppAccountWithContext(ctx context.Context, request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error)

CreateAppAccount 创建应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNAMEALREADYEXISTS = "FailedOperation.AccountNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateOrgNode

func (c *Client) CreateOrgNode(request *CreateOrgNodeRequest) (response *CreateOrgNodeResponse, err error)

CreateOrgNode 新建一个机构节点

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"
FAILEDOPERATION_CREATEORGNODEERROR = "FailedOperation.CreateOrgNodeError"
FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"
FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"
INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

func (*Client) CreateOrgNodeWithContext added in v1.0.324

func (c *Client) CreateOrgNodeWithContext(ctx context.Context, request *CreateOrgNodeRequest) (response *CreateOrgNodeResponse, err error)

CreateOrgNode 新建一个机构节点

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"
FAILEDOPERATION_CREATEORGNODEERROR = "FailedOperation.CreateOrgNodeError"
FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"
FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"
INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

func (*Client) CreateUser

func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser 新建一个用户

可能返回的错误码:

FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_LIMITQUOTANOTENOUGH = "FailedOperation.LimitQuotaNotEnough"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"
FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"
FAILEDOPERATION_USEREMAILALREADYEXISTS = "FailedOperation.UserEmailAlreadyExists"
FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) CreateUserGroup

func (c *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)

CreateUserGroup 新建用户组

可能返回的错误码:

FAILEDOPERATION_CREATEUSERGROUPERROR = "FailedOperation.CreateUserGroupError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateUserGroupWithContext added in v1.0.324

func (c *Client) CreateUserGroupWithContext(ctx context.Context, request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)

CreateUserGroup 新建用户组

可能返回的错误码:

FAILEDOPERATION_CREATEUSERGROUPERROR = "FailedOperation.CreateUserGroupError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateUserWithContext added in v1.0.324

func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser 新建一个用户

可能返回的错误码:

FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_LIMITQUOTANOTENOUGH = "FailedOperation.LimitQuotaNotEnough"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"
FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"
FAILEDOPERATION_USEREMAILALREADYEXISTS = "FailedOperation.UserEmailAlreadyExists"
FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) DeleteAccountGroup added in v1.0.313

func (c *Client) DeleteAccountGroup(request *DeleteAccountGroupRequest) (response *DeleteAccountGroupResponse, err error)

DeleteAccountGroup 删除账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) DeleteAccountGroupWithContext added in v1.0.324

func (c *Client) DeleteAccountGroupWithContext(ctx context.Context, request *DeleteAccountGroupRequest) (response *DeleteAccountGroupResponse, err error)

DeleteAccountGroup 删除账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) DeleteAppAccount added in v1.0.313

func (c *Client) DeleteAppAccount(request *DeleteAppAccountRequest) (response *DeleteAppAccountResponse, err error)

DeleteAppAccount 删除应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) DeleteAppAccountWithContext added in v1.0.324

func (c *Client) DeleteAppAccountWithContext(ctx context.Context, request *DeleteAppAccountRequest) (response *DeleteAppAccountResponse, err error)

DeleteAppAccount 删除应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) DeleteOrgNode

func (c *Client) DeleteOrgNode(request *DeleteOrgNodeRequest) (response *DeleteOrgNodeResponse, err error)

DeleteOrgNode 删除一个机构节点

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCanNotBeDeleted"
FAILEDOPERATION_DEFAULTORGNODECANNOTBEDELETED = "FailedOperation.DefaultOrgNodeCanNotBeDeleted"
FAILEDOPERATION_DELETEORGNODEERROR = "FailedOperation.DeleteOrgNodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCanNotBeDeleted"
FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCanNotBeDeleted"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteOrgNodeWithContext added in v1.0.324

func (c *Client) DeleteOrgNodeWithContext(ctx context.Context, request *DeleteOrgNodeRequest) (response *DeleteOrgNodeResponse, err error)

DeleteOrgNode 删除一个机构节点

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCanNotBeDeleted"
FAILEDOPERATION_DEFAULTORGNODECANNOTBEDELETED = "FailedOperation.DefaultOrgNodeCanNotBeDeleted"
FAILEDOPERATION_DELETEORGNODEERROR = "FailedOperation.DeleteOrgNodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCanNotBeDeleted"
FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCanNotBeDeleted"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUser

func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)

DeleteUser 通过用户名或用户 id 删除用户。

可能返回的错误码:

FAILEDOPERATION_DELETEUSERERROR = "FailedOperation.DeleteUserError"
FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUserGroup

func (c *Client) DeleteUserGroup(request *DeleteUserGroupRequest) (response *DeleteUserGroupResponse, err error)

DeleteUserGroup 删除一个用户组

可能返回的错误码:

FAILEDOPERATION_DELETEUSERGROUPERROR = "FailedOperation.DeleteUserGroupError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUserGroupWithContext added in v1.0.324

func (c *Client) DeleteUserGroupWithContext(ctx context.Context, request *DeleteUserGroupRequest) (response *DeleteUserGroupResponse, err error)

DeleteUserGroup 删除一个用户组

可能返回的错误码:

FAILEDOPERATION_DELETEUSERGROUPERROR = "FailedOperation.DeleteUserGroupError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUserWithContext added in v1.0.324

func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)

DeleteUser 通过用户名或用户 id 删除用户。

可能返回的错误码:

FAILEDOPERATION_DELETEUSERERROR = "FailedOperation.DeleteUserError"
FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUsers added in v1.0.313

func (c *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)

DeleteUsers 批量删除当前节点下的用户。如果出现个别用户删除错误,将不影响其余被勾选用户被删除的操作,同时提示未被删除的用户名称/用户ID。

可能返回的错误码:

FAILEDOPERATION_DELETEUSERERROR = "FailedOperation.DeleteUserError"
FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUsersWithContext added in v1.0.324

func (c *Client) DeleteUsersWithContext(ctx context.Context, request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)

DeleteUsers 批量删除当前节点下的用户。如果出现个别用户删除错误,将不影响其余被勾选用户被删除的操作,同时提示未被删除的用户名称/用户ID。

可能返回的错误码:

FAILEDOPERATION_DELETEUSERERROR = "FailedOperation.DeleteUserError"
FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeAccountGroup added in v1.0.313

func (c *Client) DescribeAccountGroup(request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error)

DescribeAccountGroup 查询账号组列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeAccountGroupWithContext added in v1.0.324

func (c *Client) DescribeAccountGroupWithContext(ctx context.Context, request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error)

DescribeAccountGroup 查询账号组列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeAppAccount added in v1.0.313

func (c *Client) DescribeAppAccount(request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error)

DescribeAppAccount 查询应用账号列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeAppAccountWithContext added in v1.0.324

func (c *Client) DescribeAppAccountWithContext(ctx context.Context, request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error)

DescribeAppAccount 查询应用账号列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeApplication

func (c *Client) DescribeApplication(request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error)

DescribeApplication 获取一个应用的信息。

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeApplicationWithContext added in v1.0.324

func (c *Client) DescribeApplicationWithContext(ctx context.Context, request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error)

DescribeApplication 获取一个应用的信息。

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeOrgNode

func (c *Client) DescribeOrgNode(request *DescribeOrgNodeRequest) (response *DescribeOrgNodeResponse, err error)

DescribeOrgNode 根据机构节点ID读取机构节点信息

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeOrgNodeWithContext added in v1.0.324

func (c *Client) DescribeOrgNodeWithContext(ctx context.Context, request *DescribeOrgNodeRequest) (response *DescribeOrgNodeResponse, err error)

DescribeOrgNode 根据机构节点ID读取机构节点信息

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeOrgResourcesAuthorization added in v1.0.228

func (c *Client) DescribeOrgResourcesAuthorization(request *DescribeOrgResourcesAuthorizationRequest) (response *DescribeOrgResourcesAuthorizationResponse, err error)

DescribeOrgResourcesAuthorization 查询指定机构下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeOrgResourcesAuthorizationWithContext added in v1.0.324

func (c *Client) DescribeOrgResourcesAuthorizationWithContext(ctx context.Context, request *DescribeOrgResourcesAuthorizationRequest) (response *DescribeOrgResourcesAuthorizationResponse, err error)

DescribeOrgResourcesAuthorization 查询指定机构下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribePublicKey added in v1.0.206

func (c *Client) DescribePublicKey(request *DescribePublicKeyRequest) (response *DescribePublicKeyResponse, err error)

DescribePublicKey 获取JWT公钥信息。

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribePublicKeyWithContext added in v1.0.324

func (c *Client) DescribePublicKeyWithContext(ctx context.Context, request *DescribePublicKeyRequest) (response *DescribePublicKeyResponse, err error)

DescribePublicKey 获取JWT公钥信息。

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserGroup

func (c *Client) DescribeUserGroup(request *DescribeUserGroupRequest) (response *DescribeUserGroupResponse, err error)

DescribeUserGroup 获取用户组信息

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserGroupResourcesAuthorization added in v1.0.228

func (c *Client) DescribeUserGroupResourcesAuthorization(request *DescribeUserGroupResourcesAuthorizationRequest) (response *DescribeUserGroupResourcesAuthorizationResponse, err error)

DescribeUserGroupResourcesAuthorization 查询指定用户组下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserGroupResourcesAuthorizationWithContext added in v1.0.324

func (c *Client) DescribeUserGroupResourcesAuthorizationWithContext(ctx context.Context, request *DescribeUserGroupResourcesAuthorizationRequest) (response *DescribeUserGroupResourcesAuthorizationResponse, err error)

DescribeUserGroupResourcesAuthorization 查询指定用户组下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserGroupWithContext added in v1.0.324

func (c *Client) DescribeUserGroupWithContext(ctx context.Context, request *DescribeUserGroupRequest) (response *DescribeUserGroupResponse, err error)

DescribeUserGroup 获取用户组信息

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserInfo

func (c *Client) DescribeUserInfo(request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)

DescribeUserInfo 通过用户名或用户 id 搜索用户

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"

func (*Client) DescribeUserInfoWithContext added in v1.0.324

func (c *Client) DescribeUserInfoWithContext(ctx context.Context, request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)

DescribeUserInfo 通过用户名或用户 id 搜索用户

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"

func (*Client) DescribeUserResourcesAuthorization added in v1.0.228

func (c *Client) DescribeUserResourcesAuthorization(request *DescribeUserResourcesAuthorizationRequest) (response *DescribeUserResourcesAuthorizationResponse, err error)

DescribeUserResourcesAuthorization 查询指定用户下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserResourcesAuthorizationWithContext added in v1.0.324

func (c *Client) DescribeUserResourcesAuthorizationWithContext(ctx context.Context, request *DescribeUserResourcesAuthorizationRequest) (response *DescribeUserResourcesAuthorizationResponse, err error)

DescribeUserResourcesAuthorization 查询指定用户下的资源授权列表

可能返回的错误码:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserThirdPartyAccountInfo added in v1.0.313

func (c *Client) DescribeUserThirdPartyAccountInfo(request *DescribeUserThirdPartyAccountInfoRequest) (response *DescribeUserThirdPartyAccountInfoResponse, err error)

DescribeUserThirdPartyAccountInfo 通过用户名或用户 id 获取用户的第三方账号绑定信息。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserThirdPartyAccountInfoWithContext added in v1.0.324

func (c *Client) DescribeUserThirdPartyAccountInfoWithContext(ctx context.Context, request *DescribeUserThirdPartyAccountInfoRequest) (response *DescribeUserThirdPartyAccountInfoResponse, err error)

DescribeUserThirdPartyAccountInfo 通过用户名或用户 id 获取用户的第三方账号绑定信息。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAccountInAccountGroup added in v1.0.313

func (c *Client) ListAccountInAccountGroup(request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error)

ListAccountInAccountGroup

获取账号组中的账号列表

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAccountInAccountGroupWithContext added in v1.0.324

func (c *Client) ListAccountInAccountGroupWithContext(ctx context.Context, request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error)

ListAccountInAccountGroup

获取账号组中的账号列表

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListApplicationAuthorizations added in v1.0.206

func (c *Client) ListApplicationAuthorizations(request *ListApplicationAuthorizationsRequest) (response *ListApplicationAuthorizationsResponse, err error)

ListApplicationAuthorizations 应用授权关系列表(含搜索条件匹配)。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_ENTITYTYPENOTMATCH = "InvalidParameterValue.EntityTypeNotMatch"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
OPERATIONDENIED_ACTIONPERMISSIONDENY = "OperationDenied.ActionPermissionDeny"

func (*Client) ListApplicationAuthorizationsWithContext added in v1.0.324

func (c *Client) ListApplicationAuthorizationsWithContext(ctx context.Context, request *ListApplicationAuthorizationsRequest) (response *ListApplicationAuthorizationsResponse, err error)

ListApplicationAuthorizations 应用授权关系列表(含搜索条件匹配)。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_ENTITYTYPENOTMATCH = "InvalidParameterValue.EntityTypeNotMatch"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
OPERATIONDENIED_ACTIONPERMISSIONDENY = "OperationDenied.ActionPermissionDeny"

func (*Client) ListApplications added in v1.0.206

func (c *Client) ListApplications(request *ListApplicationsRequest) (response *ListApplicationsResponse, err error)

ListApplications 获取应用列表信息。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_APPLICATIONINFOSORTKEYILLEGAL = "InvalidParameterValue.ApplicationInfoSortKeyIllegal"
OPERATIONDENIED_ACTIONPERMISSIONDENY = "OperationDenied.ActionPermissionDeny"

func (*Client) ListApplicationsWithContext added in v1.0.324

func (c *Client) ListApplicationsWithContext(ctx context.Context, request *ListApplicationsRequest) (response *ListApplicationsResponse, err error)

ListApplications 获取应用列表信息。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_APPLICATIONINFOSORTKEYILLEGAL = "InvalidParameterValue.ApplicationInfoSortKeyIllegal"
OPERATIONDENIED_ACTIONPERMISSIONDENY = "OperationDenied.ActionPermissionDeny"

func (*Client) ListAuthorizedApplicationsToOrgNode

func (c *Client) ListAuthorizedApplicationsToOrgNode(request *ListAuthorizedApplicationsToOrgNodeRequest) (response *ListAuthorizedApplicationsToOrgNodeResponse, err error)

ListAuthorizedApplicationsToOrgNode 通过机构节点ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToOrgNodeWithContext added in v1.0.324

func (c *Client) ListAuthorizedApplicationsToOrgNodeWithContext(ctx context.Context, request *ListAuthorizedApplicationsToOrgNodeRequest) (response *ListAuthorizedApplicationsToOrgNodeResponse, err error)

ListAuthorizedApplicationsToOrgNode 通过机构节点ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToUser

func (c *Client) ListAuthorizedApplicationsToUser(request *ListAuthorizedApplicationsToUserRequest) (response *ListAuthorizedApplicationsToUserResponse, err error)

ListAuthorizedApplicationsToUser 通过用户ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_IDTOCODEERROR = "FailedOperation.IdToCodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_USERAUTHLISTERROR = "FailedOperation.UserAuthListError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToUserGroup

func (c *Client) ListAuthorizedApplicationsToUserGroup(request *ListAuthorizedApplicationsToUserGroupRequest) (response *ListAuthorizedApplicationsToUserGroupResponse, err error)

ListAuthorizedApplicationsToUserGroup 通过用户组ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERGROUPNOTEXIST = "FailedOperation.UserGroupNotExist"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToUserGroupWithContext added in v1.0.324

func (c *Client) ListAuthorizedApplicationsToUserGroupWithContext(ctx context.Context, request *ListAuthorizedApplicationsToUserGroupRequest) (response *ListAuthorizedApplicationsToUserGroupResponse, err error)

ListAuthorizedApplicationsToUserGroup 通过用户组ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERGROUPNOTEXIST = "FailedOperation.UserGroupNotExist"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToUserWithContext added in v1.0.324

func (c *Client) ListAuthorizedApplicationsToUserWithContext(ctx context.Context, request *ListAuthorizedApplicationsToUserRequest) (response *ListAuthorizedApplicationsToUserResponse, err error)

ListAuthorizedApplicationsToUser 通过用户ID获得被授权访问的应用列表。

可能返回的错误码:

FAILEDOPERATION_IDTOCODEERROR = "FailedOperation.IdToCodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_USERAUTHLISTERROR = "FailedOperation.UserAuthListError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUserGroups added in v1.0.206

func (c *Client) ListUserGroups(request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)

ListUserGroups 获取用户组列表信息(包含查询条件)。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUserGroupsOfUser

func (c *Client) ListUserGroupsOfUser(request *ListUserGroupsOfUserRequest) (response *ListUserGroupsOfUserResponse, err error)

ListUserGroupsOfUser 获取用户所在的用户组列表

可能返回的错误码:

FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_SORTKEYILLEGAL = "InvalidParameterValue.SortKeyIllegal"

func (*Client) ListUserGroupsOfUserWithContext added in v1.0.324

func (c *Client) ListUserGroupsOfUserWithContext(ctx context.Context, request *ListUserGroupsOfUserRequest) (response *ListUserGroupsOfUserResponse, err error)

ListUserGroupsOfUser 获取用户所在的用户组列表

可能返回的错误码:

FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_SORTKEYILLEGAL = "InvalidParameterValue.SortKeyIllegal"

func (*Client) ListUserGroupsWithContext added in v1.0.324

func (c *Client) ListUserGroupsWithContext(ctx context.Context, request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)

ListUserGroups 获取用户组列表信息(包含查询条件)。

可能返回的错误码:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUsers added in v1.0.206

func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers 获取用户列表信息。

可能返回的错误码:

FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_SORTKEYILLEGAL = "InvalidParameterValue.SortKeyIllegal"

func (*Client) ListUsersInOrgNode

func (c *Client) ListUsersInOrgNode(request *ListUsersInOrgNodeRequest) (response *ListUsersInOrgNodeResponse, err error)

ListUsersInOrgNode 根据机构节点ID读取节点下用户

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_LISTUSERSINORGNODEERROR = "FailedOperation.ListUsersInOrgNodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUsersInOrgNodeWithContext added in v1.0.324

func (c *Client) ListUsersInOrgNodeWithContext(ctx context.Context, request *ListUsersInOrgNodeRequest) (response *ListUsersInOrgNodeResponse, err error)

ListUsersInOrgNode 根据机构节点ID读取节点下用户

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_LISTUSERSINORGNODEERROR = "FailedOperation.ListUsersInOrgNodeError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUsersInUserGroup

func (c *Client) ListUsersInUserGroup(request *ListUsersInUserGroupRequest) (response *ListUsersInUserGroupResponse, err error)

ListUsersInUserGroup 获取用户组中的用户列表

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_LISTUSERSINUSERGROUPERROR = "FailedOperation.ListUsersInUserGroupError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUsersInUserGroupWithContext added in v1.0.324

func (c *Client) ListUsersInUserGroupWithContext(ctx context.Context, request *ListUsersInUserGroupRequest) (response *ListUsersInUserGroupResponse, err error)

ListUsersInUserGroup 获取用户组中的用户列表

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_LISTUSERSINUSERGROUPERROR = "FailedOperation.ListUsersInUserGroupError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUsersWithContext added in v1.0.324

func (c *Client) ListUsersWithContext(ctx context.Context, request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers 获取用户列表信息。

可能返回的错误码:

FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_SORTKEYILLEGAL = "InvalidParameterValue.SortKeyIllegal"

func (*Client) ModifyAccountGroup added in v1.0.313

func (c *Client) ModifyAccountGroup(request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error)

ModifyAccountGroup 修改账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNAMEALREADYEXISTS = "FailedOperation.AccountGroupNameAlreadyExists"
FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAccountGroupWithContext added in v1.0.324

func (c *Client) ModifyAccountGroupWithContext(ctx context.Context, request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error)

ModifyAccountGroup 修改账号组

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNAMEALREADYEXISTS = "FailedOperation.AccountGroupNameAlreadyExists"
FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAppAccount added in v1.0.313

func (c *Client) ModifyAppAccount(request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error)

ModifyAppAccount 修改应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNAMEALREADYEXISTS = "FailedOperation.AccountNameAlreadyExists"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAppAccountWithContext added in v1.0.324

func (c *Client) ModifyAppAccountWithContext(ctx context.Context, request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error)

ModifyAppAccount 修改应用账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTNAMEALREADYEXISTS = "FailedOperation.AccountNameAlreadyExists"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyApplication added in v1.0.228

func (c *Client) ModifyApplication(request *ModifyApplicationRequest) (response *ModifyApplicationResponse, err error)

ModifyApplication 更新一个应用的信息

可能返回的错误码:

FAILEDOPERATION_APPDISPLAYNAMEALREADYEXISTS = "FailedOperation.AppDisplayNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyApplicationWithContext added in v1.0.324

func (c *Client) ModifyApplicationWithContext(ctx context.Context, request *ModifyApplicationRequest) (response *ModifyApplicationResponse, err error)

ModifyApplication 更新一个应用的信息

可能返回的错误码:

FAILEDOPERATION_APPDISPLAYNAMEALREADYEXISTS = "FailedOperation.AppDisplayNameAlreadyExists"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_APPIDCANNOTBEEMPTY = "InvalidParameterValue.AppIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyUserInfo added in v1.0.197

func (c *Client) ModifyUserInfo(request *ModifyUserInfoRequest) (response *ModifyUserInfoResponse, err error)

ModifyUserInfo 通过用户名或用户 id 冻结用户

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"
FAILEDOPERATION_UPDATELDAPUSERORGEXCEEDSRANGE = "FailedOperation.UpdateLDAPUserOrgExceedsRange"
FAILEDOPERATION_UPDATELDAPUSERORGNOTINSAMECROP = "FailedOperation.UpdateLDAPUserOrgNotInSameCrop"
FAILEDOPERATION_UPDATEUSEREXCEEDSRANGE = "FailedOperation.UpdateUserExceedsRange"
FAILEDOPERATION_UPDATEWECOMUSERORGEXCEEDSRANGE = "FailedOperation.UpdateWeComUserOrgExceedsRange"
FAILEDOPERATION_UPDATEWECOMUSERORGNOTINSAMECROP = "FailedOperation.UpdateWeComUserOrgNotInSameCrop"
FAILEDOPERATION_USEREMAILALREADYEXISTS = "FailedOperation.UserEmailAlreadyExists"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETERVALUE_NEWPASSWORDCANNOTBEEMPTY = "InvalidParameterValue.NewPasswordCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERPHONECANNOTBEEMPTY = "InvalidParameterValue.UserPhoneCanNotBeEmpty"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) ModifyUserInfoWithContext added in v1.0.324

func (c *Client) ModifyUserInfoWithContext(ctx context.Context, request *ModifyUserInfoRequest) (response *ModifyUserInfoResponse, err error)

ModifyUserInfo 通过用户名或用户 id 冻结用户

可能返回的错误码:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"
FAILEDOPERATION_UPDATELDAPUSERORGEXCEEDSRANGE = "FailedOperation.UpdateLDAPUserOrgExceedsRange"
FAILEDOPERATION_UPDATELDAPUSERORGNOTINSAMECROP = "FailedOperation.UpdateLDAPUserOrgNotInSameCrop"
FAILEDOPERATION_UPDATEUSEREXCEEDSRANGE = "FailedOperation.UpdateUserExceedsRange"
FAILEDOPERATION_UPDATEWECOMUSERORGEXCEEDSRANGE = "FailedOperation.UpdateWeComUserOrgExceedsRange"
FAILEDOPERATION_UPDATEWECOMUSERORGNOTINSAMECROP = "FailedOperation.UpdateWeComUserOrgNotInSameCrop"
FAILEDOPERATION_USEREMAILALREADYEXISTS = "FailedOperation.UserEmailAlreadyExists"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETERVALUE_NEWPASSWORDCANNOTBEEMPTY = "InvalidParameterValue.NewPasswordCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"
INVALIDPARAMETERVALUE_USERPHONECANNOTBEEMPTY = "InvalidParameterValue.UserPhoneCanNotBeEmpty"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) RemoveAccountFromAccountGroup added in v1.0.313

func (c *Client) RemoveAccountFromAccountGroup(request *RemoveAccountFromAccountGroupRequest) (response *RemoveAccountFromAccountGroupResponse, err error)

RemoveAccountFromAccountGroup 从账号组中移除账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) RemoveAccountFromAccountGroupWithContext added in v1.0.324

func (c *Client) RemoveAccountFromAccountGroupWithContext(ctx context.Context, request *RemoveAccountFromAccountGroupRequest) (response *RemoveAccountFromAccountGroupResponse, err error)

RemoveAccountFromAccountGroup 从账号组中移除账号

可能返回的错误码:

FAILEDOPERATION_ACCOUNTGROUPNOTEXIST = "FailedOperation.AccountGroupNotExist"
FAILEDOPERATION_ACCOUNTNOTEXIST = "FailedOperation.AccountNotExist"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_ACCOUNTIDSCANNOTBEEMPTY = "InvalidParameterValue.AccountIdsCanNotBeEmpty"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_ITEMSNUMBERLIMITEXCEEDED = "LimitExceeded.ItemsNumberLimitExceeded"

func (*Client) RemoveUserFromUserGroup

func (c *Client) RemoveUserFromUserGroup(request *RemoveUserFromUserGroupRequest) (response *RemoveUserFromUserGroupResponse, err error)

RemoveUserFromUserGroup 从用户组中移除用户

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPERROR = "FailedOperation.RemoveUsersFromUserGroupError"
FAILEDOPERATION_USERNOTEXISTINUSERGROUP = "FailedOperation.UserNotExistInUserGroup"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) RemoveUserFromUserGroupWithContext added in v1.0.324

func (c *Client) RemoveUserFromUserGroupWithContext(ctx context.Context, request *RemoveUserFromUserGroupRequest) (response *RemoveUserFromUserGroupResponse, err error)

RemoveUserFromUserGroup 从用户组中移除用户

可能返回的错误码:

FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPERROR = "FailedOperation.RemoveUsersFromUserGroupError"
FAILEDOPERATION_USERNOTEXISTINUSERGROUP = "FailedOperation.UserNotExistInUserGroup"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) UpdateOrgNode

func (c *Client) UpdateOrgNode(request *UpdateOrgNodeRequest) (response *UpdateOrgNodeResponse, err error)

UpdateOrgNode 新建一个机构节点,

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"
FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"
FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

func (*Client) UpdateOrgNodeWithContext added in v1.0.324

func (c *Client) UpdateOrgNodeWithContext(ctx context.Context, request *UpdateOrgNodeRequest) (response *UpdateOrgNodeResponse, err error)

UpdateOrgNode 新建一个机构节点,

可能返回的错误码:

FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"
FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"
FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

type CreateAccountGroupRequest added in v1.0.313

type CreateAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 账号组名。
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// 描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateAccountGroupRequest added in v1.0.313

func NewCreateAccountGroupRequest() (request *CreateAccountGroupRequest)

func (*CreateAccountGroupRequest) FromJsonString added in v1.0.313

func (r *CreateAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccountGroupRequest) ToJsonString added in v1.0.313

func (r *CreateAccountGroupRequest) ToJsonString() string

type CreateAccountGroupRequestParams added in v1.0.426

type CreateAccountGroupRequestParams struct {
	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 账号组名。
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// 描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateAccountGroupResponse added in v1.0.313

type CreateAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateAccountGroupResponseParams `json:"Response"`
}

func NewCreateAccountGroupResponse added in v1.0.313

func NewCreateAccountGroupResponse() (response *CreateAccountGroupResponse)

func (*CreateAccountGroupResponse) FromJsonString added in v1.0.313

func (r *CreateAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccountGroupResponse) ToJsonString added in v1.0.313

func (r *CreateAccountGroupResponse) ToJsonString() string

type CreateAccountGroupResponseParams added in v1.0.426

type CreateAccountGroupResponseParams struct {
	// 账号组ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAppAccountRequest added in v1.0.313

type CreateAppAccountRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 账号名称
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// 账号密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateAppAccountRequest added in v1.0.313

func NewCreateAppAccountRequest() (request *CreateAppAccountRequest)

func (*CreateAppAccountRequest) FromJsonString added in v1.0.313

func (r *CreateAppAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAppAccountRequest) ToJsonString added in v1.0.313

func (r *CreateAppAccountRequest) ToJsonString() string

type CreateAppAccountRequestParams added in v1.0.426

type CreateAppAccountRequestParams struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 账号名称
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// 账号密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateAppAccountResponse added in v1.0.313

type CreateAppAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreateAppAccountResponseParams `json:"Response"`
}

func NewCreateAppAccountResponse added in v1.0.313

func NewCreateAppAccountResponse() (response *CreateAppAccountResponse)

func (*CreateAppAccountResponse) FromJsonString added in v1.0.313

func (r *CreateAppAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAppAccountResponse) ToJsonString added in v1.0.313

func (r *CreateAppAccountResponse) ToJsonString() string

type CreateAppAccountResponseParams added in v1.0.426

type CreateAppAccountResponseParams struct {
	// 账号ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountId *string `json:"AccountId,omitnil,omitempty" name:"AccountId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateOrgNodeRequest

type CreateOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点名称,长度限制:64个字符。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 父机构节点ID,如果为空则默认创建在机构根节点下。
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitnil,omitempty" name:"ParentOrgNodeId"`

	// 机构节点描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 机构代码。如果为空,则默认生成机构代码。如果为非空,则校验机构代码的唯一性。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`
}

func NewCreateOrgNodeRequest

func NewCreateOrgNodeRequest() (request *CreateOrgNodeRequest)

func (*CreateOrgNodeRequest) FromJsonString

func (r *CreateOrgNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOrgNodeRequest) ToJsonString

func (r *CreateOrgNodeRequest) ToJsonString() string

type CreateOrgNodeRequestParams added in v1.0.426

type CreateOrgNodeRequestParams struct {
	// 机构节点名称,长度限制:64个字符。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 父机构节点ID,如果为空则默认创建在机构根节点下。
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitnil,omitempty" name:"ParentOrgNodeId"`

	// 机构节点描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 机构代码。如果为空,则默认生成机构代码。如果为非空,则校验机构代码的唯一性。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`
}

Predefined struct for user

type CreateOrgNodeResponse

type CreateOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *CreateOrgNodeResponseParams `json:"Response"`
}

func NewCreateOrgNodeResponse

func NewCreateOrgNodeResponse() (response *CreateOrgNodeResponse)

func (*CreateOrgNodeResponse) FromJsonString

func (r *CreateOrgNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOrgNodeResponse) ToJsonString

func (r *CreateOrgNodeResponse) ToJsonString() string

type CreateOrgNodeResponseParams added in v1.0.426

type CreateOrgNodeResponseParams struct {
	// 机构节点ID,是机构节点的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserGroupRequest

type CreateUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组昵称,长度限制:64个字符。 DisplayName是唯一的。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户组备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateUserGroupRequest

func NewCreateUserGroupRequest() (request *CreateUserGroupRequest)

func (*CreateUserGroupRequest) FromJsonString

func (r *CreateUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserGroupRequest) ToJsonString

func (r *CreateUserGroupRequest) ToJsonString() string

type CreateUserGroupRequestParams added in v1.0.426

type CreateUserGroupRequestParams struct {
	// 用户组昵称,长度限制:64个字符。 DisplayName是唯一的。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户组备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateUserGroupResponse

type CreateUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateUserGroupResponseParams `json:"Response"`
}

func NewCreateUserGroupResponse

func NewCreateUserGroupResponse() (response *CreateUserGroupResponse)

func (*CreateUserGroupResponse) FromJsonString

func (r *CreateUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserGroupResponse) ToJsonString

func (r *CreateUserGroupResponse) ToJsonString() string

type CreateUserGroupResponseParams added in v1.0.426

type CreateUserGroupResponseParams struct {
	// 用户组ID,是用户组的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserRequest

type CreateUserRequest struct {
	*tchttp.BaseRequest

	// 用户名,长度限制:64个字符。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户密码, 需要符合密码策略的配置。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户所属用户组ID列表。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户手机号。例如:+86-1xxxxxxxxxx。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户所属的主组织机构唯一ID。如果为空,默认为在根节点下创建用户。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户过期时间,遵循 ISO 8601 标准。
	ExpirationTime *string `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 密码是否需要重置,为空默认为false不需要重置密码。
	PwdNeedReset *bool `json:"PwdNeedReset,omitnil,omitempty" name:"PwdNeedReset"`

	// 用户所属的次要组织机构ID列表。
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitnil,omitempty" name:"SecondaryOrgNodeIdList"`
}

func NewCreateUserRequest

func NewCreateUserRequest() (request *CreateUserRequest)

func (*CreateUserRequest) FromJsonString

func (r *CreateUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserRequest) ToJsonString

func (r *CreateUserRequest) ToJsonString() string

type CreateUserRequestParams added in v1.0.426

type CreateUserRequestParams struct {
	// 用户名,长度限制:64个字符。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户密码, 需要符合密码策略的配置。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户所属用户组ID列表。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户手机号。例如:+86-1xxxxxxxxxx。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户所属的主组织机构唯一ID。如果为空,默认为在根节点下创建用户。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户过期时间,遵循 ISO 8601 标准。
	ExpirationTime *string `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 密码是否需要重置,为空默认为false不需要重置密码。
	PwdNeedReset *bool `json:"PwdNeedReset,omitnil,omitempty" name:"PwdNeedReset"`

	// 用户所属的次要组织机构ID列表。
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitnil,omitempty" name:"SecondaryOrgNodeIdList"`
}

Predefined struct for user

type CreateUserResponse

type CreateUserResponse struct {
	*tchttp.BaseResponse
	Response *CreateUserResponseParams `json:"Response"`
}

func NewCreateUserResponse

func NewCreateUserResponse() (response *CreateUserResponse)

func (*CreateUserResponse) FromJsonString

func (r *CreateUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserResponse) ToJsonString

func (r *CreateUserResponse) ToJsonString() string

type CreateUserResponseParams added in v1.0.426

type CreateUserResponseParams struct {
	// 返回的新创建的用户ID,是该用户的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAccountGroupRequest added in v1.0.313

type DeleteAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 账号组ID数组。
	AccountGroupIdList []*string `json:"AccountGroupIdList,omitnil,omitempty" name:"AccountGroupIdList"`
}

func NewDeleteAccountGroupRequest added in v1.0.313

func NewDeleteAccountGroupRequest() (request *DeleteAccountGroupRequest)

func (*DeleteAccountGroupRequest) FromJsonString added in v1.0.313

func (r *DeleteAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountGroupRequest) ToJsonString added in v1.0.313

func (r *DeleteAccountGroupRequest) ToJsonString() string

type DeleteAccountGroupRequestParams added in v1.0.426

type DeleteAccountGroupRequestParams struct {
	// 账号组ID数组。
	AccountGroupIdList []*string `json:"AccountGroupIdList,omitnil,omitempty" name:"AccountGroupIdList"`
}

Predefined struct for user

type DeleteAccountGroupResponse added in v1.0.313

type DeleteAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAccountGroupResponseParams `json:"Response"`
}

func NewDeleteAccountGroupResponse added in v1.0.313

func NewDeleteAccountGroupResponse() (response *DeleteAccountGroupResponse)

func (*DeleteAccountGroupResponse) FromJsonString added in v1.0.313

func (r *DeleteAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountGroupResponse) ToJsonString added in v1.0.313

func (r *DeleteAccountGroupResponse) ToJsonString() string

type DeleteAccountGroupResponseParams added in v1.0.426

type DeleteAccountGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAppAccountRequest added in v1.0.313

type DeleteAppAccountRequest struct {
	*tchttp.BaseRequest

	// 账号ID数组。
	AccountIdList []*string `json:"AccountIdList,omitnil,omitempty" name:"AccountIdList"`
}

func NewDeleteAppAccountRequest added in v1.0.313

func NewDeleteAppAccountRequest() (request *DeleteAppAccountRequest)

func (*DeleteAppAccountRequest) FromJsonString added in v1.0.313

func (r *DeleteAppAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAppAccountRequest) ToJsonString added in v1.0.313

func (r *DeleteAppAccountRequest) ToJsonString() string

type DeleteAppAccountRequestParams added in v1.0.426

type DeleteAppAccountRequestParams struct {
	// 账号ID数组。
	AccountIdList []*string `json:"AccountIdList,omitnil,omitempty" name:"AccountIdList"`
}

Predefined struct for user

type DeleteAppAccountResponse added in v1.0.313

type DeleteAppAccountResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAppAccountResponseParams `json:"Response"`
}

func NewDeleteAppAccountResponse added in v1.0.313

func NewDeleteAppAccountResponse() (response *DeleteAppAccountResponse)

func (*DeleteAppAccountResponse) FromJsonString added in v1.0.313

func (r *DeleteAppAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAppAccountResponse) ToJsonString added in v1.0.313

func (r *DeleteAppAccountResponse) ToJsonString() string

type DeleteAppAccountResponseParams added in v1.0.426

type DeleteAppAccountResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteOrgNodeRequest

type DeleteOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点ID,是机构节点的全局唯一标识。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

func NewDeleteOrgNodeRequest

func NewDeleteOrgNodeRequest() (request *DeleteOrgNodeRequest)

func (*DeleteOrgNodeRequest) FromJsonString

func (r *DeleteOrgNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteOrgNodeRequest) ToJsonString

func (r *DeleteOrgNodeRequest) ToJsonString() string

type DeleteOrgNodeRequestParams added in v1.0.426

type DeleteOrgNodeRequestParams struct {
	// 机构节点ID,是机构节点的全局唯一标识。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

Predefined struct for user

type DeleteOrgNodeResponse

type DeleteOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteOrgNodeResponseParams `json:"Response"`
}

func NewDeleteOrgNodeResponse

func NewDeleteOrgNodeResponse() (response *DeleteOrgNodeResponse)

func (*DeleteOrgNodeResponse) FromJsonString

func (r *DeleteOrgNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteOrgNodeResponse) ToJsonString

func (r *DeleteOrgNodeResponse) ToJsonString() string

type DeleteOrgNodeResponseParams added in v1.0.426

type DeleteOrgNodeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserGroupRequest

type DeleteUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewDeleteUserGroupRequest

func NewDeleteUserGroupRequest() (request *DeleteUserGroupRequest)

func (*DeleteUserGroupRequest) FromJsonString

func (r *DeleteUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupRequest) ToJsonString

func (r *DeleteUserGroupRequest) ToJsonString() string

type DeleteUserGroupRequestParams added in v1.0.426

type DeleteUserGroupRequestParams struct {
	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type DeleteUserGroupResponse

type DeleteUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUserGroupResponseParams `json:"Response"`
}

func NewDeleteUserGroupResponse

func NewDeleteUserGroupResponse() (response *DeleteUserGroupResponse)

func (*DeleteUserGroupResponse) FromJsonString

func (r *DeleteUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupResponse) ToJsonString

func (r *DeleteUserGroupResponse) ToJsonString() string

type DeleteUserGroupResponseParams added in v1.0.426

type DeleteUserGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserRequest

type DeleteUserRequest struct {
	*tchttp.BaseRequest

	// 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

func NewDeleteUserRequest

func NewDeleteUserRequest() (request *DeleteUserRequest)

func (*DeleteUserRequest) FromJsonString

func (r *DeleteUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserRequest) ToJsonString

func (r *DeleteUserRequest) ToJsonString() string

type DeleteUserRequestParams added in v1.0.426

type DeleteUserRequestParams struct {
	// 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

Predefined struct for user

type DeleteUserResponse

type DeleteUserResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUserResponseParams `json:"Response"`
}

func NewDeleteUserResponse

func NewDeleteUserResponse() (response *DeleteUserResponse)

func (*DeleteUserResponse) FromJsonString

func (r *DeleteUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserResponse) ToJsonString

func (r *DeleteUserResponse) ToJsonString() string

type DeleteUserResponseParams added in v1.0.426

type DeleteUserResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUsersRequest added in v1.0.313

type DeleteUsersRequest struct {
	*tchttp.BaseRequest

	// 被删除用户的ID列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
	DeleteIdList []*string `json:"DeleteIdList,omitnil,omitempty" name:"DeleteIdList"`

	// 被删除用户的名称列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
	DeleteNameList []*string `json:"DeleteNameList,omitnil,omitempty" name:"DeleteNameList"`
}

func NewDeleteUsersRequest added in v1.0.313

func NewDeleteUsersRequest() (request *DeleteUsersRequest)

func (*DeleteUsersRequest) FromJsonString added in v1.0.313

func (r *DeleteUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersRequest) ToJsonString added in v1.0.313

func (r *DeleteUsersRequest) ToJsonString() string

type DeleteUsersRequestParams added in v1.0.426

type DeleteUsersRequestParams struct {
	// 被删除用户的ID列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
	DeleteIdList []*string `json:"DeleteIdList,omitnil,omitempty" name:"DeleteIdList"`

	// 被删除用户的名称列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
	DeleteNameList []*string `json:"DeleteNameList,omitnil,omitempty" name:"DeleteNameList"`
}

Predefined struct for user

type DeleteUsersResponse added in v1.0.313

type DeleteUsersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUsersResponseParams `json:"Response"`
}

func NewDeleteUsersResponse added in v1.0.313

func NewDeleteUsersResponse() (response *DeleteUsersResponse)

func (*DeleteUsersResponse) FromJsonString added in v1.0.313

func (r *DeleteUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersResponse) ToJsonString added in v1.0.313

func (r *DeleteUsersResponse) ToJsonString() string

type DeleteUsersResponseParams added in v1.0.426

type DeleteUsersResponseParams struct {
	// 未被成功删除的用户信息。当业务参数为DeleteIdList时,本字段将返回未成功删除的用户ID列表。当业务参数为DeleteNameList时,本字段将返回未成功删除的用户名称列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedItems []*string `json:"FailedItems,omitnil,omitempty" name:"FailedItems"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountGroupRequest added in v1.0.313

type DescribeAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeAccountGroupRequest added in v1.0.313

func NewDescribeAccountGroupRequest() (request *DescribeAccountGroupRequest)

func (*DescribeAccountGroupRequest) FromJsonString added in v1.0.313

func (r *DescribeAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountGroupRequest) ToJsonString added in v1.0.313

func (r *DescribeAccountGroupRequest) ToJsonString() string

type DescribeAccountGroupRequestParams added in v1.0.426

type DescribeAccountGroupRequestParams struct {
	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAccountGroupResponse added in v1.0.313

type DescribeAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountGroupResponseParams `json:"Response"`
}

func NewDescribeAccountGroupResponse added in v1.0.313

func NewDescribeAccountGroupResponse() (response *DescribeAccountGroupResponse)

func (*DescribeAccountGroupResponse) FromJsonString added in v1.0.313

func (r *DescribeAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountGroupResponse) ToJsonString added in v1.0.313

func (r *DescribeAccountGroupResponse) ToJsonString() string

type DescribeAccountGroupResponseParams added in v1.0.426

type DescribeAccountGroupResponseParams struct {
	// 返回查询的总记录数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 应用ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 返回符合条件的数据列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountGroupList []*AccountGroupInfo `json:"AccountGroupList,omitnil,omitempty" name:"AccountGroupList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAppAccountRequest added in v1.0.313

type DescribeAppAccountRequest struct {
	*tchttp.BaseRequest

	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AppAccountSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeAppAccountRequest added in v1.0.313

func NewDescribeAppAccountRequest() (request *DescribeAppAccountRequest)

func (*DescribeAppAccountRequest) FromJsonString added in v1.0.313

func (r *DescribeAppAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAppAccountRequest) ToJsonString added in v1.0.313

func (r *DescribeAppAccountRequest) ToJsonString() string

type DescribeAppAccountRequestParams added in v1.0.426

type DescribeAppAccountRequestParams struct {
	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AppAccountSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAppAccountResponse added in v1.0.313

type DescribeAppAccountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAppAccountResponseParams `json:"Response"`
}

func NewDescribeAppAccountResponse added in v1.0.313

func NewDescribeAppAccountResponse() (response *DescribeAppAccountResponse)

func (*DescribeAppAccountResponse) FromJsonString added in v1.0.313

func (r *DescribeAppAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAppAccountResponse) ToJsonString added in v1.0.313

func (r *DescribeAppAccountResponse) ToJsonString() string

type DescribeAppAccountResponseParams added in v1.0.426

type DescribeAppAccountResponseParams struct {
	// 返回查询的总记录数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 应用ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 返回符合条件的数据列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppAccountList []*AppAccountInfo `json:"AppAccountList,omitnil,omitempty" name:"AppAccountList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApplicationRequest

type DescribeApplicationRequest struct {
	*tchttp.BaseRequest

	// 应用id,是应用的全局唯一标识,与ClientId参数不能同时为空。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 客户端id,与ApplicationId参数不能同时为空。
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
}

func NewDescribeApplicationRequest

func NewDescribeApplicationRequest() (request *DescribeApplicationRequest)

func (*DescribeApplicationRequest) FromJsonString

func (r *DescribeApplicationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeApplicationRequest) ToJsonString

func (r *DescribeApplicationRequest) ToJsonString() string

type DescribeApplicationRequestParams added in v1.0.426

type DescribeApplicationRequestParams struct {
	// 应用id,是应用的全局唯一标识,与ClientId参数不能同时为空。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 客户端id,与ApplicationId参数不能同时为空。
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
}

Predefined struct for user

type DescribeApplicationResponse

type DescribeApplicationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationResponseParams `json:"Response"`
}

func NewDescribeApplicationResponse

func NewDescribeApplicationResponse() (response *DescribeApplicationResponse)

func (*DescribeApplicationResponse) FromJsonString

func (r *DescribeApplicationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeApplicationResponse) ToJsonString

func (r *DescribeApplicationResponse) ToJsonString() string

type DescribeApplicationResponseParams added in v1.0.426

type DescribeApplicationResponseParams struct {
	// 密钥id。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// 应用展示名称,长度限制:64个字符。 默认与应用名字相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 应用最后修改时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`

	// 客户端id。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`

	// 应用类型,即创建应用时所选择的应用模板类型。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"`

	// 应用创建时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`

	// 应用id,是应用的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 令牌有效时间,单位为秒。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TokenExpired *int64 `json:"TokenExpired,omitnil,omitempty" name:"TokenExpired"`

	// 客户端secret。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientSecret *string `json:"ClientSecret,omitnil,omitempty" name:"ClientSecret"`

	// 公钥信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// 授权地址。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthorizeUrl *string `json:"AuthorizeUrl,omitnil,omitempty" name:"AuthorizeUrl"`

	// 应用图标图片访问地址。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IconUrl *string `json:"IconUrl,omitnil,omitempty" name:"IconUrl"`

	// 安全等级。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecureLevel *string `json:"SecureLevel,omitnil,omitempty" name:"SecureLevel"`

	// 应用状态。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppStatus *bool `json:"AppStatus,omitnil,omitempty" name:"AppStatus"`

	// 描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOrgNodeRequest

type DescribeOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点信息。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitnil,omitempty" name:"IncludeOrgNodeChildInfo"`
}

func NewDescribeOrgNodeRequest

func NewDescribeOrgNodeRequest() (request *DescribeOrgNodeRequest)

func (*DescribeOrgNodeRequest) FromJsonString

func (r *DescribeOrgNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrgNodeRequest) ToJsonString

func (r *DescribeOrgNodeRequest) ToJsonString() string

type DescribeOrgNodeRequestParams added in v1.0.426

type DescribeOrgNodeRequestParams struct {
	// 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点信息。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitnil,omitempty" name:"IncludeOrgNodeChildInfo"`
}

Predefined struct for user

type DescribeOrgNodeResponse

type DescribeOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOrgNodeResponseParams `json:"Response"`
}

func NewDescribeOrgNodeResponse

func NewDescribeOrgNodeResponse() (response *DescribeOrgNodeResponse)

func (*DescribeOrgNodeResponse) FromJsonString

func (r *DescribeOrgNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrgNodeResponse) ToJsonString

func (r *DescribeOrgNodeResponse) ToJsonString() string

type DescribeOrgNodeResponseParams added in v1.0.426

type DescribeOrgNodeResponseParams struct {
	// 机构节点展示名称,长度限制:64个字符。 默认与机构名相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 机构节点最后修改时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`

	// 机构节点外部ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`

	// 当前机构节点的父节点ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitnil,omitempty" name:"ParentOrgNodeId"`

	// 机构节点ID,是机构节点的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 数据来源。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`

	// 机构节点创建时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`

	// 当前机构节点下的子节点列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeChildInfo []*OrgNodeChildInfo `json:"OrgNodeChildInfo,omitnil,omitempty" name:"OrgNodeChildInfo"`

	// 机构节点描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOrgResourcesAuthorizationRequest added in v1.0.228

type DescribeOrgResourcesAuthorizationRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 机构ID
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

func NewDescribeOrgResourcesAuthorizationRequest added in v1.0.228

func NewDescribeOrgResourcesAuthorizationRequest() (request *DescribeOrgResourcesAuthorizationRequest)

func (*DescribeOrgResourcesAuthorizationRequest) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrgResourcesAuthorizationRequest) ToJsonString added in v1.0.228

type DescribeOrgResourcesAuthorizationRequestParams added in v1.0.426

type DescribeOrgResourcesAuthorizationRequestParams struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 机构ID
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

Predefined struct for user

type DescribeOrgResourcesAuthorizationResponse added in v1.0.228

type DescribeOrgResourcesAuthorizationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOrgResourcesAuthorizationResponseParams `json:"Response"`
}

func NewDescribeOrgResourcesAuthorizationResponse added in v1.0.228

func NewDescribeOrgResourcesAuthorizationResponse() (response *DescribeOrgResourcesAuthorizationResponse)

func (*DescribeOrgResourcesAuthorizationResponse) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrgResourcesAuthorizationResponse) ToJsonString added in v1.0.228

type DescribeOrgResourcesAuthorizationResponseParams added in v1.0.426

type DescribeOrgResourcesAuthorizationResponseParams struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 授权机构ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 机构名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeName *string `json:"OrgNodeName,omitnil,omitempty" name:"OrgNodeName"`

	// 机构目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodePath *string `json:"OrgNodePath,omitnil,omitempty" name:"OrgNodePath"`

	// 资源列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthorizationOrgResourceList []*AuthorizationResourceEntityInfo `json:"AuthorizationOrgResourceList,omitnil,omitempty" name:"AuthorizationOrgResourceList"`

	// 资源数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePublicKeyRequest added in v1.0.206

type DescribePublicKeyRequest struct {
	*tchttp.BaseRequest

	// 应用ID,是应用的全局唯一标识。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`
}

func NewDescribePublicKeyRequest added in v1.0.206

func NewDescribePublicKeyRequest() (request *DescribePublicKeyRequest)

func (*DescribePublicKeyRequest) FromJsonString added in v1.0.206

func (r *DescribePublicKeyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePublicKeyRequest) ToJsonString added in v1.0.206

func (r *DescribePublicKeyRequest) ToJsonString() string

type DescribePublicKeyRequestParams added in v1.0.426

type DescribePublicKeyRequestParams struct {
	// 应用ID,是应用的全局唯一标识。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`
}

Predefined struct for user

type DescribePublicKeyResponse added in v1.0.206

type DescribePublicKeyResponse struct {
	*tchttp.BaseResponse
	Response *DescribePublicKeyResponseParams `json:"Response"`
}

func NewDescribePublicKeyResponse added in v1.0.206

func NewDescribePublicKeyResponse() (response *DescribePublicKeyResponse)

func (*DescribePublicKeyResponse) FromJsonString added in v1.0.206

func (r *DescribePublicKeyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePublicKeyResponse) ToJsonString added in v1.0.206

func (r *DescribePublicKeyResponse) ToJsonString() string

type DescribePublicKeyResponseParams added in v1.0.426

type DescribePublicKeyResponseParams struct {
	// jwt验证签名所用的公钥信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// jwt的密钥id。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// 应用ID,是应用的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserGroupRequest

type DescribeUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewDescribeUserGroupRequest

func NewDescribeUserGroupRequest() (request *DescribeUserGroupRequest)

func (*DescribeUserGroupRequest) FromJsonString

func (r *DescribeUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupRequest) ToJsonString

func (r *DescribeUserGroupRequest) ToJsonString() string

type DescribeUserGroupRequestParams added in v1.0.426

type DescribeUserGroupRequestParams struct {
	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type DescribeUserGroupResourcesAuthorizationRequest added in v1.0.228

type DescribeUserGroupResourcesAuthorizationRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 用户组ID
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewDescribeUserGroupResourcesAuthorizationRequest added in v1.0.228

func NewDescribeUserGroupResourcesAuthorizationRequest() (request *DescribeUserGroupResourcesAuthorizationRequest)

func (*DescribeUserGroupResourcesAuthorizationRequest) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupResourcesAuthorizationRequest) ToJsonString added in v1.0.228

type DescribeUserGroupResourcesAuthorizationRequestParams added in v1.0.426

type DescribeUserGroupResourcesAuthorizationRequestParams struct {
	// 应用ID
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 用户组ID
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type DescribeUserGroupResourcesAuthorizationResponse added in v1.0.228

type DescribeUserGroupResourcesAuthorizationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserGroupResourcesAuthorizationResponseParams `json:"Response"`
}

func NewDescribeUserGroupResourcesAuthorizationResponse added in v1.0.228

func NewDescribeUserGroupResourcesAuthorizationResponse() (response *DescribeUserGroupResourcesAuthorizationResponse)

func (*DescribeUserGroupResourcesAuthorizationResponse) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupResourcesAuthorizationResponse) ToJsonString added in v1.0.228

type DescribeUserGroupResourcesAuthorizationResponseParams added in v1.0.426

type DescribeUserGroupResourcesAuthorizationResponseParams struct {
	// 应用ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 用户组ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 用户组名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupName *string `json:"UserGroupName,omitnil,omitempty" name:"UserGroupName"`

	// 资源列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthorizationUserGroupResourceList []*AuthorizationResourceEntityInfo `json:"AuthorizationUserGroupResourceList,omitnil,omitempty" name:"AuthorizationUserGroupResourceList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserGroupResponse

type DescribeUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserGroupResponseParams `json:"Response"`
}

func NewDescribeUserGroupResponse

func NewDescribeUserGroupResponse() (response *DescribeUserGroupResponse)

func (*DescribeUserGroupResponse) FromJsonString

func (r *DescribeUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupResponse) ToJsonString

func (r *DescribeUserGroupResponse) ToJsonString() string

type DescribeUserGroupResponseParams added in v1.0.426

type DescribeUserGroupResponseParams struct {
	// 用户组昵称,长度限制:64个字符。 DisplayName不唯一。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户组备注,长度限制:512个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户组ID,是用户组的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserInfoRequest

type DescribeUserInfoRequest struct {
	*tchttp.BaseRequest

	// 用户名,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 id,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

func NewDescribeUserInfoRequest

func NewDescribeUserInfoRequest() (request *DescribeUserInfoRequest)

func (*DescribeUserInfoRequest) FromJsonString

func (r *DescribeUserInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserInfoRequest) ToJsonString

func (r *DescribeUserInfoRequest) ToJsonString() string

type DescribeUserInfoRequestParams added in v1.0.426

type DescribeUserInfoRequestParams struct {
	// 用户名,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 id,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

Predefined struct for user

type DescribeUserInfoResponse

type DescribeUserInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserInfoResponseParams `json:"Response"`
}

func NewDescribeUserInfoResponse

func NewDescribeUserInfoResponse() (response *DescribeUserInfoResponse)

func (*DescribeUserInfoResponse) FromJsonString

func (r *DescribeUserInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserInfoResponse) ToJsonString

func (r *DescribeUserInfoResponse) ToJsonString() string

type DescribeUserInfoResponseParams added in v1.0.426

type DescribeUserInfoResponseParams struct {
	// 用户名。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 昵称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户所属用户组 id 列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户 id,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户邮箱。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户手机号。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户所属的主组织机构唯一ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 数据来源。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`

	// 用户过期时间,遵循 ISO 8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpirationTime *string `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"`

	// 用户激活时间,遵循 ISO 8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActivationTime *string `json:"ActivationTime,omitnil,omitempty" name:"ActivationTime"`

	// 当前用户的密码是否需要重置,该字段为false表示不需要重置密码。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PwdNeedReset *bool `json:"PwdNeedReset,omitnil,omitempty" name:"PwdNeedReset"`

	// 用户所属的次要组织机构ID列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitnil,omitempty" name:"SecondaryOrgNodeIdList"`

	// 是否管理员标志,0为否、1为是。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AdminFlag *int64 `json:"AdminFlag,omitnil,omitempty" name:"AdminFlag"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserResourcesAuthorizationRequest added in v1.0.228

type DescribeUserResourcesAuthorizationRequest struct {
	*tchttp.BaseRequest

	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 用户ID。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户名。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 ,传false表示不查询该范围,传true查询该范围。
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitnil,omitempty" name:"IncludeInheritedAuthorizations"`
}

func NewDescribeUserResourcesAuthorizationRequest added in v1.0.228

func NewDescribeUserResourcesAuthorizationRequest() (request *DescribeUserResourcesAuthorizationRequest)

func (*DescribeUserResourcesAuthorizationRequest) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserResourcesAuthorizationRequest) ToJsonString added in v1.0.228

type DescribeUserResourcesAuthorizationRequestParams added in v1.0.426

type DescribeUserResourcesAuthorizationRequestParams struct {
	// 应用ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 用户ID。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户名。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 ,传false表示不查询该范围,传true查询该范围。
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitnil,omitempty" name:"IncludeInheritedAuthorizations"`
}

Predefined struct for user

type DescribeUserResourcesAuthorizationResponse added in v1.0.228

type DescribeUserResourcesAuthorizationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserResourcesAuthorizationResponseParams `json:"Response"`
}

func NewDescribeUserResourcesAuthorizationResponse added in v1.0.228

func NewDescribeUserResourcesAuthorizationResponse() (response *DescribeUserResourcesAuthorizationResponse)

func (*DescribeUserResourcesAuthorizationResponse) FromJsonString added in v1.0.228

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserResourcesAuthorizationResponse) ToJsonString added in v1.0.228

type DescribeUserResourcesAuthorizationResponseParams added in v1.0.426

type DescribeUserResourcesAuthorizationResponseParams struct {
	// 应用的唯一ID。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 应用账户。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitnil,omitempty" name:"ApplicationAccounts"`

	// 授权用户的唯一ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 授权的用户名。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 返回的资源列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthorizationUserResourceList []*AuthorizationUserResouceInfo `json:"AuthorizationUserResourceList,omitnil,omitempty" name:"AuthorizationUserResourceList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserThirdPartyAccountInfoRequest added in v1.0.313

type DescribeUserThirdPartyAccountInfoRequest struct {
	*tchttp.BaseRequest

	// 用户名。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 ID。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

func NewDescribeUserThirdPartyAccountInfoRequest added in v1.0.313

func NewDescribeUserThirdPartyAccountInfoRequest() (request *DescribeUserThirdPartyAccountInfoRequest)

func (*DescribeUserThirdPartyAccountInfoRequest) FromJsonString added in v1.0.313

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserThirdPartyAccountInfoRequest) ToJsonString added in v1.0.313

type DescribeUserThirdPartyAccountInfoRequestParams added in v1.0.426

type DescribeUserThirdPartyAccountInfoRequestParams struct {
	// 用户名。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户 ID。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

Predefined struct for user

type DescribeUserThirdPartyAccountInfoResponse added in v1.0.313

type DescribeUserThirdPartyAccountInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserThirdPartyAccountInfoResponseParams `json:"Response"`
}

func NewDescribeUserThirdPartyAccountInfoResponse added in v1.0.313

func NewDescribeUserThirdPartyAccountInfoResponse() (response *DescribeUserThirdPartyAccountInfoResponse)

func (*DescribeUserThirdPartyAccountInfoResponse) FromJsonString added in v1.0.313

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserThirdPartyAccountInfoResponse) ToJsonString added in v1.0.313

type DescribeUserThirdPartyAccountInfoResponseParams added in v1.0.426

type DescribeUserThirdPartyAccountInfoResponseParams struct {
	// 用户 id。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户名。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 三方账号的绑定情况。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ThirdPartyAccounts []*ThirdPartyAccountInfo `json:"ThirdPartyAccounts,omitnil,omitempty" name:"ThirdPartyAccounts"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InheritedForm

type InheritedForm struct {
	// 用户所在的用户组ID列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户所在的机构节点ID列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeIds []*string `json:"OrgNodeIds,omitnil,omitempty" name:"OrgNodeIds"`
}

type LinkUserInfo added in v1.0.313

type LinkUserInfo struct {
	// 用户ID,是用户全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
}

type ListAccountInAccountGroupRequest added in v1.0.313

type ListAccountInAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 账号组ID。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListAccountInAccountGroupRequest added in v1.0.313

func NewListAccountInAccountGroupRequest() (request *ListAccountInAccountGroupRequest)

func (*ListAccountInAccountGroupRequest) FromJsonString added in v1.0.313

func (r *ListAccountInAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAccountInAccountGroupRequest) ToJsonString added in v1.0.313

func (r *ListAccountInAccountGroupRequest) ToJsonString() string

type ListAccountInAccountGroupRequestParams added in v1.0.426

type ListAccountInAccountGroupRequestParams struct {
	// 账号组ID。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 偏移量,默认为 0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListAccountInAccountGroupResponse added in v1.0.313

type ListAccountInAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *ListAccountInAccountGroupResponseParams `json:"Response"`
}

func NewListAccountInAccountGroupResponse added in v1.0.313

func NewListAccountInAccountGroupResponse() (response *ListAccountInAccountGroupResponse)

func (*ListAccountInAccountGroupResponse) FromJsonString added in v1.0.313

func (r *ListAccountInAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAccountInAccountGroupResponse) ToJsonString added in v1.0.313

func (r *ListAccountInAccountGroupResponse) ToJsonString() string

type ListAccountInAccountGroupResponseParams added in v1.0.426

type ListAccountInAccountGroupResponseParams struct {
	// 查询返回的相关账号列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountList []*AppAccountInfo `json:"AccountList,omitnil,omitempty" name:"AccountList"`

	// 返回查询账号的总数量。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 账号组ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListApplicationAuthorizationsRequest added in v1.0.206

type ListApplicationAuthorizationsRequest struct {
	*tchttp.BaseRequest

	// 查询类型,包含用户(User)、用户组(UserGroup)、组织机构(OrgNode)。
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AuthorizationInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:上次修改时间(lastModifiedDate)。如果该字段为空,则默认按照应用名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListApplicationAuthorizationsRequest added in v1.0.206

func NewListApplicationAuthorizationsRequest() (request *ListApplicationAuthorizationsRequest)

func (*ListApplicationAuthorizationsRequest) FromJsonString added in v1.0.206

func (r *ListApplicationAuthorizationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListApplicationAuthorizationsRequest) ToJsonString added in v1.0.206

func (r *ListApplicationAuthorizationsRequest) ToJsonString() string

type ListApplicationAuthorizationsRequestParams added in v1.0.426

type ListApplicationAuthorizationsRequestParams struct {
	// 查询类型,包含用户(User)、用户组(UserGroup)、组织机构(OrgNode)。
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *AuthorizationInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:上次修改时间(lastModifiedDate)。如果该字段为空,则默认按照应用名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListApplicationAuthorizationsResponse added in v1.0.206

type ListApplicationAuthorizationsResponse struct {
	*tchttp.BaseResponse
	Response *ListApplicationAuthorizationsResponseParams `json:"Response"`
}

func NewListApplicationAuthorizationsResponse added in v1.0.206

func NewListApplicationAuthorizationsResponse() (response *ListApplicationAuthorizationsResponse)

func (*ListApplicationAuthorizationsResponse) FromJsonString added in v1.0.206

func (r *ListApplicationAuthorizationsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListApplicationAuthorizationsResponse) ToJsonString added in v1.0.206

type ListApplicationAuthorizationsResponseParams added in v1.0.426

type ListApplicationAuthorizationsResponseParams struct {
	// 返回的应用授权信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthorizationInfoList []*AuthorizationInfo `json:"AuthorizationInfoList,omitnil,omitempty" name:"AuthorizationInfoList"`

	// 返回的应用信息总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListApplicationsRequest added in v1.0.206

type ListApplicationsRequest struct {
	*tchttp.BaseRequest

	// 模糊匹配搜索条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。模糊匹配搜索功能与精准匹配查询不会同时生效,如果SearchCondition与ApplicationIdList均不为空,则默认以ApplicationIdList进行精准查询。如果SearchCondition字段与ApplicationIdList字段均为空,则默认返回全部的应用信息。
	SearchCondition *ApplicationInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:应用名字(DisplayName)、创建时间(CreatedDate)、上次修改时间(LastModifiedDate)。如果该字段为空,则默认按照应用名字正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 排序条件集合。可排序的属性支持:应用名字(DisplayName)、创建时间(CreatedDate)、上次修改时间(LastModifiedDate)。如果该字段为空,则默认按照应用名字正向排序。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 应用ID列表,通过应用ID列表精准匹配对应的应用信息。模糊匹配搜索功能与精准匹配查询不会同时生效,如果SearchCondition与ApplicationIdList均不为空,则默认以ApplicationIdList进行精准查询。如果SearchCondition字段与ApplicationIdList字段均为空,则默认返回全部的应用信息。
	ApplicationIdList []*string `json:"ApplicationIdList,omitnil,omitempty" name:"ApplicationIdList"`
}

func NewListApplicationsRequest added in v1.0.206

func NewListApplicationsRequest() (request *ListApplicationsRequest)

func (*ListApplicationsRequest) FromJsonString added in v1.0.206

func (r *ListApplicationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListApplicationsRequest) ToJsonString added in v1.0.206

func (r *ListApplicationsRequest) ToJsonString() string

type ListApplicationsRequestParams added in v1.0.426

type ListApplicationsRequestParams struct {
	// 模糊匹配搜索条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。模糊匹配搜索功能与精准匹配查询不会同时生效,如果SearchCondition与ApplicationIdList均不为空,则默认以ApplicationIdList进行精准查询。如果SearchCondition字段与ApplicationIdList字段均为空,则默认返回全部的应用信息。
	SearchCondition *ApplicationInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:应用名字(DisplayName)、创建时间(CreatedDate)、上次修改时间(LastModifiedDate)。如果该字段为空,则默认按照应用名字正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 排序条件集合。可排序的属性支持:应用名字(DisplayName)、创建时间(CreatedDate)、上次修改时间(LastModifiedDate)。如果该字段为空,则默认按照应用名字正向排序。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 应用ID列表,通过应用ID列表精准匹配对应的应用信息。模糊匹配搜索功能与精准匹配查询不会同时生效,如果SearchCondition与ApplicationIdList均不为空,则默认以ApplicationIdList进行精准查询。如果SearchCondition字段与ApplicationIdList字段均为空,则默认返回全部的应用信息。
	ApplicationIdList []*string `json:"ApplicationIdList,omitnil,omitempty" name:"ApplicationIdList"`
}

Predefined struct for user

type ListApplicationsResponse added in v1.0.206

type ListApplicationsResponse struct {
	*tchttp.BaseResponse
	Response *ListApplicationsResponseParams `json:"Response"`
}

func NewListApplicationsResponse added in v1.0.206

func NewListApplicationsResponse() (response *ListApplicationsResponse)

func (*ListApplicationsResponse) FromJsonString added in v1.0.206

func (r *ListApplicationsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListApplicationsResponse) ToJsonString added in v1.0.206

func (r *ListApplicationsResponse) ToJsonString() string

type ListApplicationsResponseParams added in v1.0.426

type ListApplicationsResponseParams struct {
	// 返回的应用信息总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 返回的应用信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationInfoList []*ApplicationInformation `json:"ApplicationInfoList,omitnil,omitempty" name:"ApplicationInfoList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToOrgNodeRequest

type ListAuthorizedApplicationsToOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点 Id 。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

func NewListAuthorizedApplicationsToOrgNodeRequest

func NewListAuthorizedApplicationsToOrgNodeRequest() (request *ListAuthorizedApplicationsToOrgNodeRequest)

func (*ListAuthorizedApplicationsToOrgNodeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToOrgNodeRequest) ToJsonString

type ListAuthorizedApplicationsToOrgNodeRequestParams added in v1.0.426

type ListAuthorizedApplicationsToOrgNodeRequestParams struct {
	// 机构节点 Id 。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToOrgNodeResponse

type ListAuthorizedApplicationsToOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *ListAuthorizedApplicationsToOrgNodeResponseParams `json:"Response"`
}

func NewListAuthorizedApplicationsToOrgNodeResponse

func NewListAuthorizedApplicationsToOrgNodeResponse() (response *ListAuthorizedApplicationsToOrgNodeResponse)

func (*ListAuthorizedApplicationsToOrgNodeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToOrgNodeResponse) ToJsonString

type ListAuthorizedApplicationsToOrgNodeResponseParams added in v1.0.426

type ListAuthorizedApplicationsToOrgNodeResponseParams struct {
	// 机构节点拥有访问权限的应用 id 列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationIds []*string `json:"ApplicationIds,omitnil,omitempty" name:"ApplicationIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserGroupRequest

type ListAuthorizedApplicationsToUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组 Id 。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewListAuthorizedApplicationsToUserGroupRequest

func NewListAuthorizedApplicationsToUserGroupRequest() (request *ListAuthorizedApplicationsToUserGroupRequest)

func (*ListAuthorizedApplicationsToUserGroupRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToUserGroupRequest) ToJsonString

type ListAuthorizedApplicationsToUserGroupRequestParams added in v1.0.426

type ListAuthorizedApplicationsToUserGroupRequestParams struct {
	// 用户组 Id 。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserGroupResponse

type ListAuthorizedApplicationsToUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *ListAuthorizedApplicationsToUserGroupResponseParams `json:"Response"`
}

func NewListAuthorizedApplicationsToUserGroupResponse

func NewListAuthorizedApplicationsToUserGroupResponse() (response *ListAuthorizedApplicationsToUserGroupResponse)

func (*ListAuthorizedApplicationsToUserGroupResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToUserGroupResponse) ToJsonString

type ListAuthorizedApplicationsToUserGroupResponseParams added in v1.0.426

type ListAuthorizedApplicationsToUserGroupResponseParams struct {
	// 用户组拥有访问权限的应用 id 列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationIds []*string `json:"ApplicationIds,omitnil,omitempty" name:"ApplicationIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserRequest

type ListAuthorizedApplicationsToUserRequest struct {
	*tchttp.BaseRequest

	// 用户 ID。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 。传false表示不查询该范围,传true表示应用查询该范围。
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitnil,omitempty" name:"IncludeInheritedAuthorizations"`
}

func NewListAuthorizedApplicationsToUserRequest

func NewListAuthorizedApplicationsToUserRequest() (request *ListAuthorizedApplicationsToUserRequest)

func (*ListAuthorizedApplicationsToUserRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToUserRequest) ToJsonString

type ListAuthorizedApplicationsToUserRequestParams added in v1.0.426

type ListAuthorizedApplicationsToUserRequestParams struct {
	// 用户 ID。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 。传false表示不查询该范围,传true表示应用查询该范围。
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitnil,omitempty" name:"IncludeInheritedAuthorizations"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserResponse

type ListAuthorizedApplicationsToUserResponse struct {
	*tchttp.BaseResponse
	Response *ListAuthorizedApplicationsToUserResponseParams `json:"Response"`
}

func NewListAuthorizedApplicationsToUserResponse

func NewListAuthorizedApplicationsToUserResponse() (response *ListAuthorizedApplicationsToUserResponse)

func (*ListAuthorizedApplicationsToUserResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAuthorizedApplicationsToUserResponse) ToJsonString

type ListAuthorizedApplicationsToUserResponseParams added in v1.0.426

type ListAuthorizedApplicationsToUserResponseParams struct {
	// 用户拥有访问权限的应用信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationAuthorizationInfo []*ApplicationAuthorizationInfo `json:"ApplicationAuthorizationInfo,omitnil,omitempty" name:"ApplicationAuthorizationInfo"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUserGroupsOfUserRequest

type ListUserGroupsOfUserRequest struct {
	*tchttp.BaseRequest

	// 用户ID,是用户的全局唯一标识。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 模糊查询条件,支持匹配用户组名称(DisplayName)。如果该字段为空,则默认展示该用户所有的用户组。
	SearchCondition *UserGroupInformationSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、创建时间(CreatedDate)。如果该字段为空,则默认按照用户组名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListUserGroupsOfUserRequest

func NewListUserGroupsOfUserRequest() (request *ListUserGroupsOfUserRequest)

func (*ListUserGroupsOfUserRequest) FromJsonString

func (r *ListUserGroupsOfUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUserGroupsOfUserRequest) ToJsonString

func (r *ListUserGroupsOfUserRequest) ToJsonString() string

type ListUserGroupsOfUserRequestParams added in v1.0.426

type ListUserGroupsOfUserRequestParams struct {
	// 用户ID,是用户的全局唯一标识。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 模糊查询条件,支持匹配用户组名称(DisplayName)。如果该字段为空,则默认展示该用户所有的用户组。
	SearchCondition *UserGroupInformationSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、创建时间(CreatedDate)。如果该字段为空,则默认按照用户组名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListUserGroupsOfUserResponse

type ListUserGroupsOfUserResponse struct {
	*tchttp.BaseResponse
	Response *ListUserGroupsOfUserResponseParams `json:"Response"`
}

func NewListUserGroupsOfUserResponse

func NewListUserGroupsOfUserResponse() (response *ListUserGroupsOfUserResponse)

func (*ListUserGroupsOfUserResponse) FromJsonString

func (r *ListUserGroupsOfUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUserGroupsOfUserResponse) ToJsonString

func (r *ListUserGroupsOfUserResponse) ToJsonString() string

type ListUserGroupsOfUserResponseParams added in v1.0.426

type ListUserGroupsOfUserResponseParams struct {
	// 用户所属的用户组ID列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户ID,是用户的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户所属的用户组信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupInfoList []*UserGroupInfo `json:"UserGroupInfoList,omitnil,omitempty" name:"UserGroupInfoList"`

	// 返回的用户组信息总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUserGroupsRequest added in v1.0.206

type ListUserGroupsRequest struct {
	*tchttp.BaseRequest

	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *UserGroupInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、上次更新时间(LastModifiedDate)。如果该字段为空,则默认按照用户组名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListUserGroupsRequest added in v1.0.206

func NewListUserGroupsRequest() (request *ListUserGroupsRequest)

func (*ListUserGroupsRequest) FromJsonString added in v1.0.206

func (r *ListUserGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUserGroupsRequest) ToJsonString added in v1.0.206

func (r *ListUserGroupsRequest) ToJsonString() string

type ListUserGroupsRequestParams added in v1.0.426

type ListUserGroupsRequestParams struct {
	// 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
	SearchCondition *UserGroupInfoSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、上次更新时间(LastModifiedDate)。如果该字段为空,则默认按照用户组名称正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListUserGroupsResponse added in v1.0.206

type ListUserGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ListUserGroupsResponseParams `json:"Response"`
}

func NewListUserGroupsResponse added in v1.0.206

func NewListUserGroupsResponse() (response *ListUserGroupsResponse)

func (*ListUserGroupsResponse) FromJsonString added in v1.0.206

func (r *ListUserGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUserGroupsResponse) ToJsonString added in v1.0.206

func (r *ListUserGroupsResponse) ToJsonString() string

type ListUserGroupsResponseParams added in v1.0.426

type ListUserGroupsResponseParams struct {
	// 返回的用户组列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupList []*UserGroupInformation `json:"UserGroupList,omitnil,omitempty" name:"UserGroupList"`

	// 返回的用户组信息总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersInOrgNodeRequest

type ListUsersInOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点下用户信息。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitnil,omitempty" name:"IncludeOrgNodeChildInfo"`

	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *ListUsersInOrgNodeSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreatedDate)、上次更新时间(LastModifiedDate)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListUsersInOrgNodeRequest

func NewListUsersInOrgNodeRequest() (request *ListUsersInOrgNodeRequest)

func (*ListUsersInOrgNodeRequest) FromJsonString

func (r *ListUsersInOrgNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersInOrgNodeRequest) ToJsonString

func (r *ListUsersInOrgNodeRequest) ToJsonString() string

type ListUsersInOrgNodeRequestParams added in v1.0.426

type ListUsersInOrgNodeRequestParams struct {
	// 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点下用户信息。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitnil,omitempty" name:"IncludeOrgNodeChildInfo"`

	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *ListUsersInOrgNodeSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreatedDate)、上次更新时间(LastModifiedDate)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListUsersInOrgNodeResponse

type ListUsersInOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *ListUsersInOrgNodeResponseParams `json:"Response"`
}

func NewListUsersInOrgNodeResponse

func NewListUsersInOrgNodeResponse() (response *ListUsersInOrgNodeResponse)

func (*ListUsersInOrgNodeResponse) FromJsonString

func (r *ListUsersInOrgNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersInOrgNodeResponse) ToJsonString

func (r *ListUsersInOrgNodeResponse) ToJsonString() string

type ListUsersInOrgNodeResponseParams added in v1.0.426

type ListUsersInOrgNodeResponseParams struct {
	// 机构子节点下的用户信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeChildUserInfo []*OrgNodeChildUserInfo `json:"OrgNodeChildUserInfo,omitnil,omitempty" name:"OrgNodeChildUserInfo"`

	// 机构ID,是机构节点全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserInfo []*UserInfo `json:"UserInfo,omitnil,omitempty" name:"UserInfo"`

	// 当前机构节点下的用户总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalUserNum *int64 `json:"TotalUserNum,omitnil,omitempty" name:"TotalUserNum"`

	// 组织机构ID路径。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeIdPath *string `json:"OrgNodeIdPath,omitnil,omitempty" name:"OrgNodeIdPath"`

	// 组织机构名称路径。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeNamePath *string `json:"OrgNodeNamePath,omitnil,omitempty" name:"OrgNodeNamePath"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersInOrgNodeSearchCriteria added in v1.0.313

type ListUsersInOrgNodeSearchCriteria struct {
	// 用户名,长度限制:64个字符。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户手机号。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 用户创建时间,遵循 ISO 8601 标准。
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

	// 用户上次更新时间。
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// 名称匹配搜索,匹配范围包括:用户名称、用户手机号。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type ListUsersInUserGroupRequest

type ListUsersInUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号()结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、用户昵称(DisplayName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreatedDate)、上次更新时间(LastModifiedDate)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListUsersInUserGroupRequest

func NewListUsersInUserGroupRequest() (request *ListUsersInUserGroupRequest)

func (*ListUsersInUserGroupRequest) FromJsonString

func (r *ListUsersInUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersInUserGroupRequest) ToJsonString

func (r *ListUsersInUserGroupRequest) ToJsonString() string

type ListUsersInUserGroupRequestParams added in v1.0.426

type ListUsersInUserGroupRequestParams struct {
	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号()结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、用户昵称(DisplayName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreatedDate)、上次更新时间(LastModifiedDate)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListUsersInUserGroupResponse

type ListUsersInUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *ListUsersInUserGroupResponseParams `json:"Response"`
}

func NewListUsersInUserGroupResponse

func NewListUsersInUserGroupResponse() (response *ListUsersInUserGroupResponse)

func (*ListUsersInUserGroupResponse) FromJsonString

func (r *ListUsersInUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersInUserGroupResponse) ToJsonString

func (r *ListUsersInUserGroupResponse) ToJsonString() string

type ListUsersInUserGroupResponseParams added in v1.0.426

type ListUsersInUserGroupResponseParams struct {
	// 用户组ID,是用户组的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 返回的用户信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserInfo []*UserInfo `json:"UserInfo,omitnil,omitempty" name:"UserInfo"`

	// 返回的用户信息总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersRequest added in v1.0.206

type ListUsersRequest struct {
	*tchttp.BaseRequest

	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 指定期望返回的用户属性,默认返回所有用户内置属性。内置用户属性包括:用户UUID(UserId)、用户昵称(DisplayName)、用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、用户组(SubjectGroups)机构路径(OrgPath)、备注(Description)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。
	ExpectedFields []*string `json:"ExpectedFields,omitnil,omitempty" name:"ExpectedFields"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、用户昵称(DisplayName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否查看搜索结果的总数,默认该选项为false不查看。
	IncludeTotal *bool `json:"IncludeTotal,omitnil,omitempty" name:"IncludeTotal"`
}

func NewListUsersRequest added in v1.0.206

func NewListUsersRequest() (request *ListUsersRequest)

func (*ListUsersRequest) FromJsonString added in v1.0.206

func (r *ListUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersRequest) ToJsonString added in v1.0.206

func (r *ListUsersRequest) ToJsonString() string

type ListUsersRequestParams added in v1.0.426

type ListUsersRequestParams struct {
	// 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitnil,omitempty" name:"SearchCondition"`

	// 指定期望返回的用户属性,默认返回所有用户内置属性。内置用户属性包括:用户UUID(UserId)、用户昵称(DisplayName)、用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、用户组(SubjectGroups)机构路径(OrgPath)、备注(Description)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。
	ExpectedFields []*string `json:"ExpectedFields,omitnil,omitempty" name:"ExpectedFields"`

	// 排序条件集合。可排序的属性支持:用户名字(UserName)、用户昵称(DisplayName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
	Sort *SortCondition `json:"Sort,omitnil,omitempty" name:"Sort"`

	// 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否查看搜索结果的总数,默认该选项为false不查看。
	IncludeTotal *bool `json:"IncludeTotal,omitnil,omitempty" name:"IncludeTotal"`
}

Predefined struct for user

type ListUsersResponse added in v1.0.206

type ListUsersResponse struct {
	*tchttp.BaseResponse
	Response *ListUsersResponseParams `json:"Response"`
}

func NewListUsersResponse added in v1.0.206

func NewListUsersResponse() (response *ListUsersResponse)

func (*ListUsersResponse) FromJsonString added in v1.0.206

func (r *ListUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListUsersResponse) ToJsonString added in v1.0.206

func (r *ListUsersResponse) ToJsonString() string

type ListUsersResponseParams added in v1.0.426

type ListUsersResponseParams struct {
	// 查询返回的相关用户列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserList []*UserInformation `json:"UserList,omitnil,omitempty" name:"UserList"`

	// 返回查询用户的总数量,仅当入参IncludeTotal等于true时返回。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAccountGroupRequest added in v1.0.313

type ModifyAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 账号组ID。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 账号组名。未传入该参数时,表示不进行修改。
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// 描述,未传入该参数时,表示不进行修改。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyAccountGroupRequest added in v1.0.313

func NewModifyAccountGroupRequest() (request *ModifyAccountGroupRequest)

func (*ModifyAccountGroupRequest) FromJsonString added in v1.0.313

func (r *ModifyAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountGroupRequest) ToJsonString added in v1.0.313

func (r *ModifyAccountGroupRequest) ToJsonString() string

type ModifyAccountGroupRequestParams added in v1.0.426

type ModifyAccountGroupRequestParams struct {
	// 账号组ID。
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 账号组名。未传入该参数时,表示不进行修改。
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// 描述,未传入该参数时,表示不进行修改。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyAccountGroupResponse added in v1.0.313

type ModifyAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountGroupResponseParams `json:"Response"`
}

func NewModifyAccountGroupResponse added in v1.0.313

func NewModifyAccountGroupResponse() (response *ModifyAccountGroupResponse)

func (*ModifyAccountGroupResponse) FromJsonString added in v1.0.313

func (r *ModifyAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountGroupResponse) ToJsonString added in v1.0.313

func (r *ModifyAccountGroupResponse) ToJsonString() string

type ModifyAccountGroupResponseParams added in v1.0.426

type ModifyAccountGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAppAccountRequest added in v1.0.313

type ModifyAppAccountRequest struct {
	*tchttp.BaseRequest

	// 账号ID。
	AccountId *string `json:"AccountId,omitnil,omitempty" name:"AccountId"`

	// 账号名称。未传入该参数时,表示不进行修改。
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// 账号密码。未传入该参数时,表示不进行修改。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 描述,未传入该参数时,表示不进行修改。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyAppAccountRequest added in v1.0.313

func NewModifyAppAccountRequest() (request *ModifyAppAccountRequest)

func (*ModifyAppAccountRequest) FromJsonString added in v1.0.313

func (r *ModifyAppAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAppAccountRequest) ToJsonString added in v1.0.313

func (r *ModifyAppAccountRequest) ToJsonString() string

type ModifyAppAccountRequestParams added in v1.0.426

type ModifyAppAccountRequestParams struct {
	// 账号ID。
	AccountId *string `json:"AccountId,omitnil,omitempty" name:"AccountId"`

	// 账号名称。未传入该参数时,表示不进行修改。
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// 账号密码。未传入该参数时,表示不进行修改。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 描述,未传入该参数时,表示不进行修改。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyAppAccountResponse added in v1.0.313

type ModifyAppAccountResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAppAccountResponseParams `json:"Response"`
}

func NewModifyAppAccountResponse added in v1.0.313

func NewModifyAppAccountResponse() (response *ModifyAppAccountResponse)

func (*ModifyAppAccountResponse) FromJsonString added in v1.0.313

func (r *ModifyAppAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAppAccountResponse) ToJsonString added in v1.0.313

func (r *ModifyAppAccountResponse) ToJsonString() string

type ModifyAppAccountResponseParams added in v1.0.426

type ModifyAppAccountResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApplicationRequest added in v1.0.228

type ModifyApplicationRequest struct {
	*tchttp.BaseRequest

	// 应用ID,是应用的全局唯一标识。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 安全级别。
	SecureLevel *string `json:"SecureLevel,omitnil,omitempty" name:"SecureLevel"`

	// 应用展示名称,长度限制:32个字符。 默认与应用名字相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 应用状态,true表示启用,false表示禁用。
	AppStatus *bool `json:"AppStatus,omitnil,omitempty" name:"AppStatus"`

	// 应用图标图片访问地址。
	IconUrl *string `json:"IconUrl,omitnil,omitempty" name:"IconUrl"`

	// 描述。长度不超过128。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyApplicationRequest added in v1.0.228

func NewModifyApplicationRequest() (request *ModifyApplicationRequest)

func (*ModifyApplicationRequest) FromJsonString added in v1.0.228

func (r *ModifyApplicationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyApplicationRequest) ToJsonString added in v1.0.228

func (r *ModifyApplicationRequest) ToJsonString() string

type ModifyApplicationRequestParams added in v1.0.426

type ModifyApplicationRequestParams struct {
	// 应用ID,是应用的全局唯一标识。
	ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"`

	// 安全级别。
	SecureLevel *string `json:"SecureLevel,omitnil,omitempty" name:"SecureLevel"`

	// 应用展示名称,长度限制:32个字符。 默认与应用名字相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 应用状态,true表示启用,false表示禁用。
	AppStatus *bool `json:"AppStatus,omitnil,omitempty" name:"AppStatus"`

	// 应用图标图片访问地址。
	IconUrl *string `json:"IconUrl,omitnil,omitempty" name:"IconUrl"`

	// 描述。长度不超过128。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyApplicationResponse added in v1.0.228

type ModifyApplicationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationResponseParams `json:"Response"`
}

func NewModifyApplicationResponse added in v1.0.228

func NewModifyApplicationResponse() (response *ModifyApplicationResponse)

func (*ModifyApplicationResponse) FromJsonString added in v1.0.228

func (r *ModifyApplicationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyApplicationResponse) ToJsonString added in v1.0.228

func (r *ModifyApplicationResponse) ToJsonString() string

type ModifyApplicationResponseParams added in v1.0.426

type ModifyApplicationResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUserInfoRequest added in v1.0.197

type ModifyUserInfoRequest struct {
	*tchttp.BaseRequest

	// 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户所属用户组ID列表。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户手机号。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户过期时间,遵循 ISO 8601 标准。
	ExpirationTime *string `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"`

	// 用户密码, 需要符合密码策略的配置。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 密码是否需要重置,为空默认为false不需要重置密码。
	PwdNeedReset *bool `json:"PwdNeedReset,omitnil,omitempty" name:"PwdNeedReset"`

	// 用户所属的主组织机构唯一ID。如果为空,默认为在根节点下创建用户。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户所属的次要组织机构ID列表。
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitnil,omitempty" name:"SecondaryOrgNodeIdList"`
}

func NewModifyUserInfoRequest added in v1.0.197

func NewModifyUserInfoRequest() (request *ModifyUserInfoRequest)

func (*ModifyUserInfoRequest) FromJsonString added in v1.0.197

func (r *ModifyUserInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserInfoRequest) ToJsonString added in v1.0.197

func (r *ModifyUserInfoRequest) ToJsonString() string

type ModifyUserInfoRequestParams added in v1.0.426

type ModifyUserInfoRequestParams struct {
	// 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注,长度限制:512个字符。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户所属用户组ID列表。
	UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"`

	// 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户手机号。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户过期时间,遵循 ISO 8601 标准。
	ExpirationTime *string `json:"ExpirationTime,omitnil,omitempty" name:"ExpirationTime"`

	// 用户密码, 需要符合密码策略的配置。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 密码是否需要重置,为空默认为false不需要重置密码。
	PwdNeedReset *bool `json:"PwdNeedReset,omitnil,omitempty" name:"PwdNeedReset"`

	// 用户所属的主组织机构唯一ID。如果为空,默认为在根节点下创建用户。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户所属的次要组织机构ID列表。
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitnil,omitempty" name:"SecondaryOrgNodeIdList"`
}

Predefined struct for user

type ModifyUserInfoResponse added in v1.0.197

type ModifyUserInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUserInfoResponseParams `json:"Response"`
}

func NewModifyUserInfoResponse added in v1.0.197

func NewModifyUserInfoResponse() (response *ModifyUserInfoResponse)

func (*ModifyUserInfoResponse) FromJsonString added in v1.0.197

func (r *ModifyUserInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserInfoResponse) ToJsonString added in v1.0.197

func (r *ModifyUserInfoResponse) ToJsonString() string

type ModifyUserInfoResponseParams added in v1.0.426

type ModifyUserInfoResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OrgNodeChildInfo

type OrgNodeChildInfo struct {
	// 机构节点展示名称,长度限制:64个字符。 默认与机构名相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 机构节点最后修改时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`

	// 用户自定义可选填的机构节点对外ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`

	// 当前机构节点的父节点ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitnil,omitempty" name:"ParentOrgNodeId"`

	// 机构节点ID,是机构节点的全局唯一标识。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 数据来源。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`

	// 机构节点创建时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`

	// 机构节点描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type OrgNodeChildUserInfo

type OrgNodeChildUserInfo struct {
	// 机构ID,是机构节点全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 用户信息列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserInfo []*UserInfo `json:"UserInfo,omitnil,omitempty" name:"UserInfo"`

	// 当前机构节点下的用户总数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalUserNum *int64 `json:"TotalUserNum,omitnil,omitempty" name:"TotalUserNum"`

	// 组织机构ID路径。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeIdPath *string `json:"OrgNodeIdPath,omitnil,omitempty" name:"OrgNodeIdPath"`

	// 组织机构名称路径。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgNodeNamePath *string `json:"OrgNodeNamePath,omitnil,omitempty" name:"OrgNodeNamePath"`
}

type RemoveAccountFromAccountGroupRequest added in v1.0.313

type RemoveAccountFromAccountGroupRequest struct {
	*tchttp.BaseRequest

	// 账号组ID
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 需要移除账号ID列表。
	AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"`
}

func NewRemoveAccountFromAccountGroupRequest added in v1.0.313

func NewRemoveAccountFromAccountGroupRequest() (request *RemoveAccountFromAccountGroupRequest)

func (*RemoveAccountFromAccountGroupRequest) FromJsonString added in v1.0.313

func (r *RemoveAccountFromAccountGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveAccountFromAccountGroupRequest) ToJsonString added in v1.0.313

func (r *RemoveAccountFromAccountGroupRequest) ToJsonString() string

type RemoveAccountFromAccountGroupRequestParams added in v1.0.426

type RemoveAccountFromAccountGroupRequestParams struct {
	// 账号组ID
	AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"`

	// 需要移除账号ID列表。
	AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"`
}

Predefined struct for user

type RemoveAccountFromAccountGroupResponse added in v1.0.313

type RemoveAccountFromAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *RemoveAccountFromAccountGroupResponseParams `json:"Response"`
}

func NewRemoveAccountFromAccountGroupResponse added in v1.0.313

func NewRemoveAccountFromAccountGroupResponse() (response *RemoveAccountFromAccountGroupResponse)

func (*RemoveAccountFromAccountGroupResponse) FromJsonString added in v1.0.313

func (r *RemoveAccountFromAccountGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveAccountFromAccountGroupResponse) ToJsonString added in v1.0.313

type RemoveAccountFromAccountGroupResponseParams added in v1.0.426

type RemoveAccountFromAccountGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveUserFromUserGroupRequest

type RemoveUserFromUserGroupRequest struct {
	*tchttp.BaseRequest

	// 要加入用户组的用户ID列表。
	UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"`

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

func NewRemoveUserFromUserGroupRequest

func NewRemoveUserFromUserGroupRequest() (request *RemoveUserFromUserGroupRequest)

func (*RemoveUserFromUserGroupRequest) FromJsonString

func (r *RemoveUserFromUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveUserFromUserGroupRequest) ToJsonString

func (r *RemoveUserFromUserGroupRequest) ToJsonString() string

type RemoveUserFromUserGroupRequestParams added in v1.0.426

type RemoveUserFromUserGroupRequestParams struct {
	// 要加入用户组的用户ID列表。
	UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"`

	// 用户组ID,是用户组的全局唯一标识。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`
}

Predefined struct for user

type RemoveUserFromUserGroupResponse

type RemoveUserFromUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *RemoveUserFromUserGroupResponseParams `json:"Response"`
}

func NewRemoveUserFromUserGroupResponse

func NewRemoveUserFromUserGroupResponse() (response *RemoveUserFromUserGroupResponse)

func (*RemoveUserFromUserGroupResponse) FromJsonString

func (r *RemoveUserFromUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveUserFromUserGroupResponse) ToJsonString

func (r *RemoveUserFromUserGroupResponse) ToJsonString() string

type RemoveUserFromUserGroupResponseParams added in v1.0.426

type RemoveUserFromUserGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SortCondition added in v1.0.206

type SortCondition struct {
	// 排序属性。
	SortKey *string `json:"SortKey,omitnil,omitempty" name:"SortKey"`

	// 排序顺序,ASC为正向排序,DESC为反向排序。
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}

type ThirdPartyAccountInfo added in v1.0.313

type ThirdPartyAccountInfo struct {
	// 第三方账号代码。"2"代表企业微信。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountCode *string `json:"AccountCode,omitnil,omitempty" name:"AccountCode"`

	// 账号对应的用户名。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`
}

type UpdateOrgNodeRequest

type UpdateOrgNodeRequest struct {
	*tchttp.BaseRequest

	// 机构节点ID,是机构节点的全局唯一标识。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 机构节点名称,长度限制:64个字符。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 机构节点描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 机构代码。如果非空则校验此ID的唯一性。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`
}

func NewUpdateOrgNodeRequest

func NewUpdateOrgNodeRequest() (request *UpdateOrgNodeRequest)

func (*UpdateOrgNodeRequest) FromJsonString

func (r *UpdateOrgNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateOrgNodeRequest) ToJsonString

func (r *UpdateOrgNodeRequest) ToJsonString() string

type UpdateOrgNodeRequestParams added in v1.0.426

type UpdateOrgNodeRequestParams struct {
	// 机构节点ID,是机构节点的全局唯一标识。
	OrgNodeId *string `json:"OrgNodeId,omitnil,omitempty" name:"OrgNodeId"`

	// 机构节点名称,长度限制:64个字符。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 机构节点描述。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 机构代码。如果非空则校验此ID的唯一性。
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitnil,omitempty" name:"CustomizedOrgNodeId"`
}

Predefined struct for user

type UpdateOrgNodeResponse

type UpdateOrgNodeResponse struct {
	*tchttp.BaseResponse
	Response *UpdateOrgNodeResponseParams `json:"Response"`
}

func NewUpdateOrgNodeResponse

func NewUpdateOrgNodeResponse() (response *UpdateOrgNodeResponse)

func (*UpdateOrgNodeResponse) FromJsonString

func (r *UpdateOrgNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateOrgNodeResponse) ToJsonString

func (r *UpdateOrgNodeResponse) ToJsonString() string

type UpdateOrgNodeResponseParams added in v1.0.426

type UpdateOrgNodeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UserGroupInfo added in v1.0.313

type UserGroupInfo struct {
	// 昵称,长度限制:64个字符。 默认与用户名相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户组ID,是用户组全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 用户组备注。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedDate *string `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"`
}

type UserGroupInfoSearchCriteria added in v1.0.206

type UserGroupInfoSearchCriteria struct {
	// 名称匹配搜索,匹配范围包括:用户组名称、用户组ID。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type UserGroupInformation added in v1.0.206

type UserGroupInformation struct {
	// 用户组ID。
	UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"`

	// 用户组名称。
	UserGroupName *string `json:"UserGroupName,omitnil,omitempty" name:"UserGroupName"`

	// 上次更新时间,符合 ISO8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedDate *string `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"`
}

type UserGroupInformationSearchCriteria added in v1.0.313

type UserGroupInformationSearchCriteria struct {
	// 名称匹配搜索,匹配范围包括:用户组名称。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type UserInfo

type UserInfo struct {
	// 用户ID,是用户全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户手机号。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 邮箱地址。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户状态。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 数据来源。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`
}

type UserInformation added in v1.0.206

type UserInformation struct {
	// 用户名,长度限制:32个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户状态。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 昵称,长度限制:64个字符。 默认与用户名相同。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 用户备注,长度限制:512个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 用户上次更新时间,遵循 ISO 8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// 用户创建时间,遵循 ISO 8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

	// 用户所属主组织机构的路径ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrgPath *string `json:"OrgPath,omitnil,omitempty" name:"OrgPath"`

	// 带国家号的用户手机号,例如+86-00000000000。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户所属用户组ID列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubjectGroups []*string `json:"SubjectGroups,omitnil,omitempty" name:"SubjectGroups"`

	// 用户邮箱。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户上次登录时间,遵循 ISO 8601 标准。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastLoginTime *string `json:"LastLoginTime,omitnil,omitempty" name:"LastLoginTime"`

	// 用户ID,是用户全局唯一标识,长度限制:64个字符。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

type UserSearchCriteria added in v1.0.206

type UserSearchCriteria struct {
	// 用户名,长度限制:64个字符。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户手机号。
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 用户邮箱。
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 用户创建时间,遵循 ISO 8601 标准。
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

	// 用户上次更新时间区间。
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// 名称匹配搜索,匹配范围包括:用户名称、用户ID。
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

Jump to

Keyboard shortcuts

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