Documentation ¶
Index ¶
- Constants
- type AccountGroupInfo
- type AccountGroupSearchCriteria
- type AddAccountToAccountGroupRequest
- type AddAccountToAccountGroupResponse
- type AddUserToUserGroupRequest
- type AddUserToUserGroupResponse
- type AppAccountInfo
- type AppAccountSearchCriteria
- type ApplicationAuthorizationInfo
- type ApplicationInfoSearchCriteria
- type ApplicationInformation
- type AuthorizationInfo
- type AuthorizationInfoSearchCriteria
- type AuthorizationUserResouceInfo
- type Client
- func (c *Client) AddAccountToAccountGroup(request *AddAccountToAccountGroupRequest) (response *AddAccountToAccountGroupResponse, err error)
- func (c *Client) AddAccountToAccountGroupWithContext(ctx context.Context, request *AddAccountToAccountGroupRequest) (response *AddAccountToAccountGroupResponse, err error)
- func (c *Client) AddUserToUserGroup(request *AddUserToUserGroupRequest) (response *AddUserToUserGroupResponse, err error)
- func (c *Client) AddUserToUserGroupWithContext(ctx context.Context, request *AddUserToUserGroupRequest) (response *AddUserToUserGroupResponse, err error)
- func (c *Client) CreateAccountGroup(request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error)
- func (c *Client) CreateAccountGroupWithContext(ctx context.Context, request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error)
- func (c *Client) CreateAppAccount(request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error)
- func (c *Client) CreateAppAccountWithContext(ctx context.Context, request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error)
- func (c *Client) CreateOrgNode(request *CreateOrgNodeRequest) (response *CreateOrgNodeResponse, err error)
- func (c *Client) CreateOrgNodeWithContext(ctx context.Context, request *CreateOrgNodeRequest) (response *CreateOrgNodeResponse, err error)
- func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
- func (c *Client) CreateUserGroupWithContext(ctx context.Context, request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
- func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) DeleteAccountGroup(request *DeleteAccountGroupRequest) (response *DeleteAccountGroupResponse, err error)
- func (c *Client) DeleteAccountGroupWithContext(ctx context.Context, request *DeleteAccountGroupRequest) (response *DeleteAccountGroupResponse, err error)
- func (c *Client) DeleteAppAccount(request *DeleteAppAccountRequest) (response *DeleteAppAccountResponse, err error)
- func (c *Client) DeleteAppAccountWithContext(ctx context.Context, request *DeleteAppAccountRequest) (response *DeleteAppAccountResponse, err error)
- func (c *Client) DeleteOrgNode(request *DeleteOrgNodeRequest) (response *DeleteOrgNodeResponse, err error)
- func (c *Client) DeleteOrgNodeWithContext(ctx context.Context, request *DeleteOrgNodeRequest) (response *DeleteOrgNodeResponse, err error)
- func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUserGroup(request *DeleteUserGroupRequest) (response *DeleteUserGroupResponse, err error)
- func (c *Client) DeleteUserGroupWithContext(ctx context.Context, request *DeleteUserGroupRequest) (response *DeleteUserGroupResponse, err error)
- func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
- func (c *Client) DeleteUsersWithContext(ctx context.Context, request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
- func (c *Client) DescribeAccountGroup(request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error)
- func (c *Client) DescribeAccountGroupWithContext(ctx context.Context, request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error)
- func (c *Client) DescribeAppAccount(request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error)
- func (c *Client) DescribeAppAccountWithContext(ctx context.Context, request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error)
- func (c *Client) DescribeApplication(request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error)
- func (c *Client) DescribeApplicationWithContext(ctx context.Context, request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error)
- func (c *Client) DescribeOrgNode(request *DescribeOrgNodeRequest) (response *DescribeOrgNodeResponse, err error)
- func (c *Client) DescribeOrgNodeWithContext(ctx context.Context, request *DescribeOrgNodeRequest) (response *DescribeOrgNodeResponse, err error)
- func (c *Client) DescribePublicKey(request *DescribePublicKeyRequest) (response *DescribePublicKeyResponse, err error)
- func (c *Client) DescribePublicKeyWithContext(ctx context.Context, request *DescribePublicKeyRequest) (response *DescribePublicKeyResponse, err error)
- func (c *Client) DescribeUserGroup(request *DescribeUserGroupRequest) (response *DescribeUserGroupResponse, err error)
- func (c *Client) DescribeUserGroupWithContext(ctx context.Context, request *DescribeUserGroupRequest) (response *DescribeUserGroupResponse, err error)
- func (c *Client) DescribeUserInfo(request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)
- func (c *Client) DescribeUserInfoWithContext(ctx context.Context, request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)
- func (c *Client) DescribeUserResourcesAuthorization(request *DescribeUserResourcesAuthorizationRequest) (response *DescribeUserResourcesAuthorizationResponse, err error)
- func (c *Client) DescribeUserResourcesAuthorizationWithContext(ctx context.Context, request *DescribeUserResourcesAuthorizationRequest) (response *DescribeUserResourcesAuthorizationResponse, err error)
- func (c *Client) DescribeUserThirdPartyAccountInfo(request *DescribeUserThirdPartyAccountInfoRequest) (response *DescribeUserThirdPartyAccountInfoResponse, err error)
- func (c *Client) DescribeUserThirdPartyAccountInfoWithContext(ctx context.Context, request *DescribeUserThirdPartyAccountInfoRequest) (response *DescribeUserThirdPartyAccountInfoResponse, err error)
- func (c *Client) ListAccountInAccountGroup(request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error)
- func (c *Client) ListAccountInAccountGroupWithContext(ctx context.Context, request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error)
- func (c *Client) ListApplicationAuthorizations(request *ListApplicationAuthorizationsRequest) (response *ListApplicationAuthorizationsResponse, err error)
- func (c *Client) ListApplicationAuthorizationsWithContext(ctx context.Context, request *ListApplicationAuthorizationsRequest) (response *ListApplicationAuthorizationsResponse, err error)
- func (c *Client) ListApplications(request *ListApplicationsRequest) (response *ListApplicationsResponse, err error)
- func (c *Client) ListApplicationsWithContext(ctx context.Context, request *ListApplicationsRequest) (response *ListApplicationsResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToOrgNode(request *ListAuthorizedApplicationsToOrgNodeRequest) (response *ListAuthorizedApplicationsToOrgNodeResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToOrgNodeWithContext(ctx context.Context, request *ListAuthorizedApplicationsToOrgNodeRequest) (response *ListAuthorizedApplicationsToOrgNodeResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToUser(request *ListAuthorizedApplicationsToUserRequest) (response *ListAuthorizedApplicationsToUserResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToUserGroup(request *ListAuthorizedApplicationsToUserGroupRequest) (response *ListAuthorizedApplicationsToUserGroupResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToUserGroupWithContext(ctx context.Context, request *ListAuthorizedApplicationsToUserGroupRequest) (response *ListAuthorizedApplicationsToUserGroupResponse, err error)
- func (c *Client) ListAuthorizedApplicationsToUserWithContext(ctx context.Context, request *ListAuthorizedApplicationsToUserRequest) (response *ListAuthorizedApplicationsToUserResponse, err error)
- func (c *Client) ListUserGroups(request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
- func (c *Client) ListUserGroupsOfUser(request *ListUserGroupsOfUserRequest) (response *ListUserGroupsOfUserResponse, err error)
- func (c *Client) ListUserGroupsOfUserWithContext(ctx context.Context, request *ListUserGroupsOfUserRequest) (response *ListUserGroupsOfUserResponse, err error)
- func (c *Client) ListUserGroupsWithContext(ctx context.Context, request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
- func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (c *Client) ListUsersInOrgNode(request *ListUsersInOrgNodeRequest) (response *ListUsersInOrgNodeResponse, err error)
- func (c *Client) ListUsersInOrgNodeWithContext(ctx context.Context, request *ListUsersInOrgNodeRequest) (response *ListUsersInOrgNodeResponse, err error)
- func (c *Client) ListUsersInUserGroup(request *ListUsersInUserGroupRequest) (response *ListUsersInUserGroupResponse, err error)
- func (c *Client) ListUsersInUserGroupWithContext(ctx context.Context, request *ListUsersInUserGroupRequest) (response *ListUsersInUserGroupResponse, err error)
- func (c *Client) ListUsersWithContext(ctx context.Context, request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (c *Client) ModifyAccountGroup(request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error)
- func (c *Client) ModifyAccountGroupWithContext(ctx context.Context, request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error)
- func (c *Client) ModifyAppAccount(request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error)
- func (c *Client) ModifyAppAccountWithContext(ctx context.Context, request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error)
- func (c *Client) ModifyApplication(request *ModifyApplicationRequest) (response *ModifyApplicationResponse, err error)
- func (c *Client) ModifyApplicationWithContext(ctx context.Context, request *ModifyApplicationRequest) (response *ModifyApplicationResponse, err error)
- func (c *Client) ModifyUserInfo(request *ModifyUserInfoRequest) (response *ModifyUserInfoResponse, err error)
- func (c *Client) ModifyUserInfoWithContext(ctx context.Context, request *ModifyUserInfoRequest) (response *ModifyUserInfoResponse, err error)
- func (c *Client) RemoveAccountFromAccountGroup(request *RemoveAccountFromAccountGroupRequest) (response *RemoveAccountFromAccountGroupResponse, err error)
- func (c *Client) RemoveAccountFromAccountGroupWithContext(ctx context.Context, request *RemoveAccountFromAccountGroupRequest) (response *RemoveAccountFromAccountGroupResponse, err error)
- func (c *Client) RemoveUserFromUserGroup(request *RemoveUserFromUserGroupRequest) (response *RemoveUserFromUserGroupResponse, err error)
- func (c *Client) RemoveUserFromUserGroupWithContext(ctx context.Context, request *RemoveUserFromUserGroupRequest) (response *RemoveUserFromUserGroupResponse, err error)
- func (c *Client) UpdateOrgNode(request *UpdateOrgNodeRequest) (response *UpdateOrgNodeResponse, err error)
- func (c *Client) UpdateOrgNodeWithContext(ctx context.Context, request *UpdateOrgNodeRequest) (response *UpdateOrgNodeResponse, err error)
- type CreateAccountGroupRequest
- type CreateAccountGroupResponse
- type CreateAppAccountRequest
- type CreateAppAccountResponse
- type CreateOrgNodeRequest
- type CreateOrgNodeResponse
- type CreateUserGroupRequest
- type CreateUserGroupResponse
- type CreateUserRequest
- type CreateUserResponse
- type DeleteAccountGroupRequest
- type DeleteAccountGroupResponse
- type DeleteAppAccountRequest
- type DeleteAppAccountResponse
- type DeleteOrgNodeRequest
- type DeleteOrgNodeResponse
- type DeleteUserGroupRequest
- type DeleteUserGroupResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DeleteUsersRequest
- type DeleteUsersResponse
- type DescribeAccountGroupRequest
- type DescribeAccountGroupResponse
- type DescribeAppAccountRequest
- type DescribeAppAccountResponse
- type DescribeApplicationRequest
- type DescribeApplicationResponse
- type DescribeOrgNodeRequest
- type DescribeOrgNodeResponse
- type DescribePublicKeyRequest
- type DescribePublicKeyResponse
- type DescribeUserGroupRequest
- type DescribeUserGroupResponse
- type DescribeUserInfoRequest
- type DescribeUserInfoResponse
- type DescribeUserResourcesAuthorizationRequest
- type DescribeUserResourcesAuthorizationResponse
- type DescribeUserThirdPartyAccountInfoRequest
- type DescribeUserThirdPartyAccountInfoResponse
- type InheritedForm
- type LinkUserInfo
- type ListAccountInAccountGroupRequest
- type ListAccountInAccountGroupResponse
- type ListApplicationAuthorizationsRequest
- type ListApplicationAuthorizationsResponse
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListAuthorizedApplicationsToOrgNodeRequest
- type ListAuthorizedApplicationsToOrgNodeResponse
- type ListAuthorizedApplicationsToUserGroupRequest
- type ListAuthorizedApplicationsToUserGroupResponse
- type ListAuthorizedApplicationsToUserRequest
- type ListAuthorizedApplicationsToUserResponse
- type ListUserGroupsOfUserRequest
- type ListUserGroupsOfUserResponse
- type ListUserGroupsRequest
- type ListUserGroupsResponse
- type ListUsersInOrgNodeRequest
- type ListUsersInOrgNodeResponse
- type ListUsersInOrgNodeSearchCriteria
- type ListUsersInUserGroupRequest
- type ListUsersInUserGroupResponse
- type ListUsersRequest
- type ListUsersResponse
- type ModifyAccountGroupRequest
- type ModifyAccountGroupResponse
- type ModifyAppAccountRequest
- type ModifyAppAccountResponse
- type ModifyApplicationRequest
- type ModifyApplicationResponse
- type ModifyUserInfoRequest
- type ModifyUserInfoResponse
- type OrgNodeChildInfo
- type OrgNodeChildUserInfo
- type RemoveAccountFromAccountGroupRequest
- type RemoveAccountFromAccountGroupResponse
- type RemoveUserFromUserGroupRequest
- type RemoveUserFromUserGroupResponse
- type SortCondition
- type ThirdPartyAccountInfo
- type UpdateOrgNodeRequest
- type UpdateOrgNodeResponse
- type UserGroupInfo
- type UserGroupInfoSearchCriteria
- type UserGroupInformation
- type UserGroupInformationSearchCriteria
- type UserInfo
- type UserInformation
- type UserSearchCriteria
Constants ¶
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" )
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 AddAccountToAccountGroupResponse ¶
type AddAccountToAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 AddUserToUserGroupResponse ¶
type AddUserToUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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 CreateAccountGroupResponse ¶
type CreateAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateAppAccountResponse ¶
type CreateAppAccountResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateOrgNodeResponse ¶
type CreateOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateUserGroupResponse ¶
type CreateUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 CreateUserResponse ¶
type CreateUserResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteAccountGroupResponse ¶
type DeleteAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteAppAccountResponse ¶
type DeleteAppAccountResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteOrgNodeResponse ¶
type DeleteOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteUserGroupResponse ¶
type DeleteUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteUserResponse ¶
type DeleteUserResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DeleteUsersResponse ¶
type DeleteUsersResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeAccountGroupResponse ¶
type DescribeAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeAppAccountResponse ¶
type DescribeAppAccountResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeApplicationResponse ¶
type DescribeApplicationResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeOrgNodeResponse ¶
type DescribeOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribePublicKeyResponse ¶
type DescribePublicKeyResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeUserGroupResponse ¶
type DescribeUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 DescribeUserInfoResponse ¶
type DescribeUserInfoResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ¶
func (r *DescribeUserResourcesAuthorizationRequest) 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 (*DescribeUserResourcesAuthorizationRequest) ToJsonString ¶
func (r *DescribeUserResourcesAuthorizationRequest) ToJsonString() string
type DescribeUserResourcesAuthorizationResponse ¶
type DescribeUserResourcesAuthorizationResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewDescribeUserResourcesAuthorizationResponse ¶
func NewDescribeUserResourcesAuthorizationResponse() (response *DescribeUserResourcesAuthorizationResponse)
func (*DescribeUserResourcesAuthorizationResponse) FromJsonString ¶
func (r *DescribeUserResourcesAuthorizationResponse) 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 (*DescribeUserResourcesAuthorizationResponse) ToJsonString ¶
func (r *DescribeUserResourcesAuthorizationResponse) ToJsonString() string
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 ¶
func (r *DescribeUserThirdPartyAccountInfoRequest) 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 (*DescribeUserThirdPartyAccountInfoRequest) ToJsonString ¶
func (r *DescribeUserThirdPartyAccountInfoRequest) ToJsonString() string
type DescribeUserThirdPartyAccountInfoResponse ¶
type DescribeUserThirdPartyAccountInfoResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewDescribeUserThirdPartyAccountInfoResponse ¶
func NewDescribeUserThirdPartyAccountInfoResponse() (response *DescribeUserThirdPartyAccountInfoResponse)
func (*DescribeUserThirdPartyAccountInfoResponse) FromJsonString ¶
func (r *DescribeUserThirdPartyAccountInfoResponse) 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 (*DescribeUserThirdPartyAccountInfoResponse) ToJsonString ¶
func (r *DescribeUserThirdPartyAccountInfoResponse) ToJsonString() string
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 ListAccountInAccountGroupResponse ¶
type ListAccountInAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ListApplicationAuthorizationsResponse ¶
type ListApplicationAuthorizationsResponse struct { *tchttp.BaseResponse Response *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"` } `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 ¶
func (r *ListApplicationAuthorizationsResponse) ToJsonString() string
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 ListApplicationsResponse ¶
type ListApplicationsResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ¶
func (r *ListAuthorizedApplicationsToOrgNodeRequest) 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 (*ListAuthorizedApplicationsToOrgNodeRequest) ToJsonString ¶
func (r *ListAuthorizedApplicationsToOrgNodeRequest) ToJsonString() string
type ListAuthorizedApplicationsToOrgNodeResponse ¶
type ListAuthorizedApplicationsToOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewListAuthorizedApplicationsToOrgNodeResponse ¶
func NewListAuthorizedApplicationsToOrgNodeResponse() (response *ListAuthorizedApplicationsToOrgNodeResponse)
func (*ListAuthorizedApplicationsToOrgNodeResponse) FromJsonString ¶
func (r *ListAuthorizedApplicationsToOrgNodeResponse) 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 (*ListAuthorizedApplicationsToOrgNodeResponse) ToJsonString ¶
func (r *ListAuthorizedApplicationsToOrgNodeResponse) ToJsonString() string
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 ¶
func (r *ListAuthorizedApplicationsToUserGroupRequest) 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 (*ListAuthorizedApplicationsToUserGroupRequest) ToJsonString ¶
func (r *ListAuthorizedApplicationsToUserGroupRequest) ToJsonString() string
type ListAuthorizedApplicationsToUserGroupResponse ¶
type ListAuthorizedApplicationsToUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewListAuthorizedApplicationsToUserGroupResponse ¶
func NewListAuthorizedApplicationsToUserGroupResponse() (response *ListAuthorizedApplicationsToUserGroupResponse)
func (*ListAuthorizedApplicationsToUserGroupResponse) FromJsonString ¶
func (r *ListAuthorizedApplicationsToUserGroupResponse) 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 (*ListAuthorizedApplicationsToUserGroupResponse) ToJsonString ¶
func (r *ListAuthorizedApplicationsToUserGroupResponse) ToJsonString() string
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 ¶
func (r *ListAuthorizedApplicationsToUserRequest) 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 (*ListAuthorizedApplicationsToUserRequest) ToJsonString ¶
func (r *ListAuthorizedApplicationsToUserRequest) ToJsonString() string
type ListAuthorizedApplicationsToUserResponse ¶
type ListAuthorizedApplicationsToUserResponse struct { *tchttp.BaseResponse Response *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"` } `json:"Response"` }
func NewListAuthorizedApplicationsToUserResponse ¶
func NewListAuthorizedApplicationsToUserResponse() (response *ListAuthorizedApplicationsToUserResponse)
func (*ListAuthorizedApplicationsToUserResponse) FromJsonString ¶
func (r *ListAuthorizedApplicationsToUserResponse) 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 (*ListAuthorizedApplicationsToUserResponse) ToJsonString ¶
func (r *ListAuthorizedApplicationsToUserResponse) ToJsonString() string
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 ListUserGroupsOfUserResponse ¶
type ListUserGroupsOfUserResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ListUserGroupsResponse ¶
type ListUserGroupsResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ListUsersInOrgNodeResponse ¶
type ListUsersInOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ListUsersInUserGroupResponse ¶
type ListUsersInUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ListUsersResponse ¶
type ListUsersResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyAccountGroupResponse ¶
type ModifyAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyAppAccountResponse ¶
type ModifyAppAccountResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyApplicationResponse ¶
type ModifyApplicationResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 ModifyUserInfoResponse ¶
type ModifyUserInfoResponse struct { *tchttp.BaseResponse Response *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"` } `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 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 RemoveAccountFromAccountGroupResponse ¶
type RemoveAccountFromAccountGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 ¶
func (r *RemoveAccountFromAccountGroupResponse) ToJsonString() string
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 RemoveUserFromUserGroupResponse ¶
type RemoveUserFromUserGroupResponse struct { *tchttp.BaseResponse Response *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"` } `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 SortCondition ¶
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 UpdateOrgNodeResponse ¶
type UpdateOrgNodeResponse struct { *tchttp.BaseResponse Response *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"` } `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 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"` }