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
- type ActionForCreateTemplateV2Input
- func (s ActionForCreateTemplateV2Input) GoString() string
- func (s *ActionForCreateTemplateV2Input) SetAction(v string) *ActionForCreateTemplateV2Input
- func (s *ActionForCreateTemplateV2Input) SetEventName(v string) *ActionForCreateTemplateV2Input
- func (s *ActionForCreateTemplateV2Input) SetEventType(v string) *ActionForCreateTemplateV2Input
- func (s *ActionForCreateTemplateV2Input) SetExtendAttrs(v *ExtendAttrsForCreateTemplateV2Input) *ActionForCreateTemplateV2Input
- func (s ActionForCreateTemplateV2Input) String() string
- type ActionForGetTemplateV2Output
- func (s ActionForGetTemplateV2Output) GoString() string
- func (s *ActionForGetTemplateV2Output) SetAction(v string) *ActionForGetTemplateV2Output
- func (s *ActionForGetTemplateV2Output) SetEventName(v string) *ActionForGetTemplateV2Output
- func (s *ActionForGetTemplateV2Output) SetEventType(v string) *ActionForGetTemplateV2Output
- func (s *ActionForGetTemplateV2Output) SetExtendAttrs(v *ExtendAttrsForGetTemplateV2Output) *ActionForGetTemplateV2Output
- func (s ActionForGetTemplateV2Output) String() string
- type CPAAS
- func (c *CPAAS) CreateTemplateV2(input *CreateTemplateV2Input) (*CreateTemplateV2Output, error)
- func (c *CPAAS) CreateTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CPAAS) CreateTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CPAAS) CreateTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CPAAS) CreateTemplateV2Request(input *CreateTemplateV2Input) (req *request.Request, output *CreateTemplateV2Output)
- func (c *CPAAS) CreateTemplateV2WithContext(ctx byteplus.Context, input *CreateTemplateV2Input, opts ...request.Option) (*CreateTemplateV2Output, error)
- func (c *CPAAS) GetTemplateV2(input *GetTemplateV2Input) (*GetTemplateV2Output, error)
- func (c *CPAAS) GetTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CPAAS) GetTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CPAAS) GetTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CPAAS) GetTemplateV2Request(input *GetTemplateV2Input) (req *request.Request, output *GetTemplateV2Output)
- func (c *CPAAS) GetTemplateV2WithContext(ctx byteplus.Context, input *GetTemplateV2Input, opts ...request.Option) (*GetTemplateV2Output, error)
- func (c *CPAAS) ListTemplateV2(input *ListTemplateV2Input) (*ListTemplateV2Output, error)
- func (c *CPAAS) ListTemplateV2Common(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CPAAS) ListTemplateV2CommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CPAAS) ListTemplateV2CommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CPAAS) ListTemplateV2Request(input *ListTemplateV2Input) (req *request.Request, output *ListTemplateV2Output)
- func (c *CPAAS) ListTemplateV2WithContext(ctx byteplus.Context, input *ListTemplateV2Input, opts ...request.Option) (*ListTemplateV2Output, error)
- func (c *CPAAS) SendBatchMessage(input *SendBatchMessageInput) (*SendBatchMessageOutput, error)
- func (c *CPAAS) SendBatchMessageCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CPAAS) SendBatchMessageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CPAAS) SendBatchMessageCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CPAAS) SendBatchMessageRequest(input *SendBatchMessageInput) (req *request.Request, output *SendBatchMessageOutput)
- func (c *CPAAS) SendBatchMessageWithContext(ctx byteplus.Context, input *SendBatchMessageInput, opts ...request.Option) (*SendBatchMessageOutput, error)
- func (c *CPAAS) SendMessage(input *SendMessageInput) (*SendMessageOutput, error)
- func (c *CPAAS) SendMessageCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CPAAS) SendMessageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CPAAS) SendMessageCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CPAAS) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput)
- func (c *CPAAS) SendMessageWithContext(ctx byteplus.Context, input *SendMessageInput, opts ...request.Option) (*SendMessageOutput, error)
- type CPAASAPI
- type CreateTemplateV2Input
- func (s CreateTemplateV2Input) GoString() string
- func (s *CreateTemplateV2Input) SetBusinessType(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetEnableShortUrl(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetLanguage(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetSceneTemplateName(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetSendAudit(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetSignature(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetSubAccountId(v string) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetTemplateList(v []*TemplateListForCreateTemplateV2Input) *CreateTemplateV2Input
- func (s *CreateTemplateV2Input) SetWabaId(v string) *CreateTemplateV2Input
- func (s CreateTemplateV2Input) String() string
- func (s *CreateTemplateV2Input) Validate() error
- type CreateTemplateV2Output
- func (s CreateTemplateV2Output) GoString() string
- func (s *CreateTemplateV2Output) SetData(v *DataForCreateTemplateV2Output) *CreateTemplateV2Output
- func (s *CreateTemplateV2Output) SetMessage(v string) *CreateTemplateV2Output
- func (s *CreateTemplateV2Output) SetSuccess(v bool) *CreateTemplateV2Output
- func (s CreateTemplateV2Output) String() string
- type DataForCreateTemplateV2Output
- func (s DataForCreateTemplateV2Output) GoString() string
- func (s *DataForCreateTemplateV2Output) SetSceneTemplateCode(v string) *DataForCreateTemplateV2Output
- func (s *DataForCreateTemplateV2Output) SetSceneTemplateName(v string) *DataForCreateTemplateV2Output
- func (s DataForCreateTemplateV2Output) String() string
- type DataForGetTemplateV2Output
- func (s DataForGetTemplateV2Output) GoString() string
- func (s *DataForGetTemplateV2Output) SetBusinessType(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetEnabledShortUrl(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetGmtCreate(v int64) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetGmtModifier(v int64) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetLanguageCode(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetLanguageName(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetSceneTemplateCode(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetSceneTemplateName(v string) *DataForGetTemplateV2Output
- func (s *DataForGetTemplateV2Output) SetTemplateList(v []*TemplateListForGetTemplateV2Output) *DataForGetTemplateV2Output
- func (s DataForGetTemplateV2Output) String() string
- type DataForListTemplateV2Output
- func (s DataForListTemplateV2Output) GoString() string
- func (s *DataForListTemplateV2Output) SetBusinessType(v string) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetCreateTime(v int64) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetGmtCreate(v int64) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetGmtModifier(v int64) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetLanguageCode(v string) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetSceneTemplateCode(v string) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetSceneTemplateName(v string) *DataForListTemplateV2Output
- func (s *DataForListTemplateV2Output) SetTemplateStatuses(v []*TemplateStatusForListTemplateV2Output) *DataForListTemplateV2Output
- func (s DataForListTemplateV2Output) String() string
- type DataForSendBatchMessageOutput
- type DataForSendMessageOutput
- type ElementStyleForCreateTemplateV2Input
- func (s ElementStyleForCreateTemplateV2Input) GoString() string
- func (s *ElementStyleForCreateTemplateV2Input) SetDeeplink(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetElementType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetExpiresTime(v int32) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetHasExpires(v bool) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetHasSecurity(v bool) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetImageJumpType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetImageLink(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetItems(v []*ItemForCreateTemplateV2Input) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetPackageName(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetParamLeft(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetParamRight(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetRealContent(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceCode(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceContentType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceName(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceSize(v int32) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceThumbImageUrl(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetResourceUrl(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetSubText(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbContentType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbImageFileSize(v int32) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbImageUrl(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceContentType(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceName(v string) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceSize(v int32) *ElementStyleForCreateTemplateV2Input
- func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailUrl(v string) *ElementStyleForCreateTemplateV2Input
- func (s ElementStyleForCreateTemplateV2Input) String() string
- type ElementStyleForGetTemplateV2Output
- func (s ElementStyleForGetTemplateV2Output) GoString() string
- func (s *ElementStyleForGetTemplateV2Output) SetDeeplink(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetElementType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetExpiresTime(v int32) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetHasExpires(v bool) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetHasSecurity(v bool) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetImageJumpType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetImageLink(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetItems(v []*ItemForGetTemplateV2Output) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetPackageName(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetParamLeft(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetParamRight(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetRealContent(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceCode(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceContentType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceName(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceSize(v int32) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceThumbImageUrl(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetResourceUrl(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetSubText(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbContentType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbImageFileSize(v int32) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbImageUrl(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceContentType(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceName(v string) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceSize(v int32) *ElementStyleForGetTemplateV2Output
- func (s *ElementStyleForGetTemplateV2Output) SetThumbnailUrl(v string) *ElementStyleForGetTemplateV2Output
- func (s ElementStyleForGetTemplateV2Output) String() string
- type ExtendAttrsForCreateTemplateV2Input
- func (s ExtendAttrsForCreateTemplateV2Input) GoString() string
- func (s *ExtendAttrsForCreateTemplateV2Input) SetCouponCode(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetCreateFrom(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetPhoneNumber(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetPhoneType(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetTerminalOpenType(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetVariable(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrl(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s *ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrlType(v string) *ExtendAttrsForCreateTemplateV2Input
- func (s ExtendAttrsForCreateTemplateV2Input) String() string
- type ExtendAttrsForGetTemplateV2Output
- func (s ExtendAttrsForGetTemplateV2Output) GoString() string
- func (s *ExtendAttrsForGetTemplateV2Output) SetCouponCode(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetCreateFrom(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetPhoneNumber(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetPhoneType(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetTerminalOpenType(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetVariable(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetWebsiteUrl(v string) *ExtendAttrsForGetTemplateV2Output
- func (s *ExtendAttrsForGetTemplateV2Output) SetWebsiteUrlType(v string) *ExtendAttrsForGetTemplateV2Output
- func (s ExtendAttrsForGetTemplateV2Output) String() string
- type GetTemplateV2Input
- type GetTemplateV2Output
- func (s GetTemplateV2Output) GoString() string
- func (s *GetTemplateV2Output) SetData(v *DataForGetTemplateV2Output) *GetTemplateV2Output
- func (s *GetTemplateV2Output) SetMessage(v string) *GetTemplateV2Output
- func (s *GetTemplateV2Output) SetSuccess(v bool) *GetTemplateV2Output
- func (s *GetTemplateV2Output) SetTotal(v int32) *GetTemplateV2Output
- func (s GetTemplateV2Output) String() string
- type ItemForCreateTemplateV2Input
- type ItemForGetTemplateV2Output
- type ListTemplateV2Input
- func (s ListTemplateV2Input) GoString() string
- func (s *ListTemplateV2Input) SetBusinessTypeList(v []*string) *ListTemplateV2Input
- func (s *ListTemplateV2Input) SetBusinessTypeName(v []*string) *ListTemplateV2Input
- func (s *ListTemplateV2Input) SetFilter(v string) *ListTemplateV2Input
- func (s *ListTemplateV2Input) SetLanguageCode(v string) *ListTemplateV2Input
- func (s *ListTemplateV2Input) SetPageIndex(v int32) *ListTemplateV2Input
- func (s *ListTemplateV2Input) SetPageSize(v int32) *ListTemplateV2Input
- func (s ListTemplateV2Input) String() string
- func (s *ListTemplateV2Input) Validate() error
- type ListTemplateV2Output
- func (s ListTemplateV2Output) GoString() string
- func (s *ListTemplateV2Output) SetData(v []*DataForListTemplateV2Output) *ListTemplateV2Output
- func (s *ListTemplateV2Output) SetMessage(v string) *ListTemplateV2Output
- func (s *ListTemplateV2Output) SetSuccess(v bool) *ListTemplateV2Output
- func (s *ListTemplateV2Output) SetTotal(v int32) *ListTemplateV2Output
- func (s ListTemplateV2Output) String() string
- type PageDTOListForCreateTemplateV2Input
- func (s PageDTOListForCreateTemplateV2Input) GoString() string
- func (s *PageDTOListForCreateTemplateV2Input) SetPageElementDTOList(v []*PageElementDTOListForCreateTemplateV2Input) *PageDTOListForCreateTemplateV2Input
- func (s *PageDTOListForCreateTemplateV2Input) SetPageLinkList(v []*PageLinkListForCreateTemplateV2Input) *PageDTOListForCreateTemplateV2Input
- func (s *PageDTOListForCreateTemplateV2Input) SetPageName(v string) *PageDTOListForCreateTemplateV2Input
- func (s *PageDTOListForCreateTemplateV2Input) SetPageType(v string) *PageDTOListForCreateTemplateV2Input
- func (s PageDTOListForCreateTemplateV2Input) String() string
- type PageDTOListForGetTemplateV2Output
- func (s PageDTOListForGetTemplateV2Output) GoString() string
- func (s *PageDTOListForGetTemplateV2Output) SetPageElementDTOList(v []*PageElementDTOListForGetTemplateV2Output) *PageDTOListForGetTemplateV2Output
- func (s *PageDTOListForGetTemplateV2Output) SetPageLinkList(v []*PageLinkListForGetTemplateV2Output) *PageDTOListForGetTemplateV2Output
- func (s *PageDTOListForGetTemplateV2Output) SetPageName(v string) *PageDTOListForGetTemplateV2Output
- func (s *PageDTOListForGetTemplateV2Output) SetPageType(v string) *PageDTOListForGetTemplateV2Output
- func (s PageDTOListForGetTemplateV2Output) String() string
- type PageElementDTOListForCreateTemplateV2Input
- func (s PageElementDTOListForCreateTemplateV2Input) GoString() string
- func (s *PageElementDTOListForCreateTemplateV2Input) SetElementStyle(v *ElementStyleForCreateTemplateV2Input) *PageElementDTOListForCreateTemplateV2Input
- func (s *PageElementDTOListForCreateTemplateV2Input) SetElementType(v string) *PageElementDTOListForCreateTemplateV2Input
- func (s *PageElementDTOListForCreateTemplateV2Input) SetOrderId(v int32) *PageElementDTOListForCreateTemplateV2Input
- func (s PageElementDTOListForCreateTemplateV2Input) String() string
- type PageElementDTOListForGetTemplateV2Output
- func (s PageElementDTOListForGetTemplateV2Output) GoString() string
- func (s *PageElementDTOListForGetTemplateV2Output) SetElementStyle(v *ElementStyleForGetTemplateV2Output) *PageElementDTOListForGetTemplateV2Output
- func (s *PageElementDTOListForGetTemplateV2Output) SetElementType(v string) *PageElementDTOListForGetTemplateV2Output
- func (s *PageElementDTOListForGetTemplateV2Output) SetOrderId(v int32) *PageElementDTOListForGetTemplateV2Output
- func (s PageElementDTOListForGetTemplateV2Output) String() string
- type PageLinkListForCreateTemplateV2Input
- func (s PageLinkListForCreateTemplateV2Input) GoString() string
- func (s *PageLinkListForCreateTemplateV2Input) SetAction(v *ActionForCreateTemplateV2Input) *PageLinkListForCreateTemplateV2Input
- func (s *PageLinkListForCreateTemplateV2Input) SetElementType(v string) *PageLinkListForCreateTemplateV2Input
- func (s *PageLinkListForCreateTemplateV2Input) SetLinkName(v string) *PageLinkListForCreateTemplateV2Input
- func (s *PageLinkListForCreateTemplateV2Input) SetLinkType(v string) *PageLinkListForCreateTemplateV2Input
- func (s *PageLinkListForCreateTemplateV2Input) SetOrderId(v int32) *PageLinkListForCreateTemplateV2Input
- func (s PageLinkListForCreateTemplateV2Input) String() string
- type PageLinkListForGetTemplateV2Output
- func (s PageLinkListForGetTemplateV2Output) GoString() string
- func (s *PageLinkListForGetTemplateV2Output) SetAction(v *ActionForGetTemplateV2Output) *PageLinkListForGetTemplateV2Output
- func (s *PageLinkListForGetTemplateV2Output) SetElementType(v string) *PageLinkListForGetTemplateV2Output
- func (s *PageLinkListForGetTemplateV2Output) SetLinkName(v string) *PageLinkListForGetTemplateV2Output
- func (s *PageLinkListForGetTemplateV2Output) SetLinkType(v string) *PageLinkListForGetTemplateV2Output
- func (s *PageLinkListForGetTemplateV2Output) SetOrderId(v int32) *PageLinkListForGetTemplateV2Output
- func (s PageLinkListForGetTemplateV2Output) String() string
- type PriorityForSendBatchMessageInput
- func (s PriorityForSendBatchMessageInput) GoString() string
- func (s *PriorityForSendBatchMessageInput) SetChannelType(v string) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetFailback(v string) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetFailed(v bool) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetLevel(v string) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetNoReceipt(v bool) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetSender(v string) *PriorityForSendBatchMessageInput
- func (s *PriorityForSendBatchMessageInput) SetTimeout(v int32) *PriorityForSendBatchMessageInput
- func (s PriorityForSendBatchMessageInput) String() string
- type PriorityForSendMessageInput
- func (s PriorityForSendMessageInput) GoString() string
- func (s *PriorityForSendMessageInput) SetChannelType(v string) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetFailback(v string) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetFailed(v bool) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetLevel(v string) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetNoReceipt(v bool) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetSender(v string) *PriorityForSendMessageInput
- func (s *PriorityForSendMessageInput) SetTimeout(v int32) *PriorityForSendMessageInput
- func (s PriorityForSendMessageInput) String() string
- type ReceiverForSendBatchMessageInput
- func (s ReceiverForSendBatchMessageInput) GoString() string
- func (s *ReceiverForSendBatchMessageInput) SetParams(v string) *ReceiverForSendBatchMessageInput
- func (s *ReceiverForSendBatchMessageInput) SetReceiver(v string) *ReceiverForSendBatchMessageInput
- func (s ReceiverForSendBatchMessageInput) String() string
- type SendBatchMessageInput
- func (s SendBatchMessageInput) GoString() string
- func (s *SendBatchMessageInput) SetLanguageCode(v string) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetPriority(v []*PriorityForSendBatchMessageInput) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetReceiver(v []*ReceiverForSendBatchMessageInput) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetSceneTemplateCode(v string) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetSid(v string) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetTag(v string) *SendBatchMessageInput
- func (s *SendBatchMessageInput) SetTaskName(v string) *SendBatchMessageInput
- func (s SendBatchMessageInput) String() string
- func (s *SendBatchMessageInput) Validate() error
- type SendBatchMessageOutput
- func (s SendBatchMessageOutput) GoString() string
- func (s *SendBatchMessageOutput) SetData(v *DataForSendBatchMessageOutput) *SendBatchMessageOutput
- func (s *SendBatchMessageOutput) SetMessage(v string) *SendBatchMessageOutput
- func (s *SendBatchMessageOutput) SetSuccess(v bool) *SendBatchMessageOutput
- func (s SendBatchMessageOutput) String() string
- type SendMessageInput
- func (s SendMessageInput) GoString() string
- func (s *SendMessageInput) SetLanguageCode(v string) *SendMessageInput
- func (s *SendMessageInput) SetParams(v string) *SendMessageInput
- func (s *SendMessageInput) SetPriority(v []*PriorityForSendMessageInput) *SendMessageInput
- func (s *SendMessageInput) SetReceiver(v string) *SendMessageInput
- func (s *SendMessageInput) SetSceneTemplateCode(v string) *SendMessageInput
- func (s *SendMessageInput) SetSid(v string) *SendMessageInput
- func (s *SendMessageInput) SetTag(v string) *SendMessageInput
- func (s SendMessageInput) String() string
- func (s *SendMessageInput) Validate() error
- type SendMessageOutput
- func (s SendMessageOutput) GoString() string
- func (s *SendMessageOutput) SetData(v *DataForSendMessageOutput) *SendMessageOutput
- func (s *SendMessageOutput) SetMessage(v string) *SendMessageOutput
- func (s *SendMessageOutput) SetSuccess(v bool) *SendMessageOutput
- func (s SendMessageOutput) String() string
- type TemplateButtonListForCreateTemplateV2Input
- func (s TemplateButtonListForCreateTemplateV2Input) GoString() string
- func (s *TemplateButtonListForCreateTemplateV2Input) SetAction(v *ActionForCreateTemplateV2Input) *TemplateButtonListForCreateTemplateV2Input
- func (s *TemplateButtonListForCreateTemplateV2Input) SetElementType(v string) *TemplateButtonListForCreateTemplateV2Input
- func (s *TemplateButtonListForCreateTemplateV2Input) SetLinkName(v string) *TemplateButtonListForCreateTemplateV2Input
- func (s *TemplateButtonListForCreateTemplateV2Input) SetLinkType(v string) *TemplateButtonListForCreateTemplateV2Input
- func (s *TemplateButtonListForCreateTemplateV2Input) SetOrderId(v int32) *TemplateButtonListForCreateTemplateV2Input
- func (s TemplateButtonListForCreateTemplateV2Input) String() string
- type TemplateButtonListForGetTemplateV2Output
- func (s TemplateButtonListForGetTemplateV2Output) GoString() string
- func (s *TemplateButtonListForGetTemplateV2Output) SetAction(v *ActionForGetTemplateV2Output) *TemplateButtonListForGetTemplateV2Output
- func (s *TemplateButtonListForGetTemplateV2Output) SetElementType(v string) *TemplateButtonListForGetTemplateV2Output
- func (s *TemplateButtonListForGetTemplateV2Output) SetLinkName(v string) *TemplateButtonListForGetTemplateV2Output
- func (s *TemplateButtonListForGetTemplateV2Output) SetLinkType(v string) *TemplateButtonListForGetTemplateV2Output
- func (s *TemplateButtonListForGetTemplateV2Output) SetOrderId(v int32) *TemplateButtonListForGetTemplateV2Output
- func (s TemplateButtonListForGetTemplateV2Output) String() string
- type TemplateListForCreateTemplateV2Input
- func (s TemplateListForCreateTemplateV2Input) GoString() string
- func (s *TemplateListForCreateTemplateV2Input) SetAuditStatus(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetBackground(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetCardButtonType(v []*string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetCardHeaderType(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetCarouselBody(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetFallbackLink(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetFormat(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetOriginalText(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetPageDTOList(v []*PageDTOListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetServiceNo(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetSubAccountId(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetTemplateButtonList(v []*TemplateButtonListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetTemplateType(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetUsage(v string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetVariablesDTOList(v []*VariablesDTOListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetVendors(v []*string) *TemplateListForCreateTemplateV2Input
- func (s *TemplateListForCreateTemplateV2Input) SetWhatsappCatagory(v string) *TemplateListForCreateTemplateV2Input
- func (s TemplateListForCreateTemplateV2Input) String() string
- type TemplateListForGetTemplateV2Output
- func (s TemplateListForGetTemplateV2Output) GoString() string
- func (s *TemplateListForGetTemplateV2Output) SetAuditStatus(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetBackground(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetCardButtonType(v []*string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetCardHeaderType(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetCarouselBody(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetFallbackLink(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetFormat(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetOriginalText(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetPageDTOList(v []*PageDTOListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetServiceNo(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetSubAccountId(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetTemplateButtonList(v []*TemplateButtonListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetTemplateType(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetUsage(v string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetVariablesDTOList(v []*VariablesDTOListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetVendors(v []*string) *TemplateListForGetTemplateV2Output
- func (s *TemplateListForGetTemplateV2Output) SetWhatsappCatagory(v string) *TemplateListForGetTemplateV2Output
- func (s TemplateListForGetTemplateV2Output) String() string
- type TemplateStatusForListTemplateV2Output
- func (s TemplateStatusForListTemplateV2Output) GoString() string
- func (s *TemplateStatusForListTemplateV2Output) SetAuditStatus(v string) *TemplateStatusForListTemplateV2Output
- func (s *TemplateStatusForListTemplateV2Output) SetReason(v string) *TemplateStatusForListTemplateV2Output
- func (s *TemplateStatusForListTemplateV2Output) SetServiceName(v string) *TemplateStatusForListTemplateV2Output
- func (s *TemplateStatusForListTemplateV2Output) SetServiceNo(v string) *TemplateStatusForListTemplateV2Output
- func (s *TemplateStatusForListTemplateV2Output) SetSubaccountId(v string) *TemplateStatusForListTemplateV2Output
- func (s *TemplateStatusForListTemplateV2Output) SetTemplateType(v string) *TemplateStatusForListTemplateV2Output
- func (s TemplateStatusForListTemplateV2Output) String() string
- type VariablesDTOListForCreateTemplateV2Input
- func (s VariablesDTOListForCreateTemplateV2Input) GoString() string
- func (s *VariablesDTOListForCreateTemplateV2Input) SetDefaultValue(v string) *VariablesDTOListForCreateTemplateV2Input
- func (s *VariablesDTOListForCreateTemplateV2Input) SetFormat(v string) *VariablesDTOListForCreateTemplateV2Input
- func (s *VariablesDTOListForCreateTemplateV2Input) SetUniqueVariableCode(v string) *VariablesDTOListForCreateTemplateV2Input
- func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableCode(v string) *VariablesDTOListForCreateTemplateV2Input
- func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableLength(v int32) *VariablesDTOListForCreateTemplateV2Input
- func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableName(v string) *VariablesDTOListForCreateTemplateV2Input
- func (s VariablesDTOListForCreateTemplateV2Input) String() string
- type VariablesDTOListForGetTemplateV2Output
- func (s VariablesDTOListForGetTemplateV2Output) GoString() string
- func (s *VariablesDTOListForGetTemplateV2Output) SetDefaultValue(v string) *VariablesDTOListForGetTemplateV2Output
- func (s *VariablesDTOListForGetTemplateV2Output) SetFormat(v string) *VariablesDTOListForGetTemplateV2Output
- func (s *VariablesDTOListForGetTemplateV2Output) SetUniqueVariableCode(v string) *VariablesDTOListForGetTemplateV2Output
- func (s *VariablesDTOListForGetTemplateV2Output) SetVariableCode(v string) *VariablesDTOListForGetTemplateV2Output
- func (s *VariablesDTOListForGetTemplateV2Output) SetVariableLength(v int32) *VariablesDTOListForGetTemplateV2Output
- func (s *VariablesDTOListForGetTemplateV2Output) SetVariableName(v string) *VariablesDTOListForGetTemplateV2Output
- func (s VariablesDTOListForGetTemplateV2Output) String() string
Constants ¶
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 ¶
func (s ActionForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*ActionForCreateTemplateV2Input) SetAction ¶
func (s *ActionForCreateTemplateV2Input) SetAction(v string) *ActionForCreateTemplateV2Input
SetAction sets the Action field's value.
func (*ActionForCreateTemplateV2Input) SetEventName ¶
func (s *ActionForCreateTemplateV2Input) SetEventName(v string) *ActionForCreateTemplateV2Input
SetEventName sets the EventName field's value.
func (*ActionForCreateTemplateV2Input) SetEventType ¶
func (s *ActionForCreateTemplateV2Input) SetEventType(v string) *ActionForCreateTemplateV2Input
SetEventType sets the EventType field's value.
func (*ActionForCreateTemplateV2Input) SetExtendAttrs ¶
func (s *ActionForCreateTemplateV2Input) SetExtendAttrs(v *ExtendAttrsForCreateTemplateV2Input) *ActionForCreateTemplateV2Input
SetExtendAttrs sets the ExtendAttrs field's value.
func (ActionForCreateTemplateV2Input) String ¶
func (s ActionForCreateTemplateV2Input) String() 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 ¶
func (s *ActionForGetTemplateV2Output) SetAction(v string) *ActionForGetTemplateV2Output
SetAction sets the Action field's value.
func (*ActionForGetTemplateV2Output) SetEventName ¶
func (s *ActionForGetTemplateV2Output) SetEventName(v string) *ActionForGetTemplateV2Output
SetEventName sets the EventName field's value.
func (*ActionForGetTemplateV2Output) SetEventType ¶
func (s *ActionForGetTemplateV2Output) SetEventType(v string) *ActionForGetTemplateV2Output
SetEventType sets the EventType field's value.
func (*ActionForGetTemplateV2Output) SetExtendAttrs ¶
func (s *ActionForGetTemplateV2Output) SetExtendAttrs(v *ExtendAttrsForGetTemplateV2Output) *ActionForGetTemplateV2Output
SetExtendAttrs sets the ExtendAttrs field's value.
func (ActionForGetTemplateV2Output) String ¶
func (s ActionForGetTemplateV2Output) String() string
String returns the string representation
type CPAAS ¶
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 ¶
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 ¶
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 ¶
func (s *CreateTemplateV2Input) SetLanguage(v string) *CreateTemplateV2Input
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
func (s *CreateTemplateV2Input) SetSendAudit(v string) *CreateTemplateV2Input
SetSendAudit sets the SendAudit field's value.
func (*CreateTemplateV2Input) SetSignature ¶
func (s *CreateTemplateV2Input) SetSignature(v string) *CreateTemplateV2Input
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 ¶
func (s *CreateTemplateV2Input) SetTemplateList(v []*TemplateListForCreateTemplateV2Input) *CreateTemplateV2Input
SetTemplateList sets the TemplateList field's value.
func (*CreateTemplateV2Input) SetWabaId ¶
func (s *CreateTemplateV2Input) SetWabaId(v string) *CreateTemplateV2Input
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 ¶
func (s *CreateTemplateV2Output) SetData(v *DataForCreateTemplateV2Output) *CreateTemplateV2Output
SetData sets the Data field's value.
func (*CreateTemplateV2Output) SetMessage ¶
func (s *CreateTemplateV2Output) SetMessage(v string) *CreateTemplateV2Output
SetMessage sets the Message field's value.
func (*CreateTemplateV2Output) SetSuccess ¶
func (s *CreateTemplateV2Output) SetSuccess(v bool) *CreateTemplateV2Output
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 ¶
func (s DataForCreateTemplateV2Output) GoString() string
GoString returns the string representation
func (*DataForCreateTemplateV2Output) SetSceneTemplateCode ¶
func (s *DataForCreateTemplateV2Output) SetSceneTemplateCode(v string) *DataForCreateTemplateV2Output
SetSceneTemplateCode sets the SceneTemplateCode field's value.
func (*DataForCreateTemplateV2Output) SetSceneTemplateName ¶
func (s *DataForCreateTemplateV2Output) SetSceneTemplateName(v string) *DataForCreateTemplateV2Output
SetSceneTemplateName sets the SceneTemplateName field's value.
func (DataForCreateTemplateV2Output) String ¶
func (s DataForCreateTemplateV2Output) String() 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 ¶
func (s *DataForGetTemplateV2Output) SetBusinessType(v string) *DataForGetTemplateV2Output
SetBusinessType sets the BusinessType field's value.
func (*DataForGetTemplateV2Output) SetEnabledShortUrl ¶ added in v1.0.72
func (s *DataForGetTemplateV2Output) SetEnabledShortUrl(v string) *DataForGetTemplateV2Output
SetEnabledShortUrl sets the EnabledShortUrl field's value.
func (*DataForGetTemplateV2Output) SetGmtCreate ¶ added in v1.0.72
func (s *DataForGetTemplateV2Output) SetGmtCreate(v int64) *DataForGetTemplateV2Output
SetGmtCreate sets the GmtCreate field's value.
func (*DataForGetTemplateV2Output) SetGmtModifier ¶ added in v1.0.72
func (s *DataForGetTemplateV2Output) SetGmtModifier(v int64) *DataForGetTemplateV2Output
SetGmtModifier sets the GmtModifier field's value.
func (*DataForGetTemplateV2Output) SetLanguageCode ¶
func (s *DataForGetTemplateV2Output) SetLanguageCode(v string) *DataForGetTemplateV2Output
SetLanguageCode sets the LanguageCode field's value.
func (*DataForGetTemplateV2Output) SetLanguageName ¶
func (s *DataForGetTemplateV2Output) SetLanguageName(v string) *DataForGetTemplateV2Output
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 ¶
func (s *DataForGetTemplateV2Output) SetTemplateList(v []*TemplateListForGetTemplateV2Output) *DataForGetTemplateV2Output
SetTemplateList sets the TemplateList field's value.
func (DataForGetTemplateV2Output) String ¶
func (s DataForGetTemplateV2Output) String() 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 ¶
func (s *DataForListTemplateV2Output) SetBusinessType(v string) *DataForListTemplateV2Output
SetBusinessType sets the BusinessType field's value.
func (*DataForListTemplateV2Output) SetCreateTime ¶
func (s *DataForListTemplateV2Output) SetCreateTime(v int64) *DataForListTemplateV2Output
SetCreateTime sets the CreateTime field's value.
func (*DataForListTemplateV2Output) SetGmtCreate ¶
func (s *DataForListTemplateV2Output) SetGmtCreate(v int64) *DataForListTemplateV2Output
SetGmtCreate sets the GmtCreate field's value.
func (*DataForListTemplateV2Output) SetGmtModifier ¶
func (s *DataForListTemplateV2Output) SetGmtModifier(v int64) *DataForListTemplateV2Output
SetGmtModifier sets the GmtModifier field's value.
func (*DataForListTemplateV2Output) SetLanguageCode ¶
func (s *DataForListTemplateV2Output) SetLanguageCode(v string) *DataForListTemplateV2Output
SetLanguageCode sets the LanguageCode field's value.
func (*DataForListTemplateV2Output) SetSceneTemplateCode ¶
func (s *DataForListTemplateV2Output) SetSceneTemplateCode(v string) *DataForListTemplateV2Output
SetSceneTemplateCode sets the SceneTemplateCode field's value.
func (*DataForListTemplateV2Output) SetSceneTemplateName ¶
func (s *DataForListTemplateV2Output) SetSceneTemplateName(v string) *DataForListTemplateV2Output
SetSceneTemplateName sets the SceneTemplateName field's value.
func (*DataForListTemplateV2Output) SetTemplateStatuses ¶
func (s *DataForListTemplateV2Output) SetTemplateStatuses(v []*TemplateStatusForListTemplateV2Output) *DataForListTemplateV2Output
SetTemplateStatuses sets the TemplateStatuses field's value.
func (DataForListTemplateV2Output) String ¶
func (s DataForListTemplateV2Output) String() 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 ¶
func (s DataForSendBatchMessageOutput) GoString() string
GoString returns the string representation
func (*DataForSendBatchMessageOutput) SetMessageId ¶
func (s *DataForSendBatchMessageOutput) SetMessageId(v string) *DataForSendBatchMessageOutput
SetMessageId sets the MessageId field's value.
func (DataForSendBatchMessageOutput) String ¶
func (s DataForSendBatchMessageOutput) String() 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 ¶
func (s *DataForSendMessageOutput) SetMessageId(v string) *DataForSendMessageOutput
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 ¶
func (s ElementStyleForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*ElementStyleForCreateTemplateV2Input) SetDeeplink ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetDeeplink(v string) *ElementStyleForCreateTemplateV2Input
SetDeeplink sets the Deeplink field's value.
func (*ElementStyleForCreateTemplateV2Input) SetElementType ¶
func (s *ElementStyleForCreateTemplateV2Input) SetElementType(v string) *ElementStyleForCreateTemplateV2Input
SetElementType sets the ElementType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetExpiresTime ¶
func (s *ElementStyleForCreateTemplateV2Input) SetExpiresTime(v int32) *ElementStyleForCreateTemplateV2Input
SetExpiresTime sets the ExpiresTime field's value.
func (*ElementStyleForCreateTemplateV2Input) SetHasExpires ¶
func (s *ElementStyleForCreateTemplateV2Input) SetHasExpires(v bool) *ElementStyleForCreateTemplateV2Input
SetHasExpires sets the HasExpires field's value.
func (*ElementStyleForCreateTemplateV2Input) SetHasSecurity ¶
func (s *ElementStyleForCreateTemplateV2Input) SetHasSecurity(v bool) *ElementStyleForCreateTemplateV2Input
SetHasSecurity sets the HasSecurity field's value.
func (*ElementStyleForCreateTemplateV2Input) SetImageJumpType ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetImageJumpType(v string) *ElementStyleForCreateTemplateV2Input
SetImageJumpType sets the ImageJumpType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetImageLink ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetImageLink(v string) *ElementStyleForCreateTemplateV2Input
SetImageLink sets the ImageLink field's value.
func (*ElementStyleForCreateTemplateV2Input) SetItems ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetItems(v []*ItemForCreateTemplateV2Input) *ElementStyleForCreateTemplateV2Input
SetItems sets the Items field's value.
func (*ElementStyleForCreateTemplateV2Input) SetPackageName ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetPackageName(v string) *ElementStyleForCreateTemplateV2Input
SetPackageName sets the PackageName field's value.
func (*ElementStyleForCreateTemplateV2Input) SetParamLeft ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetParamLeft(v string) *ElementStyleForCreateTemplateV2Input
SetParamLeft sets the ParamLeft field's value.
func (*ElementStyleForCreateTemplateV2Input) SetParamRight ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetParamRight(v string) *ElementStyleForCreateTemplateV2Input
SetParamRight sets the ParamRight field's value.
func (*ElementStyleForCreateTemplateV2Input) SetRealContent ¶
func (s *ElementStyleForCreateTemplateV2Input) SetRealContent(v string) *ElementStyleForCreateTemplateV2Input
SetRealContent sets the RealContent field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceCode ¶
func (s *ElementStyleForCreateTemplateV2Input) SetResourceCode(v string) *ElementStyleForCreateTemplateV2Input
SetResourceCode sets the ResourceCode field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceContentType ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetResourceContentType(v string) *ElementStyleForCreateTemplateV2Input
SetResourceContentType sets the ResourceContentType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceName ¶
func (s *ElementStyleForCreateTemplateV2Input) SetResourceName(v string) *ElementStyleForCreateTemplateV2Input
SetResourceName sets the ResourceName field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceSize ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetResourceSize(v int32) *ElementStyleForCreateTemplateV2Input
SetResourceSize sets the ResourceSize field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceThumbImageUrl ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetResourceThumbImageUrl(v string) *ElementStyleForCreateTemplateV2Input
SetResourceThumbImageUrl sets the ResourceThumbImageUrl field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceType ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetResourceType(v string) *ElementStyleForCreateTemplateV2Input
SetResourceType sets the ResourceType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetResourceUrl ¶
func (s *ElementStyleForCreateTemplateV2Input) SetResourceUrl(v string) *ElementStyleForCreateTemplateV2Input
SetResourceUrl sets the ResourceUrl field's value.
func (*ElementStyleForCreateTemplateV2Input) SetSubText ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetSubText(v string) *ElementStyleForCreateTemplateV2Input
SetSubText sets the SubText field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbContentType ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbContentType(v string) *ElementStyleForCreateTemplateV2Input
SetThumbContentType sets the ThumbContentType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbImageFileSize ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbImageFileSize(v int32) *ElementStyleForCreateTemplateV2Input
SetThumbImageFileSize sets the ThumbImageFileSize field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbImageUrl ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbImageUrl(v string) *ElementStyleForCreateTemplateV2Input
SetThumbImageUrl sets the ThumbImageUrl field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceContentType ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceContentType(v string) *ElementStyleForCreateTemplateV2Input
SetThumbnailResourceContentType sets the ThumbnailResourceContentType field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceName ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceName(v string) *ElementStyleForCreateTemplateV2Input
SetThumbnailResourceName sets the ThumbnailResourceName field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbnailResourceSize ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailResourceSize(v int32) *ElementStyleForCreateTemplateV2Input
SetThumbnailResourceSize sets the ThumbnailResourceSize field's value.
func (*ElementStyleForCreateTemplateV2Input) SetThumbnailUrl ¶ added in v1.0.72
func (s *ElementStyleForCreateTemplateV2Input) SetThumbnailUrl(v string) *ElementStyleForCreateTemplateV2Input
SetThumbnailUrl sets the ThumbnailUrl field's value.
func (ElementStyleForCreateTemplateV2Input) String ¶
func (s ElementStyleForCreateTemplateV2Input) String() 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 ¶
func (s ElementStyleForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*ElementStyleForGetTemplateV2Output) SetDeeplink ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetDeeplink(v string) *ElementStyleForGetTemplateV2Output
SetDeeplink sets the Deeplink field's value.
func (*ElementStyleForGetTemplateV2Output) SetElementType ¶
func (s *ElementStyleForGetTemplateV2Output) SetElementType(v string) *ElementStyleForGetTemplateV2Output
SetElementType sets the ElementType field's value.
func (*ElementStyleForGetTemplateV2Output) SetExpiresTime ¶
func (s *ElementStyleForGetTemplateV2Output) SetExpiresTime(v int32) *ElementStyleForGetTemplateV2Output
SetExpiresTime sets the ExpiresTime field's value.
func (*ElementStyleForGetTemplateV2Output) SetHasExpires ¶
func (s *ElementStyleForGetTemplateV2Output) SetHasExpires(v bool) *ElementStyleForGetTemplateV2Output
SetHasExpires sets the HasExpires field's value.
func (*ElementStyleForGetTemplateV2Output) SetHasSecurity ¶
func (s *ElementStyleForGetTemplateV2Output) SetHasSecurity(v bool) *ElementStyleForGetTemplateV2Output
SetHasSecurity sets the HasSecurity field's value.
func (*ElementStyleForGetTemplateV2Output) SetImageJumpType ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetImageJumpType(v string) *ElementStyleForGetTemplateV2Output
SetImageJumpType sets the ImageJumpType field's value.
func (*ElementStyleForGetTemplateV2Output) SetImageLink ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetImageLink(v string) *ElementStyleForGetTemplateV2Output
SetImageLink sets the ImageLink field's value.
func (*ElementStyleForGetTemplateV2Output) SetItems ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetItems(v []*ItemForGetTemplateV2Output) *ElementStyleForGetTemplateV2Output
SetItems sets the Items field's value.
func (*ElementStyleForGetTemplateV2Output) SetPackageName ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetPackageName(v string) *ElementStyleForGetTemplateV2Output
SetPackageName sets the PackageName field's value.
func (*ElementStyleForGetTemplateV2Output) SetParamLeft ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetParamLeft(v string) *ElementStyleForGetTemplateV2Output
SetParamLeft sets the ParamLeft field's value.
func (*ElementStyleForGetTemplateV2Output) SetParamRight ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetParamRight(v string) *ElementStyleForGetTemplateV2Output
SetParamRight sets the ParamRight field's value.
func (*ElementStyleForGetTemplateV2Output) SetRealContent ¶
func (s *ElementStyleForGetTemplateV2Output) SetRealContent(v string) *ElementStyleForGetTemplateV2Output
SetRealContent sets the RealContent field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceCode ¶
func (s *ElementStyleForGetTemplateV2Output) SetResourceCode(v string) *ElementStyleForGetTemplateV2Output
SetResourceCode sets the ResourceCode field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceContentType ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetResourceContentType(v string) *ElementStyleForGetTemplateV2Output
SetResourceContentType sets the ResourceContentType field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceName ¶
func (s *ElementStyleForGetTemplateV2Output) SetResourceName(v string) *ElementStyleForGetTemplateV2Output
SetResourceName sets the ResourceName field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceSize ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetResourceSize(v int32) *ElementStyleForGetTemplateV2Output
SetResourceSize sets the ResourceSize field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceThumbImageUrl ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetResourceThumbImageUrl(v string) *ElementStyleForGetTemplateV2Output
SetResourceThumbImageUrl sets the ResourceThumbImageUrl field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceType ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetResourceType(v string) *ElementStyleForGetTemplateV2Output
SetResourceType sets the ResourceType field's value.
func (*ElementStyleForGetTemplateV2Output) SetResourceUrl ¶
func (s *ElementStyleForGetTemplateV2Output) SetResourceUrl(v string) *ElementStyleForGetTemplateV2Output
SetResourceUrl sets the ResourceUrl field's value.
func (*ElementStyleForGetTemplateV2Output) SetSubText ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetSubText(v string) *ElementStyleForGetTemplateV2Output
SetSubText sets the SubText field's value.
func (*ElementStyleForGetTemplateV2Output) SetThumbContentType ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetThumbContentType(v string) *ElementStyleForGetTemplateV2Output
SetThumbContentType sets the ThumbContentType field's value.
func (*ElementStyleForGetTemplateV2Output) SetThumbImageFileSize ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetThumbImageFileSize(v int32) *ElementStyleForGetTemplateV2Output
SetThumbImageFileSize sets the ThumbImageFileSize field's value.
func (*ElementStyleForGetTemplateV2Output) SetThumbImageUrl ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetThumbImageUrl(v string) *ElementStyleForGetTemplateV2Output
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
func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceName(v string) *ElementStyleForGetTemplateV2Output
SetThumbnailResourceName sets the ThumbnailResourceName field's value.
func (*ElementStyleForGetTemplateV2Output) SetThumbnailResourceSize ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetThumbnailResourceSize(v int32) *ElementStyleForGetTemplateV2Output
SetThumbnailResourceSize sets the ThumbnailResourceSize field's value.
func (*ElementStyleForGetTemplateV2Output) SetThumbnailUrl ¶ added in v1.0.72
func (s *ElementStyleForGetTemplateV2Output) SetThumbnailUrl(v string) *ElementStyleForGetTemplateV2Output
SetThumbnailUrl sets the ThumbnailUrl field's value.
func (ElementStyleForGetTemplateV2Output) String ¶
func (s ElementStyleForGetTemplateV2Output) String() 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 ¶
func (s ExtendAttrsForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*ExtendAttrsForCreateTemplateV2Input) SetCouponCode ¶
func (s *ExtendAttrsForCreateTemplateV2Input) SetCouponCode(v string) *ExtendAttrsForCreateTemplateV2Input
SetCouponCode sets the CouponCode field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetCreateFrom ¶ added in v1.0.72
func (s *ExtendAttrsForCreateTemplateV2Input) SetCreateFrom(v string) *ExtendAttrsForCreateTemplateV2Input
SetCreateFrom sets the CreateFrom field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetPhoneNumber ¶
func (s *ExtendAttrsForCreateTemplateV2Input) SetPhoneNumber(v string) *ExtendAttrsForCreateTemplateV2Input
SetPhoneNumber sets the PhoneNumber field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetPhoneType ¶ added in v1.0.72
func (s *ExtendAttrsForCreateTemplateV2Input) SetPhoneType(v string) *ExtendAttrsForCreateTemplateV2Input
SetPhoneType sets the PhoneType field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetTerminalOpenType ¶ added in v1.0.72
func (s *ExtendAttrsForCreateTemplateV2Input) SetTerminalOpenType(v string) *ExtendAttrsForCreateTemplateV2Input
SetTerminalOpenType sets the TerminalOpenType field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetVariable ¶
func (s *ExtendAttrsForCreateTemplateV2Input) SetVariable(v string) *ExtendAttrsForCreateTemplateV2Input
SetVariable sets the Variable field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrl ¶
func (s *ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrl(v string) *ExtendAttrsForCreateTemplateV2Input
SetWebsiteUrl sets the WebsiteUrl field's value.
func (*ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrlType ¶
func (s *ExtendAttrsForCreateTemplateV2Input) SetWebsiteUrlType(v string) *ExtendAttrsForCreateTemplateV2Input
SetWebsiteUrlType sets the WebsiteUrlType field's value.
func (ExtendAttrsForCreateTemplateV2Input) String ¶
func (s ExtendAttrsForCreateTemplateV2Input) String() 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 ¶
func (s ExtendAttrsForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*ExtendAttrsForGetTemplateV2Output) SetCouponCode ¶
func (s *ExtendAttrsForGetTemplateV2Output) SetCouponCode(v string) *ExtendAttrsForGetTemplateV2Output
SetCouponCode sets the CouponCode field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetCreateFrom ¶ added in v1.0.72
func (s *ExtendAttrsForGetTemplateV2Output) SetCreateFrom(v string) *ExtendAttrsForGetTemplateV2Output
SetCreateFrom sets the CreateFrom field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetPhoneNumber ¶
func (s *ExtendAttrsForGetTemplateV2Output) SetPhoneNumber(v string) *ExtendAttrsForGetTemplateV2Output
SetPhoneNumber sets the PhoneNumber field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetPhoneType ¶ added in v1.0.72
func (s *ExtendAttrsForGetTemplateV2Output) SetPhoneType(v string) *ExtendAttrsForGetTemplateV2Output
SetPhoneType sets the PhoneType field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetTerminalOpenType ¶ added in v1.0.72
func (s *ExtendAttrsForGetTemplateV2Output) SetTerminalOpenType(v string) *ExtendAttrsForGetTemplateV2Output
SetTerminalOpenType sets the TerminalOpenType field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetVariable ¶
func (s *ExtendAttrsForGetTemplateV2Output) SetVariable(v string) *ExtendAttrsForGetTemplateV2Output
SetVariable sets the Variable field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetWebsiteUrl ¶
func (s *ExtendAttrsForGetTemplateV2Output) SetWebsiteUrl(v string) *ExtendAttrsForGetTemplateV2Output
SetWebsiteUrl sets the WebsiteUrl field's value.
func (*ExtendAttrsForGetTemplateV2Output) SetWebsiteUrlType ¶
func (s *ExtendAttrsForGetTemplateV2Output) SetWebsiteUrlType(v string) *ExtendAttrsForGetTemplateV2Output
SetWebsiteUrlType sets the WebsiteUrlType field's value.
func (ExtendAttrsForGetTemplateV2Output) String ¶
func (s ExtendAttrsForGetTemplateV2Output) String() 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 ¶
func (s *GetTemplateV2Output) SetData(v *DataForGetTemplateV2Output) *GetTemplateV2Output
SetData sets the Data field's value.
func (*GetTemplateV2Output) SetMessage ¶
func (s *GetTemplateV2Output) SetMessage(v string) *GetTemplateV2Output
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 ¶
func (s *GetTemplateV2Output) SetTotal(v int32) *GetTemplateV2Output
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
func (s *ItemForCreateTemplateV2Input) SetParamLeft(v string) *ItemForCreateTemplateV2Input
SetParamLeft sets the ParamLeft field's value.
func (*ItemForCreateTemplateV2Input) SetParamRight ¶ added in v1.0.72
func (s *ItemForCreateTemplateV2Input) SetParamRight(v string) *ItemForCreateTemplateV2Input
SetParamRight sets the ParamRight field's value.
func (ItemForCreateTemplateV2Input) String ¶ added in v1.0.72
func (s ItemForCreateTemplateV2Input) String() string
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
func (s *ItemForGetTemplateV2Output) SetParamLeft(v string) *ItemForGetTemplateV2Output
SetParamLeft sets the ParamLeft field's value.
func (*ItemForGetTemplateV2Output) SetParamRight ¶ added in v1.0.72
func (s *ItemForGetTemplateV2Output) SetParamRight(v string) *ItemForGetTemplateV2Output
SetParamRight sets the ParamRight field's value.
func (ItemForGetTemplateV2Output) String ¶ added in v1.0.72
func (s ItemForGetTemplateV2Output) String() string
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 ¶
func (s *ListTemplateV2Input) SetFilter(v string) *ListTemplateV2Input
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 ¶
func (s *ListTemplateV2Output) SetData(v []*DataForListTemplateV2Output) *ListTemplateV2Output
SetData sets the Data field's value.
func (*ListTemplateV2Output) SetMessage ¶
func (s *ListTemplateV2Output) SetMessage(v string) *ListTemplateV2Output
SetMessage sets the Message field's value.
func (*ListTemplateV2Output) SetSuccess ¶
func (s *ListTemplateV2Output) SetSuccess(v bool) *ListTemplateV2Output
SetSuccess sets the Success field's value.
func (*ListTemplateV2Output) SetTotal ¶
func (s *ListTemplateV2Output) SetTotal(v int32) *ListTemplateV2Output
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 ¶
func (s PageDTOListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*PageDTOListForCreateTemplateV2Input) SetPageElementDTOList ¶
func (s *PageDTOListForCreateTemplateV2Input) SetPageElementDTOList(v []*PageElementDTOListForCreateTemplateV2Input) *PageDTOListForCreateTemplateV2Input
SetPageElementDTOList sets the PageElementDTOList field's value.
func (*PageDTOListForCreateTemplateV2Input) SetPageLinkList ¶
func (s *PageDTOListForCreateTemplateV2Input) SetPageLinkList(v []*PageLinkListForCreateTemplateV2Input) *PageDTOListForCreateTemplateV2Input
SetPageLinkList sets the PageLinkList field's value.
func (*PageDTOListForCreateTemplateV2Input) SetPageName ¶
func (s *PageDTOListForCreateTemplateV2Input) SetPageName(v string) *PageDTOListForCreateTemplateV2Input
SetPageName sets the PageName field's value.
func (*PageDTOListForCreateTemplateV2Input) SetPageType ¶ added in v1.0.72
func (s *PageDTOListForCreateTemplateV2Input) SetPageType(v string) *PageDTOListForCreateTemplateV2Input
SetPageType sets the PageType field's value.
func (PageDTOListForCreateTemplateV2Input) String ¶
func (s PageDTOListForCreateTemplateV2Input) String() 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 ¶
func (s PageDTOListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*PageDTOListForGetTemplateV2Output) SetPageElementDTOList ¶
func (s *PageDTOListForGetTemplateV2Output) SetPageElementDTOList(v []*PageElementDTOListForGetTemplateV2Output) *PageDTOListForGetTemplateV2Output
SetPageElementDTOList sets the PageElementDTOList field's value.
func (*PageDTOListForGetTemplateV2Output) SetPageLinkList ¶
func (s *PageDTOListForGetTemplateV2Output) SetPageLinkList(v []*PageLinkListForGetTemplateV2Output) *PageDTOListForGetTemplateV2Output
SetPageLinkList sets the PageLinkList field's value.
func (*PageDTOListForGetTemplateV2Output) SetPageName ¶
func (s *PageDTOListForGetTemplateV2Output) SetPageName(v string) *PageDTOListForGetTemplateV2Output
SetPageName sets the PageName field's value.
func (*PageDTOListForGetTemplateV2Output) SetPageType ¶ added in v1.0.72
func (s *PageDTOListForGetTemplateV2Output) SetPageType(v string) *PageDTOListForGetTemplateV2Output
SetPageType sets the PageType field's value.
func (PageDTOListForGetTemplateV2Output) String ¶
func (s PageDTOListForGetTemplateV2Output) String() 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 ¶
func (s PageElementDTOListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*PageElementDTOListForCreateTemplateV2Input) SetElementStyle ¶
func (s *PageElementDTOListForCreateTemplateV2Input) SetElementStyle(v *ElementStyleForCreateTemplateV2Input) *PageElementDTOListForCreateTemplateV2Input
SetElementStyle sets the ElementStyle field's value.
func (*PageElementDTOListForCreateTemplateV2Input) SetElementType ¶
func (s *PageElementDTOListForCreateTemplateV2Input) SetElementType(v string) *PageElementDTOListForCreateTemplateV2Input
SetElementType sets the ElementType field's value.
func (*PageElementDTOListForCreateTemplateV2Input) SetOrderId ¶ added in v1.0.72
func (s *PageElementDTOListForCreateTemplateV2Input) SetOrderId(v int32) *PageElementDTOListForCreateTemplateV2Input
SetOrderId sets the OrderId field's value.
func (PageElementDTOListForCreateTemplateV2Input) String ¶
func (s PageElementDTOListForCreateTemplateV2Input) String() 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 ¶
func (s PageElementDTOListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*PageElementDTOListForGetTemplateV2Output) SetElementStyle ¶
func (s *PageElementDTOListForGetTemplateV2Output) SetElementStyle(v *ElementStyleForGetTemplateV2Output) *PageElementDTOListForGetTemplateV2Output
SetElementStyle sets the ElementStyle field's value.
func (*PageElementDTOListForGetTemplateV2Output) SetElementType ¶
func (s *PageElementDTOListForGetTemplateV2Output) SetElementType(v string) *PageElementDTOListForGetTemplateV2Output
SetElementType sets the ElementType field's value.
func (*PageElementDTOListForGetTemplateV2Output) SetOrderId ¶ added in v1.0.72
func (s *PageElementDTOListForGetTemplateV2Output) SetOrderId(v int32) *PageElementDTOListForGetTemplateV2Output
SetOrderId sets the OrderId field's value.
func (PageElementDTOListForGetTemplateV2Output) String ¶
func (s PageElementDTOListForGetTemplateV2Output) String() 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 ¶
func (s PageLinkListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*PageLinkListForCreateTemplateV2Input) SetAction ¶
func (s *PageLinkListForCreateTemplateV2Input) SetAction(v *ActionForCreateTemplateV2Input) *PageLinkListForCreateTemplateV2Input
SetAction sets the Action field's value.
func (*PageLinkListForCreateTemplateV2Input) SetElementType ¶
func (s *PageLinkListForCreateTemplateV2Input) SetElementType(v string) *PageLinkListForCreateTemplateV2Input
SetElementType sets the ElementType field's value.
func (*PageLinkListForCreateTemplateV2Input) SetLinkName ¶
func (s *PageLinkListForCreateTemplateV2Input) SetLinkName(v string) *PageLinkListForCreateTemplateV2Input
SetLinkName sets the LinkName field's value.
func (*PageLinkListForCreateTemplateV2Input) SetLinkType ¶
func (s *PageLinkListForCreateTemplateV2Input) SetLinkType(v string) *PageLinkListForCreateTemplateV2Input
SetLinkType sets the LinkType field's value.
func (*PageLinkListForCreateTemplateV2Input) SetOrderId ¶
func (s *PageLinkListForCreateTemplateV2Input) SetOrderId(v int32) *PageLinkListForCreateTemplateV2Input
SetOrderId sets the OrderId field's value.
func (PageLinkListForCreateTemplateV2Input) String ¶
func (s PageLinkListForCreateTemplateV2Input) String() 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 ¶
func (s PageLinkListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*PageLinkListForGetTemplateV2Output) SetAction ¶
func (s *PageLinkListForGetTemplateV2Output) SetAction(v *ActionForGetTemplateV2Output) *PageLinkListForGetTemplateV2Output
SetAction sets the Action field's value.
func (*PageLinkListForGetTemplateV2Output) SetElementType ¶
func (s *PageLinkListForGetTemplateV2Output) SetElementType(v string) *PageLinkListForGetTemplateV2Output
SetElementType sets the ElementType field's value.
func (*PageLinkListForGetTemplateV2Output) SetLinkName ¶
func (s *PageLinkListForGetTemplateV2Output) SetLinkName(v string) *PageLinkListForGetTemplateV2Output
SetLinkName sets the LinkName field's value.
func (*PageLinkListForGetTemplateV2Output) SetLinkType ¶
func (s *PageLinkListForGetTemplateV2Output) SetLinkType(v string) *PageLinkListForGetTemplateV2Output
SetLinkType sets the LinkType field's value.
func (*PageLinkListForGetTemplateV2Output) SetOrderId ¶
func (s *PageLinkListForGetTemplateV2Output) SetOrderId(v int32) *PageLinkListForGetTemplateV2Output
SetOrderId sets the OrderId field's value.
func (PageLinkListForGetTemplateV2Output) String ¶
func (s PageLinkListForGetTemplateV2Output) String() 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 ¶
func (s PriorityForSendBatchMessageInput) GoString() string
GoString returns the string representation
func (*PriorityForSendBatchMessageInput) SetChannelType ¶
func (s *PriorityForSendBatchMessageInput) SetChannelType(v string) *PriorityForSendBatchMessageInput
SetChannelType sets the ChannelType field's value.
func (*PriorityForSendBatchMessageInput) SetFailback ¶
func (s *PriorityForSendBatchMessageInput) SetFailback(v string) *PriorityForSendBatchMessageInput
SetFailback sets the Failback field's value.
func (*PriorityForSendBatchMessageInput) SetFailed ¶
func (s *PriorityForSendBatchMessageInput) SetFailed(v bool) *PriorityForSendBatchMessageInput
SetFailed sets the Failed field's value.
func (*PriorityForSendBatchMessageInput) SetLevel ¶
func (s *PriorityForSendBatchMessageInput) SetLevel(v string) *PriorityForSendBatchMessageInput
SetLevel sets the Level field's value.
func (*PriorityForSendBatchMessageInput) SetNoReceipt ¶
func (s *PriorityForSendBatchMessageInput) SetNoReceipt(v bool) *PriorityForSendBatchMessageInput
SetNoReceipt sets the NoReceipt field's value.
func (*PriorityForSendBatchMessageInput) SetSender ¶
func (s *PriorityForSendBatchMessageInput) SetSender(v string) *PriorityForSendBatchMessageInput
SetSender sets the Sender field's value.
func (*PriorityForSendBatchMessageInput) SetTimeout ¶
func (s *PriorityForSendBatchMessageInput) SetTimeout(v int32) *PriorityForSendBatchMessageInput
SetTimeout sets the Timeout field's value.
func (PriorityForSendBatchMessageInput) String ¶
func (s PriorityForSendBatchMessageInput) String() 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 ¶
func (s *PriorityForSendMessageInput) SetChannelType(v string) *PriorityForSendMessageInput
SetChannelType sets the ChannelType field's value.
func (*PriorityForSendMessageInput) SetFailback ¶
func (s *PriorityForSendMessageInput) SetFailback(v string) *PriorityForSendMessageInput
SetFailback sets the Failback field's value.
func (*PriorityForSendMessageInput) SetFailed ¶
func (s *PriorityForSendMessageInput) SetFailed(v bool) *PriorityForSendMessageInput
SetFailed sets the Failed field's value.
func (*PriorityForSendMessageInput) SetLevel ¶
func (s *PriorityForSendMessageInput) SetLevel(v string) *PriorityForSendMessageInput
SetLevel sets the Level field's value.
func (*PriorityForSendMessageInput) SetNoReceipt ¶
func (s *PriorityForSendMessageInput) SetNoReceipt(v bool) *PriorityForSendMessageInput
SetNoReceipt sets the NoReceipt field's value.
func (*PriorityForSendMessageInput) SetSender ¶
func (s *PriorityForSendMessageInput) SetSender(v string) *PriorityForSendMessageInput
SetSender sets the Sender field's value.
func (*PriorityForSendMessageInput) SetTimeout ¶
func (s *PriorityForSendMessageInput) SetTimeout(v int32) *PriorityForSendMessageInput
SetTimeout sets the Timeout field's value.
func (PriorityForSendMessageInput) String ¶
func (s PriorityForSendMessageInput) String() 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 ¶
func (s ReceiverForSendBatchMessageInput) GoString() string
GoString returns the string representation
func (*ReceiverForSendBatchMessageInput) SetParams ¶
func (s *ReceiverForSendBatchMessageInput) SetParams(v string) *ReceiverForSendBatchMessageInput
SetParams sets the Params field's value.
func (*ReceiverForSendBatchMessageInput) SetReceiver ¶
func (s *ReceiverForSendBatchMessageInput) SetReceiver(v string) *ReceiverForSendBatchMessageInput
SetReceiver sets the Receiver field's value.
func (ReceiverForSendBatchMessageInput) String ¶
func (s ReceiverForSendBatchMessageInput) String() 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 ¶
func (s *SendBatchMessageInput) SetPriority(v []*PriorityForSendBatchMessageInput) *SendBatchMessageInput
SetPriority sets the Priority field's value.
func (*SendBatchMessageInput) SetReceiver ¶
func (s *SendBatchMessageInput) SetReceiver(v []*ReceiverForSendBatchMessageInput) *SendBatchMessageInput
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 ¶
func (s *SendBatchMessageInput) SetSid(v string) *SendBatchMessageInput
SetSid sets the Sid field's value.
func (*SendBatchMessageInput) SetTag ¶
func (s *SendBatchMessageInput) SetTag(v string) *SendBatchMessageInput
SetTag sets the Tag field's value.
func (*SendBatchMessageInput) SetTaskName ¶
func (s *SendBatchMessageInput) SetTaskName(v string) *SendBatchMessageInput
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 ¶
func (s *SendBatchMessageOutput) SetData(v *DataForSendBatchMessageOutput) *SendBatchMessageOutput
SetData sets the Data field's value.
func (*SendBatchMessageOutput) SetMessage ¶
func (s *SendBatchMessageOutput) SetMessage(v string) *SendBatchMessageOutput
SetMessage sets the Message field's value.
func (*SendBatchMessageOutput) SetSuccess ¶
func (s *SendBatchMessageOutput) SetSuccess(v bool) *SendBatchMessageOutput
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 ¶
func (s *SendMessageInput) SetPriority(v []*PriorityForSendMessageInput) *SendMessageInput
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 ¶
func (s *SendMessageInput) SetSid(v string) *SendMessageInput
SetSid sets the Sid field's value.
func (*SendMessageInput) SetTag ¶
func (s *SendMessageInput) SetTag(v string) *SendMessageInput
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 ¶
func (s *SendMessageOutput) SetData(v *DataForSendMessageOutput) *SendMessageOutput
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
func (s TemplateButtonListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*TemplateButtonListForCreateTemplateV2Input) SetAction ¶ added in v1.0.72
func (s *TemplateButtonListForCreateTemplateV2Input) SetAction(v *ActionForCreateTemplateV2Input) *TemplateButtonListForCreateTemplateV2Input
SetAction sets the Action field's value.
func (*TemplateButtonListForCreateTemplateV2Input) SetElementType ¶ added in v1.0.72
func (s *TemplateButtonListForCreateTemplateV2Input) SetElementType(v string) *TemplateButtonListForCreateTemplateV2Input
SetElementType sets the ElementType field's value.
func (*TemplateButtonListForCreateTemplateV2Input) SetLinkName ¶ added in v1.0.72
func (s *TemplateButtonListForCreateTemplateV2Input) SetLinkName(v string) *TemplateButtonListForCreateTemplateV2Input
SetLinkName sets the LinkName field's value.
func (*TemplateButtonListForCreateTemplateV2Input) SetLinkType ¶ added in v1.0.72
func (s *TemplateButtonListForCreateTemplateV2Input) SetLinkType(v string) *TemplateButtonListForCreateTemplateV2Input
SetLinkType sets the LinkType field's value.
func (*TemplateButtonListForCreateTemplateV2Input) SetOrderId ¶ added in v1.0.72
func (s *TemplateButtonListForCreateTemplateV2Input) SetOrderId(v int32) *TemplateButtonListForCreateTemplateV2Input
SetOrderId sets the OrderId field's value.
func (TemplateButtonListForCreateTemplateV2Input) String ¶ added in v1.0.72
func (s TemplateButtonListForCreateTemplateV2Input) String() string
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
func (s TemplateButtonListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*TemplateButtonListForGetTemplateV2Output) SetAction ¶ added in v1.0.72
func (s *TemplateButtonListForGetTemplateV2Output) SetAction(v *ActionForGetTemplateV2Output) *TemplateButtonListForGetTemplateV2Output
SetAction sets the Action field's value.
func (*TemplateButtonListForGetTemplateV2Output) SetElementType ¶ added in v1.0.72
func (s *TemplateButtonListForGetTemplateV2Output) SetElementType(v string) *TemplateButtonListForGetTemplateV2Output
SetElementType sets the ElementType field's value.
func (*TemplateButtonListForGetTemplateV2Output) SetLinkName ¶ added in v1.0.72
func (s *TemplateButtonListForGetTemplateV2Output) SetLinkName(v string) *TemplateButtonListForGetTemplateV2Output
SetLinkName sets the LinkName field's value.
func (*TemplateButtonListForGetTemplateV2Output) SetLinkType ¶ added in v1.0.72
func (s *TemplateButtonListForGetTemplateV2Output) SetLinkType(v string) *TemplateButtonListForGetTemplateV2Output
SetLinkType sets the LinkType field's value.
func (*TemplateButtonListForGetTemplateV2Output) SetOrderId ¶ added in v1.0.72
func (s *TemplateButtonListForGetTemplateV2Output) SetOrderId(v int32) *TemplateButtonListForGetTemplateV2Output
SetOrderId sets the OrderId field's value.
func (TemplateButtonListForGetTemplateV2Output) String ¶ added in v1.0.72
func (s TemplateButtonListForGetTemplateV2Output) String() string
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 ¶
func (s TemplateListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*TemplateListForCreateTemplateV2Input) SetAuditStatus ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetAuditStatus(v string) *TemplateListForCreateTemplateV2Input
SetAuditStatus sets the AuditStatus field's value.
func (*TemplateListForCreateTemplateV2Input) SetBackground ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetBackground(v string) *TemplateListForCreateTemplateV2Input
SetBackground sets the Background field's value.
func (*TemplateListForCreateTemplateV2Input) SetCardButtonType ¶
func (s *TemplateListForCreateTemplateV2Input) SetCardButtonType(v []*string) *TemplateListForCreateTemplateV2Input
SetCardButtonType sets the CardButtonType field's value.
func (*TemplateListForCreateTemplateV2Input) SetCardHeaderType ¶
func (s *TemplateListForCreateTemplateV2Input) SetCardHeaderType(v string) *TemplateListForCreateTemplateV2Input
SetCardHeaderType sets the CardHeaderType field's value.
func (*TemplateListForCreateTemplateV2Input) SetCarouselBody ¶
func (s *TemplateListForCreateTemplateV2Input) SetCarouselBody(v string) *TemplateListForCreateTemplateV2Input
SetCarouselBody sets the CarouselBody field's value.
func (*TemplateListForCreateTemplateV2Input) SetFallbackLink ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetFallbackLink(v string) *TemplateListForCreateTemplateV2Input
SetFallbackLink sets the FallbackLink field's value.
func (*TemplateListForCreateTemplateV2Input) SetFormat ¶
func (s *TemplateListForCreateTemplateV2Input) SetFormat(v string) *TemplateListForCreateTemplateV2Input
SetFormat sets the Format field's value.
func (*TemplateListForCreateTemplateV2Input) SetOriginalText ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetOriginalText(v string) *TemplateListForCreateTemplateV2Input
SetOriginalText sets the OriginalText field's value.
func (*TemplateListForCreateTemplateV2Input) SetPageDTOList ¶
func (s *TemplateListForCreateTemplateV2Input) SetPageDTOList(v []*PageDTOListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
SetPageDTOList sets the PageDTOList field's value.
func (*TemplateListForCreateTemplateV2Input) SetServiceNo ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetServiceNo(v string) *TemplateListForCreateTemplateV2Input
SetServiceNo sets the ServiceNo field's value.
func (*TemplateListForCreateTemplateV2Input) SetSubAccountId ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetSubAccountId(v string) *TemplateListForCreateTemplateV2Input
SetSubAccountId sets the SubAccountId field's value.
func (*TemplateListForCreateTemplateV2Input) SetTemplateButtonList ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetTemplateButtonList(v []*TemplateButtonListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
SetTemplateButtonList sets the TemplateButtonList field's value.
func (*TemplateListForCreateTemplateV2Input) SetTemplateType ¶
func (s *TemplateListForCreateTemplateV2Input) SetTemplateType(v string) *TemplateListForCreateTemplateV2Input
SetTemplateType sets the TemplateType field's value.
func (*TemplateListForCreateTemplateV2Input) SetUsage ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetUsage(v string) *TemplateListForCreateTemplateV2Input
SetUsage sets the Usage field's value.
func (*TemplateListForCreateTemplateV2Input) SetVariablesDTOList ¶
func (s *TemplateListForCreateTemplateV2Input) SetVariablesDTOList(v []*VariablesDTOListForCreateTemplateV2Input) *TemplateListForCreateTemplateV2Input
SetVariablesDTOList sets the VariablesDTOList field's value.
func (*TemplateListForCreateTemplateV2Input) SetVendors ¶ added in v1.0.72
func (s *TemplateListForCreateTemplateV2Input) SetVendors(v []*string) *TemplateListForCreateTemplateV2Input
SetVendors sets the Vendors field's value.
func (*TemplateListForCreateTemplateV2Input) SetWhatsappCatagory ¶
func (s *TemplateListForCreateTemplateV2Input) SetWhatsappCatagory(v string) *TemplateListForCreateTemplateV2Input
SetWhatsappCatagory sets the WhatsappCatagory field's value.
func (TemplateListForCreateTemplateV2Input) String ¶
func (s TemplateListForCreateTemplateV2Input) String() 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 ¶
func (s TemplateListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*TemplateListForGetTemplateV2Output) SetAuditStatus ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetAuditStatus(v string) *TemplateListForGetTemplateV2Output
SetAuditStatus sets the AuditStatus field's value.
func (*TemplateListForGetTemplateV2Output) SetBackground ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetBackground(v string) *TemplateListForGetTemplateV2Output
SetBackground sets the Background field's value.
func (*TemplateListForGetTemplateV2Output) SetCardButtonType ¶
func (s *TemplateListForGetTemplateV2Output) SetCardButtonType(v []*string) *TemplateListForGetTemplateV2Output
SetCardButtonType sets the CardButtonType field's value.
func (*TemplateListForGetTemplateV2Output) SetCardHeaderType ¶
func (s *TemplateListForGetTemplateV2Output) SetCardHeaderType(v string) *TemplateListForGetTemplateV2Output
SetCardHeaderType sets the CardHeaderType field's value.
func (*TemplateListForGetTemplateV2Output) SetCarouselBody ¶
func (s *TemplateListForGetTemplateV2Output) SetCarouselBody(v string) *TemplateListForGetTemplateV2Output
SetCarouselBody sets the CarouselBody field's value.
func (*TemplateListForGetTemplateV2Output) SetFallbackLink ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetFallbackLink(v string) *TemplateListForGetTemplateV2Output
SetFallbackLink sets the FallbackLink field's value.
func (*TemplateListForGetTemplateV2Output) SetFormat ¶
func (s *TemplateListForGetTemplateV2Output) SetFormat(v string) *TemplateListForGetTemplateV2Output
SetFormat sets the Format field's value.
func (*TemplateListForGetTemplateV2Output) SetOriginalText ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetOriginalText(v string) *TemplateListForGetTemplateV2Output
SetOriginalText sets the OriginalText field's value.
func (*TemplateListForGetTemplateV2Output) SetPageDTOList ¶
func (s *TemplateListForGetTemplateV2Output) SetPageDTOList(v []*PageDTOListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
SetPageDTOList sets the PageDTOList field's value.
func (*TemplateListForGetTemplateV2Output) SetServiceNo ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetServiceNo(v string) *TemplateListForGetTemplateV2Output
SetServiceNo sets the ServiceNo field's value.
func (*TemplateListForGetTemplateV2Output) SetSubAccountId ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetSubAccountId(v string) *TemplateListForGetTemplateV2Output
SetSubAccountId sets the SubAccountId field's value.
func (*TemplateListForGetTemplateV2Output) SetTemplateButtonList ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetTemplateButtonList(v []*TemplateButtonListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
SetTemplateButtonList sets the TemplateButtonList field's value.
func (*TemplateListForGetTemplateV2Output) SetTemplateType ¶
func (s *TemplateListForGetTemplateV2Output) SetTemplateType(v string) *TemplateListForGetTemplateV2Output
SetTemplateType sets the TemplateType field's value.
func (*TemplateListForGetTemplateV2Output) SetUsage ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetUsage(v string) *TemplateListForGetTemplateV2Output
SetUsage sets the Usage field's value.
func (*TemplateListForGetTemplateV2Output) SetVariablesDTOList ¶
func (s *TemplateListForGetTemplateV2Output) SetVariablesDTOList(v []*VariablesDTOListForGetTemplateV2Output) *TemplateListForGetTemplateV2Output
SetVariablesDTOList sets the VariablesDTOList field's value.
func (*TemplateListForGetTemplateV2Output) SetVendors ¶ added in v1.0.72
func (s *TemplateListForGetTemplateV2Output) SetVendors(v []*string) *TemplateListForGetTemplateV2Output
SetVendors sets the Vendors field's value.
func (*TemplateListForGetTemplateV2Output) SetWhatsappCatagory ¶
func (s *TemplateListForGetTemplateV2Output) SetWhatsappCatagory(v string) *TemplateListForGetTemplateV2Output
SetWhatsappCatagory sets the WhatsappCatagory field's value.
func (TemplateListForGetTemplateV2Output) String ¶
func (s TemplateListForGetTemplateV2Output) String() 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 ¶
func (s TemplateStatusForListTemplateV2Output) GoString() string
GoString returns the string representation
func (*TemplateStatusForListTemplateV2Output) SetAuditStatus ¶
func (s *TemplateStatusForListTemplateV2Output) SetAuditStatus(v string) *TemplateStatusForListTemplateV2Output
SetAuditStatus sets the AuditStatus field's value.
func (*TemplateStatusForListTemplateV2Output) SetReason ¶
func (s *TemplateStatusForListTemplateV2Output) SetReason(v string) *TemplateStatusForListTemplateV2Output
SetReason sets the Reason field's value.
func (*TemplateStatusForListTemplateV2Output) SetServiceName ¶ added in v1.0.72
func (s *TemplateStatusForListTemplateV2Output) SetServiceName(v string) *TemplateStatusForListTemplateV2Output
SetServiceName sets the ServiceName field's value.
func (*TemplateStatusForListTemplateV2Output) SetServiceNo ¶ added in v1.0.72
func (s *TemplateStatusForListTemplateV2Output) SetServiceNo(v string) *TemplateStatusForListTemplateV2Output
SetServiceNo sets the ServiceNo field's value.
func (*TemplateStatusForListTemplateV2Output) SetSubaccountId ¶ added in v1.0.72
func (s *TemplateStatusForListTemplateV2Output) SetSubaccountId(v string) *TemplateStatusForListTemplateV2Output
SetSubaccountId sets the SubaccountId field's value.
func (*TemplateStatusForListTemplateV2Output) SetTemplateType ¶
func (s *TemplateStatusForListTemplateV2Output) SetTemplateType(v string) *TemplateStatusForListTemplateV2Output
SetTemplateType sets the TemplateType field's value.
func (TemplateStatusForListTemplateV2Output) String ¶
func (s TemplateStatusForListTemplateV2Output) String() 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 ¶
func (s VariablesDTOListForCreateTemplateV2Input) GoString() string
GoString returns the string representation
func (*VariablesDTOListForCreateTemplateV2Input) SetDefaultValue ¶
func (s *VariablesDTOListForCreateTemplateV2Input) SetDefaultValue(v string) *VariablesDTOListForCreateTemplateV2Input
SetDefaultValue sets the DefaultValue field's value.
func (*VariablesDTOListForCreateTemplateV2Input) SetFormat ¶
func (s *VariablesDTOListForCreateTemplateV2Input) SetFormat(v string) *VariablesDTOListForCreateTemplateV2Input
SetFormat sets the Format field's value.
func (*VariablesDTOListForCreateTemplateV2Input) SetUniqueVariableCode ¶
func (s *VariablesDTOListForCreateTemplateV2Input) SetUniqueVariableCode(v string) *VariablesDTOListForCreateTemplateV2Input
SetUniqueVariableCode sets the UniqueVariableCode field's value.
func (*VariablesDTOListForCreateTemplateV2Input) SetVariableCode ¶
func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableCode(v string) *VariablesDTOListForCreateTemplateV2Input
SetVariableCode sets the VariableCode field's value.
func (*VariablesDTOListForCreateTemplateV2Input) SetVariableLength ¶ added in v1.0.72
func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableLength(v int32) *VariablesDTOListForCreateTemplateV2Input
SetVariableLength sets the VariableLength field's value.
func (*VariablesDTOListForCreateTemplateV2Input) SetVariableName ¶
func (s *VariablesDTOListForCreateTemplateV2Input) SetVariableName(v string) *VariablesDTOListForCreateTemplateV2Input
SetVariableName sets the VariableName field's value.
func (VariablesDTOListForCreateTemplateV2Input) String ¶
func (s VariablesDTOListForCreateTemplateV2Input) String() 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 ¶
func (s VariablesDTOListForGetTemplateV2Output) GoString() string
GoString returns the string representation
func (*VariablesDTOListForGetTemplateV2Output) SetDefaultValue ¶
func (s *VariablesDTOListForGetTemplateV2Output) SetDefaultValue(v string) *VariablesDTOListForGetTemplateV2Output
SetDefaultValue sets the DefaultValue field's value.
func (*VariablesDTOListForGetTemplateV2Output) SetFormat ¶
func (s *VariablesDTOListForGetTemplateV2Output) SetFormat(v string) *VariablesDTOListForGetTemplateV2Output
SetFormat sets the Format field's value.
func (*VariablesDTOListForGetTemplateV2Output) SetUniqueVariableCode ¶
func (s *VariablesDTOListForGetTemplateV2Output) SetUniqueVariableCode(v string) *VariablesDTOListForGetTemplateV2Output
SetUniqueVariableCode sets the UniqueVariableCode field's value.
func (*VariablesDTOListForGetTemplateV2Output) SetVariableCode ¶
func (s *VariablesDTOListForGetTemplateV2Output) SetVariableCode(v string) *VariablesDTOListForGetTemplateV2Output
SetVariableCode sets the VariableCode field's value.
func (*VariablesDTOListForGetTemplateV2Output) SetVariableLength ¶ added in v1.0.72
func (s *VariablesDTOListForGetTemplateV2Output) SetVariableLength(v int32) *VariablesDTOListForGetTemplateV2Output
SetVariableLength sets the VariableLength field's value.
func (*VariablesDTOListForGetTemplateV2Output) SetVariableName ¶
func (s *VariablesDTOListForGetTemplateV2Output) SetVariableName(v string) *VariablesDTOListForGetTemplateV2Output
SetVariableName sets the VariableName field's value.
func (VariablesDTOListForGetTemplateV2Output) String ¶
func (s VariablesDTOListForGetTemplateV2Output) String() string
String returns the string representation