v20210420

package
v3.0.720+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// The account already exists in the account group.
	FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"

	// The account group name already exists.
	FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted"

	// The account group does not exist
	FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"

	// The account ID list cannot be empty.
	FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"

	// The account name already exists.
	FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted"

	// The account does not exist.
	FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"

	// An exception occurred while adding the user to the user group.
	FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"

	// The application ID cannot be empty.
	FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"

	// The application ID does not exist.
	FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"

	//
	FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"

	//
	FAILEDOPERATION_CHILDORGNODENAMEALREADYEXISTS = "FailedOperation.ChildOrgNodeNameAlreadyExists"

	// Organization nodes where sub-organizations have users cannot be deleted.
	FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCanNotBeDeleted"

	//
	FAILEDOPERATION_CREATEORGNODEERROR = "FailedOperation.CreateOrgNodeError"

	// An exception occurred while creating the user.
	FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"

	// An exception occurred while creating the user group.
	FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"

	//
	FAILEDOPERATION_CUSTOMIZEPARENTORGNODEIDALREADYEXISTS = "FailedOperation.CustomizeParentOrgNodeIdAlreadyExists"

	//
	FAILEDOPERATION_CUSTOMIZEDORGNODEIDCANNOTBEEMPTY = "FailedOperation.CustomizedOrgNodeIdCanNotBeEmpty"

	//
	FAILEDOPERATION_DEFAULTORGNODECANNOTBEDELETED = "FailedOperation.DefaultOrgNodeCanNotBeDeleted"

	//
	FAILEDOPERATION_DELETEORGNODEERROR = "FailedOperation.DeleteOrgNodeError"

	// The user is an admin and cannot be deleted.
	FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"

	// Failed to delete the user.
	FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"

	// An exception occurred while deleting the user group.
	FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"

	//
	FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"

	//
	FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"

	// The value of `EntityType` is invalid.
	FAILEDOPERATION_ENTITYTYPENOTEXISTED = "FailedOperation.EntityTypeNotExisted"

	// The user attribute type expected to be returned does not exist.
	FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"

	// The user group ID was not found.
	FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"

	//
	FAILEDOPERATION_IDTOCODEERROR = "FailedOperation.IdToCodeError"

	// The number of data entries exceeds the upper limit.
	FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"

	// You cannot add more than %s mappings for the same user in the same application.
	FAILEDOPERATION_LIMITQUOTANOTENOUGH = "FailedOperation.LimitQuotaNotEnough"

	//
	FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"

	//
	FAILEDOPERATION_LISTUSERSINORGNODEERROR = "FailedOperation.ListUsersInOrgNodeError"

	//
	FAILEDOPERATION_LISTUSERSINUSERGROUPERROR = "FailedOperation.ListUsersInUserGroupError"

	// The primary organization does not exist.
	FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"

	// The new password cannot be empty.
	FAILEDOPERATION_NEWPASSWORDMUSTNOTBLANK = "FailedOperation.NewPasswordMustNotBlank"

	//
	FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"

	// The operation failed.
	FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"

	// The organization node ID does not exist.
	FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"

	// The organization node does not exist.
	FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"

	// The root organization node cannot be deleted.
	FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCanNotBeDeleted"

	//
	FAILEDOPERATION_ORGNODESETTINGERROR = "FailedOperation.OrgNodeSettingError"

	// Organization nodes with users cannot be deleted.
	FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCanNotBeDeleted"

	// The parent organization node ID was not found.
	FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"

	// The identity entity was not found.
	FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"

	//
	FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPERROR = "FailedOperation.RemoveUsersFromUserGroupError"

	//
	FAILEDOPERATION_SECONDARYORGNODEDUPLICATES = "FailedOperation.SecondaryOrgNodeDuplicates"

	// You cannot move users imported from LDAP to an organization not in the directory.
	FAILEDOPERATION_UPDATELDAPUSERORGEXCEEDSRANGE = "FailedOperation.UpdateLDAPUserOrgExceedsRange"

	//
	FAILEDOPERATION_UPDATELDAPUSERORGNOTINSAMECROP = "FailedOperation.UpdateLDAPUserOrgNotInSameCrop"

	// You cannot move users created by the admin to an organization with the sync operation type.
	FAILEDOPERATION_UPDATEUSEREXCEEDSRANGE = "FailedOperation.UpdateUserExceedsRange"

	// You cannot move WeCom users to an organization outside your enterprise.
	FAILEDOPERATION_UPDATEWECOMUSERORGEXCEEDSRANGE = "FailedOperation.UpdateWeComUserOrgExceedsRange"

	// You cannot move WeCom users to a different enterprise organization.
	FAILEDOPERATION_UPDATEWECOMUSERORGNOTINSAMECROP = "FailedOperation.UpdateWeComUserOrgNotInSameCrop"

	// The user already exists in the user group.
	FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"

	//
	FAILEDOPERATION_USERAUTHLISTERROR = "FailedOperation.UserAuthListError"

	// The user's email address already exists.
	FAILEDOPERATION_USEREMAILEXISTED = "FailedOperation.UserEmailExisted"

	// The user group does not exist.
	FAILEDOPERATION_USERGROUPNOTEXIST = "FailedOperation.UserGroupNotExist"

	//
	FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists"

	//
	FAILEDOPERATION_USERNOTEXISTINUSERGROUP = "FailedOperation.UserNotExistInUserGroup"

	// The user does not exist.
	FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"

	//
	FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"

	// The user's mobile number cannot be empty.
	FAILEDOPERATION_USERPHONEISEMPTY = "FailedOperation.UserPhoneIsEmpty"

	// The application name already exists.
	INVALIDPARAMETER_APPDISPLAYNAMEEXISTED = "InvalidParameter.AppDisplayNameExisted"

	//
	INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"

	//
	INVALIDPARAMETER_ORGCODEILLEGAL = "InvalidParameter.OrgCodeIllegal"

	// The parameter is invalid.
	INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"

	// The parameter is invalid.
	INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"

	//
	INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"

	//
	INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"

	//
	INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"

	// The user ID parameter is empty.
	INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"

	//
	INVALIDPARAMETER_USERINFOSORTKEYISILLEGAL = "InvalidParameter.UserInfoSortKeyIsIllegal"

	// The username parameter is empty.
	INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"

	//
	INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

	//
	INVALIDPARAMETERVALUE_USERIDCANNOTBEEMPTY = "InvalidParameterValue.UserIdCanNotBeEmpty"

	//
	INVALIDPARAMETERVALUE_USERNAMECANNOTBEEMPTY = "InvalidParameterValue.UserNameCanNotBeEmpty"

	//
	LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"

	//
	LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"
)
View Source
const APIVersion = "2021-04-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountGroupInfo

type AccountGroupInfo struct {
	// Account group ID.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// Account group name.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Remarks.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`
}

type AccountGroupSearchCriteria

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

type AddAccountToAccountGroupRequest

type AddAccountToAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Account group ID
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// List of IDs of the accounts to be added to the account group.
	AccountIds []*string `json:"AccountIds,omitempty" name:"AccountIds"`
}

func NewAddAccountToAccountGroupRequest

func NewAddAccountToAccountGroupRequest() (request *AddAccountToAccountGroupRequest)

func (*AddAccountToAccountGroupRequest) FromJsonString

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

func (r *AddAccountToAccountGroupRequest) ToJsonString() string

type AddAccountToAccountGroupRequestParams

type AddAccountToAccountGroupRequestParams struct {
	// Account group ID
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// List of IDs of the accounts to be added to the account group.
	AccountIds []*string `json:"AccountIds,omitempty" name:"AccountIds"`
}

Predefined struct for user

type AddAccountToAccountGroupResponse

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

func NewAddAccountToAccountGroupResponse

func NewAddAccountToAccountGroupResponse() (response *AddAccountToAccountGroupResponse)

func (*AddAccountToAccountGroupResponse) FromJsonString

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

func (r *AddAccountToAccountGroupResponse) ToJsonString() string

type AddAccountToAccountGroupResponseParams

type AddAccountToAccountGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddUserToUserGroupRequest

type AddUserToUserGroupRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the users to be added to the user group.
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type AddUserToUserGroupRequestParams struct {
	// List of IDs of the users to be added to the user group.
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type AddUserToUserGroupResponseParams struct {
	// List of IDs of the users failed to be added to the user group.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FailedItems []*string `json:"FailedItems,omitempty" name:"FailedItems"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AppAccountInfo

type AppAccountInfo struct {
	// Account ID.
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// Account name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`

	// User information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserList []*LinkUserInfo `json:"UserList,omitempty" name:"UserList"`

	// Description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`
}

type AppAccountSearchCriteria

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

type ApplicationAuthorizationInfo

type ApplicationAuthorizationInfo struct {
	// List of the user's accounts under authorized applications
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitempty" name:"ApplicationAccounts"`

	// Application ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// List of IDs of the user's user groups and organization nodes that have access to the application.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InheritedForm *InheritedForm `json:"InheritedForm,omitempty" name:"InheritedForm"`

	// Application name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"`

	// Application creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`
}

type ApplicationInfoSearchCriteria

type ApplicationInfoSearchCriteria struct {
	// Application search keyword, which can be application name or ID.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Application type. Valid values: OAUTH2, JWT, CAS, SAML2, FORM, OIDC, APIGW
	ApplicationType *string `json:"ApplicationType,omitempty" name:"ApplicationType"`
}

type ApplicationInformation

type ApplicationInformation struct {
	// Application ID, which is globally unique.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Displayed application name, which can contain up to 64 characters and is the same as the application name by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Application creation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`

	// Last update time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`

	// Application status.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AppStatus *bool `json:"AppStatus,omitempty" name:"AppStatus"`

	// Application icon.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Icon *string `json:"Icon,omitempty" name:"Icon"`

	// Application type.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationType *string `json:"ApplicationType,omitempty" name:"ApplicationType"`

	// Client ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClientId *string `json:"ClientId,omitempty" name:"ClientId"`
}

type AuthorizationInfo

type AuthorizationInfo struct {
	// Unique application ID.
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// Application name.
	AppName *string `json:"AppName,omitempty" name:"AppName"`

	// Type name.
	EntityName *string `json:"EntityName,omitempty" name:"EntityName"`

	// Unique type ID.
	EntityId *string `json:"EntityId,omitempty" name:"EntityId"`

	// Last update time in ISO 8601 format.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`

	// Unique authorization type ID.
	AuthorizationId *string `json:"AuthorizationId,omitempty" name:"AuthorizationId"`
}

type AuthorizationInfoSearchCriteria

type AuthorizationInfoSearchCriteria struct {
	// Search by name. When the query type is user, the match criteria include username and application name. When the query type is user group, the match criteria include user group name and application name. When the query type is organization, the match criteria include organization name and application name.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}

type AuthorizationUserResouceInfo

type AuthorizationUserResouceInfo struct {
	// Resource ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Resource type
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Authorized resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	Resource *string `json:"Resource,omitempty" name:"Resource"`

	// Inheritance relationship
	// Note: this field may return null, indicating that no valid values can be obtained.
	InheritedForm *InheritedForm `json:"InheritedForm,omitempty" name:"InheritedForm"`

	// Application account
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitempty" name:"ApplicationAccounts"`

	// Resource name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResourceName *string `json:"ResourceName,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

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

AddAccountToAccountGroup This API is used to add an account to an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"
FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) AddAccountToAccountGroupWithContext

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

AddAccountToAccountGroup This API is used to add an account to an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTALREADYEXISTEDINACCOUNTGROUP = "FailedOperation.AccountAlreadyExistedInAccountGroup"
FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) AddUserToUserGroup

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

AddUserToUserGroup This API is used to add a user to a user group.

error code that may be returned:

FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) AddUserToUserGroupWithContext

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

AddUserToUserGroup This API is used to add a user to a user group.

error code that may be returned:

FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAccountGroup

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

CreateAccountGroup This API is used to create an account group.

error code that may be returned:

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

func (*Client) CreateAccountGroupWithContext

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

CreateAccountGroup This API is used to create an account group.

error code that may be returned:

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

func (*Client) CreateAppAccount

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

CreateAppAccount This API is used to create an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateAppAccountWithContext

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

CreateAppAccount This API is used to create an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted"
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 This API is used to create an organization node.

error code that may be returned:

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

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

CreateOrgNode This API is used to create an organization node.

error code that may be returned:

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 This API is used to create a user.

error code that may be returned:

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_USEREMAILEXISTED = "FailedOperation.UserEmailExisted"
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 This API is used to create a user group.

error code that may be returned:

FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateUserGroupWithContext

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

CreateUserGroup This API is used to create a user group.

error code that may be returned:

FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) CreateUserWithContext

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

CreateUser This API is used to create a user.

error code that may be returned:

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_USEREMAILEXISTED = "FailedOperation.UserEmailExisted"
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

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

DeleteAccountGroup This API is used to delete an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteAccountGroupWithContext

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

DeleteAccountGroup This API is used to delete an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteAppAccount

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

DeleteAppAccount This API is used to delete an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteAppAccountWithContext

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

DeleteAppAccount This API is used to delete an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteOrgNode

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

DeleteOrgNode This API is used to delete an organization node.

error code that may be returned:

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

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

DeleteOrgNode This API is used to delete an organization node.

error code that may be returned:

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 This API is used to delete a user by username or user ID.

error code that may be returned:

FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"
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 This API is used to delete a user group.

error code that may be returned:

FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUserGroupWithContext

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

DeleteUserGroup This API is used to delete a user group.

error code that may be returned:

FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_PARAMETERLLLEGAL = "InvalidParameter.Parameterlllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUserWithContext

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

DeleteUser This API is used to delete a user by username or user ID.

error code that may be returned:

FAILEDOPERATION_DELETEUSEREXISTSADMINISTRATOR = "FailedOperation.DeleteUserExistsAdministrator"
FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DeleteUsers

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

DeleteUsers This API is used to batch delete the users under the current node. If an error occurs when a user is deleted, the deletion of other selected users will not be affected, and the username/ID of the user who fails to be deleted will be prompted.

error code that may be returned:

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

func (*Client) DeleteUsersWithContext

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

DeleteUsers This API is used to batch delete the users under the current node. If an error occurs when a user is deleted, the deletion of other selected users will not be affected, and the username/ID of the user who fails to be deleted will be prompted.

error code that may be returned:

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

func (*Client) DescribeAccountGroup

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

DescribeAccountGroup This API is used to query the list of account groups.

error code that may be returned:

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

func (*Client) DescribeAccountGroupWithContext

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

DescribeAccountGroup This API is used to query the list of account groups.

error code that may be returned:

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

func (*Client) DescribeAppAccount

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

DescribeAppAccount This API is used to query the list of application accounts.

error code that may be returned:

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

func (*Client) DescribeAppAccountWithContext

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

DescribeAppAccount This API is used to query the list of application accounts.

error code that may be returned:

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

func (*Client) DescribeApplication

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

DescribeApplication This API is used to get the information of an application.

error code that may be returned:

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

func (*Client) DescribeApplicationWithContext

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

DescribeApplication This API is used to get the information of an application.

error code that may be returned:

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 This API is used to read the information of an organization node by organization node ID.

error code that may be returned:

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

func (*Client) DescribeOrgNodeWithContext

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

DescribeOrgNode This API is used to read the information of an organization node by organization node ID.

error code that may be returned:

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

func (*Client) DescribePublicKey

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

DescribePublicKey This API is used to get the information of a JWT public key.

error code that may be returned:

FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"
FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribePublicKeyWithContext

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

DescribePublicKey This API is used to get the information of a JWT public key.

error code that may be returned:

FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"
FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) DescribeUserGroup

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

DescribeUserGroup This API is used to get the information of a user group.

error code that may be returned:

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

func (*Client) DescribeUserGroupWithContext

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

DescribeUserGroup This API is used to get the information of a user group.

error code that may be returned:

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

func (*Client) DescribeUserInfo

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

DescribeUserInfo This API is used to search for a user by username or user ID.

error code that may be returned:

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

func (*Client) DescribeUserInfoWithContext

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

DescribeUserInfo This API is used to search for a user by username or user ID.

error code that may be returned:

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

func (*Client) DescribeUserResourcesAuthorization

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

DescribeUserResourcesAuthorization This API is used to query the list of resource authorizations under the specified user.

error code that may be returned:

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

func (*Client) DescribeUserResourcesAuthorizationWithContext

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

DescribeUserResourcesAuthorization This API is used to query the list of resource authorizations under the specified user.

error code that may be returned:

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

func (*Client) DescribeUserThirdPartyAccountInfo

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

DescribeUserThirdPartyAccountInfo This API is used to get the third-party account binding information by username or user ID.

error code that may be returned:

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

func (*Client) DescribeUserThirdPartyAccountInfoWithContext

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

DescribeUserThirdPartyAccountInfo This API is used to get the third-party account binding information by username or user ID.

error code that may be returned:

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

func (*Client) ListAccountInAccountGroup

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

ListAccountInAccountGroup

This API is used to get the list of accounts in an account group.

error code that may be returned:

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

func (*Client) ListAccountInAccountGroupWithContext

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

ListAccountInAccountGroup

This API is used to get the list of accounts in an account group.

error code that may be returned:

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

func (*Client) ListApplicationAuthorizations

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

ListApplicationAuthorizations This API is used to get the list of authorization relationships of an application (including search criteria-based match).

error code that may be returned:

FAILEDOPERATION_ENTITYTYPENOTEXISTED = "FailedOperation.EntityTypeNotExisted"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListApplicationAuthorizationsWithContext

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

ListApplicationAuthorizations This API is used to get the list of authorization relationships of an application (including search criteria-based match).

error code that may be returned:

FAILEDOPERATION_ENTITYTYPENOTEXISTED = "FailedOperation.EntityTypeNotExisted"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListApplications

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

ListApplications This API is used to get the list of applications.

error code that may be returned:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListApplicationsWithContext

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

ListApplications This API is used to get the list of applications.

error code that may be returned:

FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure"
INVALIDPARAMETER_SEARCHCRITERIAILLEGAL = "InvalidParameter.SearchCriteriaIllegal"
INVALIDPARAMETER_TIMEFORMATILLEGAL = "InvalidParameter.TimeFormatIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListAuthorizedApplicationsToOrgNode

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

ListAuthorizedApplicationsToOrgNode This API is used to get the list of accessible applications by organization node ID.

error code that may be returned:

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

func (*Client) ListAuthorizedApplicationsToOrgNodeWithContext

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

ListAuthorizedApplicationsToOrgNode This API is used to get the list of accessible applications by organization node ID.

error code that may be returned:

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 This API is used to get the list of accessible applications by user ID.

error code that may be returned:

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

func (*Client) ListAuthorizedApplicationsToUserGroup

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

ListAuthorizedApplicationsToUserGroup This API is used to get the list of accessible applications by user group ID.

error code that may be returned:

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

func (*Client) ListAuthorizedApplicationsToUserGroupWithContext

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

ListAuthorizedApplicationsToUserGroup This API is used to get the list of accessible applications by user group ID.

