text:
Object = v
	return s
}

func (s *UploadInsuranceRequest) SetFileObjectName(v string) *UploadInsuranceRequest {
	s.FileObjectName = &v
	return s
}

func (s *UploadInsuranceRequest) SetFileId(v string) *UploadInsuranceRequest {
	s.FileId = &v
	return s
}

type UploadInsuranceResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 文件类型
	FileBizType *string `json:"file_biz_type,omitempty" xml:"file_biz_type,omitempty"`
	// 文件名称
	FileName *string `json:"file_name,omitempty" xml:"file_name,omitempty"`
	// 文件访问路径
	OssUrl *string `json:"oss_url,omitempty" xml:"oss_url,omitempty"`
}

func (s UploadInsuranceResponse) String() string {
	return tea.Prettify(s)
}

func (s UploadInsuranceResponse) GoString() string {
	return s.String()
}

func (s *UploadInsuranceResponse) SetReqMsgId(v string) *UploadInsuranceResponse {
	s.ReqMsgId = &v
	return s
}

func (s *UploadInsuranceResponse) SetResultCode(v string) *UploadInsuranceResponse {
	s.ResultCode = &v
	return s
}

func (s *UploadInsuranceResponse) SetResultMsg(v string) *UploadInsuranceResponse {
	s.ResultMsg = &v
	return s
}

func (s *UploadInsuranceResponse) SetFileBizType(v string) *UploadInsuranceResponse {
	s.FileBizType = &v
	return s
}

func (s *UploadInsuranceResponse) SetFileName(v string) *UploadInsuranceResponse {
	s.FileName = &v
	return s
}

func (s *UploadInsuranceResponse) SetOssUrl(v string) *UploadInsuranceResponse {
	s.OssUrl = &v
	return s
}

type SyncInsuranceRequest struct {
	// OAuth模式下的授权token
	AuthToken         *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
	ProductInstanceId *string `json:"product_instance_id,omitempty" xml:"product_instance_id,omitempty"`
	// 保司编码
	MechanismCode *string `json:"mechanism_code,omitempty" xml:"mechanism_code,omitempty" require:"true"`
	// 理赔加密信息
	PolicyEncryptionContext *string `json:"policy_encryption_context,omitempty" xml:"policy_encryption_context,omitempty" require:"true"`
	// 保单号
	PolicyNo *string `json:"policy_no,omitempty" xml:"policy_no,omitempty" require:"true"`
	// 保险产品SKU
	ThirdPartSku *string `json:"third_part_sku,omitempty" xml:"third_part_sku,omitempty"`
	// 保司名称
	MechanismName *string `json:"mechanism_name,omitempty" xml:"mechanism_name,omitempty"`
	// 保单种类，险种
	InsuranceType *string `json:"insurance_type,omitempty" xml:"insurance_type,omitempty"`
	// 操作类型
	// 下单 支付 理赔 退单
	Operation *string `json:"operation,omitempty" xml:"operation,omitempty"`
	// 赔付单号
	ClaimOrderNo *string `json:"claim_order_no,omitempty" xml:"claim_order_no,omitempty" require:"true"`
	// 理赔申请时间（毫秒值）
	ClaimApplyTime *int64 `json:"claim_apply_time,omitempty" xml:"claim_apply_time,omitempty" require:"true"`
	// 理赔赔付时间（毫秒值）
	ClaimPayTime *int64 `json:"claim_pay_time,omitempty" xml:"claim_pay_time,omitempty" require:"true"`
	// 理赔申请金额，整型，以分为单位，50000分 = 500.00元
	ClaimApplyAmount *int64 `json:"claim_apply_amount,omitempty" xml:"claim_apply_amount,omitempty" require:"true"`
	// 理赔金额，整型，以分为单位，50000分 = 500.00元
	ClaimAmount *int64 `json:"claim_amount,omitempty" xml:"claim_amount,omitempty" require:"true"`
	// 授权列表
	AuthorizeRecords []*AuthorizeRecordsPairs `json:"authorize_records,omitempty" xml:"authorize_records,omitempty" type:"Repeated"`
}

func (s SyncInsuranceRequest) String() string {
	return tea.Prettify(s)
}

func (s SyncInsuranceRequest) GoString() string {
	return s.String()
}

func (s *SyncInsuranceRequest) SetAuthToken(v string) *SyncInsuranceRequest {
	s.AuthToken = &v
	return s
}

func (s *SyncInsuranceRequest) SetProductInstanceId(v string) *SyncInsuranceRequest {
	s.ProductInstanceId = &v
	return s
}

func (s *SyncInsuranceRequest) SetMechanismCode(v string) *SyncInsuranceRequest {
	s.MechanismCode = &v
	return s
}

func (s *SyncInsuranceRequest) SetPolicyEncryptionContext(v string) *SyncInsuranceRequest {
	s.PolicyEncryptionContext = &v
	return s
}

func (s *SyncInsuranceRequest) SetPolicyNo(v string) *SyncInsuranceRequest {
	s.PolicyNo = &v
	return s
}

func (s *SyncInsuranceRequest) SetThirdPartSku(v string) *SyncInsuranceRequest {
	s.ThirdPartSku = &v
	return s
}

func (s *SyncInsuranceRequest) SetMechanismName(v string) *SyncInsuranceRequest {
	s.MechanismName = &v
	return s
}

func (s *SyncInsuranceRequest) SetInsuranceType(v string) *SyncInsuranceRequest {
	s.InsuranceType = &v
	return s
}

func (s *SyncInsuranceRequest) SetOperation(v string) *SyncInsuranceRequest {
	s.Operation = &v
	return s
}

func (s *SyncInsuranceRequest) SetClaimOrderNo(v string) *SyncInsuranceRequest {
	s.ClaimOrderNo = &v
	return s
}

func (s *SyncInsuranceRequest) SetClaimApplyTime(v int64) *SyncInsuranceRequest {
	s.ClaimApplyTime = &v
	return s
}

func (s *SyncInsuranceRequest) SetClaimPayTime(v int64) *SyncInsuranceRequest {
	s.ClaimPayTime = &v
	return s
}

func (s *SyncInsuranceRequest) SetClaimApplyAmount(v int64) *SyncInsuranceRequest {
	s.ClaimApplyAmount = &v
	return s
}

func (s *SyncInsuranceRequest) SetClaimAmount(v int64) *SyncInsuranceRequest {
	s.ClaimAmount = &v
	return s
}

func (s *SyncInsuranceRequest) SetAuthorizeRecords(v []*AuthorizeRecordsPairs) *SyncInsuranceRequest {
	s.AuthorizeRecords = v
	return s
}

type SyncInsuranceResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

func (s SyncInsuranceResponse) String() string {
	return tea.Prettify(s)
}

func (s SyncInsuranceResponse) GoString() string {
	return s.String()
}

func (s *SyncInsuranceResponse) SetReqMsgId(v string) *SyncInsuranceResponse {
	s.ReqMsgId = &v
	return s
}

func (s *SyncInsuranceResponse) SetResultCode(v string) *SyncInsuranceResponse {
	s.ResultCode = &v
	return s
}

func (s *SyncInsuranceResponse) SetResultMsg(v string) *SyncInsuranceResponse {
	s.ResultMsg = &v
	return s
}

type CancelInsuranceRequest struct {
	// OAuth模式下的授权token
	AuthToken         *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
	ProductInstanceId *string `json:"product_instance_id,omitempty" xml:"product_instance_id,omitempty"`
	// 原保单号
	PolicyNo *string `json:"policy_no,omitempty" xml:"policy_no,omitempty" require:"true"`
	// 保单终止日期 毫秒值
	PolicyEndTime *int64 `json:"policy_end_time,omitempty" xml:"policy_end_time,omitempty" require:"true"`
	// 退保原因
	ReasonForQuit *string `json:"reason_for_quit,omitempty" xml:"reason_for_quit,omitempty" require:"true"`
	// 退保保费金额，单位分
	QuitTotalAmount *int64 `json:"quit_total_amount,omitempty" xml:"quit_total_amount,omitempty" require:"true"`
	// 扩展信息
	Extend *string `json:"extend,omitempty" xml:"extend,omitempty"`
}

func (s CancelInsuranceRequest) String() string {
	return tea.Prettify(s)
}

func (s CancelInsuranceRequest) GoString() string {
	return s.String()
}

func (s *CancelInsuranceRequest) SetAuthToken(v string) *CancelInsuranceRequest {
	s.AuthToken = &v
	return s
}

func (s *CancelInsuranceRequest) SetProductInstanceId(v string) *CancelInsuranceRequest {
	s.ProductInstanceId = &v
	return s
}

