Documentation ¶
Index ¶
- Constants
- type AddOrganizationNodeRequest
- type AddOrganizationNodeRequestParams
- type AddOrganizationNodeResponse
- type AddOrganizationNodeResponseParams
- type BindOrganizationMemberAuthAccountRequest
- type BindOrganizationMemberAuthAccountRequestParams
- type BindOrganizationMemberAuthAccountResponse
- type BindOrganizationMemberAuthAccountResponseParams
- type CancelOrganizationMemberAuthAccountRequest
- type CancelOrganizationMemberAuthAccountRequestParams
- type CancelOrganizationMemberAuthAccountResponse
- type CancelOrganizationMemberAuthAccountResponseParams
- type Client
- func (c *Client) AddOrganizationNode(request *AddOrganizationNodeRequest) (response *AddOrganizationNodeResponse, err error)
- func (c *Client) AddOrganizationNodeWithContext(ctx context.Context, request *AddOrganizationNodeRequest) (response *AddOrganizationNodeResponse, err error)
- func (c *Client) BindOrganizationMemberAuthAccount(request *BindOrganizationMemberAuthAccountRequest) (response *BindOrganizationMemberAuthAccountResponse, err error)
- func (c *Client) BindOrganizationMemberAuthAccountWithContext(ctx context.Context, request *BindOrganizationMemberAuthAccountRequest) (response *BindOrganizationMemberAuthAccountResponse, err error)
- func (c *Client) CancelOrganizationMemberAuthAccount(request *CancelOrganizationMemberAuthAccountRequest) (response *CancelOrganizationMemberAuthAccountResponse, err error)
- func (c *Client) CancelOrganizationMemberAuthAccountWithContext(ctx context.Context, request *CancelOrganizationMemberAuthAccountRequest) (response *CancelOrganizationMemberAuthAccountResponse, err error)
- func (c *Client) CreateOrganizationMember(request *CreateOrganizationMemberRequest) (response *CreateOrganizationMemberResponse, err error)
- func (c *Client) CreateOrganizationMemberPolicy(request *CreateOrganizationMemberPolicyRequest) (response *CreateOrganizationMemberPolicyResponse, err error)
- func (c *Client) CreateOrganizationMemberPolicyWithContext(ctx context.Context, request *CreateOrganizationMemberPolicyRequest) (response *CreateOrganizationMemberPolicyResponse, err error)
- func (c *Client) CreateOrganizationMemberWithContext(ctx context.Context, request *CreateOrganizationMemberRequest) (response *CreateOrganizationMemberResponse, err error)
- func (c *Client) DeleteOrganizationMembers(request *DeleteOrganizationMembersRequest) (response *DeleteOrganizationMembersResponse, err error)
- func (c *Client) DeleteOrganizationMembersWithContext(ctx context.Context, request *DeleteOrganizationMembersRequest) (response *DeleteOrganizationMembersResponse, err error)
- func (c *Client) DeleteOrganizationNodes(request *DeleteOrganizationNodesRequest) (response *DeleteOrganizationNodesResponse, err error)
- func (c *Client) DeleteOrganizationNodesWithContext(ctx context.Context, request *DeleteOrganizationNodesRequest) (response *DeleteOrganizationNodesResponse, err error)
- func (c *Client) DescribeOrganization(request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error)
- func (c *Client) DescribeOrganizationMemberAuthAccounts(request *DescribeOrganizationMemberAuthAccountsRequest) (response *DescribeOrganizationMemberAuthAccountsResponse, err error)
- func (c *Client) DescribeOrganizationMemberAuthAccountsWithContext(ctx context.Context, request *DescribeOrganizationMemberAuthAccountsRequest) (response *DescribeOrganizationMemberAuthAccountsResponse, err error)
- func (c *Client) DescribeOrganizationMemberAuthIdentities(request *DescribeOrganizationMemberAuthIdentitiesRequest) (response *DescribeOrganizationMemberAuthIdentitiesResponse, err error)
- func (c *Client) DescribeOrganizationMemberAuthIdentitiesWithContext(ctx context.Context, request *DescribeOrganizationMemberAuthIdentitiesRequest) (response *DescribeOrganizationMemberAuthIdentitiesResponse, err error)
- func (c *Client) DescribeOrganizationMemberPolicies(request *DescribeOrganizationMemberPoliciesRequest) (response *DescribeOrganizationMemberPoliciesResponse, err error)
- func (c *Client) DescribeOrganizationMemberPoliciesWithContext(ctx context.Context, request *DescribeOrganizationMemberPoliciesRequest) (response *DescribeOrganizationMemberPoliciesResponse, err error)
- func (c *Client) DescribeOrganizationMembers(request *DescribeOrganizationMembersRequest) (response *DescribeOrganizationMembersResponse, err error)
- func (c *Client) DescribeOrganizationMembersWithContext(ctx context.Context, request *DescribeOrganizationMembersRequest) (response *DescribeOrganizationMembersResponse, err error)
- func (c *Client) DescribeOrganizationNodes(request *DescribeOrganizationNodesRequest) (response *DescribeOrganizationNodesResponse, err error)
- func (c *Client) DescribeOrganizationNodesWithContext(ctx context.Context, request *DescribeOrganizationNodesRequest) (response *DescribeOrganizationNodesResponse, err error)
- func (c *Client) DescribeOrganizationWithContext(ctx context.Context, request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error)
- func (c *Client) ListOrganizationIdentity(request *ListOrganizationIdentityRequest) (response *ListOrganizationIdentityResponse, err error)
- func (c *Client) ListOrganizationIdentityWithContext(ctx context.Context, request *ListOrganizationIdentityRequest) (response *ListOrganizationIdentityResponse, err error)
- func (c *Client) MoveOrganizationNodeMembers(request *MoveOrganizationNodeMembersRequest) (response *MoveOrganizationNodeMembersResponse, err error)
- func (c *Client) MoveOrganizationNodeMembersWithContext(ctx context.Context, request *MoveOrganizationNodeMembersRequest) (response *MoveOrganizationNodeMembersResponse, err error)
- func (c *Client) UpdateOrganizationNode(request *UpdateOrganizationNodeRequest) (response *UpdateOrganizationNodeResponse, err error)
- func (c *Client) UpdateOrganizationNodeWithContext(ctx context.Context, request *UpdateOrganizationNodeRequest) (response *UpdateOrganizationNodeResponse, err error)
- type CreateOrganizationMemberPolicyRequest
- type CreateOrganizationMemberPolicyRequestParams
- type CreateOrganizationMemberPolicyResponse
- type CreateOrganizationMemberPolicyResponseParams
- type CreateOrganizationMemberRequest
- type CreateOrganizationMemberRequestParams
- type CreateOrganizationMemberResponse
- type CreateOrganizationMemberResponseParams
- type DeleteOrganizationMembersRequest
- type DeleteOrganizationMembersRequestParams
- type DeleteOrganizationMembersResponse
- type DeleteOrganizationMembersResponseParams
- type DeleteOrganizationNodesRequest
- type DeleteOrganizationNodesRequestParams
- type DeleteOrganizationNodesResponse
- type DeleteOrganizationNodesResponseParams
- type DescribeOrganizationMemberAuthAccountsRequest
- type DescribeOrganizationMemberAuthAccountsRequestParams
- type DescribeOrganizationMemberAuthAccountsResponse
- type DescribeOrganizationMemberAuthAccountsResponseParams
- type DescribeOrganizationMemberAuthIdentitiesRequest
- type DescribeOrganizationMemberAuthIdentitiesRequestParams
- type DescribeOrganizationMemberAuthIdentitiesResponse
- type DescribeOrganizationMemberAuthIdentitiesResponseParams
- type DescribeOrganizationMemberPoliciesRequest
- type DescribeOrganizationMemberPoliciesRequestParams
- type DescribeOrganizationMemberPoliciesResponse
- type DescribeOrganizationMemberPoliciesResponseParams
- type DescribeOrganizationMembersRequest
- type DescribeOrganizationMembersRequestParams
- type DescribeOrganizationMembersResponse
- type DescribeOrganizationMembersResponseParams
- type DescribeOrganizationNodesRequest
- type DescribeOrganizationNodesRequestParams
- type DescribeOrganizationNodesResponse
- type DescribeOrganizationNodesResponseParams
- type DescribeOrganizationRequest
- type DescribeOrganizationRequestParams
- type DescribeOrganizationResponse
- type DescribeOrganizationResponseParams
- type IdentityPolicy
- type ListOrganizationIdentityRequest
- type ListOrganizationIdentityRequestParams
- type ListOrganizationIdentityResponse
- type ListOrganizationIdentityResponseParams
- type MemberIdentity
- type MoveOrganizationNodeMembersRequest
- type MoveOrganizationNodeMembersRequestParams
- type MoveOrganizationNodeMembersResponse
- type MoveOrganizationNodeMembersResponseParams
- type OrgIdentity
- type OrgMember
- type OrgMemberAuthAccount
- type OrgMemberAuthIdentity
- type OrgMemberPolicy
- type OrgNode
- type OrgPermission
- type UpdateOrganizationNodeRequest
- type UpdateOrganizationNodeRequestParams
- type UpdateOrganizationNodeResponse
- type UpdateOrganizationNodeResponseParams
Constants ¶
const ( // The user has not completed identity verification. FAILEDOPERATION_AUTHINFOEMPTY = "FailedOperation.AuthInfoEmpty" // The user has not completed enterprise identity verification. FAILEDOPERATION_AUTHNOTENTERPRISE = "FailedOperation.AuthNotEnterprise" // An exception occurred while creating the member. FAILEDOPERATION_CREATEACCOUNT = "FailedOperation.CreateAccount" // Failed to create the billing permission FAILEDOPERATION_CREATEBILLINGPERMISSIONERR = "FailedOperation.CreateBillingPermissionErr" // The number of times of account identity verification exceeds the upper limit. FAILEDOPERATION_CREATEMEMBERAUTHOVERLIMIT = "FailedOperation.CreateMemberAuthOverLimit" // Failed to create the policy FAILEDOPERATION_CREATEPOLICY = "FailedOperation.CreatePolicy" // Created successfully. FAILEDOPERATION_CREATERECORDALREADYSUCCESS = "FailedOperation.CreateRecordAlreadySuccess" // The creation record does not exist. FAILEDOPERATION_CREATERECORDNOTEXIST = "FailedOperation.CreateRecordNotExist" // An exception occurred while creating the role. FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" // You cannot quit an organization created by yourself. FAILEDOPERATION_DISABLEQUITSELFCREATEDORGANIZATION = "FailedOperation.DisableQuitSelfCreatedOrganization" // An error occurred while querying the identity information. FAILEDOPERATION_GETAUTHINFO = "FailedOperation.GetAuthInfo" // The member has a payer and cannot be deleted. FAILEDOPERATION_MEMBEREXISTDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberExistDelegatePayerNotAllowDelete" // The member is a payer and cannot be deleted. FAILEDOPERATION_MEMBERISDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberIsDelegatePayerNotAllowDelete" // The name is already in use. FAILEDOPERATION_MEMBERNAMEUSED = "FailedOperation.MemberNameUsed" // The member authorization policy name is already in use. FAILEDOPERATION_MEMBERPOLICYNAMEEXIST = "FailedOperation.MemberPolicyNameExist" // The member is sharing a resource. FAILEDOPERATION_MEMBERSHARERESOURCE = "FailedOperation.MemberShareResource" // There are members in this department FAILEDOPERATION_NODENOTEMPTY = "FailedOperation.NodeNotEmpty" // An error occurred while manipulating the billing member permission. FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" // Failed to manipulate the policy. FAILEDOPERATION_OPERATEPOLICY = "FailedOperation.OperatePolicy" // The member is an entity admin account and cannot be deleted. FAILEDOPERATION_ORGANIZATIONAUTHMANAGENOTALLOWDELETE = "FailedOperation.OrganizationAuthManageNotAllowDelete" // The member name already exists. FAILEDOPERATION_ORGANIZATIONMEMBERNAMEUSED = "FailedOperation.OrganizationMemberNameUsed" // The number of nodes to be deleted exceeds the upper limit. FAILEDOPERATION_ORGANIZATIONNODEDELETEOVERLIMIT = "FailedOperation.OrganizationNodeDeleteOverLimit" // The node name is already in use. FAILEDOPERATION_ORGANIZATIONNODENAMEUSED = "FailedOperation.OrganizationNodeNameUsed" // There are nodes in the organization. FAILEDOPERATION_ORGANIZATIONNODENOTEMPTY = "FailedOperation.OrganizationNodeNotEmpty" // The organization node does not exist. FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" // The organization permission is invalid. FAILEDOPERATION_ORGANIZATIONPERMISSIONILLEGAL = "FailedOperation.OrganizationPermissionIllegal" // The organization policy is invalid. FAILEDOPERATION_ORGANIZATIONPOLICYILLEGAL = "FailedOperation.OrganizationPolicyIllegal" // The payer is invalid. FAILEDOPERATION_PAYUINILLEGAL = "FailedOperation.PayUinIllegal" // Failed to leave the shared unit. FAILEDOPERATION_QUITSHAREUINTERROR = "FailedOperation.QuitShareUintError" // The member is using a shared resource. FAILEDOPERATION_SHARERESOURCEMEMBERINUSE = "FailedOperation.ShareResourceMemberInUse" // The UIN does not belong to the organization. FAILEDOPERATION_SOMEUINSNOTINORGANIZATION = "FailedOperation.SomeUinsNotInOrganization" // The sub-account has an identity. FAILEDOPERATION_SUBACCOUNTIDENTITYEXIST = "FailedOperation.SubAccountIdentityExist" // The sub-account does not exist. FAILEDOPERATION_SUBACCOUNTNOTEXIST = "FailedOperation.SubAccountNotExist" // An internal error occurred. INTERNALERROR = "InternalError" // The parameter is incorrect. INVALIDPARAMETER = "InvalidParameter" // The number of members to be created exceeds the upper limit. LIMITEXCEEDED_CREATEMEMBEROVERLIMIT = "LimitExceeded.CreateMemberOverLimit" // The department has too many levels. LIMITEXCEEDED_NODEDEPTHEXCEEDLIMIT = "LimitExceeded.NodeDepthExceedLimit" // The number of departments exceeds the upper limit. LIMITEXCEEDED_NODEEXCEEDLIMIT = "LimitExceeded.NodeExceedLimit" // The number of members exceeds the upper limit. LIMITEXCEEDED_ORGANIZATIONMEMBEROVERLIMIT = "LimitExceeded.OrganizationMemberOverLimit" // The authorizable member identity does not exist. RESOURCENOTFOUND_MEMBERIDENTITYNOTEXIST = "ResourceNotFound.MemberIdentityNotExist" // The member does not exist. RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" // The organization member policy does not exist. RESOURCENOTFOUND_MEMBERPOLICYNOTEXIST = "ResourceNotFound.MemberPolicyNotExist" // The organization member does not exist. RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" // The organization node does not exist. RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" // The organization does not exist. RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" // The organization service does not exist. RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = "ResourceNotFound.OrganizationServiceNotExist" // The operation is not supported. UNSUPPORTEDOPERATION = "UnsupportedOperation" // No paying relationships can be added. UNSUPPORTEDOPERATION_ADDDELEGATEPAYERNOTALLOW = "UnsupportedOperation.AddDelegatePayerNotAllow" // No offer inheritance relationships can be added. UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" // Created members cannot be deleted. UNSUPPORTEDOPERATION_CREATEMEMBERNOTALLOWDELETE = "UnsupportedOperation.CreateMemberNotAllowDelete" // Payment-on-behalf is not supported for this member or payer as it is a reseller. UNSUPPORTEDOPERATION_EXISTEDAGENT = "UnsupportedOperation.ExistedAgent" // Payment-on-behalf is not supported for this member or payer as it is a reseller’s account. UNSUPPORTEDOPERATION_EXISTEDCLIENT = "UnsupportedOperation.ExistedClient" // The user type mismatches. UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" // An error occurred while calling the operations management system. UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" // The member account has an overdue payment. UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" // The member has an inherited offer. UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" // The member has an account-level offer. UNSUPPORTEDOPERATION_MEMBEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.MemberExistAccountLevelDiscountInherit" // The member is configured with operation audit and cannot be deleted. UNSUPPORTEDOPERATION_MEMBEREXISTOPERATEPROCESSNOTALLOWDELETE = "UnsupportedOperation.MemberExistOperateProcessNotAllowDelete" // The organization member is assigned with an organization service and cannot leave. UNSUPPORTEDOPERATION_MEMBEREXISTSERVICENOTALLOWDELETE = "UnsupportedOperation.MemberExistServiceNotAllowDelete" // The member is an agent or customer. UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" // No credit card is bound to the member. UNSUPPORTEDOPERATION_MEMBERNOPAYMENT = "UnsupportedOperation.MemberNoPayment" // There is an ongoing order. UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" // The admin has an inherited offer. UNSUPPORTEDOPERATION_OWNERDISCOUNTINHERITEXISTED = "UnsupportedOperation.OwnerDiscountInheritExisted" // The payer has an overdue payment and has no credit account. UNSUPPORTEDOPERATION_PAYERARREARSANDNOCREDITACCOUNT = "UnsupportedOperation.PayerArrearsAndNoCreditAccount" // The payer has an account-level offer. UNSUPPORTEDOPERATION_PAYEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.PayerExistAccountLevelDiscountInherit" )
const APIVersion = "2021-03-31"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrganizationNodeRequest ¶
type AddOrganizationNodeRequest struct { *tchttp.BaseRequest // Parent node ID, which can be obtained through the `DescribeOrganizationNodes` API. ParentNodeId *uint64 `json:"ParentNodeId,omitnil" name:"ParentNodeId"` // Node name, which can contain up to 40 letters, digits, and symbols `+@&._[]-`. Name *string `json:"Name,omitnil" name:"Name"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` }
func NewAddOrganizationNodeRequest ¶
func NewAddOrganizationNodeRequest() (request *AddOrganizationNodeRequest)
func (*AddOrganizationNodeRequest) FromJsonString ¶
func (r *AddOrganizationNodeRequest) 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 (*AddOrganizationNodeRequest) ToJsonString ¶
func (r *AddOrganizationNodeRequest) ToJsonString() string
type AddOrganizationNodeRequestParams ¶
type AddOrganizationNodeRequestParams struct { // Parent node ID, which can be obtained through the `DescribeOrganizationNodes` API. ParentNodeId *uint64 `json:"ParentNodeId,omitnil" name:"ParentNodeId"` // Node name, which can contain up to 40 letters, digits, and symbols `+@&._[]-`. Name *string `json:"Name,omitnil" name:"Name"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` }
Predefined struct for user
type AddOrganizationNodeResponse ¶
type AddOrganizationNodeResponse struct { *tchttp.BaseResponse Response *AddOrganizationNodeResponseParams `json:"Response"` }
func NewAddOrganizationNodeResponse ¶
func NewAddOrganizationNodeResponse() (response *AddOrganizationNodeResponse)
func (*AddOrganizationNodeResponse) FromJsonString ¶
func (r *AddOrganizationNodeResponse) 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 (*AddOrganizationNodeResponse) ToJsonString ¶
func (r *AddOrganizationNodeResponse) ToJsonString() string
type AddOrganizationNodeResponseParams ¶
type AddOrganizationNodeResponseParams struct { // Node ID. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BindOrganizationMemberAuthAccountRequest ¶
type BindOrganizationMemberAuthAccountRequest struct { *tchttp.BaseRequest // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID, which can be obtained through the `DescribeOrganizationMemberPolicies` API. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // List of sub-account UINs of the organization admin, which can contain up to five UINs. OrgSubAccountUins []*int64 `json:"OrgSubAccountUins,omitnil" name:"OrgSubAccountUins"` }
func NewBindOrganizationMemberAuthAccountRequest ¶
func NewBindOrganizationMemberAuthAccountRequest() (request *BindOrganizationMemberAuthAccountRequest)
func (*BindOrganizationMemberAuthAccountRequest) FromJsonString ¶
func (r *BindOrganizationMemberAuthAccountRequest) 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 (*BindOrganizationMemberAuthAccountRequest) ToJsonString ¶
func (r *BindOrganizationMemberAuthAccountRequest) ToJsonString() string
type BindOrganizationMemberAuthAccountRequestParams ¶
type BindOrganizationMemberAuthAccountRequestParams struct { // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID, which can be obtained through the `DescribeOrganizationMemberPolicies` API. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // List of sub-account UINs of the organization admin, which can contain up to five UINs. OrgSubAccountUins []*int64 `json:"OrgSubAccountUins,omitnil" name:"OrgSubAccountUins"` }
Predefined struct for user
type BindOrganizationMemberAuthAccountResponse ¶
type BindOrganizationMemberAuthAccountResponse struct { *tchttp.BaseResponse Response *BindOrganizationMemberAuthAccountResponseParams `json:"Response"` }
func NewBindOrganizationMemberAuthAccountResponse ¶
func NewBindOrganizationMemberAuthAccountResponse() (response *BindOrganizationMemberAuthAccountResponse)
func (*BindOrganizationMemberAuthAccountResponse) FromJsonString ¶
func (r *BindOrganizationMemberAuthAccountResponse) 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 (*BindOrganizationMemberAuthAccountResponse) ToJsonString ¶
func (r *BindOrganizationMemberAuthAccountResponse) ToJsonString() string
type BindOrganizationMemberAuthAccountResponseParams ¶
type BindOrganizationMemberAuthAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CancelOrganizationMemberAuthAccountRequest ¶
type CancelOrganizationMemberAuthAccountRequest struct { *tchttp.BaseRequest // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // Organization sub-account UIN. OrgSubAccountUin *int64 `json:"OrgSubAccountUin,omitnil" name:"OrgSubAccountUin"` }
func NewCancelOrganizationMemberAuthAccountRequest ¶
func NewCancelOrganizationMemberAuthAccountRequest() (request *CancelOrganizationMemberAuthAccountRequest)
func (*CancelOrganizationMemberAuthAccountRequest) FromJsonString ¶
func (r *CancelOrganizationMemberAuthAccountRequest) 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 (*CancelOrganizationMemberAuthAccountRequest) ToJsonString ¶
func (r *CancelOrganizationMemberAuthAccountRequest) ToJsonString() string
type CancelOrganizationMemberAuthAccountRequestParams ¶
type CancelOrganizationMemberAuthAccountRequestParams struct { // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // Organization sub-account UIN. OrgSubAccountUin *int64 `json:"OrgSubAccountUin,omitnil" name:"OrgSubAccountUin"` }
Predefined struct for user
type CancelOrganizationMemberAuthAccountResponse ¶
type CancelOrganizationMemberAuthAccountResponse struct { *tchttp.BaseResponse Response *CancelOrganizationMemberAuthAccountResponseParams `json:"Response"` }
func NewCancelOrganizationMemberAuthAccountResponse ¶
func NewCancelOrganizationMemberAuthAccountResponse() (response *CancelOrganizationMemberAuthAccountResponse)
func (*CancelOrganizationMemberAuthAccountResponse) FromJsonString ¶
func (r *CancelOrganizationMemberAuthAccountResponse) 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 (*CancelOrganizationMemberAuthAccountResponse) ToJsonString ¶
func (r *CancelOrganizationMemberAuthAccountResponse) ToJsonString() string
type CancelOrganizationMemberAuthAccountResponseParams ¶
type CancelOrganizationMemberAuthAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddOrganizationNode ¶
func (c *Client) AddOrganizationNode(request *AddOrganizationNodeRequest) (response *AddOrganizationNodeResponse, err error)
AddOrganizationNode This API is used to add an organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENAMEUSED = "FailedOperation.OrganizationNodeNameUsed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_NODEDEPTHEXCEEDLIMIT = "LimitExceeded.NodeDepthExceedLimit" LIMITEXCEEDED_NODEEXCEEDLIMIT = "LimitExceeded.NodeExceedLimit" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) AddOrganizationNodeWithContext ¶
func (c *Client) AddOrganizationNodeWithContext(ctx context.Context, request *AddOrganizationNodeRequest) (response *AddOrganizationNodeResponse, err error)
AddOrganizationNode This API is used to add an organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENAMEUSED = "FailedOperation.OrganizationNodeNameUsed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_NODEDEPTHEXCEEDLIMIT = "LimitExceeded.NodeDepthExceedLimit" LIMITEXCEEDED_NODEEXCEEDLIMIT = "LimitExceeded.NodeExceedLimit" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) BindOrganizationMemberAuthAccount ¶
func (c *Client) BindOrganizationMemberAuthAccount(request *BindOrganizationMemberAuthAccountRequest) (response *BindOrganizationMemberAuthAccountResponse, err error)
BindOrganizationMemberAuthAccount This API is used to bind an organization member to a sub-account of the organization admin.
error code that may be returned:
FAILEDOPERATION_OPERATEPOLICY = "FailedOperation.OperatePolicy" FAILEDOPERATION_SUBACCOUNTIDENTITYEXIST = "FailedOperation.SubAccountIdentityExist" FAILEDOPERATION_SUBACCOUNTNOTEXIST = "FailedOperation.SubAccountNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_MEMBERPOLICYNOTEXIST = "ResourceNotFound.MemberPolicyNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindOrganizationMemberAuthAccountWithContext ¶
func (c *Client) BindOrganizationMemberAuthAccountWithContext(ctx context.Context, request *BindOrganizationMemberAuthAccountRequest) (response *BindOrganizationMemberAuthAccountResponse, err error)
BindOrganizationMemberAuthAccount This API is used to bind an organization member to a sub-account of the organization admin.
error code that may be returned:
FAILEDOPERATION_OPERATEPOLICY = "FailedOperation.OperatePolicy" FAILEDOPERATION_SUBACCOUNTIDENTITYEXIST = "FailedOperation.SubAccountIdentityExist" FAILEDOPERATION_SUBACCOUNTNOTEXIST = "FailedOperation.SubAccountNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_MEMBERPOLICYNOTEXIST = "ResourceNotFound.MemberPolicyNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CancelOrganizationMemberAuthAccount ¶
func (c *Client) CancelOrganizationMemberAuthAccount(request *CancelOrganizationMemberAuthAccountRequest) (response *CancelOrganizationMemberAuthAccountResponse, err error)
CancelOrganizationMemberAuthAccount This API is used to unbind an organization member from a sub-account of the organization admin.
error code that may be returned:
FAILEDOPERATION_OPERATEPOLICY = "FailedOperation.OperatePolicy" FAILEDOPERATION_SUBACCOUNTNOTEXIST = "FailedOperation.SubAccountNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_MEMBERPOLICYNOTEXIST = "ResourceNotFound.MemberPolicyNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) CancelOrganizationMemberAuthAccountWithContext ¶
func (c *Client) CancelOrganizationMemberAuthAccountWithContext(ctx context.Context, request *CancelOrganizationMemberAuthAccountRequest) (response *CancelOrganizationMemberAuthAccountResponse, err error)
CancelOrganizationMemberAuthAccount This API is used to unbind an organization member from a sub-account of the organization admin.
error code that may be returned:
FAILEDOPERATION_OPERATEPOLICY = "FailedOperation.OperatePolicy" FAILEDOPERATION_SUBACCOUNTNOTEXIST = "FailedOperation.SubAccountNotExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_MEMBERPOLICYNOTEXIST = "ResourceNotFound.MemberPolicyNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) CreateOrganizationMember ¶
func (c *Client) CreateOrganizationMember(request *CreateOrganizationMemberRequest) (response *CreateOrganizationMemberResponse, err error)
CreateOrganizationMember This API is used to create an organization member.
error code that may be returned:
FAILEDOPERATION_AUTHINFOEMPTY = "FailedOperation.AuthInfoEmpty" FAILEDOPERATION_AUTHNOTENTERPRISE = "FailedOperation.AuthNotEnterprise" FAILEDOPERATION_CREATEACCOUNT = "FailedOperation.CreateAccount" FAILEDOPERATION_CREATEBILLINGPERMISSIONERR = "FailedOperation.CreateBillingPermissionErr" FAILEDOPERATION_CREATEMEMBERAUTHOVERLIMIT = "FailedOperation.CreateMemberAuthOverLimit" FAILEDOPERATION_CREATERECORDALREADYSUCCESS = "FailedOperation.CreateRecordAlreadySuccess" FAILEDOPERATION_CREATERECORDNOTEXIST = "FailedOperation.CreateRecordNotExist" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_GETAUTHINFO = "FailedOperation.GetAuthInfo" FAILEDOPERATION_MEMBERNAMEUSED = "FailedOperation.MemberNameUsed" FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" FAILEDOPERATION_ORGANIZATIONMEMBERNAMEUSED = "FailedOperation.OrganizationMemberNameUsed" FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" FAILEDOPERATION_ORGANIZATIONPERMISSIONILLEGAL = "FailedOperation.OrganizationPermissionIllegal" FAILEDOPERATION_ORGANIZATIONPOLICYILLEGAL = "FailedOperation.OrganizationPolicyIllegal" FAILEDOPERATION_PAYUINILLEGAL = "FailedOperation.PayUinIllegal" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_CREATEMEMBEROVERLIMIT = "LimitExceeded.CreateMemberOverLimit" LIMITEXCEEDED_ORGANIZATIONMEMBEROVERLIMIT = "LimitExceeded.OrganizationMemberOverLimit" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION_ADDDELEGATEPAYERNOTALLOW = "UnsupportedOperation.AddDelegatePayerNotAllow" UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" UNSUPPORTEDOPERATION_EXISTEDAGENT = "UnsupportedOperation.ExistedAgent" UNSUPPORTEDOPERATION_EXISTEDCLIENT = "UnsupportedOperation.ExistedClient" UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" UNSUPPORTEDOPERATION_MEMBEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.MemberExistAccountLevelDiscountInherit" UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" UNSUPPORTEDOPERATION_OWNERDISCOUNTINHERITEXISTED = "UnsupportedOperation.OwnerDiscountInheritExisted" UNSUPPORTEDOPERATION_PAYERARREARSANDNOCREDITACCOUNT = "UnsupportedOperation.PayerArrearsAndNoCreditAccount" UNSUPPORTEDOPERATION_PAYEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.PayerExistAccountLevelDiscountInherit"
func (*Client) CreateOrganizationMemberPolicy ¶
func (c *Client) CreateOrganizationMemberPolicy(request *CreateOrganizationMemberPolicyRequest) (response *CreateOrganizationMemberPolicyResponse, err error)
CreateOrganizationMemberPolicy This API is used to create an organization member access policy.
error code that may be returned:
FAILEDOPERATION_CREATEPOLICY = "FailedOperation.CreatePolicy" FAILEDOPERATION_MEMBERPOLICYNAMEEXIST = "FailedOperation.MemberPolicyNameExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERIDENTITYNOTEXIST = "ResourceNotFound.MemberIdentityNotExist" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) CreateOrganizationMemberPolicyWithContext ¶
func (c *Client) CreateOrganizationMemberPolicyWithContext(ctx context.Context, request *CreateOrganizationMemberPolicyRequest) (response *CreateOrganizationMemberPolicyResponse, err error)
CreateOrganizationMemberPolicy This API is used to create an organization member access policy.
error code that may be returned:
FAILEDOPERATION_CREATEPOLICY = "FailedOperation.CreatePolicy" FAILEDOPERATION_MEMBERPOLICYNAMEEXIST = "FailedOperation.MemberPolicyNameExist" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_MEMBERIDENTITYNOTEXIST = "ResourceNotFound.MemberIdentityNotExist" RESOURCENOTFOUND_MEMBERNOTEXIST = "ResourceNotFound.MemberNotExist" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) CreateOrganizationMemberWithContext ¶
func (c *Client) CreateOrganizationMemberWithContext(ctx context.Context, request *CreateOrganizationMemberRequest) (response *CreateOrganizationMemberResponse, err error)
CreateOrganizationMember This API is used to create an organization member.
error code that may be returned:
FAILEDOPERATION_AUTHINFOEMPTY = "FailedOperation.AuthInfoEmpty" FAILEDOPERATION_AUTHNOTENTERPRISE = "FailedOperation.AuthNotEnterprise" FAILEDOPERATION_CREATEACCOUNT = "FailedOperation.CreateAccount" FAILEDOPERATION_CREATEBILLINGPERMISSIONERR = "FailedOperation.CreateBillingPermissionErr" FAILEDOPERATION_CREATEMEMBERAUTHOVERLIMIT = "FailedOperation.CreateMemberAuthOverLimit" FAILEDOPERATION_CREATERECORDALREADYSUCCESS = "FailedOperation.CreateRecordAlreadySuccess" FAILEDOPERATION_CREATERECORDNOTEXIST = "FailedOperation.CreateRecordNotExist" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_GETAUTHINFO = "FailedOperation.GetAuthInfo" FAILEDOPERATION_MEMBERNAMEUSED = "FailedOperation.MemberNameUsed" FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" FAILEDOPERATION_ORGANIZATIONMEMBERNAMEUSED = "FailedOperation.OrganizationMemberNameUsed" FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" FAILEDOPERATION_ORGANIZATIONPERMISSIONILLEGAL = "FailedOperation.OrganizationPermissionIllegal" FAILEDOPERATION_ORGANIZATIONPOLICYILLEGAL = "FailedOperation.OrganizationPolicyIllegal" FAILEDOPERATION_PAYUINILLEGAL = "FailedOperation.PayUinIllegal" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_CREATEMEMBEROVERLIMIT = "LimitExceeded.CreateMemberOverLimit" LIMITEXCEEDED_ORGANIZATIONMEMBEROVERLIMIT = "LimitExceeded.OrganizationMemberOverLimit" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION_ADDDELEGATEPAYERNOTALLOW = "UnsupportedOperation.AddDelegatePayerNotAllow" UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" UNSUPPORTEDOPERATION_EXISTEDAGENT = "UnsupportedOperation.ExistedAgent" UNSUPPORTEDOPERATION_EXISTEDCLIENT = "UnsupportedOperation.ExistedClient" UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" UNSUPPORTEDOPERATION_MEMBEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.MemberExistAccountLevelDiscountInherit" UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" UNSUPPORTEDOPERATION_OWNERDISCOUNTINHERITEXISTED = "UnsupportedOperation.OwnerDiscountInheritExisted" UNSUPPORTEDOPERATION_PAYERARREARSANDNOCREDITACCOUNT = "UnsupportedOperation.PayerArrearsAndNoCreditAccount" UNSUPPORTEDOPERATION_PAYEREXISTACCOUNTLEVELDISCOUNTINHERIT = "UnsupportedOperation.PayerExistAccountLevelDiscountInherit"
func (*Client) DeleteOrganizationMembers ¶
func (c *Client) DeleteOrganizationMembers(request *DeleteOrganizationMembersRequest) (response *DeleteOrganizationMembersResponse, err error)
DeleteOrganizationMembers This API is used to batch delete organization members.
error code that may be returned:
FAILEDOPERATION_DISABLEQUITSELFCREATEDORGANIZATION = "FailedOperation.DisableQuitSelfCreatedOrganization" FAILEDOPERATION_MEMBEREXISTDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberExistDelegatePayerNotAllowDelete" FAILEDOPERATION_MEMBERISDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberIsDelegatePayerNotAllowDelete" FAILEDOPERATION_MEMBERSHARERESOURCE = "FailedOperation.MemberShareResource" FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" FAILEDOPERATION_ORGANIZATIONAUTHMANAGENOTALLOWDELETE = "FailedOperation.OrganizationAuthManageNotAllowDelete" FAILEDOPERATION_QUITSHAREUINTERROR = "FailedOperation.QuitShareUintError" FAILEDOPERATION_SHARERESOURCEMEMBERINUSE = "FailedOperation.ShareResourceMemberInUse" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION_CREATEMEMBERNOTALLOWDELETE = "UnsupportedOperation.CreateMemberNotAllowDelete" UNSUPPORTEDOPERATION_MEMBEREXISTOPERATEPROCESSNOTALLOWDELETE = "UnsupportedOperation.MemberExistOperateProcessNotAllowDelete" UNSUPPORTEDOPERATION_MEMBEREXISTSERVICENOTALLOWDELETE = "UnsupportedOperation.MemberExistServiceNotAllowDelete" UNSUPPORTEDOPERATION_MEMBERNOPAYMENT = "UnsupportedOperation.MemberNoPayment"
func (*Client) DeleteOrganizationMembersWithContext ¶
func (c *Client) DeleteOrganizationMembersWithContext(ctx context.Context, request *DeleteOrganizationMembersRequest) (response *DeleteOrganizationMembersResponse, err error)
DeleteOrganizationMembers This API is used to batch delete organization members.
error code that may be returned:
FAILEDOPERATION_DISABLEQUITSELFCREATEDORGANIZATION = "FailedOperation.DisableQuitSelfCreatedOrganization" FAILEDOPERATION_MEMBEREXISTDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberExistDelegatePayerNotAllowDelete" FAILEDOPERATION_MEMBERISDELEGATEPAYERNOTALLOWDELETE = "FailedOperation.MemberIsDelegatePayerNotAllowDelete" FAILEDOPERATION_MEMBERSHARERESOURCE = "FailedOperation.MemberShareResource" FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" FAILEDOPERATION_ORGANIZATIONAUTHMANAGENOTALLOWDELETE = "FailedOperation.OrganizationAuthManageNotAllowDelete" FAILEDOPERATION_QUITSHAREUINTERROR = "FailedOperation.QuitShareUintError" FAILEDOPERATION_SHARERESOURCEMEMBERINUSE = "FailedOperation.ShareResourceMemberInUse" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" UNSUPPORTEDOPERATION_CREATEMEMBERNOTALLOWDELETE = "UnsupportedOperation.CreateMemberNotAllowDelete" UNSUPPORTEDOPERATION_MEMBEREXISTOPERATEPROCESSNOTALLOWDELETE = "UnsupportedOperation.MemberExistOperateProcessNotAllowDelete" UNSUPPORTEDOPERATION_MEMBEREXISTSERVICENOTALLOWDELETE = "UnsupportedOperation.MemberExistServiceNotAllowDelete" UNSUPPORTEDOPERATION_MEMBERNOPAYMENT = "UnsupportedOperation.MemberNoPayment"
func (*Client) DeleteOrganizationNodes ¶
func (c *Client) DeleteOrganizationNodes(request *DeleteOrganizationNodesRequest) (response *DeleteOrganizationNodesResponse, err error)
DeleteOrganizationNodes This API is used to batch delete organization nodes.
error code that may be returned:
FAILEDOPERATION_NODENOTEMPTY = "FailedOperation.NodeNotEmpty" FAILEDOPERATION_ORGANIZATIONNODEDELETEOVERLIMIT = "FailedOperation.OrganizationNodeDeleteOverLimit" FAILEDOPERATION_ORGANIZATIONNODENOTEMPTY = "FailedOperation.OrganizationNodeNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DeleteOrganizationNodesWithContext ¶
func (c *Client) DeleteOrganizationNodesWithContext(ctx context.Context, request *DeleteOrganizationNodesRequest) (response *DeleteOrganizationNodesResponse, err error)
DeleteOrganizationNodes This API is used to batch delete organization nodes.
error code that may be returned:
FAILEDOPERATION_NODENOTEMPTY = "FailedOperation.NodeNotEmpty" FAILEDOPERATION_ORGANIZATIONNODEDELETEOVERLIMIT = "FailedOperation.OrganizationNodeDeleteOverLimit" FAILEDOPERATION_ORGANIZATIONNODENOTEMPTY = "FailedOperation.OrganizationNodeNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganization ¶
func (c *Client) DescribeOrganization(request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error)
DescribeOrganization This API is used to get the organization information.
error code that may be returned:
FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberAuthAccounts ¶
func (c *Client) DescribeOrganizationMemberAuthAccounts(request *DescribeOrganizationMemberAuthAccountsRequest) (response *DescribeOrganizationMemberAuthAccountsResponse, err error)
DescribeOrganizationMemberAuthAccounts This API is used to get the list of sub-accounts bound to an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberAuthAccountsWithContext ¶
func (c *Client) DescribeOrganizationMemberAuthAccountsWithContext(ctx context.Context, request *DescribeOrganizationMemberAuthAccountsRequest) (response *DescribeOrganizationMemberAuthAccountsResponse, err error)
DescribeOrganizationMemberAuthAccounts This API is used to get the list of sub-accounts bound to an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberAuthIdentities ¶
func (c *Client) DescribeOrganizationMemberAuthIdentities(request *DescribeOrganizationMemberAuthIdentitiesRequest) (response *DescribeOrganizationMemberAuthIdentitiesResponse, err error)
DescribeOrganizationMemberAuthIdentities This API is used to get the list of manageable identities of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberAuthIdentitiesWithContext ¶
func (c *Client) DescribeOrganizationMemberAuthIdentitiesWithContext(ctx context.Context, request *DescribeOrganizationMemberAuthIdentitiesRequest) (response *DescribeOrganizationMemberAuthIdentitiesResponse, err error)
DescribeOrganizationMemberAuthIdentities This API is used to get the list of manageable identities of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberPolicies ¶
func (c *Client) DescribeOrganizationMemberPolicies(request *DescribeOrganizationMemberPoliciesRequest) (response *DescribeOrganizationMemberPoliciesResponse, err error)
DescribeOrganizationMemberPolicies This API is used to get the list of authorization policies of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMemberPoliciesWithContext ¶
func (c *Client) DescribeOrganizationMemberPoliciesWithContext(ctx context.Context, request *DescribeOrganizationMemberPoliciesRequest) (response *DescribeOrganizationMemberPoliciesResponse, err error)
DescribeOrganizationMemberPolicies This API is used to get the list of authorization policies of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONMEMBERNOTEXIST = "ResourceNotFound.OrganizationMemberNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationMembers ¶
func (c *Client) DescribeOrganizationMembers(request *DescribeOrganizationMembersRequest) (response *DescribeOrganizationMembersResponse, err error)
DescribeOrganizationMembers This API is used to get the list of organization members.
error code that may be returned:
FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = "ResourceNotFound.OrganizationServiceNotExist"
func (*Client) DescribeOrganizationMembersWithContext ¶
func (c *Client) DescribeOrganizationMembersWithContext(ctx context.Context, request *DescribeOrganizationMembersRequest) (response *DescribeOrganizationMembersResponse, err error)
DescribeOrganizationMembers This API is used to get the list of organization members.
error code that may be returned:
FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" RESOURCENOTFOUND_ORGANIZATIONSERVICENOTEXIST = "ResourceNotFound.OrganizationServiceNotExist"
func (*Client) DescribeOrganizationNodes ¶
func (c *Client) DescribeOrganizationNodes(request *DescribeOrganizationNodesRequest) (response *DescribeOrganizationNodesResponse, err error)
DescribeOrganizationNodes This API is used to get the list of organization nodes.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationNodesWithContext ¶
func (c *Client) DescribeOrganizationNodesWithContext(ctx context.Context, request *DescribeOrganizationNodesRequest) (response *DescribeOrganizationNodesResponse, err error)
DescribeOrganizationNodes This API is used to get the list of organization nodes.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) DescribeOrganizationWithContext ¶
func (c *Client) DescribeOrganizationWithContext(ctx context.Context, request *DescribeOrganizationRequest) (response *DescribeOrganizationResponse, err error)
DescribeOrganization This API is used to get the organization information.
error code that may be returned:
FAILEDOPERATION_OPERATEBILLINGPERMISSIONERR = "FailedOperation.OperateBillingPermissionErr" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) ListOrganizationIdentity ¶
func (c *Client) ListOrganizationIdentity(request *ListOrganizationIdentityRequest) (response *ListOrganizationIdentityResponse, err error)
ListOrganizationIdentity This API is used to get the list of access identities of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) ListOrganizationIdentityWithContext ¶
func (c *Client) ListOrganizationIdentityWithContext(ctx context.Context, request *ListOrganizationIdentityRequest) (response *ListOrganizationIdentityResponse, err error)
ListOrganizationIdentity This API is used to get the list of access identities of an organization member.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) MoveOrganizationNodeMembers ¶
func (c *Client) MoveOrganizationNodeMembers(request *MoveOrganizationNodeMembersRequest) (response *MoveOrganizationNodeMembersResponse, err error)
MoveOrganizationNodeMembers This API is used to move a member to the specified organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" FAILEDOPERATION_SOMEUINSNOTINORGANIZATION = "FailedOperation.SomeUinsNotInOrganization" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) MoveOrganizationNodeMembersWithContext ¶
func (c *Client) MoveOrganizationNodeMembersWithContext(ctx context.Context, request *MoveOrganizationNodeMembersRequest) (response *MoveOrganizationNodeMembersResponse, err error)
MoveOrganizationNodeMembers This API is used to move a member to the specified organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" FAILEDOPERATION_SOMEUINSNOTINORGANIZATION = "FailedOperation.SomeUinsNotInOrganization" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_ORGANIZATIONNODENOTEXIST = "ResourceNotFound.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) UpdateOrganizationNode ¶
func (c *Client) UpdateOrganizationNode(request *UpdateOrganizationNodeRequest) (response *UpdateOrganizationNodeResponse, err error)
UpdateOrganizationNode This API is used to update an organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENAMEUSED = "FailedOperation.OrganizationNodeNameUsed" FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
func (*Client) UpdateOrganizationNodeWithContext ¶
func (c *Client) UpdateOrganizationNodeWithContext(ctx context.Context, request *UpdateOrganizationNodeRequest) (response *UpdateOrganizationNodeResponse, err error)
UpdateOrganizationNode This API is used to update an organization node.
error code that may be returned:
FAILEDOPERATION_ORGANIZATIONNODENAMEUSED = "FailedOperation.OrganizationNodeNameUsed" FAILEDOPERATION_ORGANIZATIONNODENOTEXIST = "FailedOperation.OrganizationNodeNotExist" RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist"
type CreateOrganizationMemberPolicyRequest ¶
type CreateOrganizationMemberPolicyRequest struct { *tchttp.BaseRequest // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy name, which can contain up to 128 letters, digits, and symbols `+=,.@_-`. PolicyName *string `json:"PolicyName,omitnil" name:"PolicyName"` // Member access identity ID, which can be obtained through the `DescribeOrganizationMemberAuthIdentities` API. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Description. Description *string `json:"Description,omitnil" name:"Description"` }
func NewCreateOrganizationMemberPolicyRequest ¶
func NewCreateOrganizationMemberPolicyRequest() (request *CreateOrganizationMemberPolicyRequest)
func (*CreateOrganizationMemberPolicyRequest) FromJsonString ¶
func (r *CreateOrganizationMemberPolicyRequest) 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 (*CreateOrganizationMemberPolicyRequest) ToJsonString ¶
func (r *CreateOrganizationMemberPolicyRequest) ToJsonString() string
type CreateOrganizationMemberPolicyRequestParams ¶
type CreateOrganizationMemberPolicyRequestParams struct { // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy name, which can contain up to 128 letters, digits, and symbols `+=,.@_-`. PolicyName *string `json:"PolicyName,omitnil" name:"PolicyName"` // Member access identity ID, which can be obtained through the `DescribeOrganizationMemberAuthIdentities` API. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Description. Description *string `json:"Description,omitnil" name:"Description"` }
Predefined struct for user
type CreateOrganizationMemberPolicyResponse ¶
type CreateOrganizationMemberPolicyResponse struct { *tchttp.BaseResponse Response *CreateOrganizationMemberPolicyResponseParams `json:"Response"` }
func NewCreateOrganizationMemberPolicyResponse ¶
func NewCreateOrganizationMemberPolicyResponse() (response *CreateOrganizationMemberPolicyResponse)
func (*CreateOrganizationMemberPolicyResponse) FromJsonString ¶
func (r *CreateOrganizationMemberPolicyResponse) 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 (*CreateOrganizationMemberPolicyResponse) ToJsonString ¶
func (r *CreateOrganizationMemberPolicyResponse) ToJsonString() string
type CreateOrganizationMemberPolicyResponseParams ¶
type CreateOrganizationMemberPolicyResponseParams struct { // Policy ID. // Note: This field may return null, indicating that no valid values can be obtained. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateOrganizationMemberRequest ¶
type CreateOrganizationMemberRequest struct { *tchttp.BaseRequest // Member name, which can contain up to 25 letters, digits, and symbols `+@&._[]-:,`. Name *string `json:"Name,omitnil" name:"Name"` // Relationship policy. Valid value: `Financial`. PolicyType *string `json:"PolicyType,omitnil" name:"PolicyType"` // List of member financial permission IDs. `7` indicates paying, which is the default value. PermissionIds []*uint64 `json:"PermissionIds,omitnil" name:"PermissionIds"` // ID of the node of the member's department, which can be obtained through the `DescribeOrganizationNodes` API. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Account name, which can contain up to 25 letters, digits, and symbols `+@&._[]-:,`. AccountName *string `json:"AccountName,omitnil" name:"AccountName"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` // Member creation record ID, which is required during retry upon creation exception. RecordId *int64 `json:"RecordId,omitnil" name:"RecordId"` // Payer UIN, which is required during paying for a member. PayUin *string `json:"PayUin,omitnil" name:"PayUin"` // List of member access identity IDs, which can be obtained through the `ListOrganizationIdentity` API. `1` indicates supported, which is the default value. IdentityRoleID []*uint64 `json:"IdentityRoleID,omitnil" name:"IdentityRoleID"` // Verified entity relationship ID, which is required during creating members for different entities. AuthRelationId *int64 `json:"AuthRelationId,omitnil" name:"AuthRelationId"` }
func NewCreateOrganizationMemberRequest ¶
func NewCreateOrganizationMemberRequest() (request *CreateOrganizationMemberRequest)
func (*CreateOrganizationMemberRequest) FromJsonString ¶
func (r *CreateOrganizationMemberRequest) 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 (*CreateOrganizationMemberRequest) ToJsonString ¶
func (r *CreateOrganizationMemberRequest) ToJsonString() string
type CreateOrganizationMemberRequestParams ¶
type CreateOrganizationMemberRequestParams struct { // Member name, which can contain up to 25 letters, digits, and symbols `+@&._[]-:,`. Name *string `json:"Name,omitnil" name:"Name"` // Relationship policy. Valid value: `Financial`. PolicyType *string `json:"PolicyType,omitnil" name:"PolicyType"` // List of member financial permission IDs. `7` indicates paying, which is the default value. PermissionIds []*uint64 `json:"PermissionIds,omitnil" name:"PermissionIds"` // ID of the node of the member's department, which can be obtained through the `DescribeOrganizationNodes` API. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Account name, which can contain up to 25 letters, digits, and symbols `+@&._[]-:,`. AccountName *string `json:"AccountName,omitnil" name:"AccountName"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` // Member creation record ID, which is required during retry upon creation exception. RecordId *int64 `json:"RecordId,omitnil" name:"RecordId"` // Payer UIN, which is required during paying for a member. PayUin *string `json:"PayUin,omitnil" name:"PayUin"` // List of member access identity IDs, which can be obtained through the `ListOrganizationIdentity` API. `1` indicates supported, which is the default value. IdentityRoleID []*uint64 `json:"IdentityRoleID,omitnil" name:"IdentityRoleID"` // Verified entity relationship ID, which is required during creating members for different entities. AuthRelationId *int64 `json:"AuthRelationId,omitnil" name:"AuthRelationId"` }
Predefined struct for user
type CreateOrganizationMemberResponse ¶
type CreateOrganizationMemberResponse struct { *tchttp.BaseResponse Response *CreateOrganizationMemberResponseParams `json:"Response"` }
func NewCreateOrganizationMemberResponse ¶
func NewCreateOrganizationMemberResponse() (response *CreateOrganizationMemberResponse)
func (*CreateOrganizationMemberResponse) FromJsonString ¶
func (r *CreateOrganizationMemberResponse) 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 (*CreateOrganizationMemberResponse) ToJsonString ¶
func (r *CreateOrganizationMemberResponse) ToJsonString() string
type CreateOrganizationMemberResponseParams ¶
type CreateOrganizationMemberResponseParams struct { // Member UIN. // Note: This field may return null, indicating that no valid values can be obtained. Uin *int64 `json:"Uin,omitnil" name:"Uin"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteOrganizationMembersRequest ¶
type DeleteOrganizationMembersRequest struct { *tchttp.BaseRequest // List of UINs of the members to be deleted. MemberUin []*int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
func NewDeleteOrganizationMembersRequest ¶
func NewDeleteOrganizationMembersRequest() (request *DeleteOrganizationMembersRequest)
func (*DeleteOrganizationMembersRequest) FromJsonString ¶
func (r *DeleteOrganizationMembersRequest) 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 (*DeleteOrganizationMembersRequest) ToJsonString ¶
func (r *DeleteOrganizationMembersRequest) ToJsonString() string
type DeleteOrganizationMembersRequestParams ¶
type DeleteOrganizationMembersRequestParams struct { // List of UINs of the members to be deleted. MemberUin []*int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
Predefined struct for user
type DeleteOrganizationMembersResponse ¶
type DeleteOrganizationMembersResponse struct { *tchttp.BaseResponse Response *DeleteOrganizationMembersResponseParams `json:"Response"` }
func NewDeleteOrganizationMembersResponse ¶
func NewDeleteOrganizationMembersResponse() (response *DeleteOrganizationMembersResponse)
func (*DeleteOrganizationMembersResponse) FromJsonString ¶
func (r *DeleteOrganizationMembersResponse) 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 (*DeleteOrganizationMembersResponse) ToJsonString ¶
func (r *DeleteOrganizationMembersResponse) ToJsonString() string
type DeleteOrganizationMembersResponseParams ¶
type DeleteOrganizationMembersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteOrganizationNodesRequest ¶
type DeleteOrganizationNodesRequest struct { *tchttp.BaseRequest // List of node IDs. NodeId []*int64 `json:"NodeId,omitnil" name:"NodeId"` }
func NewDeleteOrganizationNodesRequest ¶
func NewDeleteOrganizationNodesRequest() (request *DeleteOrganizationNodesRequest)
func (*DeleteOrganizationNodesRequest) FromJsonString ¶
func (r *DeleteOrganizationNodesRequest) 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 (*DeleteOrganizationNodesRequest) ToJsonString ¶
func (r *DeleteOrganizationNodesRequest) ToJsonString() string
type DeleteOrganizationNodesRequestParams ¶
type DeleteOrganizationNodesRequestParams struct { // List of node IDs. NodeId []*int64 `json:"NodeId,omitnil" name:"NodeId"` }
Predefined struct for user
type DeleteOrganizationNodesResponse ¶
type DeleteOrganizationNodesResponse struct { *tchttp.BaseResponse Response *DeleteOrganizationNodesResponseParams `json:"Response"` }
func NewDeleteOrganizationNodesResponse ¶
func NewDeleteOrganizationNodesResponse() (response *DeleteOrganizationNodesResponse)
func (*DeleteOrganizationNodesResponse) FromJsonString ¶
func (r *DeleteOrganizationNodesResponse) 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 (*DeleteOrganizationNodesResponse) ToJsonString ¶
func (r *DeleteOrganizationNodesResponse) ToJsonString() string
type DeleteOrganizationNodesResponseParams ¶
type DeleteOrganizationNodesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationMemberAuthAccountsRequest ¶
type DescribeOrganizationMemberAuthAccountsRequest struct { *tchttp.BaseRequest // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of returned results. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` }
func NewDescribeOrganizationMemberAuthAccountsRequest ¶
func NewDescribeOrganizationMemberAuthAccountsRequest() (request *DescribeOrganizationMemberAuthAccountsRequest)
func (*DescribeOrganizationMemberAuthAccountsRequest) FromJsonString ¶
func (r *DescribeOrganizationMemberAuthAccountsRequest) 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 (*DescribeOrganizationMemberAuthAccountsRequest) ToJsonString ¶
func (r *DescribeOrganizationMemberAuthAccountsRequest) ToJsonString() string
type DescribeOrganizationMemberAuthAccountsRequestParams ¶
type DescribeOrganizationMemberAuthAccountsRequestParams struct { // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of returned results. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Policy ID. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` }
Predefined struct for user
type DescribeOrganizationMemberAuthAccountsResponse ¶
type DescribeOrganizationMemberAuthAccountsResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationMemberAuthAccountsResponseParams `json:"Response"` }
func NewDescribeOrganizationMemberAuthAccountsResponse ¶
func NewDescribeOrganizationMemberAuthAccountsResponse() (response *DescribeOrganizationMemberAuthAccountsResponse)
func (*DescribeOrganizationMemberAuthAccountsResponse) FromJsonString ¶
func (r *DescribeOrganizationMemberAuthAccountsResponse) 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 (*DescribeOrganizationMemberAuthAccountsResponse) ToJsonString ¶
func (r *DescribeOrganizationMemberAuthAccountsResponse) ToJsonString() string
type DescribeOrganizationMemberAuthAccountsResponseParams ¶
type DescribeOrganizationMemberAuthAccountsResponseParams struct { // List // Note: This field may return null, indicating that no valid values can be obtained. Items []*OrgMemberAuthAccount `json:"Items,omitnil" name:"Items"` // Total number // Note: This field may return null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationMemberAuthIdentitiesRequest ¶
type DescribeOrganizationMemberAuthIdentitiesRequest struct { *tchttp.BaseRequest // Offset, which is an integer multiple of the value of `Limit`. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit, which defaults to `10`. Value range: 1-50. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Organization member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
func NewDescribeOrganizationMemberAuthIdentitiesRequest ¶
func NewDescribeOrganizationMemberAuthIdentitiesRequest() (request *DescribeOrganizationMemberAuthIdentitiesRequest)
func (*DescribeOrganizationMemberAuthIdentitiesRequest) FromJsonString ¶
func (r *DescribeOrganizationMemberAuthIdentitiesRequest) 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 (*DescribeOrganizationMemberAuthIdentitiesRequest) ToJsonString ¶
func (r *DescribeOrganizationMemberAuthIdentitiesRequest) ToJsonString() string
type DescribeOrganizationMemberAuthIdentitiesRequestParams ¶
type DescribeOrganizationMemberAuthIdentitiesRequestParams struct { // Offset, which is an integer multiple of the value of `Limit`. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit, which defaults to `10`. Value range: 1-50. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Organization member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
Predefined struct for user
type DescribeOrganizationMemberAuthIdentitiesResponse ¶
type DescribeOrganizationMemberAuthIdentitiesResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationMemberAuthIdentitiesResponseParams `json:"Response"` }
func NewDescribeOrganizationMemberAuthIdentitiesResponse ¶
func NewDescribeOrganizationMemberAuthIdentitiesResponse() (response *DescribeOrganizationMemberAuthIdentitiesResponse)
func (*DescribeOrganizationMemberAuthIdentitiesResponse) FromJsonString ¶
func (r *DescribeOrganizationMemberAuthIdentitiesResponse) 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 (*DescribeOrganizationMemberAuthIdentitiesResponse) ToJsonString ¶
func (r *DescribeOrganizationMemberAuthIdentitiesResponse) ToJsonString() string
type DescribeOrganizationMemberAuthIdentitiesResponseParams ¶
type DescribeOrganizationMemberAuthIdentitiesResponseParams struct { // List of authorizable identities // Note: This field may return null, indicating that no valid values can be obtained. Items []*OrgMemberAuthIdentity `json:"Items,omitnil" name:"Items"` // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationMemberPoliciesRequest ¶
type DescribeOrganizationMemberPoliciesRequest struct { *tchttp.BaseRequest // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of returned results. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Search keyword, which can be the policy name or description. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` }
func NewDescribeOrganizationMemberPoliciesRequest ¶
func NewDescribeOrganizationMemberPoliciesRequest() (request *DescribeOrganizationMemberPoliciesRequest)
func (*DescribeOrganizationMemberPoliciesRequest) FromJsonString ¶
func (r *DescribeOrganizationMemberPoliciesRequest) 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 (*DescribeOrganizationMemberPoliciesRequest) ToJsonString ¶
func (r *DescribeOrganizationMemberPoliciesRequest) ToJsonString() string
type DescribeOrganizationMemberPoliciesRequestParams ¶
type DescribeOrganizationMemberPoliciesRequestParams struct { // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of returned results. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Member UIN. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Search keyword, which can be the policy name or description. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` }
Predefined struct for user
type DescribeOrganizationMemberPoliciesResponse ¶
type DescribeOrganizationMemberPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationMemberPoliciesResponseParams `json:"Response"` }
func NewDescribeOrganizationMemberPoliciesResponse ¶
func NewDescribeOrganizationMemberPoliciesResponse() (response *DescribeOrganizationMemberPoliciesResponse)
func (*DescribeOrganizationMemberPoliciesResponse) FromJsonString ¶
func (r *DescribeOrganizationMemberPoliciesResponse) 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 (*DescribeOrganizationMemberPoliciesResponse) ToJsonString ¶
func (r *DescribeOrganizationMemberPoliciesResponse) ToJsonString() string
type DescribeOrganizationMemberPoliciesResponseParams ¶
type DescribeOrganizationMemberPoliciesResponseParams struct { // List. // Note: This field may return null, indicating that no valid values can be obtained. Items []*OrgMemberPolicy `json:"Items,omitnil" name:"Items"` // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationMembersRequest ¶
type DescribeOrganizationMembersRequest struct { *tchttp.BaseRequest // Offset, which is an integer multiple of the value of `Limit`. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit, which defaults to `10`. Value range: 1-50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Valid values: `en` (Tencent Cloud International); `zh` (Tencent Cloud). Lang *string `json:"Lang,omitnil" name:"Lang"` // Search by member name or ID. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Entity name. AuthName *string `json:"AuthName,omitnil" name:"AuthName"` // Abbreviation of the trusted service, which is required during querying the trusted service admin. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeOrganizationMembersRequest ¶
func NewDescribeOrganizationMembersRequest() (request *DescribeOrganizationMembersRequest)
func (*DescribeOrganizationMembersRequest) FromJsonString ¶
func (r *DescribeOrganizationMembersRequest) 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 (*DescribeOrganizationMembersRequest) ToJsonString ¶
func (r *DescribeOrganizationMembersRequest) ToJsonString() string
type DescribeOrganizationMembersRequestParams ¶
type DescribeOrganizationMembersRequestParams struct { // Offset, which is an integer multiple of the value of `Limit`. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit, which defaults to `10`. Value range: 1-50. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Valid values: `en` (Tencent Cloud International); `zh` (Tencent Cloud). Lang *string `json:"Lang,omitnil" name:"Lang"` // Search by member name or ID. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Entity name. AuthName *string `json:"AuthName,omitnil" name:"AuthName"` // Abbreviation of the trusted service, which is required during querying the trusted service admin. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeOrganizationMembersResponse ¶
type DescribeOrganizationMembersResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationMembersResponseParams `json:"Response"` }
func NewDescribeOrganizationMembersResponse ¶
func NewDescribeOrganizationMembersResponse() (response *DescribeOrganizationMembersResponse)
func (*DescribeOrganizationMembersResponse) FromJsonString ¶
func (r *DescribeOrganizationMembersResponse) 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 (*DescribeOrganizationMembersResponse) ToJsonString ¶
func (r *DescribeOrganizationMembersResponse) ToJsonString() string
type DescribeOrganizationMembersResponseParams ¶
type DescribeOrganizationMembersResponseParams struct { // Member list. Items []*OrgMember `json:"Items,omitnil" name:"Items"` // Total number. Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationNodesRequest ¶
type DescribeOrganizationNodesRequest struct { *tchttp.BaseRequest // Maximum number of returned results. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeOrganizationNodesRequest ¶
func NewDescribeOrganizationNodesRequest() (request *DescribeOrganizationNodesRequest)
func (*DescribeOrganizationNodesRequest) FromJsonString ¶
func (r *DescribeOrganizationNodesRequest) 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 (*DescribeOrganizationNodesRequest) ToJsonString ¶
func (r *DescribeOrganizationNodesRequest) ToJsonString() string
type DescribeOrganizationNodesRequestParams ¶
type DescribeOrganizationNodesRequestParams struct { // Maximum number of returned results. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeOrganizationNodesResponse ¶
type DescribeOrganizationNodesResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationNodesResponseParams `json:"Response"` }
func NewDescribeOrganizationNodesResponse ¶
func NewDescribeOrganizationNodesResponse() (response *DescribeOrganizationNodesResponse)
func (*DescribeOrganizationNodesResponse) FromJsonString ¶
func (r *DescribeOrganizationNodesResponse) 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 (*DescribeOrganizationNodesResponse) ToJsonString ¶
func (r *DescribeOrganizationNodesResponse) ToJsonString() string
type DescribeOrganizationNodesResponseParams ¶
type DescribeOrganizationNodesResponseParams struct { // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *int64 `json:"Total,omitnil" name:"Total"` // List details. // Note: This field may return null, indicating that no valid values can be obtained. Items []*OrgNode `json:"Items,omitnil" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOrganizationRequest ¶
type DescribeOrganizationRequest struct { *tchttp.BaseRequest // Valid values: `en` (Tencent Cloud International); `zh` (Tencent Cloud). Lang *string `json:"Lang,omitnil" name:"Lang"` // Abbreviation of the trusted service, which is required during querying the trusted service admin. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeOrganizationRequest ¶
func NewDescribeOrganizationRequest() (request *DescribeOrganizationRequest)
func (*DescribeOrganizationRequest) FromJsonString ¶
func (r *DescribeOrganizationRequest) 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 (*DescribeOrganizationRequest) ToJsonString ¶
func (r *DescribeOrganizationRequest) ToJsonString() string
type DescribeOrganizationRequestParams ¶
type DescribeOrganizationRequestParams struct { // Valid values: `en` (Tencent Cloud International); `zh` (Tencent Cloud). Lang *string `json:"Lang,omitnil" name:"Lang"` // Abbreviation of the trusted service, which is required during querying the trusted service admin. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeOrganizationResponse ¶
type DescribeOrganizationResponse struct { *tchttp.BaseResponse Response *DescribeOrganizationResponseParams `json:"Response"` }
func NewDescribeOrganizationResponse ¶
func NewDescribeOrganizationResponse() (response *DescribeOrganizationResponse)
func (*DescribeOrganizationResponse) FromJsonString ¶
func (r *DescribeOrganizationResponse) 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 (*DescribeOrganizationResponse) ToJsonString ¶
func (r *DescribeOrganizationResponse) ToJsonString() string
type DescribeOrganizationResponseParams ¶
type DescribeOrganizationResponseParams struct { // Organization ID. // Note: This field may return null, indicating that no valid values can be obtained. OrgId *int64 `json:"OrgId,omitnil" name:"OrgId"` // Creator UIN. // Note: This field may return null, indicating that no valid values can be obtained. HostUin *int64 `json:"HostUin,omitnil" name:"HostUin"` // Creator name. // Note: This field may return null, indicating that no valid values can be obtained. NickName *string `json:"NickName,omitnil" name:"NickName"` // Organization type. // Note: This field may return null, indicating that no valid values can be obtained. OrgType *int64 `json:"OrgType,omitnil" name:"OrgType"` // Whether the member is the organization admin. Valid values: `true` (yes); `false` (no). // Note: This field may return null, indicating that no valid values can be obtained. IsManager *bool `json:"IsManager,omitnil" name:"IsManager"` // Policy type. Valid values: `Financial` (finance management). // Note: This field may return null, indicating that no valid values can be obtained. OrgPolicyType *string `json:"OrgPolicyType,omitnil" name:"OrgPolicyType"` // Policy name. // Note: This field may return null, indicating that no valid values can be obtained. OrgPolicyName *string `json:"OrgPolicyName,omitnil" name:"OrgPolicyName"` // List of member financial permissions. // Note: This field may return null, indicating that no valid values can be obtained. OrgPermission []*OrgPermission `json:"OrgPermission,omitnil" name:"OrgPermission"` // Organization root node ID. // Note: This field may return null, indicating that no valid values can be obtained. RootNodeId *int64 `json:"RootNodeId,omitnil" name:"RootNodeId"` // Organization creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Member joining time. // Note: This field may return null, indicating that no valid values can be obtained. JoinTime *string `json:"JoinTime,omitnil" name:"JoinTime"` // Whether the member is allowed to leave. Valid values: `Allow`, `Denied`. // Note: This field may return null, indicating that no valid values can be obtained. IsAllowQuit *string `json:"IsAllowQuit,omitnil" name:"IsAllowQuit"` // Payer UIN. // Note: This field may return null, indicating that no valid values can be obtained. PayUin *string `json:"PayUin,omitnil" name:"PayUin"` // Payer name. // Note: This field may return null, indicating that no valid values can be obtained. PayName *string `json:"PayName,omitnil" name:"PayName"` // Whether the member is the trusted service admin. Valid values: `true` (yes); `false` (no). // Note: This field may return null, indicating that no valid values can be obtained. IsAssignManager *bool `json:"IsAssignManager,omitnil" name:"IsAssignManager"` // Whether the member is the verified entity admin. Valid values: `true` (yes); `false` (no). // Note: This field may return null, indicating that no valid values can be obtained. IsAuthManager *bool `json:"IsAuthManager,omitnil" name:"IsAuthManager"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type IdentityPolicy ¶
type ListOrganizationIdentityRequest ¶
type ListOrganizationIdentityRequest struct { *tchttp.BaseRequest // Offset. It must be an integer multiple of the value of `Limit`. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The limit for the number of query results. Value range: 1-50. Default value: `10`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Search by name. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Search by identity ID. IdentityId *uint64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity type. Valid values: `1` (Preset), `2` (Custom). IdentityType *uint64 `json:"IdentityType,omitnil" name:"IdentityType"` }
func NewListOrganizationIdentityRequest ¶
func NewListOrganizationIdentityRequest() (request *ListOrganizationIdentityRequest)
func (*ListOrganizationIdentityRequest) FromJsonString ¶
func (r *ListOrganizationIdentityRequest) 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 (*ListOrganizationIdentityRequest) ToJsonString ¶
func (r *ListOrganizationIdentityRequest) ToJsonString() string
type ListOrganizationIdentityRequestParams ¶
type ListOrganizationIdentityRequestParams struct { // Offset. It must be an integer multiple of the value of `Limit`. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The limit for the number of query results. Value range: 1-50. Default value: `10`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Search by name. SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Search by identity ID. IdentityId *uint64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity type. Valid values: `1` (Preset), `2` (Custom). IdentityType *uint64 `json:"IdentityType,omitnil" name:"IdentityType"` }
Predefined struct for user
type ListOrganizationIdentityResponse ¶
type ListOrganizationIdentityResponse struct { *tchttp.BaseResponse Response *ListOrganizationIdentityResponseParams `json:"Response"` }
func NewListOrganizationIdentityResponse ¶
func NewListOrganizationIdentityResponse() (response *ListOrganizationIdentityResponse)
func (*ListOrganizationIdentityResponse) FromJsonString ¶
func (r *ListOrganizationIdentityResponse) 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 (*ListOrganizationIdentityResponse) ToJsonString ¶
func (r *ListOrganizationIdentityResponse) ToJsonString() string
type ListOrganizationIdentityResponseParams ¶
type ListOrganizationIdentityResponseParams struct { // Total number. // Note: This field may return null, indicating that no valid values can be obtained. Total *int64 `json:"Total,omitnil" name:"Total"` // Item details. // Note: This field may return null, indicating that no valid values can be obtained. Items []*OrgIdentity `json:"Items,omitnil" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MemberIdentity ¶
type MemberIdentity struct { // Identity ID. // Note: This field may return null, indicating that no valid values can be obtained. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity name. // Note: This field may return null, indicating that no valid values can be obtained. IdentityAliasName *string `json:"IdentityAliasName,omitnil" name:"IdentityAliasName"` }
type MoveOrganizationNodeMembersRequest ¶
type MoveOrganizationNodeMembersRequest struct { *tchttp.BaseRequest // Organization node ID. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Member UIN list. MemberUin []*int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
func NewMoveOrganizationNodeMembersRequest ¶
func NewMoveOrganizationNodeMembersRequest() (request *MoveOrganizationNodeMembersRequest)
func (*MoveOrganizationNodeMembersRequest) FromJsonString ¶
func (r *MoveOrganizationNodeMembersRequest) 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 (*MoveOrganizationNodeMembersRequest) ToJsonString ¶
func (r *MoveOrganizationNodeMembersRequest) ToJsonString() string
type MoveOrganizationNodeMembersRequestParams ¶
type MoveOrganizationNodeMembersRequestParams struct { // Organization node ID. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Member UIN list. MemberUin []*int64 `json:"MemberUin,omitnil" name:"MemberUin"` }
Predefined struct for user
type MoveOrganizationNodeMembersResponse ¶
type MoveOrganizationNodeMembersResponse struct { *tchttp.BaseResponse Response *MoveOrganizationNodeMembersResponseParams `json:"Response"` }
func NewMoveOrganizationNodeMembersResponse ¶
func NewMoveOrganizationNodeMembersResponse() (response *MoveOrganizationNodeMembersResponse)
func (*MoveOrganizationNodeMembersResponse) FromJsonString ¶
func (r *MoveOrganizationNodeMembersResponse) 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 (*MoveOrganizationNodeMembersResponse) ToJsonString ¶
func (r *MoveOrganizationNodeMembersResponse) ToJsonString() string
type MoveOrganizationNodeMembersResponseParams ¶
type MoveOrganizationNodeMembersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type OrgIdentity ¶
type OrgIdentity struct { // Identity ID. // Note: This field may return null, indicating that no valid values can be obtained. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity name. // Note: This field may return null, indicating that no valid values can be obtained. IdentityAliasName *string `json:"IdentityAliasName,omitnil" name:"IdentityAliasName"` // Description. // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Identity policy. // Note: This field may return null, indicating that no valid values can be obtained. IdentityPolicy []*IdentityPolicy `json:"IdentityPolicy,omitnil" name:"IdentityPolicy"` // Identity type. Valid values: `1` (preset); `2` (custom). // Note: This field may return null, indicating that no valid values can be obtained. IdentityType *uint64 `json:"IdentityType,omitnil" name:"IdentityType"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type OrgMember ¶
type OrgMember struct { // Member UIN // Note: This field may return null, indicating that no valid values can be obtained. MemberUin *int64 `json:"MemberUin,omitnil" name:"MemberUin"` // Member name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Member type. Valid values: `Invite` (invited); `Create` (created). // Note: This field may return null, indicating that no valid values can be obtained. MemberType *string `json:"MemberType,omitnil" name:"MemberType"` // Relationship policy type // Note: This field may return null, indicating that no valid values can be obtained. OrgPolicyType *string `json:"OrgPolicyType,omitnil" name:"OrgPolicyType"` // Relationship policy name // Note: This field may return null, indicating that no valid values can be obtained. OrgPolicyName *string `json:"OrgPolicyName,omitnil" name:"OrgPolicyName"` // Relationship policy permission // Note: This field may return null, indicating that no valid values can be obtained. OrgPermission []*OrgPermission `json:"OrgPermission,omitnil" name:"OrgPermission"` // Node ID // Note: This field may return null, indicating that no valid values can be obtained. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Node name // Note: This field may return null, indicating that no valid values can be obtained. NodeName *string `json:"NodeName,omitnil" name:"NodeName"` // Remarks // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil" name:"Remark"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Whether the member is allowed to leave. Valid values: `Allow`, `Denied`. // Note: This field may return null, indicating that no valid values can be obtained. IsAllowQuit *string `json:"IsAllowQuit,omitnil" name:"IsAllowQuit"` // Payer UIN // Note: This field may return null, indicating that no valid values can be obtained. PayUin *string `json:"PayUin,omitnil" name:"PayUin"` // Payer name // Note: This field may return null, indicating that no valid values can be obtained. PayName *string `json:"PayName,omitnil" name:"PayName"` // Management identity // Note: This field may return null, indicating that no valid values can be obtained. OrgIdentity []*MemberIdentity `json:"OrgIdentity,omitnil" name:"OrgIdentity"` // Security information binding status. Valid values: `Unbound`, `Valid`, `Success`, `Failed`. // Note: This field may return null, indicating that no valid values can be obtained. BindStatus *string `json:"BindStatus,omitnil" name:"BindStatus"` // Member permission status. Valid values: `Confirmed`, `UnConfirmed`. // Note: This field may return null, indicating that no valid values can be obtained. PermissionStatus *string `json:"PermissionStatus,omitnil" name:"PermissionStatus"` }
type OrgMemberAuthAccount ¶
type OrgMemberAuthAccount struct { // Organization sub-account UIN. // Note: This field may return null, indicating that no valid values can be obtained. OrgSubAccountUin *int64 `json:"OrgSubAccountUin,omitnil" name:"OrgSubAccountUin"` // Policy ID. // Note: This field may return null, indicating that no valid values can be obtained. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // Policy name. // Note: This field may return null, indicating that no valid values can be obtained. PolicyName *string `json:"PolicyName,omitnil" name:"PolicyName"` // Identity ID. // Note: This field may return null, indicating that no valid values can be obtained. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity role name. // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleName *string `json:"IdentityRoleName,omitnil" name:"IdentityRoleName"` // Identity role alias. // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleAliasName *string `json:"IdentityRoleAliasName,omitnil" name:"IdentityRoleAliasName"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Sub-account name // Note: This field may return null, indicating that no valid values can be obtained. OrgSubAccountName *string `json:"OrgSubAccountName,omitnil" name:"OrgSubAccountName"` }
type OrgMemberAuthIdentity ¶
type OrgMemberAuthIdentity struct { // Identity ID. // Note: This field may return null, indicating that no valid values can be obtained. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Role name of an identity // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleName *string `json:"IdentityRoleName,omitnil" name:"IdentityRoleName"` // Role alias of an identity // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleAliasName *string `json:"IdentityRoleAliasName,omitnil" name:"IdentityRoleAliasName"` // Description // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Identity type (`1`: Preset; `2`: Custom) // Note: This field may return null, indicating that no valid values can be obtained. IdentityType *uint64 `json:"IdentityType,omitnil" name:"IdentityType"` }
type OrgMemberPolicy ¶
type OrgMemberPolicy struct { // Policy ID. // Note: This field may return null, indicating that no valid values can be obtained. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // Policy name. // Note: This field may return null, indicating that no valid values can be obtained. PolicyName *string `json:"PolicyName,omitnil" name:"PolicyName"` // Identity ID. // Note: This field may return null, indicating that no valid values can be obtained. IdentityId *int64 `json:"IdentityId,omitnil" name:"IdentityId"` // Identity role name. // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleName *string `json:"IdentityRoleName,omitnil" name:"IdentityRoleName"` // Identity role alias. // Note: This field may return null, indicating that no valid values can be obtained. IdentityRoleAliasName *string `json:"IdentityRoleAliasName,omitnil" name:"IdentityRoleAliasName"` // Description. // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type OrgNode ¶
type OrgNode struct { // Organization node ID // Note: This field may return null, indicating that no valid values can be obtained. NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"` // Name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Parent node ID // Note: This field may return null, indicating that no valid values can be obtained. ParentNodeId *int64 `json:"ParentNodeId,omitnil" name:"ParentNodeId"` // Remarks // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil" name:"Remark"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type OrgPermission ¶
type UpdateOrganizationNodeRequest ¶
type UpdateOrganizationNodeRequest struct { *tchttp.BaseRequest // Node ID. NodeId *uint64 `json:"NodeId,omitnil" name:"NodeId"` // Node name, which can contain up to 40 letters, digits, and symbols `+@&._[]-`. Name *string `json:"Name,omitnil" name:"Name"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` }
func NewUpdateOrganizationNodeRequest ¶
func NewUpdateOrganizationNodeRequest() (request *UpdateOrganizationNodeRequest)
func (*UpdateOrganizationNodeRequest) FromJsonString ¶
func (r *UpdateOrganizationNodeRequest) 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 (*UpdateOrganizationNodeRequest) ToJsonString ¶
func (r *UpdateOrganizationNodeRequest) ToJsonString() string
type UpdateOrganizationNodeRequestParams ¶
type UpdateOrganizationNodeRequestParams struct { // Node ID. NodeId *uint64 `json:"NodeId,omitnil" name:"NodeId"` // Node name, which can contain up to 40 letters, digits, and symbols `+@&._[]-`. Name *string `json:"Name,omitnil" name:"Name"` // Remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` }
Predefined struct for user
type UpdateOrganizationNodeResponse ¶
type UpdateOrganizationNodeResponse struct { *tchttp.BaseResponse Response *UpdateOrganizationNodeResponseParams `json:"Response"` }
func NewUpdateOrganizationNodeResponse ¶
func NewUpdateOrganizationNodeResponse() (response *UpdateOrganizationNodeResponse)
func (*UpdateOrganizationNodeResponse) FromJsonString ¶
func (r *UpdateOrganizationNodeResponse) 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 (*UpdateOrganizationNodeResponse) ToJsonString ¶
func (r *UpdateOrganizationNodeResponse) ToJsonString() string
type UpdateOrganizationNodeResponseParams ¶
type UpdateOrganizationNodeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user