error code that may be returned:

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

func (*Client) ListAuthorizedApplicationsToUserWithContext

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

ListAuthorizedApplicationsToUser This API is used to get the list of accessible applications by user ID.

error code that may be returned:

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

func (*Client) ListUserGroups

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

ListUserGroups This API is used to get the information of the user group list (including query conditions).

error code that may be returned:

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 This API is used to get the list of a user's user groups.

error code that may be returned:

FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_USERINFOSORTKEYISILLEGAL = "InvalidParameter.UserInfoSortKeyIsIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUserGroupsOfUserWithContext

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

ListUserGroupsOfUser This API is used to get the list of a user's user groups.

error code that may be returned:

FAILEDOPERATION_LISTUSERGROUPSOFUSERERROR = "FailedOperation.ListUserGroupsOfUserError"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound"
INVALIDPARAMETER_USERINFOSORTKEYISILLEGAL = "InvalidParameter.UserInfoSortKeyIsIllegal"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ListUserGroupsWithContext

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

ListUserGroups This API is used to get the information of the user group list (including query conditions).

error code that may be returned:

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

func (*Client) ListUsers

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

ListUsers This API is used to get the information of the user list.

error code that may be returned:

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

func (*Client) ListUsersInOrgNode

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

ListUsersInOrgNode This API is used to read the users under an organization node by organization node ID.

error code that may be returned:

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

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

ListUsersInOrgNode This API is used to read the users under an organization node by organization node ID.

error code that may be returned:

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 This API is used to get the list of the users in a user group.

error code that may be returned:

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

func (*Client) ListUsersInUserGroupWithContext

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

ListUsersInUserGroup This API is used to get the list of the users in a user group.

error code that may be returned:

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

func (*Client) ListUsersWithContext

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

ListUsers This API is used to get the information of the user list.

error code that may be returned:

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

func (*Client) ModifyAccountGroup

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

ModifyAccountGroup This API is used to modify an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted"
FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAccountGroupWithContext

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

ModifyAccountGroup This API is used to modify an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted"
FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAppAccount

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

ModifyAppAccount This API is used to modify an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyAppAccountWithContext

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

ModifyAppAccount This API is used to modify an application account.

error code that may be returned:

FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyApplication

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

ModifyApplication This API is used to update the information of an application.

error code that may be returned:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_APPDISPLAYNAMEEXISTED = "InvalidParameter.AppDisplayNameExisted"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyApplicationWithContext

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

ModifyApplication This API is used to update the information of an application.

error code that may be returned:

FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETER_APPDISPLAYNAMEEXISTED = "InvalidParameter.AppDisplayNameExisted"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) ModifyUserInfo

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

ModifyUserInfo This API is used to modify the information of a user by username or user ID.

error code that may be returned:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_NEWPASSWORDMUSTNOTBLANK = "FailedOperation.NewPasswordMustNotBlank"
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_USEREMAILEXISTED = "FailedOperation.UserEmailExisted"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
FAILEDOPERATION_USERPHONEISEMPTY = "FailedOperation.UserPhoneIsEmpty"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) ModifyUserInfoWithContext

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

ModifyUserInfo This API is used to modify the information of a user by username or user ID.

error code that may be returned:

FAILEDOPERATION_DESCRIBEORGNODEERROR = "FailedOperation.DescribeOrgNodeError"
FAILEDOPERATION_DESCRIBEORGNODEROOTERROR = "FailedOperation.DescribeOrgNodeRootError"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_MAINORGNODENOTEXIST = "FailedOperation.MainOrgNodeNotExist"
FAILEDOPERATION_NEWPASSWORDMUSTNOTBLANK = "FailedOperation.NewPasswordMustNotBlank"
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_USEREMAILEXISTED = "FailedOperation.UserEmailExisted"
FAILEDOPERATION_USERPHONEALREADYEXISTS = "FailedOperation.UserPhoneAlreadyExists"
FAILEDOPERATION_USERPHONEISEMPTY = "FailedOperation.UserPhoneIsEmpty"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDERROR = "InvalidParameter.AttributeValueValidError"
INVALIDPARAMETER_USEREXPIRATIONTIMEILLEGAL = "InvalidParameter.UserExpirationTimeIllegal"
INVALIDPARAMETER_USERIDISNULL = "InvalidParameter.UserIDIsNull"
INVALIDPARAMETER_USERNAMEISNULL = "InvalidParameter.UserNameIsNull"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"
LIMITEXCEEDED_PARAMETERLENGTHLIMITEXCEEDED = "LimitExceeded.ParameterLengthLimitExceeded"
LIMITEXCEEDED_SECONDARYNODECOUNTLIMITEXCEEDED = "LimitExceeded.SecondaryNodeCountLimitExceeded"

func (*Client) RemoveAccountFromAccountGroup

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

RemoveAccountFromAccountGroup This API is used to remove an account from an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) RemoveAccountFromAccountGroupWithContext

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

RemoveAccountFromAccountGroup This API is used to remove an account from an account group.

error code that may be returned:

FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted"
FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull"
FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted"
FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist"
FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber"
FAILEDOPERATION_OPERATIONERROR = "FailedOperation.OperationError"
INVALIDPARAMETERVALUE_PARAMETERILLEGAL = "InvalidParameterValue.ParameterIllegal"

func (*Client) RemoveUserFromUserGroup

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

RemoveUserFromUserGroup This API is used to remove a user from a user group.

error code that may be returned:

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

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

RemoveUserFromUserGroup This API is used to remove a user from a user group.

error code that may be returned:

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 This API is used to create an organization node.

error code that may be returned:

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

func (*Client) UpdateOrgNodeWithContext

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

UpdateOrgNode This API is used to create an organization node.

error code that may be returned:

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

type CreateAccountGroupRequest

type CreateAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Account group name.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Description.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateAccountGroupRequest

func NewCreateAccountGroupRequest() (request *CreateAccountGroupRequest)

func (*CreateAccountGroupRequest) FromJsonString

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

func (r *CreateAccountGroupRequest) ToJsonString() string

type CreateAccountGroupRequestParams

type CreateAccountGroupRequestParams struct {
	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Account group name.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Description.
	Description *string `json:"Description,omitempty" name:"Description"`
}

Predefined struct for user

type CreateAccountGroupResponse

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

func NewCreateAccountGroupResponse

func NewCreateAccountGroupResponse() (response *CreateAccountGroupResponse)

func (*CreateAccountGroupResponse) FromJsonString

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

func (r *CreateAccountGroupResponse) ToJsonString() string

type CreateAccountGroupResponseParams

