client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 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 Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, 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) GetMessageStatus

func (client *Client) GetMessageStatus(request *GetMessageStatusRequest) (_result *GetMessageStatusResponse, _err error)

func (*Client) GetMessageStatusWithOptions

func (client *Client) GetMessageStatusWithOptions(request *GetMessageStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetMessageStatusResponse, _err error)

func (*Client) Init

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

func (*Client) SendBatchMessage

func (client *Client) SendBatchMessage(request *SendBatchMessageRequest) (_result *SendBatchMessageResponse, _err error)

func (*Client) SendBatchMessageWithOptions

func (client *Client) SendBatchMessageWithOptions(request *SendBatchMessageRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendBatchMessageResponse, _err error)

type GetMessageStatusRequest

type GetMessageStatusRequest struct {
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (GetMessageStatusRequest) GoString

func (s GetMessageStatusRequest) GoString() string

func (*GetMessageStatusRequest) SetTaskId

func (GetMessageStatusRequest) String

func (s GetMessageStatusRequest) String() string

type GetMessageStatusResponse

type GetMessageStatusResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetMessageStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetMessageStatusResponse) GoString

func (s GetMessageStatusResponse) GoString() string

func (*GetMessageStatusResponse) SetBody

func (*GetMessageStatusResponse) SetHeaders

func (*GetMessageStatusResponse) SetStatusCode

func (GetMessageStatusResponse) String

func (s GetMessageStatusResponse) String() string

type GetMessageStatusResponseBody

type GetMessageStatusResponseBody struct {
	Code      *string                           `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *GetMessageStatusResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                           `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                           `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetMessageStatusResponseBody) GoString

func (s GetMessageStatusResponseBody) GoString() string

func (*GetMessageStatusResponseBody) SetCode

func (*GetMessageStatusResponseBody) SetData

func (*GetMessageStatusResponseBody) SetMessage

func (*GetMessageStatusResponseBody) SetRequestId

func (GetMessageStatusResponseBody) String

type GetMessageStatusResponseBodyData

type GetMessageStatusResponseBodyData struct {
	Mobile    *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	Status    *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (GetMessageStatusResponseBodyData) GoString

func (*GetMessageStatusResponseBodyData) SetMobile

func (*GetMessageStatusResponseBodyData) SetRequestId

func (*GetMessageStatusResponseBodyData) SetStatus

func (GetMessageStatusResponseBodyData) String

type SendBatchMessageRequest

type SendBatchMessageRequest struct {
	BatchFlag         *string `json:"BatchFlag,omitempty" xml:"BatchFlag,omitempty"`
	ExtendInfo        *string `json:"ExtendInfo,omitempty" xml:"ExtendInfo,omitempty"`
	IdType            *string `json:"IdType,omitempty" xml:"IdType,omitempty"`
	PhoneNumberJson   *string `json:"PhoneNumberJson,omitempty" xml:"PhoneNumberJson,omitempty"`
	SignNameJson      *string `json:"SignNameJson,omitempty" xml:"SignNameJson,omitempty"`
	SpecificChannel   *string `json:"SpecificChannel,omitempty" xml:"SpecificChannel,omitempty"`
	TemplateCode      *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	TemplateParamJson *string `json:"TemplateParamJson,omitempty" xml:"TemplateParamJson,omitempty"`
}

func (SendBatchMessageRequest) GoString

func (s SendBatchMessageRequest) GoString() string

func (*SendBatchMessageRequest) SetBatchFlag

func (*SendBatchMessageRequest) SetExtendInfo

func (*SendBatchMessageRequest) SetIdType

func (*SendBatchMessageRequest) SetPhoneNumberJson

func (s *SendBatchMessageRequest) SetPhoneNumberJson(v string) *SendBatchMessageRequest

func (*SendBatchMessageRequest) SetSignNameJson

func (*SendBatchMessageRequest) SetSpecificChannel

func (s *SendBatchMessageRequest) SetSpecificChannel(v string) *SendBatchMessageRequest

func (*SendBatchMessageRequest) SetTemplateCode

func (*SendBatchMessageRequest) SetTemplateParamJson

func (s *SendBatchMessageRequest) SetTemplateParamJson(v string) *SendBatchMessageRequest

func (SendBatchMessageRequest) String

func (s SendBatchMessageRequest) String() string

type SendBatchMessageResponse

type SendBatchMessageResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendBatchMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendBatchMessageResponse) GoString

func (s SendBatchMessageResponse) GoString() string

func (*SendBatchMessageResponse) SetBody

func (*SendBatchMessageResponse) SetHeaders

func (*SendBatchMessageResponse) SetStatusCode

func (SendBatchMessageResponse) String

func (s SendBatchMessageResponse) String() string

type SendBatchMessageResponseBody

type SendBatchMessageResponseBody struct {
	Code      *string                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      []*SendBatchMessageResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	Message   *string                             `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                             `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendBatchMessageResponseBody) GoString

func (s SendBatchMessageResponseBody) GoString() string

func (*SendBatchMessageResponseBody) SetCode

func (*SendBatchMessageResponseBody) SetData

func (*SendBatchMessageResponseBody) SetMessage

func (*SendBatchMessageResponseBody) SetRequestId

func (SendBatchMessageResponseBody) String

type SendBatchMessageResponseBodyData

type SendBatchMessageResponseBodyData struct {
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	TaskId *string `json:"taskId,omitempty" xml:"taskId,omitempty"`
}

func (SendBatchMessageResponseBodyData) GoString

func (*SendBatchMessageResponseBodyData) SetMobile

func (*SendBatchMessageResponseBodyData) SetTaskId

func (SendBatchMessageResponseBodyData) String

Jump to

Keyboard shortcuts

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