v20230215

package
v1.0.941 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2023-02-15"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) DescribeDrawResourceList

func (c *Client) DescribeDrawResourceList(request *DescribeDrawResourceListRequest) (response *DescribeDrawResourceListResponse, err error)

DescribeDrawResourceList 依据客户的Uin查询开通的资源列表

func (*Client) DescribeDrawResourceListWithContext

func (c *Client) DescribeDrawResourceListWithContext(ctx context.Context, request *DescribeDrawResourceListRequest) (response *DescribeDrawResourceListResponse, err error)

DescribeDrawResourceList 依据客户的Uin查询开通的资源列表

type DescribeDrawResourceListRequest

type DescribeDrawResourceListRequest struct {
	*tchttp.BaseRequest

	// PageNumber
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// PageSize
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewDescribeDrawResourceListRequest

func NewDescribeDrawResourceListRequest() (request *DescribeDrawResourceListRequest)

func (*DescribeDrawResourceListRequest) FromJsonString

func (r *DescribeDrawResourceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDrawResourceListRequest) ToJsonString

func (r *DescribeDrawResourceListRequest) ToJsonString() string

type DescribeDrawResourceListRequestParams

type DescribeDrawResourceListRequestParams struct {
	// PageNumber
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// PageSize
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type DescribeDrawResourceListResponse

type DescribeDrawResourceListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDrawResourceListResponseParams `json:"Response"`
}

func NewDescribeDrawResourceListResponse

func NewDescribeDrawResourceListResponse() (response *DescribeDrawResourceListResponse)

func (*DescribeDrawResourceListResponse) FromJsonString

func (r *DescribeDrawResourceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDrawResourceListResponse) ToJsonString

func (r *DescribeDrawResourceListResponse) ToJsonString() string

type DescribeDrawResourceListResponseParams

type DescribeDrawResourceListResponseParams struct {
	// 返回数据条数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 返回数据数组
	ResourceDrawList []*ResourceDrawListType `json:"ResourceDrawList,omitnil,omitempty" name:"ResourceDrawList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourceDrawListType

type ResourceDrawListType struct {
	// 记录id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 资源记录id
	// 注意:此字段可能返回 null,表示取不到有效值。
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// 资源id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 本订单资源序列号
	// 注意:此字段可能返回 null,表示取不到有效值。
	IndexId *string `json:"IndexId,omitnil,omitempty" name:"IndexId"`

	// 客户的uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// 大订单号
	// 注意:此字段可能返回 null,表示取不到有效值。
	BigDealId *string `json:"BigDealId,omitnil,omitempty" name:"BigDealId"`

	// 小订单号
	// 注意:此字段可能返回 null,表示取不到有效值。
	SmallOrderId *string `json:"SmallOrderId,omitnil,omitempty" name:"SmallOrderId"`

	// 资源创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceNewStartTime *string `json:"ResourceNewStartTime,omitnil,omitempty" name:"ResourceNewStartTime"`

	// 资源到期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceNewEndTime *string `json:"ResourceNewEndTime,omitnil,omitempty" name:"ResourceNewEndTime"`

	// 资源状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceStatus *int64 `json:"ResourceStatus,omitnil,omitempty" name:"ResourceStatus"`

	// 本记录状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 项目类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceType *uint64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL