onemsgsdk

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 21 Imported by: 0

README

1msg Go SDK

Official Go SDK for the 1msg WhatsApp Business API.

This document is generated from the public OpenAPI contract. It covers install, auth, quick start, and every public operation available in the client.

Go module github.com/1msg/1msg-sdk-go
Source github.com/1msg/1msg-sdk-go
API docs docs.1msg.io
Platform platform.1msg.io
Support support@1msg.io
OpenAPI version 1.0.0
Operations 60
AI agent guide AGENTS.md

Install

go get github.com/1msg/1msg-sdk-go@v1.1.0

Requirements

Variable Where to get it Example
baseUrl Platform → channel → API host https://api.1msg.io
instanceId Platform → channel id ODI371267300
token Platform → channel → API token JWT or API key

Use environment variables (MSG_API_TOKEN, MSG_INSTANCE_ID). Never commit tokens.

Quick start

package main

import (
  "context"
  "os"

  onemsgsdk "github.com/1msg/1msg-sdk-go"
)

func main() {
  cfg := onemsgsdk.NewConfiguration()
  cfg.Servers = onemsgsdk.ServerConfigurations{
    {URL: "https://api.1msg.io/" + os.Getenv("MSG_INSTANCE_ID")},
  }
  client := onemsgsdk.NewAPIClient(cfg)

  _, _, err := client.MessagingAPI.SendMessage(context.Background()).
    Token(os.Getenv("MSG_API_TOKEN")).
    Body("Hello from 1MSG SDK").
    ChatId("12020721369@c.us").
    Execute()
  if err != nil {
    panic(err)
  }
}

Authentication

All requests use query-token auth:

https://{baseUrl}/{instanceId}/{path}?token={token}

Pass the channel token as the first argument to generated API methods.

Recipient addressing

  • chatId: 12020721369@c.us (1:1) or ...@g.us (group)
  • phone: country code + number, no +
  • Exactly one of chatId | phone per request

24-hour messaging window

Free-form sendMessage only works inside the 24h customer-care window. Outside that window use sendTemplate.

Client map

client.MessagingAPI   // send/list messages, media, interactive
client.ProfileAPI     // getMe
client.GroupsAPI      // create/list/manage groups
client.FlowsAPI       // WhatsApp Flows lifecycle
client.TemplatesAPI   // listTemplates
client.ChannelAPI     // channel helpers
client.CallingAPI     // calling
client.WebhooksAPI    // webhooks

Package notes

Go module path is github.com/1msg/1msg-sdk-go. Import package name is onemsgsdk.

API reference

API groups: calling, catalog, channel, flows, groups, messaging, profile, templates, users, webhooks.

calling
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.

http: GET /callingSettings
operationId: getCallingSettings
clientGroup: calling
responses: 200, 401, 500
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.

http: POST /initiateCall
operationId: initiateCall
clientGroup: calling
responses: 200, 401, 500
updateCallingSettings

Update calling settings

Update WhatsApp Calling API settings (beta). Requires Meta Calling enablement. Trial/subscription-limited channels are blocked.

http: POST /callingSettings
operationId: updateCallingSettings
clientGroup: calling
responses: 200, 401, 500
catalog
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).

http: POST /commerce
operationId: createCommerce
clientGroup: catalog
responses: 200, 401, 500
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).

http: GET /commerce
operationId: getCommerce
clientGroup: catalog
responses: 200, 401, 500
channel
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.

http: GET /conversationalAutomation
operationId: getConversationalAutomation
clientGroup: channel
responses: 200, 401, 500
getStatus

Get channel status

Returns WhatsApp Business API client connection status.

http: GET /status
operationId: getStatus
clientGroup: channel
responses: 200, 401, 500
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.

http: POST /conversationalAutomation
operationId: setConversationalAutomation
clientGroup: channel
responses: 200, 401, 500
flows
createFlows

Create Flow

http: POST /flows
operationId: createFlows
clientGroup: flows
responses: 200
createFlowsFlowIdDeprecate

Deprecate Flow

http: POST /flows/{flowId}/deprecate
operationId: createFlowsFlowIdDeprecate
clientGroup: flows
responses: 200
createFlowsFlowIdPublish

Publish Flow

http: POST /flows/{flowId}/publish
operationId: createFlowsFlowIdPublish
clientGroup: flows
responses: 200
deleteFlowsFlowId

Delete Flow

http: DELETE /flows/{flowId}
operationId: deleteFlowsFlowId
clientGroup: flows
responses: 200
getFlowsFlowId

Get Flow Details

http: GET /flows/{flowId}
operationId: getFlowsFlowId
clientGroup: flows
responses: 200
getFlowsFlowIdPreview

Preview Flow

http: GET /flows/{flowId}/preview
operationId: getFlowsFlowIdPreview
clientGroup: flows
responses: 200
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.

http: GET /whatsapp_business_encryption
operationId: getWhatsappBusinessEncryption
clientGroup: flows
responses: 200, 401, 500
listFlows

List Flows

http: GET /flows
operationId: listFlows
clientGroup: flows
responses: 200
patchFlowsFlowIdAssets

Update Flow Structure

http: PATCH /flows/{flowId}/assets
operationId: patchFlowsFlowIdAssets
clientGroup: flows
responses: 200
patchFlowsFlowIdMetadata

Update Flow Metadata

http: PATCH /flows/{flowId}/metadata
operationId: patchFlowsFlowIdMetadata
clientGroup: flows
responses: 200
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.

http: POST /whatsapp_business_encryption
operationId: setWhatsappBusinessEncryption
clientGroup: flows
responses: 200, 400, 401, 500
groups
createGroups

Create Group

http: POST /groups
operationId: createGroups
clientGroup: groups
responses: 200
createGroupsGroupId

Update Group Info

http: POST /groups/{groupId}
operationId: createGroupsGroupId
clientGroup: groups
responses: 200

Reset Invite Link

http: POST /groups/{groupId}/inviteLink
operationId: createGroupsGroupIdInvitelink
clientGroup: groups
responses: 200
deleteGroupsGroupId

Delete Group

http: DELETE /groups/{groupId}
operationId: deleteGroupsGroupId
clientGroup: groups
responses: 200
getGroupsGroupId

Get Group Info

http: GET /groups/{groupId}
operationId: getGroupsGroupId
clientGroup: groups
responses: 200

Get Invite Link

http: GET /groups/{groupId}/inviteLink
operationId: getGroupsGroupIdInvitelink
clientGroup: groups
responses: 200
listGroups

Get Groups List

http: GET /groups
operationId: listGroups
clientGroup: groups
responses: 200
messaging
createReadMessage

Mark message as read

http: POST /readMessage
operationId: createReadMessage
clientGroup: messaging
responses: 200, 401
createUploadMedia

Upload media

http: POST /uploadMedia
operationId: createUploadMedia
clientGroup: messaging
responses: 200
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.

http: DELETE /media/{mediaId}
operationId: deleteMedia
clientGroup: messaging
responses: 200, 400, 401, 500
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).

http: POST /deleteMedia
operationId: deleteMediaLegacy
clientGroup: messaging
responses: 200, 400, 401, 500
getMmLiteStatus

Get MM Lite availability and status

http: GET /mmLiteStatus
operationId: getMmLiteStatus
clientGroup: messaging
responses: 200, 401, 500
listMessages

Get messages list

http: GET /messages
operationId: listMessages
clientGroup: messaging
responses: 200
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.

http: GET /retrieveMedia
operationId: retrieveMedia
clientGroup: messaging
responses: 200, 400, 401, 500
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 (+91IN, +65SG) 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.

http: POST /sendAddressMessage
operationId: sendAddressMessage
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendButton

Send Reply Buttons Message

http: POST /sendButton
operationId: sendButton
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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.

