client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchJobCheckRequest

type BatchJobCheckRequest struct {
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	SubmitId *string `json:"SubmitId,omitempty" xml:"SubmitId,omitempty"`
}

func (BatchJobCheckRequest) GoString

func (s BatchJobCheckRequest) GoString() string

func (*BatchJobCheckRequest) SetRegionId

func (*BatchJobCheckRequest) SetSubmitId

func (BatchJobCheckRequest) String

func (s BatchJobCheckRequest) String() string

type BatchJobCheckResponse

type BatchJobCheckResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *BatchJobCheckResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (BatchJobCheckResponse) GoString

func (s BatchJobCheckResponse) GoString() string

func (*BatchJobCheckResponse) SetBody

func (*BatchJobCheckResponse) SetHeaders

func (*BatchJobCheckResponse) SetStatusCode

func (s *BatchJobCheckResponse) SetStatusCode(v int32) *BatchJobCheckResponse

func (BatchJobCheckResponse) String

func (s BatchJobCheckResponse) String() string

type BatchJobCheckResponseBody

type BatchJobCheckResponseBody struct {
	Code      *int32                         `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *BatchJobCheckResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	ErrCode   *string                        `json:"ErrCode,omitempty" xml:"ErrCode,omitempty"`
	Message   *string                        `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                        `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                          `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (BatchJobCheckResponseBody) GoString

func (s BatchJobCheckResponseBody) GoString() string

func (*BatchJobCheckResponseBody) SetCode

func (*BatchJobCheckResponseBody) SetData

func (*BatchJobCheckResponseBody) SetErrCode

func (*BatchJobCheckResponseBody) SetMessage

func (*BatchJobCheckResponseBody) SetRequestId

func (*BatchJobCheckResponseBody) SetSuccess

func (BatchJobCheckResponseBody) String

func (s BatchJobCheckResponseBody) String() string

type BatchJobCheckResponseBodyData

type BatchJobCheckResponseBodyData struct {
	ConfigId    *string                                     `json:"ConfigId,omitempty" xml:"ConfigId,omitempty"`
	ErrTaskList []*BatchJobCheckResponseBodyDataErrTaskList `json:"ErrTaskList,omitempty" xml:"ErrTaskList,omitempty" type:"Repeated"`
	FailedCount *int32                                      `json:"FailedCount,omitempty" xml:"FailedCount,omitempty"`
	FinishCount *int32                                      `json:"FinishCount,omitempty" xml:"FinishCount,omitempty"`
	FolderId    *string                                     `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	TaskCount   *int32                                      `json:"TaskCount,omitempty" xml:"TaskCount,omitempty"`
	TaskStatus  *string                                     `json:"TaskStatus,omitempty" xml:"TaskStatus,omitempty"`
}

func (BatchJobCheckResponseBodyData) GoString

func (*BatchJobCheckResponseBodyData) SetConfigId

func (*BatchJobCheckResponseBodyData) SetErrTaskList

func (*BatchJobCheckResponseBodyData) SetFailedCount

func (*BatchJobCheckResponseBodyData) SetFinishCount

func (*BatchJobCheckResponseBodyData) SetFolderId

func (*BatchJobCheckResponseBodyData) SetTaskCount

func (*BatchJobCheckResponseBodyData) SetTaskStatus

func (BatchJobCheckResponseBodyData) String

type BatchJobCheckResponseBodyDataErrTaskList

type BatchJobCheckResponseBodyDataErrTaskList struct {
	ProductList []*BatchJobCheckResponseBodyDataErrTaskListProductList `json:"ProductList,omitempty" xml:"ProductList,omitempty" type:"Repeated"`
	UserId      *int64                                                 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (BatchJobCheckResponseBodyDataErrTaskList) GoString

func (*BatchJobCheckResponseBodyDataErrTaskList) SetUserId

func (BatchJobCheckResponseBodyDataErrTaskList) String

type BatchJobCheckResponseBodyDataErrTaskListProductList

type BatchJobCheckResponseBodyDataErrTaskListProductList struct {
	LogList     []*BatchJobCheckResponseBodyDataErrTaskListProductListLogList `json:"LogList,omitempty" xml:"LogList,omitempty" type:"Repeated"`
	ProductCode *string                                                       `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
}

func (BatchJobCheckResponseBodyDataErrTaskListProductList) GoString

func (*BatchJobCheckResponseBodyDataErrTaskListProductList) SetProductCode

func (BatchJobCheckResponseBodyDataErrTaskListProductList) String

type BatchJobCheckResponseBodyDataErrTaskListProductListLogList

type BatchJobCheckResponseBodyDataErrTaskListProductListLogList struct {
	ErrorCode           *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	LogCode             *string `json:"LogCode,omitempty" xml:"LogCode,omitempty"`
	LogStoreNamePattern *string `json:"LogStoreNamePattern,omitempty" xml:"LogStoreNamePattern,omitempty"`
	ProductCode         *string `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
	ProjectNamePattern  *string `json:"ProjectNamePattern,omitempty" xml:"ProjectNamePattern,omitempty"`
	RegionCode          *string `json:"RegionCode,omitempty" xml:"RegionCode,omitempty"`
}

func (BatchJobCheckResponseBodyDataErrTaskListProductListLogList) GoString

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetErrorCode

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetLogCode

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetLogStoreNamePattern

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetProductCode

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetProjectNamePattern

func (*BatchJobCheckResponseBodyDataErrTaskListProductListLogList) SetRegionCode

func (BatchJobCheckResponseBodyDataErrTaskListProductListLogList) String

type BatchJobSubmitRequest

type BatchJobSubmitRequest struct {
	JsonConfig *string `json:"JsonConfig,omitempty" xml:"JsonConfig,omitempty"`
	RegionId   *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (BatchJobSubmitRequest) GoString

func (s BatchJobSubmitRequest) GoString() string

func (*BatchJobSubmitRequest) SetJsonConfig

func (s *BatchJobSubmitRequest) SetJsonConfig(v string) *BatchJobSubmitRequest

func (*BatchJobSubmitRequest) SetRegionId

func (BatchJobSubmitRequest) String

func (s BatchJobSubmitRequest) String() string

type BatchJobSubmitResponse

type BatchJobSubmitResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *BatchJobSubmitResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (BatchJobSubmitResponse) GoString

func (s BatchJobSubmitResponse) GoString() string

func (*BatchJobSubmitResponse) SetBody

func (*BatchJobSubmitResponse) SetHeaders

func (*BatchJobSubmitResponse) SetStatusCode

func (BatchJobSubmitResponse) String

func (s BatchJobSubmitResponse) String() string

type BatchJobSubmitResponseBody

type BatchJobSubmitResponseBody struct {
	Code      *int32                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *BatchJobSubmitResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	ErrCode   *string                         `json:"ErrCode,omitempty" xml:"ErrCode,omitempty"`
	Message   *string                         `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                         `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                           `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (BatchJobSubmitResponseBody) GoString

func (s BatchJobSubmitResponseBody) GoString() string

func (*BatchJobSubmitResponseBody) SetCode

func (*BatchJobSubmitResponseBody) SetData

func (*BatchJobSubmitResponseBody) SetErrCode

func (*BatchJobSubmitResponseBody) SetMessage

func (*BatchJobSubmitResponseBody) SetRequestId

func (*BatchJobSubmitResponseBody) SetSuccess

func (BatchJobSubmitResponseBody) String

type BatchJobSubmitResponseBodyData

type BatchJobSubmitResponseBodyData struct {
	ConfigId   *string                                     `json:"ConfigId,omitempty" xml:"ConfigId,omitempty"`
	ConfigList []*BatchJobSubmitResponseBodyDataConfigList `json:"ConfigList,omitempty" xml:"ConfigList,omitempty" type:"Repeated"`
	SubmitId   *string                                     `json:"SubmitId,omitempty" xml:"SubmitId,omitempty"`
	TaskCount  *int32                                      `json:"TaskCount,omitempty" xml:"TaskCount,omitempty"`
}

func (BatchJobSubmitResponseBodyData) GoString

func (*BatchJobSubmitResponseBodyData) SetConfigId

func (*BatchJobSubmitResponseBodyData) SetSubmitId

func (*BatchJobSubmitResponseBodyData) SetTaskCount

func (BatchJobSubmitResponseBodyData) String

type BatchJobSubmitResponseBodyDataConfigList

type BatchJobSubmitResponseBodyDataConfigList struct {
	ProductList []*BatchJobSubmitResponseBodyDataConfigListProductList `json:"ProductList,omitempty" xml:"ProductList,omitempty" type:"Repeated"`
	UserId      *int64                                                 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (BatchJobSubmitResponseBodyDataConfigList) GoString

func (*BatchJobSubmitResponseBodyDataConfigList) SetUserId

func (BatchJobSubmitResponseBodyDataConfigList) String

type BatchJobSubmitResponseBodyDataConfigListProductList

type BatchJobSubmitResponseBodyDataConfigListProductList struct {
	LogList     []*BatchJobSubmitResponseBodyDataConfigListProductListLogList `json:"LogList,omitempty" xml:"LogList,omitempty" type:"Repeated"`
	ProductCode *string                                                       `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
}

func (BatchJobSubmitResponseBodyDataConfigListProductList) GoString

func (*BatchJobSubmitResponseBodyDataConfigListProductList) SetProductCode

func (BatchJobSubmitResponseBodyDataConfigListProductList) String

type BatchJobSubmitResponseBodyDataConfigListProductListLogList

type BatchJobSubmitResponseBodyDataConfigListProductListLogList struct {
	ErrorCode           *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	LogCode             *string `json:"LogCode,omitempty" xml:"LogCode,omitempty"`
	LogStoreNamePattern *string `json:"LogStoreNamePattern,omitempty" xml:"LogStoreNamePattern,omitempty"`
	ProductCode         *string `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
	ProjectNamePattern  *string `json:"ProjectNamePattern,omitempty" xml:"ProjectNamePattern,omitempty"`
	RegionCode          *string `json:"RegionCode,omitempty" xml:"RegionCode,omitempty"`
}

func (BatchJobSubmitResponseBodyDataConfigListProductListLogList) GoString

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetErrorCode

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetLogCode

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetLogStoreNamePattern

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetProductCode

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetProjectNamePattern

func (*BatchJobSubmitResponseBodyDataConfigListProductListLogList) SetRegionCode

func (BatchJobSubmitResponseBodyDataConfigListProductListLogList) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) BatchJobCheck

func (client *Client) BatchJobCheck(request *BatchJobCheckRequest) (_result *BatchJobCheckResponse, _err error)

func (*Client) BatchJobCheckWithOptions

func (client *Client) BatchJobCheckWithOptions(request *BatchJobCheckRequest, runtime *util.RuntimeOptions) (_result *BatchJobCheckResponse, _err error)

func (*Client) BatchJobSubmit

func (client *Client) BatchJobSubmit(request *BatchJobSubmitRequest) (_result *BatchJobSubmitResponse, _err error)

func (*Client) BatchJobSubmitWithOptions

func (client *Client) BatchJobSubmitWithOptions(request *BatchJobSubmitRequest, runtime *util.RuntimeOptions) (_result *BatchJobSubmitResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) SendMessage

func (client *Client) SendMessage(request *SendMessageRequest) (_result *SendMessageResponse, _err error)

func (*Client) SendMessageWithOptions

func (client *Client) SendMessageWithOptions(request *SendMessageRequest, runtime *util.RuntimeOptions) (_result *SendMessageResponse, _err error)

type SendMessageRequest

type SendMessageRequest struct {
	ChannelType *int32  `json:"ChannelType,omitempty" xml:"ChannelType,omitempty"`
	ReceiveUid  *int64  `json:"ReceiveUid,omitempty" xml:"ReceiveUid,omitempty"`
	RegionId    *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (SendMessageRequest) GoString

func (s SendMessageRequest) GoString() string

func (*SendMessageRequest) SetChannelType

func (s *SendMessageRequest) SetChannelType(v int32) *SendMessageRequest

func (*SendMessageRequest) SetReceiveUid

func (s *SendMessageRequest) SetReceiveUid(v int64) *SendMessageRequest

func (*SendMessageRequest) SetRegionId

func (s *SendMessageRequest) SetRegionId(v string) *SendMessageRequest

func (SendMessageRequest) String

func (s SendMessageRequest) String() string

type SendMessageResponse

type SendMessageResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SendMessageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SendMessageResponse) GoString

func (s SendMessageResponse) GoString() string

func (*SendMessageResponse) SetBody

func (*SendMessageResponse) SetHeaders

func (s *SendMessageResponse) SetHeaders(v map[string]*string) *SendMessageResponse

func (*SendMessageResponse) SetStatusCode

func (s *SendMessageResponse) SetStatusCode(v int32) *SendMessageResponse

func (SendMessageResponse) String

func (s SendMessageResponse) String() string

type SendMessageResponseBody

type SendMessageResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *bool   `json:"Data,omitempty" xml:"Data,omitempty"`
	ErrCode   *string `json:"ErrCode,omitempty" xml:"ErrCode,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool   `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SendMessageResponseBody) GoString

func (s SendMessageResponseBody) GoString() string

func (*SendMessageResponseBody) SetCode

func (*SendMessageResponseBody) SetData

func (*SendMessageResponseBody) SetErrCode

func (*SendMessageResponseBody) SetMessage

func (*SendMessageResponseBody) SetRequestId

func (*SendMessageResponseBody) SetSuccess

func (SendMessageResponseBody) String

func (s SendMessageResponseBody) String() string

Jump to

Keyboard shortcuts

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