cpaas

package
v1.0.72 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cpaasiface provides an interface to enable mocking the CPAAS service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	ServiceName = "cpaas"     // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "cpaas"     // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionForCreateTemplateV2Input

type ActionForCreateTemplateV2Input struct {
	Action *string `type:"string" json:",omitempty"`

	EventName *string `type:"string" json:",omitempty"`

	EventType *string `type:"string" json:",omitempty"`

	ExtendAttrs *ExtendAttrsForCreateTemplateV2Input `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ActionForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*ActionForCreateTemplateV2Input) SetAction

SetAction sets the Action field's value.

func (*ActionForCreateTemplateV2Input) SetEventName

SetEventName sets the EventName field's value.

func (*ActionForCreateTemplateV2Input) SetEventType

SetEventType sets the EventType field's value.

func (*ActionForCreateTemplateV2Input) SetExtendAttrs

SetExtendAttrs sets the ExtendAttrs field's value.

func (ActionForCreateTemplateV2Input) String

String returns the string representation

type ActionForGetTemplateV2Output

type ActionForGetTemplateV2Output struct {
	Action *string `type:"string"`

	EventName *string `type:"string"`

	EventType *string `type:"string"`

	ExtendAttrs *ExtendAttrsForGetTemplateV2Output `type:"structure"`
	// contains filtered or unexported fields
}

func (ActionForGetTemplateV2Output) GoString

func (s ActionForGetTemplateV2Output) GoString() string

GoString returns the string representation

func (*ActionForGetTemplateV2Output) SetAction

SetAction sets the Action field's value.

func (*ActionForGetTemplateV2Output) SetEventName

SetEventName sets the EventName field's value.

func (*ActionForGetTemplateV2Output) SetEventType

SetEventType sets the EventType field's value.

func (*ActionForGetTemplateV2Output) SetExtendAttrs

SetExtendAttrs sets the ExtendAttrs field's value.

func (ActionForGetTemplateV2Output) String

String returns the string representation

type CPAAS

type CPAAS struct {
	*client.Client
}

CPAAS provides the API operation methods for making requests to CPAAS. See this package's package overview docs for details on the service.

CPAAS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*byteplus.Config) *CPAAS

New create int can support ssl or region locate set

func (*CPAAS) CreateTemplateV2

func (c *CPAAS) CreateTemplateV2(input *CreateTemplateV2Input) (*CreateTemplateV2Output, error)

CreateTemplateV2 API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation CreateTemplateV2 for usage and error information.

func (*CPAAS) CreateTemplateV2Common

func (c *CPAAS) CreateTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)

CreateTemplateV2Common API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation CreateTemplateV2Common for usage and error information.

func (*CPAAS) CreateTemplateV2CommonRequest

func (c *CPAAS) CreateTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateTemplateV2CommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateTemplateV2Common operation. The "output" return value will be populated with the CreateTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned CreateTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after CreateTemplateV2Common Send returns without error.

See CreateTemplateV2Common for more information on using the CreateTemplateV2Common API call, and error handling.

// Example sending a request using the CreateTemplateV2CommonRequest method.
req, resp := client.CreateTemplateV2CommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) CreateTemplateV2CommonWithContext

func (c *CPAAS) CreateTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateTemplateV2CommonWithContext is the same as CreateTemplateV2Common with the addition of the ability to pass a context and additional request options.

See CreateTemplateV2Common for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) CreateTemplateV2Request

func (c *CPAAS) CreateTemplateV2Request(input *CreateTemplateV2Input) (req *request.Request, output *CreateTemplateV2Output)

CreateTemplateV2Request generates a "byteplus/request.Request" representing the client's request for the CreateTemplateV2 operation. The "output" return value will be populated with the CreateTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned CreateTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after CreateTemplateV2Common Send returns without error.

See CreateTemplateV2 for more information on using the CreateTemplateV2 API call, and error handling.

// Example sending a request using the CreateTemplateV2Request method.
req, resp := client.CreateTemplateV2Request(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) CreateTemplateV2WithContext

func (c *CPAAS) CreateTemplateV2WithContext(ctx byteplus.Context, input *CreateTemplateV2Input, opts ...request.Option) (*CreateTemplateV2Output, error)

CreateTemplateV2WithContext is the same as CreateTemplateV2 with the addition of the ability to pass a context and additional request options.

See CreateTemplateV2 for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) GetTemplateV2

func (c *CPAAS) GetTemplateV2(input *GetTemplateV2Input) (*GetTemplateV2Output, error)

GetTemplateV2 API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation GetTemplateV2 for usage and error information.

func (*CPAAS) GetTemplateV2Common

func (c *CPAAS) GetTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)

GetTemplateV2Common API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation GetTemplateV2Common for usage and error information.

func (*CPAAS) GetTemplateV2CommonRequest

func (c *CPAAS) GetTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetTemplateV2CommonRequest generates a "byteplus/request.Request" representing the client's request for the GetTemplateV2Common operation. The "output" return value will be populated with the GetTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned GetTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after GetTemplateV2Common Send returns without error.

See GetTemplateV2Common for more information on using the GetTemplateV2Common API call, and error handling.

// Example sending a request using the GetTemplateV2CommonRequest method.
req, resp := client.GetTemplateV2CommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) GetTemplateV2CommonWithContext

func (c *CPAAS) GetTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetTemplateV2CommonWithContext is the same as GetTemplateV2Common with the addition of the ability to pass a context and additional request options.

See GetTemplateV2Common for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) GetTemplateV2Request

func (c *CPAAS) GetTemplateV2Request(input *GetTemplateV2Input) (req *request.Request, output *GetTemplateV2Output)

GetTemplateV2Request generates a "byteplus/request.Request" representing the client's request for the GetTemplateV2 operation. The "output" return value will be populated with the GetTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned GetTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after GetTemplateV2Common Send returns without error.

See GetTemplateV2 for more information on using the GetTemplateV2 API call, and error handling.

// Example sending a request using the GetTemplateV2Request method.
req, resp := client.GetTemplateV2Request(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) GetTemplateV2WithContext

func (c *CPAAS) GetTemplateV2WithContext(ctx byteplus.Context, input *GetTemplateV2Input, opts ...request.Option) (*GetTemplateV2Output, error)

GetTemplateV2WithContext is the same as GetTemplateV2 with the addition of the ability to pass a context and additional request options.

See GetTemplateV2 for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) ListTemplateV2

func (c *CPAAS) ListTemplateV2(input *ListTemplateV2Input) (*ListTemplateV2Output, error)

ListTemplateV2 API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation ListTemplateV2 for usage and error information.

func (*CPAAS) ListTemplateV2Common

func (c *CPAAS) ListTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)

ListTemplateV2Common API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation ListTemplateV2Common for usage and error information.

func (*CPAAS) ListTemplateV2CommonRequest

func (c *CPAAS) ListTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListTemplateV2CommonRequest generates a "byteplus/request.Request" representing the client's request for the ListTemplateV2Common operation. The "output" return value will be populated with the ListTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned ListTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after ListTemplateV2Common Send returns without error.

See ListTemplateV2Common for more information on using the ListTemplateV2Common API call, and error handling.

// Example sending a request using the ListTemplateV2CommonRequest method.
req, resp := client.ListTemplateV2CommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) ListTemplateV2CommonWithContext

func (c *CPAAS) ListTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListTemplateV2CommonWithContext is the same as ListTemplateV2Common with the addition of the ability to pass a context and additional request options.

See ListTemplateV2Common for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) ListTemplateV2Request

func (c *CPAAS) ListTemplateV2Request(input *ListTemplateV2Input) (req *request.Request, output *ListTemplateV2Output)

ListTemplateV2Request generates a "byteplus/request.Request" representing the client's request for the ListTemplateV2 operation. The "output" return value will be populated with the ListTemplateV2Common request's response once the request completes successfully.

Use "Send" method on the returned ListTemplateV2Common Request to send the API call to the service. the "output" return value is not valid until after ListTemplateV2Common Send returns without error.

See ListTemplateV2 for more information on using the ListTemplateV2 API call, and error handling.

// Example sending a request using the ListTemplateV2Request method.
req, resp := client.ListTemplateV2Request(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) ListTemplateV2WithContext

func (c *CPAAS) ListTemplateV2WithContext(ctx byteplus.Context, input *ListTemplateV2Input, opts ...request.Option) (*ListTemplateV2Output, error)

ListTemplateV2WithContext is the same as ListTemplateV2 with the addition of the ability to pass a context and additional request options.

See ListTemplateV2 for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) SendBatchMessage

func (c *CPAAS) SendBatchMessage(input *SendBatchMessageInput) (*SendBatchMessageOutput, error)

SendBatchMessage API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation SendBatchMessage for usage and error information.

func (*CPAAS) SendBatchMessageCommon

func (c *CPAAS) SendBatchMessageCommon(input *map[string]interface{}) (*map[string]interface{}, error)

SendBatchMessageCommon API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation SendBatchMessageCommon for usage and error information.

func (*CPAAS) SendBatchMessageCommonRequest

func (c *CPAAS) SendBatchMessageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

SendBatchMessageCommonRequest generates a "byteplus/request.Request" representing the client's request for the SendBatchMessageCommon operation. The "output" return value will be populated with the SendBatchMessageCommon request's response once the request completes successfully.

Use "Send" method on the returned SendBatchMessageCommon Request to send the API call to the service. the "output" return value is not valid until after SendBatchMessageCommon Send returns without error.

See SendBatchMessageCommon for more information on using the SendBatchMessageCommon API call, and error handling.

// Example sending a request using the SendBatchMessageCommonRequest method.
req, resp := client.SendBatchMessageCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) SendBatchMessageCommonWithContext

func (c *CPAAS) SendBatchMessageCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

SendBatchMessageCommonWithContext is the same as SendBatchMessageCommon with the addition of the ability to pass a context and additional request options.

See SendBatchMessageCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) SendBatchMessageRequest

func (c *CPAAS) SendBatchMessageRequest(input *SendBatchMessageInput) (req *request.Request, output *SendBatchMessageOutput)

SendBatchMessageRequest generates a "byteplus/request.Request" representing the client's request for the SendBatchMessage operation. The "output" return value will be populated with the SendBatchMessageCommon request's response once the request completes successfully.

Use "Send" method on the returned SendBatchMessageCommon Request to send the API call to the service. the "output" return value is not valid until after SendBatchMessageCommon Send returns without error.

See SendBatchMessage for more information on using the SendBatchMessage API call, and error handling.

// Example sending a request using the SendBatchMessageRequest method.
req, resp := client.SendBatchMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) SendBatchMessageWithContext

func (c *CPAAS) SendBatchMessageWithContext(ctx byteplus.Context, input *SendBatchMessageInput, opts ...request.Option) (*SendBatchMessageOutput, error)

SendBatchMessageWithContext is the same as SendBatchMessage with the addition of the ability to pass a context and additional request options.

See SendBatchMessage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) SendMessage

func (c *CPAAS) SendMessage(input *SendMessageInput) (*SendMessageOutput, error)

SendMessage API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation SendMessage for usage and error information.

func (*CPAAS) SendMessageCommon

func (c *CPAAS) SendMessageCommon(input *map[string]interface{}) (*map[string]interface{}, error)

SendMessageCommon API operation for CPAAS.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for CPAAS's API operation SendMessageCommon for usage and error information.

func (*CPAAS) SendMessageCommonRequest

func (c *CPAAS) SendMessageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

SendMessageCommonRequest generates a "byteplus/request.Request" representing the client's request for the SendMessageCommon operation. The "output" return value will be populated with the SendMessageCommon request's response once the request completes successfully.

Use "Send" method on the returned SendMessageCommon Request to send the API call to the service. the "output" return value is not valid until after SendMessageCommon Send returns without error.

See SendMessageCommon for more information on using the SendMessageCommon API call, and error handling.

// Example sending a request using the SendMessageCommonRequest method.
req, resp := client.SendMessageCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) SendMessageCommonWithContext

func (c *CPAAS) SendMessageCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

SendMessageCommonWithContext is the same as SendMessageCommon with the addition of the ability to pass a context and additional request options.

See SendMessageCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CPAAS) SendMessageRequest

func (c *CPAAS) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput)

SendMessageRequest generates a "byteplus/request.Request" representing the client's request for the SendMessage operation. The "output" return value will be populated with the SendMessageCommon request's response once the request completes successfully.

Use "Send" method on the returned SendMessageCommon Request to send the API call to the service. the "output" return value is not valid until after SendMessageCommon Send returns without error.

See SendMessage for more information on using the SendMessage API call, and error handling.

// Example sending a request using the SendMessageRequest method.
req, resp := client.SendMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*CPAAS) SendMessageWithContext

func (c *CPAAS) SendMessageWithContext(ctx byteplus.Context, input *SendMessageInput, opts ...request.Option) (*SendMessageOutput, error)

SendMessageWithContext is the same as SendMessage with the addition of the ability to pass a context and additional request options.

See SendMessage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type CPAASAPI

type CPAASAPI interface {
	CreateTemplateV2Common(*map[string]interface{}) (*map[string]interface{}, error)
	CreateTemplateV2CommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateTemplateV2CommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateTemplateV2(*CreateTemplateV2Input) (*CreateTemplateV2Output, error)
	CreateTemplateV2WithContext(byteplus.Context, *CreateTemplateV2Input, ...request.Option) (*CreateTemplateV2Output, error)
	CreateTemplateV2Request(*CreateTemplateV2Input) (*request.Request, *CreateTemplateV2Output)

	GetTemplateV2Common(*map[string]interface{}) (*map[string]interface{}, error)
	GetTemplateV2CommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetTemplateV2CommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetTemplateV2(*GetTemplateV2Input) (*GetTemplateV2Output, error)
	GetTemplateV2WithContext(byteplus.Context, *GetTemplateV2Input, ...request.Option) (*GetTemplateV2Output, error)
	GetTemplateV2Request(*GetTemplateV2Input) (*request.Request, *GetTemplateV2Output)

	ListTemplateV2Common(*map[string]interface{}) (*map[string]interface{}, error)
	ListTemplateV2CommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListTemplateV2CommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListTemplateV2(*ListTemplateV2Input) (*ListTemplateV2Output, error)
	ListTemplateV2WithContext(byteplus.Context, *ListTemplateV2Input, ...request.Option) (*ListTemplateV2Output, error)
	ListTemplateV2Request(*ListTemplateV2Input) (*request.Request, *ListTemplateV2Output)

	SendBatchMessageCommon(*map[string]interface{}) (*map[string]interface{}, error)
	SendBatchMessageCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	SendBatchMessageCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	SendBatchMessage(*SendBatchMessageInput) (*SendBatchMessageOutput, error)
	SendBatchMessageWithContext(byteplus.Context, *SendBatchMessageInput, ...request.Option) (*SendBatchMessageOutput, error)
	SendBatchMessageRequest(*SendBatchMessageInput) (*request.Request, *SendBatchMessageOutput)

	SendMessageCommon(*map[string]interface{}) (*map[string]interface{}, error)
	SendMessageCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	SendMessageCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	SendMessage(*SendMessageInput) (*SendMessageOutput, error)
	SendMessageWithContext(byteplus.Context, *SendMessageInput, ...request.Option) (*SendMessageOutput, error)
	SendMessageRequest(*SendMessageInput) (*request.Request, *SendMessageOutput)
}

CPAASAPI provides an interface to enable mocking the cpaas.CPAAS service client's API operation,

// byteplus sdk func uses an SDK service client to make a request to
// CPAAS.
func myFunc(svc CPAASAPI) bool {
    // Make svc.CreateTemplateV2 request
}

func main() {
    sess := session.New()
    svc := cpaas.New(sess)

    myFunc(svc)
}

type CreateTemplateV2Input

type CreateTemplateV2Input struct {
	BusinessType *string `type:"string" json:",omitempty"`

	EnableShortUrl *string `type:"string" json:",omitempty"`

	Language *string `type:"string" json:",omitempty"`

	// SceneTemplateName is a required field
	SceneTemplateName *string `type:"string" json:",omitempty" required:"true"`

	SendAudit *string `type:"string" json:",omitempty"`

	Signature *string `type:"string" json:",omitempty"`

	SubAccountId *string `type:"string" json:",omitempty"`

	TemplateList []*TemplateListForCreateTemplateV2Input `type:"list"`

	WabaId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateTemplateV2Input) GoString

func (s CreateTemplateV2Input) GoString() string

GoString returns the string representation

func (*CreateTemplateV2Input) SetBusinessType

func (s *CreateTemplateV2Input) SetBusinessType(v string) *CreateTemplateV2Input

SetBusinessType sets the BusinessType field's value.

func (*CreateTemplateV2Input) SetEnableShortUrl

func (s *CreateTemplateV2Input) SetEnableShortUrl(v string) *CreateTemplateV2Input

SetEnableShortUrl sets the EnableShortUrl field's value.

func (*CreateTemplateV2Input) SetLanguage

SetLanguage sets the Language field's value.

func (*CreateTemplateV2Input) SetSceneTemplateName

func (s *CreateTemplateV2Input) SetSceneTemplateName(v string) *CreateTemplateV2Input

SetSceneTemplateName sets the SceneTemplateName field's value.

func (*CreateTemplateV2Input) SetSendAudit added in v1.0.72

SetSendAudit sets the SendAudit field's value.

func (*CreateTemplateV2Input) SetSignature

SetSignature sets the Signature field's value.

func (*CreateTemplateV2Input) SetSubAccountId

func (s *CreateTemplateV2Input) SetSubAccountId(v string) *CreateTemplateV2Input

SetSubAccountId sets the SubAccountId field's value.

func (*CreateTemplateV2Input) SetTemplateList

SetTemplateList sets the TemplateList field's value.

func (*CreateTemplateV2Input) SetWabaId

SetWabaId sets the WabaId field's value.

func (CreateTemplateV2Input) String

func (s CreateTemplateV2Input) String() string

String returns the string representation

func (*CreateTemplateV2Input) Validate

func (s *CreateTemplateV2Input) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTemplateV2Output

type CreateTemplateV2Output struct {
	Metadata *response.ResponseMetadata

	Data *DataForCreateTemplateV2Output `type:"structure" json:",omitempty"`

	Message *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateTemplateV2Output) GoString

func (s CreateTemplateV2Output) GoString() string

GoString returns the string representation

func (*CreateTemplateV2Output) SetData

SetData sets the Data field's value.

func (*CreateTemplateV2Output) SetMessage

SetMessage sets the Message field's value.

func (*CreateTemplateV2Output) SetSuccess

SetSuccess sets the Success field's value.

func (CreateTemplateV2Output) String

func (s CreateTemplateV2Output) String() string

String returns the string representation

type DataForCreateTemplateV2Output

type DataForCreateTemplateV2Output struct {
	SceneTemplateCode *string `type:"string" json:",omitempty"`

	SceneTemplateName *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForCreateTemplateV2Output) GoString

GoString returns the string representation

func (*DataForCreateTemplateV2Output) SetSceneTemplateCode

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (*DataForCreateTemplateV2Output) SetSceneTemplateName

SetSceneTemplateName sets the SceneTemplateName field's value.

func (DataForCreateTemplateV2Output) String

String returns the string representation

type DataForGetTemplateV2Output

type DataForGetTemplateV2Output struct {
	BusinessType *string `type:"string"`

	EnabledShortUrl *string `type:"string"`

	GmtCreate *int64 `type:"int64"`

	GmtModifier *int64 `type:"int64"`

	LanguageCode *string `type:"string"`

	LanguageName *string `type:"string"`

	SceneTemplateCode *string `type:"string"`

	SceneTemplateName *string `type:"string"`

	TemplateList []*TemplateListForGetTemplateV2Output `type:"list"`
	// contains filtered or unexported fields
}

func (DataForGetTemplateV2Output) GoString

func (s DataForGetTemplateV2Output) GoString() string

GoString returns the string representation

func (*DataForGetTemplateV2Output) SetBusinessType

SetBusinessType sets the BusinessType field's value.

func (*DataForGetTemplateV2Output) SetEnabledShortUrl added in v1.0.72

SetEnabledShortUrl sets the EnabledShortUrl field's value.

func (*DataForGetTemplateV2Output) SetGmtCreate added in v1.0.72

SetGmtCreate sets the GmtCreate field's value.

func (*DataForGetTemplateV2Output) SetGmtModifier added in v1.0.72

SetGmtModifier sets the GmtModifier field's value.

func (*DataForGetTemplateV2Output) SetLanguageCode

SetLanguageCode sets the LanguageCode field's value.

func (*DataForGetTemplateV2Output) SetLanguageName

SetLanguageName sets the LanguageName field's value.

func (*DataForGetTemplateV2Output) SetSceneTemplateCode

func (s *DataForGetTemplateV2Output) SetSceneTemplateCode(v string) *DataForGetTemplateV2Output

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (*DataForGetTemplateV2Output) SetSceneTemplateName

func (s *DataForGetTemplateV2Output) SetSceneTemplateName(v string) *DataForGetTemplateV2Output

SetSceneTemplateName sets the SceneTemplateName field's value.

func (*DataForGetTemplateV2Output) SetTemplateList

SetTemplateList sets the TemplateList field's value.

func (DataForGetTemplateV2Output) String

String returns the string representation

type DataForListTemplateV2Output

type DataForListTemplateV2Output struct {
	BusinessType *string `type:"string" json:",omitempty"`

	CreateTime *int64 `type:"int64" json:",omitempty"`

	GmtCreate *int64 `type:"int64" json:",omitempty"`

	GmtModifier *int64 `type:"int64" json:",omitempty"`

	LanguageCode *string `type:"string" json:",omitempty"`

	SceneTemplateCode *string `type:"string" json:",omitempty"`

	SceneTemplateName *string `type:"string" json:",omitempty"`

	TemplateStatuses []*TemplateStatusForListTemplateV2Output `type:"list"`
	// contains filtered or unexported fields
}

func (DataForListTemplateV2Output) GoString

func (s DataForListTemplateV2Output) GoString() string

GoString returns the string representation

func (*DataForListTemplateV2Output) SetBusinessType

SetBusinessType sets the BusinessType field's value.

func (*DataForListTemplateV2Output) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*DataForListTemplateV2Output) SetGmtCreate

SetGmtCreate sets the GmtCreate field's value.

func (*DataForListTemplateV2Output) SetGmtModifier

SetGmtModifier sets the GmtModifier field's value.

func (*DataForListTemplateV2Output) SetLanguageCode

SetLanguageCode sets the LanguageCode field's value.

func (*DataForListTemplateV2Output) SetSceneTemplateCode

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (*DataForListTemplateV2Output) SetSceneTemplateName

SetSceneTemplateName sets the SceneTemplateName field's value.

func (*DataForListTemplateV2Output) SetTemplateStatuses

SetTemplateStatuses sets the TemplateStatuses field's value.

func (DataForListTemplateV2Output) String

String returns the string representation

type DataForSendBatchMessageOutput

type DataForSendBatchMessageOutput struct {
	MessageId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForSendBatchMessageOutput) GoString

GoString returns the string representation

func (*DataForSendBatchMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (DataForSendBatchMessageOutput) String

String returns the string representation

type DataForSendMessageOutput

type DataForSendMessageOutput struct {
	MessageId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DataForSendMessageOutput) GoString

func (s DataForSendMessageOutput) GoString() string

GoString returns the string representation

func (*DataForSendMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (DataForSendMessageOutput) String

func (s DataForSendMessageOutput) String() string

String returns the string representation

type ElementStyleForCreateTemplateV2Input

type ElementStyleForCreateTemplateV2Input struct {
	Deeplink *string `type:"string" json:",omitempty"`

	ElementType *string `type:"string" json:",omitempty"`

	ExpiresTime *int32 `type:"int32" json:",omitempty"`

	HasExpires *bool `type:"boolean" json:",omitempty"`

	HasSecurity *bool `type:"boolean" json:",omitempty"`

	ImageJumpType *string `type:"string" json:",omitempty"`

	ImageLink *string `type:"string" json:",omitempty"`

	Items []*ItemForCreateTemplateV2Input `type:"list"`

	PackageName *string `type:"string" json:",omitempty"`

	ParamLeft *string `type:"string" json:",omitempty"`

	ParamRight *string `type:"string" json:",omitempty"`

	RealContent *string `type:"string" json:",omitempty"`

	ResourceCode *string `type:"string" json:",omitempty"`

	ResourceContentType *string `type:"string" json:",omitempty"`

	ResourceName *string `type:"string" json:",omitempty"`

	ResourceSize *int32 `type:"int32" json:",omitempty"`

	ResourceThumbImageUrl *string `type:"string" json:",omitempty"`

	ResourceType *string `type:"string" json:",omitempty"`

	ResourceUrl *string `type:"string" json:",omitempty"`

	SubText *string `type:"string" json:",omitempty"`

	ThumbContentType *string `type:"string" json:",omitempty"`

	ThumbImageFileSize *int32 `type:"int32" json:",omitempty"`

	ThumbImageUrl *string `type:"string" json:",omitempty"`

	ThumbnailResourceContentType *string `type:"string" json:",omitempty"`

	ThumbnailResourceName *string `type:"string" json:",omitempty"`

	ThumbnailResourceSize *int32 `type:"int32" json:",omitempty"`

	ThumbnailUrl *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ElementStyleForCreateTemplateV2Input) GoString

GoString returns the string representation

SetDeeplink sets the Deeplink field's value.

func (*ElementStyleForCreateTemplateV2Input) SetElementType

SetElementType sets the ElementType field's value.

func (*ElementStyleForCreateTemplateV2Input) SetExpiresTime

SetExpiresTime sets the ExpiresTime field's value.

func (*ElementStyleForCreateTemplateV2Input) SetHasExpires

SetHasExpires sets the HasExpires field's value.

func (*ElementStyleForCreateTemplateV2Input) SetHasSecurity

SetHasSecurity sets the HasSecurity field's value.

func (*ElementStyleForCreateTemplateV2Input) SetImageJumpType added in v1.0.72

SetImageJumpType sets the ImageJumpType field's value.

SetImageLink sets the ImageLink field's value.

func (*ElementStyleForCreateTemplateV2Input) SetItems added in v1.0.72

SetItems sets the Items field's value.

func (*ElementStyleForCreateTemplateV2Input) SetPackageName added in v1.0.72

SetPackageName sets the PackageName field's value.

func (*ElementStyleForCreateTemplateV2Input) SetParamLeft added in v1.0.72

SetParamLeft sets the ParamLeft field's value.

func (*ElementStyleForCreateTemplateV2Input) SetParamRight added in v1.0.72

SetParamRight sets the ParamRight field's value.

func (*ElementStyleForCreateTemplateV2Input) SetRealContent

SetRealContent sets the RealContent field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceCode

SetResourceCode sets the ResourceCode field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceContentType added in v1.0.72

SetResourceContentType sets the ResourceContentType field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceName

SetResourceName sets the ResourceName field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceSize added in v1.0.72

SetResourceSize sets the ResourceSize field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceThumbImageUrl added in v1.0.72

SetResourceThumbImageUrl sets the ResourceThumbImageUrl field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceType added in v1.0.72

SetResourceType sets the ResourceType field's value.

func (*ElementStyleForCreateTemplateV2Input) SetResourceUrl

SetResourceUrl sets the ResourceUrl field's value.

func (*ElementStyleForCreateTemplateV2Input) SetSubText added in v1.0.72

SetSubText sets the SubText field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbContentType added in v1.0.72

SetThumbContentType sets the ThumbContentType field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbImageFileSize added in v1.0.72

SetThumbImageFileSize sets the ThumbImageFileSize field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbImageUrl added in v1.0.72

SetThumbImageUrl sets the ThumbImageUrl field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceContentType added in v1.0.72

SetThumbnailResourceContentType sets the ThumbnailResourceContentType field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceName added in v1.0.72

SetThumbnailResourceName sets the ThumbnailResourceName field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceSize added in v1.0.72

SetThumbnailResourceSize sets the ThumbnailResourceSize field's value.

func (*ElementStyleForCreateTemplateV2Input) SetThumbnailUrl added in v1.0.72

SetThumbnailUrl sets the ThumbnailUrl field's value.

func (ElementStyleForCreateTemplateV2Input) String

String returns the string representation

type ElementStyleForGetTemplateV2Output

type ElementStyleForGetTemplateV2Output struct {
	Deeplink *string `type:"string"`

	ElementType *string `type:"string"`

	ExpiresTime *int32 `type:"int32"`

	HasExpires *bool `type:"boolean"`

	HasSecurity *bool `type:"boolean"`

	ImageJumpType *string `type:"string"`

	ImageLink *string `type:"string"`

	Items []*ItemForGetTemplateV2Output `type:"list"`

	PackageName *string `type:"string"`

	ParamLeft *string `type:"string"`

	ParamRight *string `type:"string"`

	RealContent *string `type:"string"`

	ResourceCode *string `type:"string"`

	ResourceContentType *string `type:"string"`

	ResourceName *string `type:"string"`

	ResourceSize *int32 `type:"int32"`

	ResourceThumbImageUrl *string `type:"string"`

	ResourceType *string `type:"string"`

	ResourceUrl *string `type:"string"`

	SubText *string `type:"string"`

	ThumbContentType *string `type:"string"`

	ThumbImageFileSize *int32 `type:"int32"`

	ThumbImageUrl *string `type:"string"`

	ThumbnailResourceContentType *string `type:"string"`

	ThumbnailResourceName *string `type:"string"`

	ThumbnailResourceSize *int32 `type:"int32"`

	ThumbnailUrl *string `type:"string"`
	// contains filtered or unexported fields
}

func (ElementStyleForGetTemplateV2Output) GoString

GoString returns the string representation

SetDeeplink sets the Deeplink field's value.

func (*ElementStyleForGetTemplateV2Output) SetElementType

SetElementType sets the ElementType field's value.

func (*ElementStyleForGetTemplateV2Output) SetExpiresTime

SetExpiresTime sets the ExpiresTime field's value.

func (*ElementStyleForGetTemplateV2Output) SetHasExpires

SetHasExpires sets the HasExpires field's value.

func (*ElementStyleForGetTemplateV2Output) SetHasSecurity

SetHasSecurity sets the HasSecurity field's value.

func (*ElementStyleForGetTemplateV2Output) SetImageJumpType added in v1.0.72

SetImageJumpType sets the ImageJumpType field's value.

SetImageLink sets the ImageLink field's value.

func (*ElementStyleForGetTemplateV2Output) SetItems added in v1.0.72

SetItems sets the Items field's value.

func (*ElementStyleForGetTemplateV2Output) SetPackageName added in v1.0.72

SetPackageName sets the PackageName field's value.

func (*ElementStyleForGetTemplateV2Output) SetParamLeft added in v1.0.72

SetParamLeft sets the ParamLeft field's value.

func (*ElementStyleForGetTemplateV2Output) SetParamRight added in v1.0.72

SetParamRight sets the ParamRight field's value.

func (*ElementStyleForGetTemplateV2Output) SetRealContent

SetRealContent sets the RealContent field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceCode

SetResourceCode sets the ResourceCode field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceContentType added in v1.0.72

SetResourceContentType sets the ResourceContentType field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceName

SetResourceName sets the ResourceName field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceSize added in v1.0.72

SetResourceSize sets the ResourceSize field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceThumbImageUrl added in v1.0.72

SetResourceThumbImageUrl sets the ResourceThumbImageUrl field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceType added in v1.0.72

SetResourceType sets the ResourceType field's value.

func (*ElementStyleForGetTemplateV2Output) SetResourceUrl

SetResourceUrl sets the ResourceUrl field's value.

func (*ElementStyleForGetTemplateV2Output) SetSubText added in v1.0.72

SetSubText sets the SubText field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbContentType added in v1.0.72

SetThumbContentType sets the ThumbContentType field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbImageFileSize added in v1.0.72

SetThumbImageFileSize sets the ThumbImageFileSize field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbImageUrl added in v1.0.72

SetThumbImageUrl sets the ThumbImageUrl field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbnailResourceContentType added in v1.0.72

func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceContentType(v string) *ElementStyleForGetTemplateV2Output

SetThumbnailResourceContentType sets the ThumbnailResourceContentType field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbnailResourceName added in v1.0.72

SetThumbnailResourceName sets the ThumbnailResourceName field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbnailResourceSize added in v1.0.72

SetThumbnailResourceSize sets the ThumbnailResourceSize field's value.

func (*ElementStyleForGetTemplateV2Output) SetThumbnailUrl added in v1.0.72

SetThumbnailUrl sets the ThumbnailUrl field's value.

func (ElementStyleForGetTemplateV2Output) String

String returns the string representation

type ExtendAttrsForCreateTemplateV2Input

type ExtendAttrsForCreateTemplateV2Input struct {
	CouponCode *string `type:"string" json:",omitempty"`

	CreateFrom *string `type:"string" json:",omitempty"`

	PhoneNumber *string `type:"string" json:",omitempty"`

	PhoneType *string `type:"string" json:",omitempty"`

	TerminalOpenType *string `type:"string" json:",omitempty"`

	Variable *string `type:"string" json:",omitempty"`

	WebsiteUrl *string `type:"string" json:",omitempty"`

	WebsiteUrlType *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ExtendAttrsForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*ExtendAttrsForCreateTemplateV2Input) SetCouponCode

SetCouponCode sets the CouponCode field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetCreateFrom added in v1.0.72

SetCreateFrom sets the CreateFrom field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetPhoneType added in v1.0.72

SetPhoneType sets the PhoneType field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetTerminalOpenType added in v1.0.72

SetTerminalOpenType sets the TerminalOpenType field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetVariable

SetVariable sets the Variable field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrl

SetWebsiteUrl sets the WebsiteUrl field's value.

func (*ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrlType

SetWebsiteUrlType sets the WebsiteUrlType field's value.

func (ExtendAttrsForCreateTemplateV2Input) String

String returns the string representation

type ExtendAttrsForGetTemplateV2Output

type ExtendAttrsForGetTemplateV2Output struct {
	CouponCode *string `type:"string"`

	CreateFrom *string `type:"string"`

	PhoneNumber *string `type:"string"`

	PhoneType *string `type:"string"`

	TerminalOpenType *string `type:"string"`

	Variable *string `type:"string"`

	WebsiteUrl *string `type:"string"`

	WebsiteUrlType *string `type:"string"`
	// contains filtered or unexported fields
}

func (ExtendAttrsForGetTemplateV2Output) GoString

GoString returns the string representation

func (*ExtendAttrsForGetTemplateV2Output) SetCouponCode

SetCouponCode sets the CouponCode field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetCreateFrom added in v1.0.72

SetCreateFrom sets the CreateFrom field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetPhoneNumber

SetPhoneNumber sets the PhoneNumber field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetPhoneType added in v1.0.72

SetPhoneType sets the PhoneType field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetTerminalOpenType added in v1.0.72

SetTerminalOpenType sets the TerminalOpenType field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetVariable

SetVariable sets the Variable field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetWebsiteUrl

SetWebsiteUrl sets the WebsiteUrl field's value.

func (*ExtendAttrsForGetTemplateV2Output) SetWebsiteUrlType

SetWebsiteUrlType sets the WebsiteUrlType field's value.

func (ExtendAttrsForGetTemplateV2Output) String

String returns the string representation

type GetTemplateV2Input

type GetTemplateV2Input struct {
	ConvertTosKeyToUrl *string `type:"string"`

	// SceneTemplateCode is a required field
	SceneTemplateCode *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTemplateV2Input) GoString

func (s GetTemplateV2Input) GoString() string

GoString returns the string representation

func (*GetTemplateV2Input) SetConvertTosKeyToUrl

func (s *GetTemplateV2Input) SetConvertTosKeyToUrl(v string) *GetTemplateV2Input

SetConvertTosKeyToUrl sets the ConvertTosKeyToUrl field's value.

func (*GetTemplateV2Input) SetSceneTemplateCode

func (s *GetTemplateV2Input) SetSceneTemplateCode(v string) *GetTemplateV2Input

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (GetTemplateV2Input) String

func (s GetTemplateV2Input) String() string

String returns the string representation

func (*GetTemplateV2Input) Validate

func (s *GetTemplateV2Input) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTemplateV2Output

type GetTemplateV2Output struct {
	Metadata *response.ResponseMetadata

	Data *DataForGetTemplateV2Output `type:"structure"`

	Message *string `type:"string"`

	Success *bool `type:"boolean"`

	Total *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (GetTemplateV2Output) GoString

func (s GetTemplateV2Output) GoString() string

GoString returns the string representation

func (*GetTemplateV2Output) SetData

SetData sets the Data field's value.

func (*GetTemplateV2Output) SetMessage

SetMessage sets the Message field's value.

func (*GetTemplateV2Output) SetSuccess

func (s *GetTemplateV2Output) SetSuccess(v bool) *GetTemplateV2Output

SetSuccess sets the Success field's value.

func (*GetTemplateV2Output) SetTotal

SetTotal sets the Total field's value.

func (GetTemplateV2Output) String

func (s GetTemplateV2Output) String() string

String returns the string representation

type ItemForCreateTemplateV2Input added in v1.0.72

type ItemForCreateTemplateV2Input struct {
	ParamLeft *string `type:"string" json:",omitempty"`

	ParamRight *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ItemForCreateTemplateV2Input) GoString added in v1.0.72

func (s ItemForCreateTemplateV2Input) GoString() string

GoString returns the string representation

func (*ItemForCreateTemplateV2Input) SetParamLeft added in v1.0.72

SetParamLeft sets the ParamLeft field's value.

func (*ItemForCreateTemplateV2Input) SetParamRight added in v1.0.72

SetParamRight sets the ParamRight field's value.

func (ItemForCreateTemplateV2Input) String added in v1.0.72

String returns the string representation

type ItemForGetTemplateV2Output added in v1.0.72

type ItemForGetTemplateV2Output struct {
	ParamLeft *string `type:"string"`

	ParamRight *string `type:"string"`
	// contains filtered or unexported fields
}

func (ItemForGetTemplateV2Output) GoString added in v1.0.72

func (s ItemForGetTemplateV2Output) GoString() string

GoString returns the string representation

func (*ItemForGetTemplateV2Output) SetParamLeft added in v1.0.72

SetParamLeft sets the ParamLeft field's value.

func (*ItemForGetTemplateV2Output) SetParamRight added in v1.0.72

SetParamRight sets the ParamRight field's value.

func (ItemForGetTemplateV2Output) String added in v1.0.72

String returns the string representation

type ListTemplateV2Input

type ListTemplateV2Input struct {
	BusinessTypeList []*string `type:"list"`

	BusinessTypeName []*string `type:"list"`

	Filter *string `type:"string" json:",omitempty"`

	LanguageCode *string `type:"string" json:",omitempty"`

	// PageIndex is a required field
	PageIndex *int32 `type:"int32" json:",omitempty" required:"true"`

	// PageSize is a required field
	PageSize *int32 `type:"int32" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (ListTemplateV2Input) GoString

func (s ListTemplateV2Input) GoString() string

GoString returns the string representation

func (*ListTemplateV2Input) SetBusinessTypeList

func (s *ListTemplateV2Input) SetBusinessTypeList(v []*string) *ListTemplateV2Input

SetBusinessTypeList sets the BusinessTypeList field's value.

func (*ListTemplateV2Input) SetBusinessTypeName

func (s *ListTemplateV2Input) SetBusinessTypeName(v []*string) *ListTemplateV2Input

SetBusinessTypeName sets the BusinessTypeName field's value.

func (*ListTemplateV2Input) SetFilter

SetFilter sets the Filter field's value.

func (*ListTemplateV2Input) SetLanguageCode

func (s *ListTemplateV2Input) SetLanguageCode(v string) *ListTemplateV2Input

SetLanguageCode sets the LanguageCode field's value.

func (*ListTemplateV2Input) SetPageIndex

func (s *ListTemplateV2Input) SetPageIndex(v int32) *ListTemplateV2Input

SetPageIndex sets the PageIndex field's value.

func (*ListTemplateV2Input) SetPageSize

func (s *ListTemplateV2Input) SetPageSize(v int32) *ListTemplateV2Input

SetPageSize sets the PageSize field's value.

func (ListTemplateV2Input) String

func (s ListTemplateV2Input) String() string

String returns the string representation

func (*ListTemplateV2Input) Validate

func (s *ListTemplateV2Input) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTemplateV2Output

type ListTemplateV2Output struct {
	Metadata *response.ResponseMetadata

	Data []*DataForListTemplateV2Output `type:"list"`

	Message *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`

	Total *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListTemplateV2Output) GoString

func (s ListTemplateV2Output) GoString() string

GoString returns the string representation

func (*ListTemplateV2Output) SetData

SetData sets the Data field's value.

func (*ListTemplateV2Output) SetMessage

SetMessage sets the Message field's value.

func (*ListTemplateV2Output) SetSuccess

SetSuccess sets the Success field's value.

func (*ListTemplateV2Output) SetTotal

SetTotal sets the Total field's value.

func (ListTemplateV2Output) String

func (s ListTemplateV2Output) String() string

String returns the string representation

type PageDTOListForCreateTemplateV2Input

type PageDTOListForCreateTemplateV2Input struct {
	PageElementDTOList []*PageElementDTOListForCreateTemplateV2Input `type:"list"`

	PageLinkList []*PageLinkListForCreateTemplateV2Input `type:"list"`

	PageName *string `type:"string" json:",omitempty"`

	PageType *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PageDTOListForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*PageDTOListForCreateTemplateV2Input) SetPageElementDTOList

SetPageElementDTOList sets the PageElementDTOList field's value.

SetPageLinkList sets the PageLinkList field's value.

func (*PageDTOListForCreateTemplateV2Input) SetPageName

SetPageName sets the PageName field's value.

func (*PageDTOListForCreateTemplateV2Input) SetPageType added in v1.0.72

SetPageType sets the PageType field's value.

func (PageDTOListForCreateTemplateV2Input) String

String returns the string representation

type PageDTOListForGetTemplateV2Output

type PageDTOListForGetTemplateV2Output struct {
	PageElementDTOList []*PageElementDTOListForGetTemplateV2Output `type:"list"`

	PageLinkList []*PageLinkListForGetTemplateV2Output `type:"list"`

	PageName *string `type:"string"`

	PageType *string `type:"string"`
	// contains filtered or unexported fields
}

func (PageDTOListForGetTemplateV2Output) GoString

GoString returns the string representation

func (*PageDTOListForGetTemplateV2Output) SetPageElementDTOList

SetPageElementDTOList sets the PageElementDTOList field's value.

SetPageLinkList sets the PageLinkList field's value.

func (*PageDTOListForGetTemplateV2Output) SetPageName

SetPageName sets the PageName field's value.

func (*PageDTOListForGetTemplateV2Output) SetPageType added in v1.0.72

SetPageType sets the PageType field's value.

func (PageDTOListForGetTemplateV2Output) String

String returns the string representation

type PageElementDTOListForCreateTemplateV2Input

type PageElementDTOListForCreateTemplateV2Input struct {
	ElementStyle *ElementStyleForCreateTemplateV2Input `type:"structure" json:",omitempty"`

	ElementType *string `type:"string" json:",omitempty"`

	OrderId *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PageElementDTOListForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*PageElementDTOListForCreateTemplateV2Input) SetElementStyle

SetElementStyle sets the ElementStyle field's value.

func (*PageElementDTOListForCreateTemplateV2Input) SetElementType

SetElementType sets the ElementType field's value.

func (*PageElementDTOListForCreateTemplateV2Input) SetOrderId added in v1.0.72

SetOrderId sets the OrderId field's value.

func (PageElementDTOListForCreateTemplateV2Input) String

String returns the string representation

type PageElementDTOListForGetTemplateV2Output

type PageElementDTOListForGetTemplateV2Output struct {
	ElementStyle *ElementStyleForGetTemplateV2Output `type:"structure"`

	ElementType *string `type:"string"`

	OrderId *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (PageElementDTOListForGetTemplateV2Output) GoString

GoString returns the string representation

func (*PageElementDTOListForGetTemplateV2Output) SetElementStyle

SetElementStyle sets the ElementStyle field's value.

func (*PageElementDTOListForGetTemplateV2Output) SetElementType

SetElementType sets the ElementType field's value.

func (*PageElementDTOListForGetTemplateV2Output) SetOrderId added in v1.0.72

SetOrderId sets the OrderId field's value.

func (PageElementDTOListForGetTemplateV2Output) String

String returns the string representation

type PageLinkListForCreateTemplateV2Input

type PageLinkListForCreateTemplateV2Input struct {
	Action *ActionForCreateTemplateV2Input `type:"structure" json:",omitempty"`

	ElementType *string `type:"string" json:",omitempty"`

	LinkName *string `type:"string" json:",omitempty"`

	LinkType *string `type:"string" json:",omitempty"`

	OrderId *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PageLinkListForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*PageLinkListForCreateTemplateV2Input) SetAction

SetAction sets the Action field's value.

func (*PageLinkListForCreateTemplateV2Input) SetElementType

SetElementType sets the ElementType field's value.

func (*PageLinkListForCreateTemplateV2Input) SetLinkName

SetLinkName sets the LinkName field's value.

func (*PageLinkListForCreateTemplateV2Input) SetLinkType

SetLinkType sets the LinkType field's value.

func (*PageLinkListForCreateTemplateV2Input) SetOrderId

SetOrderId sets the OrderId field's value.

func (PageLinkListForCreateTemplateV2Input) String

String returns the string representation

type PageLinkListForGetTemplateV2Output

type PageLinkListForGetTemplateV2Output struct {
	Action *ActionForGetTemplateV2Output `type:"structure"`

	ElementType *string `type:"string"`

	LinkName *string `type:"string"`

	LinkType *string `type:"string"`

	OrderId *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (PageLinkListForGetTemplateV2Output) GoString

GoString returns the string representation

func (*PageLinkListForGetTemplateV2Output) SetAction

SetAction sets the Action field's value.

func (*PageLinkListForGetTemplateV2Output) SetElementType

SetElementType sets the ElementType field's value.

func (*PageLinkListForGetTemplateV2Output) SetLinkName

SetLinkName sets the LinkName field's value.

func (*PageLinkListForGetTemplateV2Output) SetLinkType

SetLinkType sets the LinkType field's value.

func (*PageLinkListForGetTemplateV2Output) SetOrderId

SetOrderId sets the OrderId field's value.

func (PageLinkListForGetTemplateV2Output) String

String returns the string representation

type PriorityForSendBatchMessageInput

type PriorityForSendBatchMessageInput struct {
	ChannelType *string `type:"string" json:",omitempty"`

	Failback *string `type:"string" json:",omitempty"`

	Failed *bool `type:"boolean" json:",omitempty"`

	Level *string `type:"string" json:",omitempty"`

	NoReceipt *bool `type:"boolean" json:",omitempty"`

	Sender *string `type:"string" json:",omitempty"`

	Timeout *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PriorityForSendBatchMessageInput) GoString

GoString returns the string representation

func (*PriorityForSendBatchMessageInput) SetChannelType

SetChannelType sets the ChannelType field's value.

func (*PriorityForSendBatchMessageInput) SetFailback

SetFailback sets the Failback field's value.

func (*PriorityForSendBatchMessageInput) SetFailed

SetFailed sets the Failed field's value.

func (*PriorityForSendBatchMessageInput) SetLevel

SetLevel sets the Level field's value.

func (*PriorityForSendBatchMessageInput) SetNoReceipt

SetNoReceipt sets the NoReceipt field's value.

func (*PriorityForSendBatchMessageInput) SetSender

SetSender sets the Sender field's value.

func (*PriorityForSendBatchMessageInput) SetTimeout

SetTimeout sets the Timeout field's value.

func (PriorityForSendBatchMessageInput) String

String returns the string representation

type PriorityForSendMessageInput

type PriorityForSendMessageInput struct {
	ChannelType *string `type:"string" json:",omitempty"`

	Failback *string `type:"string" json:",omitempty"`

	Failed *bool `type:"boolean" json:",omitempty"`

	Level *string `type:"string" json:",omitempty"`

	NoReceipt *bool `type:"boolean" json:",omitempty"`

	Sender *string `type:"string" json:",omitempty"`

	Timeout *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PriorityForSendMessageInput) GoString

func (s PriorityForSendMessageInput) GoString() string

GoString returns the string representation

func (*PriorityForSendMessageInput) SetChannelType

SetChannelType sets the ChannelType field's value.

func (*PriorityForSendMessageInput) SetFailback

SetFailback sets the Failback field's value.

func (*PriorityForSendMessageInput) SetFailed

SetFailed sets the Failed field's value.

func (*PriorityForSendMessageInput) SetLevel

SetLevel sets the Level field's value.

func (*PriorityForSendMessageInput) SetNoReceipt

SetNoReceipt sets the NoReceipt field's value.

func (*PriorityForSendMessageInput) SetSender

SetSender sets the Sender field's value.

func (*PriorityForSendMessageInput) SetTimeout

SetTimeout sets the Timeout field's value.

func (PriorityForSendMessageInput) String

String returns the string representation

type ReceiverForSendBatchMessageInput

type ReceiverForSendBatchMessageInput struct {
	Params *string `type:"string" json:",omitempty"`

	Receiver *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ReceiverForSendBatchMessageInput) GoString

GoString returns the string representation

func (*ReceiverForSendBatchMessageInput) SetParams

SetParams sets the Params field's value.

func (*ReceiverForSendBatchMessageInput) SetReceiver

SetReceiver sets the Receiver field's value.

func (ReceiverForSendBatchMessageInput) String

String returns the string representation

type SendBatchMessageInput

type SendBatchMessageInput struct {
	LanguageCode *string `type:"string" json:",omitempty"`

	Priority []*PriorityForSendBatchMessageInput `type:"list"`

	Receiver []*ReceiverForSendBatchMessageInput `type:"list"`

	// SceneTemplateCode is a required field
	SceneTemplateCode *string `type:"string" json:",omitempty" required:"true"`

	// Sid is a required field
	Sid *string `type:"string" json:",omitempty" required:"true"`

	Tag *string `type:"string" json:",omitempty"`

	TaskName *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SendBatchMessageInput) GoString

func (s SendBatchMessageInput) GoString() string

GoString returns the string representation

func (*SendBatchMessageInput) SetLanguageCode

func (s *SendBatchMessageInput) SetLanguageCode(v string) *SendBatchMessageInput

SetLanguageCode sets the LanguageCode field's value.

func (*SendBatchMessageInput) SetPriority

SetPriority sets the Priority field's value.

func (*SendBatchMessageInput) SetReceiver

SetReceiver sets the Receiver field's value.

func (*SendBatchMessageInput) SetSceneTemplateCode

func (s *SendBatchMessageInput) SetSceneTemplateCode(v string) *SendBatchMessageInput

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (*SendBatchMessageInput) SetSid

SetSid sets the Sid field's value.

func (*SendBatchMessageInput) SetTag

SetTag sets the Tag field's value.

func (*SendBatchMessageInput) SetTaskName

SetTaskName sets the TaskName field's value.

func (SendBatchMessageInput) String

func (s SendBatchMessageInput) String() string

String returns the string representation

func (*SendBatchMessageInput) Validate

func (s *SendBatchMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendBatchMessageOutput

type SendBatchMessageOutput struct {
	Metadata *response.ResponseMetadata

	Data *DataForSendBatchMessageOutput `type:"structure" json:",omitempty"`

	Message *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SendBatchMessageOutput) GoString

func (s SendBatchMessageOutput) GoString() string

GoString returns the string representation

func (*SendBatchMessageOutput) SetData

SetData sets the Data field's value.

func (*SendBatchMessageOutput) SetMessage

SetMessage sets the Message field's value.

func (*SendBatchMessageOutput) SetSuccess

SetSuccess sets the Success field's value.

func (SendBatchMessageOutput) String

func (s SendBatchMessageOutput) String() string

String returns the string representation

type SendMessageInput

type SendMessageInput struct {
	LanguageCode *string `type:"string" json:",omitempty"`

	Params *string `type:"string" json:",omitempty"`

	Priority []*PriorityForSendMessageInput `type:"list"`

	Receiver *string `type:"string" json:",omitempty"`

	// SceneTemplateCode is a required field
	SceneTemplateCode *string `type:"string" json:",omitempty" required:"true"`

	// Sid is a required field
	Sid *string `type:"string" json:",omitempty" required:"true"`

	Tag *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SendMessageInput) GoString

func (s SendMessageInput) GoString() string

GoString returns the string representation

func (*SendMessageInput) SetLanguageCode

func (s *SendMessageInput) SetLanguageCode(v string) *SendMessageInput

SetLanguageCode sets the LanguageCode field's value.

func (*SendMessageInput) SetParams

func (s *SendMessageInput) SetParams(v string) *SendMessageInput

SetParams sets the Params field's value.

func (*SendMessageInput) SetPriority

SetPriority sets the Priority field's value.

func (*SendMessageInput) SetReceiver

func (s *SendMessageInput) SetReceiver(v string) *SendMessageInput

SetReceiver sets the Receiver field's value.

func (*SendMessageInput) SetSceneTemplateCode

func (s *SendMessageInput) SetSceneTemplateCode(v string) *SendMessageInput

SetSceneTemplateCode sets the SceneTemplateCode field's value.

func (*SendMessageInput) SetSid

SetSid sets the Sid field's value.

func (*SendMessageInput) SetTag

SetTag sets the Tag field's value.

func (SendMessageInput) String

func (s SendMessageInput) String() string

String returns the string representation

func (*SendMessageInput) Validate

func (s *SendMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendMessageOutput

type SendMessageOutput struct {
	Metadata *response.ResponseMetadata

	Data *DataForSendMessageOutput `type:"structure" json:",omitempty"`

	Message *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SendMessageOutput) GoString

func (s SendMessageOutput) GoString() string

GoString returns the string representation

func (*SendMessageOutput) SetData

SetData sets the Data field's value.

func (*SendMessageOutput) SetMessage

func (s *SendMessageOutput) SetMessage(v string) *SendMessageOutput

SetMessage sets the Message field's value.

func (*SendMessageOutput) SetSuccess

func (s *SendMessageOutput) SetSuccess(v bool) *SendMessageOutput

SetSuccess sets the Success field's value.

func (SendMessageOutput) String

func (s SendMessageOutput) String() string

String returns the string representation

type TemplateButtonListForCreateTemplateV2Input added in v1.0.72

type TemplateButtonListForCreateTemplateV2Input struct {
	Action *ActionForCreateTemplateV2Input `type:"structure" json:",omitempty"`

	ElementType *string `type:"string" json:",omitempty"`

	LinkName *string `type:"string" json:",omitempty"`

	LinkType *string `type:"string" json:",omitempty"`

	OrderId *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TemplateButtonListForCreateTemplateV2Input) GoString added in v1.0.72

GoString returns the string representation

func (*TemplateButtonListForCreateTemplateV2Input) SetAction added in v1.0.72

SetAction sets the Action field's value.

func (*TemplateButtonListForCreateTemplateV2Input) SetElementType added in v1.0.72

SetElementType sets the ElementType field's value.

func (*TemplateButtonListForCreateTemplateV2Input) SetLinkName added in v1.0.72

SetLinkName sets the LinkName field's value.

func (*TemplateButtonListForCreateTemplateV2Input) SetLinkType added in v1.0.72

SetLinkType sets the LinkType field's value.

func (*TemplateButtonListForCreateTemplateV2Input) SetOrderId added in v1.0.72

SetOrderId sets the OrderId field's value.

func (TemplateButtonListForCreateTemplateV2Input) String added in v1.0.72

String returns the string representation

type TemplateButtonListForGetTemplateV2Output added in v1.0.72

type TemplateButtonListForGetTemplateV2Output struct {
	Action *ActionForGetTemplateV2Output `type:"structure"`

	ElementType *string `type:"string"`

	LinkName *string `type:"string"`

	LinkType *string `type:"string"`

	OrderId *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (TemplateButtonListForGetTemplateV2Output) GoString added in v1.0.72

GoString returns the string representation

func (*TemplateButtonListForGetTemplateV2Output) SetAction added in v1.0.72

SetAction sets the Action field's value.

func (*TemplateButtonListForGetTemplateV2Output) SetElementType added in v1.0.72

SetElementType sets the ElementType field's value.

func (*TemplateButtonListForGetTemplateV2Output) SetLinkName added in v1.0.72

SetLinkName sets the LinkName field's value.

func (*TemplateButtonListForGetTemplateV2Output) SetLinkType added in v1.0.72

SetLinkType sets the LinkType field's value.

func (*TemplateButtonListForGetTemplateV2Output) SetOrderId added in v1.0.72

SetOrderId sets the OrderId field's value.

func (TemplateButtonListForGetTemplateV2Output) String added in v1.0.72

String returns the string representation

type TemplateListForCreateTemplateV2Input

type TemplateListForCreateTemplateV2Input struct {
	AuditStatus *string `type:"string" json:",omitempty"`

	Background *string `type:"string" json:",omitempty"`

	CardButtonType []*string `type:"list"`

	CardHeaderType *string `type:"string" json:",omitempty"`

	CarouselBody *string `type:"string" json:",omitempty"`

	FallbackLink *string `type:"string" json:",omitempty"`

	Format *string `type:"string" json:",omitempty"`

	OriginalText *string `type:"string" json:",omitempty"`

	PageDTOList []*PageDTOListForCreateTemplateV2Input `type:"list"`

	ServiceNo *string `type:"string" json:",omitempty"`

	SubAccountId *string `type:"string" json:",omitempty"`

	TemplateButtonList []*TemplateButtonListForCreateTemplateV2Input `type:"list"`

	TemplateType *string `type:"string" json:",omitempty"`

	Usage *string `type:"string" json:",omitempty"`

	VariablesDTOList []*VariablesDTOListForCreateTemplateV2Input `type:"list"`

	Vendors []*string `type:"list"`

	WhatsappCatagory *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TemplateListForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*TemplateListForCreateTemplateV2Input) SetAuditStatus added in v1.0.72

SetAuditStatus sets the AuditStatus field's value.

func (*TemplateListForCreateTemplateV2Input) SetBackground added in v1.0.72

SetBackground sets the Background field's value.

func (*TemplateListForCreateTemplateV2Input) SetCardButtonType

SetCardButtonType sets the CardButtonType field's value.

func (*TemplateListForCreateTemplateV2Input) SetCardHeaderType

SetCardHeaderType sets the CardHeaderType field's value.

func (*TemplateListForCreateTemplateV2Input) SetCarouselBody

SetCarouselBody sets the CarouselBody field's value.

SetFallbackLink sets the FallbackLink field's value.

func (*TemplateListForCreateTemplateV2Input) SetFormat

SetFormat sets the Format field's value.

func (*TemplateListForCreateTemplateV2Input) SetOriginalText added in v1.0.72

SetOriginalText sets the OriginalText field's value.

func (*TemplateListForCreateTemplateV2Input) SetPageDTOList

SetPageDTOList sets the PageDTOList field's value.

func (*TemplateListForCreateTemplateV2Input) SetServiceNo added in v1.0.72

SetServiceNo sets the ServiceNo field's value.

func (*TemplateListForCreateTemplateV2Input) SetSubAccountId added in v1.0.72

SetSubAccountId sets the SubAccountId field's value.

func (*TemplateListForCreateTemplateV2Input) SetTemplateButtonList added in v1.0.72

SetTemplateButtonList sets the TemplateButtonList field's value.

func (*TemplateListForCreateTemplateV2Input) SetTemplateType

SetTemplateType sets the TemplateType field's value.

func (*TemplateListForCreateTemplateV2Input) SetUsage added in v1.0.72

SetUsage sets the Usage field's value.

func (*TemplateListForCreateTemplateV2Input) SetVariablesDTOList

SetVariablesDTOList sets the VariablesDTOList field's value.

func (*TemplateListForCreateTemplateV2Input) SetVendors added in v1.0.72

SetVendors sets the Vendors field's value.

func (*TemplateListForCreateTemplateV2Input) SetWhatsappCatagory

SetWhatsappCatagory sets the WhatsappCatagory field's value.

func (TemplateListForCreateTemplateV2Input) String

String returns the string representation

type TemplateListForGetTemplateV2Output

type TemplateListForGetTemplateV2Output struct {
	AuditStatus *string `type:"string"`

	Background *string `type:"string"`

	CardButtonType []*string `type:"list"`

	CardHeaderType *string `type:"string"`

	CarouselBody *string `type:"string"`

	FallbackLink *string `type:"string"`

	Format *string `type:"string"`

	OriginalText *string `type:"string"`

	PageDTOList []*PageDTOListForGetTemplateV2Output `type:"list"`

	ServiceNo *string `type:"string"`

	SubAccountId *string `type:"string"`

	TemplateButtonList []*TemplateButtonListForGetTemplateV2Output `type:"list"`

	TemplateType *string `type:"string"`

	Usage *string `type:"string"`

	VariablesDTOList []*VariablesDTOListForGetTemplateV2Output `type:"list"`

	Vendors []*string `type:"list"`

	WhatsappCatagory *string `type:"string"`
	// contains filtered or unexported fields
}

func (TemplateListForGetTemplateV2Output) GoString

GoString returns the string representation

func (*TemplateListForGetTemplateV2Output) SetAuditStatus added in v1.0.72

SetAuditStatus sets the AuditStatus field's value.

func (*TemplateListForGetTemplateV2Output) SetBackground added in v1.0.72

SetBackground sets the Background field's value.

func (*TemplateListForGetTemplateV2Output) SetCardButtonType

SetCardButtonType sets the CardButtonType field's value.

func (*TemplateListForGetTemplateV2Output) SetCardHeaderType

SetCardHeaderType sets the CardHeaderType field's value.

func (*TemplateListForGetTemplateV2Output) SetCarouselBody

SetCarouselBody sets the CarouselBody field's value.

SetFallbackLink sets the FallbackLink field's value.

func (*TemplateListForGetTemplateV2Output) SetFormat

SetFormat sets the Format field's value.

func (*TemplateListForGetTemplateV2Output) SetOriginalText added in v1.0.72

SetOriginalText sets the OriginalText field's value.

func (*TemplateListForGetTemplateV2Output) SetPageDTOList

SetPageDTOList sets the PageDTOList field's value.

func (*TemplateListForGetTemplateV2Output) SetServiceNo added in v1.0.72

SetServiceNo sets the ServiceNo field's value.

func (*TemplateListForGetTemplateV2Output) SetSubAccountId added in v1.0.72

SetSubAccountId sets the SubAccountId field's value.

func (*TemplateListForGetTemplateV2Output) SetTemplateButtonList added in v1.0.72

SetTemplateButtonList sets the TemplateButtonList field's value.

func (*TemplateListForGetTemplateV2Output) SetTemplateType

SetTemplateType sets the TemplateType field's value.

func (*TemplateListForGetTemplateV2Output) SetUsage added in v1.0.72

SetUsage sets the Usage field's value.

func (*TemplateListForGetTemplateV2Output) SetVariablesDTOList

SetVariablesDTOList sets the VariablesDTOList field's value.

func (*TemplateListForGetTemplateV2Output) SetVendors added in v1.0.72

SetVendors sets the Vendors field's value.

func (*TemplateListForGetTemplateV2Output) SetWhatsappCatagory

SetWhatsappCatagory sets the WhatsappCatagory field's value.

func (TemplateListForGetTemplateV2Output) String

String returns the string representation

type TemplateStatusForListTemplateV2Output

type TemplateStatusForListTemplateV2Output struct {
	AuditStatus *string `type:"string" json:",omitempty"`

	Reason *string `type:"string" json:",omitempty"`

	ServiceName *string `type:"string" json:",omitempty"`

	ServiceNo *string `type:"string" json:",omitempty"`

	SubaccountId *string `type:"string" json:",omitempty"`

	TemplateType *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TemplateStatusForListTemplateV2Output) GoString

GoString returns the string representation

func (*TemplateStatusForListTemplateV2Output) SetAuditStatus

SetAuditStatus sets the AuditStatus field's value.

func (*TemplateStatusForListTemplateV2Output) SetReason

SetReason sets the Reason field's value.

func (*TemplateStatusForListTemplateV2Output) SetServiceName added in v1.0.72

SetServiceName sets the ServiceName field's value.

func (*TemplateStatusForListTemplateV2Output) SetServiceNo added in v1.0.72

SetServiceNo sets the ServiceNo field's value.

func (*TemplateStatusForListTemplateV2Output) SetSubaccountId added in v1.0.72

SetSubaccountId sets the SubaccountId field's value.

func (*TemplateStatusForListTemplateV2Output) SetTemplateType

SetTemplateType sets the TemplateType field's value.

func (TemplateStatusForListTemplateV2Output) String

String returns the string representation

type VariablesDTOListForCreateTemplateV2Input

type VariablesDTOListForCreateTemplateV2Input struct {
	DefaultValue *string `type:"string" json:",omitempty"`

	Format *string `type:"string" json:",omitempty"`

	UniqueVariableCode *string `type:"string" json:",omitempty"`

	VariableCode *string `type:"string" json:",omitempty"`

	VariableLength *int32 `type:"int32" json:",omitempty"`

	VariableName *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (VariablesDTOListForCreateTemplateV2Input) GoString

GoString returns the string representation

func (*VariablesDTOListForCreateTemplateV2Input) SetDefaultValue

SetDefaultValue sets the DefaultValue field's value.

func (*VariablesDTOListForCreateTemplateV2Input) SetFormat

SetFormat sets the Format field's value.

func (*VariablesDTOListForCreateTemplateV2Input) SetUniqueVariableCode

SetUniqueVariableCode sets the UniqueVariableCode field's value.

func (*VariablesDTOListForCreateTemplateV2Input) SetVariableCode

SetVariableCode sets the VariableCode field's value.

func (*VariablesDTOListForCreateTemplateV2Input) SetVariableLength added in v1.0.72

SetVariableLength sets the VariableLength field's value.

func (*VariablesDTOListForCreateTemplateV2Input) SetVariableName

SetVariableName sets the VariableName field's value.

func (VariablesDTOListForCreateTemplateV2Input) String

String returns the string representation

type VariablesDTOListForGetTemplateV2Output

type VariablesDTOListForGetTemplateV2Output struct {
	DefaultValue *string `type:"string"`

	Format *string `type:"string"`

	UniqueVariableCode *string `type:"string"`

	VariableCode *string `type:"string"`

	VariableLength *int32 `type:"int32"`

	VariableName *string `type:"string"`
	// contains filtered or unexported fields
}

func (VariablesDTOListForGetTemplateV2Output) GoString

GoString returns the string representation

func (*VariablesDTOListForGetTemplateV2Output) SetDefaultValue

SetDefaultValue sets the DefaultValue field's value.

func (*VariablesDTOListForGetTemplateV2Output) SetFormat

SetFormat sets the Format field's value.

func (*VariablesDTOListForGetTemplateV2Output) SetUniqueVariableCode

SetUniqueVariableCode sets the UniqueVariableCode field's value.

func (*VariablesDTOListForGetTemplateV2Output) SetVariableCode

SetVariableCode sets the VariableCode field's value.

func (*VariablesDTOListForGetTemplateV2Output) SetVariableLength added in v1.0.72

SetVariableLength sets the VariableLength field's value.

func (*VariablesDTOListForGetTemplateV2Output) SetVariableName

SetVariableName sets the VariableName field's value.

func (VariablesDTOListForGetTemplateV2Output) String

String returns the string representation

Jump to

Keyboard shortcuts

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