http: POST /sendCarousel
operationId: sendCarousel
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendContact

Send a Contact

http: POST /sendContact
operationId: sendContact
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendCtaUrl

Send CTA URL interactive message

Send an interactive message with a single call-to-action URL button.

http: POST /sendCtaUrl
operationId: sendCtaUrl
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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.

http: POST /sendFile
operationId: sendFile
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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.

http: POST /sendFlow
operationId: sendFlow
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendList

Send List Message

http: POST /sendList
operationId: sendList
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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.

http: POST /sendLocation
operationId: sendLocation
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendLocationRequest

Send Location Request Message

http: POST /sendLocationRequest
operationId: sendLocationRequest
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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.

http: POST /sendMessage
operationId: sendMessage
clientGroup: messaging
responses: 200, 400, 401, 429, 500
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 } } } } }] }

http: POST /sendOrderDetails
operationId: sendOrderDetails
clientGroup: messaging
responses: 200, 400, 401, 500
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.

http: POST /sendPaymentRequest
operationId: sendPaymentRequest
clientGroup: messaging
responses: 200, 400, 401, 500
sendProduct

Send a Product

http: POST /sendProduct
operationId: sendProduct
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendReaction

Send Reaction

http: POST /sendReaction
operationId: sendReaction
clientGroup: messaging
responses: 200, 400, 401, 429, 500
sendSticker

Send sticker message

Send a WhatsApp sticker by mediaId or link URL.

http: POST /sendSticker
operationId: sendSticker
clientGroup: messaging
responses: 200, 400, 401, 429, 500
profile
getMe

Get Profile Info

Get WhatsApp Business Account profile information

http: GET /me
operationId: getMe
clientGroup: profile
responses: 200, 401, 500
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.

http: POST /me
operationId: updateMe
clientGroup: profile
responses: 200, 401, 422, 500
templates
addTemplate

Create message template

http: POST /addTemplate
operationId: addTemplate
clientGroup: templates
responses: 200, 401, 500
listTemplates

Get templates list

http: GET /templates
operationId: listTemplates
clientGroup: templates
responses: 200
removeTemplate

Remove message template

http: POST /removeTemplate
operationId: removeTemplate
clientGroup: templates
responses: 200, 401, 500
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.

http: POST /sendTemplate
operationId: sendTemplate
clientGroup: templates
responses: 200
users
blockUser

Block WhatsApp user

http: POST /blockUser
operationId: blockUser
clientGroup: users
responses: 200, 400, 401, 500
listBlockedUsers

List blocked WhatsApp users

Returns users currently blocked on this WhatsApp channel (WABA GET /block_users). Same channel token auth as blockUser / unblockUser.

http: GET /blockedUsers
operationId: listBlockedUsers
clientGroup: users
responses: 200, 401, 500
unblockUser

Unblock WhatsApp user

http: POST /unblockUser
operationId: unblockUser
clientGroup: users
responses: 200, 400, 401, 500
webhooks
getWebhook

Get webhook URL

Returns the configured client webhook URL for this channel.

http: GET /webhook
operationId: getWebhook
clientGroup: webhooks
responses: 200, 401, 500
setWebhook

Set webhook URL

Configure the client webhook URL for inbound events.

http: POST /webhook
operationId: setWebhook
clientGroup: webhooks
responses: 200, 401, 500

Cookbook

  1. Install the package from the registry above.
  2. Set MSG_API_TOKEN and MSG_INSTANCE_ID.
  3. Create the messaging client with {baseUrl}/{instanceId}.
  4. Call sendMessage inside the 24h window, or sendTemplate outside it.
  5. Use group/profile/flows/templates APIs for advanced workflows.

FAQ

Where is the package? See the registry link in the header table.

TypeScript has createClient — does this SDK? Generated OpenAPI clients use per-API classes (MessagingApi, ProfileApi, …) instead of a facade.

Can I use this in a browser? No — server-side only. Never expose tokens.

Error handling

Code Meaning
400 Invalid parameters or body
401 Invalid or missing token
429 Rate limit exceeded
500 Internal server error

Regeneration and versioning

Docs regenerate with node gen/generate-sdk-docs-langs.js. Registry versions are immutable.

License

MIT © 1MSG

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

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 (ApiBlockUserRequest) Token

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 (ApiCreateCommerceRequest) Token

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

JWT token or API key for authorization

func (ApiCreateFlowsFlowIdDeprecateRequest) WabaAccountId

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

JWT token or API key for authorization

func (ApiCreateFlowsFlowIdPublishRequest) WabaAccountId

type ApiCreateFlowsRequest

type ApiCreateFlowsRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateFlowsRequest) Execute

func (ApiCreateFlowsRequest) Token

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

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

JWT token or API key for authorization

type ApiCreateGroupsRequest

type ApiCreateGroupsRequest struct {
	ApiService *GroupsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateGroupsRequest) Execute

func (ApiCreateGroupsRequest) Token

JWT token or API key for authorization

type ApiCreateReadMessageRequest

type ApiCreateReadMessageRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiCreateReadMessageRequest) Execute

func (ApiCreateReadMessageRequest) MessageId

func (ApiCreateReadMessageRequest) MsgId

func (ApiCreateReadMessageRequest) Token

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 (ApiCreateUploadMediaRequest) RequestBody

func (r ApiCreateUploadMediaRequest) RequestBody(requestBody map[string]interface{}) ApiCreateUploadMediaRequest

func (ApiCreateUploadMediaRequest) Token

JWT token or API key for authorization

type ApiDeleteFlowsFlowIdRequest

type ApiDeleteFlowsFlowIdRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteFlowsFlowIdRequest) Execute

func (ApiDeleteFlowsFlowIdRequest) Token

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 (ApiDeleteGroupsGroupIdRequest) Token

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 (ApiDeleteMediaLegacyRequest) Token

JWT token or API key for authorization

type ApiDeleteMediaRequest

type ApiDeleteMediaRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteMediaRequest) Execute

func (ApiDeleteMediaRequest) Token

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

JWT token or API key for authorization

type ApiGetCommerceRequest

type ApiGetCommerceRequest struct {
	ApiService *CatalogAPIService
	// contains filtered or unexported fields
}

func (ApiGetCommerceRequest) Execute

func (ApiGetCommerceRequest) Token

JWT token or API key for authorization

type ApiGetConversationalAutomationRequest

type ApiGetConversationalAutomationRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiGetConversationalAutomationRequest) Execute

func (ApiGetConversationalAutomationRequest) Token

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

JWT token or API key for authorization

func (ApiGetFlowsFlowIdPreviewRequest) WabaAccountId

type ApiGetFlowsFlowIdRequest

type ApiGetFlowsFlowIdRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiGetFlowsFlowIdRequest) Execute

func (ApiGetFlowsFlowIdRequest) Token

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

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

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 (ApiGetMmLiteStatusRequest) Token

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

JWT token or API key for authorization

type ApiGetWebhookRequest

type ApiGetWebhookRequest struct {
	ApiService *WebhooksAPIService
	// contains filtered or unexported fields
}

func (ApiGetWebhookRequest) Execute

func (ApiGetWebhookRequest) Token

JWT token or API key for authorization

type ApiGetWhatsappBusinessEncryptionRequest

type ApiGetWhatsappBusinessEncryptionRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiGetWhatsappBusinessEncryptionRequest) Execute

func (ApiGetWhatsappBusinessEncryptionRequest) Token

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

JWT token or API key for authorization

type ApiListBlockedUsersRequest

type ApiListBlockedUsersRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiListBlockedUsersRequest) Execute

func (ApiListBlockedUsersRequest) Token

JWT token or API key for authorization

type ApiListFlowsRequest

type ApiListFlowsRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiListFlowsRequest) Execute

func (ApiListFlowsRequest) Token

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

JWT token or API key for authorization

type ApiListMessagesRequest

type ApiListMessagesRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiListMessagesRequest) Execute

func (ApiListMessagesRequest) Token

JWT token or API key for authorization

type ApiListTemplatesRequest

type ApiListTemplatesRequest struct {
	ApiService *TemplatesAPIService
	// contains filtered or unexported fields
}

func (ApiListTemplatesRequest) Execute

func (ApiListTemplatesRequest) Token

JWT token or API key for authorization

type ApiPatchFlowsFlowIdAssetsRequest

type ApiPatchFlowsFlowIdAssetsRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiPatchFlowsFlowIdAssetsRequest) Execute

func (ApiPatchFlowsFlowIdAssetsRequest) Token

JWT token or API key for authorization

func (ApiPatchFlowsFlowIdAssetsRequest) WabaAccountId

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

JWT token or API key for authorization

func (ApiPatchFlowsFlowIdMetadataRequest) WabaAccountId

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

JWT token or API key for authorization

type ApiRetrieveMediaRequest

type ApiRetrieveMediaRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveMediaRequest) Execute

func (ApiRetrieveMediaRequest) MediaId

func (ApiRetrieveMediaRequest) Token

JWT token or API key for authorization

type ApiSendAddressMessageRequest

type ApiSendAddressMessageRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendAddressMessageRequest) Execute

func (ApiSendAddressMessageRequest) SendAddressMessageRequest

func (r ApiSendAddressMessageRequest) SendAddressMessageRequest(sendAddressMessageRequest SendAddressMessageRequest) ApiSendAddressMessageRequest

func (ApiSendAddressMessageRequest) Token

JWT token or API key for authorization

type ApiSendButtonRequest

type ApiSendButtonRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendButtonRequest) Execute

func (ApiSendButtonRequest) SendButtonRequest

func (r ApiSendButtonRequest) SendButtonRequest(sendButtonRequest SendButtonRequest) ApiSendButtonRequest

func (ApiSendButtonRequest) Token

JWT token or API key for authorization

type ApiSendCarouselRequest

type ApiSendCarouselRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendCarouselRequest) Body

Text shown above the carousel. Optional. If omitted and params include a body component, the body will be taken from params.

func (ApiSendCarouselRequest) ChatId

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 (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

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

JWT token or API key for authorization

type ApiSendContactRequest

type ApiSendContactRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendContactRequest) Execute

func (ApiSendContactRequest) SendContactRequest

func (r ApiSendContactRequest) SendContactRequest(sendContactRequest SendContactRequest) ApiSendContactRequest

func (ApiSendContactRequest) Token

JWT token or API key for authorization

type ApiSendCtaUrlRequest

type ApiSendCtaUrlRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendCtaUrlRequest) Execute

func (ApiSendCtaUrlRequest) SendCtaUrlRequest

func (r ApiSendCtaUrlRequest) SendCtaUrlRequest(sendCtaUrlRequest SendCtaUrlRequest) ApiSendCtaUrlRequest

func (ApiSendCtaUrlRequest) Token

JWT token or API key for authorization

type ApiSendFileRequest

type ApiSendFileRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendFileRequest) Body

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 (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 (ApiSendFileRequest) QuotedMsgId

func (r ApiSendFileRequest) QuotedMsgId(quotedMsgId string) ApiSendFileRequest

func (ApiSendFileRequest) Token

JWT token or API key for authorization

func (ApiSendFileRequest) Voice

Native WhatsApp voice note (audio/ogg only)

type ApiSendFlowRequest

type ApiSendFlowRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendFlowRequest) Body

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 (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 (ApiSendFlowRequest) Mode

Flow mode (draft or published). If omitted, provider default applies

func (ApiSendFlowRequest) Phone

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

JWT token or API key for authorization

type ApiSendListRequest

type ApiSendListRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendListRequest) Execute

func (ApiSendListRequest) SendListRequest

func (r ApiSendListRequest) SendListRequest(sendListRequest SendListRequest) ApiSendListRequest

func (ApiSendListRequest) Token

JWT token or API key for authorization

type ApiSendLocationRequest

type ApiSendLocationRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendLocationRequest) Address

Address of the location. Only displayed if name is present. Example: 9766 Valley View St., New York, NY 10024

func (ApiSendLocationRequest) ChatId

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 (ApiSendLocationRequest) Lat

Latitude of the location. Example: 45.018337

func (ApiSendLocationRequest) Lng

Longitude of the location. Example: -73.968285

func (ApiSendLocationRequest) Name

Name of the location. Example: Facebook HQ

func (ApiSendLocationRequest) Phone

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

JWT token or API key for authorization

type ApiSendLocationRequestRequest

type ApiSendLocationRequestRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendLocationRequestRequest) Execute

func (ApiSendLocationRequestRequest) SendLocationRequestRequest

func (r ApiSendLocationRequestRequest) SendLocationRequestRequest(sendLocationRequestRequest SendLocationRequestRequest) ApiSendLocationRequestRequest

func (ApiSendLocationRequestRequest) Token

JWT token or API key for authorization

type ApiSendMessageRequest

type ApiSendMessageRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendMessageRequest) Body

Message text, UTF-8 or UTF-16 string with emoji

func (ApiSendMessageRequest) ChatId

Chat ID in format: phone@c.us (individual) or phone@g.us (group)

func (ApiSendMessageRequest) Execute

func (ApiSendMessageRequest) Phone

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

JWT token or API key for authorization

type ApiSendOrderDetailsRequest

type ApiSendOrderDetailsRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendOrderDetailsRequest) Execute

func (ApiSendOrderDetailsRequest) SendOrderDetailsRequest

func (r ApiSendOrderDetailsRequest) SendOrderDetailsRequest(sendOrderDetailsRequest SendOrderDetailsRequest) ApiSendOrderDetailsRequest

func (ApiSendOrderDetailsRequest) Token

JWT token or API key for authorization

type ApiSendPaymentRequestRequest

type ApiSendPaymentRequestRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendPaymentRequestRequest) Execute

func (ApiSendPaymentRequestRequest) SendPaymentRequestRequest

func (r ApiSendPaymentRequestRequest) SendPaymentRequestRequest(sendPaymentRequestRequest SendPaymentRequestRequest) ApiSendPaymentRequestRequest

func (ApiSendPaymentRequestRequest) Token

JWT token or API key for authorization

type ApiSendProductRequest

type ApiSendProductRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendProductRequest) Execute

func (ApiSendProductRequest) RequestBody

func (r ApiSendProductRequest) RequestBody(requestBody map[string]interface{}) ApiSendProductRequest

func (ApiSendProductRequest) Token

JWT token or API key for authorization

type ApiSendReactionRequest

type ApiSendReactionRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendReactionRequest) Execute

func (ApiSendReactionRequest) SendReactionRequest

func (r ApiSendReactionRequest) SendReactionRequest(sendReactionRequest SendReactionRequest) ApiSendReactionRequest

func (ApiSendReactionRequest) Token

JWT token or API key for authorization

type ApiSendStickerRequest

type ApiSendStickerRequest struct {
	ApiService *MessagingAPIService
	// contains filtered or unexported fields
}

func (ApiSendStickerRequest) Execute

func (ApiSendStickerRequest) SendStickerRequest

func (r ApiSendStickerRequest) SendStickerRequest(sendStickerRequest SendStickerRequest) ApiSendStickerRequest

func (ApiSendStickerRequest) Token

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

JWT token or API key for authorization

type ApiSetConversationalAutomationRequest

type ApiSetConversationalAutomationRequest struct {
	ApiService *ChannelAPIService
	// contains filtered or unexported fields
}

func (ApiSetConversationalAutomationRequest) ConversationalAutomation

func (ApiSetConversationalAutomationRequest) Execute

func (r ApiSetConversationalAutomationRequest) Execute() (map[string]interface{}, *http.Response, error)

func (ApiSetConversationalAutomationRequest) Token

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

JWT token or API key for authorization

type ApiSetWhatsappBusinessEncryptionRequest

type ApiSetWhatsappBusinessEncryptionRequest struct {
	ApiService *FlowsAPIService
	// contains filtered or unexported fields
}

func (ApiSetWhatsappBusinessEncryptionRequest) Execute

func (ApiSetWhatsappBusinessEncryptionRequest) SetWhatsappBusinessEncryptionRequest

func (r ApiSetWhatsappBusinessEncryptionRequest) SetWhatsappBusinessEncryptionRequest(setWhatsappBusinessEncryptionRequest SetWhatsappBusinessEncryptionRequest) ApiSetWhatsappBusinessEncryptionRequest

func (ApiSetWhatsappBusinessEncryptionRequest) Token

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 (ApiUnblockUserRequest) Token

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

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

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

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

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

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

Execute executes the request

@return CreateCommerce200Response

func (*CatalogAPIService) GetCommerce

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

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

Execute executes the request

@return ConversationalAutomation

func (*ChannelAPIService) GetStatus

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

GetCommands returns the Commands field value if set, zero value otherwise.

func (*ConversationalAutomation) GetCommandsOk

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

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

GetParams returns the Params field value

func (*CreateCommerceRequest) GetParamsOk

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

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

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

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

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

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

Execute executes the request

@return GetWhatsappBusinessEncryption200Response

func (*FlowsAPIService) ListFlows

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

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

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

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

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

HasData returns a boolean if a field has been set.

func (GetWhatsappBusinessEncryption200Response) MarshalJSON

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

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

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 (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

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 (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

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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

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

Execute executes the request

@return CreateReadMessage200Response

func (*MessagingAPIService) CreateUploadMedia

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

Execute executes the request

@return SuccessResponse

func (*MessagingAPIService) DeleteMediaLegacy

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

Execute executes the request

@return SuccessResponse

Deprecated

func (*MessagingAPIService) GetMmLiteStatus

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

Execute executes the request

@return GetMmLiteStatus200Response

func (*MessagingAPIService) ListMessages

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

Execute executes the request

@return ListMessages200Response

func (*MessagingAPIService) RetrieveMedia

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

Execute executes the request

@return RetrieveMedia200Response

func (*MessagingAPIService) SendAddressMessage

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendButton

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendCarousel

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendContact

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendCtaUrl

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendFile

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendFlow

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendList

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendLocation

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendLocationRequest

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendMessage

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendOrderDetails

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendPaymentRequest

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendProduct

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendReaction

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

Execute executes the request

@return MessageSentResponse

func (*MessagingAPIService) SendSticker

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

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 (NullableAddTemplateRequest) IsSet

func (v NullableAddTemplateRequest) IsSet() bool

func (NullableAddTemplateRequest) MarshalJSON

func (v NullableAddTemplateRequest) MarshalJSON() ([]byte, error)

func (*NullableAddTemplateRequest) Set

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 (NullableBlockUserRequest) IsSet

func (v NullableBlockUserRequest) IsSet() bool

func (NullableBlockUserRequest) MarshalJSON

func (v NullableBlockUserRequest) MarshalJSON() ([]byte, error)

func (*NullableBlockUserRequest) Set

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 (NullableConversationalAutomation) Get

func (NullableConversationalAutomation) IsSet

func (NullableConversationalAutomation) MarshalJSON

func (v NullableConversationalAutomation) MarshalJSON() ([]byte, error)

func (*NullableConversationalAutomation) Set

func (*NullableConversationalAutomation) UnmarshalJSON

func (v *NullableConversationalAutomation) UnmarshalJSON(src []byte) error

func (*NullableConversationalAutomation) Unset

type NullableConversationalAutomationCommandsInner

type NullableConversationalAutomationCommandsInner struct {
	// contains filtered or unexported fields
}

func (NullableConversationalAutomationCommandsInner) Get

func (NullableConversationalAutomationCommandsInner) IsSet

func (NullableConversationalAutomationCommandsInner) MarshalJSON

func (*NullableConversationalAutomationCommandsInner) Set

func (*NullableConversationalAutomationCommandsInner) UnmarshalJSON

func (*NullableConversationalAutomationCommandsInner) Unset

type NullableCreateCommerce200Response

type NullableCreateCommerce200Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateCommerce200Response) Get

func (NullableCreateCommerce200Response) IsSet

func (NullableCreateCommerce200Response) MarshalJSON

func (v NullableCreateCommerce200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateCommerce200Response) Set

func (*NullableCreateCommerce200Response) UnmarshalJSON

func (v *NullableCreateCommerce200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateCommerce200Response) Unset

type NullableCreateCommerceRequest

type NullableCreateCommerceRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateCommerceRequest) Get

func (NullableCreateCommerceRequest) IsSet

func (NullableCreateCommerceRequest) MarshalJSON

func (v NullableCreateCommerceRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateCommerceRequest) Set

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 (NullableCreateCommerceRequestParams) Get

func (NullableCreateCommerceRequestParams) IsSet

func (NullableCreateCommerceRequestParams) MarshalJSON

func (v NullableCreateCommerceRequestParams) MarshalJSON() ([]byte, error)

func (*NullableCreateCommerceRequestParams) Set

func (*NullableCreateCommerceRequestParams) UnmarshalJSON

func (v *NullableCreateCommerceRequestParams) UnmarshalJSON(src []byte) error

func (*NullableCreateCommerceRequestParams) Unset

type NullableCreateGroups200Response

type NullableCreateGroups200Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateGroups200Response) Get

func (NullableCreateGroups200Response) IsSet

func (NullableCreateGroups200Response) MarshalJSON

func (v NullableCreateGroups200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateGroups200Response) Set

func (*NullableCreateGroups200Response) UnmarshalJSON

func (v *NullableCreateGroups200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateGroups200Response) Unset

type NullableCreateReadMessage200Response

type NullableCreateReadMessage200Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateReadMessage200Response) Get

func (NullableCreateReadMessage200Response) IsSet

func (NullableCreateReadMessage200Response) MarshalJSON

func (v NullableCreateReadMessage200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateReadMessage200Response) Set

func (*NullableCreateReadMessage200Response) UnmarshalJSON

func (v *NullableCreateReadMessage200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateReadMessage200Response) Unset

type NullableCreateReadMessage401Response

type NullableCreateReadMessage401Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateReadMessage401Response) Get

func (NullableCreateReadMessage401Response) IsSet

func (NullableCreateReadMessage401Response) MarshalJSON

func (v NullableCreateReadMessage401Response) MarshalJSON() ([]byte, error)

func (*NullableCreateReadMessage401Response) Set

func (*NullableCreateReadMessage401Response) UnmarshalJSON

func (v *NullableCreateReadMessage401Response) UnmarshalJSON(src []byte) error

func (*NullableCreateReadMessage401Response) Unset

type NullableCreateReadMessageRequest

type NullableCreateReadMessageRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateReadMessageRequest) Get

func (NullableCreateReadMessageRequest) IsSet

func (NullableCreateReadMessageRequest) MarshalJSON

func (v NullableCreateReadMessageRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateReadMessageRequest) Set

func (*NullableCreateReadMessageRequest) UnmarshalJSON

func (v *NullableCreateReadMessageRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateReadMessageRequest) Unset

type NullableDeleteFlowsFlowId200Response

type NullableDeleteFlowsFlowId200Response struct {
	// contains filtered or unexported fields
}

func (NullableDeleteFlowsFlowId200Response) Get

func (NullableDeleteFlowsFlowId200Response) IsSet

