Documentation
¶
Index ¶
- Constants
- type BurnTidNotifyRequest
- type BurnTidNotifyResponse
- type Client
- func (c *Client) BurnTidNotify(request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
- func (c *Client) DeliverTidNotify(request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
- func (c *Client) DeliverTids(request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
- func (c *Client) DescribePermission(request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
- func (c *Client) DownloadTids(request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
- type DeliverTidNotifyRequest
- type DeliverTidNotifyResponse
- type DeliverTidsRequest
- type DeliverTidsResponse
- type DescribePermissionRequest
- type DescribePermissionResponse
- type DownloadTidsRequest
- type DownloadTidsResponse
- type TidKeysInfo
Constants ¶
View Source
const APIVersion = "2019-04-11"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurnTidNotifyRequest ¶
type BurnTidNotifyRequest struct {
*tchttp.BaseRequest
// 订单编号
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
// TID编号
Tid *string `json:"Tid,omitempty" name:"Tid"`
}
func NewBurnTidNotifyRequest ¶
func NewBurnTidNotifyRequest() (request *BurnTidNotifyRequest)
func (*BurnTidNotifyRequest) FromJsonString ¶
func (r *BurnTidNotifyRequest) FromJsonString(s string) error
func (*BurnTidNotifyRequest) ToJsonString ¶
func (r *BurnTidNotifyRequest) ToJsonString() string
type BurnTidNotifyResponse ¶
type BurnTidNotifyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 接收回执成功的TID
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewBurnTidNotifyResponse ¶
func NewBurnTidNotifyResponse() (response *BurnTidNotifyResponse)
func (*BurnTidNotifyResponse) FromJsonString ¶
func (r *BurnTidNotifyResponse) FromJsonString(s string) error
func (*BurnTidNotifyResponse) ToJsonString ¶
func (r *BurnTidNotifyResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BurnTidNotify ¶
func (c *Client) BurnTidNotify(request *BurnTidNotifyRequest) (response *BurnTidNotifyResponse, err error)
安全芯片TID烧录回执
func (*Client) DeliverTidNotify ¶
func (c *Client) DeliverTidNotify(request *DeliverTidNotifyRequest) (response *DeliverTidNotifyResponse, err error)
安全芯片为载体的TID空发回执,绑定TID与订单号。
func (*Client) DeliverTids ¶
func (c *Client) DeliverTids(request *DeliverTidsRequest) (response *DeliverTidsResponse, err error)
设备服务商请求空发产品订单的TID信息
func (*Client) DescribePermission ¶
func (c *Client) DescribePermission(request *DescribePermissionRequest) (response *DescribePermissionResponse, err error)
查询企业用户TID平台控制台权限
func (*Client) DownloadTids ¶
func (c *Client) DownloadTids(request *DownloadTidsRequest) (response *DownloadTidsResponse, err error)
下载芯片订单的TID
type DeliverTidNotifyRequest ¶
type DeliverTidNotifyRequest struct {
*tchttp.BaseRequest
// 订单编号
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
// TID编号
Tid *string `json:"Tid,omitempty" name:"Tid"`
}
func NewDeliverTidNotifyRequest ¶
func NewDeliverTidNotifyRequest() (request *DeliverTidNotifyRequest)
func (*DeliverTidNotifyRequest) FromJsonString ¶
func (r *DeliverTidNotifyRequest) FromJsonString(s string) error
func (*DeliverTidNotifyRequest) ToJsonString ¶
func (r *DeliverTidNotifyRequest) ToJsonString() string
type DeliverTidNotifyResponse ¶
type DeliverTidNotifyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 剩余空发数量
RemaindCount *uint64 `json:"RemaindCount,omitempty" name:"RemaindCount"`
// 已回执的TID编码
Tid *string `json:"Tid,omitempty" name:"Tid"`
// 产品公钥
ProductKey *string `json:"ProductKey,omitempty" name:"ProductKey"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeliverTidNotifyResponse ¶
func NewDeliverTidNotifyResponse() (response *DeliverTidNotifyResponse)
func (*DeliverTidNotifyResponse) FromJsonString ¶
func (r *DeliverTidNotifyResponse) FromJsonString(s string) error
func (*DeliverTidNotifyResponse) ToJsonString ¶
func (r *DeliverTidNotifyResponse) ToJsonString() string
type DeliverTidsRequest ¶
type DeliverTidsRequest struct {
*tchttp.BaseRequest
// 订单ID
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
// 数量,1~10
Quantity *uint64 `json:"Quantity,omitempty" name:"Quantity"`
}
func NewDeliverTidsRequest ¶
func NewDeliverTidsRequest() (request *DeliverTidsRequest)
func (*DeliverTidsRequest) FromJsonString ¶
func (r *DeliverTidsRequest) FromJsonString(s string) error
func (*DeliverTidsRequest) ToJsonString ¶
func (r *DeliverTidsRequest) ToJsonString() string
type DeliverTidsResponse ¶
type DeliverTidsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 空发的TID信息
// 注意:此字段可能返回 null,表示取不到有效值。
TidSet []*TidKeysInfo `json:"TidSet,omitempty" name:"TidSet" list`
// 产品公钥
ProductKey *string `json:"ProductKey,omitempty" name:"ProductKey"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeliverTidsResponse ¶
func NewDeliverTidsResponse() (response *DeliverTidsResponse)
func (*DeliverTidsResponse) FromJsonString ¶
func (r *DeliverTidsResponse) FromJsonString(s string) error
func (*DeliverTidsResponse) ToJsonString ¶
func (r *DeliverTidsResponse) ToJsonString() string
type DescribePermissionRequest ¶
type DescribePermissionRequest struct {
*tchttp.BaseRequest
}
func NewDescribePermissionRequest ¶
func NewDescribePermissionRequest() (request *DescribePermissionRequest)
func (*DescribePermissionRequest) FromJsonString ¶
func (r *DescribePermissionRequest) FromJsonString(s string) error
func (*DescribePermissionRequest) ToJsonString ¶
func (r *DescribePermissionRequest) ToJsonString() string
type DescribePermissionResponse ¶
type DescribePermissionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 企业用户
EnterpriseUser *bool `json:"EnterpriseUser,omitempty" name:"EnterpriseUser"`
// 下载控制台权限
DownloadPermission *string `json:"DownloadPermission,omitempty" name:"DownloadPermission"`
// 使用控制台权限
UsePermission *string `json:"UsePermission,omitempty" name:"UsePermission"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePermissionResponse ¶
func NewDescribePermissionResponse() (response *DescribePermissionResponse)
func (*DescribePermissionResponse) FromJsonString ¶
func (r *DescribePermissionResponse) FromJsonString(s string) error
func (*DescribePermissionResponse) ToJsonString ¶
func (r *DescribePermissionResponse) ToJsonString() string
type DownloadTidsRequest ¶
type DownloadTidsRequest struct {
*tchttp.BaseRequest
// 订单编号
OrderId *string `json:"OrderId,omitempty" name:"OrderId"`
// 下载数量:1~10
Quantity *uint64 `json:"Quantity,omitempty" name:"Quantity"`
}
func NewDownloadTidsRequest ¶
func NewDownloadTidsRequest() (request *DownloadTidsRequest)
func (*DownloadTidsRequest) FromJsonString ¶
func (r *DownloadTidsRequest) FromJsonString(s string) error
func (*DownloadTidsRequest) ToJsonString ¶
func (r *DownloadTidsRequest) ToJsonString() string
type DownloadTidsResponse ¶
type DownloadTidsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 下载的TID信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
TidSet []*TidKeysInfo `json:"TidSet,omitempty" name:"TidSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDownloadTidsResponse ¶
func NewDownloadTidsResponse() (response *DownloadTidsResponse)
func (*DownloadTidsResponse) FromJsonString ¶
func (r *DownloadTidsResponse) FromJsonString(s string) error
func (*DownloadTidsResponse) ToJsonString ¶
func (r *DownloadTidsResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.