Skip to content

Commit

Permalink
Generated SDK for BCCR.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 28, 2024
1 parent f9dd65d commit b74d66d
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11756,6 +11756,8 @@ type CreateEvidenceLiveRequest struct {
WebUrl *EvidenceWebUrlInfo `json:"web_url,omitempty" xml:"web_url,omitempty" require:"true"`
// 幂等字段
ClientToken *string `json:"client_token,omitempty" xml:"client_token,omitempty" require:"true"`
// 主播 ID
ProfileId *string `json:"profile_id,omitempty" xml:"profile_id,omitempty"`
}

func (s CreateEvidenceLiveRequest) String() string {
Expand Down Expand Up @@ -11801,6 +11803,11 @@ func (s *CreateEvidenceLiveRequest) SetClientToken(v string) *CreateEvidenceLive
return s
}

func (s *CreateEvidenceLiveRequest) SetProfileId(v string) *CreateEvidenceLiveRequest {
s.ProfileId = &v
return s
}

type CreateEvidenceLiveResponse struct {
// 请求唯一ID,用于链路跟踪和问题排查
ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
Expand Down Expand Up @@ -12088,6 +12095,10 @@ type GetEvidenceInfoResponse struct {
EvidenceResultUrl *string `json:"evidence_result_url,omitempty" xml:"evidence_result_url,omitempty"`
// 存证证明信息
CertificateInfo *EvidenceCertificateInfo `json:"certificate_info,omitempty" xml:"certificate_info,omitempty"`
// 取证错误码
EvidenceErrorCode *string `json:"evidence_error_code,omitempty" xml:"evidence_error_code,omitempty"`
// 取证错误描述
EvidenceErrorMsg *string `json:"evidence_error_msg,omitempty" xml:"evidence_error_msg,omitempty"`
}

func (s GetEvidenceInfoResponse) String() string {
Expand Down Expand Up @@ -12148,6 +12159,16 @@ func (s *GetEvidenceInfoResponse) SetCertificateInfo(v *EvidenceCertificateInfo)
return s
}

func (s *GetEvidenceInfoResponse) SetEvidenceErrorCode(v string) *GetEvidenceInfoResponse {
s.EvidenceErrorCode = &v
return s
}

func (s *GetEvidenceInfoResponse) SetEvidenceErrorMsg(v string) *GetEvidenceInfoResponse {
s.EvidenceErrorMsg = &v
return s
}

type ReplaceDciRequest struct {
// OAuth模式下的授权token
AuthToken *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
Expand Down Expand Up @@ -13369,7 +13390,7 @@ func (client *Client) DoRequest(version *string, action *string, protocol *strin
"req_msg_id": antchainutil.GetNonce(),
"access_key": client.AccessKeyId,
"base_sdk_version": tea.String("TeaSDK-2.0"),
"sdk_version": tea.String("1.18.37"),
"sdk_version": tea.String("1.18.39"),
"_prod_code": tea.String("BCCR"),
"_prod_channel": tea.String("undefined"),
}
Expand Down

0 comments on commit b74d66d

Please sign in to comment.