func (NullableDeleteFlowsFlowId200Response) MarshalJSON

func (v NullableDeleteFlowsFlowId200Response) MarshalJSON() ([]byte, error)

func (*NullableDeleteFlowsFlowId200Response) Set

func (*NullableDeleteFlowsFlowId200Response) UnmarshalJSON

func (v *NullableDeleteFlowsFlowId200Response) UnmarshalJSON(src []byte) error

func (*NullableDeleteFlowsFlowId200Response) Unset

type NullableDeleteGroupsGroupId200Response

type NullableDeleteGroupsGroupId200Response struct {
	// contains filtered or unexported fields
}

func (NullableDeleteGroupsGroupId200Response) Get

func (NullableDeleteGroupsGroupId200Response) IsSet

func (NullableDeleteGroupsGroupId200Response) MarshalJSON

func (v NullableDeleteGroupsGroupId200Response) MarshalJSON() ([]byte, error)

func (*NullableDeleteGroupsGroupId200Response) Set

func (*NullableDeleteGroupsGroupId200Response) UnmarshalJSON

func (v *NullableDeleteGroupsGroupId200Response) UnmarshalJSON(src []byte) error

func (*NullableDeleteGroupsGroupId200Response) Unset

type NullableDeleteMediaLegacyRequest

type NullableDeleteMediaLegacyRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeleteMediaLegacyRequest) Get

func (NullableDeleteMediaLegacyRequest) IsSet

func (NullableDeleteMediaLegacyRequest) MarshalJSON

func (v NullableDeleteMediaLegacyRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteMediaLegacyRequest) Set

func (*NullableDeleteMediaLegacyRequest) UnmarshalJSON

func (v *NullableDeleteMediaLegacyRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteMediaLegacyRequest) Unset

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

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 (NullableGetCommerce200ResponseInner) Get

func (NullableGetCommerce200ResponseInner) IsSet

func (NullableGetCommerce200ResponseInner) MarshalJSON

func (v NullableGetCommerce200ResponseInner) MarshalJSON() ([]byte, error)

func (*NullableGetCommerce200ResponseInner) Set

func (*NullableGetCommerce200ResponseInner) UnmarshalJSON

func (v *NullableGetCommerce200ResponseInner) UnmarshalJSON(src []byte) error

func (*NullableGetCommerce200ResponseInner) Unset

type NullableGetMmLiteStatus200Response

type NullableGetMmLiteStatus200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetMmLiteStatus200Response) Get

func (NullableGetMmLiteStatus200Response) IsSet

func (NullableGetMmLiteStatus200Response) MarshalJSON

func (v NullableGetMmLiteStatus200Response) MarshalJSON() ([]byte, error)

func (*NullableGetMmLiteStatus200Response) Set

func (*NullableGetMmLiteStatus200Response) UnmarshalJSON

func (v *NullableGetMmLiteStatus200Response) UnmarshalJSON(src []byte) error

func (*NullableGetMmLiteStatus200Response) Unset

type NullableGetWebhook200Response

type NullableGetWebhook200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetWebhook200Response) Get

func (NullableGetWebhook200Response) IsSet

func (NullableGetWebhook200Response) MarshalJSON

func (v NullableGetWebhook200Response) MarshalJSON() ([]byte, error)

func (*NullableGetWebhook200Response) Set

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 (NullableGetWhatsappBusinessEncryption200Response) Get

func (NullableGetWhatsappBusinessEncryption200Response) IsSet

func (NullableGetWhatsappBusinessEncryption200Response) MarshalJSON

func (*NullableGetWhatsappBusinessEncryption200Response) Set

func (*NullableGetWhatsappBusinessEncryption200Response) UnmarshalJSON

func (*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 (NullableListBlockedUsers200Response) Get

func (NullableListBlockedUsers200Response) IsSet

func (NullableListBlockedUsers200Response) MarshalJSON

func (v NullableListBlockedUsers200Response) MarshalJSON() ([]byte, error)

func (*NullableListBlockedUsers200Response) Set

func (*NullableListBlockedUsers200Response) UnmarshalJSON

func (v *NullableListBlockedUsers200Response) UnmarshalJSON(src []byte) error

func (*NullableListBlockedUsers200Response) Unset

type NullableListFlows200Response

type NullableListFlows200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListFlows200Response

func NewNullableListFlows200Response(val *ListFlows200Response) *NullableListFlows200Response

func (NullableListFlows200Response) Get

func (NullableListFlows200Response) IsSet

func (NullableListFlows200Response) MarshalJSON

func (v NullableListFlows200Response) MarshalJSON() ([]byte, error)

func (*NullableListFlows200Response) Set

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 (NullableListMessages200Response) Get

func (NullableListMessages200Response) IsSet

func (NullableListMessages200Response) MarshalJSON

func (v NullableListMessages200Response) MarshalJSON() ([]byte, error)

func (*NullableListMessages200Response) Set

func (*NullableListMessages200Response) UnmarshalJSON

func (v *NullableListMessages200Response) UnmarshalJSON(src []byte) error

func (*NullableListMessages200Response) Unset

type NullableListTemplates200Response

type NullableListTemplates200Response struct {
	// contains filtered or unexported fields
}

func (NullableListTemplates200Response) Get

func (NullableListTemplates200Response) IsSet

func (NullableListTemplates200Response) MarshalJSON

func (v NullableListTemplates200Response) MarshalJSON() ([]byte, error)

func (*NullableListTemplates200Response) Set

func (*NullableListTemplates200Response) UnmarshalJSON

func (v *NullableListTemplates200Response) UnmarshalJSON(src []byte) error

func (*NullableListTemplates200Response) Unset

type NullableMessageSentResponse

type NullableMessageSentResponse struct {
	// contains filtered or unexported fields
}

func NewNullableMessageSentResponse

func NewNullableMessageSentResponse(val *MessageSentResponse) *NullableMessageSentResponse

func (NullableMessageSentResponse) Get

func (NullableMessageSentResponse) IsSet

func (NullableMessageSentResponse) MarshalJSON

func (v NullableMessageSentResponse) MarshalJSON() ([]byte, error)

func (*NullableMessageSentResponse) Set

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 (NullablePatchFlowsFlowIdAssets200Response) Get

func (NullablePatchFlowsFlowIdAssets200Response) IsSet

func (NullablePatchFlowsFlowIdAssets200Response) MarshalJSON

func (*NullablePatchFlowsFlowIdAssets200Response) Set

func (*NullablePatchFlowsFlowIdAssets200Response) UnmarshalJSON

func (v *NullablePatchFlowsFlowIdAssets200Response) UnmarshalJSON(src []byte) error

func (*NullablePatchFlowsFlowIdAssets200Response) Unset

type NullableProfileInfo

type NullableProfileInfo struct {
	// contains filtered or unexported fields
}

func NewNullableProfileInfo

func NewNullableProfileInfo(val *ProfileInfo) *NullableProfileInfo

func (NullableProfileInfo) Get

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 (NullableRetrieveMedia200Response) Get

func (NullableRetrieveMedia200Response) IsSet

func (NullableRetrieveMedia200Response) MarshalJSON

func (v NullableRetrieveMedia200Response) MarshalJSON() ([]byte, error)

func (*NullableRetrieveMedia200Response) Set

func (*NullableRetrieveMedia200Response) UnmarshalJSON

func (v *NullableRetrieveMedia200Response) UnmarshalJSON(src []byte) error

func (*NullableRetrieveMedia200Response) Unset

type NullableSendAddressMessageRequest

type NullableSendAddressMessageRequest struct {
	// contains filtered or unexported fields
}

func (NullableSendAddressMessageRequest) Get

func (NullableSendAddressMessageRequest) IsSet

func (NullableSendAddressMessageRequest) MarshalJSON

func (v NullableSendAddressMessageRequest) MarshalJSON() ([]byte, error)

func (*NullableSendAddressMessageRequest) Set

func (*NullableSendAddressMessageRequest) UnmarshalJSON

func (v *NullableSendAddressMessageRequest) UnmarshalJSON(src []byte) error

func (*NullableSendAddressMessageRequest) Unset

type NullableSendButtonRequest

type NullableSendButtonRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSendButtonRequest

func NewNullableSendButtonRequest(val *SendButtonRequest) *NullableSendButtonRequest

func (NullableSendButtonRequest) Get

func (NullableSendButtonRequest) IsSet

func (v NullableSendButtonRequest) IsSet() bool

func (NullableSendButtonRequest) MarshalJSON

func (v NullableSendButtonRequest) MarshalJSON() ([]byte, error)

func (*NullableSendButtonRequest) Set

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 (NullableSendButtonRequestSectionsInner) Get

func (NullableSendButtonRequestSectionsInner) IsSet

func (NullableSendButtonRequestSectionsInner) MarshalJSON

func (v NullableSendButtonRequestSectionsInner) MarshalJSON() ([]byte, error)

func (*NullableSendButtonRequestSectionsInner) Set

func (*NullableSendButtonRequestSectionsInner) UnmarshalJSON

func (v *NullableSendButtonRequestSectionsInner) UnmarshalJSON(src []byte) error

func (*NullableSendButtonRequestSectionsInner) Unset

type NullableSendButtonRequestSectionsInnerReply

type NullableSendButtonRequestSectionsInnerReply struct {
	// contains filtered or unexported fields
}

func (NullableSendButtonRequestSectionsInnerReply) Get

func (NullableSendButtonRequestSectionsInnerReply) IsSet

func (NullableSendButtonRequestSectionsInnerReply) MarshalJSON

func (*NullableSendButtonRequestSectionsInnerReply) Set

func (*NullableSendButtonRequestSectionsInnerReply) UnmarshalJSON

func (v *NullableSendButtonRequestSectionsInnerReply) UnmarshalJSON(src []byte) error

func (*NullableSendButtonRequestSectionsInnerReply) Unset

type NullableSendCarouselRequest1

type NullableSendCarouselRequest1 struct {
	// contains filtered or unexported fields
}

func NewNullableSendCarouselRequest1

func NewNullableSendCarouselRequest1(val *SendCarouselRequest1) *NullableSendCarouselRequest1

func (NullableSendCarouselRequest1) Get

func (NullableSendCarouselRequest1) IsSet

func (NullableSendCarouselRequest1) MarshalJSON

func (v NullableSendCarouselRequest1) MarshalJSON() ([]byte, error)

func (*NullableSendCarouselRequest1) Set

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 (NullableSendContactRequest) IsSet

func (v NullableSendContactRequest) IsSet() bool

func (NullableSendContactRequest) MarshalJSON

func (v NullableSendContactRequest) MarshalJSON() ([]byte, error)

func (*NullableSendContactRequest) Set

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 (NullableSendContactRequestContactsInner) Get

func (NullableSendContactRequestContactsInner) IsSet

func (NullableSendContactRequestContactsInner) MarshalJSON

func (v NullableSendContactRequestContactsInner) MarshalJSON() ([]byte, error)

func (*NullableSendContactRequestContactsInner) Set

func (*NullableSendContactRequestContactsInner) UnmarshalJSON

func (v *NullableSendContactRequestContactsInner) UnmarshalJSON(src []byte) error

func (*NullableSendContactRequestContactsInner) Unset

type NullableSendContactRequestContactsInnerName

type NullableSendContactRequestContactsInnerName struct {
	// contains filtered or unexported fields
}

func (NullableSendContactRequestContactsInnerName) Get

func (NullableSendContactRequestContactsInnerName) IsSet

func (NullableSendContactRequestContactsInnerName) MarshalJSON

func (*NullableSendContactRequestContactsInnerName) Set

func (*NullableSendContactRequestContactsInnerName) UnmarshalJSON

func (v *NullableSendContactRequestContactsInnerName) UnmarshalJSON(src []byte) error

func (*NullableSendContactRequestContactsInnerName) Unset

type NullableSendContactRequestContactsInnerOrg

type NullableSendContactRequestContactsInnerOrg struct {
	// contains filtered or unexported fields
}

func (NullableSendContactRequestContactsInnerOrg) Get

func (NullableSendContactRequestContactsInnerOrg) IsSet

func (NullableSendContactRequestContactsInnerOrg) MarshalJSON

func (*NullableSendContactRequestContactsInnerOrg) Set

func (*NullableSendContactRequestContactsInnerOrg) UnmarshalJSON

func (v *NullableSendContactRequestContactsInnerOrg) UnmarshalJSON(src []byte) error

func (*NullableSendContactRequestContactsInnerOrg) Unset

type NullableSendContactRequestContactsInnerPhonesInner

type NullableSendContactRequestContactsInnerPhonesInner struct {
	// contains filtered or unexported fields
}

func (NullableSendContactRequestContactsInnerPhonesInner) Get

func (NullableSendContactRequestContactsInnerPhonesInner) IsSet

func (NullableSendContactRequestContactsInnerPhonesInner) MarshalJSON

func (*NullableSendContactRequestContactsInnerPhonesInner) Set

func (*NullableSendContactRequestContactsInnerPhonesInner) UnmarshalJSON

func (*NullableSendContactRequestContactsInnerPhonesInner) Unset

type NullableSendCtaUrlRequest

type NullableSendCtaUrlRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSendCtaUrlRequest

func NewNullableSendCtaUrlRequest(val *SendCtaUrlRequest) *NullableSendCtaUrlRequest

func (NullableSendCtaUrlRequest) Get

func (NullableSendCtaUrlRequest) IsSet

func (v NullableSendCtaUrlRequest) IsSet() bool

func (NullableSendCtaUrlRequest) MarshalJSON

func (v NullableSendCtaUrlRequest) MarshalJSON() ([]byte, error)

func (*NullableSendCtaUrlRequest) Set

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 (NullableSendFileRequest) IsSet

func (v NullableSendFileRequest) IsSet() bool

func (NullableSendFileRequest) MarshalJSON

func (v NullableSendFileRequest) MarshalJSON() ([]byte, error)

func (*NullableSendFileRequest) Set

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 (NullableSendFlowRequest1) IsSet

func (v NullableSendFlowRequest1) IsSet() bool

func (NullableSendFlowRequest1) MarshalJSON

func (v NullableSendFlowRequest1) MarshalJSON() ([]byte, error)

func (*NullableSendFlowRequest1) Set

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 (NullableSendFlowRequest1Header) Get

func (NullableSendFlowRequest1Header) IsSet

func (NullableSendFlowRequest1Header) MarshalJSON

func (v NullableSendFlowRequest1Header) MarshalJSON() ([]byte, error)

func (*NullableSendFlowRequest1Header) Set

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 (NullableSendFlowRequestHeader) Get

func (NullableSendFlowRequestHeader) IsSet

func (NullableSendFlowRequestHeader) MarshalJSON

func (v NullableSendFlowRequestHeader) MarshalJSON() ([]byte, error)

func (*NullableSendFlowRequestHeader) Set

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 (NullableSendListRequest) IsSet

func (v NullableSendListRequest) IsSet() bool

func (NullableSendListRequest) MarshalJSON

func (v NullableSendListRequest) MarshalJSON() ([]byte, error)

func (*NullableSendListRequest) Set

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 (NullableSendListRequestSectionsInner) Get

func (NullableSendListRequestSectionsInner) IsSet

func (NullableSendListRequestSectionsInner) MarshalJSON

func (v NullableSendListRequestSectionsInner) MarshalJSON() ([]byte, error)

func (*NullableSendListRequestSectionsInner) Set

func (*NullableSendListRequestSectionsInner) UnmarshalJSON

func (v *NullableSendListRequestSectionsInner) UnmarshalJSON(src []byte) error

func (*NullableSendListRequestSectionsInner) Unset

type NullableSendListRequestSectionsInnerRowsInner

type NullableSendListRequestSectionsInnerRowsInner struct {
	// contains filtered or unexported fields
}

func (NullableSendListRequestSectionsInnerRowsInner) Get

func (NullableSendListRequestSectionsInnerRowsInner) IsSet

func (NullableSendListRequestSectionsInnerRowsInner) MarshalJSON

func (*NullableSendListRequestSectionsInnerRowsInner) Set

func (*NullableSendListRequestSectionsInnerRowsInner) UnmarshalJSON

func (*NullableSendListRequestSectionsInnerRowsInner) Unset

type NullableSendLocationRequest1

type NullableSendLocationRequest1 struct {
	// contains filtered or unexported fields
}

func NewNullableSendLocationRequest1

func NewNullableSendLocationRequest1(val *SendLocationRequest1) *NullableSendLocationRequest1

func (NullableSendLocationRequest1) Get

func (NullableSendLocationRequest1) IsSet

func (NullableSendLocationRequest1) MarshalJSON

func (v NullableSendLocationRequest1) MarshalJSON() ([]byte, error)

func (*NullableSendLocationRequest1) Set

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 (NullableSendLocationRequestRequest) Get

func (NullableSendLocationRequestRequest) IsSet

func (NullableSendLocationRequestRequest) MarshalJSON

func (v NullableSendLocationRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableSendLocationRequestRequest) Set

func (*NullableSendLocationRequestRequest) UnmarshalJSON

func (v *NullableSendLocationRequestRequest) UnmarshalJSON(src []byte) error

func (*NullableSendLocationRequestRequest) Unset

type NullableSendMessageRequest

type NullableSendMessageRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSendMessageRequest

func NewNullableSendMessageRequest(val *SendMessageRequest) *NullableSendMessageRequest

func (NullableSendMessageRequest) Get

func (NullableSendMessageRequest) IsSet

func (v NullableSendMessageRequest) IsSet() bool

func (NullableSendMessageRequest) MarshalJSON

func (v NullableSendMessageRequest) MarshalJSON() ([]byte, error)

func (*NullableSendMessageRequest) Set

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 (NullableSendOrderDetailsRequest) Get

func (NullableSendOrderDetailsRequest) IsSet

func (NullableSendOrderDetailsRequest) MarshalJSON

func (v NullableSendOrderDetailsRequest) MarshalJSON() ([]byte, error)

func (*NullableSendOrderDetailsRequest) Set

func (*NullableSendOrderDetailsRequest) UnmarshalJSON

func (v *NullableSendOrderDetailsRequest) UnmarshalJSON(src []byte) error

func (*NullableSendOrderDetailsRequest) Unset

type NullableSendOrderDetailsRequestLanguage

type NullableSendOrderDetailsRequestLanguage struct {
	// contains filtered or unexported fields
}

func (NullableSendOrderDetailsRequestLanguage) Get

func (NullableSendOrderDetailsRequestLanguage) IsSet

func (NullableSendOrderDetailsRequestLanguage) MarshalJSON

func (v NullableSendOrderDetailsRequestLanguage) MarshalJSON() ([]byte, error)

func (*NullableSendOrderDetailsRequestLanguage) Set

func (*NullableSendOrderDetailsRequestLanguage) UnmarshalJSON

func (v *NullableSendOrderDetailsRequestLanguage) UnmarshalJSON(src []byte) error

func (*NullableSendOrderDetailsRequestLanguage) Unset

type NullableSendOrderDetailsRequestOrder

type NullableSendOrderDetailsRequestOrder struct {
	// contains filtered or unexported fields
}

func (NullableSendOrderDetailsRequestOrder) Get

func (NullableSendOrderDetailsRequestOrder) IsSet

func (NullableSendOrderDetailsRequestOrder) MarshalJSON

func (v NullableSendOrderDetailsRequestOrder) MarshalJSON() ([]byte, error)

func (*NullableSendOrderDetailsRequestOrder) Set

func (*NullableSendOrderDetailsRequestOrder) UnmarshalJSON

func (v *NullableSendOrderDetailsRequestOrder) UnmarshalJSON(src []byte) error

func (*NullableSendOrderDetailsRequestOrder) Unset

type NullableSendOrderDetailsRequestOrderItemsInner

type NullableSendOrderDetailsRequestOrderItemsInner struct {
	// contains filtered or unexported fields
}

func (NullableSendOrderDetailsRequestOrderItemsInner) Get

func (NullableSendOrderDetailsRequestOrderItemsInner) IsSet

func (NullableSendOrderDetailsRequestOrderItemsInner) MarshalJSON

func (*NullableSendOrderDetailsRequestOrderItemsInner) Set

func (*NullableSendOrderDetailsRequestOrderItemsInner) UnmarshalJSON

func (*NullableSendOrderDetailsRequestOrderItemsInner) Unset

type NullableSendOrderDetailsRequestOrderItemsInnerAmount

type NullableSendOrderDetailsRequestOrderItemsInnerAmount struct {
	// contains filtered or unexported fields
}

func (NullableSendOrderDetailsRequestOrderItemsInnerAmount) Get

func (NullableSendOrderDetailsRequestOrderItemsInnerAmount) IsSet

func (NullableSendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON

func (*NullableSendOrderDetailsRequestOrderItemsInnerAmount) Set

func (*NullableSendOrderDetailsRequestOrderItemsInnerAmount) UnmarshalJSON

func (*NullableSendOrderDetailsRequestOrderItemsInnerAmount) Unset

type NullableSendPaymentRequestRequest

type NullableSendPaymentRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableSendPaymentRequestRequest) Get

func (NullableSendPaymentRequestRequest) IsSet

func (NullableSendPaymentRequestRequest) MarshalJSON

func (v NullableSendPaymentRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableSendPaymentRequestRequest) Set

func (*NullableSendPaymentRequestRequest) UnmarshalJSON

func (v *NullableSendPaymentRequestRequest) UnmarshalJSON(src []byte) error

func (*NullableSendPaymentRequestRequest) Unset

type NullableSendReactionRequest

type NullableSendReactionRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSendReactionRequest

func NewNullableSendReactionRequest(val *SendReactionRequest) *NullableSendReactionRequest

func (NullableSendReactionRequest) Get

func (NullableSendReactionRequest) IsSet

func (NullableSendReactionRequest) MarshalJSON

func (v NullableSendReactionRequest) MarshalJSON() ([]byte, error)

func (*NullableSendReactionRequest) Set

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 (NullableSendStickerRequest) IsSet

func (v NullableSendStickerRequest) IsSet() bool

func (NullableSendStickerRequest) MarshalJSON

func (v NullableSendStickerRequest) MarshalJSON() ([]byte, error)

func (*NullableSendStickerRequest) Set

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 (NullableSendTemplateRequest) IsSet

func (NullableSendTemplateRequest) MarshalJSON

func (v NullableSendTemplateRequest) MarshalJSON() ([]byte, error)

func (*NullableSendTemplateRequest) Set

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 (NullableSendTemplateRequestLanguage) Get

func (NullableSendTemplateRequestLanguage) IsSet

func (NullableSendTemplateRequestLanguage) MarshalJSON

func (v NullableSendTemplateRequestLanguage) MarshalJSON() ([]byte, error)

func (*NullableSendTemplateRequestLanguage) Set

func (*NullableSendTemplateRequestLanguage) UnmarshalJSON

func (v *NullableSendTemplateRequestLanguage) UnmarshalJSON(src []byte) error

func (*NullableSendTemplateRequestLanguage) Unset

type NullableSetWhatsappBusinessEncryptionRequest

type NullableSetWhatsappBusinessEncryptionRequest struct {
	// contains filtered or unexported fields
}

func (NullableSetWhatsappBusinessEncryptionRequest) Get

func (NullableSetWhatsappBusinessEncryptionRequest) IsSet

func (NullableSetWhatsappBusinessEncryptionRequest) MarshalJSON

func (*NullableSetWhatsappBusinessEncryptionRequest) Set

func (*NullableSetWhatsappBusinessEncryptionRequest) UnmarshalJSON

func (*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 (NullableSuccessResponse) IsSet

func (v NullableSuccessResponse) IsSet() bool

func (NullableSuccessResponse) MarshalJSON

func (v NullableSuccessResponse) MarshalJSON() ([]byte, error)

func (*NullableSuccessResponse) Set

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 (NullableUpdateMeRequest) IsSet

func (v NullableUpdateMeRequest) IsSet() bool

func (NullableUpdateMeRequest) MarshalJSON

func (v NullableUpdateMeRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateMeRequest) Set

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

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

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

Execute executes the request

@return ProfileInfo

func (*ProfileAPIService) UpdateMe

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"`
	Footer   *string                          `json:"footer,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

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

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

GetReply returns the Reply field value if set, zero value otherwise.

func (*SendButtonRequestSectionsInner) GetReplyOk

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

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

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

GetId returns the Id field value if set, zero value otherwise.

func (*SendButtonRequestSectionsInnerReply) GetIdOk

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

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

HasId returns a boolean if a field has been set.

func (*SendButtonRequestSectionsInnerReply) HasTitle

HasTitle returns a boolean if a field has been set.

func (SendButtonRequestSectionsInnerReply) MarshalJSON

func (o SendButtonRequestSectionsInnerReply) MarshalJSON() ([]byte, error)

func (*SendButtonRequestSectionsInnerReply) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*SendButtonRequestSectionsInnerReply) SetTitle

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

GetContacts returns the Contacts field value if set, zero value otherwise.

func (*SendContactRequest) GetContactsOk

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

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

GetName returns the Name field value if set, zero value otherwise.

func (*SendContactRequestContactsInner) GetNameOk

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

GetOrg returns the Org field value if set, zero value otherwise.

func (*SendContactRequestContactsInner) GetOrgOk

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

GetPhones returns the Phones field value if set, zero value otherwise.

func (*SendContactRequestContactsInner) GetPhonesOk

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

HasName returns a boolean if a field has been set.

func (*SendContactRequestContactsInner) HasOrg

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

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

SetName gets a reference to the given SendContactRequestContactsInnerName and assigns it to the Name field.

func (*SendContactRequestContactsInner) SetOrg

SetOrg gets a reference to the given SendContactRequestContactsInnerOrg and assigns it to the Org field.

func (*SendContactRequestContactsInner) SetPhones

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

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

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

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

HasPrefix returns a boolean if a field has been set.

func (*SendContactRequestContactsInnerName) HasSuffix

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

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*SendContactRequestContactsInnerName) SetSuffix

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

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

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

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

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

GetPhone returns the Phone field value if set, zero value otherwise.

func (*SendContactRequestContactsInnerPhonesInner) GetPhoneOk

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

GetType returns the Type field value if set, zero value otherwise.

func (*SendContactRequestContactsInnerPhonesInner) GetTypeOk

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

GetWaId returns the WaId field value if set, zero value otherwise.

func (*SendContactRequestContactsInnerPhonesInner) GetWaIdOk

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

HasPhone returns a boolean if a field has been set.

func (*SendContactRequestContactsInnerPhonesInner) HasType

HasType returns a boolean if a field has been set.

func (*SendContactRequestContactsInnerPhonesInner) HasWaId

HasWaId returns a boolean if a field has been set.

func (SendContactRequestContactsInnerPhonesInner) MarshalJSON

func (*SendContactRequestContactsInnerPhonesInner) SetPhone

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*SendContactRequestContactsInnerPhonesInner) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (*SendContactRequestContactsInnerPhonesInner) SetWaId

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"`
	Footer               *string                `json:"footer,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"`
	Footer             *string                 `json:"footer,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

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

type SendFlowRequest1Header struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

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

type SendFlowRequestHeader struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

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

GetRows returns the Rows field value if set, zero value otherwise.

func (*SendListRequestSectionsInner) GetRowsOk

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

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

GetId returns the Id field value if set, zero value otherwise.

func (*SendListRequestSectionsInnerRowsInner) GetIdOk

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

GetTitle returns the Title field value if set, zero value otherwise.

func (*SendListRequestSectionsInnerRowsInner) GetTitleOk

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

HasId returns a boolean if a field has been set.

func (*SendListRequestSectionsInnerRowsInner) HasTitle

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

SetId gets a reference to the given string and assigns it to the Id field.

func (*SendListRequestSectionsInnerRowsInner) SetTitle

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

GetLanguage returns the Language field value

func (*SendOrderDetailsRequest) GetLanguageOk

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

GetOrder returns the Order field value

func (*SendOrderDetailsRequest) GetOrderOk

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

SetLanguage sets field value

func (*SendOrderDetailsRequest) SetNamespace

func (o *SendOrderDetailsRequest) SetNamespace(v string)

SetNamespace sets field value

func (*SendOrderDetailsRequest) SetOrder

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

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

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

GetItems returns the Items field value

func (*SendOrderDetailsRequestOrder) GetItemsOk

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

GetSubtotal returns the Subtotal field value if set, zero value otherwise.

func (*SendOrderDetailsRequestOrder) GetSubtotalOk

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

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

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

GetAmount returns the Amount field value if set, zero value otherwise.

func (*SendOrderDetailsRequestOrderItemsInner) GetAmountOk

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

GetName returns the Name field value if set, zero value otherwise.

func (*SendOrderDetailsRequestOrderItemsInner) GetNameOk

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

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

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

HasAmount returns a boolean if a field has been set.

func (*SendOrderDetailsRequestOrderItemsInner) HasName

HasName returns a boolean if a field has been set.

func (*SendOrderDetailsRequestOrderItemsInner) HasQuantity

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

SetAmount gets a reference to the given SendOrderDetailsRequestOrderItemsInnerAmount and assigns it to the Amount field.

func (*SendOrderDetailsRequestOrderItemsInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*SendOrderDetailsRequestOrderItemsInner) SetQuantity

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

GetOffset returns the Offset field value if set, zero value otherwise.

func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetOffsetOk

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

GetValue returns the Value field value if set, zero value otherwise.

func (*SendOrderDetailsRequestOrderItemsInnerAmount) GetValueOk

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

HasOffset returns a boolean if a field has been set.

func (*SendOrderDetailsRequestOrderItemsInnerAmount) HasValue

HasValue returns a boolean if a field has been set.

func (SendOrderDetailsRequestOrderItemsInnerAmount) MarshalJSON

func (*SendOrderDetailsRequestOrderItemsInnerAmount) SetOffset

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*SendOrderDetailsRequestOrderItemsInnerAmount) SetValue

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 (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 (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 (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

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

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

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

Execute executes the request

@return ListTemplates200Response

func (*TemplatesAPIService) RemoveTemplate

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

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

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

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

Execute executes the request

@return ListBlockedUsers200Response

func (*UsersAPIService) UnblockUser

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

Execute executes the request

@return SuccessResponse

type WebhooksAPIService

type WebhooksAPIService service

WebhooksAPIService WebhooksAPI service

func (*WebhooksAPIService) GetWebhook

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

Execute executes the request

@return GetWebhook200Response

func (*WebhooksAPIService) SetWebhook

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

Jump to

Keyboard shortcuts

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