type CreateAccountGroupResponseParams struct {
	// Account group ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAppAccountRequest

type CreateAppAccountRequest struct {
	*tchttp.BaseRequest

	// Application ID
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Account name
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`

	// Account password
	Password *string `json:"Password,omitempty" name:"Password"`

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

func NewCreateAppAccountRequest

func NewCreateAppAccountRequest() (request *CreateAppAccountRequest)

func (*CreateAppAccountRequest) FromJsonString

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

func (r *CreateAppAccountRequest) ToJsonString() string

type CreateAppAccountRequestParams

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

	// Account name
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`

	// Account password
	Password *string `json:"Password,omitempty" name:"Password"`

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

Predefined struct for user

type CreateAppAccountResponse

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

func NewCreateAppAccountResponse

func NewCreateAppAccountResponse() (response *CreateAppAccountResponse)

func (*CreateAppAccountResponse) FromJsonString

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

func (r *CreateAppAccountResponse) ToJsonString() string

type CreateAppAccountResponseParams

type CreateAppAccountResponseParams struct {
	// Account ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateOrgNodeRequest

type CreateOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node name, which can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Parent organization node ID. If this parameter is left empty, the organization will be created under the root organization node by default.
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitempty" name:"ParentOrgNodeId"`

	// Organization node description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// External ID of the organization node, which is optional and customizable. If this parameter is specified, its uniqueness will be verified.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,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

type CreateOrgNodeRequestParams struct {
	// Organization node name, which can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Parent organization node ID. If this parameter is left empty, the organization will be created under the root organization node by default.
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitempty" name:"ParentOrgNodeId"`

	// Organization node description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// External ID of the organization node, which is optional and customizable. If this parameter is specified, its uniqueness will be verified.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,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

type CreateOrgNodeResponseParams struct {
	// Organization node ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserGroupRequest

type CreateUserGroupRequest struct {
	*tchttp.BaseRequest

	// User group nickname, which is unique and can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User group remarks, which can contain up to 512 characters.
	Description *string `json:"Description,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

type CreateUserGroupRequestParams struct {
	// User group nickname, which is unique and can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User group remarks, which can contain up to 512 characters.
	Description *string `json:"Description,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

type CreateUserGroupResponseParams struct {
	// User group ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserRequest

type CreateUserRequest struct {
	*tchttp.BaseRequest

	// Username, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User password, which needs to be configured according to the password policy.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks, which can contain up to 512 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of IDs of the user's user groups.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User's mobile number, such as `+86-1xxxxxxxxxx`.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// Unique ID of the user's primary organization. If this parameter is left empty, the user will be created under the root node by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// User expiration time in ISO 8601 format.
	ExpirationTime *string `json:"ExpirationTime,omitempty" name:"ExpirationTime"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// Whether the password needs to be reset. Default value: false (no).
	PwdNeedReset *bool `json:"PwdNeedReset,omitempty" name:"PwdNeedReset"`

	// List of IDs of the user's secondary organizations.
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,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

type CreateUserRequestParams struct {
	// Username, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User password, which needs to be configured according to the password policy.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks, which can contain up to 512 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of IDs of the user's user groups.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User's mobile number, such as `+86-1xxxxxxxxxx`.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// Unique ID of the user's primary organization. If this parameter is left empty, the user will be created under the root node by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// User expiration time in ISO 8601 format.
	ExpirationTime *string `json:"ExpirationTime,omitempty" name:"ExpirationTime"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// Whether the password needs to be reset. Default value: false (no).
	PwdNeedReset *bool `json:"PwdNeedReset,omitempty" name:"PwdNeedReset"`

	// List of IDs of the user's secondary organizations.
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,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

type CreateUserResponseParams struct {
	// Returned ID of the newly created user, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAccountGroupRequest

type DeleteAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Array of account group IDs.
	AccountGroupIdList []*string `json:"AccountGroupIdList,omitempty" name:"AccountGroupIdList"`
}

func NewDeleteAccountGroupRequest

func NewDeleteAccountGroupRequest() (request *DeleteAccountGroupRequest)

func (*DeleteAccountGroupRequest) FromJsonString

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

func (r *DeleteAccountGroupRequest) ToJsonString() string

type DeleteAccountGroupRequestParams

type DeleteAccountGroupRequestParams struct {
	// Array of account group IDs.
	AccountGroupIdList []*string `json:"AccountGroupIdList,omitempty" name:"AccountGroupIdList"`
}

Predefined struct for user

type DeleteAccountGroupResponse

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

func NewDeleteAccountGroupResponse

func NewDeleteAccountGroupResponse() (response *DeleteAccountGroupResponse)

func (*DeleteAccountGroupResponse) FromJsonString

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

func (r *DeleteAccountGroupResponse) ToJsonString() string

type DeleteAccountGroupResponseParams

type DeleteAccountGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAppAccountRequest

type DeleteAppAccountRequest struct {
	*tchttp.BaseRequest

	// Array of account IDs .
	AccountIdList []*string `json:"AccountIdList,omitempty" name:"AccountIdList"`
}

func NewDeleteAppAccountRequest

func NewDeleteAppAccountRequest() (request *DeleteAppAccountRequest)

func (*DeleteAppAccountRequest) FromJsonString

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

func (r *DeleteAppAccountRequest) ToJsonString() string

type DeleteAppAccountRequestParams

type DeleteAppAccountRequestParams struct {
	// Array of account IDs .
	AccountIdList []*string `json:"AccountIdList,omitempty" name:"AccountIdList"`
}

Predefined struct for user

type DeleteAppAccountResponse

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

func NewDeleteAppAccountResponse

func NewDeleteAppAccountResponse() (response *DeleteAppAccountResponse)

func (*DeleteAppAccountResponse) FromJsonString

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

func (r *DeleteAppAccountResponse) ToJsonString() string

type DeleteAppAccountResponseParams

type DeleteAppAccountResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteOrgNodeRequest

type DeleteOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node ID, which is globally unique.
	OrgNodeId *string `json:"OrgNodeId,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

type DeleteOrgNodeRequestParams struct {
	// Organization node ID, which is globally unique.
	OrgNodeId *string `json:"OrgNodeId,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

type DeleteOrgNodeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserGroupRequest

type DeleteUserGroupRequest struct {
	*tchttp.BaseRequest

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type DeleteUserGroupRequestParams struct {
	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type DeleteUserGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserRequest

type DeleteUserRequest struct {
	*tchttp.BaseRequest

	// Username, which can contain up to 32 characters. You need to select either `UserName` or `UserId` as the search criterion; if both are selected, `UserName` will be used by default.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID. You need to select either `UserName` or `UserId` as the search criterion. If both are selected, `UserName` will be used by default.
	UserId *string `json:"UserId,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

type DeleteUserRequestParams struct {
	// Username, which can contain up to 32 characters. You need to select either `UserName` or `UserId` as the search criterion; if both are selected, `UserName` will be used by default.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID. You need to select either `UserName` or `UserId` as the search criterion. If both are selected, `UserName` will be used by default.
	UserId *string `json:"UserId,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

type DeleteUserResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUsersRequest

type DeleteUsersRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the users to be deleted. You need to specify at least `DeleteIdList` or `DeleteNameList`. If both are specified, `DeleteNameList` will be used first.
	DeleteIdList []*string `json:"DeleteIdList,omitempty" name:"DeleteIdList"`

	// List of usernames of the users to be deleted. You need to specify at least `DeleteIdList` or `DeleteNameList`. If both are specified, `DeleteNameList` will be used first.
	DeleteNameList []*string `json:"DeleteNameList,omitempty" name:"DeleteNameList"`
}

func NewDeleteUsersRequest

func NewDeleteUsersRequest() (request *DeleteUsersRequest)

func (*DeleteUsersRequest) FromJsonString

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

func (r *DeleteUsersRequest) ToJsonString() string

type DeleteUsersRequestParams

type DeleteUsersRequestParams struct {
	// List of IDs of the users to be deleted. You need to specify at least `DeleteIdList` or `DeleteNameList`. If both are specified, `DeleteNameList` will be used first.
	DeleteIdList []*string `json:"DeleteIdList,omitempty" name:"DeleteIdList"`

	// List of usernames of the users to be deleted. You need to specify at least `DeleteIdList` or `DeleteNameList`. If both are specified, `DeleteNameList` will be used first.
	DeleteNameList []*string `json:"DeleteNameList,omitempty" name:"DeleteNameList"`
}

Predefined struct for user

type DeleteUsersResponse

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

func NewDeleteUsersResponse

func NewDeleteUsersResponse() (response *DeleteUsersResponse)

func (*DeleteUsersResponse) FromJsonString

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

func (r *DeleteUsersResponse) ToJsonString() string

type DeleteUsersResponseParams

type DeleteUsersResponseParams struct {
	// Information of the users failed to be deleted. When the business parameter is `DeleteIdList`, this field will return the list of IDs of the users failed to be deleted. When the business parameter is `DeleteNameList`, this field will return the list of usernames of the users failed to be deleted.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FailedItems []*string `json:"FailedItems,omitempty" name:"FailedItems"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountGroupRequest

type DescribeAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAccountGroupRequest

func NewDescribeAccountGroupRequest() (request *DescribeAccountGroupRequest)

func (*DescribeAccountGroupRequest) FromJsonString

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

func (r *DescribeAccountGroupRequest) ToJsonString() string

type DescribeAccountGroupRequestParams

type DescribeAccountGroupRequestParams struct {
	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAccountGroupResponse

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

func NewDescribeAccountGroupResponse

func NewDescribeAccountGroupResponse() (response *DescribeAccountGroupResponse)

func (*DescribeAccountGroupResponse) FromJsonString

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

func (r *DescribeAccountGroupResponse) ToJsonString() string

type DescribeAccountGroupResponseParams

type DescribeAccountGroupResponseParams struct {
	// Total number of records returned for the query.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Application ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Returned list of eligible data.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountGroupList []*AccountGroupInfo `json:"AccountGroupList,omitempty" name:"AccountGroupList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAppAccountRequest

type DescribeAppAccountRequest struct {
	*tchttp.BaseRequest

	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AppAccountSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAppAccountRequest

func NewDescribeAppAccountRequest() (request *DescribeAppAccountRequest)

func (*DescribeAppAccountRequest) FromJsonString

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

func (r *DescribeAppAccountRequest) ToJsonString() string

type DescribeAppAccountRequestParams

type DescribeAppAccountRequestParams struct {
	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AppAccountSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAppAccountResponse

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

func NewDescribeAppAccountResponse

func NewDescribeAppAccountResponse() (response *DescribeAppAccountResponse)

func (*DescribeAppAccountResponse) FromJsonString

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

func (r *DescribeAppAccountResponse) ToJsonString() string

type DescribeAppAccountResponseParams

type DescribeAppAccountResponseParams struct {
	// Total number of records returned for the query.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Application ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Returned list of eligible data.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AppAccountList []*AppAccountInfo `json:"AppAccountList,omitempty" name:"AppAccountList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApplicationRequest

type DescribeApplicationRequest struct {
	*tchttp.BaseRequest

	// Application ID, which is globally unique. You must specify at least this parameter or `ClientId`.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Client ID. You must specify at least this parameter or `ApplicationId`.
	ClientId *string `json:"ClientId,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

type DescribeApplicationRequestParams struct {
	// Application ID, which is globally unique. You must specify at least this parameter or `ClientId`.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Client ID. You must specify at least this parameter or `ApplicationId`.
	ClientId *string `json:"ClientId,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

type DescribeApplicationResponseParams struct {
	// Key ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`

	// Displayed application name, which can contain up to 64 characters and is the same as the application name by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Last modification time of the application in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`

	// Client ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClientId *string `json:"ClientId,omitempty" name:"ClientId"`

	// Application type, i.e., the application template type selected during application creation.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationType *string `json:"ApplicationType,omitempty" name:"ApplicationType"`

	// Application creation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`

	// Application ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Token validity period in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TokenExpired *int64 `json:"TokenExpired,omitempty" name:"TokenExpired"`

	// Client secret.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClientSecret *string `json:"ClientSecret,omitempty" name:"ClientSecret"`

	// Public key information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`

	// Authorization address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthorizeUrl *string `json:"AuthorizeUrl,omitempty" name:"AuthorizeUrl"`

	// Access address of the application icon image.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IconUrl *string `json:"IconUrl,omitempty" name:"IconUrl"`

	// Security level.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SecureLevel *string `json:"SecureLevel,omitempty" name:"SecureLevel"`

	// Application status.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AppStatus *bool `json:"AppStatus,omitempty" name:"AppStatus"`

	// Description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOrgNodeRequest

type DescribeOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node ID, which is globally unique and can contain up to 64 characters. If this parameter is left empty, the information of the root organization node will be read by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Whether to read the information of its sub-nodes. When this parameter is left empty or specified as `false`, only the information of the current organization node will be read by default. When it is specified as `true`, the information of the current organization node and its level-1 sub-nodes will be read.
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,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

type DescribeOrgNodeRequestParams struct {
	// Organization node ID, which is globally unique and can contain up to 64 characters. If this parameter is left empty, the information of the root organization node will be read by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Whether to read the information of its sub-nodes. When this parameter is left empty or specified as `false`, only the information of the current organization node will be read by default. When it is specified as `true`, the information of the current organization node and its level-1 sub-nodes will be read.
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,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

type DescribeOrgNodeResponseParams struct {
	// Displayed organization node name, which can contain up to 64 characters and is the same as the organization name by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Last modification time of the organization node in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`

	// External ID of the organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitempty" name:"CustomizedOrgNodeId"`

	// Parent node ID of the current organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitempty" name:"ParentOrgNodeId"`

	// Organization node ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Data source.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataSource *string `json:"DataSource,omitempty" name:"DataSource"`

	// Organization node creation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`

	// List of sub-nodes under the current organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeChildInfo []*OrgNodeChildInfo `json:"OrgNodeChildInfo,omitempty" name:"OrgNodeChildInfo"`

	// Organization node description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePublicKeyRequest

type DescribePublicKeyRequest struct {
	*tchttp.BaseRequest

	// Application ID, which is globally unique.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`
}

func NewDescribePublicKeyRequest

func NewDescribePublicKeyRequest() (request *DescribePublicKeyRequest)

func (*DescribePublicKeyRequest) FromJsonString

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

func (r *DescribePublicKeyRequest) ToJsonString() string

type DescribePublicKeyRequestParams

type DescribePublicKeyRequestParams struct {
	// Application ID, which is globally unique.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`
}

Predefined struct for user

type DescribePublicKeyResponse

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

func NewDescribePublicKeyResponse

func NewDescribePublicKeyResponse() (response *DescribePublicKeyResponse)

func (*DescribePublicKeyResponse) FromJsonString

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

func (r *DescribePublicKeyResponse) ToJsonString() string

type DescribePublicKeyResponseParams

type DescribePublicKeyResponseParams struct {
	// Public key information used for JWT signature verification.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`

	// JWT key ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`

	// Application ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserGroupRequest

type DescribeUserGroupRequest struct {
	*tchttp.BaseRequest

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type DescribeUserGroupRequestParams struct {
	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`
}

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

type DescribeUserGroupResponseParams struct {
	// User group nickname, which is not unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User group remarks, which can contain up to 512 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// User group ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserInfoRequest

type DescribeUserInfoRequest struct {
	*tchttp.BaseRequest

	// Username, which can contain up to 64 characters. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID, which can contain up to 64 characters. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserId *string `json:"UserId,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

type DescribeUserInfoRequestParams struct {
	// Username, which can contain up to 64 characters. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID, which can contain up to 64 characters. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserId *string `json:"UserId,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

type DescribeUserInfoResponseParams struct {
	// Username.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User status. Valid values: NORMAL: normal; FREEZE: frozen; LOCKED: locked; NOT_ENABLED: disabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Nickname
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of IDs of the user's user groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User ID, which can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// User's email address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Email *string `json:"Email,omitempty" name:"Email"`

	// User's mobile number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// Unique ID of the user's primary organization.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Data source
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataSource *string `json:"DataSource,omitempty" name:"DataSource"`

	// User expiration time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpirationTime *string `json:"ExpirationTime,omitempty" name:"ExpirationTime"`

	// User activation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ActivationTime *string `json:"ActivationTime,omitempty" name:"ActivationTime"`

	// Whether the password of the current user needs to be reset. `false` indicates no.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PwdNeedReset *bool `json:"PwdNeedReset,omitempty" name:"PwdNeedReset"`

	// List of IDs of the user's secondary organizations.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitempty" name:"SecondaryOrgNodeIdList"`

	// Whether the user is an admin. Valid values: 0: no; 1: yes.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminFlag *int64 `json:"AdminFlag,omitempty" name:"AdminFlag"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserResourcesAuthorizationRequest

type DescribeUserResourcesAuthorizationRequest struct {
	*tchttp.BaseRequest

	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// User ID. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Username. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Whether the query scope includes the application access of the user groups and organizations associated with the user. Valid values: false: no; true: yes. Default value: false.
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitempty" name:"IncludeInheritedAuthorizations"`
}

func NewDescribeUserResourcesAuthorizationRequest

func NewDescribeUserResourcesAuthorizationRequest() (request *DescribeUserResourcesAuthorizationRequest)

func (*DescribeUserResourcesAuthorizationRequest) FromJsonString

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

func (*DescribeUserResourcesAuthorizationRequest) ToJsonString

type DescribeUserResourcesAuthorizationRequestParams

type DescribeUserResourcesAuthorizationRequestParams struct {
	// Application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// User ID. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Username. You need to specify at least `UserName` or `UserId`. If both are specified, `UserName` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Whether the query scope includes the application access of the user groups and organizations associated with the user. Valid values: false: no; true: yes. Default value: false.
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,omitempty" name:"IncludeInheritedAuthorizations"`
}

Predefined struct for user

type DescribeUserResourcesAuthorizationResponse

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

func NewDescribeUserResourcesAuthorizationResponse

func NewDescribeUserResourcesAuthorizationResponse() (response *DescribeUserResourcesAuthorizationResponse)

func (*DescribeUserResourcesAuthorizationResponse) FromJsonString

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

func (*DescribeUserResourcesAuthorizationResponse) ToJsonString

type DescribeUserResourcesAuthorizationResponseParams

type DescribeUserResourcesAuthorizationResponseParams struct {
	// Unique application ID.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Application account.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationAccounts []*string `json:"ApplicationAccounts,omitempty" name:"ApplicationAccounts"`

	// Unique ID of the authorized user.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Username of the authorized user.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Returned resource list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthorizationUserResourceList []*AuthorizationUserResouceInfo `json:"AuthorizationUserResourceList,omitempty" name:"AuthorizationUserResourceList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserThirdPartyAccountInfoRequest

type DescribeUserThirdPartyAccountInfoRequest struct {
	*tchttp.BaseRequest

	// Username. You need to specify at least `Username` or `UserId`. If both are specified, `Username` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID. You need to specify at least `Username` or `UserId`. If both are specified, `Username` will be used first.
	UserId *string `json:"UserId,omitempty" name:"UserId"`
}

func NewDescribeUserThirdPartyAccountInfoRequest

func NewDescribeUserThirdPartyAccountInfoRequest() (request *DescribeUserThirdPartyAccountInfoRequest)

func (*DescribeUserThirdPartyAccountInfoRequest) FromJsonString

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

func (*DescribeUserThirdPartyAccountInfoRequest) ToJsonString

type DescribeUserThirdPartyAccountInfoRequestParams

type DescribeUserThirdPartyAccountInfoRequestParams struct {
	// Username. You need to specify at least `Username` or `UserId`. If both are specified, `Username` will be used first.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User ID. You need to specify at least `Username` or `UserId`. If both are specified, `Username` will be used first.
	UserId *string `json:"UserId,omitempty" name:"UserId"`
}

Predefined struct for user

type DescribeUserThirdPartyAccountInfoResponse

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

func NewDescribeUserThirdPartyAccountInfoResponse

func NewDescribeUserThirdPartyAccountInfoResponse() (response *DescribeUserThirdPartyAccountInfoResponse)

func (*DescribeUserThirdPartyAccountInfoResponse) FromJsonString

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

func (*DescribeUserThirdPartyAccountInfoResponse) ToJsonString

type DescribeUserThirdPartyAccountInfoResponseParams

type DescribeUserThirdPartyAccountInfoResponseParams struct {
	// User ID.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Username.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Third-Party account binding information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ThirdPartyAccounts []*ThirdPartyAccountInfo `json:"ThirdPartyAccounts,omitempty" name:"ThirdPartyAccounts"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type InheritedForm

type InheritedForm struct {
	// List of IDs of the user's user groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// List of IDs of the user's organization nodes.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeIds []*string `json:"OrgNodeIds,omitempty" name:"OrgNodeIds"`
}

type LinkUserInfo

type LinkUserInfo struct {
	// User ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Username.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitempty" name:"UserName"`
}

type ListAccountInAccountGroupRequest

type ListAccountInAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Account group ID.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges.
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListAccountInAccountGroupRequest

func NewListAccountInAccountGroupRequest() (request *ListAccountInAccountGroupRequest)

func (*ListAccountInAccountGroupRequest) FromJsonString

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

func (r *ListAccountInAccountGroupRequest) ToJsonString() string

type ListAccountInAccountGroupRequestParams

type ListAccountInAccountGroupRequestParams struct {
	// Account group ID.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges.
	SearchCondition *AccountGroupSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type ListAccountInAccountGroupResponse

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

func NewListAccountInAccountGroupResponse

func NewListAccountInAccountGroupResponse() (response *ListAccountInAccountGroupResponse)

func (*ListAccountInAccountGroupResponse) FromJsonString

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

func (r *ListAccountInAccountGroupResponse) ToJsonString() string

type ListAccountInAccountGroupResponseParams

type ListAccountInAccountGroupResponseParams struct {
	// List of accounts returned for the query.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountList []*AppAccountInfo `json:"AccountList,omitempty" name:"AccountList"`

	// Total number of accounts returned for the query.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Account group ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListApplicationAuthorizationsRequest

type ListApplicationAuthorizationsRequest struct {
	*tchttp.BaseRequest

	// Query type. Valid values: User: user; UserGroup: user group; OrgNode: organization.
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AuthorizationInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. You can sort the results by last modification time (lastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by application name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListApplicationAuthorizationsRequest

func NewListApplicationAuthorizationsRequest() (request *ListApplicationAuthorizationsRequest)

func (*ListApplicationAuthorizationsRequest) FromJsonString

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

func (r *ListApplicationAuthorizationsRequest) ToJsonString() string

type ListApplicationAuthorizationsRequestParams

type ListApplicationAuthorizationsRequestParams struct {
	// Query type. Valid values: User: user; UserGroup: user group; OrgNode: organization.
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *AuthorizationInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. You can sort the results by last modification time (lastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by application name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type ListApplicationAuthorizationsResponse

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

func NewListApplicationAuthorizationsResponse

func NewListApplicationAuthorizationsResponse() (response *ListApplicationAuthorizationsResponse)

func (*ListApplicationAuthorizationsResponse) FromJsonString

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

type ListApplicationAuthorizationsResponseParams

type ListApplicationAuthorizationsResponseParams struct {
	// Returned list of application authorization information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthorizationInfoList []*AuthorizationInfo `json:"AuthorizationInfoList,omitempty" name:"AuthorizationInfoList"`

	// Total number of returned application information items.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListApplicationsRequest

type ListApplicationsRequest struct {
	*tchttp.BaseRequest

	// Fuzzy match search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, and an asterisk (*) at the end of the field indicates partial match. The fuzzy match search feature and the exact match query feature will not take effect at the same time. If both `SearchCondition` and `ApplicationIdList` are specified, `ApplicationIdList` will take effect by default for exact match query; otherwise, the information of all applications will be returned by default.
	SearchCondition *ApplicationInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. Valid values: DisplayName: application name; CreatedDate: creation time; LastModifiedDate: last modification time. If this field is left empty, the results will be sorted in alphabetical order by application name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Set of sort criteria. Valid values: DisplayName: application name; CreatedDate: creation time; LastModifiedDate: last modification time. If this field is left empty, the results will be sorted in alphabetical order by application name.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Application ID list, through which the corresponding application information will be matched exactly. The fuzzy match search feature and the exact match query feature will not take effect at the same time. If both `SearchCondition` and `ApplicationIdList` are specified, `ApplicationIdList` will take effect by default for exact match query; otherwise, the information of all applications will be returned by default.
	ApplicationIdList []*string `json:"ApplicationIdList,omitempty" name:"ApplicationIdList"`
}

func NewListApplicationsRequest

func NewListApplicationsRequest() (request *ListApplicationsRequest)

func (*ListApplicationsRequest) FromJsonString

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

func (r *ListApplicationsRequest) ToJsonString() string

type ListApplicationsRequestParams

type ListApplicationsRequestParams struct {
	// Fuzzy match search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, and an asterisk (*) at the end of the field indicates partial match. The fuzzy match search feature and the exact match query feature will not take effect at the same time. If both `SearchCondition` and `ApplicationIdList` are specified, `ApplicationIdList` will take effect by default for exact match query; otherwise, the information of all applications will be returned by default.
	SearchCondition *ApplicationInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. Valid values: DisplayName: application name; CreatedDate: creation time; LastModifiedDate: last modification time. If this field is left empty, the results will be sorted in alphabetical order by application name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Set of sort criteria. Valid values: DisplayName: application name; CreatedDate: creation time; LastModifiedDate: last modification time. If this field is left empty, the results will be sorted in alphabetical order by application name.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Application ID list, through which the corresponding application information will be matched exactly. The fuzzy match search feature and the exact match query feature will not take effect at the same time. If both `SearchCondition` and `ApplicationIdList` are specified, `ApplicationIdList` will take effect by default for exact match query; otherwise, the information of all applications will be returned by default.
	ApplicationIdList []*string `json:"ApplicationIdList,omitempty" name:"ApplicationIdList"`
}

Predefined struct for user

type ListApplicationsResponse

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

func NewListApplicationsResponse

func NewListApplicationsResponse() (response *ListApplicationsResponse)

func (*ListApplicationsResponse) FromJsonString

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

func (r *ListApplicationsResponse) ToJsonString() string

type ListApplicationsResponseParams

type ListApplicationsResponseParams struct {
	// Total number of returned application information items.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Returned application information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationInfoList []*ApplicationInformation `json:"ApplicationInfoList,omitempty" name:"ApplicationInfoList"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToOrgNodeRequest

type ListAuthorizedApplicationsToOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node ID.
	OrgNodeId *string `json:"OrgNodeId,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

type ListAuthorizedApplicationsToOrgNodeRequestParams struct {
	// Organization node ID.
	OrgNodeId *string `json:"OrgNodeId,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

type ListAuthorizedApplicationsToOrgNodeResponseParams struct {
	// List of IDs of the applications accessible to the organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationIds []*string `json:"ApplicationIds,omitempty" name:"ApplicationIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserGroupRequest

type ListAuthorizedApplicationsToUserGroupRequest struct {
	*tchttp.BaseRequest

	// User group ID.
	UserGroupId *string `json:"UserGroupId,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

type ListAuthorizedApplicationsToUserGroupRequestParams struct {
	// User group ID.
	UserGroupId *string `json:"UserGroupId,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

type ListAuthorizedApplicationsToUserGroupResponseParams struct {
	// List of IDs of the applications accessible to the user group.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationIds []*string `json:"ApplicationIds,omitempty" name:"ApplicationIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListAuthorizedApplicationsToUserRequest

type ListAuthorizedApplicationsToUserRequest struct {
	*tchttp.BaseRequest

	// User ID.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Whether the query scope includes the application access of the user groups and organizations associated with the user. Valid values: false: no; true: yes. Default value: false.
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,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

type ListAuthorizedApplicationsToUserRequestParams struct {
	// User ID.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Whether the query scope includes the application access of the user groups and organizations associated with the user. Valid values: false: no; true: yes. Default value: false.
	IncludeInheritedAuthorizations *bool `json:"IncludeInheritedAuthorizations,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

type ListAuthorizedApplicationsToUserResponseParams struct {
	// List of information of the applications accessible to the user.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApplicationAuthorizationInfo []*ApplicationAuthorizationInfo `json:"ApplicationAuthorizationInfo,omitempty" name:"ApplicationAuthorizationInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUserGroupsOfUserRequest

type ListUserGroupsOfUserRequest struct {
	*tchttp.BaseRequest

	// User ID, which is globally unique.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Fuzzy search criterion. You can search by user group name (DisplayName). If this field is left empty, all of the user's user groups will be displayed by default.
	SearchCondition *UserGroupInformationSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. Valid values: DisplayName: user group name; UserGroupId: user group ID; CreatedDate: creation time. If this field is left empty, the results will be sorted in alphabetical order by user group name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 user groups will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 user groups will be returned.
	Limit *uint64 `json:"Limit,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

type ListUserGroupsOfUserRequestParams struct {
	// User ID, which is globally unique.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Fuzzy search criterion. You can search by user group name (DisplayName). If this field is left empty, all of the user's user groups will be displayed by default.
	SearchCondition *UserGroupInformationSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. Valid values: DisplayName: user group name; UserGroupId: user group ID; CreatedDate: creation time. If this field is left empty, the results will be sorted in alphabetical order by user group name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 user groups will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 user groups will be returned.
	Limit *uint64 `json:"Limit,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

type ListUserGroupsOfUserResponseParams struct {
	// List of IDs of the user's user groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// List of information of the user's user groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupInfoList []*UserGroupInfo `json:"UserGroupInfoList,omitempty" name:"UserGroupInfoList"`

	// Total number of returned user group information items.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	*tchttp.BaseRequest

	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *UserGroupInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include user group name (DisplayName), user group ID (UserGroupId), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by user group name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewListUserGroupsRequest

func NewListUserGroupsRequest() (request *ListUserGroupsRequest)

func (*ListUserGroupsRequest) FromJsonString

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

func (r *ListUserGroupsRequest) ToJsonString() string

type ListUserGroupsRequestParams

type ListUserGroupsRequestParams struct {
	// Search criterion. You can combine multiple search criteria and search in multiple data ranges. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, and an empty field indicates to query the full table by default.
	SearchCondition *UserGroupInfoSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include user group name (DisplayName), user group ID (UserGroupId), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by user group name.
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type ListUserGroupsResponse

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

func NewListUserGroupsResponse

func NewListUserGroupsResponse() (response *ListUserGroupsResponse)

func (*ListUserGroupsResponse) FromJsonString

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

func (r *ListUserGroupsResponse) ToJsonString() string

type ListUserGroupsResponseParams

type ListUserGroupsResponseParams struct {
	// Returned user group list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupList []*UserGroupInformation `json:"UserGroupList,omitempty" name:"UserGroupList"`

	// Total number of returned user group information items.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersInOrgNodeRequest

type ListUsersInOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node ID, which is globally unique and can contain up to 64 characters. If this parameter is left empty, the user information under the root organization node will be read by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Whether to read the information of its sub-nodes. When this parameter is left empty or specified as `false`, only the information of the current organization node will be read by default. When it is specified as `true`, the information of the current organization node and its level-1 sub-nodes will be read.
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitempty" name:"IncludeOrgNodeChildInfo"`

	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *ListUsersInOrgNodeSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Limit *uint64 `json:"Limit,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

type ListUsersInOrgNodeRequestParams struct {
	// Organization node ID, which is globally unique and can contain up to 64 characters. If this parameter is left empty, the user information under the root organization node will be read by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Whether to read the information of its sub-nodes. When this parameter is left empty or specified as `false`, only the information of the current organization node will be read by default. When it is specified as `true`, the information of the current organization node and its level-1 sub-nodes will be read.
	IncludeOrgNodeChildInfo *bool `json:"IncludeOrgNodeChildInfo,omitempty" name:"IncludeOrgNodeChildInfo"`

	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *ListUsersInOrgNodeSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Limit *uint64 `json:"Limit,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

type ListUsersInOrgNodeResponseParams struct {
	// User information list under the organization sub-node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeChildUserInfo []*OrgNodeChildUserInfo `json:"OrgNodeChildUserInfo,omitempty" name:"OrgNodeChildUserInfo"`

	// Organization node ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// User information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserInfo []*UserInfo `json:"UserInfo,omitempty" name:"UserInfo"`

	// Total number of users under the current organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalUserNum *int64 `json:"TotalUserNum,omitempty" name:"TotalUserNum"`

	// Organization ID path.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeIdPath *string `json:"OrgNodeIdPath,omitempty" name:"OrgNodeIdPath"`

	// Organization name path.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeNamePath *string `json:"OrgNodeNamePath,omitempty" name:"OrgNodeNamePath"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersInOrgNodeSearchCriteria

type ListUsersInOrgNodeSearchCriteria struct {
	// Username, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User's mobile number.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// User status. Valid values: NORMAL: normal; FREEZE: frozen; LOCKED: locked; NOT_ENABLED: disabled.
	Status *string `json:"Status,omitempty" name:"Status"`

	// User creation time in ISO 8601 format.
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// Last update time of the user.
	LastUpdateTime *string `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`

	// Search by name. The match criteria include username and user's mobile number.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}

type ListUsersInUserGroupRequest

type ListUsersInUserGroupRequest struct {
	*tchttp.BaseRequest

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), nickname (DisplayName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Limit *int64 `json:"Limit,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

type ListUsersInUserGroupRequestParams struct {
	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), nickname (DisplayName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), and last modification time (LastModifiedDate). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 50 users will be returned.
	Limit *int64 `json:"Limit,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

type ListUsersInUserGroupResponseParams struct {
	// User group ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// Returned user information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserInfo []*UserInfo `json:"UserInfo,omitempty" name:"UserInfo"`

	// Total number of returned user information items.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListUsersRequest

type ListUsersRequest struct {
	*tchttp.BaseRequest

	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// User attributes expected to be returned. All built-in user attributes will be returned by default, including user UUID (UserId), nickname (DisplayName), username (UserName), mobile number (Phone), email address (Email), status (Status), user group (SubjectGroups), organization path (OrgPath), remarks (Description), creation time (CreationTime), last modification time (LastUpdateTime), and last login time (LastLoginTime).
	ExpectedFields []*string `json:"ExpectedFields,omitempty" name:"ExpectedFields"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), nickname (DisplayName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), last modification time (LastUpdateTime), and last login time (LastLoginTime). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Whether to view the total number of search results. Default value: false (no).
	IncludeTotal *bool `json:"IncludeTotal,omitempty" name:"IncludeTotal"`
}

func NewListUsersRequest

func NewListUsersRequest() (request *ListUsersRequest)

func (*ListUsersRequest) FromJsonString

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

func (r *ListUsersRequest) ToJsonString() string

type ListUsersRequestParams

type ListUsersRequestParams struct {
	// User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.
	SearchCondition *UserSearchCriteria `json:"SearchCondition,omitempty" name:"SearchCondition"`

	// User attributes expected to be returned. All built-in user attributes will be returned by default, including user UUID (UserId), nickname (DisplayName), username (UserName), mobile number (Phone), email address (Email), status (Status), user group (SubjectGroups), organization path (OrgPath), remarks (Description), creation time (CreationTime), last modification time (LastUpdateTime), and last login time (LastLoginTime).
	ExpectedFields []*string `json:"ExpectedFields,omitempty" name:"ExpectedFields"`

	// Set of sort criteria. The supported attributes for sorting include username (UserName), nickname (DisplayName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), last modification time (LastUpdateTime), and last login time (LastLoginTime). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).
	Sort *SortCondition `json:"Sort,omitempty" name:"Sort"`

	// Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Whether to view the total number of search results. Default value: false (no).
	IncludeTotal *bool `json:"IncludeTotal,omitempty" name:"IncludeTotal"`
}

Predefined struct for user

type ListUsersResponse

type ListUsersResponse struct {
	*tchttp.BaseResponse
	Response *ListUsersResponseParams `json:"Response"`
}

func NewListUsersResponse

func NewListUsersResponse() (response *ListUsersResponse)

func (*ListUsersResponse) FromJsonString

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

func (r *ListUsersResponse) ToJsonString() string

type ListUsersResponseParams

type ListUsersResponseParams struct {
	// List of users returned for the query.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserList []*UserInformation `json:"UserList,omitempty" name:"UserList"`

	// Total number of users returned for the query, which will be returned only when the `IncludeTotal` input parameter is set to `true`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAccountGroupRequest

type ModifyAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Account group ID.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// Account group name. When this parameter is not specified, the name will not be modified.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Description. When this parameter is not specified, the description will not be modified.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyAccountGroupRequest

func NewModifyAccountGroupRequest() (request *ModifyAccountGroupRequest)

func (*ModifyAccountGroupRequest) FromJsonString

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

func (r *ModifyAccountGroupRequest) ToJsonString() string

type ModifyAccountGroupRequestParams

type ModifyAccountGroupRequestParams struct {
	// Account group ID.
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// Account group name. When this parameter is not specified, the name will not be modified.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Description. When this parameter is not specified, the description will not be modified.
	Description *string `json:"Description,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyAccountGroupResponse

type ModifyAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountGroupResponseParams `json:"Response"`
}

func NewModifyAccountGroupResponse

func NewModifyAccountGroupResponse() (response *ModifyAccountGroupResponse)

func (*ModifyAccountGroupResponse) FromJsonString

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

func (r *ModifyAccountGroupResponse) ToJsonString() string

type ModifyAccountGroupResponseParams

type ModifyAccountGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAppAccountRequest

type ModifyAppAccountRequest struct {
	*tchttp.BaseRequest

	// Account ID.
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// Account name. When this parameter is not specified, the name will not be modified.
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`

	// Account password. When this parameter is not specified, the password will not be changed.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Description. When this parameter is not specified, the description will not be modified.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyAppAccountRequest

func NewModifyAppAccountRequest() (request *ModifyAppAccountRequest)

func (*ModifyAppAccountRequest) FromJsonString

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

func (r *ModifyAppAccountRequest) ToJsonString() string

type ModifyAppAccountRequestParams

type ModifyAppAccountRequestParams struct {
	// Account ID.
	AccountId *string `json:"AccountId,omitempty" name:"AccountId"`

	// Account name. When this parameter is not specified, the name will not be modified.
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`

	// Account password. When this parameter is not specified, the password will not be changed.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Description. When this parameter is not specified, the description will not be modified.
	Description *string `json:"Description,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyAppAccountResponse

type ModifyAppAccountResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAppAccountResponseParams `json:"Response"`
}

func NewModifyAppAccountResponse

func NewModifyAppAccountResponse() (response *ModifyAppAccountResponse)

func (*ModifyAppAccountResponse) FromJsonString

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

func (r *ModifyAppAccountResponse) ToJsonString() string

type ModifyAppAccountResponseParams

type ModifyAppAccountResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApplicationRequest

type ModifyApplicationRequest struct {
	*tchttp.BaseRequest

	// Application ID, which is globally unique.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Security level.
	SecureLevel *string `json:"SecureLevel,omitempty" name:"SecureLevel"`

	// Displayed application name, which can contain up to 32 characters and is the same as the application name by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Application status. Valid values: true: enabled; false: disabled.
	AppStatus *bool `json:"AppStatus,omitempty" name:"AppStatus"`

	// Access address of the application icon image.
	IconUrl *string `json:"IconUrl,omitempty" name:"IconUrl"`

	// Description, which can contain up to 128 characters.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyApplicationRequest

func NewModifyApplicationRequest() (request *ModifyApplicationRequest)

func (*ModifyApplicationRequest) FromJsonString

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

func (r *ModifyApplicationRequest) ToJsonString() string

type ModifyApplicationRequestParams

type ModifyApplicationRequestParams struct {
	// Application ID, which is globally unique.
	ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"`

	// Security level.
	SecureLevel *string `json:"SecureLevel,omitempty" name:"SecureLevel"`

	// Displayed application name, which can contain up to 32 characters and is the same as the application name by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Application status. Valid values: true: enabled; false: disabled.
	AppStatus *bool `json:"AppStatus,omitempty" name:"AppStatus"`

	// Access address of the application icon image.
	IconUrl *string `json:"IconUrl,omitempty" name:"IconUrl"`

	// Description, which can contain up to 128 characters.
	Description *string `json:"Description,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyApplicationResponse

type ModifyApplicationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationResponseParams `json:"Response"`
}

func NewModifyApplicationResponse

func NewModifyApplicationResponse() (response *ModifyApplicationResponse)

func (*ModifyApplicationResponse) FromJsonString

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

func (r *ModifyApplicationResponse) ToJsonString() string

type ModifyApplicationResponseParams

type ModifyApplicationResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUserInfoRequest

type ModifyUserInfoRequest struct {
	*tchttp.BaseRequest

	// Username, which can contain up to 32 characters. You need to select either `Username` or `UserId` as the search criterion; if both are selected, `Username` will be used by default.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks, which can contain up to 512 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of IDs of the user's user groups.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User ID. You need to select either `UserName` or `UserId` as the search criterion. If both are selected, `UserName` will be used by default.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// User's mobile number.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// User expiration time in ISO 8601 format.
	ExpirationTime *string `json:"ExpirationTime,omitempty" name:"ExpirationTime"`

	// User password, which needs to be configured according to the password policy.
	Password *string `json:"Password,omitempty" name:"Password"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// Whether the password needs to be reset. Default value: false (no).
	PwdNeedReset *bool `json:"PwdNeedReset,omitempty" name:"PwdNeedReset"`

	// Unique ID of the user's primary organization. If this parameter is left empty, the user will be created under the root node by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// List of IDs of the user's secondary organizations.
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitempty" name:"SecondaryOrgNodeIdList"`
}

func NewModifyUserInfoRequest

func NewModifyUserInfoRequest() (request *ModifyUserInfoRequest)

func (*ModifyUserInfoRequest) FromJsonString

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

func (r *ModifyUserInfoRequest) ToJsonString() string

type ModifyUserInfoRequestParams

type ModifyUserInfoRequestParams struct {
	// Username, which can contain up to 32 characters. You need to select either `Username` or `UserId` as the search criterion; if both are selected, `Username` will be used by default.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks, which can contain up to 512 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of IDs of the user's user groups.
	UserGroupIds []*string `json:"UserGroupIds,omitempty" name:"UserGroupIds"`

	// User ID. You need to select either `UserName` or `UserId` as the search criterion. If both are selected, `UserName` will be used by default.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// User's mobile number.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// User expiration time in ISO 8601 format.
	ExpirationTime *string `json:"ExpirationTime,omitempty" name:"ExpirationTime"`

	// User password, which needs to be configured according to the password policy.
	Password *string `json:"Password,omitempty" name:"Password"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// Whether the password needs to be reset. Default value: false (no).
	PwdNeedReset *bool `json:"PwdNeedReset,omitempty" name:"PwdNeedReset"`

	// Unique ID of the user's primary organization. If this parameter is left empty, the user will be created under the root node by default.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// List of IDs of the user's secondary organizations.
	SecondaryOrgNodeIdList []*string `json:"SecondaryOrgNodeIdList,omitempty" name:"SecondaryOrgNodeIdList"`
}

Predefined struct for user

type ModifyUserInfoResponse

type ModifyUserInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUserInfoResponseParams `json:"Response"`
}

func NewModifyUserInfoResponse

func NewModifyUserInfoResponse() (response *ModifyUserInfoResponse)

func (*ModifyUserInfoResponse) FromJsonString

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

func (r *ModifyUserInfoResponse) ToJsonString() string

type ModifyUserInfoResponseParams

type ModifyUserInfoResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type OrgNodeChildInfo

type OrgNodeChildInfo struct {
	// Displayed organization node name, which can contain up to 64 characters and is the same as the organization name by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Last modification time of the organization node in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`

	// External ID of the organization node, which is optional and customizable.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,omitempty" name:"CustomizedOrgNodeId"`

	// Parent node ID of the current organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ParentOrgNodeId *string `json:"ParentOrgNodeId,omitempty" name:"ParentOrgNodeId"`

	// Organization node ID, which is globally unique.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Data source.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataSource *string `json:"DataSource,omitempty" name:"DataSource"`

	// Organization node creation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`

	// Organization node description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`
}

type OrgNodeChildUserInfo

type OrgNodeChildUserInfo struct {
	// Organization node ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// User information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserInfo []*UserInfo `json:"UserInfo,omitempty" name:"UserInfo"`

	// Total number of users under the current organization node.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalUserNum *int64 `json:"TotalUserNum,omitempty" name:"TotalUserNum"`

	// Organization ID path.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeIdPath *string `json:"OrgNodeIdPath,omitempty" name:"OrgNodeIdPath"`

	// Organization name path.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgNodeNamePath *string `json:"OrgNodeNamePath,omitempty" name:"OrgNodeNamePath"`
}

type RemoveAccountFromAccountGroupRequest

type RemoveAccountFromAccountGroupRequest struct {
	*tchttp.BaseRequest

	// Account group ID
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// List of IDs of the accounts to be removed.
	AccountIds []*string `json:"AccountIds,omitempty" name:"AccountIds"`
}

func NewRemoveAccountFromAccountGroupRequest

func NewRemoveAccountFromAccountGroupRequest() (request *RemoveAccountFromAccountGroupRequest)

func (*RemoveAccountFromAccountGroupRequest) FromJsonString

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

func (r *RemoveAccountFromAccountGroupRequest) ToJsonString() string

type RemoveAccountFromAccountGroupRequestParams

type RemoveAccountFromAccountGroupRequestParams struct {
	// Account group ID
	AccountGroupId *string `json:"AccountGroupId,omitempty" name:"AccountGroupId"`

	// List of IDs of the accounts to be removed.
	AccountIds []*string `json:"AccountIds,omitempty" name:"AccountIds"`
}

Predefined struct for user

type RemoveAccountFromAccountGroupResponse

type RemoveAccountFromAccountGroupResponse struct {
	*tchttp.BaseResponse
	Response *RemoveAccountFromAccountGroupResponseParams `json:"Response"`
}

func NewRemoveAccountFromAccountGroupResponse

func NewRemoveAccountFromAccountGroupResponse() (response *RemoveAccountFromAccountGroupResponse)

func (*RemoveAccountFromAccountGroupResponse) FromJsonString

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

type RemoveAccountFromAccountGroupResponseParams

type RemoveAccountFromAccountGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveUserFromUserGroupRequest

type RemoveUserFromUserGroupRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the users to be added to the user group.
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type RemoveUserFromUserGroupRequestParams struct {
	// List of IDs of the users to be added to the user group.
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`

	// User group ID, which is globally unique.
	UserGroupId *string `json:"UserGroupId,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

type RemoveUserFromUserGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SortCondition

type SortCondition struct {
	// Sorting attribute.
	SortKey *string `json:"SortKey,omitempty" name:"SortKey"`

	// Sorting order. Valid values: ASC: ascending order; DESC: descending order.
	SortOrder *string `json:"SortOrder,omitempty" name:"SortOrder"`
}

type ThirdPartyAccountInfo

type ThirdPartyAccountInfo struct {
	// Third-Party account code. `2` indicates WeCom account.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountCode *string `json:"AccountCode,omitempty" name:"AccountCode"`

	// Username of the account.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccountName *string `json:"AccountName,omitempty" name:"AccountName"`
}

type UpdateOrgNodeRequest

type UpdateOrgNodeRequest struct {
	*tchttp.BaseRequest

	// Organization node ID, which is globally unique.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Organization node name, which can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Organization node description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// External ID of the organization node, which is optional and customizable. If this parameter is specified, its uniqueness will be verified.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,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

type UpdateOrgNodeRequestParams struct {
	// Organization node ID, which is globally unique.
	OrgNodeId *string `json:"OrgNodeId,omitempty" name:"OrgNodeId"`

	// Organization node name, which can contain up to 64 characters.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Organization node description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// External ID of the organization node, which is optional and customizable. If this parameter is specified, its uniqueness will be verified.
	CustomizedOrgNodeId *string `json:"CustomizedOrgNodeId,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

type UpdateOrgNodeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UserGroupInfo

type UserGroupInfo struct {
	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User group ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// User group remarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"`
}

type UserGroupInfoSearchCriteria

type UserGroupInfoSearchCriteria struct {
	// Search by name. The match criteria include user group name and user group ID.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}

type UserGroupInformation

type UserGroupInformation struct {
	// User group ID.
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// User group name.
	UserGroupName *string `json:"UserGroupName,omitempty" name:"UserGroupName"`

	// Last update time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastModifiedDate *string `json:"LastModifiedDate,omitempty" name:"LastModifiedDate"`
}

type UserGroupInformationSearchCriteria

type UserGroupInformationSearchCriteria struct {
	// Search by name. The match criteria include user group name.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}

type UserInfo

type UserInfo struct {
	// User ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// Username.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User's mobile number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// Email address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Email *string `json:"Email,omitempty" name:"Email"`

	// User status.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Data source.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataSource *string `json:"DataSource,omitempty" name:"DataSource"`
}

type UserInformation

type UserInformation struct {
	// Username, which can contain up to 32 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User status.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Nickname, which can contain up to 64 characters and is the same as the username by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User remarks, which can contain up to 512 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Last update time of the user in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastUpdateTime *string `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`

	// User creation time in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// Path ID of the user's primary organization.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrgPath *string `json:"OrgPath,omitempty" name:"OrgPath"`

	// User's mobile number with country code, such as `+86-00000000000`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// List of IDs of the user's user groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubjectGroups []*string `json:"SubjectGroups,omitempty" name:"SubjectGroups"`

	// User's email address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Email *string `json:"Email,omitempty" name:"Email"`

	// Last login time of the user in ISO 8601 format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LastLoginTime *string `json:"LastLoginTime,omitempty" name:"LastLoginTime"`

	// User ID, which is globally unique and can contain up to 64 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UserId *string `json:"UserId,omitempty" name:"UserId"`
}

type UserSearchCriteria

type UserSearchCriteria struct {
	// Username, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// User's mobile number.
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// User's email address.
	Email *string `json:"Email,omitempty" name:"Email"`

	// User status. Valid values: NORMAL: normal; FREEZE: frozen; LOCKED: locked; NOT_ENABLED: disabled.
	Status *string `json:"Status,omitempty" name:"Status"`

	// User creation time in ISO 8601 format.
	CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"`

	// The user's last update time.
	LastUpdateTime *string `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`

	// Search by name. The match criteria include username and user ID.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}

Jump to

Keyboard shortcuts

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