func (s *CancelInsuranceRequest) SetPolicyNo(v string) *CancelInsuranceRequest {
	s.PolicyNo = &v
	return s
}

func (s *CancelInsuranceRequest) SetPolicyEndTime(v int64) *CancelInsuranceRequest {
	s.PolicyEndTime = &v
	return s
}

func (s *CancelInsuranceRequest) SetReasonForQuit(v string) *CancelInsuranceRequest {
	s.ReasonForQuit = &v
	return s
}

func (s *CancelInsuranceRequest) SetQuitTotalAmount(v int64) *CancelInsuranceRequest {
	s.QuitTotalAmount = &v
	return s
}

func (s *CancelInsuranceRequest) SetExtend(v string) *CancelInsuranceRequest {
	s.Extend = &v
	return s
}

type CancelInsuranceResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

func (s CancelInsuranceResponse) String() string {
	return tea.Prettify(s)
}

func (s CancelInsuranceResponse) GoString() string {
	return s.String()
}

func (s *CancelInsuranceResponse) SetReqMsgId(v string) *CancelInsuranceResponse {
	s.ReqMsgId = &v
	return s
}

func (s *CancelInsuranceResponse) SetResultCode(v string) *CancelInsuranceResponse {
	s.ResultCode = &v
	return s
}

func (s *CancelInsuranceResponse) SetResultMsg(v string) *CancelInsuranceResponse {
	s.ResultMsg = &v
	return s
}

type QueryInsuranceRecordsRequest struct {
	// OAuth模式下的授权token
	AuthToken         *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
	ProductInstanceId *string `json:"product_instance_id,omitempty" xml:"product_instance_id,omitempty"`
	// 第三方Id，此处为天猫uid
	SourceUid *string `json:"source_uid,omitempty" xml:"source_uid,omitempty" require:"true"`
	// 保司编码
	MechanismCode *string `json:"mechanism_code,omitempty" xml:"mechanism_code,omitempty" require:"true"`
}

func (s QueryInsuranceRecordsRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryInsuranceRecordsRequest) GoString() string {
	return s.String()
}

func (s *QueryInsuranceRecordsRequest) SetAuthToken(v string) *QueryInsuranceRecordsRequest {
	s.AuthToken = &v
	return s
}

func (s *QueryInsuranceRecordsRequest) SetProductInstanceId(v string) *QueryInsuranceRecordsRequest {
	s.ProductInstanceId = &v
	return s
}

func (s *QueryInsuranceRecordsRequest) SetSourceUid(v string) *QueryInsuranceRecordsRequest {
	s.SourceUid = &v
	return s
}

func (s *QueryInsuranceRecordsRequest) SetMechanismCode(v string) *QueryInsuranceRecordsRequest {
	s.MechanismCode = &v
	return s
}

type QueryInsuranceRecordsResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 用户保单信息集合
	InsuranceRecordsList []*InsuranceRecordModel `json:"insurance_records_list,omitempty" xml:"insurance_records_list,omitempty" type:"Repeated"`
}

func (s QueryInsuranceRecordsResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryInsuranceRecordsResponse) GoString() string {
	return s.String()
}

func (s *QueryInsuranceRecordsResponse) SetReqMsgId(v string) *QueryInsuranceRecordsResponse {
	s.ReqMsgId = &v
	return s
}

func (s *QueryInsuranceRecordsResponse) SetResultCode(v string) *QueryInsuranceRecordsResponse {
	s.ResultCode = &v
	return s
}

func (s *QueryInsuranceRecordsResponse) SetResultMsg(v string) *QueryInsuranceRecordsResponse {
	s.ResultMsg = &v
	return s
}

func (s *QueryInsuranceRecordsResponse) SetInsuranceRecordsList(v []*InsuranceRecordModel) *QueryInsuranceRecordsResponse {
	s.InsuranceRecordsList = v
	return s
}

type QueryInsuranceChainRequest struct {
	// OAuth模式下的授权token
	AuthToken         *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
	ProductInstanceId *string `json:"product_instance_id,omitempty" xml:"product_instance_id,omitempty"`
	// 第三方Id，此处为天猫uid
	SourceUid *string `json:"source_uid,omitempty" xml:"source_uid,omitempty" require:"true"`
	// 保单号
	PolicyNo *string `json:"policy_no,omitempty" xml:"policy_no,omitempty" require:"true"`
}

func (s QueryInsuranceChainRequest) String() string {
	return tea.Prettify(s)
}

func (s QueryInsuranceChainRequest) GoString() string {
	return s.String()
}

func (s *QueryInsuranceChainRequest) SetAuthToken(v string) *QueryInsuranceChainRequest {
	s.AuthToken = &v
	return s
}

func (s *QueryInsuranceChainRequest) SetProductInstanceId(v string) *QueryInsuranceChainRequest {
	s.ProductInstanceId = &v
	return s
}

func (s *QueryInsuranceChainRequest) SetSourceUid(v string) *QueryInsuranceChainRequest {
	s.SourceUid = &v
	return s
}

func (s *QueryInsuranceChainRequest) SetPolicyNo(v string) *QueryInsuranceChainRequest {
	s.PolicyNo = &v
	return s
}

type QueryInsuranceChainResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 保司编码
	MerchanismCode *string `json:"merchanism_code,omitempty" xml:"merchanism_code,omitempty"`
	// 订单来源 TIANMAO
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
	// 保险类型
	InsuraceType *string `json:"insurace_type,omitempty" xml:"insurace_type,omitempty"`
	// 保单加密信息（加密数据，由保司持有密钥）
	InsuranceContext *string `json:"insurance_context,omitempty" xml:"insurance_context,omitempty"`
	// 退保保单信息（加密数据，由保司持有密钥）
	InsuranceClaimContext *string `json:"insurance_claim_context,omitempty" xml:"insurance_claim_context,omitempty"`
	// 保单理赔信息（加密数据，由保司持有密钥）
	InsuranceSurrenderContext *string `json:"insurance_surrender_context,omitempty" xml:"insurance_surrender_context,omitempty"`
}

func (s QueryInsuranceChainResponse) String() string {
	return tea.Prettify(s)
}

func (s QueryInsuranceChainResponse) GoString() string {
	return s.String()
}

