 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type AddLabelRequest
- type AddLabelRequestParams
- type AddLabelResponse
- type AddLabelResponseParams
- type Authority
- type BcosClusterItem
- type CancelAuthorityIssuerRequest
- type CancelAuthorityIssuerRequestParams
- type CancelAuthorityIssuerResponse
- type CancelAuthorityIssuerResponseParams
- type CheckChainRequest
- type CheckChainRequestParams
- type CheckChainResponse
- type CheckChainResponseParams
- type CheckDidDeployRequest
- type CheckDidDeployRequestParams
- type CheckDidDeployResponse
- type CheckDidDeployResponseParams
- type Client
- func (c *Client) AddLabel(request *AddLabelRequest) (response *AddLabelResponse, err error)
- func (c *Client) AddLabelWithContext(ctx context.Context, request *AddLabelRequest) (response *AddLabelResponse, err error)
- func (c *Client) CancelAuthorityIssuer(request *CancelAuthorityIssuerRequest) (response *CancelAuthorityIssuerResponse, err error)
- func (c *Client) CancelAuthorityIssuerWithContext(ctx context.Context, request *CancelAuthorityIssuerRequest) (response *CancelAuthorityIssuerResponse, err error)
- func (c *Client) CheckChain(request *CheckChainRequest) (response *CheckChainResponse, err error)
- func (c *Client) CheckChainWithContext(ctx context.Context, request *CheckChainRequest) (response *CheckChainResponse, err error)
- func (c *Client) CheckDidDeploy(request *CheckDidDeployRequest) (response *CheckDidDeployResponse, err error)
- func (c *Client) CheckDidDeployWithContext(ctx context.Context, request *CheckDidDeployRequest) (response *CheckDidDeployResponse, err error)
- func (c *Client) CreateCredential(request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
- func (c *Client) CreateCredentialWithContext(ctx context.Context, request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
- func (c *Client) CreateDidService(request *CreateDidServiceRequest) (response *CreateDidServiceResponse, err error)
- func (c *Client) CreateDidServiceWithContext(ctx context.Context, request *CreateDidServiceRequest) (response *CreateDidServiceResponse, err error)
- func (c *Client) CreateLabel(request *CreateLabelRequest) (response *CreateLabelResponse, err error)
- func (c *Client) CreateLabelWithContext(ctx context.Context, request *CreateLabelRequest) (response *CreateLabelResponse, err error)
- func (c *Client) CreateSelectiveCredential(request *CreateSelectiveCredentialRequest) (response *CreateSelectiveCredentialResponse, err error)
- func (c *Client) CreateSelectiveCredentialWithContext(ctx context.Context, request *CreateSelectiveCredentialRequest) (response *CreateSelectiveCredentialResponse, err error)
- func (c *Client) CreateTDid(request *CreateTDidRequest) (response *CreateTDidResponse, err error)
- func (c *Client) CreateTDidByPrivateKey(request *CreateTDidByPrivateKeyRequest) (response *CreateTDidByPrivateKeyResponse, err error)
- func (c *Client) CreateTDidByPrivateKeyWithContext(ctx context.Context, request *CreateTDidByPrivateKeyRequest) (response *CreateTDidByPrivateKeyResponse, err error)
- func (c *Client) CreateTDidByPublicKey(request *CreateTDidByPublicKeyRequest) (response *CreateTDidByPublicKeyResponse, err error)
- func (c *Client) CreateTDidByPublicKeyWithContext(ctx context.Context, request *CreateTDidByPublicKeyRequest) (response *CreateTDidByPublicKeyResponse, err error)
- func (c *Client) CreateTDidWithContext(ctx context.Context, request *CreateTDidRequest) (response *CreateTDidResponse, err error)
- func (c *Client) DeployByName(request *DeployByNameRequest) (response *DeployByNameResponse, err error)
- func (c *Client) DeployByNameWithContext(ctx context.Context, request *DeployByNameRequest) (response *DeployByNameResponse, err error)
- func (c *Client) DownCpt(request *DownCptRequest) (response *DownCptResponse, err error)
- func (c *Client) DownCptWithContext(ctx context.Context, request *DownCptRequest) (response *DownCptResponse, err error)
- func (c *Client) EnableHash(request *EnableHashRequest) (response *EnableHashResponse, err error)
- func (c *Client) EnableHashWithContext(ctx context.Context, request *EnableHashRequest) (response *EnableHashResponse, err error)
- func (c *Client) GetAgencyTDid(request *GetAgencyTDidRequest) (response *GetAgencyTDidResponse, err error)
- func (c *Client) GetAgencyTDidWithContext(ctx context.Context, request *GetAgencyTDidRequest) (response *GetAgencyTDidResponse, err error)
- func (c *Client) GetAuthoritiesList(request *GetAuthoritiesListRequest) (response *GetAuthoritiesListResponse, err error)
- func (c *Client) GetAuthoritiesListWithContext(ctx context.Context, request *GetAuthoritiesListRequest) (response *GetAuthoritiesListResponse, err error)
- func (c *Client) GetAuthorityIssuer(request *GetAuthorityIssuerRequest) (response *GetAuthorityIssuerResponse, err error)
- func (c *Client) GetAuthorityIssuerWithContext(ctx context.Context, request *GetAuthorityIssuerRequest) (response *GetAuthorityIssuerResponse, err error)
- func (c *Client) GetConsortiumClusterList(request *GetConsortiumClusterListRequest) (response *GetConsortiumClusterListResponse, err error)
- func (c *Client) GetConsortiumClusterListWithContext(ctx context.Context, request *GetConsortiumClusterListRequest) (response *GetConsortiumClusterListResponse, err error)
- func (c *Client) GetConsortiumList(request *GetConsortiumListRequest) (response *GetConsortiumListResponse, err error)
- func (c *Client) GetConsortiumListWithContext(ctx context.Context, request *GetConsortiumListRequest) (response *GetConsortiumListResponse, err error)
- func (c *Client) GetCptInfo(request *GetCptInfoRequest) (response *GetCptInfoResponse, err error)
- func (c *Client) GetCptInfoWithContext(ctx context.Context, request *GetCptInfoRequest) (response *GetCptInfoResponse, err error)
- func (c *Client) GetCptList(request *GetCptListRequest) (response *GetCptListResponse, err error)
- func (c *Client) GetCptListWithContext(ctx context.Context, request *GetCptListRequest) (response *GetCptListResponse, err error)
- func (c *Client) GetCredentialCptRank(request *GetCredentialCptRankRequest) (response *GetCredentialCptRankResponse, err error)
- func (c *Client) GetCredentialCptRankWithContext(ctx context.Context, request *GetCredentialCptRankRequest) (response *GetCredentialCptRankResponse, err error)
- func (c *Client) GetCredentialIssueRank(request *GetCredentialIssueRankRequest) (response *GetCredentialIssueRankResponse, err error)
- func (c *Client) GetCredentialIssueRankWithContext(ctx context.Context, request *GetCredentialIssueRankRequest) (response *GetCredentialIssueRankResponse, err error)
- func (c *Client) GetCredentialIssueTrend(request *GetCredentialIssueTrendRequest) (response *GetCredentialIssueTrendResponse, err error)
- func (c *Client) GetCredentialIssueTrendWithContext(ctx context.Context, request *GetCredentialIssueTrendRequest) (response *GetCredentialIssueTrendResponse, err error)
- func (c *Client) GetCredentialStatus(request *GetCredentialStatusRequest) (response *GetCredentialStatusResponse, err error)
- func (c *Client) GetCredentialStatusWithContext(ctx context.Context, request *GetCredentialStatusRequest) (response *GetCredentialStatusResponse, err error)
- func (c *Client) GetDataPanel(request *GetDataPanelRequest) (response *GetDataPanelResponse, err error)
- func (c *Client) GetDataPanelWithContext(ctx context.Context, request *GetDataPanelRequest) (response *GetDataPanelResponse, err error)
- func (c *Client) GetDeployInfo(request *GetDeployInfoRequest) (response *GetDeployInfoResponse, err error)
- func (c *Client) GetDeployInfoWithContext(ctx context.Context, request *GetDeployInfoRequest) (response *GetDeployInfoResponse, err error)
- func (c *Client) GetDeployList(request *GetDeployListRequest) (response *GetDeployListResponse, err error)
- func (c *Client) GetDeployListWithContext(ctx context.Context, request *GetDeployListRequest) (response *GetDeployListResponse, err error)
- func (c *Client) GetDidClusterDetail(request *GetDidClusterDetailRequest) (response *GetDidClusterDetailResponse, err error)
- func (c *Client) GetDidClusterDetailWithContext(ctx context.Context, request *GetDidClusterDetailRequest) (response *GetDidClusterDetailResponse, err error)
- func (c *Client) GetDidClusterList(request *GetDidClusterListRequest) (response *GetDidClusterListResponse, err error)
- func (c *Client) GetDidClusterListWithContext(ctx context.Context, request *GetDidClusterListRequest) (response *GetDidClusterListResponse, err error)
- func (c *Client) GetDidDetail(request *GetDidDetailRequest) (response *GetDidDetailResponse, err error)
- func (c *Client) GetDidDetailWithContext(ctx context.Context, request *GetDidDetailRequest) (response *GetDidDetailResponse, err error)
- func (c *Client) GetDidDocument(request *GetDidDocumentRequest) (response *GetDidDocumentResponse, err error)
- func (c *Client) GetDidDocumentWithContext(ctx context.Context, request *GetDidDocumentRequest) (response *GetDidDocumentResponse, err error)
- func (c *Client) GetDidList(request *GetDidListRequest) (response *GetDidListResponse, err error)
- func (c *Client) GetDidListWithContext(ctx context.Context, request *GetDidListRequest) (response *GetDidListResponse, err error)
- func (c *Client) GetDidRegisterTrend(request *GetDidRegisterTrendRequest) (response *GetDidRegisterTrendResponse, err error)
- func (c *Client) GetDidRegisterTrendWithContext(ctx context.Context, request *GetDidRegisterTrendRequest) (response *GetDidRegisterTrendResponse, err error)
- func (c *Client) GetDidServiceDetail(request *GetDidServiceDetailRequest) (response *GetDidServiceDetailResponse, err error)
- func (c *Client) GetDidServiceDetailWithContext(ctx context.Context, request *GetDidServiceDetailRequest) (response *GetDidServiceDetailResponse, err error)
- func (c *Client) GetDidServiceList(request *GetDidServiceListRequest) (response *GetDidServiceListResponse, err error)
- func (c *Client) GetDidServiceListWithContext(ctx context.Context, request *GetDidServiceListRequest) (response *GetDidServiceListResponse, err error)
- func (c *Client) GetGroupList(request *GetGroupListRequest) (response *GetGroupListResponse, err error)
- func (c *Client) GetGroupListWithContext(ctx context.Context, request *GetGroupListRequest) (response *GetGroupListResponse, err error)
- func (c *Client) GetLabelList(request *GetLabelListRequest) (response *GetLabelListResponse, err error)
- func (c *Client) GetLabelListWithContext(ctx context.Context, request *GetLabelListRequest) (response *GetLabelListResponse, err error)
- func (c *Client) GetPolicyList(request *GetPolicyListRequest) (response *GetPolicyListResponse, err error)
- func (c *Client) GetPolicyListWithContext(ctx context.Context, request *GetPolicyListRequest) (response *GetPolicyListResponse, err error)
- func (c *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
- func (c *Client) GetPublicKeyWithContext(ctx context.Context, request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
- func (c *Client) QueryPolicy(request *QueryPolicyRequest) (response *QueryPolicyResponse, err error)
- func (c *Client) QueryPolicyWithContext(ctx context.Context, request *QueryPolicyRequest) (response *QueryPolicyResponse, err error)
- func (c *Client) RecognizeAuthorityIssuer(request *RecognizeAuthorityIssuerRequest) (response *RecognizeAuthorityIssuerResponse, err error)
- func (c *Client) RecognizeAuthorityIssuerWithContext(ctx context.Context, request *RecognizeAuthorityIssuerRequest) (response *RecognizeAuthorityIssuerResponse, err error)
- func (c *Client) RegisterClaimPolicy(request *RegisterClaimPolicyRequest) (response *RegisterClaimPolicyResponse, err error)
- func (c *Client) RegisterClaimPolicyWithContext(ctx context.Context, request *RegisterClaimPolicyRequest) (response *RegisterClaimPolicyResponse, err error)
- func (c *Client) RegisterCpt(request *RegisterCptRequest) (response *RegisterCptResponse, err error)
- func (c *Client) RegisterCptWithContext(ctx context.Context, request *RegisterCptRequest) (response *RegisterCptResponse, err error)
- func (c *Client) RegisterIssuer(request *RegisterIssuerRequest) (response *RegisterIssuerResponse, err error)
- func (c *Client) RegisterIssuerWithContext(ctx context.Context, request *RegisterIssuerRequest) (response *RegisterIssuerResponse, err error)
- func (c *Client) RemoveHash(request *RemoveHashRequest) (response *RemoveHashResponse, err error)
- func (c *Client) RemoveHashWithContext(ctx context.Context, request *RemoveHashRequest) (response *RemoveHashResponse, err error)
- func (c *Client) SetCredentialStatus(request *SetCredentialStatusRequest) (response *SetCredentialStatusResponse, err error)
- func (c *Client) SetCredentialStatusWithContext(ctx context.Context, request *SetCredentialStatusRequest) (response *SetCredentialStatusResponse, err error)
- func (c *Client) VerifyCredential(request *VerifyCredentialRequest) (response *VerifyCredentialResponse, err error)
- func (c *Client) VerifyCredentialWithContext(ctx context.Context, request *VerifyCredentialRequest) (response *VerifyCredentialResponse, err error)
 
- type ConsortiumItem
- type Contract
- type CptIssueRank
- type CptListData
- type CreateCredentialRequest
- type CreateCredentialRequestParams
- type CreateCredentialResponse
- type CreateCredentialResponseParams
- type CreateDidServiceRequest
- type CreateDidServiceRequestParams
- type CreateDidServiceResponse
- type CreateDidServiceResponseParams
- type CreateLabelRequest
- type CreateLabelRequestParams
- type CreateLabelResponse
- type CreateLabelResponseParams
- type CreateSelectiveCredentialRequest
- type CreateSelectiveCredentialRequestParams
- type CreateSelectiveCredentialResponse
- type CreateSelectiveCredentialResponseParams
- type CreateTDidByPrivateKeyRequest
- type CreateTDidByPrivateKeyRequestParams
- type CreateTDidByPrivateKeyResponse
- type CreateTDidByPrivateKeyResponseParams
- type CreateTDidByPublicKeyRequest
- type CreateTDidByPublicKeyRequestParams
- type CreateTDidByPublicKeyResponse
- type CreateTDidByPublicKeyResponseParams
- type CreateTDidRequest
- type CreateTDidRequestParams
- type CreateTDidResponse
- type CreateTDidResponseParams
- type CredentialStatus
- type DeployByNameRequest
- type DeployByNameRequestParams
- type DeployByNameResponse
- type DeployByNameResponseParams
- type DidCluster
- type DidData
- type DidServiceInfo
- type DownCptRequest
- type DownCptRequestParams
- type DownCptResponse
- type DownCptResponseParams
- type EnableHashRequest
- type EnableHashRequestParams
- type EnableHashResponse
- type EnableHashResponseParams
- type FunctionArg
- type GetAgencyTDidRequest
- type GetAgencyTDidRequestParams
- type GetAgencyTDidResponse
- type GetAgencyTDidResponseParams
- type GetAuthoritiesListRequest
- type GetAuthoritiesListRequestParams
- type GetAuthoritiesListResponse
- type GetAuthoritiesListResponseParams
- type GetAuthorityIssuerRequest
- type GetAuthorityIssuerRequestParams
- type GetAuthorityIssuerResponse
- type GetAuthorityIssuerResponseParams
- type GetConsortiumClusterListRequest
- type GetConsortiumClusterListRequestParams
- type GetConsortiumClusterListResponse
- type GetConsortiumClusterListResponseParams
- type GetConsortiumListRequest
- type GetConsortiumListRequestParams
- type GetConsortiumListResponse
- type GetConsortiumListResponseParams
- type GetCptInfoRequest
- type GetCptInfoRequestParams
- type GetCptInfoResponse
- type GetCptInfoResponseParams
- type GetCptListRequest
- type GetCptListRequestParams
- type GetCptListResponse
- type GetCptListResponseParams
- type GetCredentialCptRankRequest
- type GetCredentialCptRankRequestParams
- type GetCredentialCptRankResponse
- type GetCredentialCptRankResponseParams
- type GetCredentialIssueRankRequest
- type GetCredentialIssueRankRequestParams
- type GetCredentialIssueRankResponse
- type GetCredentialIssueRankResponseParams
- type GetCredentialIssueTrendRequest
- type GetCredentialIssueTrendRequestParams
- type GetCredentialIssueTrendResponse
- type GetCredentialIssueTrendResponseParams
- type GetCredentialStatusRequest
- type GetCredentialStatusRequestParams
- type GetCredentialStatusResponse
- type GetCredentialStatusResponseParams
- type GetDataPanelRequest
- type GetDataPanelRequestParams
- type GetDataPanelResponse
- type GetDataPanelResponseParams
- type GetDeployInfoRequest
- type GetDeployInfoRequestParams
- type GetDeployInfoResponse
- type GetDeployInfoResponseParams
- type GetDeployListRequest
- type GetDeployListRequestParams
- type GetDeployListResponse
- type GetDeployListResponseParams
- type GetDidClusterDetailRequest
- type GetDidClusterDetailRequestParams
- type GetDidClusterDetailResponse
- type GetDidClusterDetailResponseParams
- type GetDidClusterListRequest
- type GetDidClusterListRequestParams
- type GetDidClusterListResponse
- type GetDidClusterListResponseParams
- type GetDidDetailRequest
- type GetDidDetailRequestParams
- type GetDidDetailResponse
- type GetDidDetailResponseParams
- type GetDidDocumentRequest
- type GetDidDocumentRequestParams
- type GetDidDocumentResponse
- type GetDidDocumentResponseParams
- type GetDidListRequest
- type GetDidListRequestParams
- type GetDidListResponse
- type GetDidListResponseParams
- type GetDidRegisterTrendRequest
- type GetDidRegisterTrendRequestParams
- type GetDidRegisterTrendResponse
- type GetDidRegisterTrendResponseParams
- type GetDidServiceDetailRequest
- type GetDidServiceDetailRequestParams
- type GetDidServiceDetailResponse
- type GetDidServiceDetailResponseParams
- type GetDidServiceListRequest
- type GetDidServiceListRequestParams
- type GetDidServiceListResponse
- type GetDidServiceListResponseParams
- type GetGroupListRequest
- type GetGroupListRequestParams
- type GetGroupListResponse
- type GetGroupListResponseParams
- type GetLabelListRequest
- type GetLabelListRequestParams
- type GetLabelListResponse
- type GetLabelListResponseParams
- type GetPolicyListRequest
- type GetPolicyListRequestParams
- type GetPolicyListResponse
- type GetPolicyListResponseParams
- type GetPublicKeyRequest
- type GetPublicKeyRequestParams
- type GetPublicKeyResponse
- type GetPublicKeyResponseParams
- type Group
- type Identity
- type Label
- type Policy
- type Proof
- type QueryPolicyRequest
- type QueryPolicyRequestParams
- type QueryPolicyResponse
- type QueryPolicyResponseParams
- type RecognizeAuthorityIssuerRequest
- type RecognizeAuthorityIssuerRequestParams
- type RecognizeAuthorityIssuerResponse
- type RecognizeAuthorityIssuerResponseParams
- type RegisterClaimPolicyRequest
- type RegisterClaimPolicyRequestParams
- type RegisterClaimPolicyResponse
- type RegisterClaimPolicyResponseParams
- type RegisterCptRequest
- type RegisterCptRequestParams
- type RegisterCptResponse
- type RegisterCptResponseParams
- type RegisterIssuerRequest
- type RegisterIssuerRequestParams
- type RegisterIssuerResponse
- type RegisterIssuerResponseParams
- type RemoveHashRequest
- type RemoveHashRequestParams
- type RemoveHashResponse
- type RemoveHashResponseParams
- type SetCredentialStatusRequest
- type SetCredentialStatusRequestParams
- type SetCredentialStatusResponse
- type SetCredentialStatusResponseParams
- type Task
- type TransactionArg
- type Trend
- type VerifyCredentialRequest
- type VerifyCredentialRequestParams
- type VerifyCredentialResponse
- type VerifyCredentialResponseParams
- type VerifyFunctionArg
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // Insufficient permissions. FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" // Operation failed. FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" // Internal error. INTERNALERROR = "InternalError" // Server error. INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" // Internal service error. INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" // Service error. INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" // Unknown error. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Parameter error. INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // The resource doesn’t exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2021-05-19"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddLabelRequest ¶
type AddLabelRequest struct {
	*tchttp.BaseRequest
	// The label ID.
	LabelId *uint64 `json:"LabelId,omitnil,omitempty" name:"LabelId"`
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewAddLabelRequest ¶
func NewAddLabelRequest() (request *AddLabelRequest)
func (*AddLabelRequest) FromJsonString ¶
func (r *AddLabelRequest) 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 (*AddLabelRequest) ToJsonString ¶
func (r *AddLabelRequest) ToJsonString() string
type AddLabelRequestParams ¶
type AddLabelRequestParams struct {
	// The label ID.
	LabelId *uint64 `json:"LabelId,omitnil,omitempty" name:"LabelId"`
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type AddLabelResponse ¶
type AddLabelResponse struct {
	*tchttp.BaseResponse
	Response *AddLabelResponseParams `json:"Response"`
}
    func NewAddLabelResponse ¶
func NewAddLabelResponse() (response *AddLabelResponse)
func (*AddLabelResponse) FromJsonString ¶
func (r *AddLabelResponse) 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 (*AddLabelResponse) ToJsonString ¶
func (r *AddLabelResponse) ToJsonString() string
type AddLabelResponseParams ¶
type AddLabelResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type Authority ¶
type Authority struct {
	// The authority ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The DID.
	DidId *uint64 `json:"DidId,omitnil,omitempty" name:"DidId"`
	// The details of the DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The authority name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// Whether the authority is certified. `1`: Yes; `2`: No.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
	// The DID service ID.
	DidServiceId *uint64 `json:"DidServiceId,omitnil,omitempty" name:"DidServiceId"`
	// The application ID.
	ContractAppId *uint64 `json:"ContractAppId,omitnil,omitempty" name:"ContractAppId"`
	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
	// The registration time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	RegisterTime *string `json:"RegisterTime,omitnil,omitempty" name:"RegisterTime"`
	// The recognition time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	RecognizeTime *string `json:"RecognizeTime,omitnil,omitempty" name:"RecognizeTime"`
	// The creation time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The last updated time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The on-chain label.
	LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"`
}
    type BcosClusterItem ¶
type BcosClusterItem struct {
	// The network ID.
	ChainId *uint64 `json:"ChainId,omitnil,omitempty" name:"ChainId"`
	// The network name.
	ChainName *string `json:"ChainName,omitnil,omitempty" name:"ChainName"`
	// The number of organizations.
	AgencyCount *uint64 `json:"AgencyCount,omitnil,omitempty" name:"AgencyCount"`
	// The consortium ID.
	ConsortiumId *uint64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
	// The network status.
	ChainStatus *uint64 `json:"ChainStatus,omitnil,omitempty" name:"ChainStatus"`
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
	// The cluster ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The organization ID.
	AgencyId *uint64 `json:"AgencyId,omitnil,omitempty" name:"AgencyId"`
	// The renewal status.
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
	// The network mode.
	TotalNetworkNode *uint64 `json:"TotalNetworkNode,omitnil,omitempty" name:"TotalNetworkNode"`
	// The number of nodes created.
	TotalCreateNode *uint64 `json:"TotalCreateNode,omitnil,omitempty" name:"TotalCreateNode"`
	// The total number of groups.
	TotalGroups *uint64 `json:"TotalGroups,omitnil,omitempty" name:"TotalGroups"`
}
    type CancelAuthorityIssuerRequest ¶
type CancelAuthorityIssuerRequest struct {
	*tchttp.BaseRequest
	// The details of the DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewCancelAuthorityIssuerRequest ¶
func NewCancelAuthorityIssuerRequest() (request *CancelAuthorityIssuerRequest)
func (*CancelAuthorityIssuerRequest) FromJsonString ¶
func (r *CancelAuthorityIssuerRequest) 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 (*CancelAuthorityIssuerRequest) ToJsonString ¶
func (r *CancelAuthorityIssuerRequest) ToJsonString() string
type CancelAuthorityIssuerRequestParams ¶
type CancelAuthorityIssuerRequestParams struct {
	// The details of the DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type CancelAuthorityIssuerResponse ¶
type CancelAuthorityIssuerResponse struct {
	*tchttp.BaseResponse
	Response *CancelAuthorityIssuerResponseParams `json:"Response"`
}
    func NewCancelAuthorityIssuerResponse ¶
func NewCancelAuthorityIssuerResponse() (response *CancelAuthorityIssuerResponse)
func (*CancelAuthorityIssuerResponse) FromJsonString ¶
func (r *CancelAuthorityIssuerResponse) 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 (*CancelAuthorityIssuerResponse) ToJsonString ¶
func (r *CancelAuthorityIssuerResponse) ToJsonString() string
type CancelAuthorityIssuerResponseParams ¶
type CancelAuthorityIssuerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CheckChainRequest ¶
type CheckChainRequest struct {
	*tchttp.BaseRequest
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The name of the DID organization.
	AgencyName *string `json:"AgencyName,omitnil,omitempty" name:"AgencyName"`
}
    func NewCheckChainRequest ¶
func NewCheckChainRequest() (request *CheckChainRequest)
func (*CheckChainRequest) FromJsonString ¶
func (r *CheckChainRequest) 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 (*CheckChainRequest) ToJsonString ¶
func (r *CheckChainRequest) ToJsonString() string
type CheckChainRequestParams ¶
type CheckChainRequestParams struct {
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The name of the DID organization.
	AgencyName *string `json:"AgencyName,omitnil,omitempty" name:"AgencyName"`
}
    Predefined struct for user
type CheckChainResponse ¶
type CheckChainResponse struct {
	*tchttp.BaseResponse
	Response *CheckChainResponseParams `json:"Response"`
}
    func NewCheckChainResponse ¶
func NewCheckChainResponse() (response *CheckChainResponse)
func (*CheckChainResponse) FromJsonString ¶
func (r *CheckChainResponse) 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 (*CheckChainResponse) ToJsonString ¶
func (r *CheckChainResponse) ToJsonString() string
type CheckChainResponseParams ¶
type CheckChainResponseParams struct {
	// Whether you are the owner of the consortium. `1`: Yes; `0`: No.
	RoleType *int64 `json:"RoleType,omitnil,omitempty" name:"RoleType"`
	// The chain ID.
	ChainId *string `json:"ChainId,omitnil,omitempty" name:"ChainId"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CheckDidDeployRequest ¶
type CheckDidDeployRequest struct {
	*tchttp.BaseRequest
	// The task ID.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}
    func NewCheckDidDeployRequest ¶
func NewCheckDidDeployRequest() (request *CheckDidDeployRequest)
func (*CheckDidDeployRequest) FromJsonString ¶
func (r *CheckDidDeployRequest) 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 (*CheckDidDeployRequest) ToJsonString ¶
func (r *CheckDidDeployRequest) ToJsonString() string
type CheckDidDeployRequestParams ¶
type CheckDidDeployRequestParams struct {
	// The task ID.
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}
    Predefined struct for user
type CheckDidDeployResponse ¶
type CheckDidDeployResponse struct {
	*tchttp.BaseResponse
	Response *CheckDidDeployResponseParams `json:"Response"`
}
    func NewCheckDidDeployResponse ¶
func NewCheckDidDeployResponse() (response *CheckDidDeployResponse)
func (*CheckDidDeployResponse) FromJsonString ¶
func (r *CheckDidDeployResponse) 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 (*CheckDidDeployResponse) ToJsonString ¶
func (r *CheckDidDeployResponse) ToJsonString() string
type CheckDidDeployResponseParams ¶
type CheckDidDeployResponseParams struct {
	// The service information.
	Task *Task `json:"Task,omitnil,omitempty" name:"Task"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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) AddLabel ¶
func (c *Client) AddLabel(request *AddLabelRequest) (response *AddLabelResponse, err error)
AddLabel This API is used to add a label to a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) AddLabelWithContext ¶
func (c *Client) AddLabelWithContext(ctx context.Context, request *AddLabelRequest) (response *AddLabelResponse, err error)
AddLabel This API is used to add a label to a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CancelAuthorityIssuer ¶
func (c *Client) CancelAuthorityIssuer(request *CancelAuthorityIssuerRequest) (response *CancelAuthorityIssuerResponse, err error)
CancelAuthorityIssuer This API is used to revoke the certification of an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CancelAuthorityIssuerWithContext ¶
func (c *Client) CancelAuthorityIssuerWithContext(ctx context.Context, request *CancelAuthorityIssuerRequest) (response *CancelAuthorityIssuerResponse, err error)
CancelAuthorityIssuer This API is used to revoke the certification of an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckChain ¶
func (c *Client) CheckChain(request *CheckChainRequest) (response *CheckChainResponse, err error)
CheckChain This API is used to get blockchain information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckChainWithContext ¶
func (c *Client) CheckChainWithContext(ctx context.Context, request *CheckChainRequest) (response *CheckChainResponse, err error)
CheckChain This API is used to get blockchain information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckDidDeploy ¶
func (c *Client) CheckDidDeploy(request *CheckDidDeployRequest) (response *CheckDidDeployResponse, err error)
CheckDidDeploy This API is used to query a deployment task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckDidDeployWithContext ¶
func (c *Client) CheckDidDeployWithContext(ctx context.Context, request *CheckDidDeployRequest) (response *CheckDidDeployResponse, err error)
CheckDidDeploy This API is used to query a deployment task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCredential ¶
func (c *Client) CreateCredential(request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
CreateCredential This API is used to create a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCredentialWithContext ¶
func (c *Client) CreateCredentialWithContext(ctx context.Context, request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
CreateCredential This API is used to create a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDidService ¶
func (c *Client) CreateDidService(request *CreateDidServiceRequest) (response *CreateDidServiceResponse, err error)
CreateDidService This API is used to create a DID service.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDidServiceWithContext ¶
func (c *Client) CreateDidServiceWithContext(ctx context.Context, request *CreateDidServiceRequest) (response *CreateDidServiceResponse, err error)
CreateDidService This API is used to create a DID service.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLabel ¶
func (c *Client) CreateLabel(request *CreateLabelRequest) (response *CreateLabelResponse, err error)
CreateLabel This API is used to create a label.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLabelWithContext ¶
func (c *Client) CreateLabelWithContext(ctx context.Context, request *CreateLabelRequest) (response *CreateLabelResponse, err error)
CreateLabel This API is used to create a label.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSelectiveCredential ¶
func (c *Client) CreateSelectiveCredential(request *CreateSelectiveCredentialRequest) (response *CreateSelectiveCredentialResponse, err error)
CreateSelectiveCredential This API is used to create a selective disclosure credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSelectiveCredentialWithContext ¶
func (c *Client) CreateSelectiveCredentialWithContext(ctx context.Context, request *CreateSelectiveCredentialRequest) (response *CreateSelectiveCredentialResponse, err error)
CreateSelectiveCredential This API is used to create a selective disclosure credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTDid ¶
func (c *Client) CreateTDid(request *CreateTDidRequest) (response *CreateTDidResponse, err error)
CreateTDid This API is used to create an organization DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue"
func (*Client) CreateTDidByPrivateKey ¶
func (c *Client) CreateTDidByPrivateKey(request *CreateTDidByPrivateKeyRequest) (response *CreateTDidByPrivateKeyResponse, err error)
CreateTDidByPrivateKey This API is used to generate a TDID by private key.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTDidByPrivateKeyWithContext ¶
func (c *Client) CreateTDidByPrivateKeyWithContext(ctx context.Context, request *CreateTDidByPrivateKeyRequest) (response *CreateTDidByPrivateKeyResponse, err error)
CreateTDidByPrivateKey This API is used to generate a TDID by private key.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTDidByPublicKey ¶
func (c *Client) CreateTDidByPublicKey(request *CreateTDidByPublicKeyRequest) (response *CreateTDidByPublicKeyResponse, err error)
CreateTDidByPublicKey
This API is used to generate a TDID by public key.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTDidByPublicKeyWithContext ¶
func (c *Client) CreateTDidByPublicKeyWithContext(ctx context.Context, request *CreateTDidByPublicKeyRequest) (response *CreateTDidByPublicKeyResponse, err error)
CreateTDidByPublicKey
This API is used to generate a TDID by public key.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTDidWithContext ¶
func (c *Client) CreateTDidWithContext(ctx context.Context, request *CreateTDidRequest) (response *CreateTDidResponse, err error)
CreateTDid This API is used to create an organization DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue"
func (*Client) DeployByName ¶
func (c *Client) DeployByName(request *DeployByNameRequest) (response *DeployByNameResponse, err error)
DeployByName This API is used to deploy a TDID contract by name.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeployByNameWithContext ¶
func (c *Client) DeployByNameWithContext(ctx context.Context, request *DeployByNameRequest) (response *DeployByNameResponse, err error)
DeployByName This API is used to deploy a TDID contract by name.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DownCpt ¶
func (c *Client) DownCpt(request *DownCptRequest) (response *DownCptResponse, err error)
DownCpt This API is used to download a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DownCptWithContext ¶
func (c *Client) DownCptWithContext(ctx context.Context, request *DownCptRequest) (response *DownCptResponse, err error)
DownCpt This API is used to download a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) EnableHash ¶
func (c *Client) EnableHash(request *EnableHashRequest) (response *EnableHashResponse, err error)
EnableHash This API is used to enable a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) EnableHashWithContext ¶
func (c *Client) EnableHashWithContext(ctx context.Context, request *EnableHashRequest) (response *EnableHashResponse, err error)
EnableHash This API is used to enable a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAgencyTDid ¶
func (c *Client) GetAgencyTDid(request *GetAgencyTDidRequest) (response *GetAgencyTDidResponse, err error)
GetAgencyTDid 该接口已废弃
This API is used to get the DID details of the current organization.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAgencyTDidWithContext ¶
func (c *Client) GetAgencyTDidWithContext(ctx context.Context, request *GetAgencyTDidRequest) (response *GetAgencyTDidResponse, err error)
GetAgencyTDid 该接口已废弃
This API is used to get the DID details of the current organization.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAuthoritiesList ¶
func (c *Client) GetAuthoritiesList(request *GetAuthoritiesListRequest) (response *GetAuthoritiesListResponse, err error)
GetAuthoritiesList This API is used to query authorities.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAuthoritiesListWithContext ¶
func (c *Client) GetAuthoritiesListWithContext(ctx context.Context, request *GetAuthoritiesListRequest) (response *GetAuthoritiesListResponse, err error)
GetAuthoritiesList This API is used to query authorities.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAuthorityIssuer ¶
func (c *Client) GetAuthorityIssuer(request *GetAuthorityIssuerRequest) (response *GetAuthorityIssuerResponse, err error)
GetAuthorityIssuer This API is used to get the information of an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAuthorityIssuerWithContext ¶
func (c *Client) GetAuthorityIssuerWithContext(ctx context.Context, request *GetAuthorityIssuerRequest) (response *GetAuthorityIssuerResponse, err error)
GetAuthorityIssuer This API is used to get the information of an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetConsortiumClusterList ¶
func (c *Client) GetConsortiumClusterList(request *GetConsortiumClusterListRequest) (response *GetConsortiumClusterListResponse, err error)
GetConsortiumClusterList This API is used to query the BCOS networks of a consortium.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetConsortiumClusterListWithContext ¶
func (c *Client) GetConsortiumClusterListWithContext(ctx context.Context, request *GetConsortiumClusterListRequest) (response *GetConsortiumClusterListResponse, err error)
GetConsortiumClusterList This API is used to query the BCOS networks of a consortium.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetConsortiumList ¶
func (c *Client) GetConsortiumList(request *GetConsortiumListRequest) (response *GetConsortiumListResponse, err error)
GetConsortiumList This API is used to query consortiums.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetConsortiumListWithContext ¶
func (c *Client) GetConsortiumListWithContext(ctx context.Context, request *GetConsortiumListRequest) (response *GetConsortiumListResponse, err error)
GetConsortiumList This API is used to query consortiums.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCptInfo ¶
func (c *Client) GetCptInfo(request *GetCptInfoRequest) (response *GetCptInfoResponse, err error)
GetCptInfo This API is used to get the information of a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCptInfoWithContext ¶
func (c *Client) GetCptInfoWithContext(ctx context.Context, request *GetCptInfoRequest) (response *GetCptInfoResponse, err error)
GetCptInfo This API is used to get the information of a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCptList ¶
func (c *Client) GetCptList(request *GetCptListRequest) (response *GetCptListResponse, err error)
GetCptList This API is used to query claim protocol types (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCptListWithContext ¶
func (c *Client) GetCptListWithContext(ctx context.Context, request *GetCptListRequest) (response *GetCptListResponse, err error)
GetCptList This API is used to query claim protocol types (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialCptRank ¶
func (c *Client) GetCredentialCptRank(request *GetCredentialCptRankRequest) (response *GetCredentialCptRankResponse, err error)
GetCredentialCptRank This API is used to get the rankings of claim protocol types (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialCptRankWithContext ¶
func (c *Client) GetCredentialCptRankWithContext(ctx context.Context, request *GetCredentialCptRankRequest) (response *GetCredentialCptRankResponse, err error)
GetCredentialCptRank This API is used to get the rankings of claim protocol types (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialIssueRank ¶
func (c *Client) GetCredentialIssueRank(request *GetCredentialIssueRankRequest) (response *GetCredentialIssueRankResponse, err error)
GetCredentialIssueRank This API is used to get the rankings of issuers.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialIssueRankWithContext ¶
func (c *Client) GetCredentialIssueRankWithContext(ctx context.Context, request *GetCredentialIssueRankRequest) (response *GetCredentialIssueRankResponse, err error)
GetCredentialIssueRank This API is used to get the rankings of issuers.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialIssueTrend ¶
func (c *Client) GetCredentialIssueTrend(request *GetCredentialIssueTrendRequest) (response *GetCredentialIssueTrendResponse, err error)
GetCredentialIssueTrend This API is used to query credential issuing trends.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialIssueTrendWithContext ¶
func (c *Client) GetCredentialIssueTrendWithContext(ctx context.Context, request *GetCredentialIssueTrendRequest) (response *GetCredentialIssueTrendResponse, err error)
GetCredentialIssueTrend This API is used to query credential issuing trends.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialStatus ¶
func (c *Client) GetCredentialStatus(request *GetCredentialStatusRequest) (response *GetCredentialStatusResponse, err error)
GetCredentialStatus This API is used to query the on-chain status of a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetCredentialStatusWithContext ¶
func (c *Client) GetCredentialStatusWithContext(ctx context.Context, request *GetCredentialStatusRequest) (response *GetCredentialStatusResponse, err error)
GetCredentialStatus This API is used to query the on-chain status of a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDataPanel ¶
func (c *Client) GetDataPanel(request *GetDataPanelRequest) (response *GetDataPanelResponse, err error)
GetDataPanel This API is used to query the overall statistics of a network.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDataPanelWithContext ¶
func (c *Client) GetDataPanelWithContext(ctx context.Context, request *GetDataPanelRequest) (response *GetDataPanelResponse, err error)
GetDataPanel This API is used to query the overall statistics of a network.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDeployInfo ¶
func (c *Client) GetDeployInfo(request *GetDeployInfoRequest) (response *GetDeployInfoResponse, err error)
GetDeployInfo This API is used to query the deployment information of a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDeployInfoWithContext ¶
func (c *Client) GetDeployInfoWithContext(ctx context.Context, request *GetDeployInfoRequest) (response *GetDeployInfoResponse, err error)
GetDeployInfo This API is used to query the deployment information of a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDeployList ¶
func (c *Client) GetDeployList(request *GetDeployListRequest) (response *GetDeployListResponse, err error)
GetDeployList This API is used to query deployed contracts.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDeployListWithContext ¶
func (c *Client) GetDeployListWithContext(ctx context.Context, request *GetDeployListRequest) (response *GetDeployListResponse, err error)
GetDeployList This API is used to query deployed contracts.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidClusterDetail ¶
func (c *Client) GetDidClusterDetail(request *GetDidClusterDetailRequest) (response *GetDidClusterDetailResponse, err error)
GetDidClusterDetail This API is used to get the information of a DID blockchain network.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidClusterDetailWithContext ¶
func (c *Client) GetDidClusterDetailWithContext(ctx context.Context, request *GetDidClusterDetailRequest) (response *GetDidClusterDetailResponse, err error)
GetDidClusterDetail This API is used to get the information of a DID blockchain network.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidClusterList ¶
func (c *Client) GetDidClusterList(request *GetDidClusterListRequest) (response *GetDidClusterListResponse, err error)
GetDidClusterList This API is used to query your DID networks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidClusterListWithContext ¶
func (c *Client) GetDidClusterListWithContext(ctx context.Context, request *GetDidClusterListRequest) (response *GetDidClusterListResponse, err error)
GetDidClusterList This API is used to query your DID networks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidDetail ¶
func (c *Client) GetDidDetail(request *GetDidDetailRequest) (response *GetDidDetailResponse, err error)
GetDidDetail This API is used to get the information of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidDetailWithContext ¶
func (c *Client) GetDidDetailWithContext(ctx context.Context, request *GetDidDetailRequest) (response *GetDidDetailResponse, err error)
GetDidDetail This API is used to get the information of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidDocument ¶
func (c *Client) GetDidDocument(request *GetDidDocumentRequest) (response *GetDidDocumentResponse, err error)
GetDidDocument This API is used to get the document of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidDocumentWithContext ¶
func (c *Client) GetDidDocumentWithContext(ctx context.Context, request *GetDidDocumentRequest) (response *GetDidDocumentResponse, err error)
GetDidDocument This API is used to get the document of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidList ¶
func (c *Client) GetDidList(request *GetDidListRequest) (response *GetDidListResponse, err error)
GetDidList This API is used to query DIDs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidListWithContext ¶
func (c *Client) GetDidListWithContext(ctx context.Context, request *GetDidListRequest) (response *GetDidListResponse, err error)
GetDidList This API is used to query DIDs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidRegisterTrend ¶
func (c *Client) GetDidRegisterTrend(request *GetDidRegisterTrendRequest) (response *GetDidRegisterTrendResponse, err error)
GetDidRegisterTrend This API is used to query DID registration trends.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidRegisterTrendWithContext ¶
func (c *Client) GetDidRegisterTrendWithContext(ctx context.Context, request *GetDidRegisterTrendRequest) (response *GetDidRegisterTrendResponse, err error)
GetDidRegisterTrend This API is used to query DID registration trends.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidServiceDetail ¶
func (c *Client) GetDidServiceDetail(request *GetDidServiceDetailRequest) (response *GetDidServiceDetailResponse, err error)
GetDidServiceDetail This API is used to get the information of a DID service.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidServiceDetailWithContext ¶
func (c *Client) GetDidServiceDetailWithContext(ctx context.Context, request *GetDidServiceDetailRequest) (response *GetDidServiceDetailResponse, err error)
GetDidServiceDetail This API is used to get the information of a DID service.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidServiceList ¶
func (c *Client) GetDidServiceList(request *GetDidServiceListRequest) (response *GetDidServiceListResponse, err error)
GetDidServiceList This API is used to query DID services.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetDidServiceListWithContext ¶
func (c *Client) GetDidServiceListWithContext(ctx context.Context, request *GetDidServiceListRequest) (response *GetDidServiceListResponse, err error)
GetDidServiceList This API is used to query DID services.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetGroupList ¶
func (c *Client) GetGroupList(request *GetGroupListRequest) (response *GetGroupListResponse, err error)
GetGroupList This API is used to query main groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetGroupListWithContext ¶
func (c *Client) GetGroupListWithContext(ctx context.Context, request *GetGroupListRequest) (response *GetGroupListResponse, err error)
GetGroupList This API is used to query main groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetLabelList ¶
func (c *Client) GetLabelList(request *GetLabelListRequest) (response *GetLabelListResponse, err error)
GetLabelList This API is used to query labels.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetLabelListWithContext ¶
func (c *Client) GetLabelListWithContext(ctx context.Context, request *GetLabelListRequest) (response *GetLabelListResponse, err error)
GetLabelList This API is used to query labels.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetPolicyList ¶
func (c *Client) GetPolicyList(request *GetPolicyListRequest) (response *GetPolicyListResponse, err error)
GetPolicyList This API is used to query disclosure policies.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetPolicyListWithContext ¶
func (c *Client) GetPolicyListWithContext(ctx context.Context, request *GetPolicyListRequest) (response *GetPolicyListResponse, err error)
GetPolicyList This API is used to query disclosure policies.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetPublicKey ¶
func (c *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
GetPublicKey This API is used to get the public key of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetPublicKeyWithContext ¶
func (c *Client) GetPublicKeyWithContext(ctx context.Context, request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
GetPublicKey This API is used to get the public key of a DID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) QueryPolicy ¶
func (c *Client) QueryPolicy(request *QueryPolicyRequest) (response *QueryPolicyResponse, err error)
QueryPolicy This API is used to get the information of a disclosure policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) QueryPolicyWithContext ¶
func (c *Client) QueryPolicyWithContext(ctx context.Context, request *QueryPolicyRequest) (response *QueryPolicyResponse, err error)
QueryPolicy This API is used to get the information of a disclosure policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RecognizeAuthorityIssuer ¶
func (c *Client) RecognizeAuthorityIssuer(request *RecognizeAuthorityIssuerRequest) (response *RecognizeAuthorityIssuerResponse, err error)
RecognizeAuthorityIssuer This API is used to certify an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RecognizeAuthorityIssuerWithContext ¶
func (c *Client) RecognizeAuthorityIssuerWithContext(ctx context.Context, request *RecognizeAuthorityIssuerRequest) (response *RecognizeAuthorityIssuerResponse, err error)
RecognizeAuthorityIssuer This API is used to certify an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterClaimPolicy ¶
func (c *Client) RegisterClaimPolicy(request *RegisterClaimPolicyRequest) (response *RegisterClaimPolicyResponse, err error)
RegisterClaimPolicy This API is used to register a disclosure policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterClaimPolicyWithContext ¶
func (c *Client) RegisterClaimPolicyWithContext(ctx context.Context, request *RegisterClaimPolicyRequest) (response *RegisterClaimPolicyResponse, err error)
RegisterClaimPolicy This API is used to register a disclosure policy.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterCpt ¶
func (c *Client) RegisterCpt(request *RegisterCptRequest) (response *RegisterCptResponse, err error)
RegisterCpt This API is used to create a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterCptWithContext ¶
func (c *Client) RegisterCptWithContext(ctx context.Context, request *RegisterCptRequest) (response *RegisterCptResponse, err error)
RegisterCpt This API is used to create a claim protocol type (CPT).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterIssuer ¶
func (c *Client) RegisterIssuer(request *RegisterIssuerRequest) (response *RegisterIssuerResponse, err error)
RegisterIssuer This API is used to register an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterIssuerWithContext ¶
func (c *Client) RegisterIssuerWithContext(ctx context.Context, request *RegisterIssuerRequest) (response *RegisterIssuerResponse, err error)
RegisterIssuer This API is used to register an issuing authority.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RemoveHash ¶
func (c *Client) RemoveHash(request *RemoveHashRequest) (response *RemoveHashResponse, err error)
RemoveHash This API is used to delete a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RemoveHashWithContext ¶
func (c *Client) RemoveHashWithContext(ctx context.Context, request *RemoveHashRequest) (response *RemoveHashResponse, err error)
RemoveHash This API is used to delete a contract.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetCredentialStatus ¶
func (c *Client) SetCredentialStatus(request *SetCredentialStatusRequest) (response *SetCredentialStatusResponse, err error)
SetCredentialStatus This API is used to change the on-chain status of a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetCredentialStatusWithContext ¶
func (c *Client) SetCredentialStatusWithContext(ctx context.Context, request *SetCredentialStatusRequest) (response *SetCredentialStatusResponse, err error)
SetCredentialStatus This API is used to change the on-chain status of a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) VerifyCredential ¶
func (c *Client) VerifyCredential(request *VerifyCredentialRequest) (response *VerifyCredentialResponse, err error)
VerifyCredential This API is used to verify a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) VerifyCredentialWithContext ¶
func (c *Client) VerifyCredentialWithContext(ctx context.Context, request *VerifyCredentialRequest) (response *VerifyCredentialResponse, err error)
VerifyCredential This API is used to verify a credential.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_INVALIDAUTH = "FailedOperation.InvalidAuth" FAILEDOPERATION_OPERATIONEXCEPTION = "FailedOperation.OperationException" INTERNALERROR = "InternalError" INTERNALERROR_SERVEREXCEPTION = "InternalError.ServerException" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_SERVICEPANIC = "InternalError.ServicePanic" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALVALUE = "InvalidParameterValue.IllegalValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type ConsortiumItem ¶
type Contract ¶
type Contract struct {
	// The application name.
	ApplyName *string `json:"ApplyName,omitnil,omitempty" name:"ApplyName"`
	// The contract status. `true`: Enabled; `false`: Not enabled.
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
	// The desensitized CNS address.
	HashShow *string `json:"HashShow,omitnil,omitempty" name:"HashShow"`
	// The DID of the organization that deployed the contract.
	WeId *string `json:"WeId,omitnil,omitempty" name:"WeId"`
	// The name of the organization that deployed the contract.
	DeployName *string `json:"DeployName,omitnil,omitempty" name:"DeployName"`
	// The group.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The deployment time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}
    type CptIssueRank ¶
type CptIssueRank struct {
	// The (claim protocol type) CPT name.
	CptName *string `json:"CptName,omitnil,omitempty" name:"CptName"`
	// The ranking.
	Rank *int64 `json:"Rank,omitnil,omitempty" name:"Rank"`
	// The number of credentials issued.
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
	// The application name.
	ApplyName *string `json:"ApplyName,omitnil,omitempty" name:"ApplyName"`
	// The application ID.
	ApplyId *uint64 `json:"ApplyId,omitnil,omitempty" name:"ApplyId"`
}
    type CptListData ¶
type CptListData struct {
	// The CPT ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The name of the claim protocol type (CPT).
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
	// The application ID of the contract.
	ContractAppId *uint64 `json:"ContractAppId,omitnil,omitempty" name:"ContractAppId"`
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The type. `1`: System CPTs; `2`: Authorization CPTs; `3`: General CPTs
	CptType *uint64 `json:"CptType,omitnil,omitempty" name:"CptType"`
	// The description of the claim protocol type (CPT).
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
	// The JSON file of the claim protocol type (CPT).
	CptJson *string `json:"CptJson,omitnil,omitempty" name:"CptJson"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The last updated time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
	// The DID of the creator.
	CreatorDid *string `json:"CreatorDid,omitnil,omitempty" name:"CreatorDid"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
}
    type CreateCredentialRequest ¶
type CreateCredentialRequest struct {
	*tchttp.BaseRequest
	// A parameter set. For details, see the example.
	FunctionArg *FunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
	// A parameter set. For details, see the example.
	TransactionArg *TransactionArg `json:"TransactionArg,omitnil,omitempty" name:"TransactionArg"`
	// The version.
	VersionCredential *string `json:"VersionCredential,omitnil,omitempty" name:"VersionCredential"`
	// Whether the credential is unsigned.
	UnSigned *bool `json:"UnSigned,omitnil,omitempty" name:"UnSigned"`
}
    func NewCreateCredentialRequest ¶
func NewCreateCredentialRequest() (request *CreateCredentialRequest)
func (*CreateCredentialRequest) FromJsonString ¶
func (r *CreateCredentialRequest) 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 (*CreateCredentialRequest) ToJsonString ¶
func (r *CreateCredentialRequest) ToJsonString() string
type CreateCredentialRequestParams ¶
type CreateCredentialRequestParams struct {
	// A parameter set. For details, see the example.
	FunctionArg *FunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
	// A parameter set. For details, see the example.
	TransactionArg *TransactionArg `json:"TransactionArg,omitnil,omitempty" name:"TransactionArg"`
	// The version.
	VersionCredential *string `json:"VersionCredential,omitnil,omitempty" name:"VersionCredential"`
	// Whether the credential is unsigned.
	UnSigned *bool `json:"UnSigned,omitnil,omitempty" name:"UnSigned"`
}
    Predefined struct for user
type CreateCredentialResponse ¶
type CreateCredentialResponse struct {
	*tchttp.BaseResponse
	Response *CreateCredentialResponseParams `json:"Response"`
}
    func NewCreateCredentialResponse ¶
func NewCreateCredentialResponse() (response *CreateCredentialResponse)
func (*CreateCredentialResponse) FromJsonString ¶
func (r *CreateCredentialResponse) 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 (*CreateCredentialResponse) ToJsonString ¶
func (r *CreateCredentialResponse) ToJsonString() string
type CreateCredentialResponseParams ¶
type CreateCredentialResponseParams struct {
	// The information of the credential.
	CredentialData *string `json:"CredentialData,omitnil,omitempty" name:"CredentialData"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateDidServiceRequest ¶
type CreateDidServiceRequest struct {
	*tchttp.BaseRequest
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The consortium ID.
	ConsortiumId *int64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The organization name.
	AgencyName *string `json:"AgencyName,omitnil,omitempty" name:"AgencyName"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group name.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
}
    func NewCreateDidServiceRequest ¶
func NewCreateDidServiceRequest() (request *CreateDidServiceRequest)
func (*CreateDidServiceRequest) FromJsonString ¶
func (r *CreateDidServiceRequest) 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 (*CreateDidServiceRequest) ToJsonString ¶
func (r *CreateDidServiceRequest) ToJsonString() string
type CreateDidServiceRequestParams ¶
type CreateDidServiceRequestParams struct {
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The consortium ID.
	ConsortiumId *int64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The organization name.
	AgencyName *string `json:"AgencyName,omitnil,omitempty" name:"AgencyName"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group name.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
}
    Predefined struct for user
type CreateDidServiceResponse ¶
type CreateDidServiceResponse struct {
	*tchttp.BaseResponse
	Response *CreateDidServiceResponseParams `json:"Response"`
}
    func NewCreateDidServiceResponse ¶
func NewCreateDidServiceResponse() (response *CreateDidServiceResponse)
func (*CreateDidServiceResponse) FromJsonString ¶
func (r *CreateDidServiceResponse) 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 (*CreateDidServiceResponse) ToJsonString ¶
func (r *CreateDidServiceResponse) ToJsonString() string
type CreateDidServiceResponseParams ¶
type CreateDidServiceResponseParams struct {
	// The service information.
	Task *Task `json:"Task,omitnil,omitempty" name:"Task"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateLabelRequest ¶
type CreateLabelRequest struct {
	*tchttp.BaseRequest
	// The label name.
	LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    func NewCreateLabelRequest ¶
func NewCreateLabelRequest() (request *CreateLabelRequest)
func (*CreateLabelRequest) FromJsonString ¶
func (r *CreateLabelRequest) 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 (*CreateLabelRequest) ToJsonString ¶
func (r *CreateLabelRequest) ToJsonString() string
type CreateLabelRequestParams ¶
type CreateLabelRequestParams struct {
	// The label name.
	LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    Predefined struct for user
type CreateLabelResponse ¶
type CreateLabelResponse struct {
	*tchttp.BaseResponse
	Response *CreateLabelResponseParams `json:"Response"`
}
    func NewCreateLabelResponse ¶
func NewCreateLabelResponse() (response *CreateLabelResponse)
func (*CreateLabelResponse) FromJsonString ¶
func (r *CreateLabelResponse) 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 (*CreateLabelResponse) ToJsonString ¶
func (r *CreateLabelResponse) ToJsonString() string
type CreateLabelResponseParams ¶
type CreateLabelResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateSelectiveCredentialRequest ¶
type CreateSelectiveCredentialRequest struct {
	*tchttp.BaseRequest
	// A parameter set.
	FunctionArg *VerifyFunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
	// The disclosure policy ID.
	PolicyId *uint64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"`
}
    func NewCreateSelectiveCredentialRequest ¶
func NewCreateSelectiveCredentialRequest() (request *CreateSelectiveCredentialRequest)
func (*CreateSelectiveCredentialRequest) FromJsonString ¶
func (r *CreateSelectiveCredentialRequest) 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 (*CreateSelectiveCredentialRequest) ToJsonString ¶
func (r *CreateSelectiveCredentialRequest) ToJsonString() string
type CreateSelectiveCredentialRequestParams ¶
type CreateSelectiveCredentialRequestParams struct {
	// A parameter set.
	FunctionArg *VerifyFunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
	// The disclosure policy ID.
	PolicyId *uint64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"`
}
    Predefined struct for user
type CreateSelectiveCredentialResponse ¶
type CreateSelectiveCredentialResponse struct {
	*tchttp.BaseResponse
	Response *CreateSelectiveCredentialResponseParams `json:"Response"`
}
    func NewCreateSelectiveCredentialResponse ¶
func NewCreateSelectiveCredentialResponse() (response *CreateSelectiveCredentialResponse)
func (*CreateSelectiveCredentialResponse) FromJsonString ¶
func (r *CreateSelectiveCredentialResponse) 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 (*CreateSelectiveCredentialResponse) ToJsonString ¶
func (r *CreateSelectiveCredentialResponse) ToJsonString() string
type CreateSelectiveCredentialResponseParams ¶
type CreateSelectiveCredentialResponseParams struct {
	// The credential string.
	CredentialData *string `json:"CredentialData,omitnil,omitempty" name:"CredentialData"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateTDidByPrivateKeyRequest ¶
type CreateTDidByPrivateKeyRequest struct {
	*tchttp.BaseRequest
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The private key.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`
}
    func NewCreateTDidByPrivateKeyRequest ¶
func NewCreateTDidByPrivateKeyRequest() (request *CreateTDidByPrivateKeyRequest)
func (*CreateTDidByPrivateKeyRequest) FromJsonString ¶
func (r *CreateTDidByPrivateKeyRequest) 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 (*CreateTDidByPrivateKeyRequest) ToJsonString ¶
func (r *CreateTDidByPrivateKeyRequest) ToJsonString() string
type CreateTDidByPrivateKeyRequestParams ¶
type CreateTDidByPrivateKeyRequestParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The private key.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`
}
    Predefined struct for user
type CreateTDidByPrivateKeyResponse ¶
type CreateTDidByPrivateKeyResponse struct {
	*tchttp.BaseResponse
	Response *CreateTDidByPrivateKeyResponseParams `json:"Response"`
}
    func NewCreateTDidByPrivateKeyResponse ¶
func NewCreateTDidByPrivateKeyResponse() (response *CreateTDidByPrivateKeyResponse)
func (*CreateTDidByPrivateKeyResponse) FromJsonString ¶
func (r *CreateTDidByPrivateKeyResponse) 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 (*CreateTDidByPrivateKeyResponse) ToJsonString ¶
func (r *CreateTDidByPrivateKeyResponse) ToJsonString() string
type CreateTDidByPrivateKeyResponseParams ¶
type CreateTDidByPrivateKeyResponseParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateTDidByPublicKeyRequest ¶
type CreateTDidByPublicKeyRequest struct {
	*tchttp.BaseRequest
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The public key.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
	// The encrypted public key.
	EncryptPubKey *string `json:"EncryptPubKey,omitnil,omitempty" name:"EncryptPubKey"`
}
    func NewCreateTDidByPublicKeyRequest ¶
func NewCreateTDidByPublicKeyRequest() (request *CreateTDidByPublicKeyRequest)
func (*CreateTDidByPublicKeyRequest) FromJsonString ¶
func (r *CreateTDidByPublicKeyRequest) 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 (*CreateTDidByPublicKeyRequest) ToJsonString ¶
func (r *CreateTDidByPublicKeyRequest) ToJsonString() string
type CreateTDidByPublicKeyRequestParams ¶
type CreateTDidByPublicKeyRequestParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The public key.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
	// The encrypted public key.
	EncryptPubKey *string `json:"EncryptPubKey,omitnil,omitempty" name:"EncryptPubKey"`
}
    Predefined struct for user
type CreateTDidByPublicKeyResponse ¶
type CreateTDidByPublicKeyResponse struct {
	*tchttp.BaseResponse
	Response *CreateTDidByPublicKeyResponseParams `json:"Response"`
}
    func NewCreateTDidByPublicKeyResponse ¶
func NewCreateTDidByPublicKeyResponse() (response *CreateTDidByPublicKeyResponse)
func (*CreateTDidByPublicKeyResponse) FromJsonString ¶
func (r *CreateTDidByPublicKeyResponse) 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 (*CreateTDidByPublicKeyResponse) ToJsonString ¶
func (r *CreateTDidByPublicKeyResponse) ToJsonString() string
type CreateTDidByPublicKeyResponseParams ¶
type CreateTDidByPublicKeyResponseParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateTDidRequest ¶
type CreateTDidRequest struct {
	*tchttp.BaseRequest
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	//
	Relegation *uint64 `json:"Relegation,omitnil,omitempty" name:"Relegation"`
}
    func NewCreateTDidRequest ¶
func NewCreateTDidRequest() (request *CreateTDidRequest)
func (*CreateTDidRequest) FromJsonString ¶
func (r *CreateTDidRequest) 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 (*CreateTDidRequest) ToJsonString ¶
func (r *CreateTDidRequest) ToJsonString() string
type CreateTDidRequestParams ¶
type CreateTDidRequestParams struct {
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	//
	Relegation *uint64 `json:"Relegation,omitnil,omitempty" name:"Relegation"`
}
    Predefined struct for user
type CreateTDidResponse ¶
type CreateTDidResponse struct {
	*tchttp.BaseResponse
	Response *CreateTDidResponseParams `json:"Response"`
}
    func NewCreateTDidResponse ¶
func NewCreateTDidResponse() (response *CreateTDidResponse)
func (*CreateTDidResponse) FromJsonString ¶
func (r *CreateTDidResponse) 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 (*CreateTDidResponse) ToJsonString ¶
func (r *CreateTDidResponse) ToJsonString() string
type CreateTDidResponseParams ¶
type CreateTDidResponseParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CredentialStatus ¶
type CredentialStatus struct {
	// The credential ID.
	CredentialId *string `json:"CredentialId,omitnil,omitempty" name:"CredentialId"`
	// The credential status. `0`: Invalid; `1`: Valid.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
	// The DID of the issuer.
	Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"`
	// A summary of the credential.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Digest *string `json:"Digest,omitnil,omitempty" name:"Digest"`
	// The credential signature.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Signature *string `json:"Signature,omitnil,omitempty" name:"Signature"`
	// The last updated timestamp.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TimeStamp *uint64 `json:"TimeStamp,omitnil,omitempty" name:"TimeStamp"`
}
    type DeployByNameRequest ¶
type DeployByNameRequest struct {
	*tchttp.BaseRequest
	// The application name.
	ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    func NewDeployByNameRequest ¶
func NewDeployByNameRequest() (request *DeployByNameRequest)
func (*DeployByNameRequest) FromJsonString ¶
func (r *DeployByNameRequest) 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 (*DeployByNameRequest) ToJsonString ¶
func (r *DeployByNameRequest) ToJsonString() string
type DeployByNameRequestParams ¶
type DeployByNameRequestParams struct {
	// The application name.
	ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    Predefined struct for user
type DeployByNameResponse ¶
type DeployByNameResponse struct {
	*tchttp.BaseResponse
	Response *DeployByNameResponseParams `json:"Response"`
}
    func NewDeployByNameResponse ¶
func NewDeployByNameResponse() (response *DeployByNameResponse)
func (*DeployByNameResponse) FromJsonString ¶
func (r *DeployByNameResponse) 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 (*DeployByNameResponse) ToJsonString ¶
func (r *DeployByNameResponse) ToJsonString() string
type DeployByNameResponseParams ¶
type DeployByNameResponseParams struct {
	// The hash value.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DidCluster ¶
type DidCluster struct {
	// The chain ID.
	ChainId *uint64 `json:"ChainId,omitnil,omitempty" name:"ChainId"`
	// The chain name.
	ChainName *string `json:"ChainName,omitnil,omitempty" name:"ChainName"`
	// The number of organizations.
	AgencyCount *uint64 `json:"AgencyCount,omitnil,omitempty" name:"AgencyCount"`
	// The consortium ID.
	ConsortiumId *uint64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
	// The network status.
	ChainStatus *uint64 `json:"ChainStatus,omitnil,omitempty" name:"ChainStatus"`
	// The resource ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The organization ID.
	AgencyId *uint64 `json:"AgencyId,omitnil,omitempty" name:"AgencyId"`
	// Whether auto-renewal is enabled.
	AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
	// The total number of network nodes.
	TotalNetworkNode *uint64 `json:"TotalNetworkNode,omitnil,omitempty" name:"TotalNetworkNode"`
	// The number of nodes of the current organization.
	TotalCreateNode *uint64 `json:"TotalCreateNode,omitnil,omitempty" name:"TotalCreateNode"`
	// The total number of groups.
	TotalGroups *uint64 `json:"TotalGroups,omitnil,omitempty" name:"TotalGroups"`
	// The total number of DIDs.
	DidCount *uint64 `json:"DidCount,omitnil,omitempty" name:"DidCount"`
}
    type DidData ¶
type DidData struct {
	// The service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
	// The status of the authority. `1`: Not registered; `2`: Not certified; `3`: Certified.
	AuthorityState *int64 `json:"AuthorityState,omitnil,omitempty" name:"AuthorityState"`
	// The label of the DID.
	LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"`
	// The DID creation time.
	CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The consortium name.
	AllianceName *string `json:"AllianceName,omitnil,omitempty" name:"AllianceName"`
	// The label ID.
	LabelId *uint64 `json:"LabelId,omitnil,omitempty" name:"LabelId"`
}
    type DidServiceInfo ¶
type DidServiceInfo struct {
	// The DID service ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The application ID.
	Appid *uint64 `json:"Appid,omitnil,omitempty" name:"Appid"`
	// The account ID.
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`
	// The consortium ID.
	ConsortiumId *int64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The chain ID.
	ChainId *string `json:"ChainId,omitnil,omitempty" name:"ChainId"`
	// Whether you are the owner of the consortium. `1`: Yes; `0`: No.
	RoleType *uint64 `json:"RoleType,omitnil,omitempty" name:"RoleType"`
	// The organization DID.
	AgencyDid *string `json:"AgencyDid,omitnil,omitempty" name:"AgencyDid"`
	// The organization name.
	CreateOrg *string `json:"CreateOrg,omitnil,omitempty" name:"CreateOrg"`
	// The endpoint.
	Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The last updated time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
	// The group name.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
}
    type DownCptRequest ¶
type DownCptRequest struct {
	*tchttp.BaseRequest
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
}
    func NewDownCptRequest ¶
func NewDownCptRequest() (request *DownCptRequest)
func (*DownCptRequest) FromJsonString ¶
func (r *DownCptRequest) 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 (*DownCptRequest) ToJsonString ¶
func (r *DownCptRequest) ToJsonString() string
type DownCptRequestParams ¶
type DownCptRequestParams struct {
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
}
    Predefined struct for user
type DownCptResponse ¶
type DownCptResponse struct {
	*tchttp.BaseResponse
	Response *DownCptResponseParams `json:"Response"`
}
    func NewDownCptResponse ¶
func NewDownCptResponse() (response *DownCptResponse)
func (*DownCptResponse) FromJsonString ¶
func (r *DownCptResponse) 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 (*DownCptResponse) ToJsonString ¶
func (r *DownCptResponse) ToJsonString() string
type DownCptResponseParams ¶
type DownCptResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type EnableHashRequest ¶
type EnableHashRequest struct {
	*tchttp.BaseRequest
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    func NewEnableHashRequest ¶
func NewEnableHashRequest() (request *EnableHashRequest)
func (*EnableHashRequest) FromJsonString ¶
func (r *EnableHashRequest) 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 (*EnableHashRequest) ToJsonString ¶
func (r *EnableHashRequest) ToJsonString() string
type EnableHashRequestParams ¶
type EnableHashRequestParams struct {
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    Predefined struct for user
type EnableHashResponse ¶
type EnableHashResponse struct {
	*tchttp.BaseResponse
	Response *EnableHashResponseParams `json:"Response"`
}
    func NewEnableHashResponse ¶
func NewEnableHashResponse() (response *EnableHashResponse)
func (*EnableHashResponse) FromJsonString ¶
func (r *EnableHashResponse) 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 (*EnableHashResponse) ToJsonString ¶
func (r *EnableHashResponse) ToJsonString() string
type EnableHashResponseParams ¶
type EnableHashResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type FunctionArg ¶
type FunctionArg struct {
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The DID of the issuer.
	Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"`
	// The expiration time.
	ExpirationDate *string `json:"ExpirationDate,omitnil,omitempty" name:"ExpirationDate"`
	// The claim.
	ClaimJson *string `json:"ClaimJson,omitnil,omitempty" name:"ClaimJson"`
}
    type GetAgencyTDidRequest ¶
type GetAgencyTDidRequest struct {
	*tchttp.BaseRequest
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetAgencyTDidRequest ¶
func NewGetAgencyTDidRequest() (request *GetAgencyTDidRequest)
func (*GetAgencyTDidRequest) FromJsonString ¶
func (r *GetAgencyTDidRequest) 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 (*GetAgencyTDidRequest) ToJsonString ¶
func (r *GetAgencyTDidRequest) ToJsonString() string
type GetAgencyTDidRequestParams ¶
type GetAgencyTDidRequestParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetAgencyTDidResponse ¶
type GetAgencyTDidResponse struct {
	*tchttp.BaseResponse
	Response *GetAgencyTDidResponseParams `json:"Response"`
}
    func NewGetAgencyTDidResponse ¶
func NewGetAgencyTDidResponse() (response *GetAgencyTDidResponse)
func (*GetAgencyTDidResponse) FromJsonString ¶
func (r *GetAgencyTDidResponse) 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 (*GetAgencyTDidResponse) ToJsonString ¶
func (r *GetAgencyTDidResponse) ToJsonString() string
type GetAgencyTDidResponseParams ¶
type GetAgencyTDidResponseParams struct {
	// The prefix (fixed).
	Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"`
	// The details of the DID.
	Identity []*Identity `json:"Identity,omitnil,omitempty" name:"Identity"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetAuthoritiesListRequest ¶
type GetAuthoritiesListRequest struct {
	*tchttp.BaseRequest
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// Whether to query certified or uncertified authorities. `1`: Certified; `2`: Uncertified.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
    func NewGetAuthoritiesListRequest ¶
func NewGetAuthoritiesListRequest() (request *GetAuthoritiesListRequest)
func (*GetAuthoritiesListRequest) FromJsonString ¶
func (r *GetAuthoritiesListRequest) 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 (*GetAuthoritiesListRequest) ToJsonString ¶
func (r *GetAuthoritiesListRequest) ToJsonString() string
type GetAuthoritiesListRequestParams ¶
type GetAuthoritiesListRequestParams struct {
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// Whether to query certified or uncertified authorities. `1`: Certified; `2`: Uncertified.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
    Predefined struct for user
type GetAuthoritiesListResponse ¶
type GetAuthoritiesListResponse struct {
	*tchttp.BaseResponse
	Response *GetAuthoritiesListResponseParams `json:"Response"`
}
    func NewGetAuthoritiesListResponse ¶
func NewGetAuthoritiesListResponse() (response *GetAuthoritiesListResponse)
func (*GetAuthoritiesListResponse) FromJsonString ¶
func (r *GetAuthoritiesListResponse) 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 (*GetAuthoritiesListResponse) ToJsonString ¶
func (r *GetAuthoritiesListResponse) ToJsonString() string
type GetAuthoritiesListResponseParams ¶
type GetAuthoritiesListResponseParams struct {
	// A data set.
	ResultList []*Authority `json:"ResultList,omitnil,omitempty" name:"ResultList"`
	// The total number of records.
	AllCount *int64 `json:"AllCount,omitnil,omitempty" name:"AllCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetAuthorityIssuerRequest ¶
type GetAuthorityIssuerRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewGetAuthorityIssuerRequest ¶
func NewGetAuthorityIssuerRequest() (request *GetAuthorityIssuerRequest)
func (*GetAuthorityIssuerRequest) FromJsonString ¶
func (r *GetAuthorityIssuerRequest) 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 (*GetAuthorityIssuerRequest) ToJsonString ¶
func (r *GetAuthorityIssuerRequest) ToJsonString() string
type GetAuthorityIssuerRequestParams ¶
type GetAuthorityIssuerRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type GetAuthorityIssuerResponse ¶
type GetAuthorityIssuerResponse struct {
	*tchttp.BaseResponse
	Response *GetAuthorityIssuerResponseParams `json:"Response"`
}
    func NewGetAuthorityIssuerResponse ¶
func NewGetAuthorityIssuerResponse() (response *GetAuthorityIssuerResponse)
func (*GetAuthorityIssuerResponse) FromJsonString ¶
func (r *GetAuthorityIssuerResponse) 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 (*GetAuthorityIssuerResponse) ToJsonString ¶
func (r *GetAuthorityIssuerResponse) ToJsonString() string
type GetAuthorityIssuerResponseParams ¶
type GetAuthorityIssuerResponseParams struct {
	// The authority name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// The blockchain network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The blockchain group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The DID of the authority.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// Remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
	// The registration time.
	RegisterTime *string `json:"RegisterTime,omitnil,omitempty" name:"RegisterTime"`
	// The recognition time.
	RecognizeTime *string `json:"RecognizeTime,omitnil,omitempty" name:"RecognizeTime"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetConsortiumClusterListRequest ¶
type GetConsortiumClusterListRequest struct {
	*tchttp.BaseRequest
	// The consortium ID.
	ConsortiumId *uint64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
}
    func NewGetConsortiumClusterListRequest ¶
func NewGetConsortiumClusterListRequest() (request *GetConsortiumClusterListRequest)
func (*GetConsortiumClusterListRequest) FromJsonString ¶
func (r *GetConsortiumClusterListRequest) 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 (*GetConsortiumClusterListRequest) ToJsonString ¶
func (r *GetConsortiumClusterListRequest) ToJsonString() string
type GetConsortiumClusterListRequestParams ¶
type GetConsortiumClusterListRequestParams struct {
	// The consortium ID.
	ConsortiumId *uint64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
}
    Predefined struct for user
type GetConsortiumClusterListResponse ¶
type GetConsortiumClusterListResponse struct {
	*tchttp.BaseResponse
	Response *GetConsortiumClusterListResponseParams `json:"Response"`
}
    func NewGetConsortiumClusterListResponse ¶
func NewGetConsortiumClusterListResponse() (response *GetConsortiumClusterListResponse)
func (*GetConsortiumClusterListResponse) FromJsonString ¶
func (r *GetConsortiumClusterListResponse) 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 (*GetConsortiumClusterListResponse) ToJsonString ¶
func (r *GetConsortiumClusterListResponse) ToJsonString() string
type GetConsortiumClusterListResponseParams ¶
type GetConsortiumClusterListResponseParams struct {
	// A list of networks.
	ClusterList []*BcosClusterItem `json:"ClusterList,omitnil,omitempty" name:"ClusterList"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetConsortiumListRequest ¶
type GetConsortiumListRequest struct {
	*tchttp.BaseRequest
}
    func NewGetConsortiumListRequest ¶
func NewGetConsortiumListRequest() (request *GetConsortiumListRequest)
func (*GetConsortiumListRequest) FromJsonString ¶
func (r *GetConsortiumListRequest) 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 (*GetConsortiumListRequest) ToJsonString ¶
func (r *GetConsortiumListRequest) ToJsonString() string
type GetConsortiumListRequestParams ¶
type GetConsortiumListRequestParams struct {
}
    Predefined struct for user
type GetConsortiumListResponse ¶
type GetConsortiumListResponse struct {
	*tchttp.BaseResponse
	Response *GetConsortiumListResponseParams `json:"Response"`
}
    func NewGetConsortiumListResponse ¶
func NewGetConsortiumListResponse() (response *GetConsortiumListResponse)
func (*GetConsortiumListResponse) FromJsonString ¶
func (r *GetConsortiumListResponse) 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 (*GetConsortiumListResponse) ToJsonString ¶
func (r *GetConsortiumListResponse) ToJsonString() string
type GetConsortiumListResponseParams ¶
type GetConsortiumListResponseParams struct {
	// A list of the consortiums.
	ConsortiumList []*ConsortiumItem `json:"ConsortiumList,omitnil,omitempty" name:"ConsortiumList"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCptInfoRequest ¶
type GetCptInfoRequest struct {
	*tchttp.BaseRequest
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
}
    func NewGetCptInfoRequest ¶
func NewGetCptInfoRequest() (request *GetCptInfoRequest)
func (*GetCptInfoRequest) FromJsonString ¶
func (r *GetCptInfoRequest) 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 (*GetCptInfoRequest) ToJsonString ¶
func (r *GetCptInfoRequest) ToJsonString() string
type GetCptInfoRequestParams ¶
type GetCptInfoRequestParams struct {
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
}
    Predefined struct for user
type GetCptInfoResponse ¶
type GetCptInfoResponse struct {
	*tchttp.BaseResponse
	Response *GetCptInfoResponseParams `json:"Response"`
}
    func NewGetCptInfoResponse ¶
func NewGetCptInfoResponse() (response *GetCptInfoResponse)
func (*GetCptInfoResponse) FromJsonString ¶
func (r *GetCptInfoResponse) 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 (*GetCptInfoResponse) ToJsonString ¶
func (r *GetCptInfoResponse) ToJsonString() string
type GetCptInfoResponseParams ¶
type GetCptInfoResponseParams struct {
	// The JSON data of the claim protocol type (CPT).
	CptJsonData *string `json:"CptJsonData,omitnil,omitempty" name:"CptJsonData"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCptListRequest ¶
type GetCptListRequest struct {
	*tchttp.BaseRequest
	// The start.
	DisplayStart *uint64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *uint64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
	// The type. `0`: All CPTs; `1`: System CPTs; `2`: Authorization CPTs; `3`: General CPTs
	CptType *uint64 `json:"CptType,omitnil,omitempty" name:"CptType"`
}
    func NewGetCptListRequest ¶
func NewGetCptListRequest() (request *GetCptListRequest)
func (*GetCptListRequest) FromJsonString ¶
func (r *GetCptListRequest) 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 (*GetCptListRequest) ToJsonString ¶
func (r *GetCptListRequest) ToJsonString() string
type GetCptListRequestParams ¶
type GetCptListRequestParams struct {
	// The start.
	DisplayStart *uint64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *uint64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
	// The type. `0`: All CPTs; `1`: System CPTs; `2`: Authorization CPTs; `3`: General CPTs
	CptType *uint64 `json:"CptType,omitnil,omitempty" name:"CptType"`
}
    Predefined struct for user
type GetCptListResponse ¶
type GetCptListResponse struct {
	*tchttp.BaseResponse
	Response *GetCptListResponseParams `json:"Response"`
}
    func NewGetCptListResponse ¶
func NewGetCptListResponse() (response *GetCptListResponse)
func (*GetCptListResponse) FromJsonString ¶
func (r *GetCptListResponse) 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 (*GetCptListResponse) ToJsonString ¶
func (r *GetCptListResponse) ToJsonString() string
type GetCptListResponseParams ¶
type GetCptListResponseParams struct {
	// The information of claim protocol types (CPT).
	CptDataList []*CptListData `json:"CptDataList,omitnil,omitempty" name:"CptDataList"`
	// The total number of claim protocol types (CPT).
	AllCount *uint64 `json:"AllCount,omitnil,omitempty" name:"AllCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCredentialCptRankRequest ¶
type GetCredentialCptRankRequest struct {
	*tchttp.BaseRequest
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetCredentialCptRankRequest ¶
func NewGetCredentialCptRankRequest() (request *GetCredentialCptRankRequest)
func (*GetCredentialCptRankRequest) FromJsonString ¶
func (r *GetCredentialCptRankRequest) 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 (*GetCredentialCptRankRequest) ToJsonString ¶
func (r *GetCredentialCptRankRequest) ToJsonString() string
type GetCredentialCptRankRequestParams ¶
type GetCredentialCptRankRequestParams struct {
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetCredentialCptRankResponse ¶
type GetCredentialCptRankResponse struct {
	*tchttp.BaseResponse
	Response *GetCredentialCptRankResponseParams `json:"Response"`
}
    func NewGetCredentialCptRankResponse ¶
func NewGetCredentialCptRankResponse() (response *GetCredentialCptRankResponse)
func (*GetCredentialCptRankResponse) FromJsonString ¶
func (r *GetCredentialCptRankResponse) 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 (*GetCredentialCptRankResponse) ToJsonString ¶
func (r *GetCredentialCptRankResponse) ToJsonString() string
type GetCredentialCptRankResponseParams ¶
type GetCredentialCptRankResponseParams struct {
	// The rankings.
	RankIssueResult []*CptIssueRank `json:"RankIssueResult,omitnil,omitempty" name:"RankIssueResult"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCredentialIssueRankRequest ¶
type GetCredentialIssueRankRequest struct {
	*tchttp.BaseRequest
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetCredentialIssueRankRequest ¶
func NewGetCredentialIssueRankRequest() (request *GetCredentialIssueRankRequest)
func (*GetCredentialIssueRankRequest) FromJsonString ¶
func (r *GetCredentialIssueRankRequest) 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 (*GetCredentialIssueRankRequest) ToJsonString ¶
func (r *GetCredentialIssueRankRequest) ToJsonString() string
type GetCredentialIssueRankRequestParams ¶
type GetCredentialIssueRankRequestParams struct {
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetCredentialIssueRankResponse ¶
type GetCredentialIssueRankResponse struct {
	*tchttp.BaseResponse
	Response *GetCredentialIssueRankResponseParams `json:"Response"`
}
    func NewGetCredentialIssueRankResponse ¶
func NewGetCredentialIssueRankResponse() (response *GetCredentialIssueRankResponse)
func (*GetCredentialIssueRankResponse) FromJsonString ¶
func (r *GetCredentialIssueRankResponse) 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 (*GetCredentialIssueRankResponse) ToJsonString ¶
func (r *GetCredentialIssueRankResponse) ToJsonString() string
type GetCredentialIssueRankResponseParams ¶
type GetCredentialIssueRankResponseParams struct {
	// The rankings.
	RankIssueResult []*CptIssueRank `json:"RankIssueResult,omitnil,omitempty" name:"RankIssueResult"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCredentialIssueTrendRequest ¶
type GetCredentialIssueTrendRequest struct {
	*tchttp.BaseRequest
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetCredentialIssueTrendRequest ¶
func NewGetCredentialIssueTrendRequest() (request *GetCredentialIssueTrendRequest)
func (*GetCredentialIssueTrendRequest) FromJsonString ¶
func (r *GetCredentialIssueTrendRequest) 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 (*GetCredentialIssueTrendRequest) ToJsonString ¶
func (r *GetCredentialIssueTrendRequest) ToJsonString() string
type GetCredentialIssueTrendRequestParams ¶
type GetCredentialIssueTrendRequestParams struct {
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetCredentialIssueTrendResponse ¶
type GetCredentialIssueTrendResponse struct {
	*tchttp.BaseResponse
	Response *GetCredentialIssueTrendResponseParams `json:"Response"`
}
    func NewGetCredentialIssueTrendResponse ¶
func NewGetCredentialIssueTrendResponse() (response *GetCredentialIssueTrendResponse)
func (*GetCredentialIssueTrendResponse) FromJsonString ¶
func (r *GetCredentialIssueTrendResponse) 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 (*GetCredentialIssueTrendResponse) ToJsonString ¶
func (r *GetCredentialIssueTrendResponse) ToJsonString() string
type GetCredentialIssueTrendResponseParams ¶
type GetCredentialIssueTrendResponseParams struct {
	// The trend information.
	Trend []*Trend `json:"Trend,omitnil,omitempty" name:"Trend"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetCredentialStatusRequest ¶
type GetCredentialStatusRequest struct {
	*tchttp.BaseRequest
	// The credential ID.
	CredentialId *string `json:"CredentialId,omitnil,omitempty" name:"CredentialId"`
}
    func NewGetCredentialStatusRequest ¶
func NewGetCredentialStatusRequest() (request *GetCredentialStatusRequest)
func (*GetCredentialStatusRequest) FromJsonString ¶
func (r *GetCredentialStatusRequest) 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 (*GetCredentialStatusRequest) ToJsonString ¶
func (r *GetCredentialStatusRequest) ToJsonString() string
type GetCredentialStatusRequestParams ¶
type GetCredentialStatusRequestParams struct {
	// The credential ID.
	CredentialId *string `json:"CredentialId,omitnil,omitempty" name:"CredentialId"`
}
    Predefined struct for user
type GetCredentialStatusResponse ¶
type GetCredentialStatusResponse struct {
	*tchttp.BaseResponse
	Response *GetCredentialStatusResponseParams `json:"Response"`
}
    func NewGetCredentialStatusResponse ¶
func NewGetCredentialStatusResponse() (response *GetCredentialStatusResponse)
func (*GetCredentialStatusResponse) FromJsonString ¶
func (r *GetCredentialStatusResponse) 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 (*GetCredentialStatusResponse) ToJsonString ¶
func (r *GetCredentialStatusResponse) ToJsonString() string
type GetCredentialStatusResponseParams ¶
type GetCredentialStatusResponseParams struct {
	// The credential status.
	CredentialStatus *CredentialStatus `json:"CredentialStatus,omitnil,omitempty" name:"CredentialStatus"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDataPanelRequest ¶
type GetDataPanelRequest struct {
	*tchttp.BaseRequest
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetDataPanelRequest ¶
func NewGetDataPanelRequest() (request *GetDataPanelRequest)
func (*GetDataPanelRequest) FromJsonString ¶
func (r *GetDataPanelRequest) 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 (*GetDataPanelRequest) ToJsonString ¶
func (r *GetDataPanelRequest) ToJsonString() string
type GetDataPanelRequestParams ¶
type GetDataPanelRequestParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetDataPanelResponse ¶
type GetDataPanelResponse struct {
	*tchttp.BaseResponse
	Response *GetDataPanelResponseParams `json:"Response"`
}
    func NewGetDataPanelResponse ¶
func NewGetDataPanelResponse() (response *GetDataPanelResponse)
func (*GetDataPanelResponse) FromJsonString ¶
func (r *GetDataPanelResponse) 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 (*GetDataPanelResponse) ToJsonString ¶
func (r *GetDataPanelResponse) ToJsonString() string
type GetDataPanelResponseParams ¶
type GetDataPanelResponseParams struct {
	// The number of blockchain networks.
	BlockNetworkCount *int64 `json:"BlockNetworkCount,omitnil,omitempty" name:"BlockNetworkCount"`
	// The blockchain network name.
	BlockNetworkName *string `json:"BlockNetworkName,omitnil,omitempty" name:"BlockNetworkName"`
	// The current block height.
	BlockHeight *int64 `json:"BlockHeight,omitnil,omitempty" name:"BlockHeight"`
	// The blockchain network type.
	BlockNetworkType *int64 `json:"BlockNetworkType,omitnil,omitempty" name:"BlockNetworkType"`
	// The number of DIDs.
	DidCount *int64 `json:"DidCount,omitnil,omitempty" name:"DidCount"`
	// The number of claim protocol types (CPT).
	CptCount *int64 `json:"CptCount,omitnil,omitempty" name:"CptCount"`
	// The number of certified authorities.
	CertificatedAuthCount *int64 `json:"CertificatedAuthCount,omitnil,omitempty" name:"CertificatedAuthCount"`
	// The number of credentials issued.
	IssueCptCount *int64 `json:"IssueCptCount,omitnil,omitempty" name:"IssueCptCount"`
	// The number of new DIDs in the current week.
	NewDidCount *int64 `json:"NewDidCount,omitnil,omitempty" name:"NewDidCount"`
	// The number of BCOS networks.
	BcosCount *int64 `json:"BcosCount,omitnil,omitempty" name:"BcosCount"`
	// The number of Fabric networks.
	FabricCount *int64 `json:"FabricCount,omitnil,omitempty" name:"FabricCount"`
	// The number of ChainMaker networks.
	ChainMakerCount *int64 `json:"ChainMakerCount,omitnil,omitempty" name:"ChainMakerCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDeployInfoRequest ¶
type GetDeployInfoRequest struct {
	*tchttp.BaseRequest
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    func NewGetDeployInfoRequest ¶
func NewGetDeployInfoRequest() (request *GetDeployInfoRequest)
func (*GetDeployInfoRequest) FromJsonString ¶
func (r *GetDeployInfoRequest) 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 (*GetDeployInfoRequest) ToJsonString ¶
func (r *GetDeployInfoRequest) ToJsonString() string
type GetDeployInfoRequestParams ¶
type GetDeployInfoRequestParams struct {
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    Predefined struct for user
type GetDeployInfoResponse ¶
type GetDeployInfoResponse struct {
	*tchttp.BaseResponse
	Response *GetDeployInfoResponseParams `json:"Response"`
}
    func NewGetDeployInfoResponse ¶
func NewGetDeployInfoResponse() (response *GetDeployInfoResponse)
func (*GetDeployInfoResponse) FromJsonString ¶
func (r *GetDeployInfoResponse) 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 (*GetDeployInfoResponse) ToJsonString ¶
func (r *GetDeployInfoResponse) ToJsonString() string
type GetDeployInfoResponseParams ¶
type GetDeployInfoResponseParams struct {
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
	// The main group ID of the contract.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The DID of the organization that deployed the contract.
	DeployDid *string `json:"DeployDid,omitnil,omitempty" name:"DeployDid"`
	// The TDID SDK version.
	SdkVersion *string `json:"SdkVersion,omitnil,omitempty" name:"SdkVersion"`
	// The TDID contract version.
	ContractVersion *string `json:"ContractVersion,omitnil,omitempty" name:"ContractVersion"`
	// The blockchain node version.
	BlockVersion *string `json:"BlockVersion,omitnil,omitempty" name:"BlockVersion"`
	// The IP address of the blockchain node.
	BlockIp *string `json:"BlockIp,omitnil,omitempty" name:"BlockIp"`
	// The address of the DID contract.
	DidAddress *string `json:"DidAddress,omitnil,omitempty" name:"DidAddress"`
	// The address of the claim protocol type (CPT) contract.
	CptAddress *string `json:"CptAddress,omitnil,omitempty" name:"CptAddress"`
	// The address of the authority.
	AuthorityAddress *string `json:"AuthorityAddress,omitnil,omitempty" name:"AuthorityAddress"`
	// The evidence contract address.
	EvidenceAddress *string `json:"EvidenceAddress,omitnil,omitempty" name:"EvidenceAddress"`
	// The contract address of the specific issuer.
	SpecificAddress *string `json:"SpecificAddress,omitnil,omitempty" name:"SpecificAddress"`
	// The chain ID.
	ChainId *string `json:"ChainId,omitnil,omitempty" name:"ChainId"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDeployListRequest ¶
type GetDeployListRequest struct {
	*tchttp.BaseRequest
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The start.
	DisplayStart *uint64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *uint64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
}
    func NewGetDeployListRequest ¶
func NewGetDeployListRequest() (request *GetDeployListRequest)
func (*GetDeployListRequest) FromJsonString ¶
func (r *GetDeployListRequest) 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 (*GetDeployListRequest) ToJsonString ¶
func (r *GetDeployListRequest) ToJsonString() string
type GetDeployListRequestParams ¶
type GetDeployListRequestParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The start.
	DisplayStart *uint64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *uint64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
}
    Predefined struct for user
type GetDeployListResponse ¶
type GetDeployListResponse struct {
	*tchttp.BaseResponse
	Response *GetDeployListResponseParams `json:"Response"`
}
    func NewGetDeployListResponse ¶
func NewGetDeployListResponse() (response *GetDeployListResponse)
func (*GetDeployListResponse) FromJsonString ¶
func (r *GetDeployListResponse) 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 (*GetDeployListResponse) ToJsonString ¶
func (r *GetDeployListResponse) ToJsonString() string
type GetDeployListResponseParams ¶
type GetDeployListResponseParams struct {
	// The total number of contracts.
	AllCount *uint64 `json:"AllCount,omitnil,omitempty" name:"AllCount"`
	// A list of deployed contracts.
	Result []*Contract `json:"Result,omitnil,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidClusterDetailRequest ¶
type GetDidClusterDetailRequest struct {
	*tchttp.BaseRequest
	// The DID network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetDidClusterDetailRequest ¶
func NewGetDidClusterDetailRequest() (request *GetDidClusterDetailRequest)
func (*GetDidClusterDetailRequest) FromJsonString ¶
func (r *GetDidClusterDetailRequest) 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 (*GetDidClusterDetailRequest) ToJsonString ¶
func (r *GetDidClusterDetailRequest) ToJsonString() string
type GetDidClusterDetailRequestParams ¶
type GetDidClusterDetailRequestParams struct {
	// The DID network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetDidClusterDetailResponse ¶
type GetDidClusterDetailResponse struct {
	*tchttp.BaseResponse
	Response *GetDidClusterDetailResponseParams `json:"Response"`
}
    func NewGetDidClusterDetailResponse ¶
func NewGetDidClusterDetailResponse() (response *GetDidClusterDetailResponse)
func (*GetDidClusterDetailResponse) FromJsonString ¶
func (r *GetDidClusterDetailResponse) 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 (*GetDidClusterDetailResponse) ToJsonString ¶
func (r *GetDidClusterDetailResponse) ToJsonString() string
type GetDidClusterDetailResponseParams ¶
type GetDidClusterDetailResponseParams struct {
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The name of the blockchain organization.
	ChainAgency *string `json:"ChainAgency,omitnil,omitempty" name:"ChainAgency"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidClusterListRequest ¶
type GetDidClusterListRequest struct {
	*tchttp.BaseRequest
}
    func NewGetDidClusterListRequest ¶
func NewGetDidClusterListRequest() (request *GetDidClusterListRequest)
func (*GetDidClusterListRequest) FromJsonString ¶
func (r *GetDidClusterListRequest) 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 (*GetDidClusterListRequest) ToJsonString ¶
func (r *GetDidClusterListRequest) ToJsonString() string
type GetDidClusterListRequestParams ¶
type GetDidClusterListRequestParams struct {
}
    Predefined struct for user
type GetDidClusterListResponse ¶
type GetDidClusterListResponse struct {
	*tchttp.BaseResponse
	Response *GetDidClusterListResponseParams `json:"Response"`
}
    func NewGetDidClusterListResponse ¶
func NewGetDidClusterListResponse() (response *GetDidClusterListResponse)
func (*GetDidClusterListResponse) FromJsonString ¶
func (r *GetDidClusterListResponse) 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 (*GetDidClusterListResponse) ToJsonString ¶
func (r *GetDidClusterListResponse) ToJsonString() string
type GetDidClusterListResponseParams ¶
type GetDidClusterListResponseParams struct {
	// A list of the DID networks.
	DidClusterList []*DidCluster `json:"DidClusterList,omitnil,omitempty" name:"DidClusterList"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidDetailRequest ¶
type GetDidDetailRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewGetDidDetailRequest ¶
func NewGetDidDetailRequest() (request *GetDidDetailRequest)
func (*GetDidDetailRequest) FromJsonString ¶
func (r *GetDidDetailRequest) 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 (*GetDidDetailRequest) ToJsonString ¶
func (r *GetDidDetailRequest) ToJsonString() string
type GetDidDetailRequestParams ¶
type GetDidDetailRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type GetDidDetailResponse ¶
type GetDidDetailResponse struct {
	*tchttp.BaseResponse
	Response *GetDidDetailResponseParams `json:"Response"`
}
    func NewGetDidDetailResponse ¶
func NewGetDidDetailResponse() (response *GetDidDetailResponse)
func (*GetDidDetailResponse) FromJsonString ¶
func (r *GetDidDetailResponse) 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 (*GetDidDetailResponse) ToJsonString ¶
func (r *GetDidDetailResponse) ToJsonString() string
type GetDidDetailResponseParams ¶
type GetDidDetailResponseParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
	// The public key.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
	// Whether the DID is a certified authority.
	AuthorityState *int64 `json:"AuthorityState,omitnil,omitempty" name:"AuthorityState"`
	// The consortium ID.
	ConsortiumId *int64 `json:"ConsortiumId,omitnil,omitempty" name:"ConsortiumId"`
	// The consortium name.
	ConsortiumName *string `json:"ConsortiumName,omitnil,omitempty" name:"ConsortiumName"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The BCOS resource ID.
	ResChainId *string `json:"ResChainId,omitnil,omitempty" name:"ResChainId"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidDocumentRequest ¶
type GetDidDocumentRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewGetDidDocumentRequest ¶
func NewGetDidDocumentRequest() (request *GetDidDocumentRequest)
func (*GetDidDocumentRequest) FromJsonString ¶
func (r *GetDidDocumentRequest) 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 (*GetDidDocumentRequest) ToJsonString ¶
func (r *GetDidDocumentRequest) ToJsonString() string
type GetDidDocumentRequestParams ¶
type GetDidDocumentRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type GetDidDocumentResponse ¶
type GetDidDocumentResponse struct {
	*tchttp.BaseResponse
	Response *GetDidDocumentResponseParams `json:"Response"`
}
    func NewGetDidDocumentResponse ¶
func NewGetDidDocumentResponse() (response *GetDidDocumentResponse)
func (*GetDidDocumentResponse) FromJsonString ¶
func (r *GetDidDocumentResponse) 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 (*GetDidDocumentResponse) ToJsonString ¶
func (r *GetDidDocumentResponse) ToJsonString() string
type GetDidDocumentResponseParams ¶
type GetDidDocumentResponseParams struct {
	// The name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// The DID document.
	Document *string `json:"Document,omitnil,omitempty" name:"Document"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidListRequest ¶
type GetDidListRequest struct {
	*tchttp.BaseRequest
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    func NewGetDidListRequest ¶
func NewGetDidListRequest() (request *GetDidListRequest)
func (*GetDidListRequest) FromJsonString ¶
func (r *GetDidListRequest) 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 (*GetDidListRequest) ToJsonString ¶
func (r *GetDidListRequest) ToJsonString() string
type GetDidListRequestParams ¶
type GetDidListRequestParams struct {
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    Predefined struct for user
type GetDidListResponse ¶
type GetDidListResponse struct {
	*tchttp.BaseResponse
	Response *GetDidListResponseParams `json:"Response"`
}
    func NewGetDidListResponse ¶
func NewGetDidListResponse() (response *GetDidListResponse)
func (*GetDidListResponse) FromJsonString ¶
func (r *GetDidListResponse) 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 (*GetDidListResponse) ToJsonString ¶
func (r *GetDidListResponse) ToJsonString() string
type GetDidListResponseParams ¶
type GetDidListResponseParams struct {
	// A list of DIDs.
	DataList []*DidData `json:"DataList,omitnil,omitempty" name:"DataList"`
	// The total number of records.
	AllCount *int64 `json:"AllCount,omitnil,omitempty" name:"AllCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidRegisterTrendRequest ¶
type GetDidRegisterTrendRequest struct {
	*tchttp.BaseRequest
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetDidRegisterTrendRequest ¶
func NewGetDidRegisterTrendRequest() (request *GetDidRegisterTrendRequest)
func (*GetDidRegisterTrendRequest) FromJsonString ¶
func (r *GetDidRegisterTrendRequest) 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 (*GetDidRegisterTrendRequest) ToJsonString ¶
func (r *GetDidRegisterTrendRequest) ToJsonString() string
type GetDidRegisterTrendRequestParams ¶
type GetDidRegisterTrendRequestParams struct {
	// The start date (as early as 2021-4-23).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
	// The end date (as early as 2021-4-23).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetDidRegisterTrendResponse ¶
type GetDidRegisterTrendResponse struct {
	*tchttp.BaseResponse
	Response *GetDidRegisterTrendResponseParams `json:"Response"`
}
    func NewGetDidRegisterTrendResponse ¶
func NewGetDidRegisterTrendResponse() (response *GetDidRegisterTrendResponse)
func (*GetDidRegisterTrendResponse) FromJsonString ¶
func (r *GetDidRegisterTrendResponse) 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 (*GetDidRegisterTrendResponse) ToJsonString ¶
func (r *GetDidRegisterTrendResponse) ToJsonString() string
type GetDidRegisterTrendResponseParams ¶
type GetDidRegisterTrendResponseParams struct {
	// The trend information.
	Trend []*Trend `json:"Trend,omitnil,omitempty" name:"Trend"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidServiceDetailRequest ¶
type GetDidServiceDetailRequest struct {
	*tchttp.BaseRequest
	// The DID service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}
    func NewGetDidServiceDetailRequest ¶
func NewGetDidServiceDetailRequest() (request *GetDidServiceDetailRequest)
func (*GetDidServiceDetailRequest) FromJsonString ¶
func (r *GetDidServiceDetailRequest) 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 (*GetDidServiceDetailRequest) ToJsonString ¶
func (r *GetDidServiceDetailRequest) ToJsonString() string
type GetDidServiceDetailRequestParams ¶
type GetDidServiceDetailRequestParams struct {
	// The DID service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}
    Predefined struct for user
type GetDidServiceDetailResponse ¶
type GetDidServiceDetailResponse struct {
	*tchttp.BaseResponse
	Response *GetDidServiceDetailResponseParams `json:"Response"`
}
    func NewGetDidServiceDetailResponse ¶
func NewGetDidServiceDetailResponse() (response *GetDidServiceDetailResponse)
func (*GetDidServiceDetailResponse) FromJsonString ¶
func (r *GetDidServiceDetailResponse) 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 (*GetDidServiceDetailResponse) ToJsonString ¶
func (r *GetDidServiceDetailResponse) ToJsonString() string
type GetDidServiceDetailResponseParams ¶
type GetDidServiceDetailResponseParams struct {
	// The DID service information.
	DidService *DidServiceInfo `json:"DidService,omitnil,omitempty" name:"DidService"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetDidServiceListRequest ¶
type GetDidServiceListRequest struct {
	*tchttp.BaseRequest
	// `1`: Return results at the network level; `0`: Return results at the service level.
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`
}
    func NewGetDidServiceListRequest ¶
func NewGetDidServiceListRequest() (request *GetDidServiceListRequest)
func (*GetDidServiceListRequest) FromJsonString ¶
func (r *GetDidServiceListRequest) 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 (*GetDidServiceListRequest) ToJsonString ¶
func (r *GetDidServiceListRequest) ToJsonString() string
type GetDidServiceListRequestParams ¶
type GetDidServiceListRequestParams struct {
	// `1`: Return results at the network level; `0`: Return results at the service level.
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`
}
    Predefined struct for user
type GetDidServiceListResponse ¶
type GetDidServiceListResponse struct {
	*tchttp.BaseResponse
	Response *GetDidServiceListResponseParams `json:"Response"`
}
    func NewGetDidServiceListResponse ¶
func NewGetDidServiceListResponse() (response *GetDidServiceListResponse)
func (*GetDidServiceListResponse) FromJsonString ¶
func (r *GetDidServiceListResponse) 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 (*GetDidServiceListResponse) ToJsonString ¶
func (r *GetDidServiceListResponse) ToJsonString() string
type GetDidServiceListResponseParams ¶
type GetDidServiceListResponseParams struct {
	// A list of DID services.
	DidServiceList []*DidServiceInfo `json:"DidServiceList,omitnil,omitempty" name:"DidServiceList"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetGroupListRequest ¶
type GetGroupListRequest struct {
	*tchttp.BaseRequest
	// `0`: Groups with no DID services; `1`: Groups with DID services.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    func NewGetGroupListRequest ¶
func NewGetGroupListRequest() (request *GetGroupListRequest)
func (*GetGroupListRequest) FromJsonString ¶
func (r *GetGroupListRequest) 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 (*GetGroupListRequest) ToJsonString ¶
func (r *GetGroupListRequest) ToJsonString() string
type GetGroupListRequestParams ¶
type GetGroupListRequestParams struct {
	// `0`: Groups with no DID services; `1`: Groups with DID services.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
    Predefined struct for user
type GetGroupListResponse ¶
type GetGroupListResponse struct {
	*tchttp.BaseResponse
	Response *GetGroupListResponseParams `json:"Response"`
}
    func NewGetGroupListResponse ¶
func NewGetGroupListResponse() (response *GetGroupListResponse)
func (*GetGroupListResponse) FromJsonString ¶
func (r *GetGroupListResponse) 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 (*GetGroupListResponse) ToJsonString ¶
func (r *GetGroupListResponse) ToJsonString() string
type GetGroupListResponseParams ¶
type GetGroupListResponseParams struct {
	// A list of groups.
	Result []*Group `json:"Result,omitnil,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetLabelListRequest ¶
type GetLabelListRequest struct {
	*tchttp.BaseRequest
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    func NewGetLabelListRequest ¶
func NewGetLabelListRequest() (request *GetLabelListRequest)
func (*GetLabelListRequest) FromJsonString ¶
func (r *GetLabelListRequest) 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 (*GetLabelListRequest) ToJsonString ¶
func (r *GetLabelListRequest) ToJsonString() string
type GetLabelListRequestParams ¶
type GetLabelListRequestParams struct {
	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
	// The page number, beginning from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    Predefined struct for user
type GetLabelListResponse ¶
type GetLabelListResponse struct {
	*tchttp.BaseResponse
	Response *GetLabelListResponseParams `json:"Response"`
}
    func NewGetLabelListResponse ¶
func NewGetLabelListResponse() (response *GetLabelListResponse)
func (*GetLabelListResponse) FromJsonString ¶
func (r *GetLabelListResponse) 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 (*GetLabelListResponse) ToJsonString ¶
func (r *GetLabelListResponse) ToJsonString() string
type GetLabelListResponseParams ¶
type GetLabelListResponseParams struct {
	// A data set.
	Result []*Label `json:"Result,omitnil,omitempty" name:"Result"`
	// The total number of records.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetPolicyListRequest ¶
type GetPolicyListRequest struct {
	*tchttp.BaseRequest
	// The start.
	DisplayStart *int64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *int64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
}
    func NewGetPolicyListRequest ¶
func NewGetPolicyListRequest() (request *GetPolicyListRequest)
func (*GetPolicyListRequest) FromJsonString ¶
func (r *GetPolicyListRequest) 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 (*GetPolicyListRequest) ToJsonString ¶
func (r *GetPolicyListRequest) ToJsonString() string
type GetPolicyListRequestParams ¶
type GetPolicyListRequestParams struct {
	// The start.
	DisplayStart *int64 `json:"DisplayStart,omitnil,omitempty" name:"DisplayStart"`
	// The maximum number of records to return.
	DisplayLength *int64 `json:"DisplayLength,omitnil,omitempty" name:"DisplayLength"`
}
    Predefined struct for user
type GetPolicyListResponse ¶
type GetPolicyListResponse struct {
	*tchttp.BaseResponse
	Response *GetPolicyListResponseParams `json:"Response"`
}
    func NewGetPolicyListResponse ¶
func NewGetPolicyListResponse() (response *GetPolicyListResponse)
func (*GetPolicyListResponse) FromJsonString ¶
func (r *GetPolicyListResponse) 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 (*GetPolicyListResponse) ToJsonString ¶
func (r *GetPolicyListResponse) ToJsonString() string
type GetPolicyListResponseParams ¶
type GetPolicyListResponseParams struct {
	// A list of disclosure policies.
	PolicyDataList []*Policy `json:"PolicyDataList,omitnil,omitempty" name:"PolicyDataList"`
	// The total number of records.
	AllCount *int64 `json:"AllCount,omitnil,omitempty" name:"AllCount"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewGetPublicKeyRequest ¶
func NewGetPublicKeyRequest() (request *GetPublicKeyRequest)
func (*GetPublicKeyRequest) FromJsonString ¶
func (r *GetPublicKeyRequest) 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 (*GetPublicKeyRequest) ToJsonString ¶
func (r *GetPublicKeyRequest) ToJsonString() string
type GetPublicKeyRequestParams ¶
type GetPublicKeyRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct {
	*tchttp.BaseResponse
	Response *GetPublicKeyResponseParams `json:"Response"`
}
    func NewGetPublicKeyResponse ¶
func NewGetPublicKeyResponse() (response *GetPublicKeyResponse)
func (*GetPublicKeyResponse) FromJsonString ¶
func (r *GetPublicKeyResponse) 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 (*GetPublicKeyResponse) ToJsonString ¶
func (r *GetPublicKeyResponse) ToJsonString() string
type GetPublicKeyResponseParams ¶
type GetPublicKeyResponseParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The public key.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type Group ¶
type Group struct {
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The number of nodes.
	NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
	// The number of nodes of the organization.
	NodeCountOfAgency *uint64 `json:"NodeCountOfAgency,omitnil,omitempty" name:"NodeCountOfAgency"`
	// The description of the group.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
	// Whether you are the owner of the consortium or not.
	RoleType *uint64 `json:"RoleType,omitnil,omitempty" name:"RoleType"`
	// The chain ID.
	ChainId *string `json:"ChainId,omitnil,omitempty" name:"ChainId"`
}
    type Identity ¶
type Identity struct {
	// The account identifier.
	AccountIdentifier *string `json:"AccountIdentifier,omitnil,omitempty" name:"AccountIdentifier"`
	// The chain ID.
	ChainID *string `json:"ChainID,omitnil,omitempty" name:"ChainID"`
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The group name.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
}
    type Label ¶
type Label struct {
	// The label ID.
	LabelId *uint64 `json:"LabelId,omitnil,omitempty" name:"LabelId"`
	// The label name.
	LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"`
	// The number of DIDs.
	DidCount *int64 `json:"DidCount,omitnil,omitempty" name:"DidCount"`
	// The DID of the creator.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The group ID.
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
    type Policy ¶
type Policy struct {
	// The policy index.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The policy name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
	// The application ID of the contract.
	ContractAppId *uint64 `json:"ContractAppId,omitnil,omitempty" name:"ContractAppId"`
	// The policy ID.
	PolicyId *uint64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"`
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The JSON data.
	PolicyJson *string `json:"PolicyJson,omitnil,omitempty" name:"PolicyJson"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The last updated time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
	// The DID of the creator.
	CreatorDid *string `json:"CreatorDid,omitnil,omitempty" name:"CreatorDid"`
	// The application name.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
}
    type Proof ¶
type Proof struct {
	// The creation time.
	Created *int64 `json:"Created,omitnil,omitempty" name:"Created"`
	// The DID of the creator.
	Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"`
	// The salt value.
	SaltJson *string `json:"SaltJson,omitnil,omitempty" name:"SaltJson"`
	// The signature.
	SignatureValue *string `json:"SignatureValue,omitnil,omitempty" name:"SignatureValue"`
	// The type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}
    type QueryPolicyRequest ¶
type QueryPolicyRequest struct {
	*tchttp.BaseRequest
	// The policy index.
	PolicyIndex *int64 `json:"PolicyIndex,omitnil,omitempty" name:"PolicyIndex"`
}
    func NewQueryPolicyRequest ¶
func NewQueryPolicyRequest() (request *QueryPolicyRequest)
func (*QueryPolicyRequest) FromJsonString ¶
func (r *QueryPolicyRequest) 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 (*QueryPolicyRequest) ToJsonString ¶
func (r *QueryPolicyRequest) ToJsonString() string
type QueryPolicyRequestParams ¶
type QueryPolicyRequestParams struct {
	// The policy index.
	PolicyIndex *int64 `json:"PolicyIndex,omitnil,omitempty" name:"PolicyIndex"`
}
    Predefined struct for user
type QueryPolicyResponse ¶
type QueryPolicyResponse struct {
	*tchttp.BaseResponse
	Response *QueryPolicyResponseParams `json:"Response"`
}
    func NewQueryPolicyResponse ¶
func NewQueryPolicyResponse() (response *QueryPolicyResponse)
func (*QueryPolicyResponse) FromJsonString ¶
func (r *QueryPolicyResponse) 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 (*QueryPolicyResponse) ToJsonString ¶
func (r *QueryPolicyResponse) ToJsonString() string
type QueryPolicyResponseParams ¶
type QueryPolicyResponseParams struct {
	// The policy index.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The policy ID.
	PolicyId *uint64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"`
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The content of the policy.
	PolicyData *string `json:"PolicyData,omitnil,omitempty" name:"PolicyData"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RecognizeAuthorityIssuerRequest ¶
type RecognizeAuthorityIssuerRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    func NewRecognizeAuthorityIssuerRequest ¶
func NewRecognizeAuthorityIssuerRequest() (request *RecognizeAuthorityIssuerRequest)
func (*RecognizeAuthorityIssuerRequest) FromJsonString ¶
func (r *RecognizeAuthorityIssuerRequest) 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 (*RecognizeAuthorityIssuerRequest) ToJsonString ¶
func (r *RecognizeAuthorityIssuerRequest) ToJsonString() string
type RecognizeAuthorityIssuerRequestParams ¶
type RecognizeAuthorityIssuerRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
}
    Predefined struct for user
type RecognizeAuthorityIssuerResponse ¶
type RecognizeAuthorityIssuerResponse struct {
	*tchttp.BaseResponse
	Response *RecognizeAuthorityIssuerResponseParams `json:"Response"`
}
    func NewRecognizeAuthorityIssuerResponse ¶
func NewRecognizeAuthorityIssuerResponse() (response *RecognizeAuthorityIssuerResponse)
func (*RecognizeAuthorityIssuerResponse) FromJsonString ¶
func (r *RecognizeAuthorityIssuerResponse) 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 (*RecognizeAuthorityIssuerResponse) ToJsonString ¶
func (r *RecognizeAuthorityIssuerResponse) ToJsonString() string
type RecognizeAuthorityIssuerResponseParams ¶
type RecognizeAuthorityIssuerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RegisterClaimPolicyRequest ¶
type RegisterClaimPolicyRequest struct {
	*tchttp.BaseRequest
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
	// The disclosure policy.
	Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"`
}
    func NewRegisterClaimPolicyRequest ¶
func NewRegisterClaimPolicyRequest() (request *RegisterClaimPolicyRequest)
func (*RegisterClaimPolicyRequest) FromJsonString ¶
func (r *RegisterClaimPolicyRequest) 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 (*RegisterClaimPolicyRequest) ToJsonString ¶
func (r *RegisterClaimPolicyRequest) ToJsonString() string
type RegisterClaimPolicyRequestParams ¶
type RegisterClaimPolicyRequestParams struct {
	// The claim protocol type (CPT) index.
	CptIndex *uint64 `json:"CptIndex,omitnil,omitempty" name:"CptIndex"`
	// The disclosure policy.
	Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"`
}
    Predefined struct for user
type RegisterClaimPolicyResponse ¶
type RegisterClaimPolicyResponse struct {
	*tchttp.BaseResponse
	Response *RegisterClaimPolicyResponseParams `json:"Response"`
}
    func NewRegisterClaimPolicyResponse ¶
func NewRegisterClaimPolicyResponse() (response *RegisterClaimPolicyResponse)
func (*RegisterClaimPolicyResponse) FromJsonString ¶
func (r *RegisterClaimPolicyResponse) 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 (*RegisterClaimPolicyResponse) ToJsonString ¶
func (r *RegisterClaimPolicyResponse) ToJsonString() string
type RegisterClaimPolicyResponseParams ¶
type RegisterClaimPolicyResponseParams struct {
	// The policy index.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The policy ID.
	PolicyId *uint64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RegisterCptRequest ¶
type RegisterCptRequest struct {
	*tchttp.BaseRequest
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The JSON data of the credential claim type (CPT).
	CptJson *string `json:"CptJson,omitnil,omitempty" name:"CptJson"`
	// If you do not specify this, the ID will auto increment.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
}
    func NewRegisterCptRequest ¶
func NewRegisterCptRequest() (request *RegisterCptRequest)
func (*RegisterCptRequest) FromJsonString ¶
func (r *RegisterCptRequest) 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 (*RegisterCptRequest) ToJsonString ¶
func (r *RegisterCptRequest) ToJsonString() string
type RegisterCptRequestParams ¶
type RegisterCptRequestParams struct {
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The JSON data of the credential claim type (CPT).
	CptJson *string `json:"CptJson,omitnil,omitempty" name:"CptJson"`
	// If you do not specify this, the ID will auto increment.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
}
    Predefined struct for user
type RegisterCptResponse ¶
type RegisterCptResponse struct {
	*tchttp.BaseResponse
	Response *RegisterCptResponseParams `json:"Response"`
}
    func NewRegisterCptResponse ¶
func NewRegisterCptResponse() (response *RegisterCptResponse)
func (*RegisterCptResponse) FromJsonString ¶
func (r *RegisterCptResponse) 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 (*RegisterCptResponse) ToJsonString ¶
func (r *RegisterCptResponse) ToJsonString() string
type RegisterCptResponseParams ¶
type RegisterCptResponseParams struct {
	// The claim protocol type (CPT) index.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RegisterIssuerRequest ¶
type RegisterIssuerRequest struct {
	*tchttp.BaseRequest
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The issuing authority name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
    func NewRegisterIssuerRequest ¶
func NewRegisterIssuerRequest() (request *RegisterIssuerRequest)
func (*RegisterIssuerRequest) FromJsonString ¶
func (r *RegisterIssuerRequest) 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 (*RegisterIssuerRequest) ToJsonString ¶
func (r *RegisterIssuerRequest) ToJsonString() string
type RegisterIssuerRequestParams ¶
type RegisterIssuerRequestParams struct {
	// The DID.
	Did *string `json:"Did,omitnil,omitempty" name:"Did"`
	// The issuing authority name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
    Predefined struct for user
type RegisterIssuerResponse ¶
type RegisterIssuerResponse struct {
	*tchttp.BaseResponse
	Response *RegisterIssuerResponseParams `json:"Response"`
}
    func NewRegisterIssuerResponse ¶
func NewRegisterIssuerResponse() (response *RegisterIssuerResponse)
func (*RegisterIssuerResponse) FromJsonString ¶
func (r *RegisterIssuerResponse) 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 (*RegisterIssuerResponse) ToJsonString ¶
func (r *RegisterIssuerResponse) ToJsonString() string
type RegisterIssuerResponseParams ¶
type RegisterIssuerResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RemoveHashRequest ¶
type RemoveHashRequest struct {
	*tchttp.BaseRequest
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    func NewRemoveHashRequest ¶
func NewRemoveHashRequest() (request *RemoveHashRequest)
func (*RemoveHashRequest) FromJsonString ¶
func (r *RemoveHashRequest) 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 (*RemoveHashRequest) ToJsonString ¶
func (r *RemoveHashRequest) ToJsonString() string
type RemoveHashRequestParams ¶
type RemoveHashRequestParams struct {
	// The CNS address of the contract.
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`
}
    Predefined struct for user
type RemoveHashResponse ¶
type RemoveHashResponse struct {
	*tchttp.BaseResponse
	Response *RemoveHashResponseParams `json:"Response"`
}
    func NewRemoveHashResponse ¶
func NewRemoveHashResponse() (response *RemoveHashResponse)
func (*RemoveHashResponse) FromJsonString ¶
func (r *RemoveHashResponse) 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 (*RemoveHashResponse) ToJsonString ¶
func (r *RemoveHashResponse) ToJsonString() string
type RemoveHashResponseParams ¶
type RemoveHashResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type SetCredentialStatusRequest ¶
type SetCredentialStatusRequest struct {
	*tchttp.BaseRequest
	// The credential status.
	CredentialStatus *CredentialStatus `json:"CredentialStatus,omitnil,omitempty" name:"CredentialStatus"`
}
    func NewSetCredentialStatusRequest ¶
func NewSetCredentialStatusRequest() (request *SetCredentialStatusRequest)
func (*SetCredentialStatusRequest) FromJsonString ¶
func (r *SetCredentialStatusRequest) 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 (*SetCredentialStatusRequest) ToJsonString ¶
func (r *SetCredentialStatusRequest) ToJsonString() string
type SetCredentialStatusRequestParams ¶
type SetCredentialStatusRequestParams struct {
	// The credential status.
	CredentialStatus *CredentialStatus `json:"CredentialStatus,omitnil,omitempty" name:"CredentialStatus"`
}
    Predefined struct for user
type SetCredentialStatusResponse ¶
type SetCredentialStatusResponse struct {
	*tchttp.BaseResponse
	Response *SetCredentialStatusResponseParams `json:"Response"`
}
    func NewSetCredentialStatusResponse ¶
func NewSetCredentialStatusResponse() (response *SetCredentialStatusResponse)
func (*SetCredentialStatusResponse) FromJsonString ¶
func (r *SetCredentialStatusResponse) 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 (*SetCredentialStatusResponse) ToJsonString ¶
func (r *SetCredentialStatusResponse) ToJsonString() string
type SetCredentialStatusResponseParams ¶
type SetCredentialStatusResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type Task ¶
type Task struct {
	// The task ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
	// The application ID.
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`
	// The network ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
	// The group ID.
	GroupId *uint64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`
	// The service ID.
	ServiceId *uint64 `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
	// `0`: Under deployment; `1`: Deployed successfully; other values: Deployment failed.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
	// The error code.
	ErrorCode *string `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`
	// The error message.
	ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`
	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
	// The last updated time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
    type TransactionArg ¶
type TransactionArg struct {
	// The credential ID.
	InvokerTDid *string `json:"InvokerTDid,omitnil,omitempty" name:"InvokerTDid"`
}
    type VerifyCredentialRequest ¶
type VerifyCredentialRequest struct {
	*tchttp.BaseRequest
	// A parameter set.
	FunctionArg *VerifyFunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
}
    func NewVerifyCredentialRequest ¶
func NewVerifyCredentialRequest() (request *VerifyCredentialRequest)
func (*VerifyCredentialRequest) FromJsonString ¶
func (r *VerifyCredentialRequest) 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 (*VerifyCredentialRequest) ToJsonString ¶
func (r *VerifyCredentialRequest) ToJsonString() string
type VerifyCredentialRequestParams ¶
type VerifyCredentialRequestParams struct {
	// A parameter set.
	FunctionArg *VerifyFunctionArg `json:"FunctionArg,omitnil,omitempty" name:"FunctionArg"`
}
    Predefined struct for user
type VerifyCredentialResponse ¶
type VerifyCredentialResponse struct {
	*tchttp.BaseResponse
	Response *VerifyCredentialResponseParams `json:"Response"`
}
    func NewVerifyCredentialResponse ¶
func NewVerifyCredentialResponse() (response *VerifyCredentialResponse)
func (*VerifyCredentialResponse) FromJsonString ¶
func (r *VerifyCredentialResponse) 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 (*VerifyCredentialResponse) ToJsonString ¶
func (r *VerifyCredentialResponse) ToJsonString() string
type VerifyCredentialResponseParams ¶
type VerifyCredentialResponseParams struct {
	// Whether the verification is successful.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
	// The verification code.
	VerifyCode *uint64 `json:"VerifyCode,omitnil,omitempty" name:"VerifyCode"`
	// The verification message.
	VerifyMessage *string `json:"VerifyMessage,omitnil,omitempty" name:"VerifyMessage"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
    Predefined struct for user
type VerifyFunctionArg ¶
type VerifyFunctionArg struct {
	// The claim protocol type (CPT) ID.
	CptId *uint64 `json:"CptId,omitnil,omitempty" name:"CptId"`
	// The issuer DID.
	Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"`
	// The expiration time.
	ExpirationDate *int64 `json:"ExpirationDate,omitnil,omitempty" name:"ExpirationDate"`
	// The claim.
	ClaimJson *string `json:"ClaimJson,omitnil,omitempty" name:"ClaimJson"`
	// The time when the credential was issued.
	IssuanceDate *int64 `json:"IssuanceDate,omitnil,omitempty" name:"IssuanceDate"`
	// The context.
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`
	// The ID.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
	// The signature.
	Proof *Proof `json:"Proof,omitnil,omitempty" name:"Proof"`
	// The type.
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`
}