Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddTemplateRequest
- func (o *AddTemplateRequest) GetCategory() string
- func (o *AddTemplateRequest) GetCategoryOk() (*string, bool)
- func (o *AddTemplateRequest) GetComponents() []map[string]interface{}
- func (o *AddTemplateRequest) GetComponentsOk() ([]map[string]interface{}, bool)
- func (o *AddTemplateRequest) GetLanguage() string
- func (o *AddTemplateRequest) GetLanguageOk() (*string, bool)
- func (o *AddTemplateRequest) GetName() string
- func (o *AddTemplateRequest) GetNameOk() (*string, bool)
- func (o *AddTemplateRequest) HasCategory() bool
- func (o *AddTemplateRequest) HasComponents() bool
- func (o *AddTemplateRequest) HasLanguage() bool
- func (o *AddTemplateRequest) HasName() bool
- func (o AddTemplateRequest) MarshalJSON() ([]byte, error)
- func (o *AddTemplateRequest) SetCategory(v string)
- func (o *AddTemplateRequest) SetComponents(v []map[string]interface{})
- func (o *AddTemplateRequest) SetLanguage(v string)
- func (o *AddTemplateRequest) SetName(v string)
- func (o AddTemplateRequest) ToMap() (map[string]interface{}, error)
- func (o *AddTemplateRequest) UnmarshalJSON(data []byte) (err error)
- type ApiAddTemplateRequest
- type ApiBlockUserRequest
- type ApiCreateCommerceRequest
- func (r ApiCreateCommerceRequest) CreateCommerceRequest(createCommerceRequest CreateCommerceRequest) ApiCreateCommerceRequest
- func (r ApiCreateCommerceRequest) Execute() (*CreateCommerce200Response, *http.Response, error)
- func (r ApiCreateCommerceRequest) Token(token string) ApiCreateCommerceRequest
- type ApiCreateFlowsFlowIdDeprecateRequest
- func (r ApiCreateFlowsFlowIdDeprecateRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiCreateFlowsFlowIdDeprecateRequest) Token(token string) ApiCreateFlowsFlowIdDeprecateRequest
- func (r ApiCreateFlowsFlowIdDeprecateRequest) WabaAccountId(wabaAccountId string) ApiCreateFlowsFlowIdDeprecateRequest
- type ApiCreateFlowsFlowIdPublishRequest
- func (r ApiCreateFlowsFlowIdPublishRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiCreateFlowsFlowIdPublishRequest) Token(token string) ApiCreateFlowsFlowIdPublishRequest
- func (r ApiCreateFlowsFlowIdPublishRequest) WabaAccountId(wabaAccountId string) ApiCreateFlowsFlowIdPublishRequest
- type ApiCreateFlowsRequest
- type ApiCreateGroupsGroupIdInvitelinkRequest
- type ApiCreateGroupsGroupIdRequest
- type ApiCreateGroupsRequest
- type ApiCreateReadMessageRequest
- func (r ApiCreateReadMessageRequest) Execute() (*CreateReadMessage200Response, *http.Response, error)
- func (r ApiCreateReadMessageRequest) MessageId(messageId string) ApiCreateReadMessageRequest
- func (r ApiCreateReadMessageRequest) MsgId(msgId string) ApiCreateReadMessageRequest
- func (r ApiCreateReadMessageRequest) Token(token string) ApiCreateReadMessageRequest
- func (r ApiCreateReadMessageRequest) TypingIndicator(typingIndicator bool) ApiCreateReadMessageRequest
- type ApiCreateUploadMediaRequest
- type ApiDeleteFlowsFlowIdRequest
- type ApiDeleteGroupsGroupIdRequest
- type ApiDeleteMediaLegacyRequest
- func (r ApiDeleteMediaLegacyRequest) DeleteMediaLegacyRequest(deleteMediaLegacyRequest DeleteMediaLegacyRequest) ApiDeleteMediaLegacyRequest
- func (r ApiDeleteMediaLegacyRequest) Execute() (*SuccessResponse, *http.Response, error)
- func (r ApiDeleteMediaLegacyRequest) Token(token string) ApiDeleteMediaLegacyRequest
- type ApiDeleteMediaRequest
- type ApiGetCallingSettingsRequest
- type ApiGetCommerceRequest
- type ApiGetConversationalAutomationRequest
- type ApiGetFlowsFlowIdPreviewRequest
- func (r ApiGetFlowsFlowIdPreviewRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiGetFlowsFlowIdPreviewRequest) Token(token string) ApiGetFlowsFlowIdPreviewRequest
- func (r ApiGetFlowsFlowIdPreviewRequest) WabaAccountId(wabaAccountId string) ApiGetFlowsFlowIdPreviewRequest
- type ApiGetFlowsFlowIdRequest
- type ApiGetGroupsGroupIdInvitelinkRequest
- type ApiGetGroupsGroupIdRequest
- type ApiGetMeRequest
- type ApiGetMmLiteStatusRequest
- type ApiGetStatusRequest
- type ApiGetWebhookRequest
- type ApiGetWhatsappBusinessEncryptionRequest
- type ApiInitiateCallRequest
- type ApiListBlockedUsersRequest
- type ApiListFlowsRequest
- type ApiListGroupsRequest
- type ApiListMessagesRequest
- type ApiListTemplatesRequest
- type ApiPatchFlowsFlowIdAssetsRequest
- func (r ApiPatchFlowsFlowIdAssetsRequest) Execute() (*PatchFlowsFlowIdAssets200Response, *http.Response, error)
- func (r ApiPatchFlowsFlowIdAssetsRequest) Token(token string) ApiPatchFlowsFlowIdAssetsRequest
- func (r ApiPatchFlowsFlowIdAssetsRequest) WabaAccountId(wabaAccountId string) ApiPatchFlowsFlowIdAssetsRequest
- type ApiPatchFlowsFlowIdMetadataRequest
- func (r ApiPatchFlowsFlowIdMetadataRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiPatchFlowsFlowIdMetadataRequest) Token(token string) ApiPatchFlowsFlowIdMetadataRequest
- func (r ApiPatchFlowsFlowIdMetadataRequest) WabaAccountId(wabaAccountId string) ApiPatchFlowsFlowIdMetadataRequest
- type ApiRemoveTemplateRequest
- type ApiRetrieveMediaRequest
- type ApiSendAddressMessageRequest
- func (r ApiSendAddressMessageRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendAddressMessageRequest) SendAddressMessageRequest(sendAddressMessageRequest SendAddressMessageRequest) ApiSendAddressMessageRequest
- func (r ApiSendAddressMessageRequest) Token(token string) ApiSendAddressMessageRequest
- type ApiSendButtonRequest
- type ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) Body(body string) ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) ChatId(chatId string) ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendCarouselRequest) Params(params []map[string]interface{}) ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) Phone(phone int32) ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) QuotedMsgId(quotedMsgId string) ApiSendCarouselRequest
- func (r ApiSendCarouselRequest) Token(token string) ApiSendCarouselRequest
- type ApiSendContactRequest
- type ApiSendCtaUrlRequest
- type ApiSendFileRequest
- func (r ApiSendFileRequest) Body(body string) ApiSendFileRequest
- func (r ApiSendFileRequest) Caption(caption string) ApiSendFileRequest
- func (r ApiSendFileRequest) ChatId(chatId string) ApiSendFileRequest
- func (r ApiSendFileRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendFileRequest) Filename(filename string) ApiSendFileRequest
- func (r ApiSendFileRequest) MediaId(mediaId string) ApiSendFileRequest
- func (r ApiSendFileRequest) MediaType(mediaType string) ApiSendFileRequest
- func (r ApiSendFileRequest) Phone(phone int32) ApiSendFileRequest
- func (r ApiSendFileRequest) QuotedMsgId(quotedMsgId string) ApiSendFileRequest
- func (r ApiSendFileRequest) Token(token string) ApiSendFileRequest
- func (r ApiSendFileRequest) Voice(voice bool) ApiSendFileRequest
- type ApiSendFlowRequest
- func (r ApiSendFlowRequest) Body(body string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) ChatId(chatId string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendFlowRequest) FlowAction(flowAction string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowActionData(flowActionData map[string]interface{}) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowActionPayload(flowActionPayload map[string]interface{}) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowActionScreen(flowActionScreen string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowCta(flowCta string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowId(flowId string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowMessageVersion(flowMessageVersion string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) FlowToken(flowToken string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Footer(footer string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Header(header SendFlowRequestHeader) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Mode(mode string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Phone(phone int32) ApiSendFlowRequest
- func (r ApiSendFlowRequest) QuotedMsgId(quotedMsgId string) ApiSendFlowRequest
- func (r ApiSendFlowRequest) Token(token string) ApiSendFlowRequest
- type ApiSendListRequest
- type ApiSendLocationRequest
- func (r ApiSendLocationRequest) Address(address string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) ChatId(chatId string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendLocationRequest) Lat(lat string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) Lng(lng string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) Name(name string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) Phone(phone int32) ApiSendLocationRequest
- func (r ApiSendLocationRequest) QuotedMsgId(quotedMsgId string) ApiSendLocationRequest
- func (r ApiSendLocationRequest) Token(token string) ApiSendLocationRequest
- type ApiSendLocationRequestRequest
- func (r ApiSendLocationRequestRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendLocationRequestRequest) SendLocationRequestRequest(sendLocationRequestRequest SendLocationRequestRequest) ApiSendLocationRequestRequest
- func (r ApiSendLocationRequestRequest) Token(token string) ApiSendLocationRequestRequest
- type ApiSendMessageRequest
- func (r ApiSendMessageRequest) Body(body string) ApiSendMessageRequest
- func (r ApiSendMessageRequest) ChatId(chatId string) ApiSendMessageRequest
- func (r ApiSendMessageRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendMessageRequest) Phone(phone int32) ApiSendMessageRequest
- func (r ApiSendMessageRequest) QuotedMsgId(quotedMsgId string) ApiSendMessageRequest
- func (r ApiSendMessageRequest) Token(token string) ApiSendMessageRequest
- type ApiSendOrderDetailsRequest
- func (r ApiSendOrderDetailsRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendOrderDetailsRequest) SendOrderDetailsRequest(sendOrderDetailsRequest SendOrderDetailsRequest) ApiSendOrderDetailsRequest
- func (r ApiSendOrderDetailsRequest) Token(token string) ApiSendOrderDetailsRequest
- type ApiSendPaymentRequestRequest
- func (r ApiSendPaymentRequestRequest) Execute() (*MessageSentResponse, *http.Response, error)
- func (r ApiSendPaymentRequestRequest) SendPaymentRequestRequest(sendPaymentRequestRequest SendPaymentRequestRequest) ApiSendPaymentRequestRequest
- func (r ApiSendPaymentRequestRequest) Token(token string) ApiSendPaymentRequestRequest
- type ApiSendProductRequest
- type ApiSendReactionRequest
- type ApiSendStickerRequest
- type ApiSendTemplateRequest
- type ApiSetConversationalAutomationRequest
- func (r ApiSetConversationalAutomationRequest) ConversationalAutomation(conversationalAutomation ConversationalAutomation) ApiSetConversationalAutomationRequest
- func (r ApiSetConversationalAutomationRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiSetConversationalAutomationRequest) Token(token string) ApiSetConversationalAutomationRequest
- type ApiSetWebhookRequest
- type ApiSetWhatsappBusinessEncryptionRequest
- func (r ApiSetWhatsappBusinessEncryptionRequest) Execute() (*CreateCommerce200Response, *http.Response, error)
- func (r ApiSetWhatsappBusinessEncryptionRequest) SetWhatsappBusinessEncryptionRequest(setWhatsappBusinessEncryptionRequest SetWhatsappBusinessEncryptionRequest) ApiSetWhatsappBusinessEncryptionRequest
- func (r ApiSetWhatsappBusinessEncryptionRequest) Token(token string) ApiSetWhatsappBusinessEncryptionRequest
- type ApiUnblockUserRequest
- type ApiUpdateCallingSettingsRequest
- func (r ApiUpdateCallingSettingsRequest) Execute() (map[string]interface{}, *http.Response, error)
- func (r ApiUpdateCallingSettingsRequest) RequestBody(requestBody map[string]interface{}) ApiUpdateCallingSettingsRequest
- func (r ApiUpdateCallingSettingsRequest) Token(token string) ApiUpdateCallingSettingsRequest
- type ApiUpdateMeRequest
- type BasicAuth
- type BlockUserRequest
- func (o *BlockUserRequest) GetPhone() int32
- func (o *BlockUserRequest) GetPhoneOk() (*int32, bool)
- func (o BlockUserRequest) MarshalJSON() ([]byte, error)
- func (o *BlockUserRequest) SetPhone(v int32)
- func (o BlockUserRequest) ToMap() (map[string]interface{}, error)
- func (o *BlockUserRequest) UnmarshalJSON(data []byte) (err error)
- type CallingAPIService
- func (a *CallingAPIService) GetCallingSettings(ctx context.Context) ApiGetCallingSettingsRequest
- func (a *CallingAPIService) GetCallingSettingsExecute(r ApiGetCallingSettingsRequest) (map[string]interface{}, *http.Response, error)
- func (a *CallingAPIService) InitiateCall(ctx context.Context) ApiInitiateCallRequest
- func (a *CallingAPIService) InitiateCallExecute(r ApiInitiateCallRequest) (map[string]interface{}, *http.Response, error)
- func (a *CallingAPIService) UpdateCallingSettings(ctx context.Context) ApiUpdateCallingSettingsRequest
- func (a *CallingAPIService) UpdateCallingSettingsExecute(r ApiUpdateCallingSettingsRequest) (map[string]interface{}, *http.Response, error)
- type CatalogAPIService
- func (a *CatalogAPIService) CreateCommerce(ctx context.Context) ApiCreateCommerceRequest
- func (a *CatalogAPIService) CreateCommerceExecute(r ApiCreateCommerceRequest) (*CreateCommerce200Response, *http.Response, error)
- func (a *CatalogAPIService) GetCommerce(ctx context.Context) ApiGetCommerceRequest
- func (a *CatalogAPIService) GetCommerceExecute(r ApiGetCommerceRequest) ([]GetCommerce200ResponseInner, *http.Response, error)
- type ChannelAPIService
- func (a *ChannelAPIService) GetConversationalAutomation(ctx context.Context) ApiGetConversationalAutomationRequest
- func (a *ChannelAPIService) GetConversationalAutomationExecute(r ApiGetConversationalAutomationRequest) (*ConversationalAutomation, *http.Response, error)
- func (a *ChannelAPIService) GetStatus(ctx context.Context) ApiGetStatusRequest
- func (a *ChannelAPIService) GetStatusExecute(r ApiGetStatusRequest) (map[string]interface{}, *http.Response, error)
- func (a *ChannelAPIService) SetConversationalAutomation(ctx context.Context) ApiSetConversationalAutomationRequest
- func (a *ChannelAPIService) SetConversationalAutomationExecute(r ApiSetConversationalAutomationRequest) (map[string]interface{}, *http.Response, error)
- type Configuration
- type ConversationalAutomation
- func (o *ConversationalAutomation) GetCommands() []ConversationalAutomationCommandsInner
- func (o *ConversationalAutomation) GetCommandsOk() ([]ConversationalAutomationCommandsInner, bool)
- func (o *ConversationalAutomation) GetEnableWelcomeMessage() bool
- func (o *ConversationalAutomation) GetEnableWelcomeMessageOk() (*bool, bool)
- func (o *ConversationalAutomation) GetPrompts() []string
- func (o *ConversationalAutomation) GetPromptsOk() ([]string, bool)
- func (o *ConversationalAutomation) HasCommands() bool
- func (o *ConversationalAutomation) HasEnableWelcomeMessage() bool
- func (o *ConversationalAutomation) HasPrompts() bool
- func (o ConversationalAutomation) MarshalJSON() ([]byte, error)
- func (o *ConversationalAutomation) SetCommands(v []ConversationalAutomationCommandsInner)
- func (o *ConversationalAutomation) SetEnableWelcomeMessage(v bool)
- func (o *ConversationalAutomation) SetPrompts(v []string)
- func (o ConversationalAutomation) ToMap() (map[string]interface{}, error)
- func (o *ConversationalAutomation) UnmarshalJSON(data []byte) (err error)
- type ConversationalAutomationCommandsInner
- func (o *ConversationalAutomationCommandsInner) GetCommandDescription() string
- func (o *ConversationalAutomationCommandsInner) GetCommandDescriptionOk() (*string, bool)
- func (o *ConversationalAutomationCommandsInner) GetCommandName() string
- func (o *ConversationalAutomationCommandsInner) GetCommandNameOk() (*string, bool)
- func (o ConversationalAutomationCommandsInner) MarshalJSON() ([]byte, error)
- func (o *ConversationalAutomationCommandsInner) SetCommandDescription(v string)
- func (o *ConversationalAutomationCommandsInner) SetCommandName(v string)
- func (o ConversationalAutomationCommandsInner) ToMap() (map[string]interface{}, error)
- func (o *ConversationalAutomationCommandsInner) UnmarshalJSON(data []byte) (err error)
- type CreateCommerce200Response
- func (o *CreateCommerce200Response) GetSuccess() bool
- func (o *CreateCommerce200Response) GetSuccessOk() (*bool, bool)
- func (o *CreateCommerce200Response) HasSuccess() bool
- func (o CreateCommerce200Response) MarshalJSON() ([]byte, error)
- func (o *CreateCommerce200Response) SetSuccess(v bool)
- func (o CreateCommerce200Response) ToMap() (map[string]interface{}, error)
- func (o *CreateCommerce200Response) UnmarshalJSON(data []byte) (err error)
- type CreateCommerceRequest
- func (o *CreateCommerceRequest) GetParams() CreateCommerceRequestParams
- func (o *CreateCommerceRequest) GetParamsOk() (*CreateCommerceRequestParams, bool)
- func (o CreateCommerceRequest) MarshalJSON() ([]byte, error)
- func (o *CreateCommerceRequest) SetParams(v CreateCommerceRequestParams)
- func (o CreateCommerceRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateCommerceRequest) UnmarshalJSON(data []byte) (err error)
- type CreateCommerceRequestParams
- func (o *CreateCommerceRequestParams) GetIsCartEnabled() bool
- func (o *CreateCommerceRequestParams) GetIsCartEnabledOk() (*bool, bool)
- func (o *CreateCommerceRequestParams) GetIsCatalogVisible() bool
- func (o *CreateCommerceRequestParams) GetIsCatalogVisibleOk() (*bool, bool)
- func (o CreateCommerceRequestParams) MarshalJSON() ([]byte, error)
- func (o *CreateCommerceRequestParams) SetIsCartEnabled(v bool)
- func (o *CreateCommerceRequestParams) SetIsCatalogVisible(v bool)
- func (o CreateCommerceRequestParams) ToMap() (map[string]interface{}, error)
- func (o *CreateCommerceRequestParams) UnmarshalJSON(data []byte) (err error)
- type CreateGroups200Response
- func (o *CreateGroups200Response) GetError() interface{}
- func (o *CreateGroups200Response) GetErrorOk() (*interface{}, bool)
- func (o *CreateGroups200Response) HasError() bool
- func (o CreateGroups200Response) MarshalJSON() ([]byte, error)
- func (o *CreateGroups200Response) SetError(v interface{})
- func (o CreateGroups200Response) ToMap() (map[string]interface{}, error)
- func (o *CreateGroups200Response) UnmarshalJSON(data []byte) (err error)
- type CreateReadMessage200Response
- func (o *CreateReadMessage200Response) GetResult() string
- func (o *CreateReadMessage200Response) GetResultOk() (*string, bool)
- func (o *CreateReadMessage200Response) HasResult() bool
- func (o CreateReadMessage200Response) MarshalJSON() ([]byte, error)
- func (o *CreateReadMessage200Response) SetResult(v string)
- func (o CreateReadMessage200Response) ToMap() (map[string]interface{}, error)
- func (o *CreateReadMessage200Response) UnmarshalJSON(data []byte) (err error)
- type CreateReadMessage401Response
- func (o *CreateReadMessage401Response) GetError() string
- func (o *CreateReadMessage401Response) GetErrorOk() (*string, bool)
- func (o *CreateReadMessage401Response) HasError() bool
- func (o CreateReadMessage401Response) MarshalJSON() ([]byte, error)
- func (o *CreateReadMessage401Response) SetError(v string)
- func (o CreateReadMessage401Response) ToMap() (map[string]interface{}, error)
- type CreateReadMessageRequest
- func (o *CreateReadMessageRequest) GetMessageId() string
- func (o *CreateReadMessageRequest) GetMessageIdOk() (*string, bool)
- func (o *CreateReadMessageRequest) GetMsgId() string
- func (o *CreateReadMessageRequest) GetMsgIdOk() (*string, bool)
- func (o *CreateReadMessageRequest) GetTypingIndicator() bool
- func (o *CreateReadMessageRequest) GetTypingIndicatorOk() (*bool, bool)
- func (o *CreateReadMessageRequest) HasMessageId() bool
- func (o *CreateReadMessageRequest) HasMsgId() bool
- func (o *CreateReadMessageRequest) HasTypingIndicator() bool
- func (o CreateReadMessageRequest) MarshalJSON() ([]byte, error)
- func (o *CreateReadMessageRequest) SetMessageId(v string)
- func (o *CreateReadMessageRequest) SetMsgId(v string)
- func (o *CreateReadMessageRequest) SetTypingIndicator(v bool)
- func (o CreateReadMessageRequest) ToMap() (map[string]interface{}, error)
- type DeleteFlowsFlowId200Response
- func (o *DeleteFlowsFlowId200Response) GetError() interface{}
- func (o *DeleteFlowsFlowId200Response) GetErrorOk() (*interface{}, bool)
- func (o *DeleteFlowsFlowId200Response) GetSuccess() bool
- func (o *DeleteFlowsFlowId200Response) GetSuccessOk() (*bool, bool)
- func (o *DeleteFlowsFlowId200Response) HasError() bool
- func (o *DeleteFlowsFlowId200Response) HasSuccess() bool
- func (o DeleteFlowsFlowId200Response) MarshalJSON() ([]byte, error)
- func (o *DeleteFlowsFlowId200Response) SetError(v interface{})
- func (o *DeleteFlowsFlowId200Response) SetSuccess(v bool)
- func (o DeleteFlowsFlowId200Response) ToMap() (map[string]interface{}, error)
- func (o *DeleteFlowsFlowId200Response) UnmarshalJSON(data []byte) (err error)
- type DeleteGroupsGroupId200Response
- func (o *DeleteGroupsGroupId200Response) GetResponse() map[string]interface{}
- func (o *DeleteGroupsGroupId200Response) GetResponseOk() (map[string]interface{}, bool)
- func (o *DeleteGroupsGroupId200Response) GetSuccess() bool
- func (o *DeleteGroupsGroupId200Response) GetSuccessOk() (*bool, bool)
- func (o *DeleteGroupsGroupId200Response) HasResponse() bool
- func (o *DeleteGroupsGroupId200Response) HasSuccess() bool
- func (o DeleteGroupsGroupId200Response) MarshalJSON() ([]byte, error)
- func (o *DeleteGroupsGroupId200Response) SetResponse(v map[string]interface{})
- func (o *DeleteGroupsGroupId200Response) SetSuccess(v bool)
- func (o DeleteGroupsGroupId200Response) ToMap() (map[string]interface{}, error)
- func (o *DeleteGroupsGroupId200Response) UnmarshalJSON(data []byte) (err error)
- type DeleteMediaLegacyRequest
- func (o *DeleteMediaLegacyRequest) GetMediaId() string
- func (o *DeleteMediaLegacyRequest) GetMediaIdOk() (*string, bool)
- func (o DeleteMediaLegacyRequest) MarshalJSON() ([]byte, error)
- func (o *DeleteMediaLegacyRequest) SetMediaId(v string)
- func (o DeleteMediaLegacyRequest) ToMap() (map[string]interface{}, error)
- func (o *DeleteMediaLegacyRequest) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- type FlowsAPIService
- func (a *FlowsAPIService) CreateFlows(ctx context.Context) ApiCreateFlowsRequest
- func (a *FlowsAPIService) CreateFlowsExecute(r ApiCreateFlowsRequest) (*CreateGroups200Response, *http.Response, error)
- func (a *FlowsAPIService) CreateFlowsFlowIdDeprecate(ctx context.Context, flowId string) ApiCreateFlowsFlowIdDeprecateRequest
- func (a *FlowsAPIService) CreateFlowsFlowIdDeprecateExecute(r ApiCreateFlowsFlowIdDeprecateRequest) (map[string]interface{}, *http.Response, error)
- func (a *FlowsAPIService) CreateFlowsFlowIdPublish(ctx context.Context, flowId string) ApiCreateFlowsFlowIdPublishRequest
- func (a *FlowsAPIService) CreateFlowsFlowIdPublishExecute(r ApiCreateFlowsFlowIdPublishRequest) (map[string]interface{}, *http.Response, error)
- func (a *FlowsAPIService) DeleteFlowsFlowId(ctx context.Context, flowId string) ApiDeleteFlowsFlowIdRequest
- func (a *FlowsAPIService) DeleteFlowsFlowIdExecute(r ApiDeleteFlowsFlowIdRequest) (*DeleteFlowsFlowId200Response, *http.Response, error)
- func (a *FlowsAPIService) GetFlowsFlowId(ctx context.Context, flowId string) ApiGetFlowsFlowIdRequest
- func (a *FlowsAPIService) GetFlowsFlowIdExecute(r ApiGetFlowsFlowIdRequest) (*CreateGroups200Response, *http.Response, error)
- func (a *FlowsAPIService) GetFlowsFlowIdPreview(ctx context.Context, flowId string) ApiGetFlowsFlowIdPreviewRequest
- func (a *FlowsAPIService) GetFlowsFlowIdPreviewExecute(r ApiGetFlowsFlowIdPreviewRequest) (map[string]interface{}, *http.Response, error)
- func (a *FlowsAPIService) GetWhatsappBusinessEncryption(ctx context.Context) ApiGetWhatsappBusinessEncryptionRequest
- func (a *FlowsAPIService) GetWhatsappBusinessEncryptionExecute(r ApiGetWhatsappBusinessEncryptionRequest) (*GetWhatsappBusinessEncryption200Response, *http.Response, error)
- func (a *FlowsAPIService) ListFlows(ctx context.Context) ApiListFlowsRequest
- func (a *FlowsAPIService) ListFlowsExecute(r ApiListFlowsRequest) (*ListFlows200Response, *http.Response, error)
- func (a *FlowsAPIService) PatchFlowsFlowIdAssets(ctx context.Context, flowId string) ApiPatchFlowsFlowIdAssetsRequest
- func (a *FlowsAPIService) PatchFlowsFlowIdAssetsExecute(r ApiPatchFlowsFlowIdAssetsRequest) (*PatchFlowsFlowIdAssets200Response, *http.Response, error)
- func (a *FlowsAPIService) PatchFlowsFlowIdMetadata(ctx context.Context, flowId string) ApiPatchFlowsFlowIdMetadataRequest
- func (a *FlowsAPIService) PatchFlowsFlowIdMetadataExecute(r ApiPatchFlowsFlowIdMetadataRequest) (map[string]interface{}, *http.Response, error)
- func (a *FlowsAPIService) SetWhatsappBusinessEncryption(ctx context.Context) ApiSetWhatsappBusinessEncryptionRequest
- func (a *FlowsAPIService) SetWhatsappBusinessEncryptionExecute(r ApiSetWhatsappBusinessEncryptionRequest) (*CreateCommerce200Response, *http.Response, error)
- type GenericOpenAPIError
- type GetCommerce200ResponseInner
- func (o *GetCommerce200ResponseInner) GetId() string
- func (o *GetCommerce200ResponseInner) GetIdOk() (*string, bool)
- func (o *GetCommerce200ResponseInner) GetIsCartEnabled() bool
- func (o *GetCommerce200ResponseInner) GetIsCartEnabledOk() (*bool, bool)
- func (o *GetCommerce200ResponseInner) GetIsCatalogVisible() bool
- func (o *GetCommerce200ResponseInner) GetIsCatalogVisibleOk() (*bool, bool)
- func (o *GetCommerce200ResponseInner) HasId() bool
- func (o *GetCommerce200ResponseInner) HasIsCartEnabled() bool
- func (o *GetCommerce200ResponseInner) HasIsCatalogVisible() bool
- func (o GetCommerce200ResponseInner) MarshalJSON() ([]byte, error)
- func (o *GetCommerce200ResponseInner) SetId(v string)
- func (o *GetCommerce200ResponseInner) SetIsCartEnabled(v bool)
- func (o *GetCommerce200ResponseInner) SetIsCatalogVisible(v bool)
- func (o GetCommerce200ResponseInner) ToMap() (map[string]interface{}, error)
- func (o *GetCommerce200ResponseInner) UnmarshalJSON(data []byte) (err error)
- type GetMmLiteStatus200Response
- func (o *GetMmLiteStatus200Response) GetAvailable() bool
- func (o *GetMmLiteStatus200Response) GetAvailableOk() (*bool, bool)
- func (o *GetMmLiteStatus200Response) GetMessage() string
- func (o *GetMmLiteStatus200Response) GetMessageOk() (*string, bool)
- func (o *GetMmLiteStatus200Response) GetStatus() string
- func (o *GetMmLiteStatus200Response) GetStatusOk() (*string, bool)
- func (o *GetMmLiteStatus200Response) HasAvailable() bool
- func (o *GetMmLiteStatus200Response) HasMessage() bool
- func (o *GetMmLiteStatus200Response) HasStatus() bool
- func (o GetMmLiteStatus200Response) MarshalJSON() ([]byte, error)
- func (o *GetMmLiteStatus200Response) SetAvailable(v bool)
- func (o *GetMmLiteStatus200Response) SetMessage(v string)
- func (o *GetMmLiteStatus200Response) SetStatus(v string)
- func (o GetMmLiteStatus200Response) ToMap() (map[string]interface{}, error)
- func (o *GetMmLiteStatus200Response) UnmarshalJSON(data []byte) (err error)
- type GetWebhook200Response
- func (o *GetWebhook200Response) GetWebhookUrl() string
- func (o *GetWebhook200Response) GetWebhookUrlOk() (*string, bool)
- func (o *GetWebhook200Response) HasWebhookUrl() bool
- func (o GetWebhook200Response) MarshalJSON() ([]byte, error)
- func (o *GetWebhook200Response) SetWebhookUrl(v string)
- func (o GetWebhook200Response) ToMap() (map[string]interface{}, error)
- func (o *GetWebhook200Response) UnmarshalJSON(data []byte) (err error)
- type GetWhatsappBusinessEncryption200Response
- func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKey() string
- func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeyOk() (*string, bool)
- func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatus() string
- func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatusOk() (*string, bool)
- func (o *GetWhatsappBusinessEncryption200Response) GetData() []map[string]interface{}
- func (o *GetWhatsappBusinessEncryption200Response) GetDataOk() ([]map[string]interface{}, bool)
- func (o *GetWhatsappBusinessEncryption200Response) HasBusinessPublicKey() bool
- func (o *GetWhatsappBusinessEncryption200Response) HasBusinessPublicKeySignatureStatus() bool
- func (o *GetWhatsappBusinessEncryption200Response) HasData() bool
- func (o GetWhatsappBusinessEncryption200Response) MarshalJSON() ([]byte, error)
- func (o *GetWhatsappBusinessEncryption200Response) SetBusinessPublicKey(v string)
- func (o *GetWhatsappBusinessEncryption200Response) SetBusinessPublicKeySignatureStatus(v string)
- func (o *GetWhatsappBusinessEncryption200Response) SetData(v []map[string]interface{})
- func (o GetWhatsappBusinessEncryption200Response) ToMap() (map[string]interface{}, error)
- func (o *GetWhatsappBusinessEncryption200Response) UnmarshalJSON(data []byte) (err error)
- type GroupsAPIService
- func (a *GroupsAPIService) CreateGroups(ctx context.Context) ApiCreateGroupsRequest
- func (a *GroupsAPIService) CreateGroupsExecute(r ApiCreateGroupsRequest) (*CreateGroups200Response, *http.Response, error)
- func (a *GroupsAPIService) CreateGroupsGroupId(ctx context.Context, groupId string) ApiCreateGroupsGroupIdRequest
- func (a *GroupsAPIService) CreateGroupsGroupIdExecute(r ApiCreateGroupsGroupIdRequest) (map[string]interface{}, *http.Response, error)
- func (a *GroupsAPIService) CreateGroupsGroupIdInvitelink(ctx context.Context, groupId string) ApiCreateGroupsGroupIdInvitelinkRequest
- func (a *GroupsAPIService) CreateGroupsGroupIdInvitelinkExecute(r ApiCreateGroupsGroupIdInvitelinkRequest) (map[string]interface{}, *http.Response, error)
- func (a *GroupsAPIService) DeleteGroupsGroupId(ctx context.Context, groupId string) ApiDeleteGroupsGroupIdRequest
- func (a *GroupsAPIService) DeleteGroupsGroupIdExecute(r ApiDeleteGroupsGroupIdRequest) (*DeleteGroupsGroupId200Response, *http.Response, error)
- func (a *GroupsAPIService) GetGroupsGroupId(ctx context.Context, groupId string) ApiGetGroupsGroupIdRequest
- func (a *GroupsAPIService) GetGroupsGroupIdExecute(r ApiGetGroupsGroupIdRequest) (map[string]interface{}, *http.Response, error)
- func (a *GroupsAPIService) GetGroupsGroupIdInvitelink(ctx context.Context, groupId string) ApiGetGroupsGroupIdInvitelinkRequest
- func (a *GroupsAPIService) GetGroupsGroupIdInvitelinkExecute(r ApiGetGroupsGroupIdInvitelinkRequest) (map[string]interface{}, *http.Response, error)
- func (a *GroupsAPIService) ListGroups(ctx context.Context) ApiListGroupsRequest
- func (a *GroupsAPIService) ListGroupsExecute(r ApiListGroupsRequest) (map[string]interface{}, *http.Response, error)
- type ListBlockedUsers200Response
- func (o *ListBlockedUsers200Response) GetBlockedUsers() []map[string]interface{}
- func (o *ListBlockedUsers200Response) GetBlockedUsersOk() ([]map[string]interface{}, bool)
- func (o *ListBlockedUsers200Response) HasBlockedUsers() bool
- func (o ListBlockedUsers200Response) MarshalJSON() ([]byte, error)
- func (o *ListBlockedUsers200Response) SetBlockedUsers(v []map[string]interface{})
- func (o ListBlockedUsers200Response) ToMap() (map[string]interface{}, error)
- func (o *ListBlockedUsers200Response) UnmarshalJSON(data []byte) (err error)
- type ListFlows200Response
- func (o *ListFlows200Response) GetCount() int32
- func (o *ListFlows200Response) GetCountOk() (*int32, bool)
- func (o *ListFlows200Response) GetError() interface{}
- func (o *ListFlows200Response) GetErrorOk() (*interface{}, bool)
- func (o *ListFlows200Response) GetItems() []map[string]interface{}
- func (o *ListFlows200Response) GetItemsOk() ([]map[string]interface{}, bool)
- func (o *ListFlows200Response) GetPaging() map[string]interface{}
- func (o *ListFlows200Response) GetPagingOk() (map[string]interface{}, bool)
- func (o *ListFlows200Response) GetTotal() int32
- func (o *ListFlows200Response) GetTotalOk() (*int32, bool)
- func (o *ListFlows200Response) HasCount() bool
- func (o *ListFlows200Response) HasError() bool
- func (o *ListFlows200Response) HasItems() bool
- func (o *ListFlows200Response) HasPaging() bool
- func (o *ListFlows200Response) HasTotal() bool
- func (o ListFlows200Response) MarshalJSON() ([]byte, error)
- func (o *ListFlows200Response) SetCount(v int32)
- func (o *ListFlows200Response) SetError(v interface{})
- func (o *ListFlows200Response) SetItems(v []map[string]interface{})
- func (o *ListFlows200Response) SetPaging(v map[string]interface{})
- func (o *ListFlows200Response) SetTotal(v int32)
- func (o ListFlows200Response) ToMap() (map[string]interface{}, error)
- func (o *ListFlows200Response) UnmarshalJSON(data []byte) (err error)
- type ListMessages200Response
- func (o *ListMessages200Response) GetMessages() []map[string]interface{}
- func (o *ListMessages200Response) GetMessagesOk() ([]map[string]interface{}, bool)
- func (o *ListMessages200Response) GetNotice() string
- func (o *ListMessages200Response) GetNoticeOk() (*string, bool)
- func (o *ListMessages200Response) HasMessages() bool
- func (o *ListMessages200Response) HasNotice() bool
- func (o ListMessages200Response) MarshalJSON() ([]byte, error)
- func (o *ListMessages200Response) SetMessages(v []map[string]interface{})
- func (o *ListMessages200Response) SetNotice(v string)
- func (o ListMessages200Response) ToMap() (map[string]interface{}, error)
- func (o *ListMessages200Response) UnmarshalJSON(data []byte) (err error)
- type ListTemplates200Response
- func (o *ListTemplates200Response) GetError() map[string]interface{}
- func (o *ListTemplates200Response) GetErrorOk() (map[string]interface{}, bool)
- func (o *ListTemplates200Response) GetTemplates() []map[string]interface{}
- func (o *ListTemplates200Response) GetTemplatesOk() ([]map[string]interface{}, bool)
- func (o *ListTemplates200Response) GetTotal() int32
- func (o *ListTemplates200Response) GetTotalOk() (*int32, bool)
- func (o *ListTemplates200Response) HasError() bool
- func (o *ListTemplates200Response) HasTemplates() bool
- func (o *ListTemplates200Response) HasTotal() bool
- func (o ListTemplates200Response) MarshalJSON() ([]byte, error)
- func (o *ListTemplates200Response) SetError(v map[string]interface{})
- func (o *ListTemplates200Response) SetTemplates(v []map[string]interface{})
- func (o *ListTemplates200Response) SetTotal(v int32)
- func (o ListTemplates200Response) ToMap() (map[string]interface{}, error)
- func (o *ListTemplates200Response) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type MessageSentResponse
- func (o *MessageSentResponse) GetDescription() string
- func (o *MessageSentResponse) GetDescriptionOk() (*string, bool)
- func (o *MessageSentResponse) GetId() string
- func (o *MessageSentResponse) GetIdOk() (*string, bool)
- func (o *MessageSentResponse) GetMessage() string
- func (o *MessageSentResponse) GetMessageOk() (*string, bool)
- func (o *MessageSentResponse) GetSent() bool
- func (o *MessageSentResponse) GetSentOk() (*bool, bool)
- func (o *MessageSentResponse) HasDescription() bool
- func (o *MessageSentResponse) HasId() bool
- func (o *MessageSentResponse) HasMessage() bool
- func (o *MessageSentResponse) HasSent() bool
- func (o MessageSentResponse) MarshalJSON() ([]byte, error)
- func (o *MessageSentResponse) SetDescription(v string)
- func (o *MessageSentResponse) SetId(v string)
- func (o *MessageSentResponse) SetMessage(v string)
- func (o *MessageSentResponse) SetSent(v bool)
- func (o MessageSentResponse) ToMap() (map[string]interface{}, error)
- func (o *MessageSentResponse) UnmarshalJSON(data []byte) (err error)
- type MessagingAPIService
- func (a *MessagingAPIService) CreateReadMessage(ctx context.Context) ApiCreateReadMessageRequest
- func (a *MessagingAPIService) CreateReadMessageExecute(r ApiCreateReadMessageRequest) (*CreateReadMessage200Response, *http.Response, error)
- func (a *MessagingAPIService) CreateUploadMedia(ctx context.Context) ApiCreateUploadMediaRequest
- func (a *MessagingAPIService) CreateUploadMediaExecute(r ApiCreateUploadMediaRequest) (*http.Response, error)
- func (a *MessagingAPIService) DeleteMedia(ctx context.Context, mediaId string) ApiDeleteMediaRequest
- func (a *MessagingAPIService) DeleteMediaExecute(r ApiDeleteMediaRequest) (*SuccessResponse, *http.Response, error)
- func (a *MessagingAPIService) DeleteMediaLegacy(ctx context.Context) ApiDeleteMediaLegacyRequest
- func (a *MessagingAPIService) DeleteMediaLegacyExecute(r ApiDeleteMediaLegacyRequest) (*SuccessResponse, *http.Response, error)
- func (a *MessagingAPIService) GetMmLiteStatus(ctx context.Context) ApiGetMmLiteStatusRequest
- func (a *MessagingAPIService) GetMmLiteStatusExecute(r ApiGetMmLiteStatusRequest) (*GetMmLiteStatus200Response, *http.Response, error)
- func (a *MessagingAPIService) ListMessages(ctx context.Context) ApiListMessagesRequest
- func (a *MessagingAPIService) ListMessagesExecute(r ApiListMessagesRequest) (*ListMessages200Response, *http.Response, error)
- func (a *MessagingAPIService) RetrieveMedia(ctx context.Context) ApiRetrieveMediaRequest
- func (a *MessagingAPIService) RetrieveMediaExecute(r ApiRetrieveMediaRequest) (*RetrieveMedia200Response, *http.Response, error)
- func (a *MessagingAPIService) SendAddressMessage(ctx context.Context) ApiSendAddressMessageRequest
- func (a *MessagingAPIService) SendAddressMessageExecute(r ApiSendAddressMessageRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendButton(ctx context.Context) ApiSendButtonRequest
- func (a *MessagingAPIService) SendButtonExecute(r ApiSendButtonRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendCarousel(ctx context.Context) ApiSendCarouselRequest
- func (a *MessagingAPIService) SendCarouselExecute(r ApiSendCarouselRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendContact(ctx context.Context) ApiSendContactRequest
- func (a *MessagingAPIService) SendContactExecute(r ApiSendContactRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendCtaUrl(ctx context.Context) ApiSendCtaUrlRequest
- func (a *MessagingAPIService) SendCtaUrlExecute(r ApiSendCtaUrlRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendFile(ctx context.Context) ApiSendFileRequest
- func (a *MessagingAPIService) SendFileExecute(r ApiSendFileRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendFlow(ctx context.Context) ApiSendFlowRequest
- func (a *MessagingAPIService) SendFlowExecute(r ApiSendFlowRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendList(ctx context.Context) ApiSendListRequest
- func (a *MessagingAPIService) SendListExecute(r ApiSendListRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendLocation(ctx context.Context) ApiSendLocationRequest
- func (a *MessagingAPIService) SendLocationExecute(r ApiSendLocationRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendLocationRequest(ctx context.Context) ApiSendLocationRequestRequest
- func (a *MessagingAPIService) SendLocationRequestExecute(r ApiSendLocationRequestRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendMessage(ctx context.Context) ApiSendMessageRequest
- func (a *MessagingAPIService) SendMessageExecute(r ApiSendMessageRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendOrderDetails(ctx context.Context) ApiSendOrderDetailsRequest
- func (a *MessagingAPIService) SendOrderDetailsExecute(r ApiSendOrderDetailsRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendPaymentRequest(ctx context.Context) ApiSendPaymentRequestRequest
- func (a *MessagingAPIService) SendPaymentRequestExecute(r ApiSendPaymentRequestRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendProduct(ctx context.Context) ApiSendProductRequest
- func (a *MessagingAPIService) SendProductExecute(r ApiSendProductRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendReaction(ctx context.Context) ApiSendReactionRequest
- func (a *MessagingAPIService) SendReactionExecute(r ApiSendReactionRequest) (*MessageSentResponse, *http.Response, error)
- func (a *MessagingAPIService) SendSticker(ctx context.Context) ApiSendStickerRequest
- func (a *MessagingAPIService) SendStickerExecute(r ApiSendStickerRequest) (*MessageSentResponse, *http.Response, error)
- type NullableAddTemplateRequest
- func (v NullableAddTemplateRequest) Get() *AddTemplateRequest
- func (v NullableAddTemplateRequest) IsSet() bool
- func (v NullableAddTemplateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAddTemplateRequest) Set(val *AddTemplateRequest)
- func (v *NullableAddTemplateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAddTemplateRequest) Unset()
- type NullableBlockUserRequest
- func (v NullableBlockUserRequest) Get() *BlockUserRequest
- func (v NullableBlockUserRequest) IsSet() bool
- func (v NullableBlockUserRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBlockUserRequest) Set(val *BlockUserRequest)
- func (v *NullableBlockUserRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBlockUserRequest) Unset()
- type NullableBool
- type NullableConversationalAutomation
- func (v NullableConversationalAutomation) Get() *ConversationalAutomation
- func (v NullableConversationalAutomation) IsSet() bool
- func (v NullableConversationalAutomation) MarshalJSON() ([]byte, error)
- func (v *NullableConversationalAutomation) Set(val *ConversationalAutomation)
- func (v *NullableConversationalAutomation) UnmarshalJSON(src []byte) error
- func (v *NullableConversationalAutomation) Unset()
- type NullableConversationalAutomationCommandsInner
- func (v NullableConversationalAutomationCommandsInner) Get() *ConversationalAutomationCommandsInner
- func (v NullableConversationalAutomationCommandsInner) IsSet() bool
- func (v NullableConversationalAutomationCommandsInner) MarshalJSON() ([]byte, error)
- func (v *NullableConversationalAutomationCommandsInner) Set(val *ConversationalAutomationCommandsInner)
- func (v *NullableConversationalAutomationCommandsInner) UnmarshalJSON(src []byte) error
- func (v *NullableConversationalAutomationCommandsInner) Unset()
- type NullableCreateCommerce200Response
- func (v NullableCreateCommerce200Response) Get() *CreateCommerce200Response
- func (v NullableCreateCommerce200Response) IsSet() bool
- func (v NullableCreateCommerce200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCommerce200Response) Set(val *CreateCommerce200Response)
- func (v *NullableCreateCommerce200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCommerce200Response) Unset()
- type NullableCreateCommerceRequest
- func (v NullableCreateCommerceRequest) Get() *CreateCommerceRequest
- func (v NullableCreateCommerceRequest) IsSet() bool
- func (v NullableCreateCommerceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCommerceRequest) Set(val *CreateCommerceRequest)
- func (v *NullableCreateCommerceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCommerceRequest) Unset()
- type NullableCreateCommerceRequestParams
- func (v NullableCreateCommerceRequestParams) Get() *CreateCommerceRequestParams
- func (v NullableCreateCommerceRequestParams) IsSet() bool
- func (v NullableCreateCommerceRequestParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCommerceRequestParams) Set(val *CreateCommerceRequestParams)
- func (v *NullableCreateCommerceRequestParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCommerceRequestParams) Unset()
- type NullableCreateGroups200Response
- func (v NullableCreateGroups200Response) Get() *CreateGroups200Response
- func (v NullableCreateGroups200Response) IsSet() bool
- func (v NullableCreateGroups200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroups200Response) Set(val *CreateGroups200Response)
- func (v *NullableCreateGroups200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroups200Response) Unset()
- type NullableCreateReadMessage200Response
- func (v NullableCreateReadMessage200Response) Get() *CreateReadMessage200Response
- func (v NullableCreateReadMessage200Response) IsSet() bool
- func (v NullableCreateReadMessage200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateReadMessage200Response) Set(val *CreateReadMessage200Response)
- func (v *NullableCreateReadMessage200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateReadMessage200Response) Unset()
- type NullableCreateReadMessage401Response
- func (v NullableCreateReadMessage401Response) Get() *CreateReadMessage401Response
- func (v NullableCreateReadMessage401Response) IsSet() bool
- func (v NullableCreateReadMessage401Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateReadMessage401Response) Set(val *CreateReadMessage401Response)
- func (v *NullableCreateReadMessage401Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateReadMessage401Response) Unset()
- type NullableCreateReadMessageRequest
- func (v NullableCreateReadMessageRequest) Get() *CreateReadMessageRequest
- func (v NullableCreateReadMessageRequest) IsSet() bool
- func (v NullableCreateReadMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateReadMessageRequest) Set(val *CreateReadMessageRequest)
- func (v *NullableCreateReadMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateReadMessageRequest) Unset()
- type NullableDeleteFlowsFlowId200Response
- func (v NullableDeleteFlowsFlowId200Response) Get() *DeleteFlowsFlowId200Response
- func (v NullableDeleteFlowsFlowId200Response) IsSet() bool
- func (v NullableDeleteFlowsFlowId200Response) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteFlowsFlowId200Response) Set(val *DeleteFlowsFlowId200Response)
- func (v *NullableDeleteFlowsFlowId200Response) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteFlowsFlowId200Response) Unset()
- type NullableDeleteGroupsGroupId200Response
- func (v NullableDeleteGroupsGroupId200Response) Get() *DeleteGroupsGroupId200Response
- func (v NullableDeleteGroupsGroupId200Response) IsSet() bool
- func (v NullableDeleteGroupsGroupId200Response) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteGroupsGroupId200Response) Set(val *DeleteGroupsGroupId200Response)
- func (v *NullableDeleteGroupsGroupId200Response) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteGroupsGroupId200Response) Unset()
- type NullableDeleteMediaLegacyRequest
- func (v NullableDeleteMediaLegacyRequest) Get() *DeleteMediaLegacyRequest
- func (v NullableDeleteMediaLegacyRequest) IsSet() bool
- func (v NullableDeleteMediaLegacyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteMediaLegacyRequest) Set(val *DeleteMediaLegacyRequest)
- func (v *NullableDeleteMediaLegacyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteMediaLegacyRequest) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetCommerce200ResponseInner
- func (v NullableGetCommerce200ResponseInner) Get() *GetCommerce200ResponseInner
- func (v NullableGetCommerce200ResponseInner) IsSet() bool
- func (v NullableGetCommerce200ResponseInner) MarshalJSON() ([]byte, error)
- func (v *NullableGetCommerce200ResponseInner) Set(val *GetCommerce200ResponseInner)
- func (v *NullableGetCommerce200ResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullableGetCommerce200ResponseInner) Unset()
- type NullableGetMmLiteStatus200Response
- func (v NullableGetMmLiteStatus200Response) Get() *GetMmLiteStatus200Response
- func (v NullableGetMmLiteStatus200Response) IsSet() bool
- func (v NullableGetMmLiteStatus200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetMmLiteStatus200Response) Set(val *GetMmLiteStatus200Response)
- func (v *NullableGetMmLiteStatus200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetMmLiteStatus200Response) Unset()
- type NullableGetWebhook200Response
- func (v NullableGetWebhook200Response) Get() *GetWebhook200Response
- func (v NullableGetWebhook200Response) IsSet() bool
- func (v NullableGetWebhook200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetWebhook200Response) Set(val *GetWebhook200Response)
- func (v *NullableGetWebhook200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetWebhook200Response) Unset()
- type NullableGetWhatsappBusinessEncryption200Response
- func (v NullableGetWhatsappBusinessEncryption200Response) Get() *GetWhatsappBusinessEncryption200Response
- func (v NullableGetWhatsappBusinessEncryption200Response) IsSet() bool
- func (v NullableGetWhatsappBusinessEncryption200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetWhatsappBusinessEncryption200Response) Set(val *GetWhatsappBusinessEncryption200Response)
- func (v *NullableGetWhatsappBusinessEncryption200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetWhatsappBusinessEncryption200Response) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListBlockedUsers200Response
- func (v NullableListBlockedUsers200Response) Get() *ListBlockedUsers200Response
- func (v NullableListBlockedUsers200Response) IsSet() bool
- func (v NullableListBlockedUsers200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListBlockedUsers200Response) Set(val *ListBlockedUsers200Response)
- func (v *NullableListBlockedUsers200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListBlockedUsers200Response) Unset()
- type NullableListFlows200Response
- func (v NullableListFlows200Response) Get() *ListFlows200Response
- func (v NullableListFlows200Response) IsSet() bool
- func (v NullableListFlows200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListFlows200Response) Set(val *ListFlows200Response)
- func (v *NullableListFlows200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListFlows200Response) Unset()
- type NullableListMessages200Response
- func (v NullableListMessages200Response) Get() *ListMessages200Response
- func (v NullableListMessages200Response) IsSet() bool
- func (v NullableListMessages200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListMessages200Response) Set(val *ListMessages200Response)
- func (v *NullableListMessages200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListMessages200Response) Unset()
- type NullableListTemplates200Response
- func (v NullableListTemplates200Response) Get() *ListTemplates200Response
- func (v NullableListTemplates200Response) IsSet() bool
- func (v NullableListTemplates200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListTemplates200Response) Set(val *ListTemplates200Response)
- func (v *NullableListTemplates200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListTemplates200Response) Unset()
- type NullableMessageSentResponse
- func (v NullableMessageSentResponse) Get() *MessageSentResponse
- func (v NullableMessageSentResponse) IsSet() bool
- func (v NullableMessageSentResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMessageSentResponse) Set(val *MessageSentResponse)
- func (v *NullableMessageSentResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMessageSentResponse) Unset()
- type NullablePatchFlowsFlowIdAssets200Response
- func (v NullablePatchFlowsFlowIdAssets200Response) Get() *PatchFlowsFlowIdAssets200Response
- func (v NullablePatchFlowsFlowIdAssets200Response) IsSet() bool
- func (v NullablePatchFlowsFlowIdAssets200Response) MarshalJSON() ([]byte, error)
- func (v *NullablePatchFlowsFlowIdAssets200Response) Set(val *PatchFlowsFlowIdAssets200Response)
- func (v *NullablePatchFlowsFlowIdAssets200Response) UnmarshalJSON(src []byte) error
- func (v *NullablePatchFlowsFlowIdAssets200Response) Unset()
- type NullableProfileInfo
- func (v NullableProfileInfo) Get() *ProfileInfo
- func (v NullableProfileInfo) IsSet() bool
- func (v NullableProfileInfo) MarshalJSON() ([]byte, error)
- func (v *NullableProfileInfo) Set(val *ProfileInfo)
- func (v *NullableProfileInfo) UnmarshalJSON(src []byte) error
- func (v *NullableProfileInfo) Unset()
- type NullableRetrieveMedia200Response
- func (v NullableRetrieveMedia200Response) Get() *RetrieveMedia200Response
- func (v NullableRetrieveMedia200Response) IsSet() bool
- func (v NullableRetrieveMedia200Response) MarshalJSON() ([]byte, error)
- func (v *NullableRetrieveMedia200Response) Set(val *RetrieveMedia200Response)
- func (v *NullableRetrieveMedia200Response) UnmarshalJSON(src []byte) error
- func (v *NullableRetrieveMedia200Response) Unset()
- type NullableSendAddressMessageRequest
- func (v NullableSendAddressMessageRequest) Get() *SendAddressMessageRequest
- func (v NullableSendAddressMessageRequest) IsSet() bool
- func (v NullableSendAddressMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendAddressMessageRequest) Set(val *SendAddressMessageRequest)
- func (v *NullableSendAddressMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendAddressMessageRequest) Unset()
- type NullableSendButtonRequest
- func (v NullableSendButtonRequest) Get() *SendButtonRequest
- func (v NullableSendButtonRequest) IsSet() bool
- func (v NullableSendButtonRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendButtonRequest) Set(val *SendButtonRequest)
- func (v *NullableSendButtonRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendButtonRequest) Unset()
- type NullableSendButtonRequestSectionsInner
- func (v NullableSendButtonRequestSectionsInner) Get() *SendButtonRequestSectionsInner
- func (v NullableSendButtonRequestSectionsInner) IsSet() bool
- func (v NullableSendButtonRequestSectionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendButtonRequestSectionsInner) Set(val *SendButtonRequestSectionsInner)
- func (v *NullableSendButtonRequestSectionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendButtonRequestSectionsInner) Unset()
- type NullableSendButtonRequestSectionsInnerReply
- func (v NullableSendButtonRequestSectionsInnerReply) Get() *SendButtonRequestSectionsInnerReply
- func (v NullableSendButtonRequestSectionsInnerReply) IsSet() bool
- func (v NullableSendButtonRequestSectionsInnerReply) MarshalJSON() ([]byte, error)
- func (v *NullableSendButtonRequestSectionsInnerReply) Set(val *SendButtonRequestSectionsInnerReply)
- func (v *NullableSendButtonRequestSectionsInnerReply) UnmarshalJSON(src []byte) error
- func (v *NullableSendButtonRequestSectionsInnerReply) Unset()
- type NullableSendCarouselRequest1
- func (v NullableSendCarouselRequest1) Get() *SendCarouselRequest1
- func (v NullableSendCarouselRequest1) IsSet() bool
- func (v NullableSendCarouselRequest1) MarshalJSON() ([]byte, error)
- func (v *NullableSendCarouselRequest1) Set(val *SendCarouselRequest1)
- func (v *NullableSendCarouselRequest1) UnmarshalJSON(src []byte) error
- func (v *NullableSendCarouselRequest1) Unset()
- type NullableSendContactRequest
- func (v NullableSendContactRequest) Get() *SendContactRequest
- func (v NullableSendContactRequest) IsSet() bool
- func (v NullableSendContactRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendContactRequest) Set(val *SendContactRequest)
- func (v *NullableSendContactRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendContactRequest) Unset()
- type NullableSendContactRequestContactsInner
- func (v NullableSendContactRequestContactsInner) Get() *SendContactRequestContactsInner
- func (v NullableSendContactRequestContactsInner) IsSet() bool
- func (v NullableSendContactRequestContactsInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendContactRequestContactsInner) Set(val *SendContactRequestContactsInner)
- func (v *NullableSendContactRequestContactsInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendContactRequestContactsInner) Unset()
- type NullableSendContactRequestContactsInnerName
- func (v NullableSendContactRequestContactsInnerName) Get() *SendContactRequestContactsInnerName
- func (v NullableSendContactRequestContactsInnerName) IsSet() bool
- func (v NullableSendContactRequestContactsInnerName) MarshalJSON() ([]byte, error)
- func (v *NullableSendContactRequestContactsInnerName) Set(val *SendContactRequestContactsInnerName)
- func (v *NullableSendContactRequestContactsInnerName) UnmarshalJSON(src []byte) error
- func (v *NullableSendContactRequestContactsInnerName) Unset()
- type NullableSendContactRequestContactsInnerOrg
- func (v NullableSendContactRequestContactsInnerOrg) Get() *SendContactRequestContactsInnerOrg
- func (v NullableSendContactRequestContactsInnerOrg) IsSet() bool
- func (v NullableSendContactRequestContactsInnerOrg) MarshalJSON() ([]byte, error)
- func (v *NullableSendContactRequestContactsInnerOrg) Set(val *SendContactRequestContactsInnerOrg)
- func (v *NullableSendContactRequestContactsInnerOrg) UnmarshalJSON(src []byte) error
- func (v *NullableSendContactRequestContactsInnerOrg) Unset()
- type NullableSendContactRequestContactsInnerPhonesInner
- func (v NullableSendContactRequestContactsInnerPhonesInner) Get() *SendContactRequestContactsInnerPhonesInner
- func (v NullableSendContactRequestContactsInnerPhonesInner) IsSet() bool
- func (v NullableSendContactRequestContactsInnerPhonesInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendContactRequestContactsInnerPhonesInner) Set(val *SendContactRequestContactsInnerPhonesInner)
- func (v *NullableSendContactRequestContactsInnerPhonesInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendContactRequestContactsInnerPhonesInner) Unset()
- type NullableSendCtaUrlRequest
- func (v NullableSendCtaUrlRequest) Get() *SendCtaUrlRequest
- func (v NullableSendCtaUrlRequest) IsSet() bool
- func (v NullableSendCtaUrlRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendCtaUrlRequest) Set(val *SendCtaUrlRequest)
- func (v *NullableSendCtaUrlRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendCtaUrlRequest) Unset()
- type NullableSendFileRequest
- func (v NullableSendFileRequest) Get() *SendFileRequest
- func (v NullableSendFileRequest) IsSet() bool
- func (v NullableSendFileRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendFileRequest) Set(val *SendFileRequest)
- func (v *NullableSendFileRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendFileRequest) Unset()
- type NullableSendFlowRequest1
- func (v NullableSendFlowRequest1) Get() *SendFlowRequest1
- func (v NullableSendFlowRequest1) IsSet() bool
- func (v NullableSendFlowRequest1) MarshalJSON() ([]byte, error)
- func (v *NullableSendFlowRequest1) Set(val *SendFlowRequest1)
- func (v *NullableSendFlowRequest1) UnmarshalJSON(src []byte) error
- func (v *NullableSendFlowRequest1) Unset()
- type NullableSendFlowRequest1Header
- func (v NullableSendFlowRequest1Header) Get() *SendFlowRequest1Header
- func (v NullableSendFlowRequest1Header) IsSet() bool
- func (v NullableSendFlowRequest1Header) MarshalJSON() ([]byte, error)
- func (v *NullableSendFlowRequest1Header) Set(val *SendFlowRequest1Header)
- func (v *NullableSendFlowRequest1Header) UnmarshalJSON(src []byte) error
- func (v *NullableSendFlowRequest1Header) Unset()
- type NullableSendFlowRequestHeader
- func (v NullableSendFlowRequestHeader) Get() *SendFlowRequestHeader
- func (v NullableSendFlowRequestHeader) IsSet() bool
- func (v NullableSendFlowRequestHeader) MarshalJSON() ([]byte, error)
- func (v *NullableSendFlowRequestHeader) Set(val *SendFlowRequestHeader)
- func (v *NullableSendFlowRequestHeader) UnmarshalJSON(src []byte) error
- func (v *NullableSendFlowRequestHeader) Unset()
- type NullableSendListRequest
- func (v NullableSendListRequest) Get() *SendListRequest
- func (v NullableSendListRequest) IsSet() bool
- func (v NullableSendListRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendListRequest) Set(val *SendListRequest)
- func (v *NullableSendListRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendListRequest) Unset()
- type NullableSendListRequestSectionsInner
- func (v NullableSendListRequestSectionsInner) Get() *SendListRequestSectionsInner
- func (v NullableSendListRequestSectionsInner) IsSet() bool
- func (v NullableSendListRequestSectionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendListRequestSectionsInner) Set(val *SendListRequestSectionsInner)
- func (v *NullableSendListRequestSectionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendListRequestSectionsInner) Unset()
- type NullableSendListRequestSectionsInnerRowsInner
- func (v NullableSendListRequestSectionsInnerRowsInner) Get() *SendListRequestSectionsInnerRowsInner
- func (v NullableSendListRequestSectionsInnerRowsInner) IsSet() bool
- func (v NullableSendListRequestSectionsInnerRowsInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendListRequestSectionsInnerRowsInner) Set(val *SendListRequestSectionsInnerRowsInner)
- func (v *NullableSendListRequestSectionsInnerRowsInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendListRequestSectionsInnerRowsInner) Unset()
- type NullableSendLocationRequest1
- func (v NullableSendLocationRequest1) Get() *SendLocationRequest1
- func (v NullableSendLocationRequest1) IsSet() bool
- func (v NullableSendLocationRequest1) MarshalJSON() ([]byte, error)
- func (v *NullableSendLocationRequest1) Set(val *SendLocationRequest1)
- func (v *NullableSendLocationRequest1) UnmarshalJSON(src []byte) error
- func (v *NullableSendLocationRequest1) Unset()
- type NullableSendLocationRequestRequest
- func (v NullableSendLocationRequestRequest) Get() *SendLocationRequestRequest
- func (v NullableSendLocationRequestRequest) IsSet() bool
- func (v NullableSendLocationRequestRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendLocationRequestRequest) Set(val *SendLocationRequestRequest)
- func (v *NullableSendLocationRequestRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendLocationRequestRequest) Unset()
- type NullableSendMessageRequest
- func (v NullableSendMessageRequest) Get() *SendMessageRequest
- func (v NullableSendMessageRequest) IsSet() bool
- func (v NullableSendMessageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendMessageRequest) Set(val *SendMessageRequest)
- func (v *NullableSendMessageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendMessageRequest) Unset()
- type NullableSendOrderDetailsRequest
- func (v NullableSendOrderDetailsRequest) Get() *SendOrderDetailsRequest
- func (v NullableSendOrderDetailsRequest) IsSet() bool
- func (v NullableSendOrderDetailsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendOrderDetailsRequest) Set(val *SendOrderDetailsRequest)
- func (v *NullableSendOrderDetailsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendOrderDetailsRequest) Unset()
- type NullableSendOrderDetailsRequestLanguage
- func (v NullableSendOrderDetailsRequestLanguage) Get() *SendOrderDetailsRequestLanguage
- func (v NullableSendOrderDetailsRequestLanguage) IsSet() bool
- func (v NullableSendOrderDetailsRequestLanguage) MarshalJSON() ([]byte, error)
- func (v *NullableSendOrderDetailsRequestLanguage) Set(val *SendOrderDetailsRequestLanguage)
- func (v *NullableSendOrderDetailsRequestLanguage) UnmarshalJSON(src []byte) error
- func (v *NullableSendOrderDetailsRequestLanguage) Unset()
- type NullableSendOrderDetailsRequestOrder
- func (v NullableSendOrderDetailsRequestOrder) Get() *SendOrderDetailsRequestOrder
- func (v NullableSendOrderDetailsRequestOrder) IsSet() bool
- func (v NullableSendOrderDetailsRequestOrder) MarshalJSON() ([]byte, error)
- func (v *NullableSendOrderDetailsRequestOrder) Set(val *SendOrderDetailsRequestOrder)
- func (v *NullableSendOrderDetailsRequestOrder) UnmarshalJSON(src []byte) error
- func (v *NullableSendOrderDetailsRequestOrder) Unset()
- type NullableSendOrderDetailsRequestOrderItemsInner
- func (v NullableSendOrderDetailsRequestOrderItemsInner) Get() *SendOrderDetailsRequestOrderItemsInner
- func (v NullableSendOrderDetailsRequestOrderItemsInner) IsSet() bool
- func (v NullableSendOrderDetailsRequestOrderItemsInner) MarshalJSON() ([]byte, error)
- func (v *NullableSendOrderDetailsRequestOrderItemsInner) Set(val *SendOrderDetailsRequestOrderItemsInner)
- func (v *NullableSendOrderDetailsRequestOrderItemsInner) UnmarshalJSON(src []byte) error
- func (v *NullableSendOrderDetailsRequestOrderItemsInner) Unset()
- type NullableSendOrderDetailsRequestOrderItemsInnerAmount
- func (v NullableSendOrderDetailsRequestOrderItemsInnerAmount) Get() *SendOrderDetailsRequestOrderItemsInnerAmount
- func (v NullableSendOrderDetailsRequestOrderItemsInnerAmount) IsSet() bool
- func (v NullableSendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON() ([]byte, error)
- func (v *NullableSendOrderDetailsRequestOrderItemsInnerAmount) Set(val *SendOrderDetailsRequestOrderItemsInnerAmount)
- func (v *NullableSendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON(src []byte) error
- func (v *NullableSendOrderDetailsRequestOrderItemsInnerAmount) Unset()
- type NullableSendPaymentRequestRequest
- func (v NullableSendPaymentRequestRequest) Get() *SendPaymentRequestRequest
- func (v NullableSendPaymentRequestRequest) IsSet() bool
- func (v NullableSendPaymentRequestRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendPaymentRequestRequest) Set(val *SendPaymentRequestRequest)
- func (v *NullableSendPaymentRequestRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendPaymentRequestRequest) Unset()
- type NullableSendReactionRequest
- func (v NullableSendReactionRequest) Get() *SendReactionRequest
- func (v NullableSendReactionRequest) IsSet() bool
- func (v NullableSendReactionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendReactionRequest) Set(val *SendReactionRequest)
- func (v *NullableSendReactionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendReactionRequest) Unset()
- type NullableSendStickerRequest
- func (v NullableSendStickerRequest) Get() *SendStickerRequest
- func (v NullableSendStickerRequest) IsSet() bool
- func (v NullableSendStickerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendStickerRequest) Set(val *SendStickerRequest)
- func (v *NullableSendStickerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendStickerRequest) Unset()
- type NullableSendTemplateRequest
- func (v NullableSendTemplateRequest) Get() *SendTemplateRequest
- func (v NullableSendTemplateRequest) IsSet() bool
- func (v NullableSendTemplateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSendTemplateRequest) Set(val *SendTemplateRequest)
- func (v *NullableSendTemplateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSendTemplateRequest) Unset()
- type NullableSendTemplateRequestLanguage
- func (v NullableSendTemplateRequestLanguage) Get() *SendTemplateRequestLanguage
- func (v NullableSendTemplateRequestLanguage) IsSet() bool
- func (v NullableSendTemplateRequestLanguage) MarshalJSON() ([]byte, error)
- func (v *NullableSendTemplateRequestLanguage) Set(val *SendTemplateRequestLanguage)
- func (v *NullableSendTemplateRequestLanguage) UnmarshalJSON(src []byte) error
- func (v *NullableSendTemplateRequestLanguage) Unset()
- type NullableSetWhatsappBusinessEncryptionRequest
- func (v NullableSetWhatsappBusinessEncryptionRequest) Get() *SetWhatsappBusinessEncryptionRequest
- func (v NullableSetWhatsappBusinessEncryptionRequest) IsSet() bool
- func (v NullableSetWhatsappBusinessEncryptionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSetWhatsappBusinessEncryptionRequest) Set(val *SetWhatsappBusinessEncryptionRequest)
- func (v *NullableSetWhatsappBusinessEncryptionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSetWhatsappBusinessEncryptionRequest) Unset()
- type NullableString
- type NullableSuccessResponse
- func (v NullableSuccessResponse) Get() *SuccessResponse
- func (v NullableSuccessResponse) IsSet() bool
- func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSuccessResponse) Set(val *SuccessResponse)
- func (v *NullableSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSuccessResponse) Unset()
- type NullableTime
- type NullableUpdateMeRequest
- func (v NullableUpdateMeRequest) Get() *UpdateMeRequest
- func (v NullableUpdateMeRequest) IsSet() bool
- func (v NullableUpdateMeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateMeRequest) Set(val *UpdateMeRequest)
- func (v *NullableUpdateMeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateMeRequest) Unset()
- type PatchFlowsFlowIdAssets200Response
- func (o *PatchFlowsFlowIdAssets200Response) GetError() interface{}
- func (o *PatchFlowsFlowIdAssets200Response) GetErrorOk() (*interface{}, bool)
- func (o *PatchFlowsFlowIdAssets200Response) GetSuccess() bool
- func (o *PatchFlowsFlowIdAssets200Response) GetSuccessOk() (*bool, bool)
- func (o *PatchFlowsFlowIdAssets200Response) GetValidationErrors() []map[string]interface{}
- func (o *PatchFlowsFlowIdAssets200Response) GetValidationErrorsOk() ([]map[string]interface{}, bool)
- func (o *PatchFlowsFlowIdAssets200Response) HasError() bool
- func (o *PatchFlowsFlowIdAssets200Response) HasSuccess() bool
- func (o *PatchFlowsFlowIdAssets200Response) HasValidationErrors() bool
- func (o PatchFlowsFlowIdAssets200Response) MarshalJSON() ([]byte, error)
- func (o *PatchFlowsFlowIdAssets200Response) SetError(v interface{})
- func (o *PatchFlowsFlowIdAssets200Response) SetSuccess(v bool)
- func (o *PatchFlowsFlowIdAssets200Response) SetValidationErrors(v []map[string]interface{})
- func (o PatchFlowsFlowIdAssets200Response) ToMap() (map[string]interface{}, error)
- func (o *PatchFlowsFlowIdAssets200Response) UnmarshalJSON(data []byte) (err error)
- type ProfileAPIService
- func (a *ProfileAPIService) GetMe(ctx context.Context) ApiGetMeRequest
- func (a *ProfileAPIService) GetMeExecute(r ApiGetMeRequest) (*ProfileInfo, *http.Response, error)
- func (a *ProfileAPIService) UpdateMe(ctx context.Context) ApiUpdateMeRequest
- func (a *ProfileAPIService) UpdateMeExecute(r ApiUpdateMeRequest) (map[string]interface{}, *http.Response, error)
- type ProfileInfo
- func (o *ProfileInfo) GetAbout() string
- func (o *ProfileInfo) GetAboutOk() (*string, bool)
- func (o *ProfileInfo) GetAddress() string
- func (o *ProfileInfo) GetAddressOk() (*string, bool)
- func (o *ProfileInfo) GetDescription() string
- func (o *ProfileInfo) GetDescriptionOk() (*string, bool)
- func (o *ProfileInfo) GetEmail() string
- func (o *ProfileInfo) GetEmailOk() (*string, bool)
- func (o *ProfileInfo) GetPhone() string
- func (o *ProfileInfo) GetPhoneOk() (*string, bool)
- func (o *ProfileInfo) GetPhoto() string
- func (o *ProfileInfo) GetPhotoOk() (*string, bool)
- func (o *ProfileInfo) GetVertical() string
- func (o *ProfileInfo) GetVerticalOk() (*string, bool)
- func (o *ProfileInfo) GetWebsites() []string
- func (o *ProfileInfo) GetWebsitesOk() ([]string, bool)
- func (o *ProfileInfo) HasAbout() bool
- func (o *ProfileInfo) HasAddress() bool
- func (o *ProfileInfo) HasDescription() bool
- func (o *ProfileInfo) HasEmail() bool
- func (o *ProfileInfo) HasPhone() bool
- func (o *ProfileInfo) HasPhoto() bool
- func (o *ProfileInfo) HasVertical() bool
- func (o *ProfileInfo) HasWebsites() bool
- func (o ProfileInfo) MarshalJSON() ([]byte, error)
- func (o *ProfileInfo) SetAbout(v string)
- func (o *ProfileInfo) SetAddress(v string)
- func (o *ProfileInfo) SetDescription(v string)
- func (o *ProfileInfo) SetEmail(v string)
- func (o *ProfileInfo) SetPhone(v string)
- func (o *ProfileInfo) SetPhoto(v string)
- func (o *ProfileInfo) SetVertical(v string)
- func (o *ProfileInfo) SetWebsites(v []string)
- func (o ProfileInfo) ToMap() (map[string]interface{}, error)
- func (o *ProfileInfo) UnmarshalJSON(data []byte) (err error)
- type RetrieveMedia200Response
- func (o *RetrieveMedia200Response) GetFileSize() int32
- func (o *RetrieveMedia200Response) GetFileSizeOk() (*int32, bool)
- func (o *RetrieveMedia200Response) GetId() string
- func (o *RetrieveMedia200Response) GetIdOk() (*string, bool)
- func (o *RetrieveMedia200Response) GetMimeType() string
- func (o *RetrieveMedia200Response) GetMimeTypeOk() (*string, bool)
- func (o *RetrieveMedia200Response) GetSha256() string
- func (o *RetrieveMedia200Response) GetSha256Ok() (*string, bool)
- func (o *RetrieveMedia200Response) GetUrl() string
- func (o *RetrieveMedia200Response) GetUrlOk() (*string, bool)
- func (o *RetrieveMedia200Response) HasFileSize() bool
- func (o *RetrieveMedia200Response) HasId() bool
- func (o *RetrieveMedia200Response) HasMimeType() bool
- func (o *RetrieveMedia200Response) HasSha256() bool
- func (o *RetrieveMedia200Response) HasUrl() bool
- func (o RetrieveMedia200Response) MarshalJSON() ([]byte, error)
- func (o *RetrieveMedia200Response) SetFileSize(v int32)
- func (o *RetrieveMedia200Response) SetId(v string)
- func (o *RetrieveMedia200Response) SetMimeType(v string)
- func (o *RetrieveMedia200Response) SetSha256(v string)
- func (o *RetrieveMedia200Response) SetUrl(v string)
- func (o RetrieveMedia200Response) ToMap() (map[string]interface{}, error)
- func (o *RetrieveMedia200Response) UnmarshalJSON(data []byte) (err error)
- type SendAddressMessageRequest
- func (o *SendAddressMessageRequest) GetBody() string
- func (o *SendAddressMessageRequest) GetBodyOk() (*string, bool)
- func (o *SendAddressMessageRequest) GetChatId() string
- func (o *SendAddressMessageRequest) GetChatIdOk() (*string, bool)
- func (o *SendAddressMessageRequest) GetCountry() string
- func (o *SendAddressMessageRequest) GetCountryOk() (*string, bool)
- func (o *SendAddressMessageRequest) GetPhone() int32
- func (o *SendAddressMessageRequest) GetPhoneOk() (*int32, bool)
- func (o *SendAddressMessageRequest) GetQuotedMsgId() string
- func (o *SendAddressMessageRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendAddressMessageRequest) GetSavedAddresses() []map[string]interface{}
- func (o *SendAddressMessageRequest) GetSavedAddressesOk() ([]map[string]interface{}, bool)
- func (o *SendAddressMessageRequest) GetValidationErrors() map[string]interface{}
- func (o *SendAddressMessageRequest) GetValidationErrorsOk() (map[string]interface{}, bool)
- func (o *SendAddressMessageRequest) GetValues() map[string]interface{}
- func (o *SendAddressMessageRequest) GetValuesOk() (map[string]interface{}, bool)
- func (o *SendAddressMessageRequest) HasChatId() bool
- func (o *SendAddressMessageRequest) HasCountry() bool
- func (o *SendAddressMessageRequest) HasPhone() bool
- func (o *SendAddressMessageRequest) HasQuotedMsgId() bool
- func (o *SendAddressMessageRequest) HasSavedAddresses() bool
- func (o *SendAddressMessageRequest) HasValidationErrors() bool
- func (o *SendAddressMessageRequest) HasValues() bool
- func (o SendAddressMessageRequest) MarshalJSON() ([]byte, error)
- func (o *SendAddressMessageRequest) SetBody(v string)
- func (o *SendAddressMessageRequest) SetChatId(v string)
- func (o *SendAddressMessageRequest) SetCountry(v string)
- func (o *SendAddressMessageRequest) SetPhone(v int32)
- func (o *SendAddressMessageRequest) SetQuotedMsgId(v string)
- func (o *SendAddressMessageRequest) SetSavedAddresses(v []map[string]interface{})
- func (o *SendAddressMessageRequest) SetValidationErrors(v map[string]interface{})
- func (o *SendAddressMessageRequest) SetValues(v map[string]interface{})
- func (o SendAddressMessageRequest) ToMap() (map[string]interface{}, error)
- func (o *SendAddressMessageRequest) UnmarshalJSON(data []byte) (err error)
- type SendButtonRequest
- func (o *SendButtonRequest) GetBody() string
- func (o *SendButtonRequest) GetBodyOk() (*string, bool)
- func (o *SendButtonRequest) GetFooter() string
- func (o *SendButtonRequest) GetFooterOk() (*string, bool)
- func (o *SendButtonRequest) GetPhone() string
- func (o *SendButtonRequest) GetPhoneOk() (*string, bool)
- func (o *SendButtonRequest) GetSections() []SendButtonRequestSectionsInner
- func (o *SendButtonRequest) GetSectionsOk() ([]SendButtonRequestSectionsInner, bool)
- func (o *SendButtonRequest) HasBody() bool
- func (o *SendButtonRequest) HasFooter() bool
- func (o *SendButtonRequest) HasPhone() bool
- func (o *SendButtonRequest) HasSections() bool
- func (o SendButtonRequest) MarshalJSON() ([]byte, error)
- func (o *SendButtonRequest) SetBody(v string)
- func (o *SendButtonRequest) SetFooter(v string)
- func (o *SendButtonRequest) SetPhone(v string)
- func (o *SendButtonRequest) SetSections(v []SendButtonRequestSectionsInner)
- func (o SendButtonRequest) ToMap() (map[string]interface{}, error)
- type SendButtonRequestSectionsInner
- func (o *SendButtonRequestSectionsInner) GetReply() SendButtonRequestSectionsInnerReply
- func (o *SendButtonRequestSectionsInner) GetReplyOk() (*SendButtonRequestSectionsInnerReply, bool)
- func (o *SendButtonRequestSectionsInner) GetType() string
- func (o *SendButtonRequestSectionsInner) GetTypeOk() (*string, bool)
- func (o *SendButtonRequestSectionsInner) HasReply() bool
- func (o *SendButtonRequestSectionsInner) HasType() bool
- func (o SendButtonRequestSectionsInner) MarshalJSON() ([]byte, error)
- func (o *SendButtonRequestSectionsInner) SetReply(v SendButtonRequestSectionsInnerReply)
- func (o *SendButtonRequestSectionsInner) SetType(v string)
- func (o SendButtonRequestSectionsInner) ToMap() (map[string]interface{}, error)
- type SendButtonRequestSectionsInnerReply
- func (o *SendButtonRequestSectionsInnerReply) GetId() string
- func (o *SendButtonRequestSectionsInnerReply) GetIdOk() (*string, bool)
- func (o *SendButtonRequestSectionsInnerReply) GetTitle() string
- func (o *SendButtonRequestSectionsInnerReply) GetTitleOk() (*string, bool)
- func (o *SendButtonRequestSectionsInnerReply) HasId() bool
- func (o *SendButtonRequestSectionsInnerReply) HasTitle() bool
- func (o SendButtonRequestSectionsInnerReply) MarshalJSON() ([]byte, error)
- func (o *SendButtonRequestSectionsInnerReply) SetId(v string)
- func (o *SendButtonRequestSectionsInnerReply) SetTitle(v string)
- func (o SendButtonRequestSectionsInnerReply) ToMap() (map[string]interface{}, error)
- type SendCarouselRequest1
- func (o *SendCarouselRequest1) GetBody() string
- func (o *SendCarouselRequest1) GetBodyOk() (*string, bool)
- func (o *SendCarouselRequest1) GetChatId() string
- func (o *SendCarouselRequest1) GetChatIdOk() (*string, bool)
- func (o *SendCarouselRequest1) GetParams() []map[string]interface{}
- func (o *SendCarouselRequest1) GetParamsOk() ([]map[string]interface{}, bool)
- func (o *SendCarouselRequest1) GetPhone() int32
- func (o *SendCarouselRequest1) GetPhoneOk() (*int32, bool)
- func (o *SendCarouselRequest1) GetQuotedMsgId() string
- func (o *SendCarouselRequest1) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendCarouselRequest1) HasBody() bool
- func (o *SendCarouselRequest1) HasChatId() bool
- func (o *SendCarouselRequest1) HasPhone() bool
- func (o *SendCarouselRequest1) HasQuotedMsgId() bool
- func (o SendCarouselRequest1) MarshalJSON() ([]byte, error)
- func (o *SendCarouselRequest1) SetBody(v string)
- func (o *SendCarouselRequest1) SetChatId(v string)
- func (o *SendCarouselRequest1) SetParams(v []map[string]interface{})
- func (o *SendCarouselRequest1) SetPhone(v int32)
- func (o *SendCarouselRequest1) SetQuotedMsgId(v string)
- func (o SendCarouselRequest1) ToMap() (map[string]interface{}, error)
- func (o *SendCarouselRequest1) UnmarshalJSON(data []byte) (err error)
- type SendContactRequest
- func (o *SendContactRequest) GetContacts() []SendContactRequestContactsInner
- func (o *SendContactRequest) GetContactsOk() ([]SendContactRequestContactsInner, bool)
- func (o *SendContactRequest) GetPhone() string
- func (o *SendContactRequest) GetPhoneOk() (*string, bool)
- func (o *SendContactRequest) HasContacts() bool
- func (o *SendContactRequest) HasPhone() bool
- func (o SendContactRequest) MarshalJSON() ([]byte, error)
- func (o *SendContactRequest) SetContacts(v []SendContactRequestContactsInner)
- func (o *SendContactRequest) SetPhone(v string)
- func (o SendContactRequest) ToMap() (map[string]interface{}, error)
- type SendContactRequestContactsInner
- func (o *SendContactRequestContactsInner) GetAddresses() []interface{}
- func (o *SendContactRequestContactsInner) GetAddressesOk() ([]interface{}, bool)
- func (o *SendContactRequestContactsInner) GetBirthday() string
- func (o *SendContactRequestContactsInner) GetBirthdayOk() (*string, bool)
- func (o *SendContactRequestContactsInner) GetEmails() []interface{}
- func (o *SendContactRequestContactsInner) GetEmailsOk() ([]interface{}, bool)
- func (o *SendContactRequestContactsInner) GetName() SendContactRequestContactsInnerName
- func (o *SendContactRequestContactsInner) GetNameOk() (*SendContactRequestContactsInnerName, bool)
- func (o *SendContactRequestContactsInner) GetOrg() SendContactRequestContactsInnerOrg
- func (o *SendContactRequestContactsInner) GetOrgOk() (*SendContactRequestContactsInnerOrg, bool)
- func (o *SendContactRequestContactsInner) GetPhones() []SendContactRequestContactsInnerPhonesInner
- func (o *SendContactRequestContactsInner) GetPhonesOk() ([]SendContactRequestContactsInnerPhonesInner, bool)
- func (o *SendContactRequestContactsInner) GetUrls() []interface{}
- func (o *SendContactRequestContactsInner) GetUrlsOk() ([]interface{}, bool)
- func (o *SendContactRequestContactsInner) HasAddresses() bool
- func (o *SendContactRequestContactsInner) HasBirthday() bool
- func (o *SendContactRequestContactsInner) HasEmails() bool
- func (o *SendContactRequestContactsInner) HasName() bool
- func (o *SendContactRequestContactsInner) HasOrg() bool
- func (o *SendContactRequestContactsInner) HasPhones() bool
- func (o *SendContactRequestContactsInner) HasUrls() bool
- func (o SendContactRequestContactsInner) MarshalJSON() ([]byte, error)
- func (o *SendContactRequestContactsInner) SetAddresses(v []interface{})
- func (o *SendContactRequestContactsInner) SetBirthday(v string)
- func (o *SendContactRequestContactsInner) SetEmails(v []interface{})
- func (o *SendContactRequestContactsInner) SetName(v SendContactRequestContactsInnerName)
- func (o *SendContactRequestContactsInner) SetOrg(v SendContactRequestContactsInnerOrg)
- func (o *SendContactRequestContactsInner) SetPhones(v []SendContactRequestContactsInnerPhonesInner)
- func (o *SendContactRequestContactsInner) SetUrls(v []interface{})
- func (o SendContactRequestContactsInner) ToMap() (map[string]interface{}, error)
- type SendContactRequestContactsInnerName
- func (o *SendContactRequestContactsInnerName) GetFirstName() string
- func (o *SendContactRequestContactsInnerName) GetFirstNameOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) GetFormattedName() string
- func (o *SendContactRequestContactsInnerName) GetFormattedNameOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) GetLastName() string
- func (o *SendContactRequestContactsInnerName) GetLastNameOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) GetMiddleName() string
- func (o *SendContactRequestContactsInnerName) GetMiddleNameOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) GetPrefix() string
- func (o *SendContactRequestContactsInnerName) GetPrefixOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) GetSuffix() string
- func (o *SendContactRequestContactsInnerName) GetSuffixOk() (*string, bool)
- func (o *SendContactRequestContactsInnerName) HasFirstName() bool
- func (o *SendContactRequestContactsInnerName) HasFormattedName() bool
- func (o *SendContactRequestContactsInnerName) HasLastName() bool
- func (o *SendContactRequestContactsInnerName) HasMiddleName() bool
- func (o *SendContactRequestContactsInnerName) HasPrefix() bool
- func (o *SendContactRequestContactsInnerName) HasSuffix() bool
- func (o SendContactRequestContactsInnerName) MarshalJSON() ([]byte, error)
- func (o *SendContactRequestContactsInnerName) SetFirstName(v string)
- func (o *SendContactRequestContactsInnerName) SetFormattedName(v string)
- func (o *SendContactRequestContactsInnerName) SetLastName(v string)
- func (o *SendContactRequestContactsInnerName) SetMiddleName(v string)
- func (o *SendContactRequestContactsInnerName) SetPrefix(v string)
- func (o *SendContactRequestContactsInnerName) SetSuffix(v string)
- func (o SendContactRequestContactsInnerName) ToMap() (map[string]interface{}, error)
- type SendContactRequestContactsInnerOrg
- func (o *SendContactRequestContactsInnerOrg) GetCompany() string
- func (o *SendContactRequestContactsInnerOrg) GetCompanyOk() (*string, bool)
- func (o *SendContactRequestContactsInnerOrg) GetDepartment() string
- func (o *SendContactRequestContactsInnerOrg) GetDepartmentOk() (*string, bool)
- func (o *SendContactRequestContactsInnerOrg) GetTitle() string
- func (o *SendContactRequestContactsInnerOrg) GetTitleOk() (*string, bool)
- func (o *SendContactRequestContactsInnerOrg) HasCompany() bool
- func (o *SendContactRequestContactsInnerOrg) HasDepartment() bool
- func (o *SendContactRequestContactsInnerOrg) HasTitle() bool
- func (o SendContactRequestContactsInnerOrg) MarshalJSON() ([]byte, error)
- func (o *SendContactRequestContactsInnerOrg) SetCompany(v string)
- func (o *SendContactRequestContactsInnerOrg) SetDepartment(v string)
- func (o *SendContactRequestContactsInnerOrg) SetTitle(v string)
- func (o SendContactRequestContactsInnerOrg) ToMap() (map[string]interface{}, error)
- type SendContactRequestContactsInnerPhonesInner
- func (o *SendContactRequestContactsInnerPhonesInner) GetPhone() string
- func (o *SendContactRequestContactsInnerPhonesInner) GetPhoneOk() (*string, bool)
- func (o *SendContactRequestContactsInnerPhonesInner) GetType() string
- func (o *SendContactRequestContactsInnerPhonesInner) GetTypeOk() (*string, bool)
- func (o *SendContactRequestContactsInnerPhonesInner) GetWaId() string
- func (o *SendContactRequestContactsInnerPhonesInner) GetWaIdOk() (*string, bool)
- func (o *SendContactRequestContactsInnerPhonesInner) HasPhone() bool
- func (o *SendContactRequestContactsInnerPhonesInner) HasType() bool
- func (o *SendContactRequestContactsInnerPhonesInner) HasWaId() bool
- func (o SendContactRequestContactsInnerPhonesInner) MarshalJSON() ([]byte, error)
- func (o *SendContactRequestContactsInnerPhonesInner) SetPhone(v string)
- func (o *SendContactRequestContactsInnerPhonesInner) SetType(v string)
- func (o *SendContactRequestContactsInnerPhonesInner) SetWaId(v string)
- func (o SendContactRequestContactsInnerPhonesInner) ToMap() (map[string]interface{}, error)
- type SendCtaUrlRequest
- func (o *SendCtaUrlRequest) GetBody() string
- func (o *SendCtaUrlRequest) GetBodyOk() (*string, bool)
- func (o *SendCtaUrlRequest) GetChatId() string
- func (o *SendCtaUrlRequest) GetChatIdOk() (*string, bool)
- func (o *SendCtaUrlRequest) GetDisplayText() string
- func (o *SendCtaUrlRequest) GetDisplayTextOk() (*string, bool)
- func (o *SendCtaUrlRequest) GetFooter() string
- func (o *SendCtaUrlRequest) GetFooterOk() (*string, bool)
- func (o *SendCtaUrlRequest) GetHeader() map[string]interface{}
- func (o *SendCtaUrlRequest) GetHeaderOk() (map[string]interface{}, bool)
- func (o *SendCtaUrlRequest) GetPhone() int32
- func (o *SendCtaUrlRequest) GetPhoneOk() (*int32, bool)
- func (o *SendCtaUrlRequest) GetQuotedMsgId() string
- func (o *SendCtaUrlRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendCtaUrlRequest) GetUrl() string
- func (o *SendCtaUrlRequest) GetUrlOk() (*string, bool)
- func (o *SendCtaUrlRequest) HasChatId() bool
- func (o *SendCtaUrlRequest) HasFooter() bool
- func (o *SendCtaUrlRequest) HasHeader() bool
- func (o *SendCtaUrlRequest) HasPhone() bool
- func (o *SendCtaUrlRequest) HasQuotedMsgId() bool
- func (o SendCtaUrlRequest) MarshalJSON() ([]byte, error)
- func (o *SendCtaUrlRequest) SetBody(v string)
- func (o *SendCtaUrlRequest) SetChatId(v string)
- func (o *SendCtaUrlRequest) SetDisplayText(v string)
- func (o *SendCtaUrlRequest) SetFooter(v string)
- func (o *SendCtaUrlRequest) SetHeader(v map[string]interface{})
- func (o *SendCtaUrlRequest) SetPhone(v int32)
- func (o *SendCtaUrlRequest) SetQuotedMsgId(v string)
- func (o *SendCtaUrlRequest) SetUrl(v string)
- func (o SendCtaUrlRequest) ToMap() (map[string]interface{}, error)
- func (o *SendCtaUrlRequest) UnmarshalJSON(data []byte) (err error)
- type SendFileRequest
- func (o *SendFileRequest) GetBody() string
- func (o *SendFileRequest) GetBodyOk() (*string, bool)
- func (o *SendFileRequest) GetCaption() string
- func (o *SendFileRequest) GetCaptionOk() (*string, bool)
- func (o *SendFileRequest) GetChatId() string
- func (o *SendFileRequest) GetChatIdOk() (*string, bool)
- func (o *SendFileRequest) GetFilename() string
- func (o *SendFileRequest) GetFilenameOk() (*string, bool)
- func (o *SendFileRequest) GetMediaId() string
- func (o *SendFileRequest) GetMediaIdOk() (*string, bool)
- func (o *SendFileRequest) GetMediaType() string
- func (o *SendFileRequest) GetMediaTypeOk() (*string, bool)
- func (o *SendFileRequest) GetPhone() int32
- func (o *SendFileRequest) GetPhoneOk() (*int32, bool)
- func (o *SendFileRequest) GetQuotedMsgId() string
- func (o *SendFileRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendFileRequest) GetVoice() bool
- func (o *SendFileRequest) GetVoiceOk() (*bool, bool)
- func (o *SendFileRequest) HasBody() bool
- func (o *SendFileRequest) HasCaption() bool
- func (o *SendFileRequest) HasChatId() bool
- func (o *SendFileRequest) HasFilename() bool
- func (o *SendFileRequest) HasMediaId() bool
- func (o *SendFileRequest) HasMediaType() bool
- func (o *SendFileRequest) HasPhone() bool
- func (o *SendFileRequest) HasQuotedMsgId() bool
- func (o *SendFileRequest) HasVoice() bool
- func (o SendFileRequest) MarshalJSON() ([]byte, error)
- func (o *SendFileRequest) SetBody(v string)
- func (o *SendFileRequest) SetCaption(v string)
- func (o *SendFileRequest) SetChatId(v string)
- func (o *SendFileRequest) SetFilename(v string)
- func (o *SendFileRequest) SetMediaId(v string)
- func (o *SendFileRequest) SetMediaType(v string)
- func (o *SendFileRequest) SetPhone(v int32)
- func (o *SendFileRequest) SetQuotedMsgId(v string)
- func (o *SendFileRequest) SetVoice(v bool)
- func (o SendFileRequest) ToMap() (map[string]interface{}, error)
- func (o *SendFileRequest) UnmarshalJSON(data []byte) (err error)
- type SendFlowRequest1
- func (o *SendFlowRequest1) GetBody() string
- func (o *SendFlowRequest1) GetBodyOk() (*string, bool)
- func (o *SendFlowRequest1) GetChatId() string
- func (o *SendFlowRequest1) GetChatIdOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowAction() string
- func (o *SendFlowRequest1) GetFlowActionData() map[string]interface{}
- func (o *SendFlowRequest1) GetFlowActionDataOk() (map[string]interface{}, bool)
- func (o *SendFlowRequest1) GetFlowActionOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowActionPayload() map[string]interface{}
- func (o *SendFlowRequest1) GetFlowActionPayloadOk() (map[string]interface{}, bool)
- func (o *SendFlowRequest1) GetFlowActionScreen() string
- func (o *SendFlowRequest1) GetFlowActionScreenOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowCta() string
- func (o *SendFlowRequest1) GetFlowCtaOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowId() string
- func (o *SendFlowRequest1) GetFlowIdOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowMessageVersion() string
- func (o *SendFlowRequest1) GetFlowMessageVersionOk() (*string, bool)
- func (o *SendFlowRequest1) GetFlowToken() string
- func (o *SendFlowRequest1) GetFlowTokenOk() (*string, bool)
- func (o *SendFlowRequest1) GetFooter() string
- func (o *SendFlowRequest1) GetFooterOk() (*string, bool)
- func (o *SendFlowRequest1) GetHeader() SendFlowRequest1Header
- func (o *SendFlowRequest1) GetHeaderOk() (*SendFlowRequest1Header, bool)
- func (o *SendFlowRequest1) GetMode() string
- func (o *SendFlowRequest1) GetModeOk() (*string, bool)
- func (o *SendFlowRequest1) GetPhone() int32
- func (o *SendFlowRequest1) GetPhoneOk() (*int32, bool)
- func (o *SendFlowRequest1) GetQuotedMsgId() string
- func (o *SendFlowRequest1) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendFlowRequest1) HasChatId() bool
- func (o *SendFlowRequest1) HasFlowAction() bool
- func (o *SendFlowRequest1) HasFlowActionData() bool
- func (o *SendFlowRequest1) HasFlowActionPayload() bool
- func (o *SendFlowRequest1) HasFlowActionScreen() bool
- func (o *SendFlowRequest1) HasFlowMessageVersion() bool
- func (o *SendFlowRequest1) HasFooter() bool
- func (o *SendFlowRequest1) HasHeader() bool
- func (o *SendFlowRequest1) HasMode() bool
- func (o *SendFlowRequest1) HasPhone() bool
- func (o *SendFlowRequest1) HasQuotedMsgId() bool
- func (o SendFlowRequest1) MarshalJSON() ([]byte, error)
- func (o *SendFlowRequest1) SetBody(v string)
- func (o *SendFlowRequest1) SetChatId(v string)
- func (o *SendFlowRequest1) SetFlowAction(v string)
- func (o *SendFlowRequest1) SetFlowActionData(v map[string]interface{})
- func (o *SendFlowRequest1) SetFlowActionPayload(v map[string]interface{})
- func (o *SendFlowRequest1) SetFlowActionScreen(v string)
- func (o *SendFlowRequest1) SetFlowCta(v string)
- func (o *SendFlowRequest1) SetFlowId(v string)
- func (o *SendFlowRequest1) SetFlowMessageVersion(v string)
- func (o *SendFlowRequest1) SetFlowToken(v string)
- func (o *SendFlowRequest1) SetFooter(v string)
- func (o *SendFlowRequest1) SetHeader(v SendFlowRequest1Header)
- func (o *SendFlowRequest1) SetMode(v string)
- func (o *SendFlowRequest1) SetPhone(v int32)
- func (o *SendFlowRequest1) SetQuotedMsgId(v string)
- func (o SendFlowRequest1) ToMap() (map[string]interface{}, error)
- func (o *SendFlowRequest1) UnmarshalJSON(data []byte) (err error)
- type SendFlowRequest1Header
- type SendFlowRequestHeader
- type SendListRequest
- func (o *SendListRequest) GetAction() string
- func (o *SendListRequest) GetActionOk() (*string, bool)
- func (o *SendListRequest) GetBody() string
- func (o *SendListRequest) GetBodyOk() (*string, bool)
- func (o *SendListRequest) GetButtonText() string
- func (o *SendListRequest) GetButtonTextOk() (*string, bool)
- func (o *SendListRequest) GetPhone() string
- func (o *SendListRequest) GetPhoneOk() (*string, bool)
- func (o *SendListRequest) GetSections() []SendListRequestSectionsInner
- func (o *SendListRequest) GetSectionsOk() ([]SendListRequestSectionsInner, bool)
- func (o *SendListRequest) HasAction() bool
- func (o *SendListRequest) HasBody() bool
- func (o *SendListRequest) HasButtonText() bool
- func (o *SendListRequest) HasPhone() bool
- func (o *SendListRequest) HasSections() bool
- func (o SendListRequest) MarshalJSON() ([]byte, error)
- func (o *SendListRequest) SetAction(v string)
- func (o *SendListRequest) SetBody(v string)
- func (o *SendListRequest) SetButtonText(v string)
- func (o *SendListRequest) SetPhone(v string)
- func (o *SendListRequest) SetSections(v []SendListRequestSectionsInner)
- func (o SendListRequest) ToMap() (map[string]interface{}, error)
- type SendListRequestSectionsInner
- func (o *SendListRequestSectionsInner) GetRows() []SendListRequestSectionsInnerRowsInner
- func (o *SendListRequestSectionsInner) GetRowsOk() ([]SendListRequestSectionsInnerRowsInner, bool)
- func (o *SendListRequestSectionsInner) GetTitle() string
- func (o *SendListRequestSectionsInner) GetTitleOk() (*string, bool)
- func (o *SendListRequestSectionsInner) HasRows() bool
- func (o *SendListRequestSectionsInner) HasTitle() bool
- func (o SendListRequestSectionsInner) MarshalJSON() ([]byte, error)
- func (o *SendListRequestSectionsInner) SetRows(v []SendListRequestSectionsInnerRowsInner)
- func (o *SendListRequestSectionsInner) SetTitle(v string)
- func (o SendListRequestSectionsInner) ToMap() (map[string]interface{}, error)
- type SendListRequestSectionsInnerRowsInner
- func (o *SendListRequestSectionsInnerRowsInner) GetDescription() string
- func (o *SendListRequestSectionsInnerRowsInner) GetDescriptionOk() (*string, bool)
- func (o *SendListRequestSectionsInnerRowsInner) GetId() string
- func (o *SendListRequestSectionsInnerRowsInner) GetIdOk() (*string, bool)
- func (o *SendListRequestSectionsInnerRowsInner) GetTitle() string
- func (o *SendListRequestSectionsInnerRowsInner) GetTitleOk() (*string, bool)
- func (o *SendListRequestSectionsInnerRowsInner) HasDescription() bool
- func (o *SendListRequestSectionsInnerRowsInner) HasId() bool
- func (o *SendListRequestSectionsInnerRowsInner) HasTitle() bool
- func (o SendListRequestSectionsInnerRowsInner) MarshalJSON() ([]byte, error)
- func (o *SendListRequestSectionsInnerRowsInner) SetDescription(v string)
- func (o *SendListRequestSectionsInnerRowsInner) SetId(v string)
- func (o *SendListRequestSectionsInnerRowsInner) SetTitle(v string)
- func (o SendListRequestSectionsInnerRowsInner) ToMap() (map[string]interface{}, error)
- type SendLocationRequest1
- func (o *SendLocationRequest1) GetAddress() string
- func (o *SendLocationRequest1) GetAddressOk() (*string, bool)
- func (o *SendLocationRequest1) GetChatId() string
- func (o *SendLocationRequest1) GetChatIdOk() (*string, bool)
- func (o *SendLocationRequest1) GetLat() string
- func (o *SendLocationRequest1) GetLatOk() (*string, bool)
- func (o *SendLocationRequest1) GetLng() string
- func (o *SendLocationRequest1) GetLngOk() (*string, bool)
- func (o *SendLocationRequest1) GetName() string
- func (o *SendLocationRequest1) GetNameOk() (*string, bool)
- func (o *SendLocationRequest1) GetPhone() int32
- func (o *SendLocationRequest1) GetPhoneOk() (*int32, bool)
- func (o *SendLocationRequest1) GetQuotedMsgId() string
- func (o *SendLocationRequest1) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendLocationRequest1) HasAddress() bool
- func (o *SendLocationRequest1) HasChatId() bool
- func (o *SendLocationRequest1) HasName() bool
- func (o *SendLocationRequest1) HasPhone() bool
- func (o *SendLocationRequest1) HasQuotedMsgId() bool
- func (o SendLocationRequest1) MarshalJSON() ([]byte, error)
- func (o *SendLocationRequest1) SetAddress(v string)
- func (o *SendLocationRequest1) SetChatId(v string)
- func (o *SendLocationRequest1) SetLat(v string)
- func (o *SendLocationRequest1) SetLng(v string)
- func (o *SendLocationRequest1) SetName(v string)
- func (o *SendLocationRequest1) SetPhone(v int32)
- func (o *SendLocationRequest1) SetQuotedMsgId(v string)
- func (o SendLocationRequest1) ToMap() (map[string]interface{}, error)
- func (o *SendLocationRequest1) UnmarshalJSON(data []byte) (err error)
- type SendLocationRequestRequest
- func (o *SendLocationRequestRequest) GetBody() string
- func (o *SendLocationRequestRequest) GetBodyOk() (*string, bool)
- func (o *SendLocationRequestRequest) GetPhone() string
- func (o *SendLocationRequestRequest) GetPhoneOk() (*string, bool)
- func (o *SendLocationRequestRequest) HasBody() bool
- func (o *SendLocationRequestRequest) HasPhone() bool
- func (o SendLocationRequestRequest) MarshalJSON() ([]byte, error)
- func (o *SendLocationRequestRequest) SetBody(v string)
- func (o *SendLocationRequestRequest) SetPhone(v string)
- func (o SendLocationRequestRequest) ToMap() (map[string]interface{}, error)
- type SendMessageRequest
- func (o *SendMessageRequest) GetBody() string
- func (o *SendMessageRequest) GetBodyOk() (*string, bool)
- func (o *SendMessageRequest) GetChatId() string
- func (o *SendMessageRequest) GetChatIdOk() (*string, bool)
- func (o *SendMessageRequest) GetPhone() int32
- func (o *SendMessageRequest) GetPhoneOk() (*int32, bool)
- func (o *SendMessageRequest) GetQuotedMsgId() string
- func (o *SendMessageRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendMessageRequest) HasChatId() bool
- func (o *SendMessageRequest) HasPhone() bool
- func (o *SendMessageRequest) HasQuotedMsgId() bool
- func (o SendMessageRequest) MarshalJSON() ([]byte, error)
- func (o *SendMessageRequest) SetBody(v string)
- func (o *SendMessageRequest) SetChatId(v string)
- func (o *SendMessageRequest) SetPhone(v int32)
- func (o *SendMessageRequest) SetQuotedMsgId(v string)
- func (o SendMessageRequest) ToMap() (map[string]interface{}, error)
- func (o *SendMessageRequest) UnmarshalJSON(data []byte) (err error)
- type SendOrderDetailsRequest
- func (o *SendOrderDetailsRequest) GetChatId() string
- func (o *SendOrderDetailsRequest) GetChatIdOk() (*string, bool)
- func (o *SendOrderDetailsRequest) GetCurrency() string
- func (o *SendOrderDetailsRequest) GetCurrencyOk() (*string, bool)
- func (o *SendOrderDetailsRequest) GetLanguage() SendOrderDetailsRequestLanguage
- func (o *SendOrderDetailsRequest) GetLanguageOk() (*SendOrderDetailsRequestLanguage, bool)
- func (o *SendOrderDetailsRequest) GetNamespace() string
- func (o *SendOrderDetailsRequest) GetNamespaceOk() (*string, bool)
- func (o *SendOrderDetailsRequest) GetOrder() SendOrderDetailsRequestOrder
- func (o *SendOrderDetailsRequest) GetOrderOk() (*SendOrderDetailsRequestOrder, bool)
- func (o *SendOrderDetailsRequest) GetParams() []map[string]interface{}
- func (o *SendOrderDetailsRequest) GetParamsOk() ([]map[string]interface{}, bool)
- func (o *SendOrderDetailsRequest) GetPaymentSettings() map[string]interface{}
- func (o *SendOrderDetailsRequest) GetPaymentSettingsOk() (map[string]interface{}, bool)
- func (o *SendOrderDetailsRequest) GetPhone() int32
- func (o *SendOrderDetailsRequest) GetPhoneOk() (*int32, bool)
- func (o *SendOrderDetailsRequest) GetReferenceId() string
- func (o *SendOrderDetailsRequest) GetReferenceIdOk() (*string, bool)
- func (o *SendOrderDetailsRequest) GetTemplate() string
- func (o *SendOrderDetailsRequest) GetTemplateOk() (*string, bool)
- func (o *SendOrderDetailsRequest) HasChatId() bool
- func (o *SendOrderDetailsRequest) HasCurrency() bool
- func (o *SendOrderDetailsRequest) HasParams() bool
- func (o *SendOrderDetailsRequest) HasPaymentSettings() bool
- func (o *SendOrderDetailsRequest) HasPhone() bool
- func (o *SendOrderDetailsRequest) HasReferenceId() bool
- func (o SendOrderDetailsRequest) MarshalJSON() ([]byte, error)
- func (o *SendOrderDetailsRequest) SetChatId(v string)
- func (o *SendOrderDetailsRequest) SetCurrency(v string)
- func (o *SendOrderDetailsRequest) SetLanguage(v SendOrderDetailsRequestLanguage)
- func (o *SendOrderDetailsRequest) SetNamespace(v string)
- func (o *SendOrderDetailsRequest) SetOrder(v SendOrderDetailsRequestOrder)
- func (o *SendOrderDetailsRequest) SetParams(v []map[string]interface{})
- func (o *SendOrderDetailsRequest) SetPaymentSettings(v map[string]interface{})
- func (o *SendOrderDetailsRequest) SetPhone(v int32)
- func (o *SendOrderDetailsRequest) SetReferenceId(v string)
- func (o *SendOrderDetailsRequest) SetTemplate(v string)
- func (o SendOrderDetailsRequest) ToMap() (map[string]interface{}, error)
- func (o *SendOrderDetailsRequest) UnmarshalJSON(data []byte) (err error)
- type SendOrderDetailsRequestLanguage
- func (o *SendOrderDetailsRequestLanguage) GetCode() string
- func (o *SendOrderDetailsRequestLanguage) GetCodeOk() (*string, bool)
- func (o *SendOrderDetailsRequestLanguage) GetPolicy() string
- func (o *SendOrderDetailsRequestLanguage) GetPolicyOk() (*string, bool)
- func (o *SendOrderDetailsRequestLanguage) HasPolicy() bool
- func (o SendOrderDetailsRequestLanguage) MarshalJSON() ([]byte, error)
- func (o *SendOrderDetailsRequestLanguage) SetCode(v string)
- func (o *SendOrderDetailsRequestLanguage) SetPolicy(v string)
- func (o SendOrderDetailsRequestLanguage) ToMap() (map[string]interface{}, error)
- func (o *SendOrderDetailsRequestLanguage) UnmarshalJSON(data []byte) (err error)
- type SendOrderDetailsRequestOrder
- func (o *SendOrderDetailsRequestOrder) GetDiscount() map[string]interface{}
- func (o *SendOrderDetailsRequestOrder) GetDiscountOk() (map[string]interface{}, bool)
- func (o *SendOrderDetailsRequestOrder) GetItems() []SendOrderDetailsRequestOrderItemsInner
- func (o *SendOrderDetailsRequestOrder) GetItemsOk() ([]SendOrderDetailsRequestOrderItemsInner, bool)
- func (o *SendOrderDetailsRequestOrder) GetShipping() map[string]interface{}
- func (o *SendOrderDetailsRequestOrder) GetShippingOk() (map[string]interface{}, bool)
- func (o *SendOrderDetailsRequestOrder) GetStatus() string
- func (o *SendOrderDetailsRequestOrder) GetStatusOk() (*string, bool)
- func (o *SendOrderDetailsRequestOrder) GetSubtotal() SendOrderDetailsRequestOrderItemsInnerAmount
- func (o *SendOrderDetailsRequestOrder) GetSubtotalOk() (*SendOrderDetailsRequestOrderItemsInnerAmount, bool)
- func (o *SendOrderDetailsRequestOrder) GetTax() map[string]interface{}
- func (o *SendOrderDetailsRequestOrder) GetTaxOk() (map[string]interface{}, bool)
- func (o *SendOrderDetailsRequestOrder) HasDiscount() bool
- func (o *SendOrderDetailsRequestOrder) HasShipping() bool
- func (o *SendOrderDetailsRequestOrder) HasStatus() bool
- func (o *SendOrderDetailsRequestOrder) HasSubtotal() bool
- func (o *SendOrderDetailsRequestOrder) HasTax() bool
- func (o SendOrderDetailsRequestOrder) MarshalJSON() ([]byte, error)
- func (o *SendOrderDetailsRequestOrder) SetDiscount(v map[string]interface{})
- func (o *SendOrderDetailsRequestOrder) SetItems(v []SendOrderDetailsRequestOrderItemsInner)
- func (o *SendOrderDetailsRequestOrder) SetShipping(v map[string]interface{})
- func (o *SendOrderDetailsRequestOrder) SetStatus(v string)
- func (o *SendOrderDetailsRequestOrder) SetSubtotal(v SendOrderDetailsRequestOrderItemsInnerAmount)
- func (o *SendOrderDetailsRequestOrder) SetTax(v map[string]interface{})
- func (o SendOrderDetailsRequestOrder) ToMap() (map[string]interface{}, error)
- func (o *SendOrderDetailsRequestOrder) UnmarshalJSON(data []byte) (err error)
- type SendOrderDetailsRequestOrderItemsInner
- func (o *SendOrderDetailsRequestOrderItemsInner) GetAmount() SendOrderDetailsRequestOrderItemsInnerAmount
- func (o *SendOrderDetailsRequestOrderItemsInner) GetAmountOk() (*SendOrderDetailsRequestOrderItemsInnerAmount, bool)
- func (o *SendOrderDetailsRequestOrderItemsInner) GetName() string
- func (o *SendOrderDetailsRequestOrderItemsInner) GetNameOk() (*string, bool)
- func (o *SendOrderDetailsRequestOrderItemsInner) GetQuantity() int32
- func (o *SendOrderDetailsRequestOrderItemsInner) GetQuantityOk() (*int32, bool)
- func (o *SendOrderDetailsRequestOrderItemsInner) GetRetailerId() string
- func (o *SendOrderDetailsRequestOrderItemsInner) GetRetailerIdOk() (*string, bool)
- func (o *SendOrderDetailsRequestOrderItemsInner) HasAmount() bool
- func (o *SendOrderDetailsRequestOrderItemsInner) HasName() bool
- func (o *SendOrderDetailsRequestOrderItemsInner) HasQuantity() bool
- func (o *SendOrderDetailsRequestOrderItemsInner) HasRetailerId() bool
- func (o SendOrderDetailsRequestOrderItemsInner) MarshalJSON() ([]byte, error)
- func (o *SendOrderDetailsRequestOrderItemsInner) SetAmount(v SendOrderDetailsRequestOrderItemsInnerAmount)
- func (o *SendOrderDetailsRequestOrderItemsInner) SetName(v string)
- func (o *SendOrderDetailsRequestOrderItemsInner) SetQuantity(v int32)
- func (o *SendOrderDetailsRequestOrderItemsInner) SetRetailerId(v string)
- func (o SendOrderDetailsRequestOrderItemsInner) ToMap() (map[string]interface{}, error)
- func (o *SendOrderDetailsRequestOrderItemsInner) UnmarshalJSON(data []byte) (err error)
- type SendOrderDetailsRequestOrderItemsInnerAmount
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetOffset() int32
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetOffsetOk() (*int32, bool)
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetValue() int32
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetValueOk() (*int32, bool)
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) HasOffset() bool
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) HasValue() bool
- func (o SendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON() ([]byte, error)
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) SetOffset(v int32)
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) SetValue(v int32)
- func (o SendOrderDetailsRequestOrderItemsInnerAmount) ToMap() (map[string]interface{}, error)
- func (o *SendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON(data []byte) (err error)
- type SendPaymentRequestRequest
- func (o *SendPaymentRequestRequest) GetAction() map[string]interface{}
- func (o *SendPaymentRequestRequest) GetActionOk() (map[string]interface{}, bool)
- func (o *SendPaymentRequestRequest) GetBody() string
- func (o *SendPaymentRequestRequest) GetBodyOk() (*string, bool)
- func (o *SendPaymentRequestRequest) GetInteractive() map[string]interface{}
- func (o *SendPaymentRequestRequest) GetInteractiveOk() (map[string]interface{}, bool)
- func (o *SendPaymentRequestRequest) GetPhone() int32
- func (o *SendPaymentRequestRequest) GetPhoneOk() (*int32, bool)
- func (o *SendPaymentRequestRequest) GetRegion() string
- func (o *SendPaymentRequestRequest) GetRegionOk() (*string, bool)
- func (o *SendPaymentRequestRequest) HasAction() bool
- func (o *SendPaymentRequestRequest) HasBody() bool
- func (o *SendPaymentRequestRequest) HasInteractive() bool
- func (o SendPaymentRequestRequest) MarshalJSON() ([]byte, error)
- func (o *SendPaymentRequestRequest) SetAction(v map[string]interface{})
- func (o *SendPaymentRequestRequest) SetBody(v string)
- func (o *SendPaymentRequestRequest) SetInteractive(v map[string]interface{})
- func (o *SendPaymentRequestRequest) SetPhone(v int32)
- func (o *SendPaymentRequestRequest) SetRegion(v string)
- func (o SendPaymentRequestRequest) ToMap() (map[string]interface{}, error)
- func (o *SendPaymentRequestRequest) UnmarshalJSON(data []byte) (err error)
- type SendReactionRequest
- func (o *SendReactionRequest) GetBody() string
- func (o *SendReactionRequest) GetBodyOk() (*string, bool)
- func (o *SendReactionRequest) GetPhone() string
- func (o *SendReactionRequest) GetPhoneOk() (*string, bool)
- func (o *SendReactionRequest) GetQuotedMsgId() string
- func (o *SendReactionRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendReactionRequest) HasBody() bool
- func (o *SendReactionRequest) HasPhone() bool
- func (o *SendReactionRequest) HasQuotedMsgId() bool
- func (o SendReactionRequest) MarshalJSON() ([]byte, error)
- func (o *SendReactionRequest) SetBody(v string)
- func (o *SendReactionRequest) SetPhone(v string)
- func (o *SendReactionRequest) SetQuotedMsgId(v string)
- func (o SendReactionRequest) ToMap() (map[string]interface{}, error)
- type SendStickerRequest
- func (o *SendStickerRequest) GetChatId() string
- func (o *SendStickerRequest) GetChatIdOk() (*string, bool)
- func (o *SendStickerRequest) GetLink() string
- func (o *SendStickerRequest) GetLinkOk() (*string, bool)
- func (o *SendStickerRequest) GetMediaId() string
- func (o *SendStickerRequest) GetMediaIdOk() (*string, bool)
- func (o *SendStickerRequest) GetPhone() int32
- func (o *SendStickerRequest) GetPhoneOk() (*int32, bool)
- func (o *SendStickerRequest) GetQuotedMsgId() string
- func (o *SendStickerRequest) GetQuotedMsgIdOk() (*string, bool)
- func (o *SendStickerRequest) HasChatId() bool
- func (o *SendStickerRequest) HasLink() bool
- func (o *SendStickerRequest) HasMediaId() bool
- func (o *SendStickerRequest) HasPhone() bool
- func (o *SendStickerRequest) HasQuotedMsgId() bool
- func (o SendStickerRequest) MarshalJSON() ([]byte, error)
- func (o *SendStickerRequest) SetChatId(v string)
- func (o *SendStickerRequest) SetLink(v string)
- func (o *SendStickerRequest) SetMediaId(v string)
- func (o *SendStickerRequest) SetPhone(v int32)
- func (o *SendStickerRequest) SetQuotedMsgId(v string)
- func (o SendStickerRequest) ToMap() (map[string]interface{}, error)
- func (o *SendStickerRequest) UnmarshalJSON(data []byte) (err error)
- type SendTemplateRequest
- func (o *SendTemplateRequest) GetLanguage() SendTemplateRequestLanguage
- func (o *SendTemplateRequest) GetLanguageOk() (*SendTemplateRequestLanguage, bool)
- func (o *SendTemplateRequest) GetMessageActivitySharing() bool
- func (o *SendTemplateRequest) GetMessageActivitySharingOk() (*bool, bool)
- func (o *SendTemplateRequest) GetMessageSendTtlSeconds() int32
- func (o *SendTemplateRequest) GetMessageSendTtlSecondsOk() (*int32, bool)
- func (o *SendTemplateRequest) GetNamespace() string
- func (o *SendTemplateRequest) GetNamespaceOk() (*string, bool)
- func (o *SendTemplateRequest) GetParams() []interface{}
- func (o *SendTemplateRequest) GetParamsOk() ([]interface{}, bool)
- func (o *SendTemplateRequest) GetPhone() string
- func (o *SendTemplateRequest) GetPhoneOk() (*string, bool)
- func (o *SendTemplateRequest) GetTemplate() string
- func (o *SendTemplateRequest) GetTemplateOk() (*string, bool)
- func (o *SendTemplateRequest) GetUseMMlite() bool
- func (o *SendTemplateRequest) GetUseMMliteOk() (*bool, bool)
- func (o *SendTemplateRequest) HasLanguage() bool
- func (o *SendTemplateRequest) HasMessageActivitySharing() bool
- func (o *SendTemplateRequest) HasMessageSendTtlSeconds() bool
- func (o *SendTemplateRequest) HasNamespace() bool
- func (o *SendTemplateRequest) HasParams() bool
- func (o *SendTemplateRequest) HasPhone() bool
- func (o *SendTemplateRequest) HasTemplate() bool
- func (o *SendTemplateRequest) HasUseMMlite() bool
- func (o SendTemplateRequest) MarshalJSON() ([]byte, error)
- func (o *SendTemplateRequest) SetLanguage(v SendTemplateRequestLanguage)
- func (o *SendTemplateRequest) SetMessageActivitySharing(v bool)
- func (o *SendTemplateRequest) SetMessageSendTtlSeconds(v int32)
- func (o *SendTemplateRequest) SetNamespace(v string)
- func (o *SendTemplateRequest) SetParams(v []interface{})
- func (o *SendTemplateRequest) SetPhone(v string)
- func (o *SendTemplateRequest) SetTemplate(v string)
- func (o *SendTemplateRequest) SetUseMMlite(v bool)
- func (o SendTemplateRequest) ToMap() (map[string]interface{}, error)
- type SendTemplateRequestLanguage
- func (o *SendTemplateRequestLanguage) GetCode() string
- func (o *SendTemplateRequestLanguage) GetCodeOk() (*string, bool)
- func (o *SendTemplateRequestLanguage) GetPolicy() string
- func (o *SendTemplateRequestLanguage) GetPolicyOk() (*string, bool)
- func (o *SendTemplateRequestLanguage) HasCode() bool
- func (o *SendTemplateRequestLanguage) HasPolicy() bool
- func (o SendTemplateRequestLanguage) MarshalJSON() ([]byte, error)
- func (o *SendTemplateRequestLanguage) SetCode(v string)
- func (o *SendTemplateRequestLanguage) SetPolicy(v string)
- func (o SendTemplateRequestLanguage) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SetWhatsappBusinessEncryptionRequest
- func (o *SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKey() string
- func (o *SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKeyOk() (*string, bool)
- func (o SetWhatsappBusinessEncryptionRequest) MarshalJSON() ([]byte, error)
- func (o *SetWhatsappBusinessEncryptionRequest) SetBusinessPublicKey(v string)
- func (o SetWhatsappBusinessEncryptionRequest) ToMap() (map[string]interface{}, error)
- func (o *SetWhatsappBusinessEncryptionRequest) UnmarshalJSON(data []byte) (err error)
- type SuccessResponse
- func (o *SuccessResponse) GetResult() string
- func (o *SuccessResponse) GetResultOk() (*string, bool)
- func (o *SuccessResponse) HasResult() bool
- func (o SuccessResponse) MarshalJSON() ([]byte, error)
- func (o *SuccessResponse) SetResult(v string)
- func (o SuccessResponse) ToMap() (map[string]interface{}, error)
- func (o *SuccessResponse) UnmarshalJSON(data []byte) (err error)
- type TemplatesAPIService
- func (a *TemplatesAPIService) AddTemplate(ctx context.Context) ApiAddTemplateRequest
- func (a *TemplatesAPIService) AddTemplateExecute(r ApiAddTemplateRequest) (map[string]interface{}, *http.Response, error)
- func (a *TemplatesAPIService) ListTemplates(ctx context.Context) ApiListTemplatesRequest
- func (a *TemplatesAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) (*ListTemplates200Response, *http.Response, error)
- func (a *TemplatesAPIService) RemoveTemplate(ctx context.Context) ApiRemoveTemplateRequest
- func (a *TemplatesAPIService) RemoveTemplateExecute(r ApiRemoveTemplateRequest) (map[string]interface{}, *http.Response, error)
- func (a *TemplatesAPIService) SendTemplate(ctx context.Context) ApiSendTemplateRequest
- func (a *TemplatesAPIService) SendTemplateExecute(r ApiSendTemplateRequest) (map[string]interface{}, *http.Response, error)
- type UpdateMeRequest
- func (o *UpdateMeRequest) GetAbout() string
- func (o *UpdateMeRequest) GetAboutOk() (*string, bool)
- func (o *UpdateMeRequest) GetAddress() string
- func (o *UpdateMeRequest) GetAddressOk() (*string, bool)
- func (o *UpdateMeRequest) GetDescription() string
- func (o *UpdateMeRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateMeRequest) GetEmail() string
- func (o *UpdateMeRequest) GetEmailOk() (*string, bool)
- func (o *UpdateMeRequest) GetPhoto() string
- func (o *UpdateMeRequest) GetPhotoOk() (*string, bool)
- func (o *UpdateMeRequest) GetVertical() string
- func (o *UpdateMeRequest) GetVerticalOk() (*string, bool)
- func (o *UpdateMeRequest) GetWebsites() []string
- func (o *UpdateMeRequest) GetWebsitesOk() ([]string, bool)
- func (o *UpdateMeRequest) HasAbout() bool
- func (o *UpdateMeRequest) HasAddress() bool
- func (o *UpdateMeRequest) HasDescription() bool
- func (o *UpdateMeRequest) HasEmail() bool
- func (o *UpdateMeRequest) HasPhoto() bool
- func (o *UpdateMeRequest) HasVertical() bool
- func (o *UpdateMeRequest) HasWebsites() bool
- func (o UpdateMeRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateMeRequest) SetAbout(v string)
- func (o *UpdateMeRequest) SetAddress(v string)
- func (o *UpdateMeRequest) SetDescription(v string)
- func (o *UpdateMeRequest) SetEmail(v string)
- func (o *UpdateMeRequest) SetPhoto(v string)
- func (o *UpdateMeRequest) SetVertical(v string)
- func (o *UpdateMeRequest) SetWebsites(v []string)
- func (o UpdateMeRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateMeRequest) UnmarshalJSON(data []byte) (err error)
- type UsersAPIService
- func (a *UsersAPIService) BlockUser(ctx context.Context) ApiBlockUserRequest
- func (a *UsersAPIService) BlockUserExecute(r ApiBlockUserRequest) (*SuccessResponse, *http.Response, error)
- func (a *UsersAPIService) ListBlockedUsers(ctx context.Context) ApiListBlockedUsersRequest
- func (a *UsersAPIService) ListBlockedUsersExecute(r ApiListBlockedUsersRequest) (*ListBlockedUsers200Response, *http.Response, error)
- func (a *UsersAPIService) UnblockUser(ctx context.Context) ApiUnblockUserRequest
- func (a *UsersAPIService) UnblockUserExecute(r ApiUnblockUserRequest) (*SuccessResponse, *http.Response, error)
- type WebhooksAPIService
- func (a *WebhooksAPIService) GetWebhook(ctx context.Context) ApiGetWebhookRequest
- func (a *WebhooksAPIService) GetWebhookExecute(r ApiGetWebhookRequest) (*GetWebhook200Response, *http.Response, error)
- func (a *WebhooksAPIService) SetWebhook(ctx context.Context) ApiSetWebhookRequest
- func (a *WebhooksAPIService) SetWebhookExecute(r ApiSetWebhookRequest) (map[string]interface{}, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
CallingAPI *CallingAPIService
CatalogAPI *CatalogAPIService
ChannelAPI *ChannelAPIService
FlowsAPI *FlowsAPIService
GroupsAPI *GroupsAPIService
MessagingAPI *MessagingAPIService
ProfileAPI *ProfileAPIService
TemplatesAPI *TemplatesAPIService
UsersAPI *UsersAPIService
WebhooksAPI *WebhooksAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the 1MSG WhatsApp Business API (Public) API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AddTemplateRequest ¶
type AddTemplateRequest struct {
Name *string `json:"name,omitempty"`
Category *string `json:"category,omitempty"`
Language *string `json:"language,omitempty"`
Components []map[string]interface{} `json:"components,omitempty"`
AdditionalProperties map[string]interface{}
}
AddTemplateRequest struct for AddTemplateRequest
func NewAddTemplateRequest ¶
func NewAddTemplateRequest() *AddTemplateRequest
NewAddTemplateRequest instantiates a new AddTemplateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddTemplateRequestWithDefaults ¶
func NewAddTemplateRequestWithDefaults() *AddTemplateRequest
NewAddTemplateRequestWithDefaults instantiates a new AddTemplateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddTemplateRequest) GetCategory ¶
func (o *AddTemplateRequest) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*AddTemplateRequest) GetCategoryOk ¶
func (o *AddTemplateRequest) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddTemplateRequest) GetComponents ¶
func (o *AddTemplateRequest) GetComponents() []map[string]interface{}
GetComponents returns the Components field value if set, zero value otherwise.
func (*AddTemplateRequest) GetComponentsOk ¶
func (o *AddTemplateRequest) GetComponentsOk() ([]map[string]interface{}, bool)
GetComponentsOk returns a tuple with the Components field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddTemplateRequest) GetLanguage ¶
func (o *AddTemplateRequest) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*AddTemplateRequest) GetLanguageOk ¶
func (o *AddTemplateRequest) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddTemplateRequest) GetName ¶
func (o *AddTemplateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AddTemplateRequest) GetNameOk ¶
func (o *AddTemplateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddTemplateRequest) HasCategory ¶
func (o *AddTemplateRequest) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*AddTemplateRequest) HasComponents ¶
func (o *AddTemplateRequest) HasComponents() bool
HasComponents returns a boolean if a field has been set.
func (*AddTemplateRequest) HasLanguage ¶
func (o *AddTemplateRequest) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*AddTemplateRequest) HasName ¶
func (o *AddTemplateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (AddTemplateRequest) MarshalJSON ¶
func (o AddTemplateRequest) MarshalJSON() ([]byte, error)
func (*AddTemplateRequest) SetCategory ¶
func (o *AddTemplateRequest) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*AddTemplateRequest) SetComponents ¶
func (o *AddTemplateRequest) SetComponents(v []map[string]interface{})
SetComponents gets a reference to the given []map[string]interface{} and assigns it to the Components field.
func (*AddTemplateRequest) SetLanguage ¶
func (o *AddTemplateRequest) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*AddTemplateRequest) SetName ¶
func (o *AddTemplateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (AddTemplateRequest) ToMap ¶
func (o AddTemplateRequest) ToMap() (map[string]interface{}, error)
func (*AddTemplateRequest) UnmarshalJSON ¶
func (o *AddTemplateRequest) UnmarshalJSON(data []byte) (err error)
type ApiAddTemplateRequest ¶
type ApiAddTemplateRequest struct {
ApiService *TemplatesAPIService
// contains filtered or unexported fields
}
func (ApiAddTemplateRequest) AddTemplateRequest ¶
func (r ApiAddTemplateRequest) AddTemplateRequest(addTemplateRequest AddTemplateRequest) ApiAddTemplateRequest
func (ApiAddTemplateRequest) Execute ¶
func (r ApiAddTemplateRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiAddTemplateRequest) Token ¶
func (r ApiAddTemplateRequest) Token(token string) ApiAddTemplateRequest
JWT token or API key for authorization
type ApiBlockUserRequest ¶
type ApiBlockUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiBlockUserRequest) BlockUserRequest ¶
func (r ApiBlockUserRequest) BlockUserRequest(blockUserRequest BlockUserRequest) ApiBlockUserRequest
func (ApiBlockUserRequest) Execute ¶
func (r ApiBlockUserRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiBlockUserRequest) Token ¶
func (r ApiBlockUserRequest) Token(token string) ApiBlockUserRequest
JWT token or API key for authorization
type ApiCreateCommerceRequest ¶
type ApiCreateCommerceRequest struct {
ApiService *CatalogAPIService
// contains filtered or unexported fields
}
func (ApiCreateCommerceRequest) CreateCommerceRequest ¶
func (r ApiCreateCommerceRequest) CreateCommerceRequest(createCommerceRequest CreateCommerceRequest) ApiCreateCommerceRequest
func (ApiCreateCommerceRequest) Execute ¶
func (r ApiCreateCommerceRequest) Execute() (*CreateCommerce200Response, *http.Response, error)
func (ApiCreateCommerceRequest) Token ¶
func (r ApiCreateCommerceRequest) Token(token string) ApiCreateCommerceRequest
JWT token or API key for authorization
type ApiCreateFlowsFlowIdDeprecateRequest ¶
type ApiCreateFlowsFlowIdDeprecateRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiCreateFlowsFlowIdDeprecateRequest) Execute ¶
func (r ApiCreateFlowsFlowIdDeprecateRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiCreateFlowsFlowIdDeprecateRequest) Token ¶
func (r ApiCreateFlowsFlowIdDeprecateRequest) Token(token string) ApiCreateFlowsFlowIdDeprecateRequest
JWT token or API key for authorization
func (ApiCreateFlowsFlowIdDeprecateRequest) WabaAccountId ¶
func (r ApiCreateFlowsFlowIdDeprecateRequest) WabaAccountId(wabaAccountId string) ApiCreateFlowsFlowIdDeprecateRequest
type ApiCreateFlowsFlowIdPublishRequest ¶
type ApiCreateFlowsFlowIdPublishRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiCreateFlowsFlowIdPublishRequest) Execute ¶
func (r ApiCreateFlowsFlowIdPublishRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiCreateFlowsFlowIdPublishRequest) Token ¶
func (r ApiCreateFlowsFlowIdPublishRequest) Token(token string) ApiCreateFlowsFlowIdPublishRequest
JWT token or API key for authorization
func (ApiCreateFlowsFlowIdPublishRequest) WabaAccountId ¶
func (r ApiCreateFlowsFlowIdPublishRequest) WabaAccountId(wabaAccountId string) ApiCreateFlowsFlowIdPublishRequest
type ApiCreateFlowsRequest ¶
type ApiCreateFlowsRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiCreateFlowsRequest) Execute ¶
func (r ApiCreateFlowsRequest) Execute() (*CreateGroups200Response, *http.Response, error)
func (ApiCreateFlowsRequest) Token ¶
func (r ApiCreateFlowsRequest) Token(token string) ApiCreateFlowsRequest
JWT token or API key for authorization
func (ApiCreateFlowsRequest) WabaAccountId ¶
func (r ApiCreateFlowsRequest) WabaAccountId(wabaAccountId string) ApiCreateFlowsRequest
type ApiCreateGroupsGroupIdInvitelinkRequest ¶
type ApiCreateGroupsGroupIdInvitelinkRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiCreateGroupsGroupIdInvitelinkRequest) Execute ¶
func (r ApiCreateGroupsGroupIdInvitelinkRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiCreateGroupsGroupIdInvitelinkRequest) Token ¶
func (r ApiCreateGroupsGroupIdInvitelinkRequest) Token(token string) ApiCreateGroupsGroupIdInvitelinkRequest
JWT token or API key for authorization
type ApiCreateGroupsGroupIdRequest ¶
type ApiCreateGroupsGroupIdRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiCreateGroupsGroupIdRequest) Execute ¶
func (r ApiCreateGroupsGroupIdRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiCreateGroupsGroupIdRequest) Token ¶
func (r ApiCreateGroupsGroupIdRequest) Token(token string) ApiCreateGroupsGroupIdRequest
JWT token or API key for authorization
type ApiCreateGroupsRequest ¶
type ApiCreateGroupsRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiCreateGroupsRequest) Execute ¶
func (r ApiCreateGroupsRequest) Execute() (*CreateGroups200Response, *http.Response, error)
func (ApiCreateGroupsRequest) Token ¶
func (r ApiCreateGroupsRequest) Token(token string) ApiCreateGroupsRequest
JWT token or API key for authorization
type ApiCreateReadMessageRequest ¶
type ApiCreateReadMessageRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiCreateReadMessageRequest) Execute ¶
func (r ApiCreateReadMessageRequest) Execute() (*CreateReadMessage200Response, *http.Response, error)
func (ApiCreateReadMessageRequest) MessageId ¶
func (r ApiCreateReadMessageRequest) MessageId(messageId string) ApiCreateReadMessageRequest
func (ApiCreateReadMessageRequest) MsgId ¶
func (r ApiCreateReadMessageRequest) MsgId(msgId string) ApiCreateReadMessageRequest
func (ApiCreateReadMessageRequest) Token ¶
func (r ApiCreateReadMessageRequest) Token(token string) ApiCreateReadMessageRequest
JWT token or API key for authorization
func (ApiCreateReadMessageRequest) TypingIndicator ¶
func (r ApiCreateReadMessageRequest) TypingIndicator(typingIndicator bool) ApiCreateReadMessageRequest
Show WhatsApp typing indicator (max 25s or until reply)
type ApiCreateUploadMediaRequest ¶
type ApiCreateUploadMediaRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiCreateUploadMediaRequest) Execute ¶
func (r ApiCreateUploadMediaRequest) Execute() (*http.Response, error)
func (ApiCreateUploadMediaRequest) RequestBody ¶
func (r ApiCreateUploadMediaRequest) RequestBody(requestBody map[string]interface{}) ApiCreateUploadMediaRequest
func (ApiCreateUploadMediaRequest) Token ¶
func (r ApiCreateUploadMediaRequest) Token(token string) ApiCreateUploadMediaRequest
JWT token or API key for authorization
type ApiDeleteFlowsFlowIdRequest ¶
type ApiDeleteFlowsFlowIdRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiDeleteFlowsFlowIdRequest) Execute ¶
func (r ApiDeleteFlowsFlowIdRequest) Execute() (*DeleteFlowsFlowId200Response, *http.Response, error)
func (ApiDeleteFlowsFlowIdRequest) Token ¶
func (r ApiDeleteFlowsFlowIdRequest) Token(token string) ApiDeleteFlowsFlowIdRequest
JWT token or API key for authorization
func (ApiDeleteFlowsFlowIdRequest) WabaAccountId ¶
func (r ApiDeleteFlowsFlowIdRequest) WabaAccountId(wabaAccountId string) ApiDeleteFlowsFlowIdRequest
type ApiDeleteGroupsGroupIdRequest ¶
type ApiDeleteGroupsGroupIdRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiDeleteGroupsGroupIdRequest) Execute ¶
func (r ApiDeleteGroupsGroupIdRequest) Execute() (*DeleteGroupsGroupId200Response, *http.Response, error)
func (ApiDeleteGroupsGroupIdRequest) Token ¶
func (r ApiDeleteGroupsGroupIdRequest) Token(token string) ApiDeleteGroupsGroupIdRequest
JWT token or API key for authorization
type ApiDeleteMediaLegacyRequest ¶
type ApiDeleteMediaLegacyRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiDeleteMediaLegacyRequest) DeleteMediaLegacyRequest ¶
func (r ApiDeleteMediaLegacyRequest) DeleteMediaLegacyRequest(deleteMediaLegacyRequest DeleteMediaLegacyRequest) ApiDeleteMediaLegacyRequest
func (ApiDeleteMediaLegacyRequest) Execute ¶
func (r ApiDeleteMediaLegacyRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiDeleteMediaLegacyRequest) Token ¶
func (r ApiDeleteMediaLegacyRequest) Token(token string) ApiDeleteMediaLegacyRequest
JWT token or API key for authorization
type ApiDeleteMediaRequest ¶
type ApiDeleteMediaRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiDeleteMediaRequest) Execute ¶
func (r ApiDeleteMediaRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiDeleteMediaRequest) Token ¶
func (r ApiDeleteMediaRequest) Token(token string) ApiDeleteMediaRequest
JWT token or API key for authorization
type ApiGetCallingSettingsRequest ¶
type ApiGetCallingSettingsRequest struct {
ApiService *CallingAPIService
// contains filtered or unexported fields
}
func (ApiGetCallingSettingsRequest) Execute ¶
func (r ApiGetCallingSettingsRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetCallingSettingsRequest) Token ¶
func (r ApiGetCallingSettingsRequest) Token(token string) ApiGetCallingSettingsRequest
JWT token or API key for authorization
type ApiGetCommerceRequest ¶
type ApiGetCommerceRequest struct {
ApiService *CatalogAPIService
// contains filtered or unexported fields
}
func (ApiGetCommerceRequest) Execute ¶
func (r ApiGetCommerceRequest) Execute() ([]GetCommerce200ResponseInner, *http.Response, error)
func (ApiGetCommerceRequest) Token ¶
func (r ApiGetCommerceRequest) Token(token string) ApiGetCommerceRequest
JWT token or API key for authorization
type ApiGetConversationalAutomationRequest ¶
type ApiGetConversationalAutomationRequest struct {
ApiService *ChannelAPIService
// contains filtered or unexported fields
}
func (ApiGetConversationalAutomationRequest) Execute ¶
func (r ApiGetConversationalAutomationRequest) Execute() (*ConversationalAutomation, *http.Response, error)
func (ApiGetConversationalAutomationRequest) Token ¶
func (r ApiGetConversationalAutomationRequest) Token(token string) ApiGetConversationalAutomationRequest
JWT token or API key for authorization
type ApiGetFlowsFlowIdPreviewRequest ¶
type ApiGetFlowsFlowIdPreviewRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiGetFlowsFlowIdPreviewRequest) Execute ¶
func (r ApiGetFlowsFlowIdPreviewRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetFlowsFlowIdPreviewRequest) Token ¶
func (r ApiGetFlowsFlowIdPreviewRequest) Token(token string) ApiGetFlowsFlowIdPreviewRequest
JWT token or API key for authorization
func (ApiGetFlowsFlowIdPreviewRequest) WabaAccountId ¶
func (r ApiGetFlowsFlowIdPreviewRequest) WabaAccountId(wabaAccountId string) ApiGetFlowsFlowIdPreviewRequest
type ApiGetFlowsFlowIdRequest ¶
type ApiGetFlowsFlowIdRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiGetFlowsFlowIdRequest) Execute ¶
func (r ApiGetFlowsFlowIdRequest) Execute() (*CreateGroups200Response, *http.Response, error)
func (ApiGetFlowsFlowIdRequest) Token ¶
func (r ApiGetFlowsFlowIdRequest) Token(token string) ApiGetFlowsFlowIdRequest
JWT token or API key for authorization
func (ApiGetFlowsFlowIdRequest) WabaAccountId ¶
func (r ApiGetFlowsFlowIdRequest) WabaAccountId(wabaAccountId string) ApiGetFlowsFlowIdRequest
type ApiGetGroupsGroupIdInvitelinkRequest ¶
type ApiGetGroupsGroupIdInvitelinkRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiGetGroupsGroupIdInvitelinkRequest) Execute ¶
func (r ApiGetGroupsGroupIdInvitelinkRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetGroupsGroupIdInvitelinkRequest) Token ¶
func (r ApiGetGroupsGroupIdInvitelinkRequest) Token(token string) ApiGetGroupsGroupIdInvitelinkRequest
JWT token or API key for authorization
type ApiGetGroupsGroupIdRequest ¶
type ApiGetGroupsGroupIdRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiGetGroupsGroupIdRequest) Execute ¶
func (r ApiGetGroupsGroupIdRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetGroupsGroupIdRequest) Token ¶
func (r ApiGetGroupsGroupIdRequest) Token(token string) ApiGetGroupsGroupIdRequest
JWT token or API key for authorization
type ApiGetMeRequest ¶
type ApiGetMeRequest struct {
ApiService *ProfileAPIService
// contains filtered or unexported fields
}
func (ApiGetMeRequest) Execute ¶
func (r ApiGetMeRequest) Execute() (*ProfileInfo, *http.Response, error)
func (ApiGetMeRequest) Token ¶
func (r ApiGetMeRequest) Token(token string) ApiGetMeRequest
JWT token or API key for authorization
type ApiGetMmLiteStatusRequest ¶
type ApiGetMmLiteStatusRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiGetMmLiteStatusRequest) Execute ¶
func (r ApiGetMmLiteStatusRequest) Execute() (*GetMmLiteStatus200Response, *http.Response, error)
func (ApiGetMmLiteStatusRequest) Token ¶
func (r ApiGetMmLiteStatusRequest) Token(token string) ApiGetMmLiteStatusRequest
JWT token or API key for authorization
type ApiGetStatusRequest ¶
type ApiGetStatusRequest struct {
ApiService *ChannelAPIService
// contains filtered or unexported fields
}
func (ApiGetStatusRequest) Execute ¶
func (r ApiGetStatusRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiGetStatusRequest) Token ¶
func (r ApiGetStatusRequest) Token(token string) ApiGetStatusRequest
JWT token or API key for authorization
type ApiGetWebhookRequest ¶
type ApiGetWebhookRequest struct {
ApiService *WebhooksAPIService
// contains filtered or unexported fields
}
func (ApiGetWebhookRequest) Execute ¶
func (r ApiGetWebhookRequest) Execute() (*GetWebhook200Response, *http.Response, error)
func (ApiGetWebhookRequest) Token ¶
func (r ApiGetWebhookRequest) Token(token string) ApiGetWebhookRequest
JWT token or API key for authorization
type ApiGetWhatsappBusinessEncryptionRequest ¶
type ApiGetWhatsappBusinessEncryptionRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiGetWhatsappBusinessEncryptionRequest) Execute ¶
func (r ApiGetWhatsappBusinessEncryptionRequest) Execute() (*GetWhatsappBusinessEncryption200Response, *http.Response, error)
func (ApiGetWhatsappBusinessEncryptionRequest) Token ¶
func (r ApiGetWhatsappBusinessEncryptionRequest) Token(token string) ApiGetWhatsappBusinessEncryptionRequest
JWT token or API key for authorization
type ApiInitiateCallRequest ¶
type ApiInitiateCallRequest struct {
ApiService *CallingAPIService
// contains filtered or unexported fields
}
func (ApiInitiateCallRequest) Execute ¶
func (r ApiInitiateCallRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiInitiateCallRequest) RequestBody ¶
func (r ApiInitiateCallRequest) RequestBody(requestBody map[string]interface{}) ApiInitiateCallRequest
func (ApiInitiateCallRequest) Token ¶
func (r ApiInitiateCallRequest) Token(token string) ApiInitiateCallRequest
JWT token or API key for authorization
type ApiListBlockedUsersRequest ¶
type ApiListBlockedUsersRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiListBlockedUsersRequest) Execute ¶
func (r ApiListBlockedUsersRequest) Execute() (*ListBlockedUsers200Response, *http.Response, error)
func (ApiListBlockedUsersRequest) Token ¶
func (r ApiListBlockedUsersRequest) Token(token string) ApiListBlockedUsersRequest
JWT token or API key for authorization
type ApiListFlowsRequest ¶
type ApiListFlowsRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiListFlowsRequest) Execute ¶
func (r ApiListFlowsRequest) Execute() (*ListFlows200Response, *http.Response, error)
func (ApiListFlowsRequest) Token ¶
func (r ApiListFlowsRequest) Token(token string) ApiListFlowsRequest
JWT token or API key for authorization
func (ApiListFlowsRequest) WabaAccountId ¶
func (r ApiListFlowsRequest) WabaAccountId(wabaAccountId string) ApiListFlowsRequest
type ApiListGroupsRequest ¶
type ApiListGroupsRequest struct {
ApiService *GroupsAPIService
// contains filtered or unexported fields
}
func (ApiListGroupsRequest) Execute ¶
func (r ApiListGroupsRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiListGroupsRequest) Token ¶
func (r ApiListGroupsRequest) Token(token string) ApiListGroupsRequest
JWT token or API key for authorization
type ApiListMessagesRequest ¶
type ApiListMessagesRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiListMessagesRequest) Execute ¶
func (r ApiListMessagesRequest) Execute() (*ListMessages200Response, *http.Response, error)
func (ApiListMessagesRequest) Token ¶
func (r ApiListMessagesRequest) Token(token string) ApiListMessagesRequest
JWT token or API key for authorization
type ApiListTemplatesRequest ¶
type ApiListTemplatesRequest struct {
ApiService *TemplatesAPIService
// contains filtered or unexported fields
}
func (ApiListTemplatesRequest) Execute ¶
func (r ApiListTemplatesRequest) Execute() (*ListTemplates200Response, *http.Response, error)
func (ApiListTemplatesRequest) Token ¶
func (r ApiListTemplatesRequest) Token(token string) ApiListTemplatesRequest
JWT token or API key for authorization
type ApiPatchFlowsFlowIdAssetsRequest ¶
type ApiPatchFlowsFlowIdAssetsRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiPatchFlowsFlowIdAssetsRequest) Execute ¶
func (r ApiPatchFlowsFlowIdAssetsRequest) Execute() (*PatchFlowsFlowIdAssets200Response, *http.Response, error)
func (ApiPatchFlowsFlowIdAssetsRequest) Token ¶
func (r ApiPatchFlowsFlowIdAssetsRequest) Token(token string) ApiPatchFlowsFlowIdAssetsRequest
JWT token or API key for authorization
func (ApiPatchFlowsFlowIdAssetsRequest) WabaAccountId ¶
func (r ApiPatchFlowsFlowIdAssetsRequest) WabaAccountId(wabaAccountId string) ApiPatchFlowsFlowIdAssetsRequest
type ApiPatchFlowsFlowIdMetadataRequest ¶
type ApiPatchFlowsFlowIdMetadataRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiPatchFlowsFlowIdMetadataRequest) Execute ¶
func (r ApiPatchFlowsFlowIdMetadataRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiPatchFlowsFlowIdMetadataRequest) Token ¶
func (r ApiPatchFlowsFlowIdMetadataRequest) Token(token string) ApiPatchFlowsFlowIdMetadataRequest
JWT token or API key for authorization
func (ApiPatchFlowsFlowIdMetadataRequest) WabaAccountId ¶
func (r ApiPatchFlowsFlowIdMetadataRequest) WabaAccountId(wabaAccountId string) ApiPatchFlowsFlowIdMetadataRequest
type ApiRemoveTemplateRequest ¶
type ApiRemoveTemplateRequest struct {
ApiService *TemplatesAPIService
// contains filtered or unexported fields
}
func (ApiRemoveTemplateRequest) Execute ¶
func (r ApiRemoveTemplateRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiRemoveTemplateRequest) RequestBody ¶
func (r ApiRemoveTemplateRequest) RequestBody(requestBody map[string]interface{}) ApiRemoveTemplateRequest
func (ApiRemoveTemplateRequest) Token ¶
func (r ApiRemoveTemplateRequest) Token(token string) ApiRemoveTemplateRequest
JWT token or API key for authorization
type ApiRetrieveMediaRequest ¶
type ApiRetrieveMediaRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiRetrieveMediaRequest) Execute ¶
func (r ApiRetrieveMediaRequest) Execute() (*RetrieveMedia200Response, *http.Response, error)
func (ApiRetrieveMediaRequest) MediaId ¶
func (r ApiRetrieveMediaRequest) MediaId(mediaId string) ApiRetrieveMediaRequest
func (ApiRetrieveMediaRequest) Token ¶
func (r ApiRetrieveMediaRequest) Token(token string) ApiRetrieveMediaRequest
JWT token or API key for authorization
type ApiSendAddressMessageRequest ¶
type ApiSendAddressMessageRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendAddressMessageRequest) Execute ¶
func (r ApiSendAddressMessageRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendAddressMessageRequest) SendAddressMessageRequest ¶
func (r ApiSendAddressMessageRequest) SendAddressMessageRequest(sendAddressMessageRequest SendAddressMessageRequest) ApiSendAddressMessageRequest
func (ApiSendAddressMessageRequest) Token ¶
func (r ApiSendAddressMessageRequest) Token(token string) ApiSendAddressMessageRequest
JWT token or API key for authorization
type ApiSendButtonRequest ¶
type ApiSendButtonRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendButtonRequest) Execute ¶
func (r ApiSendButtonRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendButtonRequest) SendButtonRequest ¶
func (r ApiSendButtonRequest) SendButtonRequest(sendButtonRequest SendButtonRequest) ApiSendButtonRequest
func (ApiSendButtonRequest) Token ¶
func (r ApiSendButtonRequest) Token(token string) ApiSendButtonRequest
JWT token or API key for authorization
type ApiSendCarouselRequest ¶
type ApiSendCarouselRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendCarouselRequest) Body ¶
func (r ApiSendCarouselRequest) Body(body string) ApiSendCarouselRequest
Text shown above the carousel. Optional. If omitted and params include a body component, the body will be taken from params.
func (ApiSendCarouselRequest) ChatId ¶
func (r ApiSendCarouselRequest) ChatId(chatId string) ApiSendCarouselRequest
Required if phone is not set. Chat ID from the message list. Examples: 12020721369@c.us or 120363046942338209@g.us(group)
func (ApiSendCarouselRequest) Execute ¶
func (r ApiSendCarouselRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendCarouselRequest) Params ¶
func (r ApiSendCarouselRequest) Params(params []map[string]interface{}) ApiSendCarouselRequest
Required. Template-like structure (same as sendTemplate params). Must include a CAROUSEL component and its cards. Structure: - params[] item with type CAROUSEL and cards (2..10) - cards[] item: - components[] items: - header: parameters[0] with type image/video/product - image: {\\\"image\\\": {\\\"link\\\": \\\"https://...\\\"}} - video: {\\\"video\\\": {\\\"link\\\": \\\"https://...\\\"}} - product: {\\\"product\\\": {\\\"catalog_id\\\": \\\"...\\\", \\\"product_retailer_id\\\": \\\"...\\\"}} - button: sub_type url or quick_reply - url: parameters {\\\"text\\\": \\\"Button\\\", \\\"url\\\": \\\"https://...\\\"} - quick_reply: parameters[] of {\\\"id\\\": \\\"...\\\", \\\"text\\\": \\\"...\\\"}
func (ApiSendCarouselRequest) Phone ¶
func (r ApiSendCarouselRequest) Phone(phone int32) ApiSendCarouselRequest
Required if chatId is not set. A phone number starting with the country code. USA example: 12020721369.
func (ApiSendCarouselRequest) QuotedMsgId ¶
func (r ApiSendCarouselRequest) QuotedMsgId(quotedMsgId string) ApiSendCarouselRequest
Quoted message ID (Cloud API)
func (ApiSendCarouselRequest) Token ¶
func (r ApiSendCarouselRequest) Token(token string) ApiSendCarouselRequest
JWT token or API key for authorization
type ApiSendContactRequest ¶
type ApiSendContactRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendContactRequest) Execute ¶
func (r ApiSendContactRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendContactRequest) SendContactRequest ¶
func (r ApiSendContactRequest) SendContactRequest(sendContactRequest SendContactRequest) ApiSendContactRequest
func (ApiSendContactRequest) Token ¶
func (r ApiSendContactRequest) Token(token string) ApiSendContactRequest
JWT token or API key for authorization
type ApiSendCtaUrlRequest ¶
type ApiSendCtaUrlRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendCtaUrlRequest) Execute ¶
func (r ApiSendCtaUrlRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendCtaUrlRequest) SendCtaUrlRequest ¶
func (r ApiSendCtaUrlRequest) SendCtaUrlRequest(sendCtaUrlRequest SendCtaUrlRequest) ApiSendCtaUrlRequest
func (ApiSendCtaUrlRequest) Token ¶
func (r ApiSendCtaUrlRequest) Token(token string) ApiSendCtaUrlRequest
JWT token or API key for authorization
type ApiSendFileRequest ¶
type ApiSendFileRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendFileRequest) Body ¶
func (r ApiSendFileRequest) Body(body string) ApiSendFileRequest
File source (required unless mediaId is set): - HTTP/HTTPS URL - Base64 data URI
func (ApiSendFileRequest) Caption ¶
func (r ApiSendFileRequest) Caption(caption string) ApiSendFileRequest
func (ApiSendFileRequest) ChatId ¶
func (r ApiSendFileRequest) ChatId(chatId string) ApiSendFileRequest
func (ApiSendFileRequest) Execute ¶
func (r ApiSendFileRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendFileRequest) Filename ¶
func (r ApiSendFileRequest) Filename(filename string) ApiSendFileRequest
File name with extension (required with body, not with mediaId)
func (ApiSendFileRequest) MediaId ¶
func (r ApiSendFileRequest) MediaId(mediaId string) ApiSendFileRequest
WABA media id from uploadMedia (alternative to body)
func (ApiSendFileRequest) MediaType ¶
func (r ApiSendFileRequest) MediaType(mediaType string) ApiSendFileRequest
Required when using mediaId
func (ApiSendFileRequest) Phone ¶
func (r ApiSendFileRequest) Phone(phone int32) ApiSendFileRequest
func (ApiSendFileRequest) QuotedMsgId ¶
func (r ApiSendFileRequest) QuotedMsgId(quotedMsgId string) ApiSendFileRequest
func (ApiSendFileRequest) Token ¶
func (r ApiSendFileRequest) Token(token string) ApiSendFileRequest
JWT token or API key for authorization
func (ApiSendFileRequest) Voice ¶
func (r ApiSendFileRequest) Voice(voice bool) ApiSendFileRequest
Native WhatsApp voice note (audio/ogg only)
type ApiSendFlowRequest ¶
type ApiSendFlowRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendFlowRequest) Body ¶
func (r ApiSendFlowRequest) Body(body string) ApiSendFlowRequest
Flow message body text
func (ApiSendFlowRequest) ChatId ¶
func (r ApiSendFlowRequest) ChatId(chatId string) ApiSendFlowRequest
Required if phone is not set. Chat ID from the message list. Examples: 12020721369@c.us or 120363046942338209@g.us(group)
func (ApiSendFlowRequest) Execute ¶
func (r ApiSendFlowRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendFlowRequest) FlowAction ¶
func (r ApiSendFlowRequest) FlowAction(flowAction string) ApiSendFlowRequest
Flow action type
func (ApiSendFlowRequest) FlowActionData ¶
func (r ApiSendFlowRequest) FlowActionData(flowActionData map[string]interface{}) ApiSendFlowRequest
Shortcut for flowActionPayload.data (optional)
func (ApiSendFlowRequest) FlowActionPayload ¶
func (r ApiSendFlowRequest) FlowActionPayload(flowActionPayload map[string]interface{}) ApiSendFlowRequest
Required for flowAction=navigate (screen is required). Ignored for data_exchange. If data is provided, it must be a non-empty object.
func (ApiSendFlowRequest) FlowActionScreen ¶
func (r ApiSendFlowRequest) FlowActionScreen(flowActionScreen string) ApiSendFlowRequest
Shortcut for flowActionPayload.screen (optional)
func (ApiSendFlowRequest) FlowCta ¶
func (r ApiSendFlowRequest) FlowCta(flowCta string) ApiSendFlowRequest
CTA button text
func (ApiSendFlowRequest) FlowId ¶
func (r ApiSendFlowRequest) FlowId(flowId string) ApiSendFlowRequest
Published Flow ID
func (ApiSendFlowRequest) FlowMessageVersion ¶
func (r ApiSendFlowRequest) FlowMessageVersion(flowMessageVersion string) ApiSendFlowRequest
Flow message version (default \\\"3\\\")
func (ApiSendFlowRequest) FlowToken ¶
func (r ApiSendFlowRequest) FlowToken(flowToken string) ApiSendFlowRequest
Flow token generated by the business
func (ApiSendFlowRequest) Footer ¶
func (r ApiSendFlowRequest) Footer(footer string) ApiSendFlowRequest
Footer text
func (ApiSendFlowRequest) Header ¶
func (r ApiSendFlowRequest) Header(header SendFlowRequestHeader) ApiSendFlowRequest
func (ApiSendFlowRequest) Mode ¶
func (r ApiSendFlowRequest) Mode(mode string) ApiSendFlowRequest
Flow mode (draft or published). If omitted, provider default applies
func (ApiSendFlowRequest) Phone ¶
func (r ApiSendFlowRequest) Phone(phone int32) ApiSendFlowRequest
Required if chatId is not set. A phone number starting with the country code. USA example: 12020721369.
func (ApiSendFlowRequest) QuotedMsgId ¶
func (r ApiSendFlowRequest) QuotedMsgId(quotedMsgId string) ApiSendFlowRequest
Quoted message ID (Cloud API)
func (ApiSendFlowRequest) Token ¶
func (r ApiSendFlowRequest) Token(token string) ApiSendFlowRequest
JWT token or API key for authorization
type ApiSendListRequest ¶
type ApiSendListRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendListRequest) Execute ¶
func (r ApiSendListRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendListRequest) SendListRequest ¶
func (r ApiSendListRequest) SendListRequest(sendListRequest SendListRequest) ApiSendListRequest
func (ApiSendListRequest) Token ¶
func (r ApiSendListRequest) Token(token string) ApiSendListRequest
JWT token or API key for authorization
type ApiSendLocationRequest ¶
type ApiSendLocationRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendLocationRequest) Address ¶
func (r ApiSendLocationRequest) Address(address string) ApiSendLocationRequest
Address of the location. Only displayed if name is present. Example: 9766 Valley View St., New York, NY 10024
func (ApiSendLocationRequest) ChatId ¶
func (r ApiSendLocationRequest) ChatId(chatId string) ApiSendLocationRequest
Required if phone is not set. Chat ID from the message list. Examples: 12020721369@c.us or 120363046942338209@g.us(group)
func (ApiSendLocationRequest) Execute ¶
func (r ApiSendLocationRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendLocationRequest) Lat ¶
func (r ApiSendLocationRequest) Lat(lat string) ApiSendLocationRequest
Latitude of the location. Example: 45.018337
func (ApiSendLocationRequest) Lng ¶
func (r ApiSendLocationRequest) Lng(lng string) ApiSendLocationRequest
Longitude of the location. Example: -73.968285
func (ApiSendLocationRequest) Name ¶
func (r ApiSendLocationRequest) Name(name string) ApiSendLocationRequest
Name of the location. Example: Facebook HQ
func (ApiSendLocationRequest) Phone ¶
func (r ApiSendLocationRequest) Phone(phone int32) ApiSendLocationRequest
Required if chatId is not set. A phone number starting with the country code. USA example: 12020721369.
func (ApiSendLocationRequest) QuotedMsgId ¶
func (r ApiSendLocationRequest) QuotedMsgId(quotedMsgId string) ApiSendLocationRequest
Quoted message ID (Cloud API)
func (ApiSendLocationRequest) Token ¶
func (r ApiSendLocationRequest) Token(token string) ApiSendLocationRequest
JWT token or API key for authorization
type ApiSendLocationRequestRequest ¶
type ApiSendLocationRequestRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendLocationRequestRequest) Execute ¶
func (r ApiSendLocationRequestRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendLocationRequestRequest) SendLocationRequestRequest ¶
func (r ApiSendLocationRequestRequest) SendLocationRequestRequest(sendLocationRequestRequest SendLocationRequestRequest) ApiSendLocationRequestRequest
func (ApiSendLocationRequestRequest) Token ¶
func (r ApiSendLocationRequestRequest) Token(token string) ApiSendLocationRequestRequest
JWT token or API key for authorization
type ApiSendMessageRequest ¶
type ApiSendMessageRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendMessageRequest) Body ¶
func (r ApiSendMessageRequest) Body(body string) ApiSendMessageRequest
Message text, UTF-8 or UTF-16 string with emoji
func (ApiSendMessageRequest) ChatId ¶
func (r ApiSendMessageRequest) ChatId(chatId string) ApiSendMessageRequest
Chat ID in format: phone@c.us (individual) or phone@g.us (group)
func (ApiSendMessageRequest) Execute ¶
func (r ApiSendMessageRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendMessageRequest) Phone ¶
func (r ApiSendMessageRequest) Phone(phone int32) ApiSendMessageRequest
Phone number starting with country code (alternative to chatId)
func (ApiSendMessageRequest) QuotedMsgId ¶
func (r ApiSendMessageRequest) QuotedMsgId(quotedMsgId string) ApiSendMessageRequest
Message ID to quote/reply to (Cloud API wamid)
func (ApiSendMessageRequest) Token ¶
func (r ApiSendMessageRequest) Token(token string) ApiSendMessageRequest
JWT token or API key for authorization
type ApiSendOrderDetailsRequest ¶
type ApiSendOrderDetailsRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendOrderDetailsRequest) Execute ¶
func (r ApiSendOrderDetailsRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendOrderDetailsRequest) SendOrderDetailsRequest ¶
func (r ApiSendOrderDetailsRequest) SendOrderDetailsRequest(sendOrderDetailsRequest SendOrderDetailsRequest) ApiSendOrderDetailsRequest
func (ApiSendOrderDetailsRequest) Token ¶
func (r ApiSendOrderDetailsRequest) Token(token string) ApiSendOrderDetailsRequest
JWT token or API key for authorization
type ApiSendPaymentRequestRequest ¶
type ApiSendPaymentRequestRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendPaymentRequestRequest) Execute ¶
func (r ApiSendPaymentRequestRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendPaymentRequestRequest) SendPaymentRequestRequest ¶
func (r ApiSendPaymentRequestRequest) SendPaymentRequestRequest(sendPaymentRequestRequest SendPaymentRequestRequest) ApiSendPaymentRequestRequest
func (ApiSendPaymentRequestRequest) Token ¶
func (r ApiSendPaymentRequestRequest) Token(token string) ApiSendPaymentRequestRequest
JWT token or API key for authorization
type ApiSendProductRequest ¶
type ApiSendProductRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendProductRequest) Execute ¶
func (r ApiSendProductRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendProductRequest) RequestBody ¶
func (r ApiSendProductRequest) RequestBody(requestBody map[string]interface{}) ApiSendProductRequest
func (ApiSendProductRequest) Token ¶
func (r ApiSendProductRequest) Token(token string) ApiSendProductRequest
JWT token or API key for authorization
type ApiSendReactionRequest ¶
type ApiSendReactionRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendReactionRequest) Execute ¶
func (r ApiSendReactionRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendReactionRequest) SendReactionRequest ¶
func (r ApiSendReactionRequest) SendReactionRequest(sendReactionRequest SendReactionRequest) ApiSendReactionRequest
func (ApiSendReactionRequest) Token ¶
func (r ApiSendReactionRequest) Token(token string) ApiSendReactionRequest
JWT token or API key for authorization
type ApiSendStickerRequest ¶
type ApiSendStickerRequest struct {
ApiService *MessagingAPIService
// contains filtered or unexported fields
}
func (ApiSendStickerRequest) Execute ¶
func (r ApiSendStickerRequest) Execute() (*MessageSentResponse, *http.Response, error)
func (ApiSendStickerRequest) SendStickerRequest ¶
func (r ApiSendStickerRequest) SendStickerRequest(sendStickerRequest SendStickerRequest) ApiSendStickerRequest
func (ApiSendStickerRequest) Token ¶
func (r ApiSendStickerRequest) Token(token string) ApiSendStickerRequest
JWT token or API key for authorization
type ApiSendTemplateRequest ¶
type ApiSendTemplateRequest struct {
ApiService *TemplatesAPIService
// contains filtered or unexported fields
}
func (ApiSendTemplateRequest) Execute ¶
func (r ApiSendTemplateRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiSendTemplateRequest) SendTemplateRequest ¶
func (r ApiSendTemplateRequest) SendTemplateRequest(sendTemplateRequest SendTemplateRequest) ApiSendTemplateRequest
func (ApiSendTemplateRequest) Token ¶
func (r ApiSendTemplateRequest) Token(token string) ApiSendTemplateRequest
JWT token or API key for authorization
type ApiSetConversationalAutomationRequest ¶
type ApiSetConversationalAutomationRequest struct {
ApiService *ChannelAPIService
// contains filtered or unexported fields
}
func (ApiSetConversationalAutomationRequest) ConversationalAutomation ¶
func (r ApiSetConversationalAutomationRequest) ConversationalAutomation(conversationalAutomation ConversationalAutomation) ApiSetConversationalAutomationRequest
func (ApiSetConversationalAutomationRequest) Execute ¶
func (r ApiSetConversationalAutomationRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiSetConversationalAutomationRequest) Token ¶
func (r ApiSetConversationalAutomationRequest) Token(token string) ApiSetConversationalAutomationRequest
JWT token or API key for authorization
type ApiSetWebhookRequest ¶
type ApiSetWebhookRequest struct {
ApiService *WebhooksAPIService
// contains filtered or unexported fields
}
func (ApiSetWebhookRequest) Execute ¶
func (r ApiSetWebhookRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiSetWebhookRequest) GetWebhook200Response ¶
func (r ApiSetWebhookRequest) GetWebhook200Response(getWebhook200Response GetWebhook200Response) ApiSetWebhookRequest
func (ApiSetWebhookRequest) Token ¶
func (r ApiSetWebhookRequest) Token(token string) ApiSetWebhookRequest
JWT token or API key for authorization
type ApiSetWhatsappBusinessEncryptionRequest ¶
type ApiSetWhatsappBusinessEncryptionRequest struct {
ApiService *FlowsAPIService
// contains filtered or unexported fields
}
func (ApiSetWhatsappBusinessEncryptionRequest) Execute ¶
func (r ApiSetWhatsappBusinessEncryptionRequest) Execute() (*CreateCommerce200Response, *http.Response, error)
func (ApiSetWhatsappBusinessEncryptionRequest) SetWhatsappBusinessEncryptionRequest ¶
func (r ApiSetWhatsappBusinessEncryptionRequest) SetWhatsappBusinessEncryptionRequest(setWhatsappBusinessEncryptionRequest SetWhatsappBusinessEncryptionRequest) ApiSetWhatsappBusinessEncryptionRequest
func (ApiSetWhatsappBusinessEncryptionRequest) Token ¶
func (r ApiSetWhatsappBusinessEncryptionRequest) Token(token string) ApiSetWhatsappBusinessEncryptionRequest
JWT token or API key for authorization
type ApiUnblockUserRequest ¶
type ApiUnblockUserRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUnblockUserRequest) BlockUserRequest ¶
func (r ApiUnblockUserRequest) BlockUserRequest(blockUserRequest BlockUserRequest) ApiUnblockUserRequest
func (ApiUnblockUserRequest) Execute ¶
func (r ApiUnblockUserRequest) Execute() (*SuccessResponse, *http.Response, error)
func (ApiUnblockUserRequest) Token ¶
func (r ApiUnblockUserRequest) Token(token string) ApiUnblockUserRequest
JWT token or API key for authorization
type ApiUpdateCallingSettingsRequest ¶
type ApiUpdateCallingSettingsRequest struct {
ApiService *CallingAPIService
// contains filtered or unexported fields
}
func (ApiUpdateCallingSettingsRequest) Execute ¶
func (r ApiUpdateCallingSettingsRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiUpdateCallingSettingsRequest) RequestBody ¶
func (r ApiUpdateCallingSettingsRequest) RequestBody(requestBody map[string]interface{}) ApiUpdateCallingSettingsRequest
func (ApiUpdateCallingSettingsRequest) Token ¶
func (r ApiUpdateCallingSettingsRequest) Token(token string) ApiUpdateCallingSettingsRequest
JWT token or API key for authorization
type ApiUpdateMeRequest ¶
type ApiUpdateMeRequest struct {
ApiService *ProfileAPIService
// contains filtered or unexported fields
}
func (ApiUpdateMeRequest) Execute ¶
func (r ApiUpdateMeRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiUpdateMeRequest) Token ¶
func (r ApiUpdateMeRequest) Token(token string) ApiUpdateMeRequest
JWT token or API key for authorization
func (ApiUpdateMeRequest) UpdateMeRequest ¶
func (r ApiUpdateMeRequest) UpdateMeRequest(updateMeRequest UpdateMeRequest) ApiUpdateMeRequest
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BlockUserRequest ¶
type BlockUserRequest struct {
Phone int32 `json:"phone"`
AdditionalProperties map[string]interface{}
}
BlockUserRequest struct for BlockUserRequest
func NewBlockUserRequest ¶
func NewBlockUserRequest(phone int32) *BlockUserRequest
NewBlockUserRequest instantiates a new BlockUserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBlockUserRequestWithDefaults ¶
func NewBlockUserRequestWithDefaults() *BlockUserRequest
NewBlockUserRequestWithDefaults instantiates a new BlockUserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BlockUserRequest) GetPhone ¶
func (o *BlockUserRequest) GetPhone() int32
GetPhone returns the Phone field value
func (*BlockUserRequest) GetPhoneOk ¶
func (o *BlockUserRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.
func (BlockUserRequest) MarshalJSON ¶
func (o BlockUserRequest) MarshalJSON() ([]byte, error)
func (*BlockUserRequest) SetPhone ¶
func (o *BlockUserRequest) SetPhone(v int32)
SetPhone sets field value
func (BlockUserRequest) ToMap ¶
func (o BlockUserRequest) ToMap() (map[string]interface{}, error)
func (*BlockUserRequest) UnmarshalJSON ¶
func (o *BlockUserRequest) UnmarshalJSON(data []byte) (err error)
type CallingAPIService ¶
type CallingAPIService service
CallingAPIService CallingAPI service
func (*CallingAPIService) GetCallingSettings ¶
func (a *CallingAPIService) GetCallingSettings(ctx context.Context) ApiGetCallingSettingsRequest
GetCallingSettings Get calling settings
WhatsApp Calling API settings (beta). Requires Meta Calling enablement on the WABA. Not production-complete — paths and webhook field names may change. Trial/subscription-limited channels are blocked.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCallingSettingsRequest
func (*CallingAPIService) GetCallingSettingsExecute ¶
func (a *CallingAPIService) GetCallingSettingsExecute(r ApiGetCallingSettingsRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*CallingAPIService) InitiateCall ¶
func (a *CallingAPIService) InitiateCall(ctx context.Context) ApiInitiateCallRequest
InitiateCall Initiate WhatsApp call
Outbound Calling API (beta). Requires Meta Calling enablement and product consent. Not production-complete — verify on stage before relying on this in production. Trial/subscription-limited channels are blocked.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInitiateCallRequest
func (*CallingAPIService) InitiateCallExecute ¶
func (a *CallingAPIService) InitiateCallExecute(r ApiInitiateCallRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*CallingAPIService) UpdateCallingSettings ¶
func (a *CallingAPIService) UpdateCallingSettings(ctx context.Context) ApiUpdateCallingSettingsRequest
UpdateCallingSettings Update calling settings
Update WhatsApp Calling API settings (beta). Requires Meta Calling enablement. Trial/subscription-limited channels are blocked.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateCallingSettingsRequest
func (*CallingAPIService) UpdateCallingSettingsExecute ¶
func (a *CallingAPIService) UpdateCallingSettingsExecute(r ApiUpdateCallingSettingsRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type CatalogAPIService ¶
type CatalogAPIService service
CatalogAPIService CatalogAPI service
func (*CatalogAPIService) CreateCommerce ¶
func (a *CatalogAPIService) CreateCommerce(ctx context.Context) ApiCreateCommerceRequest
CreateCommerce Set Commerce Settings
Update catalog/cart commerce settings via the `params` object.
- `params.is_catalog_visible` — show catalog storefront icon (`true`) or hide it (`false`). - `params.is_cart_enabled` — enable cart (`true`) or disable it (`false`).
Blocked when the channel subscription limit is exceeded. Requires a commerce-capable channel (Cloud Functions `/commerceWAV2`).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCommerceRequest
func (*CatalogAPIService) CreateCommerceExecute ¶
func (a *CatalogAPIService) CreateCommerceExecute(r ApiCreateCommerceRequest) (*CreateCommerce200Response, *http.Response, error)
Execute executes the request
@return CreateCommerce200Response
func (*CatalogAPIService) GetCommerce ¶
func (a *CatalogAPIService) GetCommerce(ctx context.Context) ApiGetCommerceRequest
GetCommerce Get Commerce Settings
Returns catalog/cart commerce settings for the channel.
- `is_catalog_visible` — show catalog storefront icon (`true`) or hide it (`false`). - `is_cart_enabled` — enable cart (`true`) or disable it (`false`).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCommerceRequest
func (*CatalogAPIService) GetCommerceExecute ¶
func (a *CatalogAPIService) GetCommerceExecute(r ApiGetCommerceRequest) ([]GetCommerce200ResponseInner, *http.Response, error)
Execute executes the request
@return []GetCommerce200ResponseInner
type ChannelAPIService ¶
type ChannelAPIService service
ChannelAPIService ChannelAPI service
func (*ChannelAPIService) GetConversationalAutomation ¶
func (a *ChannelAPIService) GetConversationalAutomation(ctx context.Context) ApiGetConversationalAutomationRequest
GetConversationalAutomation Get conversational automation settings
Get WhatsApp conversational components for the channel (welcome message, ice-breaker prompts, and slash commands).
Proxies Meta/360dialog `GET /conversational_automation`.
When `enable_welcome_message` is true and a user opens chat for the first time, Meta delivers a webhook message with `type: request_welcome`. The inbound formatter exposes that as `type: "request_welcome"` and `meta.request_welcome: true` so your webhook can send a custom welcome reply.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetConversationalAutomationRequest
func (*ChannelAPIService) GetConversationalAutomationExecute ¶
func (a *ChannelAPIService) GetConversationalAutomationExecute(r ApiGetConversationalAutomationRequest) (*ConversationalAutomation, *http.Response, error)
Execute executes the request
@return ConversationalAutomation
func (*ChannelAPIService) GetStatus ¶
func (a *ChannelAPIService) GetStatus(ctx context.Context) ApiGetStatusRequest
GetStatus Get channel status
Returns WhatsApp Business API client connection status.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetStatusRequest
func (*ChannelAPIService) GetStatusExecute ¶
func (a *ChannelAPIService) GetStatusExecute(r ApiGetStatusRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*ChannelAPIService) SetConversationalAutomation ¶
func (a *ChannelAPIService) SetConversationalAutomation(ctx context.Context) ApiSetConversationalAutomationRequest
SetConversationalAutomation Set conversational automation settings
Update WhatsApp conversational components.
Allowed body fields (others are ignored): - `enable_welcome_message` (boolean) - `prompts` (string[], max 4, each ≤ 80 chars) - `commands` (`{ command_name, command_description }[]`)
Proxies Meta/360dialog `POST /conversational_automation`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetConversationalAutomationRequest
func (*ChannelAPIService) SetConversationalAutomationExecute ¶
func (a *ChannelAPIService) SetConversationalAutomationExecute(r ApiSetConversationalAutomationRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConversationalAutomation ¶
type ConversationalAutomation struct {
// Enable the automatic welcome message for new conversations
EnableWelcomeMessage *bool `json:"enable_welcome_message,omitempty"`
// Ice-breaker prompt strings (max 4, each ≤ 80 characters)
Prompts []string `json:"prompts,omitempty"`
// Slash commands shown in WhatsApp
Commands []ConversationalAutomationCommandsInner `json:"commands,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationalAutomation struct for ConversationalAutomation
func NewConversationalAutomation ¶
func NewConversationalAutomation() *ConversationalAutomation
NewConversationalAutomation instantiates a new ConversationalAutomation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConversationalAutomationWithDefaults ¶
func NewConversationalAutomationWithDefaults() *ConversationalAutomation
NewConversationalAutomationWithDefaults instantiates a new ConversationalAutomation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConversationalAutomation) GetCommands ¶
func (o *ConversationalAutomation) GetCommands() []ConversationalAutomationCommandsInner
GetCommands returns the Commands field value if set, zero value otherwise.
func (*ConversationalAutomation) GetCommandsOk ¶
func (o *ConversationalAutomation) GetCommandsOk() ([]ConversationalAutomationCommandsInner, bool)
GetCommandsOk returns a tuple with the Commands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationalAutomation) GetEnableWelcomeMessage ¶
func (o *ConversationalAutomation) GetEnableWelcomeMessage() bool
GetEnableWelcomeMessage returns the EnableWelcomeMessage field value if set, zero value otherwise.
func (*ConversationalAutomation) GetEnableWelcomeMessageOk ¶
func (o *ConversationalAutomation) GetEnableWelcomeMessageOk() (*bool, bool)
GetEnableWelcomeMessageOk returns a tuple with the EnableWelcomeMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationalAutomation) GetPrompts ¶
func (o *ConversationalAutomation) GetPrompts() []string
GetPrompts returns the Prompts field value if set, zero value otherwise.
func (*ConversationalAutomation) GetPromptsOk ¶
func (o *ConversationalAutomation) GetPromptsOk() ([]string, bool)
GetPromptsOk returns a tuple with the Prompts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationalAutomation) HasCommands ¶
func (o *ConversationalAutomation) HasCommands() bool
HasCommands returns a boolean if a field has been set.
func (*ConversationalAutomation) HasEnableWelcomeMessage ¶
func (o *ConversationalAutomation) HasEnableWelcomeMessage() bool
HasEnableWelcomeMessage returns a boolean if a field has been set.
func (*ConversationalAutomation) HasPrompts ¶
func (o *ConversationalAutomation) HasPrompts() bool
HasPrompts returns a boolean if a field has been set.
func (ConversationalAutomation) MarshalJSON ¶
func (o ConversationalAutomation) MarshalJSON() ([]byte, error)
func (*ConversationalAutomation) SetCommands ¶
func (o *ConversationalAutomation) SetCommands(v []ConversationalAutomationCommandsInner)
SetCommands gets a reference to the given []ConversationalAutomationCommandsInner and assigns it to the Commands field.
func (*ConversationalAutomation) SetEnableWelcomeMessage ¶
func (o *ConversationalAutomation) SetEnableWelcomeMessage(v bool)
SetEnableWelcomeMessage gets a reference to the given bool and assigns it to the EnableWelcomeMessage field.
func (*ConversationalAutomation) SetPrompts ¶
func (o *ConversationalAutomation) SetPrompts(v []string)
SetPrompts gets a reference to the given []string and assigns it to the Prompts field.
func (ConversationalAutomation) ToMap ¶
func (o ConversationalAutomation) ToMap() (map[string]interface{}, error)
func (*ConversationalAutomation) UnmarshalJSON ¶
func (o *ConversationalAutomation) UnmarshalJSON(data []byte) (err error)
type ConversationalAutomationCommandsInner ¶
type ConversationalAutomationCommandsInner struct {
CommandName string `json:"command_name"`
CommandDescription string `json:"command_description"`
AdditionalProperties map[string]interface{}
}
ConversationalAutomationCommandsInner struct for ConversationalAutomationCommandsInner
func NewConversationalAutomationCommandsInner ¶
func NewConversationalAutomationCommandsInner(commandName string, commandDescription string) *ConversationalAutomationCommandsInner
NewConversationalAutomationCommandsInner instantiates a new ConversationalAutomationCommandsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConversationalAutomationCommandsInnerWithDefaults ¶
func NewConversationalAutomationCommandsInnerWithDefaults() *ConversationalAutomationCommandsInner
NewConversationalAutomationCommandsInnerWithDefaults instantiates a new ConversationalAutomationCommandsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConversationalAutomationCommandsInner) GetCommandDescription ¶
func (o *ConversationalAutomationCommandsInner) GetCommandDescription() string
GetCommandDescription returns the CommandDescription field value
func (*ConversationalAutomationCommandsInner) GetCommandDescriptionOk ¶
func (o *ConversationalAutomationCommandsInner) GetCommandDescriptionOk() (*string, bool)
GetCommandDescriptionOk returns a tuple with the CommandDescription field value and a boolean to check if the value has been set.
func (*ConversationalAutomationCommandsInner) GetCommandName ¶
func (o *ConversationalAutomationCommandsInner) GetCommandName() string
GetCommandName returns the CommandName field value
func (*ConversationalAutomationCommandsInner) GetCommandNameOk ¶
func (o *ConversationalAutomationCommandsInner) GetCommandNameOk() (*string, bool)
GetCommandNameOk returns a tuple with the CommandName field value and a boolean to check if the value has been set.
func (ConversationalAutomationCommandsInner) MarshalJSON ¶
func (o ConversationalAutomationCommandsInner) MarshalJSON() ([]byte, error)
func (*ConversationalAutomationCommandsInner) SetCommandDescription ¶
func (o *ConversationalAutomationCommandsInner) SetCommandDescription(v string)
SetCommandDescription sets field value
func (*ConversationalAutomationCommandsInner) SetCommandName ¶
func (o *ConversationalAutomationCommandsInner) SetCommandName(v string)
SetCommandName sets field value
func (ConversationalAutomationCommandsInner) ToMap ¶
func (o ConversationalAutomationCommandsInner) ToMap() (map[string]interface{}, error)
func (*ConversationalAutomationCommandsInner) UnmarshalJSON ¶
func (o *ConversationalAutomationCommandsInner) UnmarshalJSON(data []byte) (err error)
type CreateCommerce200Response ¶
type CreateCommerce200Response struct {
Success *bool `json:"success,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCommerce200Response struct for CreateCommerce200Response
func NewCreateCommerce200Response ¶
func NewCreateCommerce200Response() *CreateCommerce200Response
NewCreateCommerce200Response instantiates a new CreateCommerce200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCommerce200ResponseWithDefaults ¶
func NewCreateCommerce200ResponseWithDefaults() *CreateCommerce200Response
NewCreateCommerce200ResponseWithDefaults instantiates a new CreateCommerce200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCommerce200Response) GetSuccess ¶
func (o *CreateCommerce200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*CreateCommerce200Response) GetSuccessOk ¶
func (o *CreateCommerce200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCommerce200Response) HasSuccess ¶
func (o *CreateCommerce200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (CreateCommerce200Response) MarshalJSON ¶
func (o CreateCommerce200Response) MarshalJSON() ([]byte, error)
func (*CreateCommerce200Response) SetSuccess ¶
func (o *CreateCommerce200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (CreateCommerce200Response) ToMap ¶
func (o CreateCommerce200Response) ToMap() (map[string]interface{}, error)
func (*CreateCommerce200Response) UnmarshalJSON ¶
func (o *CreateCommerce200Response) UnmarshalJSON(data []byte) (err error)
type CreateCommerceRequest ¶
type CreateCommerceRequest struct {
Params CreateCommerceRequestParams `json:"params"`
AdditionalProperties map[string]interface{}
}
CreateCommerceRequest struct for CreateCommerceRequest
func NewCreateCommerceRequest ¶
func NewCreateCommerceRequest(params CreateCommerceRequestParams) *CreateCommerceRequest
NewCreateCommerceRequest instantiates a new CreateCommerceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCommerceRequestWithDefaults ¶
func NewCreateCommerceRequestWithDefaults() *CreateCommerceRequest
NewCreateCommerceRequestWithDefaults instantiates a new CreateCommerceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCommerceRequest) GetParams ¶
func (o *CreateCommerceRequest) GetParams() CreateCommerceRequestParams
GetParams returns the Params field value
func (*CreateCommerceRequest) GetParamsOk ¶
func (o *CreateCommerceRequest) GetParamsOk() (*CreateCommerceRequestParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (CreateCommerceRequest) MarshalJSON ¶
func (o CreateCommerceRequest) MarshalJSON() ([]byte, error)
func (*CreateCommerceRequest) SetParams ¶
func (o *CreateCommerceRequest) SetParams(v CreateCommerceRequestParams)
SetParams sets field value
func (CreateCommerceRequest) ToMap ¶
func (o CreateCommerceRequest) ToMap() (map[string]interface{}, error)
func (*CreateCommerceRequest) UnmarshalJSON ¶
func (o *CreateCommerceRequest) UnmarshalJSON(data []byte) (err error)
type CreateCommerceRequestParams ¶
type CreateCommerceRequestParams struct {
// Enable cart
IsCartEnabled bool `json:"is_cart_enabled"`
// Show catalog storefront icon
IsCatalogVisible bool `json:"is_catalog_visible"`
AdditionalProperties map[string]interface{}
}
CreateCommerceRequestParams struct for CreateCommerceRequestParams
func NewCreateCommerceRequestParams ¶
func NewCreateCommerceRequestParams(isCartEnabled bool, isCatalogVisible bool) *CreateCommerceRequestParams
NewCreateCommerceRequestParams instantiates a new CreateCommerceRequestParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCommerceRequestParamsWithDefaults ¶
func NewCreateCommerceRequestParamsWithDefaults() *CreateCommerceRequestParams
NewCreateCommerceRequestParamsWithDefaults instantiates a new CreateCommerceRequestParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCommerceRequestParams) GetIsCartEnabled ¶
func (o *CreateCommerceRequestParams) GetIsCartEnabled() bool
GetIsCartEnabled returns the IsCartEnabled field value
func (*CreateCommerceRequestParams) GetIsCartEnabledOk ¶
func (o *CreateCommerceRequestParams) GetIsCartEnabledOk() (*bool, bool)
GetIsCartEnabledOk returns a tuple with the IsCartEnabled field value and a boolean to check if the value has been set.
func (*CreateCommerceRequestParams) GetIsCatalogVisible ¶
func (o *CreateCommerceRequestParams) GetIsCatalogVisible() bool
GetIsCatalogVisible returns the IsCatalogVisible field value
func (*CreateCommerceRequestParams) GetIsCatalogVisibleOk ¶
func (o *CreateCommerceRequestParams) GetIsCatalogVisibleOk() (*bool, bool)
GetIsCatalogVisibleOk returns a tuple with the IsCatalogVisible field value and a boolean to check if the value has been set.
func (CreateCommerceRequestParams) MarshalJSON ¶
func (o CreateCommerceRequestParams) MarshalJSON() ([]byte, error)
func (*CreateCommerceRequestParams) SetIsCartEnabled ¶
func (o *CreateCommerceRequestParams) SetIsCartEnabled(v bool)
SetIsCartEnabled sets field value
func (*CreateCommerceRequestParams) SetIsCatalogVisible ¶
func (o *CreateCommerceRequestParams) SetIsCatalogVisible(v bool)
SetIsCatalogVisible sets field value
func (CreateCommerceRequestParams) ToMap ¶
func (o CreateCommerceRequestParams) ToMap() (map[string]interface{}, error)
func (*CreateCommerceRequestParams) UnmarshalJSON ¶
func (o *CreateCommerceRequestParams) UnmarshalJSON(data []byte) (err error)
type CreateGroups200Response ¶
type CreateGroups200Response struct {
// Error details returned by the provider. May be a string or a JSON object.
Error interface{} `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateGroups200Response struct for CreateGroups200Response
func NewCreateGroups200Response ¶
func NewCreateGroups200Response() *CreateGroups200Response
NewCreateGroups200Response instantiates a new CreateGroups200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateGroups200ResponseWithDefaults ¶
func NewCreateGroups200ResponseWithDefaults() *CreateGroups200Response
NewCreateGroups200ResponseWithDefaults instantiates a new CreateGroups200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateGroups200Response) GetError ¶
func (o *CreateGroups200Response) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateGroups200Response) GetErrorOk ¶
func (o *CreateGroups200Response) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateGroups200Response) HasError ¶
func (o *CreateGroups200Response) HasError() bool
HasError returns a boolean if a field has been set.
func (CreateGroups200Response) MarshalJSON ¶
func (o CreateGroups200Response) MarshalJSON() ([]byte, error)
func (*CreateGroups200Response) SetError ¶
func (o *CreateGroups200Response) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
func (CreateGroups200Response) ToMap ¶
func (o CreateGroups200Response) ToMap() (map[string]interface{}, error)
func (*CreateGroups200Response) UnmarshalJSON ¶
func (o *CreateGroups200Response) UnmarshalJSON(data []byte) (err error)
type CreateReadMessage200Response ¶
type CreateReadMessage200Response struct {
Result *string `json:"result,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateReadMessage200Response struct for CreateReadMessage200Response
func NewCreateReadMessage200Response ¶
func NewCreateReadMessage200Response() *CreateReadMessage200Response
NewCreateReadMessage200Response instantiates a new CreateReadMessage200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateReadMessage200ResponseWithDefaults ¶
func NewCreateReadMessage200ResponseWithDefaults() *CreateReadMessage200Response
NewCreateReadMessage200ResponseWithDefaults instantiates a new CreateReadMessage200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateReadMessage200Response) GetResult ¶
func (o *CreateReadMessage200Response) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*CreateReadMessage200Response) GetResultOk ¶
func (o *CreateReadMessage200Response) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateReadMessage200Response) HasResult ¶
func (o *CreateReadMessage200Response) HasResult() bool
HasResult returns a boolean if a field has been set.
func (CreateReadMessage200Response) MarshalJSON ¶
func (o CreateReadMessage200Response) MarshalJSON() ([]byte, error)
func (*CreateReadMessage200Response) SetResult ¶
func (o *CreateReadMessage200Response) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (CreateReadMessage200Response) ToMap ¶
func (o CreateReadMessage200Response) ToMap() (map[string]interface{}, error)
func (*CreateReadMessage200Response) UnmarshalJSON ¶
func (o *CreateReadMessage200Response) UnmarshalJSON(data []byte) (err error)
type CreateReadMessage401Response ¶
type CreateReadMessage401Response struct {
Error *string `json:"error,omitempty"`
}
CreateReadMessage401Response struct for CreateReadMessage401Response
func NewCreateReadMessage401Response ¶
func NewCreateReadMessage401Response() *CreateReadMessage401Response
NewCreateReadMessage401Response instantiates a new CreateReadMessage401Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateReadMessage401ResponseWithDefaults ¶
func NewCreateReadMessage401ResponseWithDefaults() *CreateReadMessage401Response
NewCreateReadMessage401ResponseWithDefaults instantiates a new CreateReadMessage401Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateReadMessage401Response) GetError ¶
func (o *CreateReadMessage401Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*CreateReadMessage401Response) GetErrorOk ¶
func (o *CreateReadMessage401Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateReadMessage401Response) HasError ¶
func (o *CreateReadMessage401Response) HasError() bool
HasError returns a boolean if a field has been set.
func (CreateReadMessage401Response) MarshalJSON ¶
func (o CreateReadMessage401Response) MarshalJSON() ([]byte, error)
func (*CreateReadMessage401Response) SetError ¶
func (o *CreateReadMessage401Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (CreateReadMessage401Response) ToMap ¶
func (o CreateReadMessage401Response) ToMap() (map[string]interface{}, error)
type CreateReadMessageRequest ¶
type CreateReadMessageRequest struct {
MessageId *string `json:"messageId,omitempty"`
MsgId *string `json:"msgId,omitempty"`
// Show WhatsApp typing indicator (max 25s or until reply)
TypingIndicator *bool `json:"typingIndicator,omitempty"`
}
CreateReadMessageRequest struct for CreateReadMessageRequest
func NewCreateReadMessageRequest ¶
func NewCreateReadMessageRequest() *CreateReadMessageRequest
NewCreateReadMessageRequest instantiates a new CreateReadMessageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateReadMessageRequestWithDefaults ¶
func NewCreateReadMessageRequestWithDefaults() *CreateReadMessageRequest
NewCreateReadMessageRequestWithDefaults instantiates a new CreateReadMessageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateReadMessageRequest) GetMessageId ¶
func (o *CreateReadMessageRequest) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*CreateReadMessageRequest) GetMessageIdOk ¶
func (o *CreateReadMessageRequest) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateReadMessageRequest) GetMsgId ¶
func (o *CreateReadMessageRequest) GetMsgId() string
GetMsgId returns the MsgId field value if set, zero value otherwise.
func (*CreateReadMessageRequest) GetMsgIdOk ¶
func (o *CreateReadMessageRequest) GetMsgIdOk() (*string, bool)
GetMsgIdOk returns a tuple with the MsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateReadMessageRequest) GetTypingIndicator ¶
func (o *CreateReadMessageRequest) GetTypingIndicator() bool
GetTypingIndicator returns the TypingIndicator field value if set, zero value otherwise.
func (*CreateReadMessageRequest) GetTypingIndicatorOk ¶
func (o *CreateReadMessageRequest) GetTypingIndicatorOk() (*bool, bool)
GetTypingIndicatorOk returns a tuple with the TypingIndicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateReadMessageRequest) HasMessageId ¶
func (o *CreateReadMessageRequest) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (*CreateReadMessageRequest) HasMsgId ¶
func (o *CreateReadMessageRequest) HasMsgId() bool
HasMsgId returns a boolean if a field has been set.
func (*CreateReadMessageRequest) HasTypingIndicator ¶
func (o *CreateReadMessageRequest) HasTypingIndicator() bool
HasTypingIndicator returns a boolean if a field has been set.
func (CreateReadMessageRequest) MarshalJSON ¶
func (o CreateReadMessageRequest) MarshalJSON() ([]byte, error)
func (*CreateReadMessageRequest) SetMessageId ¶
func (o *CreateReadMessageRequest) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (*CreateReadMessageRequest) SetMsgId ¶
func (o *CreateReadMessageRequest) SetMsgId(v string)
SetMsgId gets a reference to the given string and assigns it to the MsgId field.
func (*CreateReadMessageRequest) SetTypingIndicator ¶
func (o *CreateReadMessageRequest) SetTypingIndicator(v bool)
SetTypingIndicator gets a reference to the given bool and assigns it to the TypingIndicator field.
func (CreateReadMessageRequest) ToMap ¶
func (o CreateReadMessageRequest) ToMap() (map[string]interface{}, error)
type DeleteFlowsFlowId200Response ¶
type DeleteFlowsFlowId200Response struct {
Success *bool `json:"success,omitempty"`
// Error details returned by the provider. May be a string or a JSON object.
Error interface{} `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteFlowsFlowId200Response struct for DeleteFlowsFlowId200Response
func NewDeleteFlowsFlowId200Response ¶
func NewDeleteFlowsFlowId200Response() *DeleteFlowsFlowId200Response
NewDeleteFlowsFlowId200Response instantiates a new DeleteFlowsFlowId200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteFlowsFlowId200ResponseWithDefaults ¶
func NewDeleteFlowsFlowId200ResponseWithDefaults() *DeleteFlowsFlowId200Response
NewDeleteFlowsFlowId200ResponseWithDefaults instantiates a new DeleteFlowsFlowId200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteFlowsFlowId200Response) GetError ¶
func (o *DeleteFlowsFlowId200Response) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DeleteFlowsFlowId200Response) GetErrorOk ¶
func (o *DeleteFlowsFlowId200Response) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DeleteFlowsFlowId200Response) GetSuccess ¶
func (o *DeleteFlowsFlowId200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*DeleteFlowsFlowId200Response) GetSuccessOk ¶
func (o *DeleteFlowsFlowId200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteFlowsFlowId200Response) HasError ¶
func (o *DeleteFlowsFlowId200Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*DeleteFlowsFlowId200Response) HasSuccess ¶
func (o *DeleteFlowsFlowId200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (DeleteFlowsFlowId200Response) MarshalJSON ¶
func (o DeleteFlowsFlowId200Response) MarshalJSON() ([]byte, error)
func (*DeleteFlowsFlowId200Response) SetError ¶
func (o *DeleteFlowsFlowId200Response) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
func (*DeleteFlowsFlowId200Response) SetSuccess ¶
func (o *DeleteFlowsFlowId200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (DeleteFlowsFlowId200Response) ToMap ¶
func (o DeleteFlowsFlowId200Response) ToMap() (map[string]interface{}, error)
func (*DeleteFlowsFlowId200Response) UnmarshalJSON ¶
func (o *DeleteFlowsFlowId200Response) UnmarshalJSON(data []byte) (err error)
type DeleteGroupsGroupId200Response ¶
type DeleteGroupsGroupId200Response struct {
Success *bool `json:"success,omitempty"`
Response map[string]interface{} `json:"response,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteGroupsGroupId200Response struct for DeleteGroupsGroupId200Response
func NewDeleteGroupsGroupId200Response ¶
func NewDeleteGroupsGroupId200Response() *DeleteGroupsGroupId200Response
NewDeleteGroupsGroupId200Response instantiates a new DeleteGroupsGroupId200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteGroupsGroupId200ResponseWithDefaults ¶
func NewDeleteGroupsGroupId200ResponseWithDefaults() *DeleteGroupsGroupId200Response
NewDeleteGroupsGroupId200ResponseWithDefaults instantiates a new DeleteGroupsGroupId200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteGroupsGroupId200Response) GetResponse ¶
func (o *DeleteGroupsGroupId200Response) GetResponse() map[string]interface{}
GetResponse returns the Response field value if set, zero value otherwise.
func (*DeleteGroupsGroupId200Response) GetResponseOk ¶
func (o *DeleteGroupsGroupId200Response) GetResponseOk() (map[string]interface{}, bool)
GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteGroupsGroupId200Response) GetSuccess ¶
func (o *DeleteGroupsGroupId200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*DeleteGroupsGroupId200Response) GetSuccessOk ¶
func (o *DeleteGroupsGroupId200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteGroupsGroupId200Response) HasResponse ¶
func (o *DeleteGroupsGroupId200Response) HasResponse() bool
HasResponse returns a boolean if a field has been set.
func (*DeleteGroupsGroupId200Response) HasSuccess ¶
func (o *DeleteGroupsGroupId200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (DeleteGroupsGroupId200Response) MarshalJSON ¶
func (o DeleteGroupsGroupId200Response) MarshalJSON() ([]byte, error)
func (*DeleteGroupsGroupId200Response) SetResponse ¶
func (o *DeleteGroupsGroupId200Response) SetResponse(v map[string]interface{})
SetResponse gets a reference to the given map[string]interface{} and assigns it to the Response field.
func (*DeleteGroupsGroupId200Response) SetSuccess ¶
func (o *DeleteGroupsGroupId200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (DeleteGroupsGroupId200Response) ToMap ¶
func (o DeleteGroupsGroupId200Response) ToMap() (map[string]interface{}, error)
func (*DeleteGroupsGroupId200Response) UnmarshalJSON ¶
func (o *DeleteGroupsGroupId200Response) UnmarshalJSON(data []byte) (err error)
type DeleteMediaLegacyRequest ¶
type DeleteMediaLegacyRequest struct {
// Numeric WABA media id
MediaId string `json:"mediaId"`
AdditionalProperties map[string]interface{}
}
DeleteMediaLegacyRequest struct for DeleteMediaLegacyRequest
func NewDeleteMediaLegacyRequest ¶
func NewDeleteMediaLegacyRequest(mediaId string) *DeleteMediaLegacyRequest
NewDeleteMediaLegacyRequest instantiates a new DeleteMediaLegacyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteMediaLegacyRequestWithDefaults ¶
func NewDeleteMediaLegacyRequestWithDefaults() *DeleteMediaLegacyRequest
NewDeleteMediaLegacyRequestWithDefaults instantiates a new DeleteMediaLegacyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteMediaLegacyRequest) GetMediaId ¶
func (o *DeleteMediaLegacyRequest) GetMediaId() string
GetMediaId returns the MediaId field value
func (*DeleteMediaLegacyRequest) GetMediaIdOk ¶
func (o *DeleteMediaLegacyRequest) GetMediaIdOk() (*string, bool)
GetMediaIdOk returns a tuple with the MediaId field value and a boolean to check if the value has been set.
func (DeleteMediaLegacyRequest) MarshalJSON ¶
func (o DeleteMediaLegacyRequest) MarshalJSON() ([]byte, error)
func (*DeleteMediaLegacyRequest) SetMediaId ¶
func (o *DeleteMediaLegacyRequest) SetMediaId(v string)
SetMediaId sets field value
func (DeleteMediaLegacyRequest) ToMap ¶
func (o DeleteMediaLegacyRequest) ToMap() (map[string]interface{}, error)
func (*DeleteMediaLegacyRequest) UnmarshalJSON ¶
func (o *DeleteMediaLegacyRequest) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct {
// Error message
Error *string `json:"error,omitempty"`
}
ErrorResponse Standard error response
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetError ¶
func (o *ErrorResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorResponse) GetErrorOk ¶
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasError ¶
func (o *ErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetError ¶
func (o *ErrorResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type FlowsAPIService ¶
type FlowsAPIService service
FlowsAPIService FlowsAPI service
func (*FlowsAPIService) CreateFlows ¶
func (a *FlowsAPIService) CreateFlows(ctx context.Context) ApiCreateFlowsRequest
CreateFlows Create Flow
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateFlowsRequest
func (*FlowsAPIService) CreateFlowsExecute ¶
func (a *FlowsAPIService) CreateFlowsExecute(r ApiCreateFlowsRequest) (*CreateGroups200Response, *http.Response, error)
Execute executes the request
@return CreateGroups200Response
func (*FlowsAPIService) CreateFlowsFlowIdDeprecate ¶
func (a *FlowsAPIService) CreateFlowsFlowIdDeprecate(ctx context.Context, flowId string) ApiCreateFlowsFlowIdDeprecateRequest
CreateFlowsFlowIdDeprecate Deprecate Flow
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiCreateFlowsFlowIdDeprecateRequest
func (*FlowsAPIService) CreateFlowsFlowIdDeprecateExecute ¶
func (a *FlowsAPIService) CreateFlowsFlowIdDeprecateExecute(r ApiCreateFlowsFlowIdDeprecateRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*FlowsAPIService) CreateFlowsFlowIdPublish ¶
func (a *FlowsAPIService) CreateFlowsFlowIdPublish(ctx context.Context, flowId string) ApiCreateFlowsFlowIdPublishRequest
CreateFlowsFlowIdPublish Publish Flow
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiCreateFlowsFlowIdPublishRequest
func (*FlowsAPIService) CreateFlowsFlowIdPublishExecute ¶
func (a *FlowsAPIService) CreateFlowsFlowIdPublishExecute(r ApiCreateFlowsFlowIdPublishRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*FlowsAPIService) DeleteFlowsFlowId ¶
func (a *FlowsAPIService) DeleteFlowsFlowId(ctx context.Context, flowId string) ApiDeleteFlowsFlowIdRequest
DeleteFlowsFlowId Delete Flow
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiDeleteFlowsFlowIdRequest
func (*FlowsAPIService) DeleteFlowsFlowIdExecute ¶
func (a *FlowsAPIService) DeleteFlowsFlowIdExecute(r ApiDeleteFlowsFlowIdRequest) (*DeleteFlowsFlowId200Response, *http.Response, error)
Execute executes the request
@return DeleteFlowsFlowId200Response
func (*FlowsAPIService) GetFlowsFlowId ¶
func (a *FlowsAPIService) GetFlowsFlowId(ctx context.Context, flowId string) ApiGetFlowsFlowIdRequest
GetFlowsFlowId Get Flow Details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiGetFlowsFlowIdRequest
func (*FlowsAPIService) GetFlowsFlowIdExecute ¶
func (a *FlowsAPIService) GetFlowsFlowIdExecute(r ApiGetFlowsFlowIdRequest) (*CreateGroups200Response, *http.Response, error)
Execute executes the request
@return CreateGroups200Response
func (*FlowsAPIService) GetFlowsFlowIdPreview ¶
func (a *FlowsAPIService) GetFlowsFlowIdPreview(ctx context.Context, flowId string) ApiGetFlowsFlowIdPreviewRequest
GetFlowsFlowIdPreview Preview Flow
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiGetFlowsFlowIdPreviewRequest
func (*FlowsAPIService) GetFlowsFlowIdPreviewExecute ¶
func (a *FlowsAPIService) GetFlowsFlowIdPreviewExecute(r ApiGetFlowsFlowIdPreviewRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*FlowsAPIService) GetWhatsappBusinessEncryption ¶
func (a *FlowsAPIService) GetWhatsappBusinessEncryption(ctx context.Context) ApiGetWhatsappBusinessEncryptionRequest
GetWhatsappBusinessEncryption Get business encryption public key
Retrieve the WhatsApp business public key and signature status for this channel's phone number. Required before publishing or sending Flows that use data encryption.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWhatsappBusinessEncryptionRequest
func (*FlowsAPIService) GetWhatsappBusinessEncryptionExecute ¶
func (a *FlowsAPIService) GetWhatsappBusinessEncryptionExecute(r ApiGetWhatsappBusinessEncryptionRequest) (*GetWhatsappBusinessEncryption200Response, *http.Response, error)
Execute executes the request
@return GetWhatsappBusinessEncryption200Response
func (*FlowsAPIService) ListFlows ¶
func (a *FlowsAPIService) ListFlows(ctx context.Context) ApiListFlowsRequest
ListFlows List Flows
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListFlowsRequest
func (*FlowsAPIService) ListFlowsExecute ¶
func (a *FlowsAPIService) ListFlowsExecute(r ApiListFlowsRequest) (*ListFlows200Response, *http.Response, error)
Execute executes the request
@return ListFlows200Response
func (*FlowsAPIService) PatchFlowsFlowIdAssets ¶
func (a *FlowsAPIService) PatchFlowsFlowIdAssets(ctx context.Context, flowId string) ApiPatchFlowsFlowIdAssetsRequest
PatchFlowsFlowIdAssets Update Flow Structure
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiPatchFlowsFlowIdAssetsRequest
func (*FlowsAPIService) PatchFlowsFlowIdAssetsExecute ¶
func (a *FlowsAPIService) PatchFlowsFlowIdAssetsExecute(r ApiPatchFlowsFlowIdAssetsRequest) (*PatchFlowsFlowIdAssets200Response, *http.Response, error)
Execute executes the request
@return PatchFlowsFlowIdAssets200Response
func (*FlowsAPIService) PatchFlowsFlowIdMetadata ¶
func (a *FlowsAPIService) PatchFlowsFlowIdMetadata(ctx context.Context, flowId string) ApiPatchFlowsFlowIdMetadataRequest
PatchFlowsFlowIdMetadata Update Flow Metadata
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param flowId Flow ID @return ApiPatchFlowsFlowIdMetadataRequest
func (*FlowsAPIService) PatchFlowsFlowIdMetadataExecute ¶
func (a *FlowsAPIService) PatchFlowsFlowIdMetadataExecute(r ApiPatchFlowsFlowIdMetadataRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*FlowsAPIService) SetWhatsappBusinessEncryption ¶
func (a *FlowsAPIService) SetWhatsappBusinessEncryption(ctx context.Context) ApiSetWhatsappBusinessEncryptionRequest
SetWhatsappBusinessEncryption Set business encryption public key
Upload and sign a 2048-bit RSA business public key (PEM) for this channel's phone number. Meta requires a signed key before Flow publish/send. Only one active key per number; a new upload replaces the previous key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetWhatsappBusinessEncryptionRequest
func (*FlowsAPIService) SetWhatsappBusinessEncryptionExecute ¶
func (a *FlowsAPIService) SetWhatsappBusinessEncryptionExecute(r ApiSetWhatsappBusinessEncryptionRequest) (*CreateCommerce200Response, *http.Response, error)
Execute executes the request
@return CreateCommerce200Response
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetCommerce200ResponseInner ¶
type GetCommerce200ResponseInner struct {
// Catalog id
Id *string `json:"id,omitempty"`
// Whether the cart is enabled
IsCartEnabled *bool `json:"is_cart_enabled,omitempty"`
// Whether the catalog storefront icon is shown
IsCatalogVisible *bool `json:"is_catalog_visible,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCommerce200ResponseInner struct for GetCommerce200ResponseInner
func NewGetCommerce200ResponseInner ¶
func NewGetCommerce200ResponseInner() *GetCommerce200ResponseInner
NewGetCommerce200ResponseInner instantiates a new GetCommerce200ResponseInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetCommerce200ResponseInnerWithDefaults ¶
func NewGetCommerce200ResponseInnerWithDefaults() *GetCommerce200ResponseInner
NewGetCommerce200ResponseInnerWithDefaults instantiates a new GetCommerce200ResponseInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetCommerce200ResponseInner) GetId ¶
func (o *GetCommerce200ResponseInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GetCommerce200ResponseInner) GetIdOk ¶
func (o *GetCommerce200ResponseInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCommerce200ResponseInner) GetIsCartEnabled ¶
func (o *GetCommerce200ResponseInner) GetIsCartEnabled() bool
GetIsCartEnabled returns the IsCartEnabled field value if set, zero value otherwise.
func (*GetCommerce200ResponseInner) GetIsCartEnabledOk ¶
func (o *GetCommerce200ResponseInner) GetIsCartEnabledOk() (*bool, bool)
GetIsCartEnabledOk returns a tuple with the IsCartEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCommerce200ResponseInner) GetIsCatalogVisible ¶
func (o *GetCommerce200ResponseInner) GetIsCatalogVisible() bool
GetIsCatalogVisible returns the IsCatalogVisible field value if set, zero value otherwise.
func (*GetCommerce200ResponseInner) GetIsCatalogVisibleOk ¶
func (o *GetCommerce200ResponseInner) GetIsCatalogVisibleOk() (*bool, bool)
GetIsCatalogVisibleOk returns a tuple with the IsCatalogVisible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCommerce200ResponseInner) HasId ¶
func (o *GetCommerce200ResponseInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*GetCommerce200ResponseInner) HasIsCartEnabled ¶
func (o *GetCommerce200ResponseInner) HasIsCartEnabled() bool
HasIsCartEnabled returns a boolean if a field has been set.
func (*GetCommerce200ResponseInner) HasIsCatalogVisible ¶
func (o *GetCommerce200ResponseInner) HasIsCatalogVisible() bool
HasIsCatalogVisible returns a boolean if a field has been set.
func (GetCommerce200ResponseInner) MarshalJSON ¶
func (o GetCommerce200ResponseInner) MarshalJSON() ([]byte, error)
func (*GetCommerce200ResponseInner) SetId ¶
func (o *GetCommerce200ResponseInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GetCommerce200ResponseInner) SetIsCartEnabled ¶
func (o *GetCommerce200ResponseInner) SetIsCartEnabled(v bool)
SetIsCartEnabled gets a reference to the given bool and assigns it to the IsCartEnabled field.
func (*GetCommerce200ResponseInner) SetIsCatalogVisible ¶
func (o *GetCommerce200ResponseInner) SetIsCatalogVisible(v bool)
SetIsCatalogVisible gets a reference to the given bool and assigns it to the IsCatalogVisible field.
func (GetCommerce200ResponseInner) ToMap ¶
func (o GetCommerce200ResponseInner) ToMap() (map[string]interface{}, error)
func (*GetCommerce200ResponseInner) UnmarshalJSON ¶
func (o *GetCommerce200ResponseInner) UnmarshalJSON(data []byte) (err error)
type GetMmLiteStatus200Response ¶
type GetMmLiteStatus200Response struct {
Available *bool `json:"available,omitempty"`
Status *string `json:"status,omitempty"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
GetMmLiteStatus200Response struct for GetMmLiteStatus200Response
func NewGetMmLiteStatus200Response ¶
func NewGetMmLiteStatus200Response() *GetMmLiteStatus200Response
NewGetMmLiteStatus200Response instantiates a new GetMmLiteStatus200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetMmLiteStatus200ResponseWithDefaults ¶
func NewGetMmLiteStatus200ResponseWithDefaults() *GetMmLiteStatus200Response
NewGetMmLiteStatus200ResponseWithDefaults instantiates a new GetMmLiteStatus200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetMmLiteStatus200Response) GetAvailable ¶
func (o *GetMmLiteStatus200Response) GetAvailable() bool
GetAvailable returns the Available field value if set, zero value otherwise.
func (*GetMmLiteStatus200Response) GetAvailableOk ¶
func (o *GetMmLiteStatus200Response) GetAvailableOk() (*bool, bool)
GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMmLiteStatus200Response) GetMessage ¶
func (o *GetMmLiteStatus200Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GetMmLiteStatus200Response) GetMessageOk ¶
func (o *GetMmLiteStatus200Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMmLiteStatus200Response) GetStatus ¶
func (o *GetMmLiteStatus200Response) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*GetMmLiteStatus200Response) GetStatusOk ¶
func (o *GetMmLiteStatus200Response) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetMmLiteStatus200Response) HasAvailable ¶
func (o *GetMmLiteStatus200Response) HasAvailable() bool
HasAvailable returns a boolean if a field has been set.
func (*GetMmLiteStatus200Response) HasMessage ¶
func (o *GetMmLiteStatus200Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GetMmLiteStatus200Response) HasStatus ¶
func (o *GetMmLiteStatus200Response) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (GetMmLiteStatus200Response) MarshalJSON ¶
func (o GetMmLiteStatus200Response) MarshalJSON() ([]byte, error)
func (*GetMmLiteStatus200Response) SetAvailable ¶
func (o *GetMmLiteStatus200Response) SetAvailable(v bool)
SetAvailable gets a reference to the given bool and assigns it to the Available field.
func (*GetMmLiteStatus200Response) SetMessage ¶
func (o *GetMmLiteStatus200Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GetMmLiteStatus200Response) SetStatus ¶
func (o *GetMmLiteStatus200Response) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (GetMmLiteStatus200Response) ToMap ¶
func (o GetMmLiteStatus200Response) ToMap() (map[string]interface{}, error)
func (*GetMmLiteStatus200Response) UnmarshalJSON ¶
func (o *GetMmLiteStatus200Response) UnmarshalJSON(data []byte) (err error)
type GetWebhook200Response ¶
type GetWebhook200Response struct {
WebhookUrl *string `json:"webhookUrl,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWebhook200Response struct for GetWebhook200Response
func NewGetWebhook200Response ¶
func NewGetWebhook200Response() *GetWebhook200Response
NewGetWebhook200Response instantiates a new GetWebhook200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetWebhook200ResponseWithDefaults ¶
func NewGetWebhook200ResponseWithDefaults() *GetWebhook200Response
NewGetWebhook200ResponseWithDefaults instantiates a new GetWebhook200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetWebhook200Response) GetWebhookUrl ¶
func (o *GetWebhook200Response) GetWebhookUrl() string
GetWebhookUrl returns the WebhookUrl field value if set, zero value otherwise.
func (*GetWebhook200Response) GetWebhookUrlOk ¶
func (o *GetWebhook200Response) GetWebhookUrlOk() (*string, bool)
GetWebhookUrlOk returns a tuple with the WebhookUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWebhook200Response) HasWebhookUrl ¶
func (o *GetWebhook200Response) HasWebhookUrl() bool
HasWebhookUrl returns a boolean if a field has been set.
func (GetWebhook200Response) MarshalJSON ¶
func (o GetWebhook200Response) MarshalJSON() ([]byte, error)
func (*GetWebhook200Response) SetWebhookUrl ¶
func (o *GetWebhook200Response) SetWebhookUrl(v string)
SetWebhookUrl gets a reference to the given string and assigns it to the WebhookUrl field.
func (GetWebhook200Response) ToMap ¶
func (o GetWebhook200Response) ToMap() (map[string]interface{}, error)
func (*GetWebhook200Response) UnmarshalJSON ¶
func (o *GetWebhook200Response) UnmarshalJSON(data []byte) (err error)
type GetWhatsappBusinessEncryption200Response ¶
type GetWhatsappBusinessEncryption200Response struct {
// Stored 2048-bit RSA public key (PEM)
BusinessPublicKey *string `json:"business_public_key,omitempty"`
BusinessPublicKeySignatureStatus *string `json:"business_public_key_signature_status,omitempty"`
Data []map[string]interface{} `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWhatsappBusinessEncryption200Response struct for GetWhatsappBusinessEncryption200Response
func NewGetWhatsappBusinessEncryption200Response ¶
func NewGetWhatsappBusinessEncryption200Response() *GetWhatsappBusinessEncryption200Response
NewGetWhatsappBusinessEncryption200Response instantiates a new GetWhatsappBusinessEncryption200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetWhatsappBusinessEncryption200ResponseWithDefaults ¶
func NewGetWhatsappBusinessEncryption200ResponseWithDefaults() *GetWhatsappBusinessEncryption200Response
NewGetWhatsappBusinessEncryption200ResponseWithDefaults instantiates a new GetWhatsappBusinessEncryption200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetWhatsappBusinessEncryption200Response) GetBusinessPublicKey ¶
func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKey() string
GetBusinessPublicKey returns the BusinessPublicKey field value if set, zero value otherwise.
func (*GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeyOk ¶
func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeyOk() (*string, bool)
GetBusinessPublicKeyOk returns a tuple with the BusinessPublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatus ¶
func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatus() string
GetBusinessPublicKeySignatureStatus returns the BusinessPublicKeySignatureStatus field value if set, zero value otherwise.
func (*GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatusOk ¶
func (o *GetWhatsappBusinessEncryption200Response) GetBusinessPublicKeySignatureStatusOk() (*string, bool)
GetBusinessPublicKeySignatureStatusOk returns a tuple with the BusinessPublicKeySignatureStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWhatsappBusinessEncryption200Response) GetData ¶
func (o *GetWhatsappBusinessEncryption200Response) GetData() []map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*GetWhatsappBusinessEncryption200Response) GetDataOk ¶
func (o *GetWhatsappBusinessEncryption200Response) GetDataOk() ([]map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWhatsappBusinessEncryption200Response) HasBusinessPublicKey ¶
func (o *GetWhatsappBusinessEncryption200Response) HasBusinessPublicKey() bool
HasBusinessPublicKey returns a boolean if a field has been set.
func (*GetWhatsappBusinessEncryption200Response) HasBusinessPublicKeySignatureStatus ¶
func (o *GetWhatsappBusinessEncryption200Response) HasBusinessPublicKeySignatureStatus() bool
HasBusinessPublicKeySignatureStatus returns a boolean if a field has been set.
func (*GetWhatsappBusinessEncryption200Response) HasData ¶
func (o *GetWhatsappBusinessEncryption200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (GetWhatsappBusinessEncryption200Response) MarshalJSON ¶
func (o GetWhatsappBusinessEncryption200Response) MarshalJSON() ([]byte, error)
func (*GetWhatsappBusinessEncryption200Response) SetBusinessPublicKey ¶
func (o *GetWhatsappBusinessEncryption200Response) SetBusinessPublicKey(v string)
SetBusinessPublicKey gets a reference to the given string and assigns it to the BusinessPublicKey field.
func (*GetWhatsappBusinessEncryption200Response) SetBusinessPublicKeySignatureStatus ¶
func (o *GetWhatsappBusinessEncryption200Response) SetBusinessPublicKeySignatureStatus(v string)
SetBusinessPublicKeySignatureStatus gets a reference to the given string and assigns it to the BusinessPublicKeySignatureStatus field.
func (*GetWhatsappBusinessEncryption200Response) SetData ¶
func (o *GetWhatsappBusinessEncryption200Response) SetData(v []map[string]interface{})
SetData gets a reference to the given []map[string]interface{} and assigns it to the Data field.
func (GetWhatsappBusinessEncryption200Response) ToMap ¶
func (o GetWhatsappBusinessEncryption200Response) ToMap() (map[string]interface{}, error)
func (*GetWhatsappBusinessEncryption200Response) UnmarshalJSON ¶
func (o *GetWhatsappBusinessEncryption200Response) UnmarshalJSON(data []byte) (err error)
type GroupsAPIService ¶
type GroupsAPIService service
GroupsAPIService GroupsAPI service
func (*GroupsAPIService) CreateGroups ¶
func (a *GroupsAPIService) CreateGroups(ctx context.Context) ApiCreateGroupsRequest
CreateGroups Create Group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateGroupsRequest
func (*GroupsAPIService) CreateGroupsExecute ¶
func (a *GroupsAPIService) CreateGroupsExecute(r ApiCreateGroupsRequest) (*CreateGroups200Response, *http.Response, error)
Execute executes the request
@return CreateGroups200Response
func (*GroupsAPIService) CreateGroupsGroupId ¶
func (a *GroupsAPIService) CreateGroupsGroupId(ctx context.Context, groupId string) ApiCreateGroupsGroupIdRequest
CreateGroupsGroupId Update Group Info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiCreateGroupsGroupIdRequest
func (*GroupsAPIService) CreateGroupsGroupIdExecute ¶
func (a *GroupsAPIService) CreateGroupsGroupIdExecute(r ApiCreateGroupsGroupIdRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*GroupsAPIService) CreateGroupsGroupIdInvitelink ¶
func (a *GroupsAPIService) CreateGroupsGroupIdInvitelink(ctx context.Context, groupId string) ApiCreateGroupsGroupIdInvitelinkRequest
CreateGroupsGroupIdInvitelink Reset Invite Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiCreateGroupsGroupIdInvitelinkRequest
func (*GroupsAPIService) CreateGroupsGroupIdInvitelinkExecute ¶
func (a *GroupsAPIService) CreateGroupsGroupIdInvitelinkExecute(r ApiCreateGroupsGroupIdInvitelinkRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*GroupsAPIService) DeleteGroupsGroupId ¶
func (a *GroupsAPIService) DeleteGroupsGroupId(ctx context.Context, groupId string) ApiDeleteGroupsGroupIdRequest
DeleteGroupsGroupId Delete Group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiDeleteGroupsGroupIdRequest
func (*GroupsAPIService) DeleteGroupsGroupIdExecute ¶
func (a *GroupsAPIService) DeleteGroupsGroupIdExecute(r ApiDeleteGroupsGroupIdRequest) (*DeleteGroupsGroupId200Response, *http.Response, error)
Execute executes the request
@return DeleteGroupsGroupId200Response
func (*GroupsAPIService) GetGroupsGroupId ¶
func (a *GroupsAPIService) GetGroupsGroupId(ctx context.Context, groupId string) ApiGetGroupsGroupIdRequest
GetGroupsGroupId Get Group Info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiGetGroupsGroupIdRequest
func (*GroupsAPIService) GetGroupsGroupIdExecute ¶
func (a *GroupsAPIService) GetGroupsGroupIdExecute(r ApiGetGroupsGroupIdRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*GroupsAPIService) GetGroupsGroupIdInvitelink ¶
func (a *GroupsAPIService) GetGroupsGroupIdInvitelink(ctx context.Context, groupId string) ApiGetGroupsGroupIdInvitelinkRequest
GetGroupsGroupIdInvitelink Get Invite Link
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId @return ApiGetGroupsGroupIdInvitelinkRequest
func (*GroupsAPIService) GetGroupsGroupIdInvitelinkExecute ¶
func (a *GroupsAPIService) GetGroupsGroupIdInvitelinkExecute(r ApiGetGroupsGroupIdInvitelinkRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*GroupsAPIService) ListGroups ¶
func (a *GroupsAPIService) ListGroups(ctx context.Context) ApiListGroupsRequest
ListGroups Get Groups List
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListGroupsRequest
func (*GroupsAPIService) ListGroupsExecute ¶
func (a *GroupsAPIService) ListGroupsExecute(r ApiListGroupsRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type ListBlockedUsers200Response ¶
type ListBlockedUsers200Response struct {
BlockedUsers []map[string]interface{} `json:"blockedUsers,omitempty"`
AdditionalProperties map[string]interface{}
}
ListBlockedUsers200Response struct for ListBlockedUsers200Response
func NewListBlockedUsers200Response ¶
func NewListBlockedUsers200Response() *ListBlockedUsers200Response
NewListBlockedUsers200Response instantiates a new ListBlockedUsers200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListBlockedUsers200ResponseWithDefaults ¶
func NewListBlockedUsers200ResponseWithDefaults() *ListBlockedUsers200Response
NewListBlockedUsers200ResponseWithDefaults instantiates a new ListBlockedUsers200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListBlockedUsers200Response) GetBlockedUsers ¶
func (o *ListBlockedUsers200Response) GetBlockedUsers() []map[string]interface{}
GetBlockedUsers returns the BlockedUsers field value if set, zero value otherwise.
func (*ListBlockedUsers200Response) GetBlockedUsersOk ¶
func (o *ListBlockedUsers200Response) GetBlockedUsersOk() ([]map[string]interface{}, bool)
GetBlockedUsersOk returns a tuple with the BlockedUsers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListBlockedUsers200Response) HasBlockedUsers ¶
func (o *ListBlockedUsers200Response) HasBlockedUsers() bool
HasBlockedUsers returns a boolean if a field has been set.
func (ListBlockedUsers200Response) MarshalJSON ¶
func (o ListBlockedUsers200Response) MarshalJSON() ([]byte, error)
func (*ListBlockedUsers200Response) SetBlockedUsers ¶
func (o *ListBlockedUsers200Response) SetBlockedUsers(v []map[string]interface{})
SetBlockedUsers gets a reference to the given []map[string]interface{} and assigns it to the BlockedUsers field.
func (ListBlockedUsers200Response) ToMap ¶
func (o ListBlockedUsers200Response) ToMap() (map[string]interface{}, error)
func (*ListBlockedUsers200Response) UnmarshalJSON ¶
func (o *ListBlockedUsers200Response) UnmarshalJSON(data []byte) (err error)
type ListFlows200Response ¶
type ListFlows200Response struct {
Items []map[string]interface{} `json:"items,omitempty"`
Paging map[string]interface{} `json:"paging,omitempty"`
Count *int32 `json:"count,omitempty"`
Total *int32 `json:"total,omitempty"`
// Error details returned by the provider. May be a string or a JSON object.
Error interface{} `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
ListFlows200Response struct for ListFlows200Response
func NewListFlows200Response ¶
func NewListFlows200Response() *ListFlows200Response
NewListFlows200Response instantiates a new ListFlows200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListFlows200ResponseWithDefaults ¶
func NewListFlows200ResponseWithDefaults() *ListFlows200Response
NewListFlows200ResponseWithDefaults instantiates a new ListFlows200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListFlows200Response) GetCount ¶
func (o *ListFlows200Response) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ListFlows200Response) GetCountOk ¶
func (o *ListFlows200Response) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFlows200Response) GetError ¶
func (o *ListFlows200Response) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListFlows200Response) GetErrorOk ¶
func (o *ListFlows200Response) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListFlows200Response) GetItems ¶
func (o *ListFlows200Response) GetItems() []map[string]interface{}
GetItems returns the Items field value if set, zero value otherwise.
func (*ListFlows200Response) GetItemsOk ¶
func (o *ListFlows200Response) GetItemsOk() ([]map[string]interface{}, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFlows200Response) GetPaging ¶
func (o *ListFlows200Response) GetPaging() map[string]interface{}
GetPaging returns the Paging field value if set, zero value otherwise.
func (*ListFlows200Response) GetPagingOk ¶
func (o *ListFlows200Response) GetPagingOk() (map[string]interface{}, bool)
GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFlows200Response) GetTotal ¶
func (o *ListFlows200Response) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*ListFlows200Response) GetTotalOk ¶
func (o *ListFlows200Response) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFlows200Response) HasCount ¶
func (o *ListFlows200Response) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListFlows200Response) HasError ¶
func (o *ListFlows200Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListFlows200Response) HasItems ¶
func (o *ListFlows200Response) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ListFlows200Response) HasPaging ¶
func (o *ListFlows200Response) HasPaging() bool
HasPaging returns a boolean if a field has been set.
func (*ListFlows200Response) HasTotal ¶
func (o *ListFlows200Response) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (ListFlows200Response) MarshalJSON ¶
func (o ListFlows200Response) MarshalJSON() ([]byte, error)
func (*ListFlows200Response) SetCount ¶
func (o *ListFlows200Response) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*ListFlows200Response) SetError ¶
func (o *ListFlows200Response) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
func (*ListFlows200Response) SetItems ¶
func (o *ListFlows200Response) SetItems(v []map[string]interface{})
SetItems gets a reference to the given []map[string]interface{} and assigns it to the Items field.
func (*ListFlows200Response) SetPaging ¶
func (o *ListFlows200Response) SetPaging(v map[string]interface{})
SetPaging gets a reference to the given map[string]interface{} and assigns it to the Paging field.
func (*ListFlows200Response) SetTotal ¶
func (o *ListFlows200Response) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (ListFlows200Response) ToMap ¶
func (o ListFlows200Response) ToMap() (map[string]interface{}, error)
func (*ListFlows200Response) UnmarshalJSON ¶
func (o *ListFlows200Response) UnmarshalJSON(data []byte) (err error)
type ListMessages200Response ¶
type ListMessages200Response struct {
Notice *string `json:"notice,omitempty"`
Messages []map[string]interface{} `json:"messages,omitempty"`
AdditionalProperties map[string]interface{}
}
ListMessages200Response struct for ListMessages200Response
func NewListMessages200Response ¶
func NewListMessages200Response() *ListMessages200Response
NewListMessages200Response instantiates a new ListMessages200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListMessages200ResponseWithDefaults ¶
func NewListMessages200ResponseWithDefaults() *ListMessages200Response
NewListMessages200ResponseWithDefaults instantiates a new ListMessages200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListMessages200Response) GetMessages ¶
func (o *ListMessages200Response) GetMessages() []map[string]interface{}
GetMessages returns the Messages field value if set, zero value otherwise.
func (*ListMessages200Response) GetMessagesOk ¶
func (o *ListMessages200Response) GetMessagesOk() ([]map[string]interface{}, bool)
GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListMessages200Response) GetNotice ¶
func (o *ListMessages200Response) GetNotice() string
GetNotice returns the Notice field value if set, zero value otherwise.
func (*ListMessages200Response) GetNoticeOk ¶
func (o *ListMessages200Response) GetNoticeOk() (*string, bool)
GetNoticeOk returns a tuple with the Notice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListMessages200Response) HasMessages ¶
func (o *ListMessages200Response) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (*ListMessages200Response) HasNotice ¶
func (o *ListMessages200Response) HasNotice() bool
HasNotice returns a boolean if a field has been set.
func (ListMessages200Response) MarshalJSON ¶
func (o ListMessages200Response) MarshalJSON() ([]byte, error)
func (*ListMessages200Response) SetMessages ¶
func (o *ListMessages200Response) SetMessages(v []map[string]interface{})
SetMessages gets a reference to the given []map[string]interface{} and assigns it to the Messages field.
func (*ListMessages200Response) SetNotice ¶
func (o *ListMessages200Response) SetNotice(v string)
SetNotice gets a reference to the given string and assigns it to the Notice field.
func (ListMessages200Response) ToMap ¶
func (o ListMessages200Response) ToMap() (map[string]interface{}, error)
func (*ListMessages200Response) UnmarshalJSON ¶
func (o *ListMessages200Response) UnmarshalJSON(data []byte) (err error)
type ListTemplates200Response ¶
type ListTemplates200Response struct {
Total *int32 `json:"total,omitempty"`
Templates []map[string]interface{} `json:"templates,omitempty"`
Error map[string]interface{} `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
ListTemplates200Response struct for ListTemplates200Response
func NewListTemplates200Response ¶
func NewListTemplates200Response() *ListTemplates200Response
NewListTemplates200Response instantiates a new ListTemplates200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListTemplates200ResponseWithDefaults ¶
func NewListTemplates200ResponseWithDefaults() *ListTemplates200Response
NewListTemplates200ResponseWithDefaults instantiates a new ListTemplates200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListTemplates200Response) GetError ¶
func (o *ListTemplates200Response) GetError() map[string]interface{}
GetError returns the Error field value if set, zero value otherwise.
func (*ListTemplates200Response) GetErrorOk ¶
func (o *ListTemplates200Response) GetErrorOk() (map[string]interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTemplates200Response) GetTemplates ¶
func (o *ListTemplates200Response) GetTemplates() []map[string]interface{}
GetTemplates returns the Templates field value if set, zero value otherwise.
func (*ListTemplates200Response) GetTemplatesOk ¶
func (o *ListTemplates200Response) GetTemplatesOk() ([]map[string]interface{}, bool)
GetTemplatesOk returns a tuple with the Templates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTemplates200Response) GetTotal ¶
func (o *ListTemplates200Response) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*ListTemplates200Response) GetTotalOk ¶
func (o *ListTemplates200Response) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTemplates200Response) HasError ¶
func (o *ListTemplates200Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListTemplates200Response) HasTemplates ¶
func (o *ListTemplates200Response) HasTemplates() bool
HasTemplates returns a boolean if a field has been set.
func (*ListTemplates200Response) HasTotal ¶
func (o *ListTemplates200Response) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (ListTemplates200Response) MarshalJSON ¶
func (o ListTemplates200Response) MarshalJSON() ([]byte, error)
func (*ListTemplates200Response) SetError ¶
func (o *ListTemplates200Response) SetError(v map[string]interface{})
SetError gets a reference to the given map[string]interface{} and assigns it to the Error field.
func (*ListTemplates200Response) SetTemplates ¶
func (o *ListTemplates200Response) SetTemplates(v []map[string]interface{})
SetTemplates gets a reference to the given []map[string]interface{} and assigns it to the Templates field.
func (*ListTemplates200Response) SetTotal ¶
func (o *ListTemplates200Response) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (ListTemplates200Response) ToMap ¶
func (o ListTemplates200Response) ToMap() (map[string]interface{}, error)
func (*ListTemplates200Response) UnmarshalJSON ¶
func (o *ListTemplates200Response) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type MessageSentResponse ¶
type MessageSentResponse struct {
// Whether the message was successfully queued for sending
Sent *bool `json:"sent,omitempty"`
// Message ID
Id *string `json:"id,omitempty"`
// Status message
Message *string `json:"message,omitempty"`
// Detailed description
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
MessageSentResponse Response for successfully sent message
func NewMessageSentResponse ¶
func NewMessageSentResponse() *MessageSentResponse
NewMessageSentResponse instantiates a new MessageSentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMessageSentResponseWithDefaults ¶
func NewMessageSentResponseWithDefaults() *MessageSentResponse
NewMessageSentResponseWithDefaults instantiates a new MessageSentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MessageSentResponse) GetDescription ¶
func (o *MessageSentResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MessageSentResponse) GetDescriptionOk ¶
func (o *MessageSentResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageSentResponse) GetId ¶
func (o *MessageSentResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MessageSentResponse) GetIdOk ¶
func (o *MessageSentResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageSentResponse) GetMessage ¶
func (o *MessageSentResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*MessageSentResponse) GetMessageOk ¶
func (o *MessageSentResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageSentResponse) GetSent ¶
func (o *MessageSentResponse) GetSent() bool
GetSent returns the Sent field value if set, zero value otherwise.
func (*MessageSentResponse) GetSentOk ¶
func (o *MessageSentResponse) GetSentOk() (*bool, bool)
GetSentOk returns a tuple with the Sent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageSentResponse) HasDescription ¶
func (o *MessageSentResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MessageSentResponse) HasId ¶
func (o *MessageSentResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*MessageSentResponse) HasMessage ¶
func (o *MessageSentResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*MessageSentResponse) HasSent ¶
func (o *MessageSentResponse) HasSent() bool
HasSent returns a boolean if a field has been set.
func (MessageSentResponse) MarshalJSON ¶
func (o MessageSentResponse) MarshalJSON() ([]byte, error)
func (*MessageSentResponse) SetDescription ¶
func (o *MessageSentResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MessageSentResponse) SetId ¶
func (o *MessageSentResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MessageSentResponse) SetMessage ¶
func (o *MessageSentResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*MessageSentResponse) SetSent ¶
func (o *MessageSentResponse) SetSent(v bool)
SetSent gets a reference to the given bool and assigns it to the Sent field.
func (MessageSentResponse) ToMap ¶
func (o MessageSentResponse) ToMap() (map[string]interface{}, error)
func (*MessageSentResponse) UnmarshalJSON ¶
func (o *MessageSentResponse) UnmarshalJSON(data []byte) (err error)
type MessagingAPIService ¶
type MessagingAPIService service
MessagingAPIService MessagingAPI service
func (*MessagingAPIService) CreateReadMessage ¶
func (a *MessagingAPIService) CreateReadMessage(ctx context.Context) ApiCreateReadMessageRequest
CreateReadMessage Mark message as read
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateReadMessageRequest
func (*MessagingAPIService) CreateReadMessageExecute ¶
func (a *MessagingAPIService) CreateReadMessageExecute(r ApiCreateReadMessageRequest) (*CreateReadMessage200Response, *http.Response, error)
Execute executes the request
@return CreateReadMessage200Response
func (*MessagingAPIService) CreateUploadMedia ¶
func (a *MessagingAPIService) CreateUploadMedia(ctx context.Context) ApiCreateUploadMediaRequest
CreateUploadMedia Upload media
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateUploadMediaRequest
func (*MessagingAPIService) CreateUploadMediaExecute ¶
func (a *MessagingAPIService) CreateUploadMediaExecute(r ApiCreateUploadMediaRequest) (*http.Response, error)
Execute executes the request
func (*MessagingAPIService) DeleteMedia ¶
func (a *MessagingAPIService) DeleteMedia(ctx context.Context, mediaId string) ApiDeleteMediaRequest
DeleteMedia Delete media from WABA storage
Delete previously uploaded media by numeric `mediaId` (from `/uploadMedia`).
This is the canonical deletion endpoint and uses the REST `DELETE` verb on the media resource path. The older `POST /deleteMedia` is a deprecated alias.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param mediaId Numeric WABA media id @return ApiDeleteMediaRequest
func (*MessagingAPIService) DeleteMediaExecute ¶
func (a *MessagingAPIService) DeleteMediaExecute(r ApiDeleteMediaRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
func (*MessagingAPIService) DeleteMediaLegacy ¶
func (a *MessagingAPIService) DeleteMediaLegacy(ctx context.Context) ApiDeleteMediaLegacyRequest
DeleteMediaLegacy Delete media from WABA storage (deprecated alias)
**Deprecated.** Use `DELETE /media/{mediaId}` instead.
This POST alias is kept for backward compatibility with earlier integrations. New integrations should call `DELETE /media/{mediaId}`: 1msg follows REST conventions for resource deletion going forward (delete a resource with the `DELETE` verb on its resource path).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteMediaLegacyRequest
Deprecated
func (*MessagingAPIService) DeleteMediaLegacyExecute ¶
func (a *MessagingAPIService) DeleteMediaLegacyExecute(r ApiDeleteMediaLegacyRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
Deprecated
func (*MessagingAPIService) GetMmLiteStatus ¶
func (a *MessagingAPIService) GetMmLiteStatus(ctx context.Context) ApiGetMmLiteStatusRequest
GetMmLiteStatus Get MM Lite availability and status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetMmLiteStatusRequest
func (*MessagingAPIService) GetMmLiteStatusExecute ¶
func (a *MessagingAPIService) GetMmLiteStatusExecute(r ApiGetMmLiteStatusRequest) (*GetMmLiteStatus200Response, *http.Response, error)
Execute executes the request
@return GetMmLiteStatus200Response
func (*MessagingAPIService) ListMessages ¶
func (a *MessagingAPIService) ListMessages(ctx context.Context) ApiListMessagesRequest
ListMessages Get messages list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListMessagesRequest
func (*MessagingAPIService) ListMessagesExecute ¶
func (a *MessagingAPIService) ListMessagesExecute(r ApiListMessagesRequest) (*ListMessages200Response, *http.Response, error)
Execute executes the request
@return ListMessages200Response
func (*MessagingAPIService) RetrieveMedia ¶
func (a *MessagingAPIService) RetrieveMedia(ctx context.Context) ApiRetrieveMediaRequest
RetrieveMedia Retrieve uploaded media metadata
Get WABA media URL and metadata by mediaId (from uploadMedia). The returned `url` is temporary and typically expires within ~5 minutes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRetrieveMediaRequest
func (*MessagingAPIService) RetrieveMediaExecute ¶
func (a *MessagingAPIService) RetrieveMediaExecute(r ApiRetrieveMediaRequest) (*RetrieveMedia200Response, *http.Response, error)
Execute executes the request
@return RetrieveMedia200Response
func (*MessagingAPIService) SendAddressMessage ¶
func (a *MessagingAPIService) SendAddressMessage(ctx context.Context) ApiSendAddressMessageRequest
SendAddressMessage Send address request message
Request shipping address from the user (WhatsApp interactive `address_message`).
**India and Singapore only.** Requires: - Business WhatsApp number registered in that country - Recipient phone matching the country (`+91` ↔ `IN`, `+65` ↔ `SG`)
Pass `country: "IN"` or `country: "SG"`. Eligibility is validated upstream; mismatches (e.g. Singapore phone with `country: "IN"`) return errors such as `Unsupported Interactive Message type` (HTTP 200 with `sent: false`).
Optional action parameters: `values`, `saved_addresses`, `validation_errors`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendAddressMessageRequest
func (*MessagingAPIService) SendAddressMessageExecute ¶
func (a *MessagingAPIService) SendAddressMessageExecute(r ApiSendAddressMessageRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendButton ¶
func (a *MessagingAPIService) SendButton(ctx context.Context) ApiSendButtonRequest
SendButton Send Reply Buttons Message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendButtonRequest
func (*MessagingAPIService) SendButtonExecute ¶
func (a *MessagingAPIService) SendButtonExecute(r ApiSendButtonRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendCarousel ¶
func (a *MessagingAPIService) SendCarousel(ctx context.Context) ApiSendCarouselRequest
SendCarousel Send Carousel
You can send product cards via Carousel in two ways:
Template messages: do not require a 24-hour customer service window between you and the recipient. Use sendTemplate.
Free-form messages: can be sent only when a customer service window is open between you and the recipient. Use sendCarousel.
The message structure in /sendCarousel is largely similar to sending a template. However, in this case you must explicitly specify all elements that are created in advance when working with templates. This is because the message is sent without using a template.
In /sendCarousel, for sending a Catalog Carousel there can be either 1 URL button or one or more quick reply buttons.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendCarouselRequest
func (*MessagingAPIService) SendCarouselExecute ¶
func (a *MessagingAPIService) SendCarouselExecute(r ApiSendCarouselRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendContact ¶
func (a *MessagingAPIService) SendContact(ctx context.Context) ApiSendContactRequest
SendContact Send a Contact
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendContactRequest
func (*MessagingAPIService) SendContactExecute ¶
func (a *MessagingAPIService) SendContactExecute(r ApiSendContactRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendCtaUrl ¶
func (a *MessagingAPIService) SendCtaUrl(ctx context.Context) ApiSendCtaUrlRequest
SendCtaUrl Send CTA URL interactive message
Send an interactive message with a single call-to-action URL button.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendCtaUrlRequest
func (*MessagingAPIService) SendCtaUrlExecute ¶
func (a *MessagingAPIService) SendCtaUrlExecute(r ApiSendCtaUrlRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendFile ¶
func (a *MessagingAPIService) SendFile(ctx context.Context) ApiSendFileRequest
SendFile Send a File
Send a file to an existing chat. (Only if the dialogue has an Open Session). Only one of two parameters is needed to determine the destination - chatId or phone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendFileRequest
func (*MessagingAPIService) SendFileExecute ¶
func (a *MessagingAPIService) SendFileExecute(r ApiSendFileRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendFlow ¶
func (a *MessagingAPIService) SendFlow(ctx context.Context) ApiSendFlowRequest
SendFlow Send WhatsApp Flow Message
Send Interactive WhatsApp Flow message to an existing chat. (Only if the dialogue has an Open Session). Only one of two parameters is needed to determine the destination - chatId or phone.
Use this method to send a published WhatsApp Flow as a service (interactive) message. If the 24-hour window is closed, send a template with a FLOW button via /sendTemplate.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendFlowRequest
func (*MessagingAPIService) SendFlowExecute ¶
func (a *MessagingAPIService) SendFlowExecute(r ApiSendFlowRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendList ¶
func (a *MessagingAPIService) SendList(ctx context.Context) ApiSendListRequest
SendList Send List Message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendListRequest
func (*MessagingAPIService) SendListExecute ¶
func (a *MessagingAPIService) SendListExecute(r ApiSendListRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendLocation ¶
func (a *MessagingAPIService) SendLocation(ctx context.Context) ApiSendLocationRequest
SendLocation Send a Location
Send a location to an existing chat. (Only if the dialogue has an Open Session). Only one of two parameters is needed to determine the destination - chatId or phone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendLocationRequest
func (*MessagingAPIService) SendLocationExecute ¶
func (a *MessagingAPIService) SendLocationExecute(r ApiSendLocationRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendLocationRequest ¶
func (a *MessagingAPIService) SendLocationRequest(ctx context.Context) ApiSendLocationRequestRequest
SendLocationRequest Send Location Request Message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendLocationRequestRequest
func (*MessagingAPIService) SendLocationRequestExecute ¶
func (a *MessagingAPIService) SendLocationRequestExecute(r ApiSendLocationRequestRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendMessage ¶
func (a *MessagingAPIService) SendMessage(ctx context.Context) ApiSendMessageRequest
SendMessage Send a Message
Send a message to an existing chat. (Only if the dialogue has an Open Session). The message will be added to the queue for sending and delivered even if the phone is disconnected from the Internet or authorization is not passed.
Only one of two parameters is needed to determine the destination - chatId or phone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendMessageRequest
func (*MessagingAPIService) SendMessageExecute ¶
func (a *MessagingAPIService) SendMessageExecute(r ApiSendMessageRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendOrderDetails ¶
func (a *MessagingAPIService) SendOrderDetails(ctx context.Context) ApiSendOrderDetailsRequest
SendOrderDetails Send order details (India payments template)
Send a WhatsApp **order details** payment / invoice message using a pre-approved **Utility** template that has an `ORDER_DETAILS` button.
**India only** (WhatsApp Payments India). Requires: - India WhatsApp Business number - Commerce enabled on the channel (`GET`/`POST /commerce`) - Approved template with an `ORDER_DETAILS` button
Use this method when you need structured fields (`order`, `referenceId`, `currency`, `paymentSettings`). The API appends a template button `sub_type: order_details` and sends via the same path as `POST /sendTemplate`.
Works **outside the 24-hour session window** (template message).
You can also send the same payload yourself with `POST /sendTemplate` by including a button component in `params`:
```json
{
"type": "button",
"sub_type": "order_details",
"index": 0,
"parameters": [{
"type": "action",
"action": {
"order_details": {
"reference_id": "order-123",
"currency": "INR",
"order": { "status": "pending", "items": [], "subtotal": { "offset": 100, "value": 50000 } }
}
}
}]
}
```
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendOrderDetailsRequest
func (*MessagingAPIService) SendOrderDetailsExecute ¶
func (a *MessagingAPIService) SendOrderDetailsExecute(r ApiSendOrderDetailsRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendPaymentRequest ¶
func (a *MessagingAPIService) SendPaymentRequest(ctx context.Context) ApiSendPaymentRequestRequest
SendPaymentRequest Send payment request (regional)
Send a regional payment request interactive message (beta scaffold). `region` must be IN, SG, or BR. Payload shape follows Meta regional payments docs; verify on stage before production use. Full regional builders are not implemented yet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendPaymentRequestRequest
func (*MessagingAPIService) SendPaymentRequestExecute ¶
func (a *MessagingAPIService) SendPaymentRequestExecute(r ApiSendPaymentRequestRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendProduct ¶
func (a *MessagingAPIService) SendProduct(ctx context.Context) ApiSendProductRequest
SendProduct Send a Product
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendProductRequest
func (*MessagingAPIService) SendProductExecute ¶
func (a *MessagingAPIService) SendProductExecute(r ApiSendProductRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendReaction ¶
func (a *MessagingAPIService) SendReaction(ctx context.Context) ApiSendReactionRequest
SendReaction Send Reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendReactionRequest
func (*MessagingAPIService) SendReactionExecute ¶
func (a *MessagingAPIService) SendReactionExecute(r ApiSendReactionRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
func (*MessagingAPIService) SendSticker ¶
func (a *MessagingAPIService) SendSticker(ctx context.Context) ApiSendStickerRequest
SendSticker Send sticker message
Send a WhatsApp sticker by mediaId or link URL.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendStickerRequest
func (*MessagingAPIService) SendStickerExecute ¶
func (a *MessagingAPIService) SendStickerExecute(r ApiSendStickerRequest) (*MessageSentResponse, *http.Response, error)
Execute executes the request
@return MessageSentResponse
type NullableAddTemplateRequest ¶
type NullableAddTemplateRequest struct {
// contains filtered or unexported fields
}
func NewNullableAddTemplateRequest ¶
func NewNullableAddTemplateRequest(val *AddTemplateRequest) *NullableAddTemplateRequest
func (NullableAddTemplateRequest) Get ¶
func (v NullableAddTemplateRequest) Get() *AddTemplateRequest
func (NullableAddTemplateRequest) IsSet ¶
func (v NullableAddTemplateRequest) IsSet() bool
func (NullableAddTemplateRequest) MarshalJSON ¶
func (v NullableAddTemplateRequest) MarshalJSON() ([]byte, error)
func (*NullableAddTemplateRequest) Set ¶
func (v *NullableAddTemplateRequest) Set(val *AddTemplateRequest)
func (*NullableAddTemplateRequest) UnmarshalJSON ¶
func (v *NullableAddTemplateRequest) UnmarshalJSON(src []byte) error
func (*NullableAddTemplateRequest) Unset ¶
func (v *NullableAddTemplateRequest) Unset()
type NullableBlockUserRequest ¶
type NullableBlockUserRequest struct {
// contains filtered or unexported fields
}
func NewNullableBlockUserRequest ¶
func NewNullableBlockUserRequest(val *BlockUserRequest) *NullableBlockUserRequest
func (NullableBlockUserRequest) Get ¶
func (v NullableBlockUserRequest) Get() *BlockUserRequest
func (NullableBlockUserRequest) IsSet ¶
func (v NullableBlockUserRequest) IsSet() bool
func (NullableBlockUserRequest) MarshalJSON ¶
func (v NullableBlockUserRequest) MarshalJSON() ([]byte, error)
func (*NullableBlockUserRequest) Set ¶
func (v *NullableBlockUserRequest) Set(val *BlockUserRequest)
func (*NullableBlockUserRequest) UnmarshalJSON ¶
func (v *NullableBlockUserRequest) UnmarshalJSON(src []byte) error
func (*NullableBlockUserRequest) Unset ¶
func (v *NullableBlockUserRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConversationalAutomation ¶
type NullableConversationalAutomation struct {
// contains filtered or unexported fields
}
func NewNullableConversationalAutomation ¶
func NewNullableConversationalAutomation(val *ConversationalAutomation) *NullableConversationalAutomation
func (NullableConversationalAutomation) Get ¶
func (v NullableConversationalAutomation) Get() *ConversationalAutomation
func (NullableConversationalAutomation) IsSet ¶
func (v NullableConversationalAutomation) IsSet() bool
func (NullableConversationalAutomation) MarshalJSON ¶
func (v NullableConversationalAutomation) MarshalJSON() ([]byte, error)
func (*NullableConversationalAutomation) Set ¶
func (v *NullableConversationalAutomation) Set(val *ConversationalAutomation)
func (*NullableConversationalAutomation) UnmarshalJSON ¶
func (v *NullableConversationalAutomation) UnmarshalJSON(src []byte) error
func (*NullableConversationalAutomation) Unset ¶
func (v *NullableConversationalAutomation) Unset()
type NullableConversationalAutomationCommandsInner ¶
type NullableConversationalAutomationCommandsInner struct {
// contains filtered or unexported fields
}
func NewNullableConversationalAutomationCommandsInner ¶
func NewNullableConversationalAutomationCommandsInner(val *ConversationalAutomationCommandsInner) *NullableConversationalAutomationCommandsInner
func (NullableConversationalAutomationCommandsInner) IsSet ¶
func (v NullableConversationalAutomationCommandsInner) IsSet() bool
func (NullableConversationalAutomationCommandsInner) MarshalJSON ¶
func (v NullableConversationalAutomationCommandsInner) MarshalJSON() ([]byte, error)
func (*NullableConversationalAutomationCommandsInner) Set ¶
func (v *NullableConversationalAutomationCommandsInner) Set(val *ConversationalAutomationCommandsInner)
func (*NullableConversationalAutomationCommandsInner) UnmarshalJSON ¶
func (v *NullableConversationalAutomationCommandsInner) UnmarshalJSON(src []byte) error
func (*NullableConversationalAutomationCommandsInner) Unset ¶
func (v *NullableConversationalAutomationCommandsInner) Unset()
type NullableCreateCommerce200Response ¶
type NullableCreateCommerce200Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateCommerce200Response ¶
func NewNullableCreateCommerce200Response(val *CreateCommerce200Response) *NullableCreateCommerce200Response
func (NullableCreateCommerce200Response) Get ¶
func (v NullableCreateCommerce200Response) Get() *CreateCommerce200Response
func (NullableCreateCommerce200Response) IsSet ¶
func (v NullableCreateCommerce200Response) IsSet() bool
func (NullableCreateCommerce200Response) MarshalJSON ¶
func (v NullableCreateCommerce200Response) MarshalJSON() ([]byte, error)
func (*NullableCreateCommerce200Response) Set ¶
func (v *NullableCreateCommerce200Response) Set(val *CreateCommerce200Response)
func (*NullableCreateCommerce200Response) UnmarshalJSON ¶
func (v *NullableCreateCommerce200Response) UnmarshalJSON(src []byte) error
func (*NullableCreateCommerce200Response) Unset ¶
func (v *NullableCreateCommerce200Response) Unset()
type NullableCreateCommerceRequest ¶
type NullableCreateCommerceRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateCommerceRequest ¶
func NewNullableCreateCommerceRequest(val *CreateCommerceRequest) *NullableCreateCommerceRequest
func (NullableCreateCommerceRequest) Get ¶
func (v NullableCreateCommerceRequest) Get() *CreateCommerceRequest
func (NullableCreateCommerceRequest) IsSet ¶
func (v NullableCreateCommerceRequest) IsSet() bool
func (NullableCreateCommerceRequest) MarshalJSON ¶
func (v NullableCreateCommerceRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateCommerceRequest) Set ¶
func (v *NullableCreateCommerceRequest) Set(val *CreateCommerceRequest)
func (*NullableCreateCommerceRequest) UnmarshalJSON ¶
func (v *NullableCreateCommerceRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateCommerceRequest) Unset ¶
func (v *NullableCreateCommerceRequest) Unset()
type NullableCreateCommerceRequestParams ¶
type NullableCreateCommerceRequestParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateCommerceRequestParams ¶
func NewNullableCreateCommerceRequestParams(val *CreateCommerceRequestParams) *NullableCreateCommerceRequestParams
func (NullableCreateCommerceRequestParams) Get ¶
func (v NullableCreateCommerceRequestParams) Get() *CreateCommerceRequestParams
func (NullableCreateCommerceRequestParams) IsSet ¶
func (v NullableCreateCommerceRequestParams) IsSet() bool
func (NullableCreateCommerceRequestParams) MarshalJSON ¶
func (v NullableCreateCommerceRequestParams) MarshalJSON() ([]byte, error)
func (*NullableCreateCommerceRequestParams) Set ¶
func (v *NullableCreateCommerceRequestParams) Set(val *CreateCommerceRequestParams)
func (*NullableCreateCommerceRequestParams) UnmarshalJSON ¶
func (v *NullableCreateCommerceRequestParams) UnmarshalJSON(src []byte) error
func (*NullableCreateCommerceRequestParams) Unset ¶
func (v *NullableCreateCommerceRequestParams) Unset()
type NullableCreateGroups200Response ¶
type NullableCreateGroups200Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroups200Response ¶
func NewNullableCreateGroups200Response(val *CreateGroups200Response) *NullableCreateGroups200Response
func (NullableCreateGroups200Response) Get ¶
func (v NullableCreateGroups200Response) Get() *CreateGroups200Response
func (NullableCreateGroups200Response) IsSet ¶
func (v NullableCreateGroups200Response) IsSet() bool
func (NullableCreateGroups200Response) MarshalJSON ¶
func (v NullableCreateGroups200Response) MarshalJSON() ([]byte, error)
func (*NullableCreateGroups200Response) Set ¶
func (v *NullableCreateGroups200Response) Set(val *CreateGroups200Response)
func (*NullableCreateGroups200Response) UnmarshalJSON ¶
func (v *NullableCreateGroups200Response) UnmarshalJSON(src []byte) error
func (*NullableCreateGroups200Response) Unset ¶
func (v *NullableCreateGroups200Response) Unset()
type NullableCreateReadMessage200Response ¶
type NullableCreateReadMessage200Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateReadMessage200Response ¶
func NewNullableCreateReadMessage200Response(val *CreateReadMessage200Response) *NullableCreateReadMessage200Response
func (NullableCreateReadMessage200Response) Get ¶
func (v NullableCreateReadMessage200Response) Get() *CreateReadMessage200Response
func (NullableCreateReadMessage200Response) IsSet ¶
func (v NullableCreateReadMessage200Response) IsSet() bool
func (NullableCreateReadMessage200Response) MarshalJSON ¶
func (v NullableCreateReadMessage200Response) MarshalJSON() ([]byte, error)
func (*NullableCreateReadMessage200Response) Set ¶
func (v *NullableCreateReadMessage200Response) Set(val *CreateReadMessage200Response)
func (*NullableCreateReadMessage200Response) UnmarshalJSON ¶
func (v *NullableCreateReadMessage200Response) UnmarshalJSON(src []byte) error
func (*NullableCreateReadMessage200Response) Unset ¶
func (v *NullableCreateReadMessage200Response) Unset()
type NullableCreateReadMessage401Response ¶
type NullableCreateReadMessage401Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateReadMessage401Response ¶
func NewNullableCreateReadMessage401Response(val *CreateReadMessage401Response) *NullableCreateReadMessage401Response
func (NullableCreateReadMessage401Response) Get ¶
func (v NullableCreateReadMessage401Response) Get() *CreateReadMessage401Response
func (NullableCreateReadMessage401Response) IsSet ¶
func (v NullableCreateReadMessage401Response) IsSet() bool
func (NullableCreateReadMessage401Response) MarshalJSON ¶
func (v NullableCreateReadMessage401Response) MarshalJSON() ([]byte, error)
func (*NullableCreateReadMessage401Response) Set ¶
func (v *NullableCreateReadMessage401Response) Set(val *CreateReadMessage401Response)
func (*NullableCreateReadMessage401Response) UnmarshalJSON ¶
func (v *NullableCreateReadMessage401Response) UnmarshalJSON(src []byte) error
func (*NullableCreateReadMessage401Response) Unset ¶
func (v *NullableCreateReadMessage401Response) Unset()
type NullableCreateReadMessageRequest ¶
type NullableCreateReadMessageRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateReadMessageRequest ¶
func NewNullableCreateReadMessageRequest(val *CreateReadMessageRequest) *NullableCreateReadMessageRequest
func (NullableCreateReadMessageRequest) Get ¶
func (v NullableCreateReadMessageRequest) Get() *CreateReadMessageRequest
func (NullableCreateReadMessageRequest) IsSet ¶
func (v NullableCreateReadMessageRequest) IsSet() bool
func (NullableCreateReadMessageRequest) MarshalJSON ¶
func (v NullableCreateReadMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateReadMessageRequest) Set ¶
func (v *NullableCreateReadMessageRequest) Set(val *CreateReadMessageRequest)
func (*NullableCreateReadMessageRequest) UnmarshalJSON ¶
func (v *NullableCreateReadMessageRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateReadMessageRequest) Unset ¶
func (v *NullableCreateReadMessageRequest) Unset()
type NullableDeleteFlowsFlowId200Response ¶
type NullableDeleteFlowsFlowId200Response struct {
// contains filtered or unexported fields
}
func NewNullableDeleteFlowsFlowId200Response ¶
func NewNullableDeleteFlowsFlowId200Response(val *DeleteFlowsFlowId200Response) *NullableDeleteFlowsFlowId200Response
func (NullableDeleteFlowsFlowId200Response) Get ¶
func (v NullableDeleteFlowsFlowId200Response) Get() *DeleteFlowsFlowId200Response
func (NullableDeleteFlowsFlowId200Response) IsSet ¶
func (v NullableDeleteFlowsFlowId200Response) IsSet() bool
func (NullableDeleteFlowsFlowId200Response) MarshalJSON ¶
func (v NullableDeleteFlowsFlowId200Response) MarshalJSON() ([]byte, error)
func (*NullableDeleteFlowsFlowId200Response) Set ¶
func (v *NullableDeleteFlowsFlowId200Response) Set(val *DeleteFlowsFlowId200Response)
func (*NullableDeleteFlowsFlowId200Response) UnmarshalJSON ¶
func (v *NullableDeleteFlowsFlowId200Response) UnmarshalJSON(src []byte) error
func (*NullableDeleteFlowsFlowId200Response) Unset ¶
func (v *NullableDeleteFlowsFlowId200Response) Unset()
type NullableDeleteGroupsGroupId200Response ¶
type NullableDeleteGroupsGroupId200Response struct {
// contains filtered or unexported fields
}
func NewNullableDeleteGroupsGroupId200Response ¶
func NewNullableDeleteGroupsGroupId200Response(val *DeleteGroupsGroupId200Response) *NullableDeleteGroupsGroupId200Response
func (NullableDeleteGroupsGroupId200Response) Get ¶
func (v NullableDeleteGroupsGroupId200Response) Get() *DeleteGroupsGroupId200Response
func (NullableDeleteGroupsGroupId200Response) IsSet ¶
func (v NullableDeleteGroupsGroupId200Response) IsSet() bool
func (NullableDeleteGroupsGroupId200Response) MarshalJSON ¶
func (v NullableDeleteGroupsGroupId200Response) MarshalJSON() ([]byte, error)
func (*NullableDeleteGroupsGroupId200Response) Set ¶
func (v *NullableDeleteGroupsGroupId200Response) Set(val *DeleteGroupsGroupId200Response)
func (*NullableDeleteGroupsGroupId200Response) UnmarshalJSON ¶
func (v *NullableDeleteGroupsGroupId200Response) UnmarshalJSON(src []byte) error
func (*NullableDeleteGroupsGroupId200Response) Unset ¶
func (v *NullableDeleteGroupsGroupId200Response) Unset()
type NullableDeleteMediaLegacyRequest ¶
type NullableDeleteMediaLegacyRequest struct {
// contains filtered or unexported fields
}
func NewNullableDeleteMediaLegacyRequest ¶
func NewNullableDeleteMediaLegacyRequest(val *DeleteMediaLegacyRequest) *NullableDeleteMediaLegacyRequest
func (NullableDeleteMediaLegacyRequest) Get ¶
func (v NullableDeleteMediaLegacyRequest) Get() *DeleteMediaLegacyRequest
func (NullableDeleteMediaLegacyRequest) IsSet ¶
func (v NullableDeleteMediaLegacyRequest) IsSet() bool
func (NullableDeleteMediaLegacyRequest) MarshalJSON ¶
func (v NullableDeleteMediaLegacyRequest) MarshalJSON() ([]byte, error)
func (*NullableDeleteMediaLegacyRequest) Set ¶
func (v *NullableDeleteMediaLegacyRequest) Set(val *DeleteMediaLegacyRequest)
func (*NullableDeleteMediaLegacyRequest) UnmarshalJSON ¶
func (v *NullableDeleteMediaLegacyRequest) UnmarshalJSON(src []byte) error
func (*NullableDeleteMediaLegacyRequest) Unset ¶
func (v *NullableDeleteMediaLegacyRequest) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetCommerce200ResponseInner ¶
type NullableGetCommerce200ResponseInner struct {
// contains filtered or unexported fields
}
func NewNullableGetCommerce200ResponseInner ¶
func NewNullableGetCommerce200ResponseInner(val *GetCommerce200ResponseInner) *NullableGetCommerce200ResponseInner
func (NullableGetCommerce200ResponseInner) Get ¶
func (v NullableGetCommerce200ResponseInner) Get() *GetCommerce200ResponseInner
func (NullableGetCommerce200ResponseInner) IsSet ¶
func (v NullableGetCommerce200ResponseInner) IsSet() bool
func (NullableGetCommerce200ResponseInner) MarshalJSON ¶
func (v NullableGetCommerce200ResponseInner) MarshalJSON() ([]byte, error)
func (*NullableGetCommerce200ResponseInner) Set ¶
func (v *NullableGetCommerce200ResponseInner) Set(val *GetCommerce200ResponseInner)
func (*NullableGetCommerce200ResponseInner) UnmarshalJSON ¶
func (v *NullableGetCommerce200ResponseInner) UnmarshalJSON(src []byte) error
func (*NullableGetCommerce200ResponseInner) Unset ¶
func (v *NullableGetCommerce200ResponseInner) Unset()
type NullableGetMmLiteStatus200Response ¶
type NullableGetMmLiteStatus200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetMmLiteStatus200Response ¶
func NewNullableGetMmLiteStatus200Response(val *GetMmLiteStatus200Response) *NullableGetMmLiteStatus200Response
func (NullableGetMmLiteStatus200Response) Get ¶
func (v NullableGetMmLiteStatus200Response) Get() *GetMmLiteStatus200Response
func (NullableGetMmLiteStatus200Response) IsSet ¶
func (v NullableGetMmLiteStatus200Response) IsSet() bool
func (NullableGetMmLiteStatus200Response) MarshalJSON ¶
func (v NullableGetMmLiteStatus200Response) MarshalJSON() ([]byte, error)
func (*NullableGetMmLiteStatus200Response) Set ¶
func (v *NullableGetMmLiteStatus200Response) Set(val *GetMmLiteStatus200Response)
func (*NullableGetMmLiteStatus200Response) UnmarshalJSON ¶
func (v *NullableGetMmLiteStatus200Response) UnmarshalJSON(src []byte) error
func (*NullableGetMmLiteStatus200Response) Unset ¶
func (v *NullableGetMmLiteStatus200Response) Unset()
type NullableGetWebhook200Response ¶
type NullableGetWebhook200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetWebhook200Response ¶
func NewNullableGetWebhook200Response(val *GetWebhook200Response) *NullableGetWebhook200Response
func (NullableGetWebhook200Response) Get ¶
func (v NullableGetWebhook200Response) Get() *GetWebhook200Response
func (NullableGetWebhook200Response) IsSet ¶
func (v NullableGetWebhook200Response) IsSet() bool
func (NullableGetWebhook200Response) MarshalJSON ¶
func (v NullableGetWebhook200Response) MarshalJSON() ([]byte, error)
func (*NullableGetWebhook200Response) Set ¶
func (v *NullableGetWebhook200Response) Set(val *GetWebhook200Response)
func (*NullableGetWebhook200Response) UnmarshalJSON ¶
func (v *NullableGetWebhook200Response) UnmarshalJSON(src []byte) error
func (*NullableGetWebhook200Response) Unset ¶
func (v *NullableGetWebhook200Response) Unset()
type NullableGetWhatsappBusinessEncryption200Response ¶
type NullableGetWhatsappBusinessEncryption200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetWhatsappBusinessEncryption200Response ¶
func NewNullableGetWhatsappBusinessEncryption200Response(val *GetWhatsappBusinessEncryption200Response) *NullableGetWhatsappBusinessEncryption200Response
func (NullableGetWhatsappBusinessEncryption200Response) IsSet ¶
func (v NullableGetWhatsappBusinessEncryption200Response) IsSet() bool
func (NullableGetWhatsappBusinessEncryption200Response) MarshalJSON ¶
func (v NullableGetWhatsappBusinessEncryption200Response) MarshalJSON() ([]byte, error)
func (*NullableGetWhatsappBusinessEncryption200Response) UnmarshalJSON ¶
func (v *NullableGetWhatsappBusinessEncryption200Response) UnmarshalJSON(src []byte) error
func (*NullableGetWhatsappBusinessEncryption200Response) Unset ¶
func (v *NullableGetWhatsappBusinessEncryption200Response) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListBlockedUsers200Response ¶
type NullableListBlockedUsers200Response struct {
// contains filtered or unexported fields
}
func NewNullableListBlockedUsers200Response ¶
func NewNullableListBlockedUsers200Response(val *ListBlockedUsers200Response) *NullableListBlockedUsers200Response
func (NullableListBlockedUsers200Response) Get ¶
func (v NullableListBlockedUsers200Response) Get() *ListBlockedUsers200Response
func (NullableListBlockedUsers200Response) IsSet ¶
func (v NullableListBlockedUsers200Response) IsSet() bool
func (NullableListBlockedUsers200Response) MarshalJSON ¶
func (v NullableListBlockedUsers200Response) MarshalJSON() ([]byte, error)
func (*NullableListBlockedUsers200Response) Set ¶
func (v *NullableListBlockedUsers200Response) Set(val *ListBlockedUsers200Response)
func (*NullableListBlockedUsers200Response) UnmarshalJSON ¶
func (v *NullableListBlockedUsers200Response) UnmarshalJSON(src []byte) error
func (*NullableListBlockedUsers200Response) Unset ¶
func (v *NullableListBlockedUsers200Response) Unset()
type NullableListFlows200Response ¶
type NullableListFlows200Response struct {
// contains filtered or unexported fields
}
func NewNullableListFlows200Response ¶
func NewNullableListFlows200Response(val *ListFlows200Response) *NullableListFlows200Response
func (NullableListFlows200Response) Get ¶
func (v NullableListFlows200Response) Get() *ListFlows200Response
func (NullableListFlows200Response) IsSet ¶
func (v NullableListFlows200Response) IsSet() bool
func (NullableListFlows200Response) MarshalJSON ¶
func (v NullableListFlows200Response) MarshalJSON() ([]byte, error)
func (*NullableListFlows200Response) Set ¶
func (v *NullableListFlows200Response) Set(val *ListFlows200Response)
func (*NullableListFlows200Response) UnmarshalJSON ¶
func (v *NullableListFlows200Response) UnmarshalJSON(src []byte) error
func (*NullableListFlows200Response) Unset ¶
func (v *NullableListFlows200Response) Unset()
type NullableListMessages200Response ¶
type NullableListMessages200Response struct {
// contains filtered or unexported fields
}
func NewNullableListMessages200Response ¶
func NewNullableListMessages200Response(val *ListMessages200Response) *NullableListMessages200Response
func (NullableListMessages200Response) Get ¶
func (v NullableListMessages200Response) Get() *ListMessages200Response
func (NullableListMessages200Response) IsSet ¶
func (v NullableListMessages200Response) IsSet() bool
func (NullableListMessages200Response) MarshalJSON ¶
func (v NullableListMessages200Response) MarshalJSON() ([]byte, error)
func (*NullableListMessages200Response) Set ¶
func (v *NullableListMessages200Response) Set(val *ListMessages200Response)
func (*NullableListMessages200Response) UnmarshalJSON ¶
func (v *NullableListMessages200Response) UnmarshalJSON(src []byte) error
func (*NullableListMessages200Response) Unset ¶
func (v *NullableListMessages200Response) Unset()
type NullableListTemplates200Response ¶
type NullableListTemplates200Response struct {
// contains filtered or unexported fields
}
func NewNullableListTemplates200Response ¶
func NewNullableListTemplates200Response(val *ListTemplates200Response) *NullableListTemplates200Response
func (NullableListTemplates200Response) Get ¶
func (v NullableListTemplates200Response) Get() *ListTemplates200Response
func (NullableListTemplates200Response) IsSet ¶
func (v NullableListTemplates200Response) IsSet() bool
func (NullableListTemplates200Response) MarshalJSON ¶
func (v NullableListTemplates200Response) MarshalJSON() ([]byte, error)
func (*NullableListTemplates200Response) Set ¶
func (v *NullableListTemplates200Response) Set(val *ListTemplates200Response)
func (*NullableListTemplates200Response) UnmarshalJSON ¶
func (v *NullableListTemplates200Response) UnmarshalJSON(src []byte) error
func (*NullableListTemplates200Response) Unset ¶
func (v *NullableListTemplates200Response) Unset()
type NullableMessageSentResponse ¶
type NullableMessageSentResponse struct {
// contains filtered or unexported fields
}
func NewNullableMessageSentResponse ¶
func NewNullableMessageSentResponse(val *MessageSentResponse) *NullableMessageSentResponse
func (NullableMessageSentResponse) Get ¶
func (v NullableMessageSentResponse) Get() *MessageSentResponse
func (NullableMessageSentResponse) IsSet ¶
func (v NullableMessageSentResponse) IsSet() bool
func (NullableMessageSentResponse) MarshalJSON ¶
func (v NullableMessageSentResponse) MarshalJSON() ([]byte, error)
func (*NullableMessageSentResponse) Set ¶
func (v *NullableMessageSentResponse) Set(val *MessageSentResponse)
func (*NullableMessageSentResponse) UnmarshalJSON ¶
func (v *NullableMessageSentResponse) UnmarshalJSON(src []byte) error
func (*NullableMessageSentResponse) Unset ¶
func (v *NullableMessageSentResponse) Unset()
type NullablePatchFlowsFlowIdAssets200Response ¶
type NullablePatchFlowsFlowIdAssets200Response struct {
// contains filtered or unexported fields
}
func NewNullablePatchFlowsFlowIdAssets200Response ¶
func NewNullablePatchFlowsFlowIdAssets200Response(val *PatchFlowsFlowIdAssets200Response) *NullablePatchFlowsFlowIdAssets200Response
func (NullablePatchFlowsFlowIdAssets200Response) IsSet ¶
func (v NullablePatchFlowsFlowIdAssets200Response) IsSet() bool
func (NullablePatchFlowsFlowIdAssets200Response) MarshalJSON ¶
func (v NullablePatchFlowsFlowIdAssets200Response) MarshalJSON() ([]byte, error)
func (*NullablePatchFlowsFlowIdAssets200Response) Set ¶
func (v *NullablePatchFlowsFlowIdAssets200Response) Set(val *PatchFlowsFlowIdAssets200Response)
func (*NullablePatchFlowsFlowIdAssets200Response) UnmarshalJSON ¶
func (v *NullablePatchFlowsFlowIdAssets200Response) UnmarshalJSON(src []byte) error
func (*NullablePatchFlowsFlowIdAssets200Response) Unset ¶
func (v *NullablePatchFlowsFlowIdAssets200Response) Unset()
type NullableProfileInfo ¶
type NullableProfileInfo struct {
// contains filtered or unexported fields
}
func NewNullableProfileInfo ¶
func NewNullableProfileInfo(val *ProfileInfo) *NullableProfileInfo
func (NullableProfileInfo) Get ¶
func (v NullableProfileInfo) Get() *ProfileInfo
func (NullableProfileInfo) IsSet ¶
func (v NullableProfileInfo) IsSet() bool
func (NullableProfileInfo) MarshalJSON ¶
func (v NullableProfileInfo) MarshalJSON() ([]byte, error)
func (*NullableProfileInfo) Set ¶
func (v *NullableProfileInfo) Set(val *ProfileInfo)
func (*NullableProfileInfo) UnmarshalJSON ¶
func (v *NullableProfileInfo) UnmarshalJSON(src []byte) error
func (*NullableProfileInfo) Unset ¶
func (v *NullableProfileInfo) Unset()
type NullableRetrieveMedia200Response ¶
type NullableRetrieveMedia200Response struct {
// contains filtered or unexported fields
}
func NewNullableRetrieveMedia200Response ¶
func NewNullableRetrieveMedia200Response(val *RetrieveMedia200Response) *NullableRetrieveMedia200Response
func (NullableRetrieveMedia200Response) Get ¶
func (v NullableRetrieveMedia200Response) Get() *RetrieveMedia200Response
func (NullableRetrieveMedia200Response) IsSet ¶
func (v NullableRetrieveMedia200Response) IsSet() bool
func (NullableRetrieveMedia200Response) MarshalJSON ¶
func (v NullableRetrieveMedia200Response) MarshalJSON() ([]byte, error)
func (*NullableRetrieveMedia200Response) Set ¶
func (v *NullableRetrieveMedia200Response) Set(val *RetrieveMedia200Response)
func (*NullableRetrieveMedia200Response) UnmarshalJSON ¶
func (v *NullableRetrieveMedia200Response) UnmarshalJSON(src []byte) error
func (*NullableRetrieveMedia200Response) Unset ¶
func (v *NullableRetrieveMedia200Response) Unset()
type NullableSendAddressMessageRequest ¶
type NullableSendAddressMessageRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendAddressMessageRequest ¶
func NewNullableSendAddressMessageRequest(val *SendAddressMessageRequest) *NullableSendAddressMessageRequest
func (NullableSendAddressMessageRequest) Get ¶
func (v NullableSendAddressMessageRequest) Get() *SendAddressMessageRequest
func (NullableSendAddressMessageRequest) IsSet ¶
func (v NullableSendAddressMessageRequest) IsSet() bool
func (NullableSendAddressMessageRequest) MarshalJSON ¶
func (v NullableSendAddressMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableSendAddressMessageRequest) Set ¶
func (v *NullableSendAddressMessageRequest) Set(val *SendAddressMessageRequest)
func (*NullableSendAddressMessageRequest) UnmarshalJSON ¶
func (v *NullableSendAddressMessageRequest) UnmarshalJSON(src []byte) error
func (*NullableSendAddressMessageRequest) Unset ¶
func (v *NullableSendAddressMessageRequest) Unset()
type NullableSendButtonRequest ¶
type NullableSendButtonRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendButtonRequest ¶
func NewNullableSendButtonRequest(val *SendButtonRequest) *NullableSendButtonRequest
func (NullableSendButtonRequest) Get ¶
func (v NullableSendButtonRequest) Get() *SendButtonRequest
func (NullableSendButtonRequest) IsSet ¶
func (v NullableSendButtonRequest) IsSet() bool
func (NullableSendButtonRequest) MarshalJSON ¶
func (v NullableSendButtonRequest) MarshalJSON() ([]byte, error)
func (*NullableSendButtonRequest) Set ¶
func (v *NullableSendButtonRequest) Set(val *SendButtonRequest)
func (*NullableSendButtonRequest) UnmarshalJSON ¶
func (v *NullableSendButtonRequest) UnmarshalJSON(src []byte) error
func (*NullableSendButtonRequest) Unset ¶
func (v *NullableSendButtonRequest) Unset()
type NullableSendButtonRequestSectionsInner ¶
type NullableSendButtonRequestSectionsInner struct {
// contains filtered or unexported fields
}
func NewNullableSendButtonRequestSectionsInner ¶
func NewNullableSendButtonRequestSectionsInner(val *SendButtonRequestSectionsInner) *NullableSendButtonRequestSectionsInner
func (NullableSendButtonRequestSectionsInner) Get ¶
func (v NullableSendButtonRequestSectionsInner) Get() *SendButtonRequestSectionsInner
func (NullableSendButtonRequestSectionsInner) IsSet ¶
func (v NullableSendButtonRequestSectionsInner) IsSet() bool
func (NullableSendButtonRequestSectionsInner) MarshalJSON ¶
func (v NullableSendButtonRequestSectionsInner) MarshalJSON() ([]byte, error)
func (*NullableSendButtonRequestSectionsInner) Set ¶
func (v *NullableSendButtonRequestSectionsInner) Set(val *SendButtonRequestSectionsInner)
func (*NullableSendButtonRequestSectionsInner) UnmarshalJSON ¶
func (v *NullableSendButtonRequestSectionsInner) UnmarshalJSON(src []byte) error
func (*NullableSendButtonRequestSectionsInner) Unset ¶
func (v *NullableSendButtonRequestSectionsInner) Unset()
type NullableSendButtonRequestSectionsInnerReply ¶
type NullableSendButtonRequestSectionsInnerReply struct {
// contains filtered or unexported fields
}
func NewNullableSendButtonRequestSectionsInnerReply ¶
func NewNullableSendButtonRequestSectionsInnerReply(val *SendButtonRequestSectionsInnerReply) *NullableSendButtonRequestSectionsInnerReply
func (NullableSendButtonRequestSectionsInnerReply) IsSet ¶
func (v NullableSendButtonRequestSectionsInnerReply) IsSet() bool
func (NullableSendButtonRequestSectionsInnerReply) MarshalJSON ¶
func (v NullableSendButtonRequestSectionsInnerReply) MarshalJSON() ([]byte, error)
func (*NullableSendButtonRequestSectionsInnerReply) Set ¶
func (v *NullableSendButtonRequestSectionsInnerReply) Set(val *SendButtonRequestSectionsInnerReply)
func (*NullableSendButtonRequestSectionsInnerReply) UnmarshalJSON ¶
func (v *NullableSendButtonRequestSectionsInnerReply) UnmarshalJSON(src []byte) error
func (*NullableSendButtonRequestSectionsInnerReply) Unset ¶
func (v *NullableSendButtonRequestSectionsInnerReply) Unset()
type NullableSendCarouselRequest1 ¶
type NullableSendCarouselRequest1 struct {
// contains filtered or unexported fields
}
func NewNullableSendCarouselRequest1 ¶
func NewNullableSendCarouselRequest1(val *SendCarouselRequest1) *NullableSendCarouselRequest1
func (NullableSendCarouselRequest1) Get ¶
func (v NullableSendCarouselRequest1) Get() *SendCarouselRequest1
func (NullableSendCarouselRequest1) IsSet ¶
func (v NullableSendCarouselRequest1) IsSet() bool
func (NullableSendCarouselRequest1) MarshalJSON ¶
func (v NullableSendCarouselRequest1) MarshalJSON() ([]byte, error)
func (*NullableSendCarouselRequest1) Set ¶
func (v *NullableSendCarouselRequest1) Set(val *SendCarouselRequest1)
func (*NullableSendCarouselRequest1) UnmarshalJSON ¶
func (v *NullableSendCarouselRequest1) UnmarshalJSON(src []byte) error
func (*NullableSendCarouselRequest1) Unset ¶
func (v *NullableSendCarouselRequest1) Unset()
type NullableSendContactRequest ¶
type NullableSendContactRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendContactRequest ¶
func NewNullableSendContactRequest(val *SendContactRequest) *NullableSendContactRequest
func (NullableSendContactRequest) Get ¶
func (v NullableSendContactRequest) Get() *SendContactRequest
func (NullableSendContactRequest) IsSet ¶
func (v NullableSendContactRequest) IsSet() bool
func (NullableSendContactRequest) MarshalJSON ¶
func (v NullableSendContactRequest) MarshalJSON() ([]byte, error)
func (*NullableSendContactRequest) Set ¶
func (v *NullableSendContactRequest) Set(val *SendContactRequest)
func (*NullableSendContactRequest) UnmarshalJSON ¶
func (v *NullableSendContactRequest) UnmarshalJSON(src []byte) error
func (*NullableSendContactRequest) Unset ¶
func (v *NullableSendContactRequest) Unset()
type NullableSendContactRequestContactsInner ¶
type NullableSendContactRequestContactsInner struct {
// contains filtered or unexported fields
}
func NewNullableSendContactRequestContactsInner ¶
func NewNullableSendContactRequestContactsInner(val *SendContactRequestContactsInner) *NullableSendContactRequestContactsInner
func (NullableSendContactRequestContactsInner) IsSet ¶
func (v NullableSendContactRequestContactsInner) IsSet() bool
func (NullableSendContactRequestContactsInner) MarshalJSON ¶
func (v NullableSendContactRequestContactsInner) MarshalJSON() ([]byte, error)
func (*NullableSendContactRequestContactsInner) Set ¶
func (v *NullableSendContactRequestContactsInner) Set(val *SendContactRequestContactsInner)
func (*NullableSendContactRequestContactsInner) UnmarshalJSON ¶
func (v *NullableSendContactRequestContactsInner) UnmarshalJSON(src []byte) error
func (*NullableSendContactRequestContactsInner) Unset ¶
func (v *NullableSendContactRequestContactsInner) Unset()
type NullableSendContactRequestContactsInnerName ¶
type NullableSendContactRequestContactsInnerName struct {
// contains filtered or unexported fields
}
func NewNullableSendContactRequestContactsInnerName ¶
func NewNullableSendContactRequestContactsInnerName(val *SendContactRequestContactsInnerName) *NullableSendContactRequestContactsInnerName
func (NullableSendContactRequestContactsInnerName) IsSet ¶
func (v NullableSendContactRequestContactsInnerName) IsSet() bool
func (NullableSendContactRequestContactsInnerName) MarshalJSON ¶
func (v NullableSendContactRequestContactsInnerName) MarshalJSON() ([]byte, error)
func (*NullableSendContactRequestContactsInnerName) Set ¶
func (v *NullableSendContactRequestContactsInnerName) Set(val *SendContactRequestContactsInnerName)
func (*NullableSendContactRequestContactsInnerName) UnmarshalJSON ¶
func (v *NullableSendContactRequestContactsInnerName) UnmarshalJSON(src []byte) error
func (*NullableSendContactRequestContactsInnerName) Unset ¶
func (v *NullableSendContactRequestContactsInnerName) Unset()
type NullableSendContactRequestContactsInnerOrg ¶
type NullableSendContactRequestContactsInnerOrg struct {
// contains filtered or unexported fields
}
func NewNullableSendContactRequestContactsInnerOrg ¶
func NewNullableSendContactRequestContactsInnerOrg(val *SendContactRequestContactsInnerOrg) *NullableSendContactRequestContactsInnerOrg
func (NullableSendContactRequestContactsInnerOrg) IsSet ¶
func (v NullableSendContactRequestContactsInnerOrg) IsSet() bool
func (NullableSendContactRequestContactsInnerOrg) MarshalJSON ¶
func (v NullableSendContactRequestContactsInnerOrg) MarshalJSON() ([]byte, error)
func (*NullableSendContactRequestContactsInnerOrg) Set ¶
func (v *NullableSendContactRequestContactsInnerOrg) Set(val *SendContactRequestContactsInnerOrg)
func (*NullableSendContactRequestContactsInnerOrg) UnmarshalJSON ¶
func (v *NullableSendContactRequestContactsInnerOrg) UnmarshalJSON(src []byte) error
func (*NullableSendContactRequestContactsInnerOrg) Unset ¶
func (v *NullableSendContactRequestContactsInnerOrg) Unset()
type NullableSendContactRequestContactsInnerPhonesInner ¶
type NullableSendContactRequestContactsInnerPhonesInner struct {
// contains filtered or unexported fields
}
func NewNullableSendContactRequestContactsInnerPhonesInner ¶
func NewNullableSendContactRequestContactsInnerPhonesInner(val *SendContactRequestContactsInnerPhonesInner) *NullableSendContactRequestContactsInnerPhonesInner
func (NullableSendContactRequestContactsInnerPhonesInner) IsSet ¶
func (v NullableSendContactRequestContactsInnerPhonesInner) IsSet() bool
func (NullableSendContactRequestContactsInnerPhonesInner) MarshalJSON ¶
func (v NullableSendContactRequestContactsInnerPhonesInner) MarshalJSON() ([]byte, error)
func (*NullableSendContactRequestContactsInnerPhonesInner) UnmarshalJSON ¶
func (v *NullableSendContactRequestContactsInnerPhonesInner) UnmarshalJSON(src []byte) error
func (*NullableSendContactRequestContactsInnerPhonesInner) Unset ¶
func (v *NullableSendContactRequestContactsInnerPhonesInner) Unset()
type NullableSendCtaUrlRequest ¶
type NullableSendCtaUrlRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendCtaUrlRequest ¶
func NewNullableSendCtaUrlRequest(val *SendCtaUrlRequest) *NullableSendCtaUrlRequest
func (NullableSendCtaUrlRequest) Get ¶
func (v NullableSendCtaUrlRequest) Get() *SendCtaUrlRequest
func (NullableSendCtaUrlRequest) IsSet ¶
func (v NullableSendCtaUrlRequest) IsSet() bool
func (NullableSendCtaUrlRequest) MarshalJSON ¶
func (v NullableSendCtaUrlRequest) MarshalJSON() ([]byte, error)
func (*NullableSendCtaUrlRequest) Set ¶
func (v *NullableSendCtaUrlRequest) Set(val *SendCtaUrlRequest)
func (*NullableSendCtaUrlRequest) UnmarshalJSON ¶
func (v *NullableSendCtaUrlRequest) UnmarshalJSON(src []byte) error
func (*NullableSendCtaUrlRequest) Unset ¶
func (v *NullableSendCtaUrlRequest) Unset()
type NullableSendFileRequest ¶
type NullableSendFileRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendFileRequest ¶
func NewNullableSendFileRequest(val *SendFileRequest) *NullableSendFileRequest
func (NullableSendFileRequest) Get ¶
func (v NullableSendFileRequest) Get() *SendFileRequest
func (NullableSendFileRequest) IsSet ¶
func (v NullableSendFileRequest) IsSet() bool
func (NullableSendFileRequest) MarshalJSON ¶
func (v NullableSendFileRequest) MarshalJSON() ([]byte, error)
func (*NullableSendFileRequest) Set ¶
func (v *NullableSendFileRequest) Set(val *SendFileRequest)
func (*NullableSendFileRequest) UnmarshalJSON ¶
func (v *NullableSendFileRequest) UnmarshalJSON(src []byte) error
func (*NullableSendFileRequest) Unset ¶
func (v *NullableSendFileRequest) Unset()
type NullableSendFlowRequest1 ¶
type NullableSendFlowRequest1 struct {
// contains filtered or unexported fields
}
func NewNullableSendFlowRequest1 ¶
func NewNullableSendFlowRequest1(val *SendFlowRequest1) *NullableSendFlowRequest1
func (NullableSendFlowRequest1) Get ¶
func (v NullableSendFlowRequest1) Get() *SendFlowRequest1
func (NullableSendFlowRequest1) IsSet ¶
func (v NullableSendFlowRequest1) IsSet() bool
func (NullableSendFlowRequest1) MarshalJSON ¶
func (v NullableSendFlowRequest1) MarshalJSON() ([]byte, error)
func (*NullableSendFlowRequest1) Set ¶
func (v *NullableSendFlowRequest1) Set(val *SendFlowRequest1)
func (*NullableSendFlowRequest1) UnmarshalJSON ¶
func (v *NullableSendFlowRequest1) UnmarshalJSON(src []byte) error
func (*NullableSendFlowRequest1) Unset ¶
func (v *NullableSendFlowRequest1) Unset()
type NullableSendFlowRequest1Header ¶
type NullableSendFlowRequest1Header struct {
// contains filtered or unexported fields
}
func NewNullableSendFlowRequest1Header ¶
func NewNullableSendFlowRequest1Header(val *SendFlowRequest1Header) *NullableSendFlowRequest1Header
func (NullableSendFlowRequest1Header) Get ¶
func (v NullableSendFlowRequest1Header) Get() *SendFlowRequest1Header
func (NullableSendFlowRequest1Header) IsSet ¶
func (v NullableSendFlowRequest1Header) IsSet() bool
func (NullableSendFlowRequest1Header) MarshalJSON ¶
func (v NullableSendFlowRequest1Header) MarshalJSON() ([]byte, error)
func (*NullableSendFlowRequest1Header) Set ¶
func (v *NullableSendFlowRequest1Header) Set(val *SendFlowRequest1Header)
func (*NullableSendFlowRequest1Header) UnmarshalJSON ¶
func (v *NullableSendFlowRequest1Header) UnmarshalJSON(src []byte) error
func (*NullableSendFlowRequest1Header) Unset ¶
func (v *NullableSendFlowRequest1Header) Unset()
type NullableSendFlowRequestHeader ¶
type NullableSendFlowRequestHeader struct {
// contains filtered or unexported fields
}
func NewNullableSendFlowRequestHeader ¶
func NewNullableSendFlowRequestHeader(val *SendFlowRequestHeader) *NullableSendFlowRequestHeader
func (NullableSendFlowRequestHeader) Get ¶
func (v NullableSendFlowRequestHeader) Get() *SendFlowRequestHeader
func (NullableSendFlowRequestHeader) IsSet ¶
func (v NullableSendFlowRequestHeader) IsSet() bool
func (NullableSendFlowRequestHeader) MarshalJSON ¶
func (v NullableSendFlowRequestHeader) MarshalJSON() ([]byte, error)
func (*NullableSendFlowRequestHeader) Set ¶
func (v *NullableSendFlowRequestHeader) Set(val *SendFlowRequestHeader)
func (*NullableSendFlowRequestHeader) UnmarshalJSON ¶
func (v *NullableSendFlowRequestHeader) UnmarshalJSON(src []byte) error
func (*NullableSendFlowRequestHeader) Unset ¶
func (v *NullableSendFlowRequestHeader) Unset()
type NullableSendListRequest ¶
type NullableSendListRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendListRequest ¶
func NewNullableSendListRequest(val *SendListRequest) *NullableSendListRequest
func (NullableSendListRequest) Get ¶
func (v NullableSendListRequest) Get() *SendListRequest
func (NullableSendListRequest) IsSet ¶
func (v NullableSendListRequest) IsSet() bool
func (NullableSendListRequest) MarshalJSON ¶
func (v NullableSendListRequest) MarshalJSON() ([]byte, error)
func (*NullableSendListRequest) Set ¶
func (v *NullableSendListRequest) Set(val *SendListRequest)
func (*NullableSendListRequest) UnmarshalJSON ¶
func (v *NullableSendListRequest) UnmarshalJSON(src []byte) error
func (*NullableSendListRequest) Unset ¶
func (v *NullableSendListRequest) Unset()
type NullableSendListRequestSectionsInner ¶
type NullableSendListRequestSectionsInner struct {
// contains filtered or unexported fields
}
func NewNullableSendListRequestSectionsInner ¶
func NewNullableSendListRequestSectionsInner(val *SendListRequestSectionsInner) *NullableSendListRequestSectionsInner
func (NullableSendListRequestSectionsInner) Get ¶
func (v NullableSendListRequestSectionsInner) Get() *SendListRequestSectionsInner
func (NullableSendListRequestSectionsInner) IsSet ¶
func (v NullableSendListRequestSectionsInner) IsSet() bool
func (NullableSendListRequestSectionsInner) MarshalJSON ¶
func (v NullableSendListRequestSectionsInner) MarshalJSON() ([]byte, error)
func (*NullableSendListRequestSectionsInner) Set ¶
func (v *NullableSendListRequestSectionsInner) Set(val *SendListRequestSectionsInner)
func (*NullableSendListRequestSectionsInner) UnmarshalJSON ¶
func (v *NullableSendListRequestSectionsInner) UnmarshalJSON(src []byte) error
func (*NullableSendListRequestSectionsInner) Unset ¶
func (v *NullableSendListRequestSectionsInner) Unset()
type NullableSendListRequestSectionsInnerRowsInner ¶
type NullableSendListRequestSectionsInnerRowsInner struct {
// contains filtered or unexported fields
}
func NewNullableSendListRequestSectionsInnerRowsInner ¶
func NewNullableSendListRequestSectionsInnerRowsInner(val *SendListRequestSectionsInnerRowsInner) *NullableSendListRequestSectionsInnerRowsInner
func (NullableSendListRequestSectionsInnerRowsInner) IsSet ¶
func (v NullableSendListRequestSectionsInnerRowsInner) IsSet() bool
func (NullableSendListRequestSectionsInnerRowsInner) MarshalJSON ¶
func (v NullableSendListRequestSectionsInnerRowsInner) MarshalJSON() ([]byte, error)
func (*NullableSendListRequestSectionsInnerRowsInner) Set ¶
func (v *NullableSendListRequestSectionsInnerRowsInner) Set(val *SendListRequestSectionsInnerRowsInner)
func (*NullableSendListRequestSectionsInnerRowsInner) UnmarshalJSON ¶
func (v *NullableSendListRequestSectionsInnerRowsInner) UnmarshalJSON(src []byte) error
func (*NullableSendListRequestSectionsInnerRowsInner) Unset ¶
func (v *NullableSendListRequestSectionsInnerRowsInner) Unset()
type NullableSendLocationRequest1 ¶
type NullableSendLocationRequest1 struct {
// contains filtered or unexported fields
}
func NewNullableSendLocationRequest1 ¶
func NewNullableSendLocationRequest1(val *SendLocationRequest1) *NullableSendLocationRequest1
func (NullableSendLocationRequest1) Get ¶
func (v NullableSendLocationRequest1) Get() *SendLocationRequest1
func (NullableSendLocationRequest1) IsSet ¶
func (v NullableSendLocationRequest1) IsSet() bool
func (NullableSendLocationRequest1) MarshalJSON ¶
func (v NullableSendLocationRequest1) MarshalJSON() ([]byte, error)
func (*NullableSendLocationRequest1) Set ¶
func (v *NullableSendLocationRequest1) Set(val *SendLocationRequest1)
func (*NullableSendLocationRequest1) UnmarshalJSON ¶
func (v *NullableSendLocationRequest1) UnmarshalJSON(src []byte) error
func (*NullableSendLocationRequest1) Unset ¶
func (v *NullableSendLocationRequest1) Unset()
type NullableSendLocationRequestRequest ¶
type NullableSendLocationRequestRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendLocationRequestRequest ¶
func NewNullableSendLocationRequestRequest(val *SendLocationRequestRequest) *NullableSendLocationRequestRequest
func (NullableSendLocationRequestRequest) Get ¶
func (v NullableSendLocationRequestRequest) Get() *SendLocationRequestRequest
func (NullableSendLocationRequestRequest) IsSet ¶
func (v NullableSendLocationRequestRequest) IsSet() bool
func (NullableSendLocationRequestRequest) MarshalJSON ¶
func (v NullableSendLocationRequestRequest) MarshalJSON() ([]byte, error)
func (*NullableSendLocationRequestRequest) Set ¶
func (v *NullableSendLocationRequestRequest) Set(val *SendLocationRequestRequest)
func (*NullableSendLocationRequestRequest) UnmarshalJSON ¶
func (v *NullableSendLocationRequestRequest) UnmarshalJSON(src []byte) error
func (*NullableSendLocationRequestRequest) Unset ¶
func (v *NullableSendLocationRequestRequest) Unset()
type NullableSendMessageRequest ¶
type NullableSendMessageRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendMessageRequest ¶
func NewNullableSendMessageRequest(val *SendMessageRequest) *NullableSendMessageRequest
func (NullableSendMessageRequest) Get ¶
func (v NullableSendMessageRequest) Get() *SendMessageRequest
func (NullableSendMessageRequest) IsSet ¶
func (v NullableSendMessageRequest) IsSet() bool
func (NullableSendMessageRequest) MarshalJSON ¶
func (v NullableSendMessageRequest) MarshalJSON() ([]byte, error)
func (*NullableSendMessageRequest) Set ¶
func (v *NullableSendMessageRequest) Set(val *SendMessageRequest)
func (*NullableSendMessageRequest) UnmarshalJSON ¶
func (v *NullableSendMessageRequest) UnmarshalJSON(src []byte) error
func (*NullableSendMessageRequest) Unset ¶
func (v *NullableSendMessageRequest) Unset()
type NullableSendOrderDetailsRequest ¶
type NullableSendOrderDetailsRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendOrderDetailsRequest ¶
func NewNullableSendOrderDetailsRequest(val *SendOrderDetailsRequest) *NullableSendOrderDetailsRequest
func (NullableSendOrderDetailsRequest) Get ¶
func (v NullableSendOrderDetailsRequest) Get() *SendOrderDetailsRequest
func (NullableSendOrderDetailsRequest) IsSet ¶
func (v NullableSendOrderDetailsRequest) IsSet() bool
func (NullableSendOrderDetailsRequest) MarshalJSON ¶
func (v NullableSendOrderDetailsRequest) MarshalJSON() ([]byte, error)
func (*NullableSendOrderDetailsRequest) Set ¶
func (v *NullableSendOrderDetailsRequest) Set(val *SendOrderDetailsRequest)
func (*NullableSendOrderDetailsRequest) UnmarshalJSON ¶
func (v *NullableSendOrderDetailsRequest) UnmarshalJSON(src []byte) error
func (*NullableSendOrderDetailsRequest) Unset ¶
func (v *NullableSendOrderDetailsRequest) Unset()
type NullableSendOrderDetailsRequestLanguage ¶
type NullableSendOrderDetailsRequestLanguage struct {
// contains filtered or unexported fields
}
func NewNullableSendOrderDetailsRequestLanguage ¶
func NewNullableSendOrderDetailsRequestLanguage(val *SendOrderDetailsRequestLanguage) *NullableSendOrderDetailsRequestLanguage
func (NullableSendOrderDetailsRequestLanguage) IsSet ¶
func (v NullableSendOrderDetailsRequestLanguage) IsSet() bool
func (NullableSendOrderDetailsRequestLanguage) MarshalJSON ¶
func (v NullableSendOrderDetailsRequestLanguage) MarshalJSON() ([]byte, error)
func (*NullableSendOrderDetailsRequestLanguage) Set ¶
func (v *NullableSendOrderDetailsRequestLanguage) Set(val *SendOrderDetailsRequestLanguage)
func (*NullableSendOrderDetailsRequestLanguage) UnmarshalJSON ¶
func (v *NullableSendOrderDetailsRequestLanguage) UnmarshalJSON(src []byte) error
func (*NullableSendOrderDetailsRequestLanguage) Unset ¶
func (v *NullableSendOrderDetailsRequestLanguage) Unset()
type NullableSendOrderDetailsRequestOrder ¶
type NullableSendOrderDetailsRequestOrder struct {
// contains filtered or unexported fields
}
func NewNullableSendOrderDetailsRequestOrder ¶
func NewNullableSendOrderDetailsRequestOrder(val *SendOrderDetailsRequestOrder) *NullableSendOrderDetailsRequestOrder
func (NullableSendOrderDetailsRequestOrder) Get ¶
func (v NullableSendOrderDetailsRequestOrder) Get() *SendOrderDetailsRequestOrder
func (NullableSendOrderDetailsRequestOrder) IsSet ¶
func (v NullableSendOrderDetailsRequestOrder) IsSet() bool
func (NullableSendOrderDetailsRequestOrder) MarshalJSON ¶
func (v NullableSendOrderDetailsRequestOrder) MarshalJSON() ([]byte, error)
func (*NullableSendOrderDetailsRequestOrder) Set ¶
func (v *NullableSendOrderDetailsRequestOrder) Set(val *SendOrderDetailsRequestOrder)
func (*NullableSendOrderDetailsRequestOrder) UnmarshalJSON ¶
func (v *NullableSendOrderDetailsRequestOrder) UnmarshalJSON(src []byte) error
func (*NullableSendOrderDetailsRequestOrder) Unset ¶
func (v *NullableSendOrderDetailsRequestOrder) Unset()
type NullableSendOrderDetailsRequestOrderItemsInner ¶
type NullableSendOrderDetailsRequestOrderItemsInner struct {
// contains filtered or unexported fields
}
func NewNullableSendOrderDetailsRequestOrderItemsInner ¶
func NewNullableSendOrderDetailsRequestOrderItemsInner(val *SendOrderDetailsRequestOrderItemsInner) *NullableSendOrderDetailsRequestOrderItemsInner
func (NullableSendOrderDetailsRequestOrderItemsInner) IsSet ¶
func (v NullableSendOrderDetailsRequestOrderItemsInner) IsSet() bool
func (NullableSendOrderDetailsRequestOrderItemsInner) MarshalJSON ¶
func (v NullableSendOrderDetailsRequestOrderItemsInner) MarshalJSON() ([]byte, error)
func (*NullableSendOrderDetailsRequestOrderItemsInner) Set ¶
func (v *NullableSendOrderDetailsRequestOrderItemsInner) Set(val *SendOrderDetailsRequestOrderItemsInner)
func (*NullableSendOrderDetailsRequestOrderItemsInner) UnmarshalJSON ¶
func (v *NullableSendOrderDetailsRequestOrderItemsInner) UnmarshalJSON(src []byte) error
func (*NullableSendOrderDetailsRequestOrderItemsInner) Unset ¶
func (v *NullableSendOrderDetailsRequestOrderItemsInner) Unset()
type NullableSendOrderDetailsRequestOrderItemsInnerAmount ¶
type NullableSendOrderDetailsRequestOrderItemsInnerAmount struct {
// contains filtered or unexported fields
}
func NewNullableSendOrderDetailsRequestOrderItemsInnerAmount ¶
func NewNullableSendOrderDetailsRequestOrderItemsInnerAmount(val *SendOrderDetailsRequestOrderItemsInnerAmount) *NullableSendOrderDetailsRequestOrderItemsInnerAmount
func (NullableSendOrderDetailsRequestOrderItemsInnerAmount) IsSet ¶
func (v NullableSendOrderDetailsRequestOrderItemsInnerAmount) IsSet() bool
func (NullableSendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON ¶
func (v NullableSendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON() ([]byte, error)
func (*NullableSendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON ¶
func (v *NullableSendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON(src []byte) error
func (*NullableSendOrderDetailsRequestOrderItemsInnerAmount) Unset ¶
func (v *NullableSendOrderDetailsRequestOrderItemsInnerAmount) Unset()
type NullableSendPaymentRequestRequest ¶
type NullableSendPaymentRequestRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendPaymentRequestRequest ¶
func NewNullableSendPaymentRequestRequest(val *SendPaymentRequestRequest) *NullableSendPaymentRequestRequest
func (NullableSendPaymentRequestRequest) Get ¶
func (v NullableSendPaymentRequestRequest) Get() *SendPaymentRequestRequest
func (NullableSendPaymentRequestRequest) IsSet ¶
func (v NullableSendPaymentRequestRequest) IsSet() bool
func (NullableSendPaymentRequestRequest) MarshalJSON ¶
func (v NullableSendPaymentRequestRequest) MarshalJSON() ([]byte, error)
func (*NullableSendPaymentRequestRequest) Set ¶
func (v *NullableSendPaymentRequestRequest) Set(val *SendPaymentRequestRequest)
func (*NullableSendPaymentRequestRequest) UnmarshalJSON ¶
func (v *NullableSendPaymentRequestRequest) UnmarshalJSON(src []byte) error
func (*NullableSendPaymentRequestRequest) Unset ¶
func (v *NullableSendPaymentRequestRequest) Unset()
type NullableSendReactionRequest ¶
type NullableSendReactionRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendReactionRequest ¶
func NewNullableSendReactionRequest(val *SendReactionRequest) *NullableSendReactionRequest
func (NullableSendReactionRequest) Get ¶
func (v NullableSendReactionRequest) Get() *SendReactionRequest
func (NullableSendReactionRequest) IsSet ¶
func (v NullableSendReactionRequest) IsSet() bool
func (NullableSendReactionRequest) MarshalJSON ¶
func (v NullableSendReactionRequest) MarshalJSON() ([]byte, error)
func (*NullableSendReactionRequest) Set ¶
func (v *NullableSendReactionRequest) Set(val *SendReactionRequest)
func (*NullableSendReactionRequest) UnmarshalJSON ¶
func (v *NullableSendReactionRequest) UnmarshalJSON(src []byte) error
func (*NullableSendReactionRequest) Unset ¶
func (v *NullableSendReactionRequest) Unset()
type NullableSendStickerRequest ¶
type NullableSendStickerRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendStickerRequest ¶
func NewNullableSendStickerRequest(val *SendStickerRequest) *NullableSendStickerRequest
func (NullableSendStickerRequest) Get ¶
func (v NullableSendStickerRequest) Get() *SendStickerRequest
func (NullableSendStickerRequest) IsSet ¶
func (v NullableSendStickerRequest) IsSet() bool
func (NullableSendStickerRequest) MarshalJSON ¶
func (v NullableSendStickerRequest) MarshalJSON() ([]byte, error)
func (*NullableSendStickerRequest) Set ¶
func (v *NullableSendStickerRequest) Set(val *SendStickerRequest)
func (*NullableSendStickerRequest) UnmarshalJSON ¶
func (v *NullableSendStickerRequest) UnmarshalJSON(src []byte) error
func (*NullableSendStickerRequest) Unset ¶
func (v *NullableSendStickerRequest) Unset()
type NullableSendTemplateRequest ¶
type NullableSendTemplateRequest struct {
// contains filtered or unexported fields
}
func NewNullableSendTemplateRequest ¶
func NewNullableSendTemplateRequest(val *SendTemplateRequest) *NullableSendTemplateRequest
func (NullableSendTemplateRequest) Get ¶
func (v NullableSendTemplateRequest) Get() *SendTemplateRequest
func (NullableSendTemplateRequest) IsSet ¶
func (v NullableSendTemplateRequest) IsSet() bool
func (NullableSendTemplateRequest) MarshalJSON ¶
func (v NullableSendTemplateRequest) MarshalJSON() ([]byte, error)
func (*NullableSendTemplateRequest) Set ¶
func (v *NullableSendTemplateRequest) Set(val *SendTemplateRequest)
func (*NullableSendTemplateRequest) UnmarshalJSON ¶
func (v *NullableSendTemplateRequest) UnmarshalJSON(src []byte) error
func (*NullableSendTemplateRequest) Unset ¶
func (v *NullableSendTemplateRequest) Unset()
type NullableSendTemplateRequestLanguage ¶
type NullableSendTemplateRequestLanguage struct {
// contains filtered or unexported fields
}
func NewNullableSendTemplateRequestLanguage ¶
func NewNullableSendTemplateRequestLanguage(val *SendTemplateRequestLanguage) *NullableSendTemplateRequestLanguage
func (NullableSendTemplateRequestLanguage) Get ¶
func (v NullableSendTemplateRequestLanguage) Get() *SendTemplateRequestLanguage
func (NullableSendTemplateRequestLanguage) IsSet ¶
func (v NullableSendTemplateRequestLanguage) IsSet() bool
func (NullableSendTemplateRequestLanguage) MarshalJSON ¶
func (v NullableSendTemplateRequestLanguage) MarshalJSON() ([]byte, error)
func (*NullableSendTemplateRequestLanguage) Set ¶
func (v *NullableSendTemplateRequestLanguage) Set(val *SendTemplateRequestLanguage)
func (*NullableSendTemplateRequestLanguage) UnmarshalJSON ¶
func (v *NullableSendTemplateRequestLanguage) UnmarshalJSON(src []byte) error
func (*NullableSendTemplateRequestLanguage) Unset ¶
func (v *NullableSendTemplateRequestLanguage) Unset()
type NullableSetWhatsappBusinessEncryptionRequest ¶
type NullableSetWhatsappBusinessEncryptionRequest struct {
// contains filtered or unexported fields
}
func NewNullableSetWhatsappBusinessEncryptionRequest ¶
func NewNullableSetWhatsappBusinessEncryptionRequest(val *SetWhatsappBusinessEncryptionRequest) *NullableSetWhatsappBusinessEncryptionRequest
func (NullableSetWhatsappBusinessEncryptionRequest) IsSet ¶
func (v NullableSetWhatsappBusinessEncryptionRequest) IsSet() bool
func (NullableSetWhatsappBusinessEncryptionRequest) MarshalJSON ¶
func (v NullableSetWhatsappBusinessEncryptionRequest) MarshalJSON() ([]byte, error)
func (*NullableSetWhatsappBusinessEncryptionRequest) Set ¶
func (v *NullableSetWhatsappBusinessEncryptionRequest) Set(val *SetWhatsappBusinessEncryptionRequest)
func (*NullableSetWhatsappBusinessEncryptionRequest) UnmarshalJSON ¶
func (v *NullableSetWhatsappBusinessEncryptionRequest) UnmarshalJSON(src []byte) error
func (*NullableSetWhatsappBusinessEncryptionRequest) Unset ¶
func (v *NullableSetWhatsappBusinessEncryptionRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSuccessResponse ¶
type NullableSuccessResponse struct {
// contains filtered or unexported fields
}
func NewNullableSuccessResponse ¶
func NewNullableSuccessResponse(val *SuccessResponse) *NullableSuccessResponse
func (NullableSuccessResponse) Get ¶
func (v NullableSuccessResponse) Get() *SuccessResponse
func (NullableSuccessResponse) IsSet ¶
func (v NullableSuccessResponse) IsSet() bool
func (NullableSuccessResponse) MarshalJSON ¶
func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)
func (*NullableSuccessResponse) Set ¶
func (v *NullableSuccessResponse) Set(val *SuccessResponse)
func (*NullableSuccessResponse) UnmarshalJSON ¶
func (v *NullableSuccessResponse) UnmarshalJSON(src []byte) error
func (*NullableSuccessResponse) Unset ¶
func (v *NullableSuccessResponse) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateMeRequest ¶
type NullableUpdateMeRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateMeRequest ¶
func NewNullableUpdateMeRequest(val *UpdateMeRequest) *NullableUpdateMeRequest
func (NullableUpdateMeRequest) Get ¶
func (v NullableUpdateMeRequest) Get() *UpdateMeRequest
func (NullableUpdateMeRequest) IsSet ¶
func (v NullableUpdateMeRequest) IsSet() bool
func (NullableUpdateMeRequest) MarshalJSON ¶
func (v NullableUpdateMeRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateMeRequest) Set ¶
func (v *NullableUpdateMeRequest) Set(val *UpdateMeRequest)
func (*NullableUpdateMeRequest) UnmarshalJSON ¶
func (v *NullableUpdateMeRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateMeRequest) Unset ¶
func (v *NullableUpdateMeRequest) Unset()
type PatchFlowsFlowIdAssets200Response ¶
type PatchFlowsFlowIdAssets200Response struct {
Success *bool `json:"success,omitempty"`
ValidationErrors []map[string]interface{} `json:"validationErrors,omitempty"`
// Error details returned by the provider. May be a string or a JSON object.
Error interface{} `json:"error,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchFlowsFlowIdAssets200Response struct for PatchFlowsFlowIdAssets200Response
func NewPatchFlowsFlowIdAssets200Response ¶
func NewPatchFlowsFlowIdAssets200Response() *PatchFlowsFlowIdAssets200Response
NewPatchFlowsFlowIdAssets200Response instantiates a new PatchFlowsFlowIdAssets200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchFlowsFlowIdAssets200ResponseWithDefaults ¶
func NewPatchFlowsFlowIdAssets200ResponseWithDefaults() *PatchFlowsFlowIdAssets200Response
NewPatchFlowsFlowIdAssets200ResponseWithDefaults instantiates a new PatchFlowsFlowIdAssets200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchFlowsFlowIdAssets200Response) GetError ¶
func (o *PatchFlowsFlowIdAssets200Response) GetError() interface{}
GetError returns the Error field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PatchFlowsFlowIdAssets200Response) GetErrorOk ¶
func (o *PatchFlowsFlowIdAssets200Response) GetErrorOk() (*interface{}, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchFlowsFlowIdAssets200Response) GetSuccess ¶
func (o *PatchFlowsFlowIdAssets200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*PatchFlowsFlowIdAssets200Response) GetSuccessOk ¶
func (o *PatchFlowsFlowIdAssets200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchFlowsFlowIdAssets200Response) GetValidationErrors ¶
func (o *PatchFlowsFlowIdAssets200Response) GetValidationErrors() []map[string]interface{}
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*PatchFlowsFlowIdAssets200Response) GetValidationErrorsOk ¶
func (o *PatchFlowsFlowIdAssets200Response) GetValidationErrorsOk() ([]map[string]interface{}, bool)
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchFlowsFlowIdAssets200Response) HasError ¶
func (o *PatchFlowsFlowIdAssets200Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*PatchFlowsFlowIdAssets200Response) HasSuccess ¶
func (o *PatchFlowsFlowIdAssets200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (*PatchFlowsFlowIdAssets200Response) HasValidationErrors ¶
func (o *PatchFlowsFlowIdAssets200Response) HasValidationErrors() bool
HasValidationErrors returns a boolean if a field has been set.
func (PatchFlowsFlowIdAssets200Response) MarshalJSON ¶
func (o PatchFlowsFlowIdAssets200Response) MarshalJSON() ([]byte, error)
func (*PatchFlowsFlowIdAssets200Response) SetError ¶
func (o *PatchFlowsFlowIdAssets200Response) SetError(v interface{})
SetError gets a reference to the given interface{} and assigns it to the Error field.
func (*PatchFlowsFlowIdAssets200Response) SetSuccess ¶
func (o *PatchFlowsFlowIdAssets200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (*PatchFlowsFlowIdAssets200Response) SetValidationErrors ¶
func (o *PatchFlowsFlowIdAssets200Response) SetValidationErrors(v []map[string]interface{})
SetValidationErrors gets a reference to the given []map[string]interface{} and assigns it to the ValidationErrors field.
func (PatchFlowsFlowIdAssets200Response) ToMap ¶
func (o PatchFlowsFlowIdAssets200Response) ToMap() (map[string]interface{}, error)
func (*PatchFlowsFlowIdAssets200Response) UnmarshalJSON ¶
func (o *PatchFlowsFlowIdAssets200Response) UnmarshalJSON(data []byte) (err error)
type ProfileAPIService ¶
type ProfileAPIService service
ProfileAPIService ProfileAPI service
func (*ProfileAPIService) GetMe ¶
func (a *ProfileAPIService) GetMe(ctx context.Context) ApiGetMeRequest
GetMe Get Profile Info
Get WhatsApp Business Account profile information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetMeRequest
func (*ProfileAPIService) GetMeExecute ¶
func (a *ProfileAPIService) GetMeExecute(r ApiGetMeRequest) (*ProfileInfo, *http.Response, error)
Execute executes the request
@return ProfileInfo
func (*ProfileAPIService) UpdateMe ¶
func (a *ProfileAPIService) UpdateMe(ctx context.Context) ApiUpdateMeRequest
UpdateMe Update profile info
Update WhatsApp Business Account profile fields. At least one of about, description, email, photo, address, vertical, websites is required. Blocked when the channel subscription limit is exceeded.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateMeRequest
func (*ProfileAPIService) UpdateMeExecute ¶
func (a *ProfileAPIService) UpdateMeExecute(r ApiUpdateMeRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type ProfileInfo ¶
type ProfileInfo struct {
// Profile's About section
About *string `json:"about,omitempty"`
// Address of the business
Address *string `json:"address,omitempty"`
// Description of the business
Description *string `json:"description,omitempty"`
// Business email
Email *string `json:"email,omitempty"`
// Linked phone number
Phone *string `json:"phone,omitempty"`
// Industry of the business
Vertical *string `json:"vertical,omitempty"`
// Profile photo URL
Photo *string `json:"photo,omitempty"`
Websites []string `json:"websites,omitempty"`
AdditionalProperties map[string]interface{}
}
ProfileInfo WhatsApp Business profile information
func NewProfileInfo ¶
func NewProfileInfo() *ProfileInfo
NewProfileInfo instantiates a new ProfileInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProfileInfoWithDefaults ¶
func NewProfileInfoWithDefaults() *ProfileInfo
NewProfileInfoWithDefaults instantiates a new ProfileInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProfileInfo) GetAbout ¶
func (o *ProfileInfo) GetAbout() string
GetAbout returns the About field value if set, zero value otherwise.
func (*ProfileInfo) GetAboutOk ¶
func (o *ProfileInfo) GetAboutOk() (*string, bool)
GetAboutOk returns a tuple with the About field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetAddress ¶
func (o *ProfileInfo) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*ProfileInfo) GetAddressOk ¶
func (o *ProfileInfo) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetDescription ¶
func (o *ProfileInfo) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ProfileInfo) GetDescriptionOk ¶
func (o *ProfileInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetEmail ¶
func (o *ProfileInfo) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*ProfileInfo) GetEmailOk ¶
func (o *ProfileInfo) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetPhone ¶
func (o *ProfileInfo) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*ProfileInfo) GetPhoneOk ¶
func (o *ProfileInfo) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetPhoto ¶
func (o *ProfileInfo) GetPhoto() string
GetPhoto returns the Photo field value if set, zero value otherwise.
func (*ProfileInfo) GetPhotoOk ¶
func (o *ProfileInfo) GetPhotoOk() (*string, bool)
GetPhotoOk returns a tuple with the Photo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetVertical ¶
func (o *ProfileInfo) GetVertical() string
GetVertical returns the Vertical field value if set, zero value otherwise.
func (*ProfileInfo) GetVerticalOk ¶
func (o *ProfileInfo) GetVerticalOk() (*string, bool)
GetVerticalOk returns a tuple with the Vertical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) GetWebsites ¶
func (o *ProfileInfo) GetWebsites() []string
GetWebsites returns the Websites field value if set, zero value otherwise.
func (*ProfileInfo) GetWebsitesOk ¶
func (o *ProfileInfo) GetWebsitesOk() ([]string, bool)
GetWebsitesOk returns a tuple with the Websites field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProfileInfo) HasAbout ¶
func (o *ProfileInfo) HasAbout() bool
HasAbout returns a boolean if a field has been set.
func (*ProfileInfo) HasAddress ¶
func (o *ProfileInfo) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*ProfileInfo) HasDescription ¶
func (o *ProfileInfo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ProfileInfo) HasEmail ¶
func (o *ProfileInfo) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*ProfileInfo) HasPhone ¶
func (o *ProfileInfo) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*ProfileInfo) HasPhoto ¶
func (o *ProfileInfo) HasPhoto() bool
HasPhoto returns a boolean if a field has been set.
func (*ProfileInfo) HasVertical ¶
func (o *ProfileInfo) HasVertical() bool
HasVertical returns a boolean if a field has been set.
func (*ProfileInfo) HasWebsites ¶
func (o *ProfileInfo) HasWebsites() bool
HasWebsites returns a boolean if a field has been set.
func (ProfileInfo) MarshalJSON ¶
func (o ProfileInfo) MarshalJSON() ([]byte, error)
func (*ProfileInfo) SetAbout ¶
func (o *ProfileInfo) SetAbout(v string)
SetAbout gets a reference to the given string and assigns it to the About field.
func (*ProfileInfo) SetAddress ¶
func (o *ProfileInfo) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*ProfileInfo) SetDescription ¶
func (o *ProfileInfo) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ProfileInfo) SetEmail ¶
func (o *ProfileInfo) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*ProfileInfo) SetPhone ¶
func (o *ProfileInfo) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*ProfileInfo) SetPhoto ¶
func (o *ProfileInfo) SetPhoto(v string)
SetPhoto gets a reference to the given string and assigns it to the Photo field.
func (*ProfileInfo) SetVertical ¶
func (o *ProfileInfo) SetVertical(v string)
SetVertical gets a reference to the given string and assigns it to the Vertical field.
func (*ProfileInfo) SetWebsites ¶
func (o *ProfileInfo) SetWebsites(v []string)
SetWebsites gets a reference to the given []string and assigns it to the Websites field.
func (ProfileInfo) ToMap ¶
func (o ProfileInfo) ToMap() (map[string]interface{}, error)
func (*ProfileInfo) UnmarshalJSON ¶
func (o *ProfileInfo) UnmarshalJSON(data []byte) (err error)
type RetrieveMedia200Response ¶
type RetrieveMedia200Response struct {
Url *string `json:"url,omitempty"`
MimeType *string `json:"mimeType,omitempty"`
Sha256 *string `json:"sha256,omitempty"`
FileSize *int32 `json:"fileSize,omitempty"`
Id *string `json:"id,omitempty"`
AdditionalProperties map[string]interface{}
}
RetrieveMedia200Response struct for RetrieveMedia200Response
func NewRetrieveMedia200Response ¶
func NewRetrieveMedia200Response() *RetrieveMedia200Response
NewRetrieveMedia200Response instantiates a new RetrieveMedia200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRetrieveMedia200ResponseWithDefaults ¶
func NewRetrieveMedia200ResponseWithDefaults() *RetrieveMedia200Response
NewRetrieveMedia200ResponseWithDefaults instantiates a new RetrieveMedia200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RetrieveMedia200Response) GetFileSize ¶
func (o *RetrieveMedia200Response) GetFileSize() int32
GetFileSize returns the FileSize field value if set, zero value otherwise.
func (*RetrieveMedia200Response) GetFileSizeOk ¶
func (o *RetrieveMedia200Response) GetFileSizeOk() (*int32, bool)
GetFileSizeOk returns a tuple with the FileSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveMedia200Response) GetId ¶
func (o *RetrieveMedia200Response) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RetrieveMedia200Response) GetIdOk ¶
func (o *RetrieveMedia200Response) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveMedia200Response) GetMimeType ¶
func (o *RetrieveMedia200Response) GetMimeType() string
GetMimeType returns the MimeType field value if set, zero value otherwise.
func (*RetrieveMedia200Response) GetMimeTypeOk ¶
func (o *RetrieveMedia200Response) GetMimeTypeOk() (*string, bool)
GetMimeTypeOk returns a tuple with the MimeType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveMedia200Response) GetSha256 ¶
func (o *RetrieveMedia200Response) GetSha256() string
GetSha256 returns the Sha256 field value if set, zero value otherwise.
func (*RetrieveMedia200Response) GetSha256Ok ¶
func (o *RetrieveMedia200Response) GetSha256Ok() (*string, bool)
GetSha256Ok returns a tuple with the Sha256 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveMedia200Response) GetUrl ¶
func (o *RetrieveMedia200Response) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*RetrieveMedia200Response) GetUrlOk ¶
func (o *RetrieveMedia200Response) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetrieveMedia200Response) HasFileSize ¶
func (o *RetrieveMedia200Response) HasFileSize() bool
HasFileSize returns a boolean if a field has been set.
func (*RetrieveMedia200Response) HasId ¶
func (o *RetrieveMedia200Response) HasId() bool
HasId returns a boolean if a field has been set.
func (*RetrieveMedia200Response) HasMimeType ¶
func (o *RetrieveMedia200Response) HasMimeType() bool
HasMimeType returns a boolean if a field has been set.
func (*RetrieveMedia200Response) HasSha256 ¶
func (o *RetrieveMedia200Response) HasSha256() bool
HasSha256 returns a boolean if a field has been set.
func (*RetrieveMedia200Response) HasUrl ¶
func (o *RetrieveMedia200Response) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (RetrieveMedia200Response) MarshalJSON ¶
func (o RetrieveMedia200Response) MarshalJSON() ([]byte, error)
func (*RetrieveMedia200Response) SetFileSize ¶
func (o *RetrieveMedia200Response) SetFileSize(v int32)
SetFileSize gets a reference to the given int32 and assigns it to the FileSize field.
func (*RetrieveMedia200Response) SetId ¶
func (o *RetrieveMedia200Response) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RetrieveMedia200Response) SetMimeType ¶
func (o *RetrieveMedia200Response) SetMimeType(v string)
SetMimeType gets a reference to the given string and assigns it to the MimeType field.
func (*RetrieveMedia200Response) SetSha256 ¶
func (o *RetrieveMedia200Response) SetSha256(v string)
SetSha256 gets a reference to the given string and assigns it to the Sha256 field.
func (*RetrieveMedia200Response) SetUrl ¶
func (o *RetrieveMedia200Response) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (RetrieveMedia200Response) ToMap ¶
func (o RetrieveMedia200Response) ToMap() (map[string]interface{}, error)
func (*RetrieveMedia200Response) UnmarshalJSON ¶
func (o *RetrieveMedia200Response) UnmarshalJSON(data []byte) (err error)
type SendAddressMessageRequest ¶
type SendAddressMessageRequest struct {
// Recipient phone (E.164 digits, no +). Must match country.
Phone *int32 `json:"phone,omitempty"`
ChatId *string `json:"chatId,omitempty"`
// Body text shown with the address request
Body string `json:"body"`
// Address form country. Defaults to IN if omitted.
Country *string `json:"country,omitempty"`
// Optional prefilled address fields
Values map[string]interface{} `json:"values,omitempty"`
// Optional previously saved addresses for the user
SavedAddresses []map[string]interface{} `json:"saved_addresses,omitempty"`
// Optional field validation errors when re-prompting
ValidationErrors map[string]interface{} `json:"validation_errors,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
AdditionalProperties map[string]interface{}
}
SendAddressMessageRequest struct for SendAddressMessageRequest
func NewSendAddressMessageRequest ¶
func NewSendAddressMessageRequest(body string) *SendAddressMessageRequest
NewSendAddressMessageRequest instantiates a new SendAddressMessageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendAddressMessageRequestWithDefaults ¶
func NewSendAddressMessageRequestWithDefaults() *SendAddressMessageRequest
NewSendAddressMessageRequestWithDefaults instantiates a new SendAddressMessageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendAddressMessageRequest) GetBody ¶
func (o *SendAddressMessageRequest) GetBody() string
GetBody returns the Body field value
func (*SendAddressMessageRequest) GetBodyOk ¶
func (o *SendAddressMessageRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetChatId ¶
func (o *SendAddressMessageRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetChatIdOk ¶
func (o *SendAddressMessageRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetCountry ¶
func (o *SendAddressMessageRequest) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetCountryOk ¶
func (o *SendAddressMessageRequest) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetPhone ¶
func (o *SendAddressMessageRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetPhoneOk ¶
func (o *SendAddressMessageRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetQuotedMsgId ¶
func (o *SendAddressMessageRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetQuotedMsgIdOk ¶
func (o *SendAddressMessageRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetSavedAddresses ¶
func (o *SendAddressMessageRequest) GetSavedAddresses() []map[string]interface{}
GetSavedAddresses returns the SavedAddresses field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetSavedAddressesOk ¶
func (o *SendAddressMessageRequest) GetSavedAddressesOk() ([]map[string]interface{}, bool)
GetSavedAddressesOk returns a tuple with the SavedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetValidationErrors ¶
func (o *SendAddressMessageRequest) GetValidationErrors() map[string]interface{}
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetValidationErrorsOk ¶
func (o *SendAddressMessageRequest) GetValidationErrorsOk() (map[string]interface{}, bool)
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) GetValues ¶
func (o *SendAddressMessageRequest) GetValues() map[string]interface{}
GetValues returns the Values field value if set, zero value otherwise.
func (*SendAddressMessageRequest) GetValuesOk ¶
func (o *SendAddressMessageRequest) GetValuesOk() (map[string]interface{}, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendAddressMessageRequest) HasChatId ¶
func (o *SendAddressMessageRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasCountry ¶
func (o *SendAddressMessageRequest) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasPhone ¶
func (o *SendAddressMessageRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasQuotedMsgId ¶
func (o *SendAddressMessageRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasSavedAddresses ¶
func (o *SendAddressMessageRequest) HasSavedAddresses() bool
HasSavedAddresses returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasValidationErrors ¶
func (o *SendAddressMessageRequest) HasValidationErrors() bool
HasValidationErrors returns a boolean if a field has been set.
func (*SendAddressMessageRequest) HasValues ¶
func (o *SendAddressMessageRequest) HasValues() bool
HasValues returns a boolean if a field has been set.
func (SendAddressMessageRequest) MarshalJSON ¶
func (o SendAddressMessageRequest) MarshalJSON() ([]byte, error)
func (*SendAddressMessageRequest) SetBody ¶
func (o *SendAddressMessageRequest) SetBody(v string)
SetBody sets field value
func (*SendAddressMessageRequest) SetChatId ¶
func (o *SendAddressMessageRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendAddressMessageRequest) SetCountry ¶
func (o *SendAddressMessageRequest) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*SendAddressMessageRequest) SetPhone ¶
func (o *SendAddressMessageRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendAddressMessageRequest) SetQuotedMsgId ¶
func (o *SendAddressMessageRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (*SendAddressMessageRequest) SetSavedAddresses ¶
func (o *SendAddressMessageRequest) SetSavedAddresses(v []map[string]interface{})
SetSavedAddresses gets a reference to the given []map[string]interface{} and assigns it to the SavedAddresses field.
func (*SendAddressMessageRequest) SetValidationErrors ¶
func (o *SendAddressMessageRequest) SetValidationErrors(v map[string]interface{})
SetValidationErrors gets a reference to the given map[string]interface{} and assigns it to the ValidationErrors field.
func (*SendAddressMessageRequest) SetValues ¶
func (o *SendAddressMessageRequest) SetValues(v map[string]interface{})
SetValues gets a reference to the given map[string]interface{} and assigns it to the Values field.
func (SendAddressMessageRequest) ToMap ¶
func (o SendAddressMessageRequest) ToMap() (map[string]interface{}, error)
func (*SendAddressMessageRequest) UnmarshalJSON ¶
func (o *SendAddressMessageRequest) UnmarshalJSON(data []byte) (err error)
type SendButtonRequest ¶
type SendButtonRequest struct {
Phone *string `json:"phone,omitempty"`
Body *string `json:"body,omitempty"`
Sections []SendButtonRequestSectionsInner `json:"sections,omitempty"`
}
SendButtonRequest struct for SendButtonRequest
func NewSendButtonRequest ¶
func NewSendButtonRequest() *SendButtonRequest
NewSendButtonRequest instantiates a new SendButtonRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendButtonRequestWithDefaults ¶
func NewSendButtonRequestWithDefaults() *SendButtonRequest
NewSendButtonRequestWithDefaults instantiates a new SendButtonRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendButtonRequest) GetBody ¶
func (o *SendButtonRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendButtonRequest) GetBodyOk ¶
func (o *SendButtonRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequest) GetFooter ¶
func (o *SendButtonRequest) GetFooter() string
GetFooter returns the Footer field value if set, zero value otherwise.
func (*SendButtonRequest) GetFooterOk ¶
func (o *SendButtonRequest) GetFooterOk() (*string, bool)
GetFooterOk returns a tuple with the Footer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequest) GetPhone ¶
func (o *SendButtonRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendButtonRequest) GetPhoneOk ¶
func (o *SendButtonRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequest) GetSections ¶
func (o *SendButtonRequest) GetSections() []SendButtonRequestSectionsInner
GetSections returns the Sections field value if set, zero value otherwise.
func (*SendButtonRequest) GetSectionsOk ¶
func (o *SendButtonRequest) GetSectionsOk() ([]SendButtonRequestSectionsInner, bool)
GetSectionsOk returns a tuple with the Sections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequest) HasBody ¶
func (o *SendButtonRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendButtonRequest) HasFooter ¶
func (o *SendButtonRequest) HasFooter() bool
HasFooter returns a boolean if a field has been set.
func (*SendButtonRequest) HasPhone ¶
func (o *SendButtonRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendButtonRequest) HasSections ¶
func (o *SendButtonRequest) HasSections() bool
HasSections returns a boolean if a field has been set.
func (SendButtonRequest) MarshalJSON ¶
func (o SendButtonRequest) MarshalJSON() ([]byte, error)
func (*SendButtonRequest) SetBody ¶
func (o *SendButtonRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendButtonRequest) SetFooter ¶
func (o *SendButtonRequest) SetFooter(v string)
SetFooter gets a reference to the given string and assigns it to the Footer field.
func (*SendButtonRequest) SetPhone ¶
func (o *SendButtonRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*SendButtonRequest) SetSections ¶
func (o *SendButtonRequest) SetSections(v []SendButtonRequestSectionsInner)
SetSections gets a reference to the given []SendButtonRequestSectionsInner and assigns it to the Sections field.
func (SendButtonRequest) ToMap ¶
func (o SendButtonRequest) ToMap() (map[string]interface{}, error)
type SendButtonRequestSectionsInner ¶
type SendButtonRequestSectionsInner struct {
Type *string `json:"type,omitempty"`
Reply *SendButtonRequestSectionsInnerReply `json:"reply,omitempty"`
}
SendButtonRequestSectionsInner struct for SendButtonRequestSectionsInner
func NewSendButtonRequestSectionsInner ¶
func NewSendButtonRequestSectionsInner() *SendButtonRequestSectionsInner
NewSendButtonRequestSectionsInner instantiates a new SendButtonRequestSectionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendButtonRequestSectionsInnerWithDefaults ¶
func NewSendButtonRequestSectionsInnerWithDefaults() *SendButtonRequestSectionsInner
NewSendButtonRequestSectionsInnerWithDefaults instantiates a new SendButtonRequestSectionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendButtonRequestSectionsInner) GetReply ¶
func (o *SendButtonRequestSectionsInner) GetReply() SendButtonRequestSectionsInnerReply
GetReply returns the Reply field value if set, zero value otherwise.
func (*SendButtonRequestSectionsInner) GetReplyOk ¶
func (o *SendButtonRequestSectionsInner) GetReplyOk() (*SendButtonRequestSectionsInnerReply, bool)
GetReplyOk returns a tuple with the Reply field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequestSectionsInner) GetType ¶
func (o *SendButtonRequestSectionsInner) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SendButtonRequestSectionsInner) GetTypeOk ¶
func (o *SendButtonRequestSectionsInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequestSectionsInner) HasReply ¶
func (o *SendButtonRequestSectionsInner) HasReply() bool
HasReply returns a boolean if a field has been set.
func (*SendButtonRequestSectionsInner) HasType ¶
func (o *SendButtonRequestSectionsInner) HasType() bool
HasType returns a boolean if a field has been set.
func (SendButtonRequestSectionsInner) MarshalJSON ¶
func (o SendButtonRequestSectionsInner) MarshalJSON() ([]byte, error)
func (*SendButtonRequestSectionsInner) SetReply ¶
func (o *SendButtonRequestSectionsInner) SetReply(v SendButtonRequestSectionsInnerReply)
SetReply gets a reference to the given SendButtonRequestSectionsInnerReply and assigns it to the Reply field.
func (*SendButtonRequestSectionsInner) SetType ¶
func (o *SendButtonRequestSectionsInner) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (SendButtonRequestSectionsInner) ToMap ¶
func (o SendButtonRequestSectionsInner) ToMap() (map[string]interface{}, error)
type SendButtonRequestSectionsInnerReply ¶
type SendButtonRequestSectionsInnerReply struct {
Id *string `json:"id,omitempty"`
Title *string `json:"title,omitempty"`
}
SendButtonRequestSectionsInnerReply struct for SendButtonRequestSectionsInnerReply
func NewSendButtonRequestSectionsInnerReply ¶
func NewSendButtonRequestSectionsInnerReply() *SendButtonRequestSectionsInnerReply
NewSendButtonRequestSectionsInnerReply instantiates a new SendButtonRequestSectionsInnerReply object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendButtonRequestSectionsInnerReplyWithDefaults ¶
func NewSendButtonRequestSectionsInnerReplyWithDefaults() *SendButtonRequestSectionsInnerReply
NewSendButtonRequestSectionsInnerReplyWithDefaults instantiates a new SendButtonRequestSectionsInnerReply object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendButtonRequestSectionsInnerReply) GetId ¶
func (o *SendButtonRequestSectionsInnerReply) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SendButtonRequestSectionsInnerReply) GetIdOk ¶
func (o *SendButtonRequestSectionsInnerReply) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequestSectionsInnerReply) GetTitle ¶
func (o *SendButtonRequestSectionsInnerReply) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*SendButtonRequestSectionsInnerReply) GetTitleOk ¶
func (o *SendButtonRequestSectionsInnerReply) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendButtonRequestSectionsInnerReply) HasId ¶
func (o *SendButtonRequestSectionsInnerReply) HasId() bool
HasId returns a boolean if a field has been set.
func (*SendButtonRequestSectionsInnerReply) HasTitle ¶
func (o *SendButtonRequestSectionsInnerReply) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (SendButtonRequestSectionsInnerReply) MarshalJSON ¶
func (o SendButtonRequestSectionsInnerReply) MarshalJSON() ([]byte, error)
func (*SendButtonRequestSectionsInnerReply) SetId ¶
func (o *SendButtonRequestSectionsInnerReply) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SendButtonRequestSectionsInnerReply) SetTitle ¶
func (o *SendButtonRequestSectionsInnerReply) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (SendButtonRequestSectionsInnerReply) ToMap ¶
func (o SendButtonRequestSectionsInnerReply) ToMap() (map[string]interface{}, error)
type SendCarouselRequest1 ¶
type SendCarouselRequest1 struct {
Body *string `json:"body,omitempty"`
Params []map[string]interface{} `json:"params"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
ChatId *string `json:"chatId,omitempty"`
Phone *int32 `json:"phone,omitempty"`
}
SendCarouselRequest1 struct for SendCarouselRequest1
func NewSendCarouselRequest1 ¶
func NewSendCarouselRequest1(params []map[string]interface{}) *SendCarouselRequest1
NewSendCarouselRequest1 instantiates a new SendCarouselRequest1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendCarouselRequest1WithDefaults ¶
func NewSendCarouselRequest1WithDefaults() *SendCarouselRequest1
NewSendCarouselRequest1WithDefaults instantiates a new SendCarouselRequest1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendCarouselRequest1) GetBody ¶
func (o *SendCarouselRequest1) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendCarouselRequest1) GetBodyOk ¶
func (o *SendCarouselRequest1) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCarouselRequest1) GetChatId ¶
func (o *SendCarouselRequest1) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendCarouselRequest1) GetChatIdOk ¶
func (o *SendCarouselRequest1) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCarouselRequest1) GetParams ¶
func (o *SendCarouselRequest1) GetParams() []map[string]interface{}
GetParams returns the Params field value
func (*SendCarouselRequest1) GetParamsOk ¶
func (o *SendCarouselRequest1) GetParamsOk() ([]map[string]interface{}, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*SendCarouselRequest1) GetPhone ¶
func (o *SendCarouselRequest1) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendCarouselRequest1) GetPhoneOk ¶
func (o *SendCarouselRequest1) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCarouselRequest1) GetQuotedMsgId ¶
func (o *SendCarouselRequest1) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendCarouselRequest1) GetQuotedMsgIdOk ¶
func (o *SendCarouselRequest1) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCarouselRequest1) HasBody ¶
func (o *SendCarouselRequest1) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendCarouselRequest1) HasChatId ¶
func (o *SendCarouselRequest1) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendCarouselRequest1) HasPhone ¶
func (o *SendCarouselRequest1) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendCarouselRequest1) HasQuotedMsgId ¶
func (o *SendCarouselRequest1) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendCarouselRequest1) MarshalJSON ¶
func (o SendCarouselRequest1) MarshalJSON() ([]byte, error)
func (*SendCarouselRequest1) SetBody ¶
func (o *SendCarouselRequest1) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendCarouselRequest1) SetChatId ¶
func (o *SendCarouselRequest1) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendCarouselRequest1) SetParams ¶
func (o *SendCarouselRequest1) SetParams(v []map[string]interface{})
SetParams sets field value
func (*SendCarouselRequest1) SetPhone ¶
func (o *SendCarouselRequest1) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendCarouselRequest1) SetQuotedMsgId ¶
func (o *SendCarouselRequest1) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendCarouselRequest1) ToMap ¶
func (o SendCarouselRequest1) ToMap() (map[string]interface{}, error)
func (*SendCarouselRequest1) UnmarshalJSON ¶
func (o *SendCarouselRequest1) UnmarshalJSON(data []byte) (err error)
type SendContactRequest ¶
type SendContactRequest struct {
Phone *string `json:"phone,omitempty"`
Contacts []SendContactRequestContactsInner `json:"contacts,omitempty"`
}
SendContactRequest struct for SendContactRequest
func NewSendContactRequest ¶
func NewSendContactRequest() *SendContactRequest
NewSendContactRequest instantiates a new SendContactRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendContactRequestWithDefaults ¶
func NewSendContactRequestWithDefaults() *SendContactRequest
NewSendContactRequestWithDefaults instantiates a new SendContactRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendContactRequest) GetContacts ¶
func (o *SendContactRequest) GetContacts() []SendContactRequestContactsInner
GetContacts returns the Contacts field value if set, zero value otherwise.
func (*SendContactRequest) GetContactsOk ¶
func (o *SendContactRequest) GetContactsOk() ([]SendContactRequestContactsInner, bool)
GetContactsOk returns a tuple with the Contacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequest) GetPhone ¶
func (o *SendContactRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendContactRequest) GetPhoneOk ¶
func (o *SendContactRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequest) HasContacts ¶
func (o *SendContactRequest) HasContacts() bool
HasContacts returns a boolean if a field has been set.
func (*SendContactRequest) HasPhone ¶
func (o *SendContactRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (SendContactRequest) MarshalJSON ¶
func (o SendContactRequest) MarshalJSON() ([]byte, error)
func (*SendContactRequest) SetContacts ¶
func (o *SendContactRequest) SetContacts(v []SendContactRequestContactsInner)
SetContacts gets a reference to the given []SendContactRequestContactsInner and assigns it to the Contacts field.
func (*SendContactRequest) SetPhone ¶
func (o *SendContactRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (SendContactRequest) ToMap ¶
func (o SendContactRequest) ToMap() (map[string]interface{}, error)
type SendContactRequestContactsInner ¶
type SendContactRequestContactsInner struct {
Name *SendContactRequestContactsInnerName `json:"name,omitempty"`
Birthday *string `json:"birthday,omitempty"`
Addresses []interface{} `json:"addresses,omitempty"`
Emails []interface{} `json:"emails,omitempty"`
Org *SendContactRequestContactsInnerOrg `json:"org,omitempty"`
Phones []SendContactRequestContactsInnerPhonesInner `json:"phones,omitempty"`
Urls []interface{} `json:"urls,omitempty"`
}
SendContactRequestContactsInner struct for SendContactRequestContactsInner
func NewSendContactRequestContactsInner ¶
func NewSendContactRequestContactsInner() *SendContactRequestContactsInner
NewSendContactRequestContactsInner instantiates a new SendContactRequestContactsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendContactRequestContactsInnerWithDefaults ¶
func NewSendContactRequestContactsInnerWithDefaults() *SendContactRequestContactsInner
NewSendContactRequestContactsInnerWithDefaults instantiates a new SendContactRequestContactsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendContactRequestContactsInner) GetAddresses ¶
func (o *SendContactRequestContactsInner) GetAddresses() []interface{}
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetAddressesOk ¶
func (o *SendContactRequestContactsInner) GetAddressesOk() ([]interface{}, bool)
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetBirthday ¶
func (o *SendContactRequestContactsInner) GetBirthday() string
GetBirthday returns the Birthday field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetBirthdayOk ¶
func (o *SendContactRequestContactsInner) GetBirthdayOk() (*string, bool)
GetBirthdayOk returns a tuple with the Birthday field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetEmails ¶
func (o *SendContactRequestContactsInner) GetEmails() []interface{}
GetEmails returns the Emails field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetEmailsOk ¶
func (o *SendContactRequestContactsInner) GetEmailsOk() ([]interface{}, bool)
GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetName ¶
func (o *SendContactRequestContactsInner) GetName() SendContactRequestContactsInnerName
GetName returns the Name field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetNameOk ¶
func (o *SendContactRequestContactsInner) GetNameOk() (*SendContactRequestContactsInnerName, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetOrg ¶
func (o *SendContactRequestContactsInner) GetOrg() SendContactRequestContactsInnerOrg
GetOrg returns the Org field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetOrgOk ¶
func (o *SendContactRequestContactsInner) GetOrgOk() (*SendContactRequestContactsInnerOrg, bool)
GetOrgOk returns a tuple with the Org field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetPhones ¶
func (o *SendContactRequestContactsInner) GetPhones() []SendContactRequestContactsInnerPhonesInner
GetPhones returns the Phones field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetPhonesOk ¶
func (o *SendContactRequestContactsInner) GetPhonesOk() ([]SendContactRequestContactsInnerPhonesInner, bool)
GetPhonesOk returns a tuple with the Phones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) GetUrls ¶
func (o *SendContactRequestContactsInner) GetUrls() []interface{}
GetUrls returns the Urls field value if set, zero value otherwise.
func (*SendContactRequestContactsInner) GetUrlsOk ¶
func (o *SendContactRequestContactsInner) GetUrlsOk() ([]interface{}, bool)
GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInner) HasAddresses ¶
func (o *SendContactRequestContactsInner) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasBirthday ¶
func (o *SendContactRequestContactsInner) HasBirthday() bool
HasBirthday returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasEmails ¶
func (o *SendContactRequestContactsInner) HasEmails() bool
HasEmails returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasName ¶
func (o *SendContactRequestContactsInner) HasName() bool
HasName returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasOrg ¶
func (o *SendContactRequestContactsInner) HasOrg() bool
HasOrg returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasPhones ¶
func (o *SendContactRequestContactsInner) HasPhones() bool
HasPhones returns a boolean if a field has been set.
func (*SendContactRequestContactsInner) HasUrls ¶
func (o *SendContactRequestContactsInner) HasUrls() bool
HasUrls returns a boolean if a field has been set.
func (SendContactRequestContactsInner) MarshalJSON ¶
func (o SendContactRequestContactsInner) MarshalJSON() ([]byte, error)
func (*SendContactRequestContactsInner) SetAddresses ¶
func (o *SendContactRequestContactsInner) SetAddresses(v []interface{})
SetAddresses gets a reference to the given []interface{} and assigns it to the Addresses field.
func (*SendContactRequestContactsInner) SetBirthday ¶
func (o *SendContactRequestContactsInner) SetBirthday(v string)
SetBirthday gets a reference to the given string and assigns it to the Birthday field.
func (*SendContactRequestContactsInner) SetEmails ¶
func (o *SendContactRequestContactsInner) SetEmails(v []interface{})
SetEmails gets a reference to the given []interface{} and assigns it to the Emails field.
func (*SendContactRequestContactsInner) SetName ¶
func (o *SendContactRequestContactsInner) SetName(v SendContactRequestContactsInnerName)
SetName gets a reference to the given SendContactRequestContactsInnerName and assigns it to the Name field.
func (*SendContactRequestContactsInner) SetOrg ¶
func (o *SendContactRequestContactsInner) SetOrg(v SendContactRequestContactsInnerOrg)
SetOrg gets a reference to the given SendContactRequestContactsInnerOrg and assigns it to the Org field.
func (*SendContactRequestContactsInner) SetPhones ¶
func (o *SendContactRequestContactsInner) SetPhones(v []SendContactRequestContactsInnerPhonesInner)
SetPhones gets a reference to the given []SendContactRequestContactsInnerPhonesInner and assigns it to the Phones field.
func (*SendContactRequestContactsInner) SetUrls ¶
func (o *SendContactRequestContactsInner) SetUrls(v []interface{})
SetUrls gets a reference to the given []interface{} and assigns it to the Urls field.
func (SendContactRequestContactsInner) ToMap ¶
func (o SendContactRequestContactsInner) ToMap() (map[string]interface{}, error)
type SendContactRequestContactsInnerName ¶
type SendContactRequestContactsInnerName struct {
FormattedName *string `json:"formatted_name,omitempty"`
FirstName *string `json:"first_name,omitempty"`
LastName *string `json:"last_name,omitempty"`
MiddleName *string `json:"middle_name,omitempty"`
Suffix *string `json:"suffix,omitempty"`
Prefix *string `json:"prefix,omitempty"`
}
SendContactRequestContactsInnerName struct for SendContactRequestContactsInnerName
func NewSendContactRequestContactsInnerName ¶
func NewSendContactRequestContactsInnerName() *SendContactRequestContactsInnerName
NewSendContactRequestContactsInnerName instantiates a new SendContactRequestContactsInnerName object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendContactRequestContactsInnerNameWithDefaults ¶
func NewSendContactRequestContactsInnerNameWithDefaults() *SendContactRequestContactsInnerName
NewSendContactRequestContactsInnerNameWithDefaults instantiates a new SendContactRequestContactsInnerName object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendContactRequestContactsInnerName) GetFirstName ¶
func (o *SendContactRequestContactsInnerName) GetFirstName() string
GetFirstName returns the FirstName field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetFirstNameOk ¶
func (o *SendContactRequestContactsInnerName) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) GetFormattedName ¶
func (o *SendContactRequestContactsInnerName) GetFormattedName() string
GetFormattedName returns the FormattedName field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetFormattedNameOk ¶
func (o *SendContactRequestContactsInnerName) GetFormattedNameOk() (*string, bool)
GetFormattedNameOk returns a tuple with the FormattedName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) GetLastName ¶
func (o *SendContactRequestContactsInnerName) GetLastName() string
GetLastName returns the LastName field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetLastNameOk ¶
func (o *SendContactRequestContactsInnerName) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) GetMiddleName ¶
func (o *SendContactRequestContactsInnerName) GetMiddleName() string
GetMiddleName returns the MiddleName field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetMiddleNameOk ¶
func (o *SendContactRequestContactsInnerName) GetMiddleNameOk() (*string, bool)
GetMiddleNameOk returns a tuple with the MiddleName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) GetPrefix ¶
func (o *SendContactRequestContactsInnerName) GetPrefix() string
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetPrefixOk ¶
func (o *SendContactRequestContactsInnerName) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) GetSuffix ¶
func (o *SendContactRequestContactsInnerName) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerName) GetSuffixOk ¶
func (o *SendContactRequestContactsInnerName) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerName) HasFirstName ¶
func (o *SendContactRequestContactsInnerName) HasFirstName() bool
HasFirstName returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerName) HasFormattedName ¶
func (o *SendContactRequestContactsInnerName) HasFormattedName() bool
HasFormattedName returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerName) HasLastName ¶
func (o *SendContactRequestContactsInnerName) HasLastName() bool
HasLastName returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerName) HasMiddleName ¶
func (o *SendContactRequestContactsInnerName) HasMiddleName() bool
HasMiddleName returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerName) HasPrefix ¶
func (o *SendContactRequestContactsInnerName) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerName) HasSuffix ¶
func (o *SendContactRequestContactsInnerName) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (SendContactRequestContactsInnerName) MarshalJSON ¶
func (o SendContactRequestContactsInnerName) MarshalJSON() ([]byte, error)
func (*SendContactRequestContactsInnerName) SetFirstName ¶
func (o *SendContactRequestContactsInnerName) SetFirstName(v string)
SetFirstName gets a reference to the given string and assigns it to the FirstName field.
func (*SendContactRequestContactsInnerName) SetFormattedName ¶
func (o *SendContactRequestContactsInnerName) SetFormattedName(v string)
SetFormattedName gets a reference to the given string and assigns it to the FormattedName field.
func (*SendContactRequestContactsInnerName) SetLastName ¶
func (o *SendContactRequestContactsInnerName) SetLastName(v string)
SetLastName gets a reference to the given string and assigns it to the LastName field.
func (*SendContactRequestContactsInnerName) SetMiddleName ¶
func (o *SendContactRequestContactsInnerName) SetMiddleName(v string)
SetMiddleName gets a reference to the given string and assigns it to the MiddleName field.
func (*SendContactRequestContactsInnerName) SetPrefix ¶
func (o *SendContactRequestContactsInnerName) SetPrefix(v string)
SetPrefix gets a reference to the given string and assigns it to the Prefix field.
func (*SendContactRequestContactsInnerName) SetSuffix ¶
func (o *SendContactRequestContactsInnerName) SetSuffix(v string)
SetSuffix gets a reference to the given string and assigns it to the Suffix field.
func (SendContactRequestContactsInnerName) ToMap ¶
func (o SendContactRequestContactsInnerName) ToMap() (map[string]interface{}, error)
type SendContactRequestContactsInnerOrg ¶
type SendContactRequestContactsInnerOrg struct {
Company *string `json:"company,omitempty"`
Department *string `json:"department,omitempty"`
Title *string `json:"title,omitempty"`
}
SendContactRequestContactsInnerOrg struct for SendContactRequestContactsInnerOrg
func NewSendContactRequestContactsInnerOrg ¶
func NewSendContactRequestContactsInnerOrg() *SendContactRequestContactsInnerOrg
NewSendContactRequestContactsInnerOrg instantiates a new SendContactRequestContactsInnerOrg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendContactRequestContactsInnerOrgWithDefaults ¶
func NewSendContactRequestContactsInnerOrgWithDefaults() *SendContactRequestContactsInnerOrg
NewSendContactRequestContactsInnerOrgWithDefaults instantiates a new SendContactRequestContactsInnerOrg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendContactRequestContactsInnerOrg) GetCompany ¶
func (o *SendContactRequestContactsInnerOrg) GetCompany() string
GetCompany returns the Company field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerOrg) GetCompanyOk ¶
func (o *SendContactRequestContactsInnerOrg) GetCompanyOk() (*string, bool)
GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerOrg) GetDepartment ¶
func (o *SendContactRequestContactsInnerOrg) GetDepartment() string
GetDepartment returns the Department field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerOrg) GetDepartmentOk ¶
func (o *SendContactRequestContactsInnerOrg) GetDepartmentOk() (*string, bool)
GetDepartmentOk returns a tuple with the Department field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerOrg) GetTitle ¶
func (o *SendContactRequestContactsInnerOrg) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerOrg) GetTitleOk ¶
func (o *SendContactRequestContactsInnerOrg) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerOrg) HasCompany ¶
func (o *SendContactRequestContactsInnerOrg) HasCompany() bool
HasCompany returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerOrg) HasDepartment ¶
func (o *SendContactRequestContactsInnerOrg) HasDepartment() bool
HasDepartment returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerOrg) HasTitle ¶
func (o *SendContactRequestContactsInnerOrg) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (SendContactRequestContactsInnerOrg) MarshalJSON ¶
func (o SendContactRequestContactsInnerOrg) MarshalJSON() ([]byte, error)
func (*SendContactRequestContactsInnerOrg) SetCompany ¶
func (o *SendContactRequestContactsInnerOrg) SetCompany(v string)
SetCompany gets a reference to the given string and assigns it to the Company field.
func (*SendContactRequestContactsInnerOrg) SetDepartment ¶
func (o *SendContactRequestContactsInnerOrg) SetDepartment(v string)
SetDepartment gets a reference to the given string and assigns it to the Department field.
func (*SendContactRequestContactsInnerOrg) SetTitle ¶
func (o *SendContactRequestContactsInnerOrg) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (SendContactRequestContactsInnerOrg) ToMap ¶
func (o SendContactRequestContactsInnerOrg) ToMap() (map[string]interface{}, error)
type SendContactRequestContactsInnerPhonesInner ¶
type SendContactRequestContactsInnerPhonesInner struct {
Phone *string `json:"phone,omitempty"`
Type *string `json:"type,omitempty"`
WaId *string `json:"wa_id,omitempty"`
}
SendContactRequestContactsInnerPhonesInner struct for SendContactRequestContactsInnerPhonesInner
func NewSendContactRequestContactsInnerPhonesInner ¶
func NewSendContactRequestContactsInnerPhonesInner() *SendContactRequestContactsInnerPhonesInner
NewSendContactRequestContactsInnerPhonesInner instantiates a new SendContactRequestContactsInnerPhonesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendContactRequestContactsInnerPhonesInnerWithDefaults ¶
func NewSendContactRequestContactsInnerPhonesInnerWithDefaults() *SendContactRequestContactsInnerPhonesInner
NewSendContactRequestContactsInnerPhonesInnerWithDefaults instantiates a new SendContactRequestContactsInnerPhonesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendContactRequestContactsInnerPhonesInner) GetPhone ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerPhonesInner) GetPhoneOk ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerPhonesInner) GetType ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerPhonesInner) GetTypeOk ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerPhonesInner) GetWaId ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetWaId() string
GetWaId returns the WaId field value if set, zero value otherwise.
func (*SendContactRequestContactsInnerPhonesInner) GetWaIdOk ¶
func (o *SendContactRequestContactsInnerPhonesInner) GetWaIdOk() (*string, bool)
GetWaIdOk returns a tuple with the WaId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendContactRequestContactsInnerPhonesInner) HasPhone ¶
func (o *SendContactRequestContactsInnerPhonesInner) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerPhonesInner) HasType ¶
func (o *SendContactRequestContactsInnerPhonesInner) HasType() bool
HasType returns a boolean if a field has been set.
func (*SendContactRequestContactsInnerPhonesInner) HasWaId ¶
func (o *SendContactRequestContactsInnerPhonesInner) HasWaId() bool
HasWaId returns a boolean if a field has been set.
func (SendContactRequestContactsInnerPhonesInner) MarshalJSON ¶
func (o SendContactRequestContactsInnerPhonesInner) MarshalJSON() ([]byte, error)
func (*SendContactRequestContactsInnerPhonesInner) SetPhone ¶
func (o *SendContactRequestContactsInnerPhonesInner) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*SendContactRequestContactsInnerPhonesInner) SetType ¶
func (o *SendContactRequestContactsInnerPhonesInner) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SendContactRequestContactsInnerPhonesInner) SetWaId ¶
func (o *SendContactRequestContactsInnerPhonesInner) SetWaId(v string)
SetWaId gets a reference to the given string and assigns it to the WaId field.
func (SendContactRequestContactsInnerPhonesInner) ToMap ¶
func (o SendContactRequestContactsInnerPhonesInner) ToMap() (map[string]interface{}, error)
type SendCtaUrlRequest ¶
type SendCtaUrlRequest struct {
Phone *int32 `json:"phone,omitempty"`
ChatId *string `json:"chatId,omitempty"`
Body string `json:"body"`
// Button label
DisplayText string `json:"displayText"`
Url string `json:"url"`
Header map[string]interface{} `json:"header,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
AdditionalProperties map[string]interface{}
}
SendCtaUrlRequest struct for SendCtaUrlRequest
func NewSendCtaUrlRequest ¶
func NewSendCtaUrlRequest(body string, displayText string, url string) *SendCtaUrlRequest
NewSendCtaUrlRequest instantiates a new SendCtaUrlRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendCtaUrlRequestWithDefaults ¶
func NewSendCtaUrlRequestWithDefaults() *SendCtaUrlRequest
NewSendCtaUrlRequestWithDefaults instantiates a new SendCtaUrlRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendCtaUrlRequest) GetBody ¶
func (o *SendCtaUrlRequest) GetBody() string
GetBody returns the Body field value
func (*SendCtaUrlRequest) GetBodyOk ¶
func (o *SendCtaUrlRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetChatId ¶
func (o *SendCtaUrlRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendCtaUrlRequest) GetChatIdOk ¶
func (o *SendCtaUrlRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetDisplayText ¶
func (o *SendCtaUrlRequest) GetDisplayText() string
GetDisplayText returns the DisplayText field value
func (*SendCtaUrlRequest) GetDisplayTextOk ¶
func (o *SendCtaUrlRequest) GetDisplayTextOk() (*string, bool)
GetDisplayTextOk returns a tuple with the DisplayText field value and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetFooter ¶
func (o *SendCtaUrlRequest) GetFooter() string
GetFooter returns the Footer field value if set, zero value otherwise.
func (*SendCtaUrlRequest) GetFooterOk ¶
func (o *SendCtaUrlRequest) GetFooterOk() (*string, bool)
GetFooterOk returns a tuple with the Footer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetHeader ¶
func (o *SendCtaUrlRequest) GetHeader() map[string]interface{}
GetHeader returns the Header field value if set, zero value otherwise.
func (*SendCtaUrlRequest) GetHeaderOk ¶
func (o *SendCtaUrlRequest) GetHeaderOk() (map[string]interface{}, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetPhone ¶
func (o *SendCtaUrlRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendCtaUrlRequest) GetPhoneOk ¶
func (o *SendCtaUrlRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetQuotedMsgId ¶
func (o *SendCtaUrlRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendCtaUrlRequest) GetQuotedMsgIdOk ¶
func (o *SendCtaUrlRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) GetUrl ¶
func (o *SendCtaUrlRequest) GetUrl() string
GetUrl returns the Url field value
func (*SendCtaUrlRequest) GetUrlOk ¶
func (o *SendCtaUrlRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*SendCtaUrlRequest) HasChatId ¶
func (o *SendCtaUrlRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendCtaUrlRequest) HasFooter ¶
func (o *SendCtaUrlRequest) HasFooter() bool
HasFooter returns a boolean if a field has been set.
func (*SendCtaUrlRequest) HasHeader ¶
func (o *SendCtaUrlRequest) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*SendCtaUrlRequest) HasPhone ¶
func (o *SendCtaUrlRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendCtaUrlRequest) HasQuotedMsgId ¶
func (o *SendCtaUrlRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendCtaUrlRequest) MarshalJSON ¶
func (o SendCtaUrlRequest) MarshalJSON() ([]byte, error)
func (*SendCtaUrlRequest) SetBody ¶
func (o *SendCtaUrlRequest) SetBody(v string)
SetBody sets field value
func (*SendCtaUrlRequest) SetChatId ¶
func (o *SendCtaUrlRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendCtaUrlRequest) SetDisplayText ¶
func (o *SendCtaUrlRequest) SetDisplayText(v string)
SetDisplayText sets field value
func (*SendCtaUrlRequest) SetFooter ¶
func (o *SendCtaUrlRequest) SetFooter(v string)
SetFooter gets a reference to the given string and assigns it to the Footer field.
func (*SendCtaUrlRequest) SetHeader ¶
func (o *SendCtaUrlRequest) SetHeader(v map[string]interface{})
SetHeader gets a reference to the given map[string]interface{} and assigns it to the Header field.
func (*SendCtaUrlRequest) SetPhone ¶
func (o *SendCtaUrlRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendCtaUrlRequest) SetQuotedMsgId ¶
func (o *SendCtaUrlRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (*SendCtaUrlRequest) SetUrl ¶
func (o *SendCtaUrlRequest) SetUrl(v string)
SetUrl sets field value
func (SendCtaUrlRequest) ToMap ¶
func (o SendCtaUrlRequest) ToMap() (map[string]interface{}, error)
func (*SendCtaUrlRequest) UnmarshalJSON ¶
func (o *SendCtaUrlRequest) UnmarshalJSON(data []byte) (err error)
type SendFileRequest ¶
type SendFileRequest struct {
// File source (required unless mediaId is set): - HTTP/HTTPS URL - Base64 data URI
Body *string `json:"body,omitempty"`
// File name with extension (required with body, not with mediaId)
Filename *string `json:"filename,omitempty"`
// WABA media id from uploadMedia (alternative to body)
MediaId *string `json:"mediaId,omitempty"`
// Required when using mediaId
MediaType *string `json:"mediaType,omitempty"`
// Native WhatsApp voice note (audio/ogg only)
Voice *bool `json:"voice,omitempty"`
Caption *string `json:"caption,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
ChatId *string `json:"chatId,omitempty"`
Phone *int32 `json:"phone,omitempty"`
AdditionalProperties map[string]interface{}
}
SendFileRequest Send file by URL/base64 or by mediaId
func NewSendFileRequest ¶
func NewSendFileRequest() *SendFileRequest
NewSendFileRequest instantiates a new SendFileRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendFileRequestWithDefaults ¶
func NewSendFileRequestWithDefaults() *SendFileRequest
NewSendFileRequestWithDefaults instantiates a new SendFileRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendFileRequest) GetBody ¶
func (o *SendFileRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendFileRequest) GetBodyOk ¶
func (o *SendFileRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetCaption ¶
func (o *SendFileRequest) GetCaption() string
GetCaption returns the Caption field value if set, zero value otherwise.
func (*SendFileRequest) GetCaptionOk ¶
func (o *SendFileRequest) GetCaptionOk() (*string, bool)
GetCaptionOk returns a tuple with the Caption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetChatId ¶
func (o *SendFileRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendFileRequest) GetChatIdOk ¶
func (o *SendFileRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetFilename ¶
func (o *SendFileRequest) GetFilename() string
GetFilename returns the Filename field value if set, zero value otherwise.
func (*SendFileRequest) GetFilenameOk ¶
func (o *SendFileRequest) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetMediaId ¶
func (o *SendFileRequest) GetMediaId() string
GetMediaId returns the MediaId field value if set, zero value otherwise.
func (*SendFileRequest) GetMediaIdOk ¶
func (o *SendFileRequest) GetMediaIdOk() (*string, bool)
GetMediaIdOk returns a tuple with the MediaId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetMediaType ¶
func (o *SendFileRequest) GetMediaType() string
GetMediaType returns the MediaType field value if set, zero value otherwise.
func (*SendFileRequest) GetMediaTypeOk ¶
func (o *SendFileRequest) GetMediaTypeOk() (*string, bool)
GetMediaTypeOk returns a tuple with the MediaType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetPhone ¶
func (o *SendFileRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendFileRequest) GetPhoneOk ¶
func (o *SendFileRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetQuotedMsgId ¶
func (o *SendFileRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendFileRequest) GetQuotedMsgIdOk ¶
func (o *SendFileRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) GetVoice ¶
func (o *SendFileRequest) GetVoice() bool
GetVoice returns the Voice field value if set, zero value otherwise.
func (*SendFileRequest) GetVoiceOk ¶
func (o *SendFileRequest) GetVoiceOk() (*bool, bool)
GetVoiceOk returns a tuple with the Voice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFileRequest) HasBody ¶
func (o *SendFileRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendFileRequest) HasCaption ¶
func (o *SendFileRequest) HasCaption() bool
HasCaption returns a boolean if a field has been set.
func (*SendFileRequest) HasChatId ¶
func (o *SendFileRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendFileRequest) HasFilename ¶
func (o *SendFileRequest) HasFilename() bool
HasFilename returns a boolean if a field has been set.
func (*SendFileRequest) HasMediaId ¶
func (o *SendFileRequest) HasMediaId() bool
HasMediaId returns a boolean if a field has been set.
func (*SendFileRequest) HasMediaType ¶
func (o *SendFileRequest) HasMediaType() bool
HasMediaType returns a boolean if a field has been set.
func (*SendFileRequest) HasPhone ¶
func (o *SendFileRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendFileRequest) HasQuotedMsgId ¶
func (o *SendFileRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (*SendFileRequest) HasVoice ¶
func (o *SendFileRequest) HasVoice() bool
HasVoice returns a boolean if a field has been set.
func (SendFileRequest) MarshalJSON ¶
func (o SendFileRequest) MarshalJSON() ([]byte, error)
func (*SendFileRequest) SetBody ¶
func (o *SendFileRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendFileRequest) SetCaption ¶
func (o *SendFileRequest) SetCaption(v string)
SetCaption gets a reference to the given string and assigns it to the Caption field.
func (*SendFileRequest) SetChatId ¶
func (o *SendFileRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendFileRequest) SetFilename ¶
func (o *SendFileRequest) SetFilename(v string)
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*SendFileRequest) SetMediaId ¶
func (o *SendFileRequest) SetMediaId(v string)
SetMediaId gets a reference to the given string and assigns it to the MediaId field.
func (*SendFileRequest) SetMediaType ¶
func (o *SendFileRequest) SetMediaType(v string)
SetMediaType gets a reference to the given string and assigns it to the MediaType field.
func (*SendFileRequest) SetPhone ¶
func (o *SendFileRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendFileRequest) SetQuotedMsgId ¶
func (o *SendFileRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (*SendFileRequest) SetVoice ¶
func (o *SendFileRequest) SetVoice(v bool)
SetVoice gets a reference to the given bool and assigns it to the Voice field.
func (SendFileRequest) ToMap ¶
func (o SendFileRequest) ToMap() (map[string]interface{}, error)
func (*SendFileRequest) UnmarshalJSON ¶
func (o *SendFileRequest) UnmarshalJSON(data []byte) (err error)
type SendFlowRequest1 ¶
type SendFlowRequest1 struct {
Body string `json:"body"`
Header *SendFlowRequest1Header `json:"header,omitempty"`
FlowId string `json:"flowId"`
FlowToken string `json:"flowToken"`
FlowCta string `json:"flowCta"`
FlowAction *string `json:"flowAction,omitempty"`
FlowActionPayload map[string]interface{} `json:"flowActionPayload,omitempty"`
FlowMessageVersion *string `json:"flowMessageVersion,omitempty"`
Mode *string `json:"mode,omitempty"`
FlowActionData map[string]interface{} `json:"flowActionData,omitempty"`
FlowActionScreen *string `json:"flowActionScreen,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
ChatId *string `json:"chatId,omitempty"`
Phone *int32 `json:"phone,omitempty"`
}
SendFlowRequest1 struct for SendFlowRequest1
func NewSendFlowRequest1 ¶
func NewSendFlowRequest1(body string, flowId string, flowToken string, flowCta string) *SendFlowRequest1
NewSendFlowRequest1 instantiates a new SendFlowRequest1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendFlowRequest1WithDefaults ¶
func NewSendFlowRequest1WithDefaults() *SendFlowRequest1
NewSendFlowRequest1WithDefaults instantiates a new SendFlowRequest1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendFlowRequest1) GetBody ¶
func (o *SendFlowRequest1) GetBody() string
GetBody returns the Body field value
func (*SendFlowRequest1) GetBodyOk ¶
func (o *SendFlowRequest1) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetChatId ¶
func (o *SendFlowRequest1) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendFlowRequest1) GetChatIdOk ¶
func (o *SendFlowRequest1) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowAction ¶
func (o *SendFlowRequest1) GetFlowAction() string
GetFlowAction returns the FlowAction field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFlowActionData ¶
func (o *SendFlowRequest1) GetFlowActionData() map[string]interface{}
GetFlowActionData returns the FlowActionData field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFlowActionDataOk ¶
func (o *SendFlowRequest1) GetFlowActionDataOk() (map[string]interface{}, bool)
GetFlowActionDataOk returns a tuple with the FlowActionData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowActionOk ¶
func (o *SendFlowRequest1) GetFlowActionOk() (*string, bool)
GetFlowActionOk returns a tuple with the FlowAction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowActionPayload ¶
func (o *SendFlowRequest1) GetFlowActionPayload() map[string]interface{}
GetFlowActionPayload returns the FlowActionPayload field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFlowActionPayloadOk ¶
func (o *SendFlowRequest1) GetFlowActionPayloadOk() (map[string]interface{}, bool)
GetFlowActionPayloadOk returns a tuple with the FlowActionPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowActionScreen ¶
func (o *SendFlowRequest1) GetFlowActionScreen() string
GetFlowActionScreen returns the FlowActionScreen field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFlowActionScreenOk ¶
func (o *SendFlowRequest1) GetFlowActionScreenOk() (*string, bool)
GetFlowActionScreenOk returns a tuple with the FlowActionScreen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowCta ¶
func (o *SendFlowRequest1) GetFlowCta() string
GetFlowCta returns the FlowCta field value
func (*SendFlowRequest1) GetFlowCtaOk ¶
func (o *SendFlowRequest1) GetFlowCtaOk() (*string, bool)
GetFlowCtaOk returns a tuple with the FlowCta field value and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowId ¶
func (o *SendFlowRequest1) GetFlowId() string
GetFlowId returns the FlowId field value
func (*SendFlowRequest1) GetFlowIdOk ¶
func (o *SendFlowRequest1) GetFlowIdOk() (*string, bool)
GetFlowIdOk returns a tuple with the FlowId field value and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowMessageVersion ¶
func (o *SendFlowRequest1) GetFlowMessageVersion() string
GetFlowMessageVersion returns the FlowMessageVersion field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFlowMessageVersionOk ¶
func (o *SendFlowRequest1) GetFlowMessageVersionOk() (*string, bool)
GetFlowMessageVersionOk returns a tuple with the FlowMessageVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFlowToken ¶
func (o *SendFlowRequest1) GetFlowToken() string
GetFlowToken returns the FlowToken field value
func (*SendFlowRequest1) GetFlowTokenOk ¶
func (o *SendFlowRequest1) GetFlowTokenOk() (*string, bool)
GetFlowTokenOk returns a tuple with the FlowToken field value and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetFooter ¶
func (o *SendFlowRequest1) GetFooter() string
GetFooter returns the Footer field value if set, zero value otherwise.
func (*SendFlowRequest1) GetFooterOk ¶
func (o *SendFlowRequest1) GetFooterOk() (*string, bool)
GetFooterOk returns a tuple with the Footer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetHeader ¶
func (o *SendFlowRequest1) GetHeader() SendFlowRequest1Header
GetHeader returns the Header field value if set, zero value otherwise.
func (*SendFlowRequest1) GetHeaderOk ¶
func (o *SendFlowRequest1) GetHeaderOk() (*SendFlowRequest1Header, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetMode ¶
func (o *SendFlowRequest1) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*SendFlowRequest1) GetModeOk ¶
func (o *SendFlowRequest1) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetPhone ¶
func (o *SendFlowRequest1) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendFlowRequest1) GetPhoneOk ¶
func (o *SendFlowRequest1) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) GetQuotedMsgId ¶
func (o *SendFlowRequest1) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendFlowRequest1) GetQuotedMsgIdOk ¶
func (o *SendFlowRequest1) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendFlowRequest1) HasChatId ¶
func (o *SendFlowRequest1) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFlowAction ¶
func (o *SendFlowRequest1) HasFlowAction() bool
HasFlowAction returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFlowActionData ¶
func (o *SendFlowRequest1) HasFlowActionData() bool
HasFlowActionData returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFlowActionPayload ¶
func (o *SendFlowRequest1) HasFlowActionPayload() bool
HasFlowActionPayload returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFlowActionScreen ¶
func (o *SendFlowRequest1) HasFlowActionScreen() bool
HasFlowActionScreen returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFlowMessageVersion ¶
func (o *SendFlowRequest1) HasFlowMessageVersion() bool
HasFlowMessageVersion returns a boolean if a field has been set.
func (*SendFlowRequest1) HasFooter ¶
func (o *SendFlowRequest1) HasFooter() bool
HasFooter returns a boolean if a field has been set.
func (*SendFlowRequest1) HasHeader ¶
func (o *SendFlowRequest1) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*SendFlowRequest1) HasMode ¶
func (o *SendFlowRequest1) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*SendFlowRequest1) HasPhone ¶
func (o *SendFlowRequest1) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendFlowRequest1) HasQuotedMsgId ¶
func (o *SendFlowRequest1) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendFlowRequest1) MarshalJSON ¶
func (o SendFlowRequest1) MarshalJSON() ([]byte, error)
func (*SendFlowRequest1) SetBody ¶
func (o *SendFlowRequest1) SetBody(v string)
SetBody sets field value
func (*SendFlowRequest1) SetChatId ¶
func (o *SendFlowRequest1) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendFlowRequest1) SetFlowAction ¶
func (o *SendFlowRequest1) SetFlowAction(v string)
SetFlowAction gets a reference to the given string and assigns it to the FlowAction field.
func (*SendFlowRequest1) SetFlowActionData ¶
func (o *SendFlowRequest1) SetFlowActionData(v map[string]interface{})
SetFlowActionData gets a reference to the given map[string]interface{} and assigns it to the FlowActionData field.
func (*SendFlowRequest1) SetFlowActionPayload ¶
func (o *SendFlowRequest1) SetFlowActionPayload(v map[string]interface{})
SetFlowActionPayload gets a reference to the given map[string]interface{} and assigns it to the FlowActionPayload field.
func (*SendFlowRequest1) SetFlowActionScreen ¶
func (o *SendFlowRequest1) SetFlowActionScreen(v string)
SetFlowActionScreen gets a reference to the given string and assigns it to the FlowActionScreen field.
func (*SendFlowRequest1) SetFlowCta ¶
func (o *SendFlowRequest1) SetFlowCta(v string)
SetFlowCta sets field value
func (*SendFlowRequest1) SetFlowId ¶
func (o *SendFlowRequest1) SetFlowId(v string)
SetFlowId sets field value
func (*SendFlowRequest1) SetFlowMessageVersion ¶
func (o *SendFlowRequest1) SetFlowMessageVersion(v string)
SetFlowMessageVersion gets a reference to the given string and assigns it to the FlowMessageVersion field.
func (*SendFlowRequest1) SetFlowToken ¶
func (o *SendFlowRequest1) SetFlowToken(v string)
SetFlowToken sets field value
func (*SendFlowRequest1) SetFooter ¶
func (o *SendFlowRequest1) SetFooter(v string)
SetFooter gets a reference to the given string and assigns it to the Footer field.
func (*SendFlowRequest1) SetHeader ¶
func (o *SendFlowRequest1) SetHeader(v SendFlowRequest1Header)
SetHeader gets a reference to the given SendFlowRequest1Header and assigns it to the Header field.
func (*SendFlowRequest1) SetMode ¶
func (o *SendFlowRequest1) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*SendFlowRequest1) SetPhone ¶
func (o *SendFlowRequest1) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendFlowRequest1) SetQuotedMsgId ¶
func (o *SendFlowRequest1) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendFlowRequest1) ToMap ¶
func (o SendFlowRequest1) ToMap() (map[string]interface{}, error)
func (*SendFlowRequest1) UnmarshalJSON ¶
func (o *SendFlowRequest1) UnmarshalJSON(data []byte) (err error)
type SendFlowRequest1Header ¶
SendFlowRequest1Header - struct for SendFlowRequest1Header
func MapmapOfStringAnyAsSendFlowRequest1Header ¶
func MapmapOfStringAnyAsSendFlowRequest1Header(v *map[string]interface{}) SendFlowRequest1Header
map[string]interface{}AsSendFlowRequest1Header is a convenience function that returns map[string]interface{} wrapped in SendFlowRequest1Header
func StringAsSendFlowRequest1Header ¶
func StringAsSendFlowRequest1Header(v *string) SendFlowRequest1Header
stringAsSendFlowRequest1Header is a convenience function that returns string wrapped in SendFlowRequest1Header
func (*SendFlowRequest1Header) GetActualInstance ¶
func (obj *SendFlowRequest1Header) GetActualInstance() interface{}
Get the actual instance
func (SendFlowRequest1Header) GetActualInstanceValue ¶
func (obj SendFlowRequest1Header) GetActualInstanceValue() interface{}
Get the actual instance value
func (SendFlowRequest1Header) MarshalJSON ¶
func (src SendFlowRequest1Header) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SendFlowRequest1Header) UnmarshalJSON ¶
func (dst *SendFlowRequest1Header) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SendFlowRequestHeader ¶
SendFlowRequestHeader - Flow header (string or text header object)
func MapmapOfStringAnyAsSendFlowRequestHeader ¶
func MapmapOfStringAnyAsSendFlowRequestHeader(v *map[string]interface{}) SendFlowRequestHeader
map[string]interface{}AsSendFlowRequestHeader is a convenience function that returns map[string]interface{} wrapped in SendFlowRequestHeader
func StringAsSendFlowRequestHeader ¶
func StringAsSendFlowRequestHeader(v *string) SendFlowRequestHeader
stringAsSendFlowRequestHeader is a convenience function that returns string wrapped in SendFlowRequestHeader
func (*SendFlowRequestHeader) GetActualInstance ¶
func (obj *SendFlowRequestHeader) GetActualInstance() interface{}
Get the actual instance
func (SendFlowRequestHeader) GetActualInstanceValue ¶
func (obj SendFlowRequestHeader) GetActualInstanceValue() interface{}
Get the actual instance value
func (SendFlowRequestHeader) MarshalJSON ¶
func (src SendFlowRequestHeader) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SendFlowRequestHeader) UnmarshalJSON ¶
func (dst *SendFlowRequestHeader) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SendListRequest ¶
type SendListRequest struct {
Phone *string `json:"phone,omitempty"`
Body *string `json:"body,omitempty"`
ButtonText *string `json:"buttonText,omitempty"`
Action *string `json:"action,omitempty"`
Sections []SendListRequestSectionsInner `json:"sections,omitempty"`
}
SendListRequest struct for SendListRequest
func NewSendListRequest ¶
func NewSendListRequest() *SendListRequest
NewSendListRequest instantiates a new SendListRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendListRequestWithDefaults ¶
func NewSendListRequestWithDefaults() *SendListRequest
NewSendListRequestWithDefaults instantiates a new SendListRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendListRequest) GetAction ¶
func (o *SendListRequest) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*SendListRequest) GetActionOk ¶
func (o *SendListRequest) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequest) GetBody ¶
func (o *SendListRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendListRequest) GetBodyOk ¶
func (o *SendListRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequest) GetButtonText ¶
func (o *SendListRequest) GetButtonText() string
GetButtonText returns the ButtonText field value if set, zero value otherwise.
func (*SendListRequest) GetButtonTextOk ¶
func (o *SendListRequest) GetButtonTextOk() (*string, bool)
GetButtonTextOk returns a tuple with the ButtonText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequest) GetPhone ¶
func (o *SendListRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendListRequest) GetPhoneOk ¶
func (o *SendListRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequest) GetSections ¶
func (o *SendListRequest) GetSections() []SendListRequestSectionsInner
GetSections returns the Sections field value if set, zero value otherwise.
func (*SendListRequest) GetSectionsOk ¶
func (o *SendListRequest) GetSectionsOk() ([]SendListRequestSectionsInner, bool)
GetSectionsOk returns a tuple with the Sections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequest) HasAction ¶
func (o *SendListRequest) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*SendListRequest) HasBody ¶
func (o *SendListRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendListRequest) HasButtonText ¶
func (o *SendListRequest) HasButtonText() bool
HasButtonText returns a boolean if a field has been set.
func (*SendListRequest) HasPhone ¶
func (o *SendListRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendListRequest) HasSections ¶
func (o *SendListRequest) HasSections() bool
HasSections returns a boolean if a field has been set.
func (SendListRequest) MarshalJSON ¶
func (o SendListRequest) MarshalJSON() ([]byte, error)
func (*SendListRequest) SetAction ¶
func (o *SendListRequest) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*SendListRequest) SetBody ¶
func (o *SendListRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendListRequest) SetButtonText ¶
func (o *SendListRequest) SetButtonText(v string)
SetButtonText gets a reference to the given string and assigns it to the ButtonText field.
func (*SendListRequest) SetPhone ¶
func (o *SendListRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*SendListRequest) SetSections ¶
func (o *SendListRequest) SetSections(v []SendListRequestSectionsInner)
SetSections gets a reference to the given []SendListRequestSectionsInner and assigns it to the Sections field.
func (SendListRequest) ToMap ¶
func (o SendListRequest) ToMap() (map[string]interface{}, error)
type SendListRequestSectionsInner ¶
type SendListRequestSectionsInner struct {
Title *string `json:"title,omitempty"`
Rows []SendListRequestSectionsInnerRowsInner `json:"rows,omitempty"`
}
SendListRequestSectionsInner struct for SendListRequestSectionsInner
func NewSendListRequestSectionsInner ¶
func NewSendListRequestSectionsInner() *SendListRequestSectionsInner
NewSendListRequestSectionsInner instantiates a new SendListRequestSectionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendListRequestSectionsInnerWithDefaults ¶
func NewSendListRequestSectionsInnerWithDefaults() *SendListRequestSectionsInner
NewSendListRequestSectionsInnerWithDefaults instantiates a new SendListRequestSectionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendListRequestSectionsInner) GetRows ¶
func (o *SendListRequestSectionsInner) GetRows() []SendListRequestSectionsInnerRowsInner
GetRows returns the Rows field value if set, zero value otherwise.
func (*SendListRequestSectionsInner) GetRowsOk ¶
func (o *SendListRequestSectionsInner) GetRowsOk() ([]SendListRequestSectionsInnerRowsInner, bool)
GetRowsOk returns a tuple with the Rows field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequestSectionsInner) GetTitle ¶
func (o *SendListRequestSectionsInner) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*SendListRequestSectionsInner) GetTitleOk ¶
func (o *SendListRequestSectionsInner) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequestSectionsInner) HasRows ¶
func (o *SendListRequestSectionsInner) HasRows() bool
HasRows returns a boolean if a field has been set.
func (*SendListRequestSectionsInner) HasTitle ¶
func (o *SendListRequestSectionsInner) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (SendListRequestSectionsInner) MarshalJSON ¶
func (o SendListRequestSectionsInner) MarshalJSON() ([]byte, error)
func (*SendListRequestSectionsInner) SetRows ¶
func (o *SendListRequestSectionsInner) SetRows(v []SendListRequestSectionsInnerRowsInner)
SetRows gets a reference to the given []SendListRequestSectionsInnerRowsInner and assigns it to the Rows field.
func (*SendListRequestSectionsInner) SetTitle ¶
func (o *SendListRequestSectionsInner) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (SendListRequestSectionsInner) ToMap ¶
func (o SendListRequestSectionsInner) ToMap() (map[string]interface{}, error)
type SendListRequestSectionsInnerRowsInner ¶
type SendListRequestSectionsInnerRowsInner struct {
Id *string `json:"id,omitempty"`
Title *string `json:"title,omitempty"`
Description *string `json:"description,omitempty"`
}
SendListRequestSectionsInnerRowsInner struct for SendListRequestSectionsInnerRowsInner
func NewSendListRequestSectionsInnerRowsInner ¶
func NewSendListRequestSectionsInnerRowsInner() *SendListRequestSectionsInnerRowsInner
NewSendListRequestSectionsInnerRowsInner instantiates a new SendListRequestSectionsInnerRowsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendListRequestSectionsInnerRowsInnerWithDefaults ¶
func NewSendListRequestSectionsInnerRowsInnerWithDefaults() *SendListRequestSectionsInnerRowsInner
NewSendListRequestSectionsInnerRowsInnerWithDefaults instantiates a new SendListRequestSectionsInnerRowsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendListRequestSectionsInnerRowsInner) GetDescription ¶
func (o *SendListRequestSectionsInnerRowsInner) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SendListRequestSectionsInnerRowsInner) GetDescriptionOk ¶
func (o *SendListRequestSectionsInnerRowsInner) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequestSectionsInnerRowsInner) GetId ¶
func (o *SendListRequestSectionsInnerRowsInner) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SendListRequestSectionsInnerRowsInner) GetIdOk ¶
func (o *SendListRequestSectionsInnerRowsInner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequestSectionsInnerRowsInner) GetTitle ¶
func (o *SendListRequestSectionsInnerRowsInner) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*SendListRequestSectionsInnerRowsInner) GetTitleOk ¶
func (o *SendListRequestSectionsInnerRowsInner) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendListRequestSectionsInnerRowsInner) HasDescription ¶
func (o *SendListRequestSectionsInnerRowsInner) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SendListRequestSectionsInnerRowsInner) HasId ¶
func (o *SendListRequestSectionsInnerRowsInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*SendListRequestSectionsInnerRowsInner) HasTitle ¶
func (o *SendListRequestSectionsInnerRowsInner) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (SendListRequestSectionsInnerRowsInner) MarshalJSON ¶
func (o SendListRequestSectionsInnerRowsInner) MarshalJSON() ([]byte, error)
func (*SendListRequestSectionsInnerRowsInner) SetDescription ¶
func (o *SendListRequestSectionsInnerRowsInner) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SendListRequestSectionsInnerRowsInner) SetId ¶
func (o *SendListRequestSectionsInnerRowsInner) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SendListRequestSectionsInnerRowsInner) SetTitle ¶
func (o *SendListRequestSectionsInnerRowsInner) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (SendListRequestSectionsInnerRowsInner) ToMap ¶
func (o SendListRequestSectionsInnerRowsInner) ToMap() (map[string]interface{}, error)
type SendLocationRequest1 ¶
type SendLocationRequest1 struct {
Lat string `json:"lat"`
Lng string `json:"lng"`
Address *string `json:"address,omitempty"`
Name *string `json:"name,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
ChatId *string `json:"chatId,omitempty"`
Phone *int32 `json:"phone,omitempty"`
}
SendLocationRequest1 struct for SendLocationRequest1
func NewSendLocationRequest1 ¶
func NewSendLocationRequest1(lat string, lng string) *SendLocationRequest1
NewSendLocationRequest1 instantiates a new SendLocationRequest1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendLocationRequest1WithDefaults ¶
func NewSendLocationRequest1WithDefaults() *SendLocationRequest1
NewSendLocationRequest1WithDefaults instantiates a new SendLocationRequest1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendLocationRequest1) GetAddress ¶
func (o *SendLocationRequest1) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*SendLocationRequest1) GetAddressOk ¶
func (o *SendLocationRequest1) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetChatId ¶
func (o *SendLocationRequest1) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendLocationRequest1) GetChatIdOk ¶
func (o *SendLocationRequest1) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetLat ¶
func (o *SendLocationRequest1) GetLat() string
GetLat returns the Lat field value
func (*SendLocationRequest1) GetLatOk ¶
func (o *SendLocationRequest1) GetLatOk() (*string, bool)
GetLatOk returns a tuple with the Lat field value and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetLng ¶
func (o *SendLocationRequest1) GetLng() string
GetLng returns the Lng field value
func (*SendLocationRequest1) GetLngOk ¶
func (o *SendLocationRequest1) GetLngOk() (*string, bool)
GetLngOk returns a tuple with the Lng field value and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetName ¶
func (o *SendLocationRequest1) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SendLocationRequest1) GetNameOk ¶
func (o *SendLocationRequest1) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetPhone ¶
func (o *SendLocationRequest1) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendLocationRequest1) GetPhoneOk ¶
func (o *SendLocationRequest1) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequest1) GetQuotedMsgId ¶
func (o *SendLocationRequest1) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendLocationRequest1) GetQuotedMsgIdOk ¶
func (o *SendLocationRequest1) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequest1) HasAddress ¶
func (o *SendLocationRequest1) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*SendLocationRequest1) HasChatId ¶
func (o *SendLocationRequest1) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendLocationRequest1) HasName ¶
func (o *SendLocationRequest1) HasName() bool
HasName returns a boolean if a field has been set.
func (*SendLocationRequest1) HasPhone ¶
func (o *SendLocationRequest1) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendLocationRequest1) HasQuotedMsgId ¶
func (o *SendLocationRequest1) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendLocationRequest1) MarshalJSON ¶
func (o SendLocationRequest1) MarshalJSON() ([]byte, error)
func (*SendLocationRequest1) SetAddress ¶
func (o *SendLocationRequest1) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*SendLocationRequest1) SetChatId ¶
func (o *SendLocationRequest1) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendLocationRequest1) SetLat ¶
func (o *SendLocationRequest1) SetLat(v string)
SetLat sets field value
func (*SendLocationRequest1) SetLng ¶
func (o *SendLocationRequest1) SetLng(v string)
SetLng sets field value
func (*SendLocationRequest1) SetName ¶
func (o *SendLocationRequest1) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SendLocationRequest1) SetPhone ¶
func (o *SendLocationRequest1) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendLocationRequest1) SetQuotedMsgId ¶
func (o *SendLocationRequest1) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendLocationRequest1) ToMap ¶
func (o SendLocationRequest1) ToMap() (map[string]interface{}, error)
func (*SendLocationRequest1) UnmarshalJSON ¶
func (o *SendLocationRequest1) UnmarshalJSON(data []byte) (err error)
type SendLocationRequestRequest ¶
type SendLocationRequestRequest struct {
Phone *string `json:"phone,omitempty"`
Body *string `json:"body,omitempty"`
}
SendLocationRequestRequest struct for SendLocationRequestRequest
func NewSendLocationRequestRequest ¶
func NewSendLocationRequestRequest() *SendLocationRequestRequest
NewSendLocationRequestRequest instantiates a new SendLocationRequestRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendLocationRequestRequestWithDefaults ¶
func NewSendLocationRequestRequestWithDefaults() *SendLocationRequestRequest
NewSendLocationRequestRequestWithDefaults instantiates a new SendLocationRequestRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendLocationRequestRequest) GetBody ¶
func (o *SendLocationRequestRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendLocationRequestRequest) GetBodyOk ¶
func (o *SendLocationRequestRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequestRequest) GetPhone ¶
func (o *SendLocationRequestRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendLocationRequestRequest) GetPhoneOk ¶
func (o *SendLocationRequestRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendLocationRequestRequest) HasBody ¶
func (o *SendLocationRequestRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendLocationRequestRequest) HasPhone ¶
func (o *SendLocationRequestRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (SendLocationRequestRequest) MarshalJSON ¶
func (o SendLocationRequestRequest) MarshalJSON() ([]byte, error)
func (*SendLocationRequestRequest) SetBody ¶
func (o *SendLocationRequestRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendLocationRequestRequest) SetPhone ¶
func (o *SendLocationRequestRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (SendLocationRequestRequest) ToMap ¶
func (o SendLocationRequestRequest) ToMap() (map[string]interface{}, error)
type SendMessageRequest ¶
type SendMessageRequest struct {
// Message text, UTF-8 or UTF-16 string with emoji
Body string `json:"body"`
// Message ID to quote/reply to (Cloud API wamid)
QuotedMsgId *string `json:"quotedMsgId,omitempty" validate:"regexp=^wamid\\\\..+$"`
// Chat ID in format: phone@c.us (individual) or phone@g.us (group)
ChatId *string `json:"chatId,omitempty" validate:"regexp=^[0-9]+@[cg]\\\\.us$"`
// Phone number starting with country code (alternative to chatId)
Phone *int32 `json:"phone,omitempty"`
}
SendMessageRequest Request body for sending a text message
func NewSendMessageRequest ¶
func NewSendMessageRequest(body string) *SendMessageRequest
NewSendMessageRequest instantiates a new SendMessageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendMessageRequestWithDefaults ¶
func NewSendMessageRequestWithDefaults() *SendMessageRequest
NewSendMessageRequestWithDefaults instantiates a new SendMessageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendMessageRequest) GetBody ¶
func (o *SendMessageRequest) GetBody() string
GetBody returns the Body field value
func (*SendMessageRequest) GetBodyOk ¶
func (o *SendMessageRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*SendMessageRequest) GetChatId ¶
func (o *SendMessageRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendMessageRequest) GetChatIdOk ¶
func (o *SendMessageRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendMessageRequest) GetPhone ¶
func (o *SendMessageRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendMessageRequest) GetPhoneOk ¶
func (o *SendMessageRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendMessageRequest) GetQuotedMsgId ¶
func (o *SendMessageRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendMessageRequest) GetQuotedMsgIdOk ¶
func (o *SendMessageRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendMessageRequest) HasChatId ¶
func (o *SendMessageRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendMessageRequest) HasPhone ¶
func (o *SendMessageRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendMessageRequest) HasQuotedMsgId ¶
func (o *SendMessageRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendMessageRequest) MarshalJSON ¶
func (o SendMessageRequest) MarshalJSON() ([]byte, error)
func (*SendMessageRequest) SetBody ¶
func (o *SendMessageRequest) SetBody(v string)
SetBody sets field value
func (*SendMessageRequest) SetChatId ¶
func (o *SendMessageRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendMessageRequest) SetPhone ¶
func (o *SendMessageRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendMessageRequest) SetQuotedMsgId ¶
func (o *SendMessageRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendMessageRequest) ToMap ¶
func (o SendMessageRequest) ToMap() (map[string]interface{}, error)
func (*SendMessageRequest) UnmarshalJSON ¶
func (o *SendMessageRequest) UnmarshalJSON(data []byte) (err error)
type SendOrderDetailsRequest ¶
type SendOrderDetailsRequest struct {
// Recipient phone (India E.164 digits, no +). Use phone or chatId.
Phone *int32 `json:"phone,omitempty"`
// Recipient chatId (e.g. phone@c.us). Use phone or chatId.
ChatId *string `json:"chatId,omitempty"`
// Approved Utility template name that includes an ORDER_DETAILS button
Template string `json:"template"`
// Template namespace from the channel / template list
Namespace string `json:"namespace"`
Language SendOrderDetailsRequestLanguage `json:"language"`
// Extra template components (HEADER / BODY / etc.). If an order_details button is missing, the API appends one from order / referenceId / currency / paymentSettings.
Params []map[string]interface{} `json:"params,omitempty"`
// Unique order / payment reference id (maps to reference_id)
ReferenceId *string `json:"referenceId,omitempty"`
// Currency code for India payments
Currency *string `json:"currency,omitempty"`
// Optional payment settings (UPI / payment gateway / payment link). Forwarded as payment_settings on the order_details action.
PaymentSettings map[string]interface{} `json:"paymentSettings,omitempty"`
Order SendOrderDetailsRequestOrder `json:"order"`
AdditionalProperties map[string]interface{}
}
SendOrderDetailsRequest struct for SendOrderDetailsRequest
func NewSendOrderDetailsRequest ¶
func NewSendOrderDetailsRequest(template string, namespace string, language SendOrderDetailsRequestLanguage, order SendOrderDetailsRequestOrder) *SendOrderDetailsRequest
NewSendOrderDetailsRequest instantiates a new SendOrderDetailsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendOrderDetailsRequestWithDefaults ¶
func NewSendOrderDetailsRequestWithDefaults() *SendOrderDetailsRequest
NewSendOrderDetailsRequestWithDefaults instantiates a new SendOrderDetailsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendOrderDetailsRequest) GetChatId ¶
func (o *SendOrderDetailsRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetChatIdOk ¶
func (o *SendOrderDetailsRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetCurrency ¶
func (o *SendOrderDetailsRequest) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetCurrencyOk ¶
func (o *SendOrderDetailsRequest) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetLanguage ¶
func (o *SendOrderDetailsRequest) GetLanguage() SendOrderDetailsRequestLanguage
GetLanguage returns the Language field value
func (*SendOrderDetailsRequest) GetLanguageOk ¶
func (o *SendOrderDetailsRequest) GetLanguageOk() (*SendOrderDetailsRequestLanguage, bool)
GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetNamespace ¶
func (o *SendOrderDetailsRequest) GetNamespace() string
GetNamespace returns the Namespace field value
func (*SendOrderDetailsRequest) GetNamespaceOk ¶
func (o *SendOrderDetailsRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetOrder ¶
func (o *SendOrderDetailsRequest) GetOrder() SendOrderDetailsRequestOrder
GetOrder returns the Order field value
func (*SendOrderDetailsRequest) GetOrderOk ¶
func (o *SendOrderDetailsRequest) GetOrderOk() (*SendOrderDetailsRequestOrder, bool)
GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetParams ¶
func (o *SendOrderDetailsRequest) GetParams() []map[string]interface{}
GetParams returns the Params field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetParamsOk ¶
func (o *SendOrderDetailsRequest) GetParamsOk() ([]map[string]interface{}, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetPaymentSettings ¶
func (o *SendOrderDetailsRequest) GetPaymentSettings() map[string]interface{}
GetPaymentSettings returns the PaymentSettings field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetPaymentSettingsOk ¶
func (o *SendOrderDetailsRequest) GetPaymentSettingsOk() (map[string]interface{}, bool)
GetPaymentSettingsOk returns a tuple with the PaymentSettings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetPhone ¶
func (o *SendOrderDetailsRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetPhoneOk ¶
func (o *SendOrderDetailsRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetReferenceId ¶
func (o *SendOrderDetailsRequest) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise.
func (*SendOrderDetailsRequest) GetReferenceIdOk ¶
func (o *SendOrderDetailsRequest) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) GetTemplate ¶
func (o *SendOrderDetailsRequest) GetTemplate() string
GetTemplate returns the Template field value
func (*SendOrderDetailsRequest) GetTemplateOk ¶
func (o *SendOrderDetailsRequest) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequest) HasChatId ¶
func (o *SendOrderDetailsRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendOrderDetailsRequest) HasCurrency ¶
func (o *SendOrderDetailsRequest) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*SendOrderDetailsRequest) HasParams ¶
func (o *SendOrderDetailsRequest) HasParams() bool
HasParams returns a boolean if a field has been set.
func (*SendOrderDetailsRequest) HasPaymentSettings ¶
func (o *SendOrderDetailsRequest) HasPaymentSettings() bool
HasPaymentSettings returns a boolean if a field has been set.
func (*SendOrderDetailsRequest) HasPhone ¶
func (o *SendOrderDetailsRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendOrderDetailsRequest) HasReferenceId ¶
func (o *SendOrderDetailsRequest) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (SendOrderDetailsRequest) MarshalJSON ¶
func (o SendOrderDetailsRequest) MarshalJSON() ([]byte, error)
func (*SendOrderDetailsRequest) SetChatId ¶
func (o *SendOrderDetailsRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendOrderDetailsRequest) SetCurrency ¶
func (o *SendOrderDetailsRequest) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*SendOrderDetailsRequest) SetLanguage ¶
func (o *SendOrderDetailsRequest) SetLanguage(v SendOrderDetailsRequestLanguage)
SetLanguage sets field value
func (*SendOrderDetailsRequest) SetNamespace ¶
func (o *SendOrderDetailsRequest) SetNamespace(v string)
SetNamespace sets field value
func (*SendOrderDetailsRequest) SetOrder ¶
func (o *SendOrderDetailsRequest) SetOrder(v SendOrderDetailsRequestOrder)
SetOrder sets field value
func (*SendOrderDetailsRequest) SetParams ¶
func (o *SendOrderDetailsRequest) SetParams(v []map[string]interface{})
SetParams gets a reference to the given []map[string]interface{} and assigns it to the Params field.
func (*SendOrderDetailsRequest) SetPaymentSettings ¶
func (o *SendOrderDetailsRequest) SetPaymentSettings(v map[string]interface{})
SetPaymentSettings gets a reference to the given map[string]interface{} and assigns it to the PaymentSettings field.
func (*SendOrderDetailsRequest) SetPhone ¶
func (o *SendOrderDetailsRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendOrderDetailsRequest) SetReferenceId ¶
func (o *SendOrderDetailsRequest) SetReferenceId(v string)
SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.
func (*SendOrderDetailsRequest) SetTemplate ¶
func (o *SendOrderDetailsRequest) SetTemplate(v string)
SetTemplate sets field value
func (SendOrderDetailsRequest) ToMap ¶
func (o SendOrderDetailsRequest) ToMap() (map[string]interface{}, error)
func (*SendOrderDetailsRequest) UnmarshalJSON ¶
func (o *SendOrderDetailsRequest) UnmarshalJSON(data []byte) (err error)
type SendOrderDetailsRequestLanguage ¶
type SendOrderDetailsRequestLanguage struct {
// Language code
Code string `json:"code"`
// Optional language policy
Policy *string `json:"policy,omitempty"`
AdditionalProperties map[string]interface{}
}
SendOrderDetailsRequestLanguage Template language
func NewSendOrderDetailsRequestLanguage ¶
func NewSendOrderDetailsRequestLanguage(code string) *SendOrderDetailsRequestLanguage
NewSendOrderDetailsRequestLanguage instantiates a new SendOrderDetailsRequestLanguage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendOrderDetailsRequestLanguageWithDefaults ¶
func NewSendOrderDetailsRequestLanguageWithDefaults() *SendOrderDetailsRequestLanguage
NewSendOrderDetailsRequestLanguageWithDefaults instantiates a new SendOrderDetailsRequestLanguage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendOrderDetailsRequestLanguage) GetCode ¶
func (o *SendOrderDetailsRequestLanguage) GetCode() string
GetCode returns the Code field value
func (*SendOrderDetailsRequestLanguage) GetCodeOk ¶
func (o *SendOrderDetailsRequestLanguage) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestLanguage) GetPolicy ¶
func (o *SendOrderDetailsRequestLanguage) GetPolicy() string
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*SendOrderDetailsRequestLanguage) GetPolicyOk ¶
func (o *SendOrderDetailsRequestLanguage) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestLanguage) HasPolicy ¶
func (o *SendOrderDetailsRequestLanguage) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (SendOrderDetailsRequestLanguage) MarshalJSON ¶
func (o SendOrderDetailsRequestLanguage) MarshalJSON() ([]byte, error)
func (*SendOrderDetailsRequestLanguage) SetCode ¶
func (o *SendOrderDetailsRequestLanguage) SetCode(v string)
SetCode sets field value
func (*SendOrderDetailsRequestLanguage) SetPolicy ¶
func (o *SendOrderDetailsRequestLanguage) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (SendOrderDetailsRequestLanguage) ToMap ¶
func (o SendOrderDetailsRequestLanguage) ToMap() (map[string]interface{}, error)
func (*SendOrderDetailsRequestLanguage) UnmarshalJSON ¶
func (o *SendOrderDetailsRequestLanguage) UnmarshalJSON(data []byte) (err error)
type SendOrderDetailsRequestOrder ¶
type SendOrderDetailsRequestOrder struct {
// Order status
Status *string `json:"status,omitempty"`
// Line items
Items []SendOrderDetailsRequestOrderItemsInner `json:"items"`
Subtotal *SendOrderDetailsRequestOrderItemsInnerAmount `json:"subtotal,omitempty"`
Tax map[string]interface{} `json:"tax,omitempty"`
Shipping map[string]interface{} `json:"shipping,omitempty"`
Discount map[string]interface{} `json:"discount,omitempty"`
AdditionalProperties map[string]interface{}
}
SendOrderDetailsRequestOrder Order payload for the ORDER_DETAILS button. Typical fields: status, items[], subtotal, tax, shipping, discount. Amount objects use `{ \"offset\": 100, \"value\": <minor_units> }` (e.g. value 50000 with offset 100 = ₹500.00).
func NewSendOrderDetailsRequestOrder ¶
func NewSendOrderDetailsRequestOrder(items []SendOrderDetailsRequestOrderItemsInner) *SendOrderDetailsRequestOrder
NewSendOrderDetailsRequestOrder instantiates a new SendOrderDetailsRequestOrder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendOrderDetailsRequestOrderWithDefaults ¶
func NewSendOrderDetailsRequestOrderWithDefaults() *SendOrderDetailsRequestOrder
NewSendOrderDetailsRequestOrderWithDefaults instantiates a new SendOrderDetailsRequestOrder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendOrderDetailsRequestOrder) GetDiscount ¶
func (o *SendOrderDetailsRequestOrder) GetDiscount() map[string]interface{}
GetDiscount returns the Discount field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrder) GetDiscountOk ¶
func (o *SendOrderDetailsRequestOrder) GetDiscountOk() (map[string]interface{}, bool)
GetDiscountOk returns a tuple with the Discount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) GetItems ¶
func (o *SendOrderDetailsRequestOrder) GetItems() []SendOrderDetailsRequestOrderItemsInner
GetItems returns the Items field value
func (*SendOrderDetailsRequestOrder) GetItemsOk ¶
func (o *SendOrderDetailsRequestOrder) GetItemsOk() ([]SendOrderDetailsRequestOrderItemsInner, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) GetShipping ¶
func (o *SendOrderDetailsRequestOrder) GetShipping() map[string]interface{}
GetShipping returns the Shipping field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrder) GetShippingOk ¶
func (o *SendOrderDetailsRequestOrder) GetShippingOk() (map[string]interface{}, bool)
GetShippingOk returns a tuple with the Shipping field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) GetStatus ¶
func (o *SendOrderDetailsRequestOrder) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrder) GetStatusOk ¶
func (o *SendOrderDetailsRequestOrder) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) GetSubtotal ¶
func (o *SendOrderDetailsRequestOrder) GetSubtotal() SendOrderDetailsRequestOrderItemsInnerAmount
GetSubtotal returns the Subtotal field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrder) GetSubtotalOk ¶
func (o *SendOrderDetailsRequestOrder) GetSubtotalOk() (*SendOrderDetailsRequestOrderItemsInnerAmount, bool)
GetSubtotalOk returns a tuple with the Subtotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) GetTax ¶
func (o *SendOrderDetailsRequestOrder) GetTax() map[string]interface{}
GetTax returns the Tax field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrder) GetTaxOk ¶
func (o *SendOrderDetailsRequestOrder) GetTaxOk() (map[string]interface{}, bool)
GetTaxOk returns a tuple with the Tax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrder) HasDiscount ¶
func (o *SendOrderDetailsRequestOrder) HasDiscount() bool
HasDiscount returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrder) HasShipping ¶
func (o *SendOrderDetailsRequestOrder) HasShipping() bool
HasShipping returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrder) HasStatus ¶
func (o *SendOrderDetailsRequestOrder) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrder) HasSubtotal ¶
func (o *SendOrderDetailsRequestOrder) HasSubtotal() bool
HasSubtotal returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrder) HasTax ¶
func (o *SendOrderDetailsRequestOrder) HasTax() bool
HasTax returns a boolean if a field has been set.
func (SendOrderDetailsRequestOrder) MarshalJSON ¶
func (o SendOrderDetailsRequestOrder) MarshalJSON() ([]byte, error)
func (*SendOrderDetailsRequestOrder) SetDiscount ¶
func (o *SendOrderDetailsRequestOrder) SetDiscount(v map[string]interface{})
SetDiscount gets a reference to the given map[string]interface{} and assigns it to the Discount field.
func (*SendOrderDetailsRequestOrder) SetItems ¶
func (o *SendOrderDetailsRequestOrder) SetItems(v []SendOrderDetailsRequestOrderItemsInner)
SetItems sets field value
func (*SendOrderDetailsRequestOrder) SetShipping ¶
func (o *SendOrderDetailsRequestOrder) SetShipping(v map[string]interface{})
SetShipping gets a reference to the given map[string]interface{} and assigns it to the Shipping field.
func (*SendOrderDetailsRequestOrder) SetStatus ¶
func (o *SendOrderDetailsRequestOrder) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*SendOrderDetailsRequestOrder) SetSubtotal ¶
func (o *SendOrderDetailsRequestOrder) SetSubtotal(v SendOrderDetailsRequestOrderItemsInnerAmount)
SetSubtotal gets a reference to the given SendOrderDetailsRequestOrderItemsInnerAmount and assigns it to the Subtotal field.
func (*SendOrderDetailsRequestOrder) SetTax ¶
func (o *SendOrderDetailsRequestOrder) SetTax(v map[string]interface{})
SetTax gets a reference to the given map[string]interface{} and assigns it to the Tax field.
func (SendOrderDetailsRequestOrder) ToMap ¶
func (o SendOrderDetailsRequestOrder) ToMap() (map[string]interface{}, error)
func (*SendOrderDetailsRequestOrder) UnmarshalJSON ¶
func (o *SendOrderDetailsRequestOrder) UnmarshalJSON(data []byte) (err error)
type SendOrderDetailsRequestOrderItemsInner ¶
type SendOrderDetailsRequestOrderItemsInner struct {
RetailerId *string `json:"retailer_id,omitempty"`
Name *string `json:"name,omitempty"`
Quantity *int32 `json:"quantity,omitempty"`
Amount *SendOrderDetailsRequestOrderItemsInnerAmount `json:"amount,omitempty"`
AdditionalProperties map[string]interface{}
}
SendOrderDetailsRequestOrderItemsInner struct for SendOrderDetailsRequestOrderItemsInner
func NewSendOrderDetailsRequestOrderItemsInner ¶
func NewSendOrderDetailsRequestOrderItemsInner() *SendOrderDetailsRequestOrderItemsInner
NewSendOrderDetailsRequestOrderItemsInner instantiates a new SendOrderDetailsRequestOrderItemsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendOrderDetailsRequestOrderItemsInnerWithDefaults ¶
func NewSendOrderDetailsRequestOrderItemsInnerWithDefaults() *SendOrderDetailsRequestOrderItemsInner
NewSendOrderDetailsRequestOrderItemsInnerWithDefaults instantiates a new SendOrderDetailsRequestOrderItemsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendOrderDetailsRequestOrderItemsInner) GetAmount ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetAmount() SendOrderDetailsRequestOrderItemsInnerAmount
GetAmount returns the Amount field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInner) GetAmountOk ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetAmountOk() (*SendOrderDetailsRequestOrderItemsInnerAmount, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInner) GetName ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInner) GetNameOk ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInner) GetQuantity ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInner) GetQuantityOk ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInner) GetRetailerId ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetRetailerId() string
GetRetailerId returns the RetailerId field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInner) GetRetailerIdOk ¶
func (o *SendOrderDetailsRequestOrderItemsInner) GetRetailerIdOk() (*string, bool)
GetRetailerIdOk returns a tuple with the RetailerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInner) HasAmount ¶
func (o *SendOrderDetailsRequestOrderItemsInner) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrderItemsInner) HasName ¶
func (o *SendOrderDetailsRequestOrderItemsInner) HasName() bool
HasName returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrderItemsInner) HasQuantity ¶
func (o *SendOrderDetailsRequestOrderItemsInner) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrderItemsInner) HasRetailerId ¶
func (o *SendOrderDetailsRequestOrderItemsInner) HasRetailerId() bool
HasRetailerId returns a boolean if a field has been set.
func (SendOrderDetailsRequestOrderItemsInner) MarshalJSON ¶
func (o SendOrderDetailsRequestOrderItemsInner) MarshalJSON() ([]byte, error)
func (*SendOrderDetailsRequestOrderItemsInner) SetAmount ¶
func (o *SendOrderDetailsRequestOrderItemsInner) SetAmount(v SendOrderDetailsRequestOrderItemsInnerAmount)
SetAmount gets a reference to the given SendOrderDetailsRequestOrderItemsInnerAmount and assigns it to the Amount field.
func (*SendOrderDetailsRequestOrderItemsInner) SetName ¶
func (o *SendOrderDetailsRequestOrderItemsInner) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SendOrderDetailsRequestOrderItemsInner) SetQuantity ¶
func (o *SendOrderDetailsRequestOrderItemsInner) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (*SendOrderDetailsRequestOrderItemsInner) SetRetailerId ¶
func (o *SendOrderDetailsRequestOrderItemsInner) SetRetailerId(v string)
SetRetailerId gets a reference to the given string and assigns it to the RetailerId field.
func (SendOrderDetailsRequestOrderItemsInner) ToMap ¶
func (o SendOrderDetailsRequestOrderItemsInner) ToMap() (map[string]interface{}, error)
func (*SendOrderDetailsRequestOrderItemsInner) UnmarshalJSON ¶
func (o *SendOrderDetailsRequestOrderItemsInner) UnmarshalJSON(data []byte) (err error)
type SendOrderDetailsRequestOrderItemsInnerAmount ¶
type SendOrderDetailsRequestOrderItemsInnerAmount struct {
Offset *int32 `json:"offset,omitempty"`
Value *int32 `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
SendOrderDetailsRequestOrderItemsInnerAmount struct for SendOrderDetailsRequestOrderItemsInnerAmount
func NewSendOrderDetailsRequestOrderItemsInnerAmount ¶
func NewSendOrderDetailsRequestOrderItemsInnerAmount() *SendOrderDetailsRequestOrderItemsInnerAmount
NewSendOrderDetailsRequestOrderItemsInnerAmount instantiates a new SendOrderDetailsRequestOrderItemsInnerAmount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendOrderDetailsRequestOrderItemsInnerAmountWithDefaults ¶
func NewSendOrderDetailsRequestOrderItemsInnerAmountWithDefaults() *SendOrderDetailsRequestOrderItemsInnerAmount
NewSendOrderDetailsRequestOrderItemsInnerAmountWithDefaults instantiates a new SendOrderDetailsRequestOrderItemsInnerAmount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetOffset ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetOffsetOk ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetValue ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetValue() int32
GetValue returns the Value field value if set, zero value otherwise.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetValueOk ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) HasOffset ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) HasValue ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON ¶
func (o SendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON() ([]byte, error)
func (*SendOrderDetailsRequestOrderItemsInnerAmount) SetOffset ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*SendOrderDetailsRequestOrderItemsInnerAmount) SetValue ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) SetValue(v int32)
SetValue gets a reference to the given int32 and assigns it to the Value field.
func (SendOrderDetailsRequestOrderItemsInnerAmount) ToMap ¶
func (o SendOrderDetailsRequestOrderItemsInnerAmount) ToMap() (map[string]interface{}, error)
func (*SendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON ¶
func (o *SendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON(data []byte) (err error)
type SendPaymentRequestRequest ¶
type SendPaymentRequestRequest struct {
Phone int32 `json:"phone"`
Region string `json:"region"`
Body *string `json:"body,omitempty"`
Interactive map[string]interface{} `json:"interactive,omitempty"`
Action map[string]interface{} `json:"action,omitempty"`
AdditionalProperties map[string]interface{}
}
SendPaymentRequestRequest struct for SendPaymentRequestRequest
func NewSendPaymentRequestRequest ¶
func NewSendPaymentRequestRequest(phone int32, region string) *SendPaymentRequestRequest
NewSendPaymentRequestRequest instantiates a new SendPaymentRequestRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendPaymentRequestRequestWithDefaults ¶
func NewSendPaymentRequestRequestWithDefaults() *SendPaymentRequestRequest
NewSendPaymentRequestRequestWithDefaults instantiates a new SendPaymentRequestRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendPaymentRequestRequest) GetAction ¶
func (o *SendPaymentRequestRequest) GetAction() map[string]interface{}
GetAction returns the Action field value if set, zero value otherwise.
func (*SendPaymentRequestRequest) GetActionOk ¶
func (o *SendPaymentRequestRequest) GetActionOk() (map[string]interface{}, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendPaymentRequestRequest) GetBody ¶
func (o *SendPaymentRequestRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendPaymentRequestRequest) GetBodyOk ¶
func (o *SendPaymentRequestRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendPaymentRequestRequest) GetInteractive ¶
func (o *SendPaymentRequestRequest) GetInteractive() map[string]interface{}
GetInteractive returns the Interactive field value if set, zero value otherwise.
func (*SendPaymentRequestRequest) GetInteractiveOk ¶
func (o *SendPaymentRequestRequest) GetInteractiveOk() (map[string]interface{}, bool)
GetInteractiveOk returns a tuple with the Interactive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendPaymentRequestRequest) GetPhone ¶
func (o *SendPaymentRequestRequest) GetPhone() int32
GetPhone returns the Phone field value
func (*SendPaymentRequestRequest) GetPhoneOk ¶
func (o *SendPaymentRequestRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.
func (*SendPaymentRequestRequest) GetRegion ¶
func (o *SendPaymentRequestRequest) GetRegion() string
GetRegion returns the Region field value
func (*SendPaymentRequestRequest) GetRegionOk ¶
func (o *SendPaymentRequestRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*SendPaymentRequestRequest) HasAction ¶
func (o *SendPaymentRequestRequest) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*SendPaymentRequestRequest) HasBody ¶
func (o *SendPaymentRequestRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendPaymentRequestRequest) HasInteractive ¶
func (o *SendPaymentRequestRequest) HasInteractive() bool
HasInteractive returns a boolean if a field has been set.
func (SendPaymentRequestRequest) MarshalJSON ¶
func (o SendPaymentRequestRequest) MarshalJSON() ([]byte, error)
func (*SendPaymentRequestRequest) SetAction ¶
func (o *SendPaymentRequestRequest) SetAction(v map[string]interface{})
SetAction gets a reference to the given map[string]interface{} and assigns it to the Action field.
func (*SendPaymentRequestRequest) SetBody ¶
func (o *SendPaymentRequestRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendPaymentRequestRequest) SetInteractive ¶
func (o *SendPaymentRequestRequest) SetInteractive(v map[string]interface{})
SetInteractive gets a reference to the given map[string]interface{} and assigns it to the Interactive field.
func (*SendPaymentRequestRequest) SetPhone ¶
func (o *SendPaymentRequestRequest) SetPhone(v int32)
SetPhone sets field value
func (*SendPaymentRequestRequest) SetRegion ¶
func (o *SendPaymentRequestRequest) SetRegion(v string)
SetRegion sets field value
func (SendPaymentRequestRequest) ToMap ¶
func (o SendPaymentRequestRequest) ToMap() (map[string]interface{}, error)
func (*SendPaymentRequestRequest) UnmarshalJSON ¶
func (o *SendPaymentRequestRequest) UnmarshalJSON(data []byte) (err error)
type SendReactionRequest ¶
type SendReactionRequest struct {
Phone *string `json:"phone,omitempty"`
Body *string `json:"body,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
}
SendReactionRequest struct for SendReactionRequest
func NewSendReactionRequest ¶
func NewSendReactionRequest() *SendReactionRequest
NewSendReactionRequest instantiates a new SendReactionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendReactionRequestWithDefaults ¶
func NewSendReactionRequestWithDefaults() *SendReactionRequest
NewSendReactionRequestWithDefaults instantiates a new SendReactionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendReactionRequest) GetBody ¶
func (o *SendReactionRequest) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*SendReactionRequest) GetBodyOk ¶
func (o *SendReactionRequest) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendReactionRequest) GetPhone ¶
func (o *SendReactionRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendReactionRequest) GetPhoneOk ¶
func (o *SendReactionRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendReactionRequest) GetQuotedMsgId ¶
func (o *SendReactionRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendReactionRequest) GetQuotedMsgIdOk ¶
func (o *SendReactionRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendReactionRequest) HasBody ¶
func (o *SendReactionRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SendReactionRequest) HasPhone ¶
func (o *SendReactionRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendReactionRequest) HasQuotedMsgId ¶
func (o *SendReactionRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendReactionRequest) MarshalJSON ¶
func (o SendReactionRequest) MarshalJSON() ([]byte, error)
func (*SendReactionRequest) SetBody ¶
func (o *SendReactionRequest) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SendReactionRequest) SetPhone ¶
func (o *SendReactionRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*SendReactionRequest) SetQuotedMsgId ¶
func (o *SendReactionRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendReactionRequest) ToMap ¶
func (o SendReactionRequest) ToMap() (map[string]interface{}, error)
type SendStickerRequest ¶
type SendStickerRequest struct {
Phone *int32 `json:"phone,omitempty"`
ChatId *string `json:"chatId,omitempty"`
// WABA media id from uploadMedia
MediaId *string `json:"mediaId,omitempty"`
// Public URL to webp sticker
Link *string `json:"link,omitempty"`
QuotedMsgId *string `json:"quotedMsgId,omitempty"`
AdditionalProperties map[string]interface{}
}
SendStickerRequest struct for SendStickerRequest
func NewSendStickerRequest ¶
func NewSendStickerRequest() *SendStickerRequest
NewSendStickerRequest instantiates a new SendStickerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendStickerRequestWithDefaults ¶
func NewSendStickerRequestWithDefaults() *SendStickerRequest
NewSendStickerRequestWithDefaults instantiates a new SendStickerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendStickerRequest) GetChatId ¶
func (o *SendStickerRequest) GetChatId() string
GetChatId returns the ChatId field value if set, zero value otherwise.
func (*SendStickerRequest) GetChatIdOk ¶
func (o *SendStickerRequest) GetChatIdOk() (*string, bool)
GetChatIdOk returns a tuple with the ChatId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendStickerRequest) GetLink ¶
func (o *SendStickerRequest) GetLink() string
GetLink returns the Link field value if set, zero value otherwise.
func (*SendStickerRequest) GetLinkOk ¶
func (o *SendStickerRequest) GetLinkOk() (*string, bool)
GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendStickerRequest) GetMediaId ¶
func (o *SendStickerRequest) GetMediaId() string
GetMediaId returns the MediaId field value if set, zero value otherwise.
func (*SendStickerRequest) GetMediaIdOk ¶
func (o *SendStickerRequest) GetMediaIdOk() (*string, bool)
GetMediaIdOk returns a tuple with the MediaId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendStickerRequest) GetPhone ¶
func (o *SendStickerRequest) GetPhone() int32
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendStickerRequest) GetPhoneOk ¶
func (o *SendStickerRequest) GetPhoneOk() (*int32, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendStickerRequest) GetQuotedMsgId ¶
func (o *SendStickerRequest) GetQuotedMsgId() string
GetQuotedMsgId returns the QuotedMsgId field value if set, zero value otherwise.
func (*SendStickerRequest) GetQuotedMsgIdOk ¶
func (o *SendStickerRequest) GetQuotedMsgIdOk() (*string, bool)
GetQuotedMsgIdOk returns a tuple with the QuotedMsgId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendStickerRequest) HasChatId ¶
func (o *SendStickerRequest) HasChatId() bool
HasChatId returns a boolean if a field has been set.
func (*SendStickerRequest) HasLink ¶
func (o *SendStickerRequest) HasLink() bool
HasLink returns a boolean if a field has been set.
func (*SendStickerRequest) HasMediaId ¶
func (o *SendStickerRequest) HasMediaId() bool
HasMediaId returns a boolean if a field has been set.
func (*SendStickerRequest) HasPhone ¶
func (o *SendStickerRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendStickerRequest) HasQuotedMsgId ¶
func (o *SendStickerRequest) HasQuotedMsgId() bool
HasQuotedMsgId returns a boolean if a field has been set.
func (SendStickerRequest) MarshalJSON ¶
func (o SendStickerRequest) MarshalJSON() ([]byte, error)
func (*SendStickerRequest) SetChatId ¶
func (o *SendStickerRequest) SetChatId(v string)
SetChatId gets a reference to the given string and assigns it to the ChatId field.
func (*SendStickerRequest) SetLink ¶
func (o *SendStickerRequest) SetLink(v string)
SetLink gets a reference to the given string and assigns it to the Link field.
func (*SendStickerRequest) SetMediaId ¶
func (o *SendStickerRequest) SetMediaId(v string)
SetMediaId gets a reference to the given string and assigns it to the MediaId field.
func (*SendStickerRequest) SetPhone ¶
func (o *SendStickerRequest) SetPhone(v int32)
SetPhone gets a reference to the given int32 and assigns it to the Phone field.
func (*SendStickerRequest) SetQuotedMsgId ¶
func (o *SendStickerRequest) SetQuotedMsgId(v string)
SetQuotedMsgId gets a reference to the given string and assigns it to the QuotedMsgId field.
func (SendStickerRequest) ToMap ¶
func (o SendStickerRequest) ToMap() (map[string]interface{}, error)
func (*SendStickerRequest) UnmarshalJSON ¶
func (o *SendStickerRequest) UnmarshalJSON(data []byte) (err error)
type SendTemplateRequest ¶
type SendTemplateRequest struct {
Template *string `json:"template,omitempty"`
Language *SendTemplateRequestLanguage `json:"language,omitempty"`
Namespace *string `json:"namespace,omitempty"`
Params []interface{} `json:"params,omitempty"`
Phone *string `json:"phone,omitempty"`
// Force Marketing Messages API (POST marketing_messages). If omitted: auto for MARKETING category when channel has mm_lite_enabled and mm_lite_available service settings.
UseMMlite *bool `json:"useMMlite,omitempty"`
// Sets message_activity_sharing on WABA payload. Enables click tracking webhooks. Requires MM Lite path. Ignored on Cloud API fallback.
MessageActivitySharing *bool `json:"messageActivitySharing,omitempty"`
// Template message TTL in seconds (message_send_ttl_seconds). MARKETING via MM Lite: 43200–2592000. AUTHENTICATION: 30–900. UTILITY: 30–43200. AUTH/UTILITY also accept -1 (30-day custom TTL).
MessageSendTtlSeconds *int32 `json:"messageSendTtlSeconds,omitempty"`
}
SendTemplateRequest struct for SendTemplateRequest
func NewSendTemplateRequest ¶
func NewSendTemplateRequest() *SendTemplateRequest
NewSendTemplateRequest instantiates a new SendTemplateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendTemplateRequestWithDefaults ¶
func NewSendTemplateRequestWithDefaults() *SendTemplateRequest
NewSendTemplateRequestWithDefaults instantiates a new SendTemplateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendTemplateRequest) GetLanguage ¶
func (o *SendTemplateRequest) GetLanguage() SendTemplateRequestLanguage
GetLanguage returns the Language field value if set, zero value otherwise.
func (*SendTemplateRequest) GetLanguageOk ¶
func (o *SendTemplateRequest) GetLanguageOk() (*SendTemplateRequestLanguage, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetMessageActivitySharing ¶
func (o *SendTemplateRequest) GetMessageActivitySharing() bool
GetMessageActivitySharing returns the MessageActivitySharing field value if set, zero value otherwise.
func (*SendTemplateRequest) GetMessageActivitySharingOk ¶
func (o *SendTemplateRequest) GetMessageActivitySharingOk() (*bool, bool)
GetMessageActivitySharingOk returns a tuple with the MessageActivitySharing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetMessageSendTtlSeconds ¶
func (o *SendTemplateRequest) GetMessageSendTtlSeconds() int32
GetMessageSendTtlSeconds returns the MessageSendTtlSeconds field value if set, zero value otherwise.
func (*SendTemplateRequest) GetMessageSendTtlSecondsOk ¶
func (o *SendTemplateRequest) GetMessageSendTtlSecondsOk() (*int32, bool)
GetMessageSendTtlSecondsOk returns a tuple with the MessageSendTtlSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetNamespace ¶
func (o *SendTemplateRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*SendTemplateRequest) GetNamespaceOk ¶
func (o *SendTemplateRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetParams ¶
func (o *SendTemplateRequest) GetParams() []interface{}
GetParams returns the Params field value if set, zero value otherwise.
func (*SendTemplateRequest) GetParamsOk ¶
func (o *SendTemplateRequest) GetParamsOk() ([]interface{}, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetPhone ¶
func (o *SendTemplateRequest) GetPhone() string
GetPhone returns the Phone field value if set, zero value otherwise.
func (*SendTemplateRequest) GetPhoneOk ¶
func (o *SendTemplateRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetTemplate ¶
func (o *SendTemplateRequest) GetTemplate() string
GetTemplate returns the Template field value if set, zero value otherwise.
func (*SendTemplateRequest) GetTemplateOk ¶
func (o *SendTemplateRequest) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) GetUseMMlite ¶
func (o *SendTemplateRequest) GetUseMMlite() bool
GetUseMMlite returns the UseMMlite field value if set, zero value otherwise.
func (*SendTemplateRequest) GetUseMMliteOk ¶
func (o *SendTemplateRequest) GetUseMMliteOk() (*bool, bool)
GetUseMMliteOk returns a tuple with the UseMMlite field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequest) HasLanguage ¶
func (o *SendTemplateRequest) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*SendTemplateRequest) HasMessageActivitySharing ¶
func (o *SendTemplateRequest) HasMessageActivitySharing() bool
HasMessageActivitySharing returns a boolean if a field has been set.
func (*SendTemplateRequest) HasMessageSendTtlSeconds ¶
func (o *SendTemplateRequest) HasMessageSendTtlSeconds() bool
HasMessageSendTtlSeconds returns a boolean if a field has been set.
func (*SendTemplateRequest) HasNamespace ¶
func (o *SendTemplateRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*SendTemplateRequest) HasParams ¶
func (o *SendTemplateRequest) HasParams() bool
HasParams returns a boolean if a field has been set.
func (*SendTemplateRequest) HasPhone ¶
func (o *SendTemplateRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (*SendTemplateRequest) HasTemplate ¶
func (o *SendTemplateRequest) HasTemplate() bool
HasTemplate returns a boolean if a field has been set.
func (*SendTemplateRequest) HasUseMMlite ¶
func (o *SendTemplateRequest) HasUseMMlite() bool
HasUseMMlite returns a boolean if a field has been set.
func (SendTemplateRequest) MarshalJSON ¶
func (o SendTemplateRequest) MarshalJSON() ([]byte, error)
func (*SendTemplateRequest) SetLanguage ¶
func (o *SendTemplateRequest) SetLanguage(v SendTemplateRequestLanguage)
SetLanguage gets a reference to the given SendTemplateRequestLanguage and assigns it to the Language field.
func (*SendTemplateRequest) SetMessageActivitySharing ¶
func (o *SendTemplateRequest) SetMessageActivitySharing(v bool)
SetMessageActivitySharing gets a reference to the given bool and assigns it to the MessageActivitySharing field.
func (*SendTemplateRequest) SetMessageSendTtlSeconds ¶
func (o *SendTemplateRequest) SetMessageSendTtlSeconds(v int32)
SetMessageSendTtlSeconds gets a reference to the given int32 and assigns it to the MessageSendTtlSeconds field.
func (*SendTemplateRequest) SetNamespace ¶
func (o *SendTemplateRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*SendTemplateRequest) SetParams ¶
func (o *SendTemplateRequest) SetParams(v []interface{})
SetParams gets a reference to the given []interface{} and assigns it to the Params field.
func (*SendTemplateRequest) SetPhone ¶
func (o *SendTemplateRequest) SetPhone(v string)
SetPhone gets a reference to the given string and assigns it to the Phone field.
func (*SendTemplateRequest) SetTemplate ¶
func (o *SendTemplateRequest) SetTemplate(v string)
SetTemplate gets a reference to the given string and assigns it to the Template field.
func (*SendTemplateRequest) SetUseMMlite ¶
func (o *SendTemplateRequest) SetUseMMlite(v bool)
SetUseMMlite gets a reference to the given bool and assigns it to the UseMMlite field.
func (SendTemplateRequest) ToMap ¶
func (o SendTemplateRequest) ToMap() (map[string]interface{}, error)
type SendTemplateRequestLanguage ¶
type SendTemplateRequestLanguage struct {
Policy *string `json:"policy,omitempty"`
Code *string `json:"code,omitempty"`
}
SendTemplateRequestLanguage struct for SendTemplateRequestLanguage
func NewSendTemplateRequestLanguage ¶
func NewSendTemplateRequestLanguage() *SendTemplateRequestLanguage
NewSendTemplateRequestLanguage instantiates a new SendTemplateRequestLanguage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendTemplateRequestLanguageWithDefaults ¶
func NewSendTemplateRequestLanguageWithDefaults() *SendTemplateRequestLanguage
NewSendTemplateRequestLanguageWithDefaults instantiates a new SendTemplateRequestLanguage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendTemplateRequestLanguage) GetCode ¶
func (o *SendTemplateRequestLanguage) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*SendTemplateRequestLanguage) GetCodeOk ¶
func (o *SendTemplateRequestLanguage) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequestLanguage) GetPolicy ¶
func (o *SendTemplateRequestLanguage) GetPolicy() string
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*SendTemplateRequestLanguage) GetPolicyOk ¶
func (o *SendTemplateRequestLanguage) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendTemplateRequestLanguage) HasCode ¶
func (o *SendTemplateRequestLanguage) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*SendTemplateRequestLanguage) HasPolicy ¶
func (o *SendTemplateRequestLanguage) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (SendTemplateRequestLanguage) MarshalJSON ¶
func (o SendTemplateRequestLanguage) MarshalJSON() ([]byte, error)
func (*SendTemplateRequestLanguage) SetCode ¶
func (o *SendTemplateRequestLanguage) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*SendTemplateRequestLanguage) SetPolicy ¶
func (o *SendTemplateRequestLanguage) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (SendTemplateRequestLanguage) ToMap ¶
func (o SendTemplateRequestLanguage) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SetWhatsappBusinessEncryptionRequest ¶
type SetWhatsappBusinessEncryptionRequest struct {
// 2048-bit RSA public key in PEM format
BusinessPublicKey string `json:"business_public_key"`
}
SetWhatsappBusinessEncryptionRequest struct for SetWhatsappBusinessEncryptionRequest
func NewSetWhatsappBusinessEncryptionRequest ¶
func NewSetWhatsappBusinessEncryptionRequest(businessPublicKey string) *SetWhatsappBusinessEncryptionRequest
NewSetWhatsappBusinessEncryptionRequest instantiates a new SetWhatsappBusinessEncryptionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSetWhatsappBusinessEncryptionRequestWithDefaults ¶
func NewSetWhatsappBusinessEncryptionRequestWithDefaults() *SetWhatsappBusinessEncryptionRequest
NewSetWhatsappBusinessEncryptionRequestWithDefaults instantiates a new SetWhatsappBusinessEncryptionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKey ¶
func (o *SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKey() string
GetBusinessPublicKey returns the BusinessPublicKey field value
func (*SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKeyOk ¶
func (o *SetWhatsappBusinessEncryptionRequest) GetBusinessPublicKeyOk() (*string, bool)
GetBusinessPublicKeyOk returns a tuple with the BusinessPublicKey field value and a boolean to check if the value has been set.
func (SetWhatsappBusinessEncryptionRequest) MarshalJSON ¶
func (o SetWhatsappBusinessEncryptionRequest) MarshalJSON() ([]byte, error)
func (*SetWhatsappBusinessEncryptionRequest) SetBusinessPublicKey ¶
func (o *SetWhatsappBusinessEncryptionRequest) SetBusinessPublicKey(v string)
SetBusinessPublicKey sets field value
func (SetWhatsappBusinessEncryptionRequest) ToMap ¶
func (o SetWhatsappBusinessEncryptionRequest) ToMap() (map[string]interface{}, error)
func (*SetWhatsappBusinessEncryptionRequest) UnmarshalJSON ¶
func (o *SetWhatsappBusinessEncryptionRequest) UnmarshalJSON(data []byte) (err error)
type SuccessResponse ¶
type SuccessResponse struct {
// Operation result
Result *string `json:"result,omitempty"`
AdditionalProperties map[string]interface{}
}
SuccessResponse Generic success response
func NewSuccessResponse ¶
func NewSuccessResponse() *SuccessResponse
NewSuccessResponse instantiates a new SuccessResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSuccessResponseWithDefaults ¶
func NewSuccessResponseWithDefaults() *SuccessResponse
NewSuccessResponseWithDefaults instantiates a new SuccessResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SuccessResponse) GetResult ¶
func (o *SuccessResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*SuccessResponse) GetResultOk ¶
func (o *SuccessResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SuccessResponse) HasResult ¶
func (o *SuccessResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (SuccessResponse) MarshalJSON ¶
func (o SuccessResponse) MarshalJSON() ([]byte, error)
func (*SuccessResponse) SetResult ¶
func (o *SuccessResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (SuccessResponse) ToMap ¶
func (o SuccessResponse) ToMap() (map[string]interface{}, error)
func (*SuccessResponse) UnmarshalJSON ¶
func (o *SuccessResponse) UnmarshalJSON(data []byte) (err error)
type TemplatesAPIService ¶
type TemplatesAPIService service
TemplatesAPIService TemplatesAPI service
func (*TemplatesAPIService) AddTemplate ¶
func (a *TemplatesAPIService) AddTemplate(ctx context.Context) ApiAddTemplateRequest
AddTemplate Create message template
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAddTemplateRequest
func (*TemplatesAPIService) AddTemplateExecute ¶
func (a *TemplatesAPIService) AddTemplateExecute(r ApiAddTemplateRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*TemplatesAPIService) ListTemplates ¶
func (a *TemplatesAPIService) ListTemplates(ctx context.Context) ApiListTemplatesRequest
ListTemplates Get templates list
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListTemplatesRequest
func (*TemplatesAPIService) ListTemplatesExecute ¶
func (a *TemplatesAPIService) ListTemplatesExecute(r ApiListTemplatesRequest) (*ListTemplates200Response, *http.Response, error)
Execute executes the request
@return ListTemplates200Response
func (*TemplatesAPIService) RemoveTemplate ¶
func (a *TemplatesAPIService) RemoveTemplate(ctx context.Context) ApiRemoveTemplateRequest
RemoveTemplate Remove message template
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRemoveTemplateRequest
func (*TemplatesAPIService) RemoveTemplateExecute ¶
func (a *TemplatesAPIService) RemoveTemplateExecute(r ApiRemoveTemplateRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*TemplatesAPIService) SendTemplate ¶
func (a *TemplatesAPIService) SendTemplate(ctx context.Context) ApiSendTemplateRequest
SendTemplate Send Template Message
Send a WhatsApp template message (works outside the 24-hour session window).
Supported `params` button `sub_type` values include: `url`, `quick_reply`, `copy_code` / `coupon_code`, `catalog`, `flow`, `limited_time_offer`, and **`order_details`** (WhatsApp Payments **India only** — requires an approved Utility template with an ORDER_DETAILS button).
For India order/invoice payments outside 24h, include a button component:
```json
{
"type": "button",
"sub_type": "order_details",
"index": 0,
"parameters": [{
"type": "action",
"action": { "order_details": { "reference_id": "...", "currency": "INR", "order": {} } }
}]
}
```
Convenience wrapper with structured fields: `POST /sendOrderDetails`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendTemplateRequest
func (*TemplatesAPIService) SendTemplateExecute ¶
func (a *TemplatesAPIService) SendTemplateExecute(r ApiSendTemplateRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type UpdateMeRequest ¶
type UpdateMeRequest struct {
// Profile About section
About *string `json:"about,omitempty"`
Address *string `json:"address,omitempty"`
// Business description (max 256 characters)
Description *string `json:"description,omitempty"`
Email *string `json:"email,omitempty"`
// Industry of the business
Vertical *string `json:"vertical,omitempty"`
// HTTPS URL or data:image/...;base64,... payload
Photo *string `json:"photo,omitempty"`
Websites []string `json:"websites,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateMeRequest struct for UpdateMeRequest
func NewUpdateMeRequest ¶
func NewUpdateMeRequest() *UpdateMeRequest
NewUpdateMeRequest instantiates a new UpdateMeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateMeRequestWithDefaults ¶
func NewUpdateMeRequestWithDefaults() *UpdateMeRequest
NewUpdateMeRequestWithDefaults instantiates a new UpdateMeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateMeRequest) GetAbout ¶
func (o *UpdateMeRequest) GetAbout() string
GetAbout returns the About field value if set, zero value otherwise.
func (*UpdateMeRequest) GetAboutOk ¶
func (o *UpdateMeRequest) GetAboutOk() (*string, bool)
GetAboutOk returns a tuple with the About field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetAddress ¶
func (o *UpdateMeRequest) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*UpdateMeRequest) GetAddressOk ¶
func (o *UpdateMeRequest) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetDescription ¶
func (o *UpdateMeRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateMeRequest) GetDescriptionOk ¶
func (o *UpdateMeRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetEmail ¶
func (o *UpdateMeRequest) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UpdateMeRequest) GetEmailOk ¶
func (o *UpdateMeRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetPhoto ¶
func (o *UpdateMeRequest) GetPhoto() string
GetPhoto returns the Photo field value if set, zero value otherwise.
func (*UpdateMeRequest) GetPhotoOk ¶
func (o *UpdateMeRequest) GetPhotoOk() (*string, bool)
GetPhotoOk returns a tuple with the Photo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetVertical ¶
func (o *UpdateMeRequest) GetVertical() string
GetVertical returns the Vertical field value if set, zero value otherwise.
func (*UpdateMeRequest) GetVerticalOk ¶
func (o *UpdateMeRequest) GetVerticalOk() (*string, bool)
GetVerticalOk returns a tuple with the Vertical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) GetWebsites ¶
func (o *UpdateMeRequest) GetWebsites() []string
GetWebsites returns the Websites field value if set, zero value otherwise.
func (*UpdateMeRequest) GetWebsitesOk ¶
func (o *UpdateMeRequest) GetWebsitesOk() ([]string, bool)
GetWebsitesOk returns a tuple with the Websites field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateMeRequest) HasAbout ¶
func (o *UpdateMeRequest) HasAbout() bool
HasAbout returns a boolean if a field has been set.
func (*UpdateMeRequest) HasAddress ¶
func (o *UpdateMeRequest) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*UpdateMeRequest) HasDescription ¶
func (o *UpdateMeRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateMeRequest) HasEmail ¶
func (o *UpdateMeRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateMeRequest) HasPhoto ¶
func (o *UpdateMeRequest) HasPhoto() bool
HasPhoto returns a boolean if a field has been set.
func (*UpdateMeRequest) HasVertical ¶
func (o *UpdateMeRequest) HasVertical() bool
HasVertical returns a boolean if a field has been set.
func (*UpdateMeRequest) HasWebsites ¶
func (o *UpdateMeRequest) HasWebsites() bool
HasWebsites returns a boolean if a field has been set.
func (UpdateMeRequest) MarshalJSON ¶
func (o UpdateMeRequest) MarshalJSON() ([]byte, error)
func (*UpdateMeRequest) SetAbout ¶
func (o *UpdateMeRequest) SetAbout(v string)
SetAbout gets a reference to the given string and assigns it to the About field.
func (*UpdateMeRequest) SetAddress ¶
func (o *UpdateMeRequest) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*UpdateMeRequest) SetDescription ¶
func (o *UpdateMeRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateMeRequest) SetEmail ¶
func (o *UpdateMeRequest) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UpdateMeRequest) SetPhoto ¶
func (o *UpdateMeRequest) SetPhoto(v string)
SetPhoto gets a reference to the given string and assigns it to the Photo field.
func (*UpdateMeRequest) SetVertical ¶
func (o *UpdateMeRequest) SetVertical(v string)
SetVertical gets a reference to the given string and assigns it to the Vertical field.
func (*UpdateMeRequest) SetWebsites ¶
func (o *UpdateMeRequest) SetWebsites(v []string)
SetWebsites gets a reference to the given []string and assigns it to the Websites field.
func (UpdateMeRequest) ToMap ¶
func (o UpdateMeRequest) ToMap() (map[string]interface{}, error)
func (*UpdateMeRequest) UnmarshalJSON ¶
func (o *UpdateMeRequest) UnmarshalJSON(data []byte) (err error)
type UsersAPIService ¶
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) BlockUser ¶
func (a *UsersAPIService) BlockUser(ctx context.Context) ApiBlockUserRequest
BlockUser Block WhatsApp user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBlockUserRequest
func (*UsersAPIService) BlockUserExecute ¶
func (a *UsersAPIService) BlockUserExecute(r ApiBlockUserRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
func (*UsersAPIService) ListBlockedUsers ¶
func (a *UsersAPIService) ListBlockedUsers(ctx context.Context) ApiListBlockedUsersRequest
ListBlockedUsers List blocked WhatsApp users
Returns users currently blocked on this WhatsApp channel (WABA `GET /block_users`). Same channel token auth as `blockUser` / `unblockUser`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListBlockedUsersRequest
func (*UsersAPIService) ListBlockedUsersExecute ¶
func (a *UsersAPIService) ListBlockedUsersExecute(r ApiListBlockedUsersRequest) (*ListBlockedUsers200Response, *http.Response, error)
Execute executes the request
@return ListBlockedUsers200Response
func (*UsersAPIService) UnblockUser ¶
func (a *UsersAPIService) UnblockUser(ctx context.Context) ApiUnblockUserRequest
UnblockUser Unblock WhatsApp user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUnblockUserRequest
func (*UsersAPIService) UnblockUserExecute ¶
func (a *UsersAPIService) UnblockUserExecute(r ApiUnblockUserRequest) (*SuccessResponse, *http.Response, error)
Execute executes the request
@return SuccessResponse
type WebhooksAPIService ¶
type WebhooksAPIService service
WebhooksAPIService WebhooksAPI service
func (*WebhooksAPIService) GetWebhook ¶
func (a *WebhooksAPIService) GetWebhook(ctx context.Context) ApiGetWebhookRequest
GetWebhook Get webhook URL
Returns the configured client webhook URL for this channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetWebhookRequest
func (*WebhooksAPIService) GetWebhookExecute ¶
func (a *WebhooksAPIService) GetWebhookExecute(r ApiGetWebhookRequest) (*GetWebhook200Response, *http.Response, error)
Execute executes the request
@return GetWebhook200Response
func (*WebhooksAPIService) SetWebhook ¶
func (a *WebhooksAPIService) SetWebhook(ctx context.Context) ApiSetWebhookRequest
SetWebhook Set webhook URL
Configure the client webhook URL for inbound events.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSetWebhookRequest
func (*WebhooksAPIService) SetWebhookExecute ¶
func (a *WebhooksAPIService) SetWebhookExecute(r ApiSetWebhookRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
Source Files
¶
- api_calling.go
- api_catalog.go
- api_channel.go
- api_flows.go
- api_groups.go
- api_messaging.go
- api_profile.go
- api_templates.go
- api_users.go
- api_webhooks.go
- client.go
- configuration.go
- model_add_template_request.go
- model_block_user_request.go
- model_conversational_automation.go
- model_conversational_automation_commands_inner.go
- model_create_commerce_200_response.go
- model_create_commerce_request.go
- model_create_commerce_request_params.go
- model_create_groups_200_response.go
- model_create_read_message_200_response.go
- model_create_read_message_401_response.go
- model_create_read_message_request.go
- model_delete_flows_flow_id_200_response.go
- model_delete_groups_group_id_200_response.go
- model_delete_media_legacy_request.go
- model_error_response.go
- model_get_commerce_200_response_inner.go
- model_get_mm_lite_status_200_response.go
- model_get_webhook_200_response.go
- model_get_whatsapp_business_encryption_200_response.go
- model_list_blocked_users_200_response.go
- model_list_flows_200_response.go
- model_list_messages_200_response.go
- model_list_templates_200_response.go
- model_message_sent_response.go
- model_patch_flows_flow_id_assets_200_response.go
- model_profile_info.go
- model_retrieve_media_200_response.go
- model_send_address_message_request.go
- model_send_button_request.go
- model_send_button_request_sections_inner.go
- model_send_button_request_sections_inner_reply.go
- model_send_carousel_request_1.go
- model_send_contact_request.go
- model_send_contact_request_contacts_inner.go
- model_send_contact_request_contacts_inner_name.go
- model_send_contact_request_contacts_inner_org.go
- model_send_contact_request_contacts_inner_phones_inner.go
- model_send_cta_url_request.go
- model_send_file_request.go
- model_send_flow_request_1.go
- model_send_flow_request_1_header.go
- model_send_flow_request_header.go
- model_send_list_request.go
- model_send_list_request_sections_inner.go
- model_send_list_request_sections_inner_rows_inner.go
- model_send_location_request_1.go
- model_send_location_request_request.go
- model_send_message_request.go
- model_send_order_details_request.go
- model_send_order_details_request_language.go
- model_send_order_details_request_order.go
- model_send_order_details_request_order_items_inner.go
- model_send_order_details_request_order_items_inner_amount.go
- model_send_payment_request_request.go
- model_send_reaction_request.go
- model_send_sticker_request.go
- model_send_template_request.go
- model_send_template_request_language.go
- model_set_whatsapp_business_encryption_request.go
- model_success_response.go
- model_update_me_request.go
- response.go
- utils.go