func (s *QueryInsuranceChainResponse) SetReqMsgId(v string) *QueryInsuranceChainResponse {
	s.ReqMsgId = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetResultCode(v string) *QueryInsuranceChainResponse {
	s.ResultCode = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetResultMsg(v string) *QueryInsuranceChainResponse {
	s.ResultMsg = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetMerchanismCode(v string) *QueryInsuranceChainResponse {
	s.MerchanismCode = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetSource(v string) *QueryInsuranceChainResponse {
	s.Source = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetInsuraceType(v string) *QueryInsuranceChainResponse {
	s.InsuraceType = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetInsuranceContext(v string) *QueryInsuranceChainResponse {
	s.InsuranceContext = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetInsuranceClaimContext(v string) *QueryInsuranceChainResponse {
	s.InsuranceClaimContext = &v
	return s
}

func (s *QueryInsuranceChainResponse) SetInsuranceSurrenderContext(v string) *QueryInsuranceChainResponse {
	s.InsuranceSurrenderContext = &v
	return s
}

type CreateAntcloudGatewayxFileUploadRequest struct {
	// OAuth模式下的授权token
	AuthToken *string `json:"auth_token,omitempty" xml:"auth_token,omitempty"`
	// 上传文件作用的openapi method
	ApiCode *string `json:"api_code,omitempty" xml:"api_code,omitempty" require:"true"`
	// 文件标签，多个标签;分割
	FileLabel *string `json:"file_label,omitempty" xml:"file_label,omitempty" maxLength:"100"`
	// 自定义的文件元数据
	FileMetadata *string `json:"file_metadata,omitempty" xml:"file_metadata,omitempty" maxLength:"1000"`
	// 文件名，不传则随机生成文件名
	FileName *string `json:"file_name,omitempty" xml:"file_name,omitempty" maxLength:"100"`
	// 文件的多媒体类型
	MimeType *string `json:"mime_type,omitempty" xml:"mime_type,omitempty"`
	// 产品方的api归属集群，即productInstanceId
	ApiCluster *string `json:"api_cluster,omitempty" xml:"api_cluster,omitempty"`
}

func (s CreateAntcloudGatewayxFileUploadRequest) String() string {
	return tea.Prettify(s)
}

func (s CreateAntcloudGatewayxFileUploadRequest) GoString() string {
	return s.String()
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetAuthToken(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.AuthToken = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetApiCode(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.ApiCode = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetFileLabel(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.FileLabel = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetFileMetadata(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.FileMetadata = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetFileName(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.FileName = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetMimeType(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.MimeType = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadRequest) SetApiCluster(v string) *CreateAntcloudGatewayxFileUploadRequest {
	s.ApiCluster = &v
	return s
}

type CreateAntcloudGatewayxFileUploadResponse struct {
	// 请求唯一ID，用于链路跟踪和问题排查
	ReqMsgId *string `json:"req_msg_id,omitempty" xml:"req_msg_id,omitempty"`
	// 结果码，一般OK表示调用成功
	ResultCode *string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 异常信息的文本描述
	ResultMsg *string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 上传有效期
	ExpiredTime *string `json:"expired_time,omitempty" xml:"expired_time,omitempty" pattern:"\\d{4}[-]\\d{1,2}[-]\\d{1,2}[T]\\d{2}:\\d{2}:\\d{2}([Z]|([\\.]\\d{1,9})?[\\+]\\d{2}[\\:]?\\d{2})"`
	// 32位文件唯一id
	FileId *string `json:"file_id,omitempty" xml:"file_id,omitempty"`
	// 放入http请求头里
	UploadHeaders []*XNameValuePair `json:"upload_headers,omitempty" xml:"upload_headers,omitempty" type:"Repeated"`
	// 文件上传地址
	UploadUrl *string `json:"upload_url,omitempty" xml:"upload_url,omitempty"`
}

func (s CreateAntcloudGatewayxFileUploadResponse) String() string {
	return tea.Prettify(s)
}

func (s CreateAntcloudGatewayxFileUploadResponse) GoString() string {
	return s.String()
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetReqMsgId(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.ReqMsgId = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetResultCode(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.ResultCode = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetResultMsg(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.ResultMsg = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetExpiredTime(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.ExpiredTime = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetFileId(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.FileId = &v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetUploadHeaders(v []*XNameValuePair) *CreateAntcloudGatewayxFileUploadResponse {
	s.UploadHeaders = v
	return s
}

func (s *CreateAntcloudGatewayxFileUploadResponse) SetUploadUrl(v string) *CreateAntcloudGatewayxFileUploadResponse {
	s.UploadUrl = &v
	return s
}

type Client struct {
	Endpoint                *string
	RegionId                *string
	AccessKeyId             *string
	AccessKeySecret         *string
	Protocol                *string
	UserAgent               *string
	ReadTimeout             *int
	ConnectTimeout          *int
	HttpProxy               *string
	HttpsProxy              *string
	Socks5Proxy             *string
	Socks5NetWork           *string
	NoProxy                 *string
	MaxIdleConns            *int
	SecurityToken           *string
	MaxIdleTimeMillis       *int
	KeepAliveDurationMillis *int
	MaxRequests             *int
	MaxRequestsPerHost      *int
}

/**
 * Init client with Config
 * @param config config contains the necessary information to create a client
 */
func NewClient(config *Config) (*Client, error) {
	client := new(Client)
	err := client.Init(config)
	return client, err
}

func (client *Client) Init(config *Config) (_err error) {
	if tea.BoolValue(util.IsUnset(tea.ToMap(config))) {
		_err = tea.NewSDKError(map[string]interface{}{
			"code":    "ParameterMissing",
			"message": "'config' can not be unset",
		})
		return _err
	}

	client.AccessKeyId = config.AccessKeyId
	client.AccessKeySecret = config.AccessKeySecret
	client.SecurityToken = config.SecurityToken
	client.Endpoint = config.Endpoint
	client.Protocol = config.Protocol
	client.UserAgent = config.UserAgent
	client.ReadTimeout = util.DefaultNumber(config.ReadTimeout, tea.Int(20000))
	client.ConnectTimeout = util.DefaultNumber(config.ConnectTimeout, tea.Int(20000))
	client.HttpProxy = config.HttpProxy
	client.HttpsProxy = config.HttpsProxy
	client.NoProxy = config.NoProxy
	client.Socks5Proxy = config.Socks5Proxy
	client.Socks5NetWork = config.Socks5NetWork
	client.MaxIdleConns = util.DefaultNumber(config.MaxIdleConns, tea.Int(60000))
	client.MaxIdleTimeMillis = util.DefaultNumber(config.MaxIdleTimeMillis, tea.Int(5))
	client.KeepAliveDurationMillis = util.DefaultNumber(config.KeepAliveDurationMillis, tea.Int(5000))
	client.MaxRequests = util.DefaultNumber(config.MaxRequests, tea.Int(100))
	client.MaxRequestsPerHost = util.DefaultNumber(config.MaxRequestsPerHost, tea.Int(100))
	return nil
}

/**
 * Encapsulate the request and invoke the network
 * @param action api name
 * @param protocol http or https
 * @param method e.g. GET
 * @param pathname pathname of every api
 * @param request which contains request params
 * @param runtime which controls some details of call api, such as retry times
 * @return the response
 */
func (client *Client) DoRequest(version *string, action *string, protocol *string, method *string, pathname *string, request map[string]interface{}, headers map[string]*string, runtime *util.RuntimeOptions) (_result map[string]interface{}, _err error) {
	_err = tea.Validate(runtime)
	if _err != nil {
		return _result, _err
	}
	_runtime := map[string]interface{}{
		"timeouted":               "retry",
		"readTimeout":             tea.IntValue(util.DefaultNumber(runtime.ReadTimeout, client.ReadTimeout)),
		"connectTimeout":          tea.IntValue(util.DefaultNumber(runtime.ConnectTimeout, client.ConnectTimeout)),
		"httpProxy":               tea.StringValue(util.DefaultString(runtime.HttpProxy, client.HttpProxy)),
		"httpsProxy":              tea.StringValue(util.DefaultString(runtime.HttpsProxy, client.HttpsProxy)),
		"noProxy":                 tea.StringValue(util.DefaultString(runtime.NoProxy, client.NoProxy)),
		"maxIdleConns":            tea.IntValue(util.DefaultNumber(runtime.MaxIdleConns, client.MaxIdleConns)),
		"maxIdleTimeMillis":       tea.IntValue(client.MaxIdleTimeMillis),
		"keepAliveDurationMillis": tea.IntValue(client.KeepAliveDurationMillis),
		"maxRequests":             tea.IntValue(client.MaxRequests),
		"maxRequestsPerHost":      tea.IntValue(client.MaxRequestsPerHost),
		"retry": map[string]interface{}{
			"retryable":   tea.BoolValue(runtime.Autoretry),
			"maxAttempts": tea.IntValue(util.DefaultNumber(runtime.MaxAttempts, tea.Int(3))),
		},
		"backoff": map[string]interface{}{
			"policy": tea.StringValue(util.DefaultString(runtime.BackoffPolicy, tea.String("no"))),
			"period": tea.IntValue(util.DefaultNumber(runtime.BackoffPeriod, tea.Int(1))),
		},
		"ignoreSSL": tea.BoolValue(runtime.IgnoreSSL),
	}

	_resp := make(map[string]interface{})
	for _retryTimes := 0; tea.BoolValue(tea.AllowRetry(_runtime["retry"], tea.Int(_retryTimes))); _retryTimes++ {
		if _retryTimes > 0 {
			_backoffTime := tea.GetBackoffTime(_runtime["backoff"], tea.Int(_retryTimes))
			if tea.IntValue(_backoffTime) > 0 {
				tea.Sleep(_backoffTime)
			}
		}

		_resp, _err = func() (map[string]interface{}, error) {
			request_ := tea.NewRequest()
			request_.Protocol = util.DefaultString(client.Protocol, protocol)
			request_.Method = method
			request_.Pathname = pathname
			request_.Query = map[string]*string{
				"method":           action,
				"version":          version,
				"sign_type":        tea.String("HmacSHA1"),
				"req_time":         antchainutil.GetTimestamp(),
				"req_msg_id":       antchainutil.GetNonce(),
				"access_key":       client.AccessKeyId,
				"base_sdk_version": tea.String("TeaSDK-2.0"),
				"sdk_version":      tea.String("1.7.29"),
				"_prod_code":       tea.String("BBP"),
				"_prod_channel":    tea.String("undefined"),
			}
			if !tea.BoolValue(util.Empty(client.SecurityToken)) {
				request_.Query["security_token"] = client.SecurityToken
			}

			request_.Headers = tea.Merge(map[string]*string{
				"host":       util.DefaultString(client.Endpoint, tea.String("openapi.antchain.antgroup.com")),
				"user-agent": util.GetUserAgent(client.UserAgent),
			}, headers)
			tmp := util.AnyifyMapValue(rpcutil.Query(request))
			request_.Body = tea.ToReader(util.ToFormString(tmp))
			request_.Headers["content-type"] = tea.String("application/x-www-form-urlencoded")
			signedParam := tea.Merge(request_.Query,
				rpcutil.Query(request))
			request_.Query["sign"] = antchainutil.GetSignature(signedParam, client.AccessKeySecret)
			response_, _err := tea.DoRequest(request_, _runtime)
			if _err != nil {
				return _result, _err
			}
			raw, _err := util.ReadAsString(response_.Body)
			if _err != nil {
				return _result, _err
			}

			obj := util.ParseJSON(raw)
			res := util.AssertAsMap(obj)
			resp := util.AssertAsMap(res["response"])
			if tea.BoolValue(antchainutil.HasError(raw, client.AccessKeySecret)) {
				_err = tea.NewSDKError(map[string]interface{}{
					"message": resp["result_msg"],
					"data":    resp,
					"code":    resp["result_code"],
				})
				return _result, _err
			}

			_result = resp
			return _result, _err
		}()
		if !tea.BoolValue(tea.Retryable(_err)) {
			break
		}
	}

	return _resp, _err
}

/**
 * Description: 对企业/个人进行身份认证
 * Summary: 统一客户认证接口
 */
func (client *Client) AuthCustomer(request *AuthCustomerRequest) (_result *AuthCustomerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &AuthCustomerResponse{}
	_body, _err := client.AuthCustomerEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 对企业/个人进行身份认证
 * Summary: 统一客户认证接口
 */
func (client *Client) AuthCustomerEx(request *AuthCustomerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AuthCustomerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &AuthCustomerResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.customer.auth"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 智科统一客户注册
 * Summary: 统一客户注册接口
 */
func (client *Client) CreateCustomer(request *CreateCustomerRequest) (_result *CreateCustomerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CreateCustomerResponse{}
	_body, _err := client.CreateCustomerEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 智科统一客户注册
 * Summary: 统一客户注册接口
 */
func (client *Client) CreateCustomerEx(request *CreateCustomerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateCustomerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CreateCustomerResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.customer.create"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 客户信息查询
 * Summary: 客户信息查询
 */
func (client *Client) QueryCustomer(request *QueryCustomerRequest) (_result *QueryCustomerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryCustomerResponse{}
	_body, _err := client.QueryCustomerEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 客户信息查询
 * Summary: 客户信息查询
 */
func (client *Client) QueryCustomerEx(request *QueryCustomerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryCustomerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryCustomerResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.customer.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 核身初始化接口
 * Summary: 核身初始化接口
 */
func (client *Client) InitVerify(request *InitVerifyRequest) (_result *InitVerifyResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &InitVerifyResponse{}
	_body, _err := client.InitVerifyEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 核身初始化接口
 * Summary: 核身初始化接口
 */
func (client *Client) InitVerifyEx(request *InitVerifyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *InitVerifyResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &InitVerifyResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.verify.init"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 核身产品渲染接口
 * Summary: 核身产品渲染接口
 */
func (client *Client) StartVerify(request *StartVerifyRequest) (_result *StartVerifyResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &StartVerifyResponse{}
	_body, _err := client.StartVerifyEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 核身产品渲染接口
 * Summary: 核身产品渲染接口
 */
func (client *Client) StartVerifyEx(request *StartVerifyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartVerifyResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &StartVerifyResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.verify.start"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 核身结果查询
 * Summary: 核身结果查询
 */
func (client *Client) CheckVerify(request *CheckVerifyRequest) (_result *CheckVerifyResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CheckVerifyResponse{}
	_body, _err := client.CheckVerifyEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 核身结果查询
 * Summary: 核身结果查询
 */
func (client *Client) CheckVerifyEx(request *CheckVerifyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CheckVerifyResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CheckVerifyResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.verify.check"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 对企业身份进行认证
 * Summary: 企业四要素认证
 */
func (client *Client) VerifyMeta(request *VerifyMetaRequest) (_result *VerifyMetaResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &VerifyMetaResponse{}
	_body, _err := client.VerifyMetaEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 对企业身份进行认证
 * Summary: 企业四要素认证
 */
func (client *Client) VerifyMetaEx(request *VerifyMetaRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *VerifyMetaResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &VerifyMetaResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.meta.verify"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 经营信息查询
 * Summary: 经营信息查询
 */
func (client *Client) QueryEnterpriseBusinessinfo(request *QueryEnterpriseBusinessinfoRequest) (_result *QueryEnterpriseBusinessinfoResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryEnterpriseBusinessinfoResponse{}
	_body, _err := client.QueryEnterpriseBusinessinfoEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 经营信息查询
 * Summary: 经营信息查询
 */
func (client *Client) QueryEnterpriseBusinessinfoEx(request *QueryEnterpriseBusinessinfoRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryEnterpriseBusinessinfoResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryEnterpriseBusinessinfoResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.enterprise.businessinfo.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 网关测试
 * Summary: 网关测试
 */
func (client *Client) QueryGwtest(request *QueryGwtestRequest) (_result *QueryGwtestResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryGwtestResponse{}
	_body, _err := client.QueryGwtestEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 网关测试
 * Summary: 网关测试
 */
func (client *Client) QueryGwtestEx(request *QueryGwtestRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryGwtestResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryGwtestResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.gwtest.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 定义外包的薪资方案接口,以【服务商、项目类别、领域、角色、资质】为unique
 * Summary: 外包薪资规则合约发布接口
 */
func (client *Client) ApplyContractRule(request *ApplyContractRuleRequest) (_result *ApplyContractRuleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &ApplyContractRuleResponse{}
	_body, _err := client.ApplyContractRuleEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 定义外包的薪资方案接口,以【服务商、项目类别、领域、角色、资质】为unique
 * Summary: 外包薪资规则合约发布接口
 */
func (client *Client) ApplyContractRuleEx(request *ApplyContractRuleRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ApplyContractRuleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &ApplyContractRuleResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.contract.rule.apply"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 调用链上合约接口，查询外包的薪资方案

 * Summary: 外包薪资规则合约查询接口
 */
func (client *Client) GetContractRule(request *GetContractRuleRequest) (_result *GetContractRuleResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &GetContractRuleResponse{}
	_body, _err := client.GetContractRuleEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 调用链上合约接口，查询外包的薪资方案

 * Summary: 外包薪资规则合约查询接口
 */
func (client *Client) GetContractRuleEx(request *GetContractRuleRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetContractRuleResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &GetContractRuleResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.contract.rule.get"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 基于人的维度,支持批量接口上传，以{id,name,createDate,resultDate}。具体格式待商议
 * Summary: 长城汽车的考勤信息上传接口
 */
func (client *Client) UploadStaffAttendance(request *UploadStaffAttendanceRequest) (_result *UploadStaffAttendanceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &UploadStaffAttendanceResponse{}
	_body, _err := client.UploadStaffAttendanceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 基于人的维度,支持批量接口上传，以{id,name,createDate,resultDate}。具体格式待商议
 * Summary: 长城汽车的考勤信息上传接口
 */
func (client *Client) UploadStaffAttendanceEx(request *UploadStaffAttendanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadStaffAttendanceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &UploadStaffAttendanceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.staff.attendance.upload"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 基于人的维度，入参：{用户id,考勤月份}
 * Summary: 长城汽车的考勤信息获取
 */
func (client *Client) QueryStaffAttendance(request *QueryStaffAttendanceRequest) (_result *QueryStaffAttendanceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryStaffAttendanceResponse{}
	_body, _err := client.QueryStaffAttendanceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 基于人的维度，入参：{用户id,考勤月份}
 * Summary: 长城汽车的考勤信息获取
 */
func (client *Client) QueryStaffAttendanceEx(request *QueryStaffAttendanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryStaffAttendanceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryStaffAttendanceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.staff.attendance.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 长城汽车的考核信息
 * Summary: 长城汽车的考核信息
 */
func (client *Client) UploadStaffAssessment(request *UploadStaffAssessmentRequest) (_result *UploadStaffAssessmentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &UploadStaffAssessmentResponse{}
	_body, _err := client.UploadStaffAssessmentEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 长城汽车的考核信息
 * Summary: 长城汽车的考核信息
 */
func (client *Client) UploadStaffAssessmentEx(request *UploadStaffAssessmentRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadStaffAssessmentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &UploadStaffAssessmentResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.staff.assessment.upload"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 考核信息查询
 * Summary: 考核信息查询
 */
func (client *Client) QueryStaffAssessment(request *QueryStaffAssessmentRequest) (_result *QueryStaffAssessmentResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryStaffAssessmentResponse{}
	_body, _err := client.QueryStaffAssessmentEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 考核信息查询
 * Summary: 考核信息查询
 */
func (client *Client) QueryStaffAssessmentEx(request *QueryStaffAssessmentRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryStaffAssessmentResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryStaffAssessmentResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.staff.assessment.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 对账单执行
 * Summary: 对账单执行接口
 */
func (client *Client) ExecContractReconciliation(request *ExecContractReconciliationRequest) (_result *ExecContractReconciliationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &ExecContractReconciliationResponse{}
	_body, _err := client.ExecContractReconciliationEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 对账单执行
 * Summary: 对账单执行接口
 */
func (client *Client) ExecContractReconciliationEx(request *ExecContractReconciliationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ExecContractReconciliationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &ExecContractReconciliationResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.contract.reconciliation.exec"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 结算单确认
 * Summary: 结算单确认
 */
func (client *Client) ConfirmContractReconciliation(request *ConfirmContractReconciliationRequest) (_result *ConfirmContractReconciliationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &ConfirmContractReconciliationResponse{}
	_body, _err := client.ConfirmContractReconciliationEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 结算单确认
 * Summary: 结算单确认
 */
func (client *Client) ConfirmContractReconciliationEx(request *ConfirmContractReconciliationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ConfirmContractReconciliationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &ConfirmContractReconciliationResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.contract.reconciliation.confirm"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 查询结算单
 * Summary: 查询结算单
 */
func (client *Client) QueryContractReconciliation(request *QueryContractReconciliationRequest) (_result *QueryContractReconciliationResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryContractReconciliationResponse{}
	_body, _err := client.QueryContractReconciliationEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 查询结算单
 * Summary: 查询结算单
 */
func (client *Client) QueryContractReconciliationEx(request *QueryContractReconciliationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryContractReconciliationResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryContractReconciliationResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.contract.reconciliation.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: DID创建及核验
 * Summary: DID创建及核验
 */
func (client *Client) VerifyCustomer(request *VerifyCustomerRequest) (_result *VerifyCustomerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &VerifyCustomerResponse{}
	_body, _err := client.VerifyCustomerEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: DID创建及核验
 * Summary: DID创建及核验
 */
func (client *Client) VerifyCustomerEx(request *VerifyCustomerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *VerifyCustomerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &VerifyCustomerResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.customer.verify"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 身份关联链上账户
 * Summary: 身份关联链上账户
 */
func (client *Client) MatchDidAccount(request *MatchDidAccountRequest) (_result *MatchDidAccountResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &MatchDidAccountResponse{}
	_body, _err := client.MatchDidAccountEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 身份关联链上账户
 * Summary: 身份关联链上账户
 */
func (client *Client) MatchDidAccountEx(request *MatchDidAccountRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *MatchDidAccountResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &MatchDidAccountResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.did.account.match"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 身份关数字资产
 * Summary: 身份关数字资产
 */
func (client *Client) MatchDidAssets(request *MatchDidAssetsRequest) (_result *MatchDidAssetsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &MatchDidAssetsResponse{}
	_body, _err := client.MatchDidAssetsEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 身份关数字资产
 * Summary: 身份关数字资产
 */
func (client *Client) MatchDidAssetsEx(request *MatchDidAssetsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *MatchDidAssetsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &MatchDidAssetsResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.did.assets.match"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: DID创建及核验
 * Summary: DID创建及核验
 */
func (client *Client) CreateDidCustomer(request *CreateDidCustomerRequest) (_result *CreateDidCustomerResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CreateDidCustomerResponse{}
	_body, _err := client.CreateDidCustomerEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: DID创建及核验
 * Summary: DID创建及核验
 */
func (client *Client) CreateDidCustomerEx(request *CreateDidCustomerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateDidCustomerResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CreateDidCustomerResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.did.customer.create"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 企业DID创建及核验
 * Summary: 企业DID创建及核验
 */
func (client *Client) CreateDidEnterprise(request *CreateDidEnterpriseRequest) (_result *CreateDidEnterpriseResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CreateDidEnterpriseResponse{}
	_body, _err := client.CreateDidEnterpriseEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 企业DID创建及核验
 * Summary: 企业DID创建及核验
 */
func (client *Client) CreateDidEnterpriseEx(request *CreateDidEnterpriseRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateDidEnterpriseResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CreateDidEnterpriseResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.did.enterprise.create"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 记录用户登录保司小程序信息
 * Summary: 用户登陆页面埋点
 */
func (client *Client) InitInsuranceUser(request *InitInsuranceUserRequest) (_result *InitInsuranceUserResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &InitInsuranceUserResponse{}
	_body, _err := client.InitInsuranceUserEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 记录用户登录保司小程序信息
 * Summary: 用户登陆页面埋点
 */
func (client *Client) InitInsuranceUserEx(request *InitInsuranceUserRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *InitInsuranceUserResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &InitInsuranceUserResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.user.init"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 保司方获取授权信息
 * Summary: 获取授权信息
 */
func (client *Client) QueryInsurance(request *QueryInsuranceRequest) (_result *QueryInsuranceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryInsuranceResponse{}
	_body, _err := client.QueryInsuranceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 保司方获取授权信息
 * Summary: 获取授权信息
 */
func (client *Client) QueryInsuranceEx(request *QueryInsuranceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryInsuranceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryInsuranceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 保单信息上链，保单信息同步
 * Summary: 保单信息上链
 */
func (client *Client) OperateInsurance(request *OperateInsuranceRequest) (_result *OperateInsuranceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &OperateInsuranceResponse{}
	_body, _err := client.OperateInsuranceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 保单信息上链，保单信息同步
 * Summary: 保单信息上链
 */
func (client *Client) OperateInsuranceEx(request *OperateInsuranceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *OperateInsuranceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &OperateInsuranceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.operate"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 上传保单附件至阿里云OSS
 * Summary: 上传保单附件
 */
func (client *Client) UploadInsurance(request *UploadInsuranceRequest) (_result *UploadInsuranceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &UploadInsuranceResponse{}
	_body, _err := client.UploadInsuranceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 上传保单附件至阿里云OSS
 * Summary: 上传保单附件
 */
func (client *Client) UploadInsuranceEx(request *UploadInsuranceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadInsuranceResponse, _err error) {
	if !tea.BoolValue(util.IsUnset(request.FileObject)) {
		uploadReq := &CreateAntcloudGatewayxFileUploadRequest{
			AuthToken: request.AuthToken,
			ApiCode:   tea.String("antchain.bbp.insurance.upload"),
			FileName:  request.FileObjectName,
		}
		uploadResp, _err := client.CreateAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime)
		if _err != nil {
			return _result, _err
		}

		if !tea.BoolValue(antchainutil.IsSuccess(uploadResp.ResultCode, tea.String("ok"))) {
			uploadInsuranceResponse := &UploadInsuranceResponse{
				ReqMsgId:   uploadResp.ReqMsgId,
				ResultCode: uploadResp.ResultCode,
				ResultMsg:  uploadResp.ResultMsg,
			}
			_result = uploadInsuranceResponse
			return _result, _err
		}

		uploadHeaders := antchainutil.ParseUploadHeaders(uploadResp.UploadHeaders)
		_err = antchainutil.PutObject(request.FileObject, uploadHeaders, uploadResp.UploadUrl)
		if _err != nil {
			return _result, _err
		}
		request.FileId = uploadResp.FileId
	}

	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &UploadInsuranceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.upload"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 保险理赔受理信息同步到蚂蚁链
 * Summary: 理赔受理上链
 */
func (client *Client) SyncInsurance(request *SyncInsuranceRequest) (_result *SyncInsuranceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &SyncInsuranceResponse{}
	_body, _err := client.SyncInsuranceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 保险理赔受理信息同步到蚂蚁链
 * Summary: 理赔受理上链
 */
func (client *Client) SyncInsuranceEx(request *SyncInsuranceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SyncInsuranceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &SyncInsuranceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.sync"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 同步用户退保信息上链
 * Summary: 保单退保接口
 */
func (client *Client) CancelInsurance(request *CancelInsuranceRequest) (_result *CancelInsuranceResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CancelInsuranceResponse{}
	_body, _err := client.CancelInsuranceEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 同步用户退保信息上链
 * Summary: 保单退保接口
 */
func (client *Client) CancelInsuranceEx(request *CancelInsuranceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelInsuranceResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CancelInsuranceResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.cancel"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 查询用户的数据库保单记录
 * Summary: 用户保单信息列表查询
 */
func (client *Client) QueryInsuranceRecords(request *QueryInsuranceRecordsRequest) (_result *QueryInsuranceRecordsResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryInsuranceRecordsResponse{}
	_body, _err := client.QueryInsuranceRecordsEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 查询用户的数据库保单记录
 * Summary: 用户保单信息列表查询
 */
func (client *Client) QueryInsuranceRecordsEx(request *QueryInsuranceRecordsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryInsuranceRecordsResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryInsuranceRecordsResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.records.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 保单链上信息查询
 * Summary: 保单链上信息查询
 */
func (client *Client) QueryInsuranceChain(request *QueryInsuranceChainRequest) (_result *QueryInsuranceChainResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &QueryInsuranceChainResponse{}
	_body, _err := client.QueryInsuranceChainEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 保单链上信息查询
 * Summary: 保单链上信息查询
 */
func (client *Client) QueryInsuranceChainEx(request *QueryInsuranceChainRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryInsuranceChainResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &QueryInsuranceChainResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antchain.bbp.insurance.chain.query"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

/**
 * Description: 创建HTTP PUT提交的文件上传
 * Summary: 文件上传创建
 */
func (client *Client) CreateAntcloudGatewayxFileUpload(request *CreateAntcloudGatewayxFileUploadRequest) (_result *CreateAntcloudGatewayxFileUploadResponse, _err error) {
	runtime := &util.RuntimeOptions{}
	headers := make(map[string]*string)
	_result = &CreateAntcloudGatewayxFileUploadResponse{}
	_body, _err := client.CreateAntcloudGatewayxFileUploadEx(request, headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_result = _body
	return _result, _err
}

/**
 * Description: 创建HTTP PUT提交的文件上传
 * Summary: 文件上传创建
 */
func (client *Client) CreateAntcloudGatewayxFileUploadEx(request *CreateAntcloudGatewayxFileUploadRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAntcloudGatewayxFileUploadResponse, _err error) {
	_err = util.ValidateModel(request)
	if _err != nil {
		return _result, _err
	}
	_result = &CreateAntcloudGatewayxFileUploadResponse{}
	_body, _err := client.DoRequest(tea.String("1.0"), tea.String("antcloud.gatewayx.file.upload.create"), tea.String("HTTPS"), tea.String("POST"), tea.String("/gateway.do"), tea.ToMap(request), headers, runtime)
	if _err != nil {
		return _result, _err
	}
	_err = tea.Convert(_body, &_result)
	return _result, _err
}

license_type: permissive

branch_name: refs/heads/master

extension: go


text:
SUMMARY = "Low Level Skeleton Library for Communication on Intel platforms"
SECTION = "libs"
AUTHOR = "Brendan Le Foll, Tom Ingleby"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=e8db6501ed294e65418a933925d12058"

# git is required to get a good version from git describe
DEPENDS = "nodejs swig-native"

SRC_URI = "git://github.com/intel-iot-devkit/mraa.git;protocol=https"
SRCREV = "${AUTOREV}"

PV = "0.7.3+git${SRCPV}"

S = "${WORKDIR}/git"

inherit distutils-base pkgconfig python-dir cmake

FILES_${PN}-doc += "${datadir}/mraa/examples/"

FILES_${PN}-dbg += "${libdir}/node_modules/mraajs/.debug/ \
                    ${PYTHON_SITEPACKAGES_DIR}/.debug/"

do_compile_prepend () {
  # when yocto builds in ${D} it does not have access to ../git/.git so git
  # describe --tags fails. In order not to tag our version as dirty we use this
  # trick
  sed -i 's/-dirty//' src/version.c
}

license: MIT

repository: ghanashyamprabhu/meta-alext-edison

repo_name: ghanashyamprabhu/meta-alext-edison

extension: bb


text:
package command

import (
	"fmt"
	"log"
	"os"
	"path/filepath"

	"github.com/missinglink/gosmparse"
	"github.com/missinglink/pbf/handler"
	"github.com/missinglink/pbf/parser"

	"github.com/urfave/cli"
)

// PbfIndex cli command
func PbfIndex(c *cli.Context) error {

	// validate args
	var argv = c.Args()
	if len(argv) != 1 {
		log.Println("invalid arguments, expected: {pbf}")
		os.Exit(1)
	}

	// set feature flag to enable indexing code (normally turned off for performance)
	os.Setenv("INDEXING", "ON")

	// create parser
	pbfPath, _ := filepath.Abs(c.Args()[0])
	parser := parser.NewParser(pbfPath)

	// Parse will block until it is done or an error occurs.
	parser.Parse(&handler.Null{})

	return nil
}

func print(typ string, str string) {
	switch typ {
	case "node": // blue
		// fmt.Printf("\033[30;48;5;4m%s\033[0m", str) // black on blue
		fmt.Printf("\033[34m%s\033[0m", str) // blue
	case "way":
		// fmt.Printf("\033[30;48;5;2m%s\033[0m", str) // black on green
		fmt.Printf("\033[32m%s\033[0m", str) // green
	case "relation":
		// fmt.Printf("\033[30;48;5;1m%s\033[0m", str) // black on red
		fmt.Printf("\033[31m%s\033[0m", str) // red
	default:
		fmt.Printf("\033[30;48;5;7m%s\033[0m", "?") // black on white
	}
}

// PbfIndexInfo cli command
func PbfIndexInfo(c *cli.Context) error {

	// validate args
	var argv = c.Args()
	if len(argv) != 1 {
		log.Println("invalid arguments, expected: {.idx file}")
		os.Exit(1)
	}

	// create parser
	idxPath, _ := filepath.Abs(c.Args()[0])

	// load index
	index := &gosmparse.BlobIndex{}
	index.ReadFromFile(idxPath)

	fmt.Println()
	var blockcounts = make(map[string]int)
	var counts = make(map[string]int)

	// print index
	for _, info := range index.Blobs {

		// fmt.Printf("▊  start: %v, size: %v\n", info.Start, info.Size)

		for _, group := range info.Groups {

			// var code = fmt.Sprintf("%d", group.Count)
			// var code = fmt.Sprintf("%d", group.Count/1000)
			var code = "⡀"
			switch group.Count / 1000 {
			case 2:
				code = "⣀"
			case 3:
				code = "⣄"
			case 4:
				code = "⣤"
			case 5:
				code = "⣦"
			case 6:
				code = "⣶"
			case 7:
				code = "⣷"
			case 8:
				code = "⣿"
			}

			// var foo = group.Count / 1000
			// code += int(foo)

			// fmt.Printf(" ")
			print(group.Type, code)
			// fmt.Printf("\n%v\n", fmt.Sprintf("\\u%X", code))
			// fmt.Printf("\n%s\n", "\u2581")
			blockcounts[group.Type]++
			counts[group.Type] += group.Count
			fmt.Printf(" type: %v, count: %v, low: %v, high: %v\n", group.Type, group.Count, group.Low, group.High)
		}
		// fmt.Printf(" ")
	}

	fmt.Println()

	fmt.Printf("\n\033[30;48;5;%dm nodes \033[0m blocks: %d, total: %d", 4, blockcounts["node"], counts["node"])
	fmt.Printf("\n\033[30;48;5;%dm ways \033[0m blocks: %d, total: %d", 2, blockcounts["way"], counts["way"])
	fmt.Printf("\n\033[30;48;5;%dm relations \033[0m blocks: %d, total: %d\n\n", 9, blockcounts["relation"], counts["relation"])

	fmt.Printf("\n\n")

	return nil
}

repository: missinglink/pbf

repo_name: missinglink/pbf

gha_license_id: MIT

gha_language: Go


text:
# Base recipe: /meta/recipes-devtools/ruby/ruby_2.4.4.bb
# Base branch: morty

SUMMARY = "An interpreter of object-oriented scripting language"
DESCRIPTION = "Ruby is an interpreted scripting language for quick \
and easy object-oriented programming. It has many features to process \
text files and to do system management tasks (as in Perl). \
It is simple, straight-forward, and extensible. \
"
HOMEPAGE = "http://www.ruby-lang.org/"

# use strech-master branch
DEBIAN_GIT_BRANCH = "stretch-master"

inherit debian-package
PV = "2.3.3"

LICENSE = "Ruby | BSD | GPLv2"
LIC_FILES_CHKSUM = "\
  file://COPYING;md5=837b32593517ae48b9c3b5c87a5d288c \
  file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5 \
  file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
"

DEPENDS = "ruby2.3-native zlib openssl tcl libyaml gdbm readline"
DEPENDS_class-native = "openssl-native libyaml-native"

inherit autotools

# it's unknown to configure script, but then passed to extconf.rb
# maybe it's not really needed as we're hardcoding the result with
# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"

PACKAGECONFIG ??= ""
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"

PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
PACKAGECONFIG[gmp] = "--with-gmp=yes, --with-gmp=no, gmp"
PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo,"

EXTRA_AUTORECONF += "--exclude=aclocal"

EXTRA_OECONF = "\
    --disable-versioned-paths \
    --disable-rpath \
    --disable-dtrace \
    --enable-shared \
    --enable-load-relative \
"
EXTRA_OECONF_class-target += "--with-baseruby=${STAGING_BINDIR_NATIVE}/ruby"

do_install() {
	oe_runmake 'DESTDIR=${D}' install
}

do_install_append_class-target() {
	chrpath --delete ${D}${bindir}/ruby
}

PACKAGES =+ "${PN}-rdoc lib${PN}"

RDEPENDS_${PN}-rdoc = "${PN}"
FILES_${PN}-rdoc += "${datadir}/ri ${docdir}/${PN}-doc"

FILES_lib${PN} += "${libdir}/ruby ${nonarch_base_libdir}/ruby "

FILES_${PN} += "${datadir}/rubygems"

BBCLASSEXTEND = "native"

repository: meta-debian/meta-debian-extra

repo_name: meta-debian/meta-debian-extra

branch_name: refs/heads/morty

gha_language: BitBake


text:
PR = "r1"
require u-boot.inc

DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_at91sam9g20ek = "1"
DEFAULT_PREFERENCE_at91sam9g45ek = "1"
DEFAULT_PREFERENCE_igep0020 = "1"

SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "

SRC_URI_append_igep0020 = " \
	file://update-mach-types.patch;patch=1 \
	file://add-board-support-for-IGEP-v2-series-rev-B.patch;patch=1 \
"

TARGET_LDFLAGS = ""

inherit base

do_compile () {
       oe_runmake ${UBOOT_MACHINE}
       oe_runmake all
}

repository: demsey/openembedded

repo_name: demsey/openembedded

branch_name: HEAD


text:
SECTION = "devel/chicken"
DESCRIPTION = "A HTTP/2 header compression library for Chicken"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://hpack.meta;md5=30baa42177cd2f5cdb4f748833da577c"
DEPENDS_append_class-cross = " chicken-egg-defstruct-cross"
DEPENDS_append_class-crosssdk = " chicken-egg-defstruct-crosssdk"
DEPENDS_append_class-nativesdk = " nativesdk-chicken-egg-defstruct chicken-egg-defstruct-crosssdk"
DEPENDS = " chicken-egg-defstruct chicken-egg-defstruct-cross"
RDEPENDS_${PN} = " chicken-egg-defstruct"

SRC_URI = "http://code.call-cc.org/egg-tarballs/4/hpack/hpack-${PV}.tar.gz"

SRC_URI[md5sum] = "9275cbaa000ca10fa117fcaa10c18ff5"
SRC_URI[sha256sum] = "bf7ac4b0a20d7eddd0dcf87b8636b6592bade72dbb4353c8ede2c6afdc6b2d11"

S = "${WORKDIR}/hpack-${PV}"

inherit chicken_install

BBCLASSEXTEND = "cross crosssdk nativesdk"

repository: OSSystems/meta-chicken

repo_name: OSSystems/meta-chicken


text:
package translator

import (
	"encoding/json"
	"io/ioutil"

	"github.com/hyperjiang/translate/client"
)

type JSONTranslator struct {
	Client   client.Client
	Original map[string]string
	Result   map[string]string
}

func NewJSONTranslator(client client.Client) *JSONTranslator {
	return &JSONTranslator{Client: client}
}

func (trans *JSONTranslator) ParseFile(file string) error {
	content, err := ioutil.ReadFile(file)
	if err != nil {
		return err
	}

	trans.Original = make(map[string]string)

	return json.Unmarshal(content, &trans.Original)
}

func (trans *JSONTranslator) Translate(sl, tl string) error {
	var err error
	trans.Result, err = translate(trans.Client, trans.Original, sl, tl)

	return err
}

func (trans *JSONTranslator) SaveResult(file string) error {
	result, err := json.MarshalIndent(trans.Result, "", "    ")
	if err != nil {
		return err
	}

	return ioutil.WriteFile(file, result, 0644)
}

repository: hyperjiang/translate

repo_name: hyperjiang/translate

branch_name: refs/heads/main


text:
package config

import (
	"github.com/stretchr/testify/assert"
	"testing"
)

func TestConfig(t *testing.T) {

	c := newConfiguration()

	assert.NotEqual(t, nil, c.Foo())
	assert.NotEqual(t, nil, c.FooBar())

}

repository: hidevopsio/hiboot

repo_name: hidevopsio/hiboot


text:
// Copyright (c) 2014-2019 Robert A. Alfieri
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//

// Most programs will have only one world.
// Multiple worlds are allowed, but only one is displayed at any given time.
//
#ifndef _World_h
#define _World_h

#include "Config.h"

// Common directions
//
enum {
    DIR_X_POS   = 0,
    DIR_X_NEG   = 1,
    DIR_Y_POS   = 2,
    DIR_Y_NEG   = 3,
    DIR_Z_NEG   = 4,
    DIR_Z_POS   = 5
};

// Hints on how often geometry changes
//
enum {
    GEOM_CHANGES_NEVER       = 0,   // geometry never changes (this is actually not just a hint)
    GEOM_CHANGES_RARELY      = 1,   // geometry doesn't change often (default)
    GEOM_CHANGES_OFTEN       = 2,   // geometry changes often
    GEOM_CHANGES_ALWAYS      = 3    // geometry changes every frame
};

// Entities maintain arrays of Vertex and Triangle and tell World when they change
//
class Vertex
{
public:
    float          position[3];  // absolute location within world
    float          normal[3];    // normal unit vector
    int            texid;        // texture array index
    float          texcoord[2];  // texture 2D coords
};

class Triangle
{
public:
    unsigned short v0;           // vertex0 index
    unsigned short v1;           // vertex1 index
    unsigned short v2;           // vertex2 index
};

class Sys;

class World
{
public:
    World( Config * config, Sys * sys, float w, float h, float d );
    virtual ~World();

    // CONFIG
    //
    Config * config_get( void );

    // CAMERA VIEW
    //
    void view_get( float * vfov, float * near_z, float * far_z,
                   float lookfrom[], float lookat[], float vup[] );
    void view_set( float vfov, float near_z, float far_z,
                   float lookfrom[], float lookat[], float vup[] );

    // GEOMETRY
    //
    // NOTE: Vertex and Triangle are not object classes because we want to be able to
    //       download them into the GPU without modification.  This is a performance
    //       consideration.
    //
    //       Geom is not an object class for the same reason.
    //       However, Geom is hidden (known only between World.cpp and Sys.h).
    //       Instead, users of this module get back an opaque geometry handle (an int).
    //
    // geom_add() returns an opaque handle for referring to the added geometry in subsequent calls.
    // The vertex and triangle arrays must continue to exist after this call.
    // They will get copied later, possibly multiple times if changes occur.
    // For performance reasons, it's important to supply a fairly accurate hint for "changes".
    //
    // geom_changed() is called to note that the vertex data has changed, but the number and order
    // of the vertices and triangles hasn't.
    //
    // geom_remove() is called to remove the geometry.  Currently, if you want to change the number
    // or order of vertexes or triangles, you must first remove the old geometry using this function.
    // This is also called when an Entity is deleted.
    //
    int  geom_add( Vertex * vertex, int vertex_cnt, Triangle * triangle, int triangle_cnt, int changes = GEOM_CHANGES_RARELY );
    void geom_changed( int hdl );
    void geom_remove( int hdl );

    bool geom_visible_get( int hdl );
    void geom_visible_set( int hdl, bool visible );

    int  geom_changes_get( int hdl );
    void geom_changes_set( int hdl, int changes );

    // OVERLAY TEXT
    //
    void text2d_set( int x, int y, int h, int rgb, int str_cnt, const char * str[] );

    // VECTOR MATH
    //
    static float vec_length( const float A[], int dims = 3 );
    static void  vec_assign( float R[], const float A[], int dims = 3 );
    static void  vec_normalize( float R[], const float A[], int dims = 3 );
    static void  vec_add( float R[], const float A[], const float B[], int dims = 3 );
    static void  vec_sub( float R[], const float A[], const float B[], int dims = 3 );
    static void  vec_scale( float R[], const float A[], const float B[], int dims = 3 );
    static void  vec_scale( float R[], const float A[], const float c, int dims = 3 );
    static void  vec_cross( float R[], const float A[], const float B[], int dims = 3 );

protected:
    // This is called at the beginning of frame_render() and
    // must be overridden by a derived class.
    //
    virtual void frame_begin( float wall_clock_ms );

    // This is called whenever the size of the window changes
    // Default behavior: do nothing
    //
    virtual void resize_event( double w, double h );

    // This is called whenever the mouse moves.
    // Default behavior: rotate about viewfrom if left button pressed.
    //
    virtual void motion_event( double x, double y );

    // This is called whenever the user types a key.
    // Default behavior: basic navigation
    //
    virtual void key_event( int key, int action, int modifiers );

    // This is called whenever the scroll wheel on the mouse moves.
    // Default behavior: basic navigation
    //
    virtual void scroll_event( int scroll, int action, int modifiers );

    // This is called whenever a mouse button is pressed or released
    // Default behavior: do nothing currently, but will change to returning object involved.
    //
    virtual void button_event( int button, int action, int modifiers );

private:
    class Impl;
    Impl * impl;

    friend class Sys;  // allows Sys to call these functions

    // Sys calls this to render the next frame
    //
    void frame_render( float wall_clock_ms );
};

#endif

extension: h


text:
#include "ComportementsModification.hpp"

ComportementModification::~ComportementModification()
{
    delete Layout;
    delete S_Proba;
    delete L_nom;
    delete L_Description;
    delete L_Proba;
    delete L_Reactifs;
    delete L_Produits;
    delete B_Save;
    delete T_Nom;
    delete T_Description;
    delete Reactifs;
    delete Produits;
    delete ReactifContainer;
    delete ProduitContainer;
    delete UseEnfRecatifs;
};

void ComportementModification::init()
{
     setWindowTitle(QString::fromUtf8("ArtϕCiel - Modification De Comportements"));
    Layout=new QGridLayout;

    S_Proba= new QDoubleSpinBox;
    S_Proba->setRange(0.0,100.0);
    S_Proba->setDecimals(5);

    L_nom =new QLabel("Nom");
    L_Description = new QLabel("Description");
    L_Proba = new QLabel("Proba");
    L_Reactifs = new QLabel("Reactifs");
    L_Produits = new QLabel("Produits");

    B_Save = new QPushButton("Enregistrer");

    T_Nom = new QLineEdit;
    T_Description = new QTextEdit;

    Reactifs = new QComboBox[9];
    Produits = new QComboBox[9];
    UseEnfRecatifs = new QCheckBox[9];

    EnvViewer=NULL;

    ReactifContainer = new QWidget;
    ProduitContainer = new QWidget;

    int i=0;
    Layout->addWidget(L_nom,i,0);
    Layout->addWidget(T_Nom,i,1);++i;
    Layout->addWidget(L_Proba,i,0);
    Layout->addWidget(S_Proba,i,1);++i;
    Layout->addWidget(L_Description,i,0);
    Layout->addWidget(T_Description,i,1);++i;
    Layout->addWidget(L_Reactifs,i,0);
    Layout->addWidget(L_Produits,i,1);++i;
    Layout->addWidget(ReactifContainer,i,0);
    Layout->addWidget(ProduitContainer,i,1);++i;
    Layout->addWidget(B_Save,i,0);

    setLayout(Layout);

    QObject::connect(B_Save,SIGNAL(clicked()),this,SLOT(save()));
};

void ComportementModification::InitialiseBox(QComboBox* Box)
{
    for (unsigned int i=0; i<9; ++i)
    {
        Box[i].clear();
        vector<Entity>* E= EnvViewer->GetEntities();
        Box[i].addItem("Aucun");

        const unsigned int _size= E->size();
        for (unsigned int j=0;j<_size;++j)
            Box[i].addItem((*E)[j].GetNom().c_str());
    }
};

/*************************************** SEMIE SITUEE ***************************************/
void SemieSitueModification::init()
{
    CurrentReaction = NULL;

    QGridLayout *ReactifLayout = new QGridLayout;
    QVBoxLayout *ProduitsLayout = new QVBoxLayout;

    for (unsigned int i =0; i<9; ++i)
    {
        ReactifLayout->addWidget(&Reactifs[i],i,0);
        ReactifLayout->addWidget(&(UseEnfRecatifs[i]),i,1);
        ProduitsLayout->addWidget(&Produits[i]);
    }

    ReactifContainer->setLayout(ReactifLayout);
    ProduitContainer->setLayout(ProduitsLayout);
};

void SemieSitueModification::save()
{
    CurrentReaction->SetProbabilite(S_Proba->value());
    CurrentReaction->SetNom(T_Nom->text().toStdString());
    CurrentReaction->SetDescription(T_Description->toPlainText().toStdString());

    CurrentReaction->Reactif_use_parent.clear();

    vector<Entity*> v;
    for (unsigned int i=0;i<9;++i)
        if (Reactifs[i].currentIndex() >0)
        {
            v.push_back(EnvViewer->GetEntityByName(Reactifs[i].currentText().toStdString()));
            CurrentReaction->Reactif_use_parent.push_back(UseEnfRecatifs[i].isChecked());
        }
    CurrentReaction->SetReactif(v);

    v.clear();
    for (unsigned int i=0;i<9;++i)
        if (Produits[i].currentIndex() >0)
            v.push_back(EnvViewer->GetEntityByName(Produits[i].currentText().toStdString()));
    CurrentReaction->SetProduits(v);

    hide();
    emit HasSave();
    EnvViewer->HaveToBeInit();
};

void SemieSitueModification::Initialise()
{
    InitialiseBox(Reactifs);
    InitialiseBox(Produits);

    S_Proba->setValue(CurrentReaction->GetProbabilite());
    T_Nom->setText(CurrentReaction->GetNom().c_str());
    T_Description->setText(CurrentReaction->GetDescription().c_str());

    unsigned int _size=CurrentReaction->Reactifs.size();
    Entity* P;

    for (unsigned int i=0;i<9;++i)
        UseEnfRecatifs[i].setChecked(false);

    for (unsigned int i=0;i<_size;++i)
        if ((P=CurrentReaction->Reactifs[i]) != NULL)
        {
            Reactifs[i].setCurrentIndex(Reactifs[i].findText(P->GetNom().c_str()));
            UseEnfRecatifs[i].setChecked(CurrentReaction->Reactif_use_parent[i]);
        }
        else
            Reactifs[i].setCurrentIndex(0);

    for (unsigned int i =_size;i<9;++i)
        Reactifs[i].setCurrentIndex(0);

    _size=CurrentReaction->Produits.size();

    for (unsigned int i=0;i<_size;++i)
        if ((P=CurrentReaction->Produits[i]) != NULL)
            Produits[i].setCurrentIndex(Produits[i].findText(P->GetNom().c_str()));
        else
            Produits[i].setCurrentIndex(0);
    for (unsigned int i =_size;i<9;++i)
        Produits[i].setCurrentIndex(0);
};

repository: Krozark/Art-fi-Ciel

repo_name: Krozark/Art-fi-Ciel

extension: cpp


text:
// Copyright 2018 JDCLOUD.COM
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// NOTE: This class is auto generated by the jdcloud code generator program.

package models

type UserBindedGroups struct {

    /* 分组ID (Optional) */
    ApiGroupId string `json:"apiGroupId"`

    /* 分组名称 (Optional) */
    GroupName string `json:"groupName"`

    /* 区域 (Optional) */
    Region string `json:"region"`

    /* 授权时间 (Optional) */
    Authtime string `json:"authtime"`

    /* 授权用户类型 (Optional) */
    AuthUserType string `json:"authUserType"`

    /* Access Key (Optional) */
    AccessKey string `json:"accessKey"`

    /* api调用者的appid (Optional) */
    AppId string `json:"appId"`

    /* api部署的环境 (Optional) */
    Environment string `json:"environment"`

    /* api版本 (Optional) */
    Revision string `json:"revision"`
}

repository: jdcloud-api/jdcloud-sdk-go

repo_name: jdcloud-api/jdcloud-sdk-go


text:
require linux-intel-acrn_5.10.inc

SRC_URI:append = " file://sos_5.10.scc"

LINUX_VERSION_EXTENSION = "-linux-intel-acrn-sos"

SUMMARY = "Linux Kernel with ACRN enabled (SOS)"

KERNEL_FEATURES:append = " features/criu/criu-enable.scc \
                          cgl/cfg/iscsi.scc \
                          sos_5.10.scc \
"

# config warning:  'CONFIG_IRQ_REMAP' last val (y) and .config val (n) do not matchs
# It is because, CONFIG_IRQ_REMAP depends upon IOMMU_SUPPORT, which we are explicitly disabling by setting to 'n'
# So, to suppress this warning, set
KCONF_AUDIT_LEVEL = "0"

repository: cheeyanglee/meta-acrn

repo_name: cheeyanglee/meta-acrn