v20180321

package
v0.0.0-...-1480282 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-03-21"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

客户调用该接口查看任务执行状态。输入任务ID,输出任务执行状态或者结果

func (*Client) DownloadReport

func (c *Client) DownloadReport(request *DownloadReportRequest) (response *DownloadReportResponse, err error)

客户调用该接口下载指定日期的催收报告

func (*Client) UploadFile

func (c *Client) UploadFile(request *UploadFileRequest) (response *UploadFileResponse, err error)

客户通过调用该接口上传需催收文档,格式需为csv或者excel格式。接口返回任务ID。

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest
	// 模块名
	Module *string `json:"Module" name:"Module"`
	// 操作名
	Operation *string `json:"Operation" name:"Operation"`
	// 任务ID
	TaskId *int64 `json:"TaskId" name:"TaskId"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

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

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 任务结果
		TaskResult *string `json:"TaskResult" name:"TaskResult"`
		// 任务类型,010代表上传任务
		TaskType *string `json:"TaskType" name:"TaskType"`
		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

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

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DownloadReportRequest

type DownloadReportRequest struct {
	*tchttp.BaseRequest
	// 模块名
	Module *string `json:"Module" name:"Module"`
	// 操作名
	Operation *string `json:"Operation" name:"Operation"`
	// 报告日期
	ReportDate *string `json:"ReportDate" name:"ReportDate"`
}

func NewDownloadReportRequest

func NewDownloadReportRequest() (request *DownloadReportRequest)

func (*DownloadReportRequest) FromJsonString

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

func (*DownloadReportRequest) ToJsonString

func (r *DownloadReportRequest) ToJsonString() string

type DownloadReportResponse

type DownloadReportResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 报告下载地址
		ReportUrl *string `json:"ReportUrl" name:"ReportUrl"`
		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadReportResponse

func NewDownloadReportResponse() (response *DownloadReportResponse)

func (*DownloadReportResponse) FromJsonString

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

func (*DownloadReportResponse) ToJsonString

func (r *DownloadReportResponse) ToJsonString() string

type UploadFileRequest

type UploadFileRequest struct {
	*tchttp.BaseRequest
	// 模块名
	Module *string `json:"Module" name:"Module"`
	// 操作名
	Operation *string `json:"Operation" name:"Operation"`
	// 文件上传地址,要求地址协议为HTTPS,且URL端口必须为443
	FileUrl *string `json:"FileUrl" name:"FileUrl"`
	// 文件名
	FileName *string `json:"FileName" name:"FileName"`
	// 文件日期
	FileDate *string `json:"FileDate" name:"FileDate"`
}

func NewUploadFileRequest

func NewUploadFileRequest() (request *UploadFileRequest)

func (*UploadFileRequest) FromJsonString

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

func (*UploadFileRequest) ToJsonString

func (r *UploadFileRequest) ToJsonString() string

type UploadFileResponse

type UploadFileResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 任务ID
		TaskId *int64 `json:"TaskId" name:"TaskId"`
		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId" name:"RequestId"`
	} `json:"Response"`
}

func NewUploadFileResponse

func NewUploadFileResponse() (response *UploadFileResponse)

func (*UploadFileResponse) FromJsonString

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

func (*UploadFileResponse) ToJsonString

func (r *UploadFileResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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