infobip

package module
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const INFOBIP_TIME_FORMAT = "2006-01-02T15:04:05.000-0700"
View Source
const Version = "2.0.0"

Variables

View Source
var (
	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextOauth2AccessToken takes a string oauth2 access token as authentication for the request.
	ContextOauth2AccessToken = contextKey("accesstoken")

	// ContextAPIKey takes a string apikey as authentication for the request
	ContextAPIKey = contextKey("apiKey")

	// ContextIBSSO takes a string ibsso as authentication for the request
	ContextIBSSO = contextKey("ibsso")

	// 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 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 {
	ReceiveSmsApi *ReceiveSmsApiService

	ScheduledSmsApi *ScheduledSmsApiService

	SendSmsApi *SendSmsApiService

	TfaApi *TfaApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Infobip Client API Libraries OpenAPI Specification API v1.0.157 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 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateTfaApplicationRequest

type ApiCreateTfaApplicationRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiCreateTfaApplicationRequest) Execute

func (ApiCreateTfaApplicationRequest) TfaApplicationRequest

func (r ApiCreateTfaApplicationRequest) TfaApplicationRequest(tfaApplicationRequest TfaApplicationRequest) ApiCreateTfaApplicationRequest

type ApiCreateTfaMessageTemplateRequest

type ApiCreateTfaMessageTemplateRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiCreateTfaMessageTemplateRequest) Execute

func (ApiCreateTfaMessageTemplateRequest) TfaCreateMessageRequest

func (r ApiCreateTfaMessageTemplateRequest) TfaCreateMessageRequest(tfaCreateMessageRequest TfaCreateMessageRequest) ApiCreateTfaMessageTemplateRequest

type ApiGetInboundSmsMessagesRequest

type ApiGetInboundSmsMessagesRequest struct {
	ApiService *ReceiveSmsApiService
	// contains filtered or unexported fields
}

func (ApiGetInboundSmsMessagesRequest) Execute

func (ApiGetInboundSmsMessagesRequest) Limit

type ApiGetOutboundSmsMessageDeliveryReportsRequest

type ApiGetOutboundSmsMessageDeliveryReportsRequest struct {
	ApiService *SendSmsApiService
	// contains filtered or unexported fields
}

func (ApiGetOutboundSmsMessageDeliveryReportsRequest) BulkId

func (ApiGetOutboundSmsMessageDeliveryReportsRequest) Execute

func (ApiGetOutboundSmsMessageDeliveryReportsRequest) Limit

func (ApiGetOutboundSmsMessageDeliveryReportsRequest) MessageId

type ApiGetOutboundSmsMessageLogsRequest

type ApiGetOutboundSmsMessageLogsRequest struct {
	ApiService *SendSmsApiService
	// contains filtered or unexported fields
}

func (ApiGetOutboundSmsMessageLogsRequest) BulkId

func (ApiGetOutboundSmsMessageLogsRequest) Execute

func (ApiGetOutboundSmsMessageLogsRequest) From

func (ApiGetOutboundSmsMessageLogsRequest) GeneralStatus

func (ApiGetOutboundSmsMessageLogsRequest) Limit

func (ApiGetOutboundSmsMessageLogsRequest) Mcc

func (ApiGetOutboundSmsMessageLogsRequest) MessageId

func (ApiGetOutboundSmsMessageLogsRequest) Mnc

func (ApiGetOutboundSmsMessageLogsRequest) SentSince

func (ApiGetOutboundSmsMessageLogsRequest) SentUntil

func (ApiGetOutboundSmsMessageLogsRequest) To

type ApiGetScheduledSmsMessagesRequest

type ApiGetScheduledSmsMessagesRequest struct {
	ApiService *ScheduledSmsApiService
	// contains filtered or unexported fields
}

func (ApiGetScheduledSmsMessagesRequest) BulkId

func (ApiGetScheduledSmsMessagesRequest) Execute

type ApiGetScheduledSmsMessagesStatusRequest

type ApiGetScheduledSmsMessagesStatusRequest struct {
	ApiService *ScheduledSmsApiService
	// contains filtered or unexported fields
}

func (ApiGetScheduledSmsMessagesStatusRequest) BulkId

func (ApiGetScheduledSmsMessagesStatusRequest) Execute

type ApiGetTfaApplicationRequest

type ApiGetTfaApplicationRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiGetTfaApplicationRequest) Execute

type ApiGetTfaApplicationsRequest

type ApiGetTfaApplicationsRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiGetTfaApplicationsRequest) Execute

type ApiGetTfaMessageTemplateRequest

type ApiGetTfaMessageTemplateRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiGetTfaMessageTemplateRequest) Execute

type ApiGetTfaMessageTemplatesRequest

type ApiGetTfaMessageTemplatesRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiGetTfaMessageTemplatesRequest) Execute

type ApiGetTfaVerificationStatusRequest

type ApiGetTfaVerificationStatusRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiGetTfaVerificationStatusRequest) Execute

func (ApiGetTfaVerificationStatusRequest) Msisdn

func (ApiGetTfaVerificationStatusRequest) Sent

func (ApiGetTfaVerificationStatusRequest) Verified

type ApiPreviewSmsMessageRequest

type ApiPreviewSmsMessageRequest struct {
	ApiService *SendSmsApiService
	// contains filtered or unexported fields
}

func (ApiPreviewSmsMessageRequest) Execute

func (ApiPreviewSmsMessageRequest) SmsPreviewRequest

func (r ApiPreviewSmsMessageRequest) SmsPreviewRequest(smsPreviewRequest SmsPreviewRequest) ApiPreviewSmsMessageRequest

type ApiRescheduleSmsMessagesRequest

type ApiRescheduleSmsMessagesRequest struct {
	ApiService *ScheduledSmsApiService
	// contains filtered or unexported fields
}

func (ApiRescheduleSmsMessagesRequest) BulkId

func (ApiRescheduleSmsMessagesRequest) Execute

func (ApiRescheduleSmsMessagesRequest) SmsBulkRequest

type ApiResendTfaPinCodeOverSmsRequest

type ApiResendTfaPinCodeOverSmsRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiResendTfaPinCodeOverSmsRequest) Execute

func (ApiResendTfaPinCodeOverSmsRequest) TfaResendPinRequest

type ApiResendTfaPinCodeOverVoiceRequest

type ApiResendTfaPinCodeOverVoiceRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiResendTfaPinCodeOverVoiceRequest) Execute

func (ApiResendTfaPinCodeOverVoiceRequest) TfaResendPinRequest

type ApiSendBinarySmsMessageRequest

type ApiSendBinarySmsMessageRequest struct {
	ApiService *SendSmsApiService
	// contains filtered or unexported fields
}

func (ApiSendBinarySmsMessageRequest) Execute

func (ApiSendBinarySmsMessageRequest) SmsAdvancedBinaryRequest

func (r ApiSendBinarySmsMessageRequest) SmsAdvancedBinaryRequest(smsAdvancedBinaryRequest SmsAdvancedBinaryRequest) ApiSendBinarySmsMessageRequest

type ApiSendSmsMessageRequest

type ApiSendSmsMessageRequest struct {
	ApiService *SendSmsApiService
	// contains filtered or unexported fields
}

func (ApiSendSmsMessageRequest) Execute

func (ApiSendSmsMessageRequest) SmsAdvancedTextualRequest

func (r ApiSendSmsMessageRequest) SmsAdvancedTextualRequest(smsAdvancedTextualRequest SmsAdvancedTextualRequest) ApiSendSmsMessageRequest

type ApiSendTfaPinCodeOverSmsRequest

type ApiSendTfaPinCodeOverSmsRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiSendTfaPinCodeOverSmsRequest) Execute

func (ApiSendTfaPinCodeOverSmsRequest) NcNeeded

func (ApiSendTfaPinCodeOverSmsRequest) TfaStartAuthenticationRequest

func (r ApiSendTfaPinCodeOverSmsRequest) TfaStartAuthenticationRequest(tfaStartAuthenticationRequest TfaStartAuthenticationRequest) ApiSendTfaPinCodeOverSmsRequest

type ApiSendTfaPinCodeOverVoiceRequest

type ApiSendTfaPinCodeOverVoiceRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiSendTfaPinCodeOverVoiceRequest) Execute

func (ApiSendTfaPinCodeOverVoiceRequest) TfaStartAuthenticationRequest

func (r ApiSendTfaPinCodeOverVoiceRequest) TfaStartAuthenticationRequest(tfaStartAuthenticationRequest TfaStartAuthenticationRequest) ApiSendTfaPinCodeOverVoiceRequest

type ApiUpdateScheduledSmsMessagesStatusRequest

type ApiUpdateScheduledSmsMessagesStatusRequest struct {
	ApiService *ScheduledSmsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateScheduledSmsMessagesStatusRequest) BulkId

func (ApiUpdateScheduledSmsMessagesStatusRequest) Execute

func (ApiUpdateScheduledSmsMessagesStatusRequest) SmsUpdateStatusRequest

type ApiUpdateTfaApplicationRequest

type ApiUpdateTfaApplicationRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiUpdateTfaApplicationRequest) Execute

func (ApiUpdateTfaApplicationRequest) TfaApplicationRequest

func (r ApiUpdateTfaApplicationRequest) TfaApplicationRequest(tfaApplicationRequest TfaApplicationRequest) ApiUpdateTfaApplicationRequest

type ApiUpdateTfaMessageTemplateRequest

type ApiUpdateTfaMessageTemplateRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiUpdateTfaMessageTemplateRequest) Execute

func (ApiUpdateTfaMessageTemplateRequest) TfaUpdateMessageRequest

func (r ApiUpdateTfaMessageTemplateRequest) TfaUpdateMessageRequest(tfaUpdateMessageRequest TfaUpdateMessageRequest) ApiUpdateTfaMessageTemplateRequest

type ApiVerifyTfaPhoneNumberRequest

type ApiVerifyTfaPhoneNumberRequest struct {
	ApiService *TfaApiService
	// contains filtered or unexported fields
}

func (ApiVerifyTfaPhoneNumberRequest) Execute

func (ApiVerifyTfaPhoneNumberRequest) TfaVerifyPinRequest

func (r ApiVerifyTfaPhoneNumberRequest) TfaVerifyPinRequest(tfaVerifyPinRequest TfaVerifyPinRequest) ApiVerifyTfaPhoneNumberRequest

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 Configuration

type Configuration struct {
	Host             string            `json:"host,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       Doer
}

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 Doer

type Doer interface {
	Do(req *http.Request) (resp *http.Response, err error)
}

Doer is an interface for making HTTP requests.

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

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

func (NullableSmsAdvancedBinaryRequest) Get

func (NullableSmsAdvancedBinaryRequest) IsSet

func (NullableSmsAdvancedBinaryRequest) MarshalJSON

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

func (*NullableSmsAdvancedBinaryRequest) Set

func (*NullableSmsAdvancedBinaryRequest) UnmarshalJSON

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

func (*NullableSmsAdvancedBinaryRequest) Unset

type NullableSmsAdvancedTextualRequest

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

func (NullableSmsAdvancedTextualRequest) Get

func (NullableSmsAdvancedTextualRequest) IsSet

func (NullableSmsAdvancedTextualRequest) MarshalJSON

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

func (*NullableSmsAdvancedTextualRequest) Set

func (*NullableSmsAdvancedTextualRequest) UnmarshalJSON

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

func (*NullableSmsAdvancedTextualRequest) Unset

type NullableSmsApiException

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

func NewNullableSmsApiException

func NewNullableSmsApiException(val *SmsApiException) *NullableSmsApiException

func (NullableSmsApiException) Get

func (NullableSmsApiException) IsSet

func (v NullableSmsApiException) IsSet() bool

func (NullableSmsApiException) MarshalJSON

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

func (*NullableSmsApiException) Set

func (*NullableSmsApiException) UnmarshalJSON

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

func (*NullableSmsApiException) Unset

func (v *NullableSmsApiException) Unset()

type NullableSmsApiRequestError

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

func NewNullableSmsApiRequestError

func NewNullableSmsApiRequestError(val *SmsApiRequestError) *NullableSmsApiRequestError

func (NullableSmsApiRequestError) Get

func (NullableSmsApiRequestError) IsSet

func (v NullableSmsApiRequestError) IsSet() bool

func (NullableSmsApiRequestError) MarshalJSON

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

func (*NullableSmsApiRequestError) Set

func (*NullableSmsApiRequestError) UnmarshalJSON

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

func (*NullableSmsApiRequestError) Unset

func (v *NullableSmsApiRequestError) Unset()

type NullableSmsApiRequestErrorDetails

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

func (NullableSmsApiRequestErrorDetails) Get

func (NullableSmsApiRequestErrorDetails) IsSet

func (NullableSmsApiRequestErrorDetails) MarshalJSON

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

func (*NullableSmsApiRequestErrorDetails) Set

func (*NullableSmsApiRequestErrorDetails) UnmarshalJSON

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

func (*NullableSmsApiRequestErrorDetails) Unset

type NullableSmsBinaryContent

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

func NewNullableSmsBinaryContent

func NewNullableSmsBinaryContent(val *SmsBinaryContent) *NullableSmsBinaryContent

func (NullableSmsBinaryContent) Get

func (NullableSmsBinaryContent) IsSet

func (v NullableSmsBinaryContent) IsSet() bool

func (NullableSmsBinaryContent) MarshalJSON

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

func (*NullableSmsBinaryContent) Set

func (*NullableSmsBinaryContent) UnmarshalJSON

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

func (*NullableSmsBinaryContent) Unset

func (v *NullableSmsBinaryContent) Unset()

type NullableSmsBinaryMessage

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

func NewNullableSmsBinaryMessage

func NewNullableSmsBinaryMessage(val *SmsBinaryMessage) *NullableSmsBinaryMessage

func (NullableSmsBinaryMessage) Get

func (NullableSmsBinaryMessage) IsSet

func (v NullableSmsBinaryMessage) IsSet() bool

func (NullableSmsBinaryMessage) MarshalJSON

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

func (*NullableSmsBinaryMessage) Set

func (*NullableSmsBinaryMessage) UnmarshalJSON

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

func (*NullableSmsBinaryMessage) Unset

func (v *NullableSmsBinaryMessage) Unset()

type NullableSmsBulkRequest

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

func NewNullableSmsBulkRequest

func NewNullableSmsBulkRequest(val *SmsBulkRequest) *NullableSmsBulkRequest

func (NullableSmsBulkRequest) Get

func (NullableSmsBulkRequest) IsSet

func (v NullableSmsBulkRequest) IsSet() bool

func (NullableSmsBulkRequest) MarshalJSON

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

func (*NullableSmsBulkRequest) Set

func (*NullableSmsBulkRequest) UnmarshalJSON

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

func (*NullableSmsBulkRequest) Unset

func (v *NullableSmsBulkRequest) Unset()

type NullableSmsBulkResponse

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

func NewNullableSmsBulkResponse

func NewNullableSmsBulkResponse(val *SmsBulkResponse) *NullableSmsBulkResponse

func (NullableSmsBulkResponse) Get

func (NullableSmsBulkResponse) IsSet

func (v NullableSmsBulkResponse) IsSet() bool

func (NullableSmsBulkResponse) MarshalJSON

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

func (*NullableSmsBulkResponse) Set

func (*NullableSmsBulkResponse) UnmarshalJSON

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

func (*NullableSmsBulkResponse) Unset

func (v *NullableSmsBulkResponse) Unset()

type NullableSmsBulkStatus

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

func NewNullableSmsBulkStatus

func NewNullableSmsBulkStatus(val *SmsBulkStatus) *NullableSmsBulkStatus

func (NullableSmsBulkStatus) Get

func (NullableSmsBulkStatus) IsSet

func (v NullableSmsBulkStatus) IsSet() bool

func (NullableSmsBulkStatus) MarshalJSON

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

func (*NullableSmsBulkStatus) Set

func (v *NullableSmsBulkStatus) Set(val *SmsBulkStatus)

func (*NullableSmsBulkStatus) UnmarshalJSON

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

func (*NullableSmsBulkStatus) Unset

func (v *NullableSmsBulkStatus) Unset()

type NullableSmsBulkStatusResponse

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

func (NullableSmsBulkStatusResponse) Get

func (NullableSmsBulkStatusResponse) IsSet

func (NullableSmsBulkStatusResponse) MarshalJSON

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

func (*NullableSmsBulkStatusResponse) Set

func (*NullableSmsBulkStatusResponse) UnmarshalJSON

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

func (*NullableSmsBulkStatusResponse) Unset

func (v *NullableSmsBulkStatusResponse) Unset()

type NullableSmsDeliveryDay

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

func NewNullableSmsDeliveryDay

func NewNullableSmsDeliveryDay(val *SmsDeliveryDay) *NullableSmsDeliveryDay

func (NullableSmsDeliveryDay) Get

func (NullableSmsDeliveryDay) IsSet

func (v NullableSmsDeliveryDay) IsSet() bool

func (NullableSmsDeliveryDay) MarshalJSON

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

func (*NullableSmsDeliveryDay) Set

func (*NullableSmsDeliveryDay) UnmarshalJSON

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

func (*NullableSmsDeliveryDay) Unset

func (v *NullableSmsDeliveryDay) Unset()

type NullableSmsDeliveryResult

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

func NewNullableSmsDeliveryResult

func NewNullableSmsDeliveryResult(val *SmsDeliveryResult) *NullableSmsDeliveryResult

func (NullableSmsDeliveryResult) Get

func (NullableSmsDeliveryResult) IsSet

func (v NullableSmsDeliveryResult) IsSet() bool

func (NullableSmsDeliveryResult) MarshalJSON

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

func (*NullableSmsDeliveryResult) Set

func (*NullableSmsDeliveryResult) UnmarshalJSON

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

func (*NullableSmsDeliveryResult) Unset

func (v *NullableSmsDeliveryResult) Unset()

type NullableSmsDeliveryTime

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

func NewNullableSmsDeliveryTime

func NewNullableSmsDeliveryTime(val *SmsDeliveryTime) *NullableSmsDeliveryTime

func (NullableSmsDeliveryTime) Get

func (NullableSmsDeliveryTime) IsSet

func (v NullableSmsDeliveryTime) IsSet() bool

func (NullableSmsDeliveryTime) MarshalJSON

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

func (*NullableSmsDeliveryTime) Set

func (*NullableSmsDeliveryTime) UnmarshalJSON

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

func (*NullableSmsDeliveryTime) Unset

func (v *NullableSmsDeliveryTime) Unset()

type NullableSmsDeliveryTimeWindow

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

func (NullableSmsDeliveryTimeWindow) Get

func (NullableSmsDeliveryTimeWindow) IsSet

func (NullableSmsDeliveryTimeWindow) MarshalJSON

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

func (*NullableSmsDeliveryTimeWindow) Set

func (*NullableSmsDeliveryTimeWindow) UnmarshalJSON

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

func (*NullableSmsDeliveryTimeWindow) Unset

func (v *NullableSmsDeliveryTimeWindow) Unset()

type NullableSmsDestination

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

func NewNullableSmsDestination

func NewNullableSmsDestination(val *SmsDestination) *NullableSmsDestination

func (NullableSmsDestination) Get

func (NullableSmsDestination) IsSet

func (v NullableSmsDestination) IsSet() bool

func (NullableSmsDestination) MarshalJSON

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

func (*NullableSmsDestination) Set

func (*NullableSmsDestination) UnmarshalJSON

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

func (*NullableSmsDestination) Unset

func (v *NullableSmsDestination) Unset()

type NullableSmsError

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

func NewNullableSmsError

func NewNullableSmsError(val *SmsError) *NullableSmsError

func (NullableSmsError) Get

func (v NullableSmsError) Get() *SmsError

func (NullableSmsError) IsSet

func (v NullableSmsError) IsSet() bool

func (NullableSmsError) MarshalJSON

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

func (*NullableSmsError) Set

func (v *NullableSmsError) Set(val *SmsError)

func (*NullableSmsError) UnmarshalJSON

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

func (*NullableSmsError) Unset

func (v *NullableSmsError) Unset()

type NullableSmsInboundMessage

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

func NewNullableSmsInboundMessage

func NewNullableSmsInboundMessage(val *SmsInboundMessage) *NullableSmsInboundMessage

func (NullableSmsInboundMessage) Get

func (NullableSmsInboundMessage) IsSet

func (v NullableSmsInboundMessage) IsSet() bool

func (NullableSmsInboundMessage) MarshalJSON

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

func (*NullableSmsInboundMessage) Set

func (*NullableSmsInboundMessage) UnmarshalJSON

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

func (*NullableSmsInboundMessage) Unset

func (v *NullableSmsInboundMessage) Unset()

type NullableSmsInboundMessageResult

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

func (NullableSmsInboundMessageResult) Get

func (NullableSmsInboundMessageResult) IsSet

func (NullableSmsInboundMessageResult) MarshalJSON

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

func (*NullableSmsInboundMessageResult) Set

func (*NullableSmsInboundMessageResult) UnmarshalJSON

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

func (*NullableSmsInboundMessageResult) Unset

type NullableSmsIndiaDltOptions

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

func NewNullableSmsIndiaDltOptions

func NewNullableSmsIndiaDltOptions(val *SmsIndiaDltOptions) *NullableSmsIndiaDltOptions

func (NullableSmsIndiaDltOptions) Get

func (NullableSmsIndiaDltOptions) IsSet

func (v NullableSmsIndiaDltOptions) IsSet() bool

func (NullableSmsIndiaDltOptions) MarshalJSON

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

func (*NullableSmsIndiaDltOptions) Set

func (*NullableSmsIndiaDltOptions) UnmarshalJSON

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

func (*NullableSmsIndiaDltOptions) Unset

func (v *NullableSmsIndiaDltOptions) Unset()

type NullableSmsLanguage

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

func NewNullableSmsLanguage

func NewNullableSmsLanguage(val *SmsLanguage) *NullableSmsLanguage

func (NullableSmsLanguage) Get

func (NullableSmsLanguage) IsSet

func (v NullableSmsLanguage) IsSet() bool

func (NullableSmsLanguage) MarshalJSON

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

func (*NullableSmsLanguage) Set

func (v *NullableSmsLanguage) Set(val *SmsLanguage)

func (*NullableSmsLanguage) UnmarshalJSON

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

func (*NullableSmsLanguage) Unset

func (v *NullableSmsLanguage) Unset()

type NullableSmsLanguageConfiguration

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

func (NullableSmsLanguageConfiguration) Get

func (NullableSmsLanguageConfiguration) IsSet

func (NullableSmsLanguageConfiguration) MarshalJSON

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

func (*NullableSmsLanguageConfiguration) Set

func (*NullableSmsLanguageConfiguration) UnmarshalJSON

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

func (*NullableSmsLanguageConfiguration) Unset

type NullableSmsLog

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

func NewNullableSmsLog

func NewNullableSmsLog(val *SmsLog) *NullableSmsLog

func (NullableSmsLog) Get

func (v NullableSmsLog) Get() *SmsLog

func (NullableSmsLog) IsSet

func (v NullableSmsLog) IsSet() bool

func (NullableSmsLog) MarshalJSON

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

func (*NullableSmsLog) Set

func (v *NullableSmsLog) Set(val *SmsLog)

func (*NullableSmsLog) UnmarshalJSON

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

func (*NullableSmsLog) Unset

func (v *NullableSmsLog) Unset()

type NullableSmsLogsResponse

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

func NewNullableSmsLogsResponse

func NewNullableSmsLogsResponse(val *SmsLogsResponse) *NullableSmsLogsResponse

func (NullableSmsLogsResponse) Get

func (NullableSmsLogsResponse) IsSet

func (v NullableSmsLogsResponse) IsSet() bool

func (NullableSmsLogsResponse) MarshalJSON

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

func (*NullableSmsLogsResponse) Set

func (*NullableSmsLogsResponse) UnmarshalJSON

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

func (*NullableSmsLogsResponse) Unset

func (v *NullableSmsLogsResponse) Unset()

type NullableSmsPreview

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

func NewNullableSmsPreview

func NewNullableSmsPreview(val *SmsPreview) *NullableSmsPreview

func (NullableSmsPreview) Get

func (v NullableSmsPreview) Get() *SmsPreview

func (NullableSmsPreview) IsSet

func (v NullableSmsPreview) IsSet() bool

func (NullableSmsPreview) MarshalJSON

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

func (*NullableSmsPreview) Set

func (v *NullableSmsPreview) Set(val *SmsPreview)

func (*NullableSmsPreview) UnmarshalJSON

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

func (*NullableSmsPreview) Unset

func (v *NullableSmsPreview) Unset()

type NullableSmsPreviewRequest

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

func NewNullableSmsPreviewRequest

func NewNullableSmsPreviewRequest(val *SmsPreviewRequest) *NullableSmsPreviewRequest

func (NullableSmsPreviewRequest) Get

func (NullableSmsPreviewRequest) IsSet

func (v NullableSmsPreviewRequest) IsSet() bool

func (NullableSmsPreviewRequest) MarshalJSON

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

func (*NullableSmsPreviewRequest) Set

func (*NullableSmsPreviewRequest) UnmarshalJSON

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

func (*NullableSmsPreviewRequest) Unset

func (v *NullableSmsPreviewRequest) Unset()

type NullableSmsPreviewResponse

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

func NewNullableSmsPreviewResponse

func NewNullableSmsPreviewResponse(val *SmsPreviewResponse) *NullableSmsPreviewResponse

func (NullableSmsPreviewResponse) Get

func (NullableSmsPreviewResponse) IsSet

func (v NullableSmsPreviewResponse) IsSet() bool

func (NullableSmsPreviewResponse) MarshalJSON

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

func (*NullableSmsPreviewResponse) Set

func (*NullableSmsPreviewResponse) UnmarshalJSON

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

func (*NullableSmsPreviewResponse) Unset

func (v *NullableSmsPreviewResponse) Unset()

type NullableSmsPrice

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

func NewNullableSmsPrice

func NewNullableSmsPrice(val *SmsPrice) *NullableSmsPrice

func (NullableSmsPrice) Get

func (v NullableSmsPrice) Get() *SmsPrice

func (NullableSmsPrice) IsSet

func (v NullableSmsPrice) IsSet() bool

func (NullableSmsPrice) MarshalJSON

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

func (*NullableSmsPrice) Set

func (v *NullableSmsPrice) Set(val *SmsPrice)

func (*NullableSmsPrice) UnmarshalJSON

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

func (*NullableSmsPrice) Unset

func (v *NullableSmsPrice) Unset()

type NullableSmsRegionalOptions

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

func NewNullableSmsRegionalOptions

func NewNullableSmsRegionalOptions(val *SmsRegionalOptions) *NullableSmsRegionalOptions

func (NullableSmsRegionalOptions) Get

func (NullableSmsRegionalOptions) IsSet

func (v NullableSmsRegionalOptions) IsSet() bool

func (NullableSmsRegionalOptions) MarshalJSON

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

func (*NullableSmsRegionalOptions) Set

func (*NullableSmsRegionalOptions) UnmarshalJSON

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

func (*NullableSmsRegionalOptions) Unset

func (v *NullableSmsRegionalOptions) Unset()

type NullableSmsReport

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

func NewNullableSmsReport

func NewNullableSmsReport(val *SmsReport) *NullableSmsReport

func (NullableSmsReport) Get

func (v NullableSmsReport) Get() *SmsReport

func (NullableSmsReport) IsSet

func (v NullableSmsReport) IsSet() bool

func (NullableSmsReport) MarshalJSON

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

func (*NullableSmsReport) Set

func (v *NullableSmsReport) Set(val *SmsReport)

func (*NullableSmsReport) UnmarshalJSON

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

func (*NullableSmsReport) Unset

func (v *NullableSmsReport) Unset()

type NullableSmsResponse

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

func NewNullableSmsResponse

func NewNullableSmsResponse(val *SmsResponse) *NullableSmsResponse

func (NullableSmsResponse) Get

func (NullableSmsResponse) IsSet

func (v NullableSmsResponse) IsSet() bool

func (NullableSmsResponse) MarshalJSON

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

func (*NullableSmsResponse) Set

func (v *NullableSmsResponse) Set(val *SmsResponse)

func (*NullableSmsResponse) UnmarshalJSON

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

func (*NullableSmsResponse) Unset

func (v *NullableSmsResponse) Unset()

type NullableSmsResponseDetails

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

func NewNullableSmsResponseDetails

func NewNullableSmsResponseDetails(val *SmsResponseDetails) *NullableSmsResponseDetails

func (NullableSmsResponseDetails) Get

func (NullableSmsResponseDetails) IsSet

func (v NullableSmsResponseDetails) IsSet() bool

func (NullableSmsResponseDetails) MarshalJSON

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

func (*NullableSmsResponseDetails) Set

func (*NullableSmsResponseDetails) UnmarshalJSON

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

func (*NullableSmsResponseDetails) Unset

func (v *NullableSmsResponseDetails) Unset()

type NullableSmsSendingSpeedLimit

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

func NewNullableSmsSendingSpeedLimit

func NewNullableSmsSendingSpeedLimit(val *SmsSendingSpeedLimit) *NullableSmsSendingSpeedLimit

func (NullableSmsSendingSpeedLimit) Get

func (NullableSmsSendingSpeedLimit) IsSet

func (NullableSmsSendingSpeedLimit) MarshalJSON

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

func (*NullableSmsSendingSpeedLimit) Set

func (*NullableSmsSendingSpeedLimit) UnmarshalJSON

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

func (*NullableSmsSendingSpeedLimit) Unset

func (v *NullableSmsSendingSpeedLimit) Unset()

type NullableSmsSpeedLimitTimeUnit

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

func (NullableSmsSpeedLimitTimeUnit) Get

func (NullableSmsSpeedLimitTimeUnit) IsSet

func (NullableSmsSpeedLimitTimeUnit) MarshalJSON

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

func (*NullableSmsSpeedLimitTimeUnit) Set

func (*NullableSmsSpeedLimitTimeUnit) UnmarshalJSON

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

func (*NullableSmsSpeedLimitTimeUnit) Unset

func (v *NullableSmsSpeedLimitTimeUnit) Unset()

type NullableSmsStatus

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

func NewNullableSmsStatus

func NewNullableSmsStatus(val *SmsStatus) *NullableSmsStatus

func (NullableSmsStatus) Get

func (v NullableSmsStatus) Get() *SmsStatus

func (NullableSmsStatus) IsSet

func (v NullableSmsStatus) IsSet() bool

func (NullableSmsStatus) MarshalJSON

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

func (*NullableSmsStatus) Set

func (v *NullableSmsStatus) Set(val *SmsStatus)

func (*NullableSmsStatus) UnmarshalJSON

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

func (*NullableSmsStatus) Unset

func (v *NullableSmsStatus) Unset()

type NullableSmsTextualMessage

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

func NewNullableSmsTextualMessage

func NewNullableSmsTextualMessage(val *SmsTextualMessage) *NullableSmsTextualMessage

func (NullableSmsTextualMessage) Get

func (NullableSmsTextualMessage) IsSet

func (v NullableSmsTextualMessage) IsSet() bool

func (NullableSmsTextualMessage) MarshalJSON

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

func (*NullableSmsTextualMessage) Set

func (*NullableSmsTextualMessage) UnmarshalJSON

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

func (*NullableSmsTextualMessage) Unset

func (v *NullableSmsTextualMessage) Unset()

type NullableSmsTracking

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

func NewNullableSmsTracking

func NewNullableSmsTracking(val *SmsTracking) *NullableSmsTracking

func (NullableSmsTracking) Get

func (NullableSmsTracking) IsSet

func (v NullableSmsTracking) IsSet() bool

func (NullableSmsTracking) MarshalJSON

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

func (*NullableSmsTracking) Set

func (v *NullableSmsTracking) Set(val *SmsTracking)

func (*NullableSmsTracking) UnmarshalJSON

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

func (*NullableSmsTracking) Unset

func (v *NullableSmsTracking) Unset()

type NullableSmsUpdateStatusRequest

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

func (NullableSmsUpdateStatusRequest) Get

func (NullableSmsUpdateStatusRequest) IsSet

func (NullableSmsUpdateStatusRequest) MarshalJSON

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

func (*NullableSmsUpdateStatusRequest) Set

func (*NullableSmsUpdateStatusRequest) UnmarshalJSON

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

func (*NullableSmsUpdateStatusRequest) Unset

func (v *NullableSmsUpdateStatusRequest) 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 NullableTfaApiException

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

func NewNullableTfaApiException

func NewNullableTfaApiException(val *TfaApiException) *NullableTfaApiException

func (NullableTfaApiException) Get

func (NullableTfaApiException) IsSet

func (v NullableTfaApiException) IsSet() bool

func (NullableTfaApiException) MarshalJSON

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

func (*NullableTfaApiException) Set

func (*NullableTfaApiException) UnmarshalJSON

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

func (*NullableTfaApiException) Unset

func (v *NullableTfaApiException) Unset()

type NullableTfaApiRequestError

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

func NewNullableTfaApiRequestError

func NewNullableTfaApiRequestError(val *TfaApiRequestError) *NullableTfaApiRequestError

func (NullableTfaApiRequestError) Get

func (NullableTfaApiRequestError) IsSet

func (v NullableTfaApiRequestError) IsSet() bool

func (NullableTfaApiRequestError) MarshalJSON

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

func (*NullableTfaApiRequestError) Set

func (*NullableTfaApiRequestError) UnmarshalJSON

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

func (*NullableTfaApiRequestError) Unset

func (v *NullableTfaApiRequestError) Unset()

type NullableTfaApiRequestErrorDetails

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

func (NullableTfaApiRequestErrorDetails) Get

func (NullableTfaApiRequestErrorDetails) IsSet

func (NullableTfaApiRequestErrorDetails) MarshalJSON

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

func (*NullableTfaApiRequestErrorDetails) Set

func (*NullableTfaApiRequestErrorDetails) UnmarshalJSON

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

func (*NullableTfaApiRequestErrorDetails) Unset

type NullableTfaApplicationConfiguration

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

func (NullableTfaApplicationConfiguration) Get

func (NullableTfaApplicationConfiguration) IsSet

func (NullableTfaApplicationConfiguration) MarshalJSON

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

func (*NullableTfaApplicationConfiguration) Set

func (*NullableTfaApplicationConfiguration) UnmarshalJSON

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

func (*NullableTfaApplicationConfiguration) Unset

type NullableTfaApplicationRequest

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

func (NullableTfaApplicationRequest) Get

func (NullableTfaApplicationRequest) IsSet

func (NullableTfaApplicationRequest) MarshalJSON

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

func (*NullableTfaApplicationRequest) Set

func (*NullableTfaApplicationRequest) UnmarshalJSON

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

func (*NullableTfaApplicationRequest) Unset

func (v *NullableTfaApplicationRequest) Unset()

type NullableTfaApplicationResponse

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

func (NullableTfaApplicationResponse) Get

func (NullableTfaApplicationResponse) IsSet

func (NullableTfaApplicationResponse) MarshalJSON

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

func (*NullableTfaApplicationResponse) Set

func (*NullableTfaApplicationResponse) UnmarshalJSON

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

func (*NullableTfaApplicationResponse) Unset

func (v *NullableTfaApplicationResponse) Unset()

type NullableTfaCreateMessageRequest

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

func (NullableTfaCreateMessageRequest) Get

func (NullableTfaCreateMessageRequest) IsSet

func (NullableTfaCreateMessageRequest) MarshalJSON

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

func (*NullableTfaCreateMessageRequest) Set

func (*NullableTfaCreateMessageRequest) UnmarshalJSON

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

func (*NullableTfaCreateMessageRequest) Unset

type NullableTfaIndiaDltOptions

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

func NewNullableTfaIndiaDltOptions

func NewNullableTfaIndiaDltOptions(val *TfaIndiaDltOptions) *NullableTfaIndiaDltOptions

func (NullableTfaIndiaDltOptions) Get

func (NullableTfaIndiaDltOptions) IsSet

func (v NullableTfaIndiaDltOptions) IsSet() bool

func (NullableTfaIndiaDltOptions) MarshalJSON

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

func (*NullableTfaIndiaDltOptions) Set

func (*NullableTfaIndiaDltOptions) UnmarshalJSON

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

func (*NullableTfaIndiaDltOptions) Unset

func (v *NullableTfaIndiaDltOptions) Unset()

type NullableTfaLanguage

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

func NewNullableTfaLanguage

func NewNullableTfaLanguage(val *TfaLanguage) *NullableTfaLanguage

func (NullableTfaLanguage) Get

func (NullableTfaLanguage) IsSet

func (v NullableTfaLanguage) IsSet() bool

func (NullableTfaLanguage) MarshalJSON

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

func (*NullableTfaLanguage) Set

func (v *NullableTfaLanguage) Set(val *TfaLanguage)

func (*NullableTfaLanguage) UnmarshalJSON

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

func (*NullableTfaLanguage) Unset

func (v *NullableTfaLanguage) Unset()

type NullableTfaMessage

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

func NewNullableTfaMessage

func NewNullableTfaMessage(val *TfaMessage) *NullableTfaMessage

func (NullableTfaMessage) Get

func (v NullableTfaMessage) Get() *TfaMessage

func (NullableTfaMessage) IsSet

func (v NullableTfaMessage) IsSet() bool

func (NullableTfaMessage) MarshalJSON

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

func (*NullableTfaMessage) Set

func (v *NullableTfaMessage) Set(val *TfaMessage)

func (*NullableTfaMessage) UnmarshalJSON

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

func (*NullableTfaMessage) Unset

func (v *NullableTfaMessage) Unset()

type NullableTfaPinType

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

func NewNullableTfaPinType

func NewNullableTfaPinType(val *TfaPinType) *NullableTfaPinType

func (NullableTfaPinType) Get

func (v NullableTfaPinType) Get() *TfaPinType

func (NullableTfaPinType) IsSet

func (v NullableTfaPinType) IsSet() bool

func (NullableTfaPinType) MarshalJSON

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

func (*NullableTfaPinType) Set

func (v *NullableTfaPinType) Set(val *TfaPinType)

func (*NullableTfaPinType) UnmarshalJSON

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

func (*NullableTfaPinType) Unset

func (v *NullableTfaPinType) Unset()

type NullableTfaRegionalOptions

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

func NewNullableTfaRegionalOptions

func NewNullableTfaRegionalOptions(val *TfaRegionalOptions) *NullableTfaRegionalOptions

func (NullableTfaRegionalOptions) Get

func (NullableTfaRegionalOptions) IsSet

func (v NullableTfaRegionalOptions) IsSet() bool

func (NullableTfaRegionalOptions) MarshalJSON

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

func (*NullableTfaRegionalOptions) Set

func (*NullableTfaRegionalOptions) UnmarshalJSON

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

func (*NullableTfaRegionalOptions) Unset

func (v *NullableTfaRegionalOptions) Unset()

type NullableTfaResendPinRequest

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

func NewNullableTfaResendPinRequest

func NewNullableTfaResendPinRequest(val *TfaResendPinRequest) *NullableTfaResendPinRequest

func (NullableTfaResendPinRequest) Get

func (NullableTfaResendPinRequest) IsSet

func (NullableTfaResendPinRequest) MarshalJSON

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

func (*NullableTfaResendPinRequest) Set

func (*NullableTfaResendPinRequest) UnmarshalJSON

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

func (*NullableTfaResendPinRequest) Unset

func (v *NullableTfaResendPinRequest) Unset()

type NullableTfaStartAuthenticationRequest

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

func (NullableTfaStartAuthenticationRequest) Get

func (NullableTfaStartAuthenticationRequest) IsSet

func (NullableTfaStartAuthenticationRequest) MarshalJSON

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

func (*NullableTfaStartAuthenticationRequest) Set

func (*NullableTfaStartAuthenticationRequest) UnmarshalJSON

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

func (*NullableTfaStartAuthenticationRequest) Unset

type NullableTfaStartAuthenticationResponse

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

func (NullableTfaStartAuthenticationResponse) Get

func (NullableTfaStartAuthenticationResponse) IsSet

func (NullableTfaStartAuthenticationResponse) MarshalJSON

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

func (*NullableTfaStartAuthenticationResponse) Set

func (*NullableTfaStartAuthenticationResponse) UnmarshalJSON

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

func (*NullableTfaStartAuthenticationResponse) Unset

type NullableTfaUpdateMessageRequest

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

func (NullableTfaUpdateMessageRequest) Get

func (NullableTfaUpdateMessageRequest) IsSet

func (NullableTfaUpdateMessageRequest) MarshalJSON

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

func (*NullableTfaUpdateMessageRequest) Set

func (*NullableTfaUpdateMessageRequest) UnmarshalJSON

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

func (*NullableTfaUpdateMessageRequest) Unset

type NullableTfaVerification

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

func NewNullableTfaVerification

func NewNullableTfaVerification(val *TfaVerification) *NullableTfaVerification

func (NullableTfaVerification) Get

func (NullableTfaVerification) IsSet

func (v NullableTfaVerification) IsSet() bool

func (NullableTfaVerification) MarshalJSON

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

func (*NullableTfaVerification) Set

func (*NullableTfaVerification) UnmarshalJSON

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

func (*NullableTfaVerification) Unset

func (v *NullableTfaVerification) Unset()

type NullableTfaVerificationResponse

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

func (NullableTfaVerificationResponse) Get

func (NullableTfaVerificationResponse) IsSet

func (NullableTfaVerificationResponse) MarshalJSON

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

func (*NullableTfaVerificationResponse) Set

func (*NullableTfaVerificationResponse) UnmarshalJSON

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

func (*NullableTfaVerificationResponse) Unset

type NullableTfaVerifyPinRequest

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

func NewNullableTfaVerifyPinRequest

func NewNullableTfaVerifyPinRequest(val *TfaVerifyPinRequest) *NullableTfaVerifyPinRequest

func (NullableTfaVerifyPinRequest) Get

func (NullableTfaVerifyPinRequest) IsSet

func (NullableTfaVerifyPinRequest) MarshalJSON

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

func (*NullableTfaVerifyPinRequest) Set

func (*NullableTfaVerifyPinRequest) UnmarshalJSON

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

func (*NullableTfaVerifyPinRequest) Unset

func (v *NullableTfaVerifyPinRequest) Unset()

type NullableTfaVerifyPinResponse

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

func NewNullableTfaVerifyPinResponse

func NewNullableTfaVerifyPinResponse(val *TfaVerifyPinResponse) *NullableTfaVerifyPinResponse

func (NullableTfaVerifyPinResponse) Get

func (NullableTfaVerifyPinResponse) IsSet

func (NullableTfaVerifyPinResponse) MarshalJSON

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

func (*NullableTfaVerifyPinResponse) Set

func (*NullableTfaVerifyPinResponse) UnmarshalJSON

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

func (*NullableTfaVerifyPinResponse) Unset

func (v *NullableTfaVerifyPinResponse) 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 ReceiveSmsApiService

type ReceiveSmsApiService service

ReceiveSmsApiService ReceiveSmsApi service

func (*ReceiveSmsApiService) GetInboundSmsMessages

* GetInboundSmsMessages Get inbound SMS messages * If for some reason you are unable to receive incoming SMS at the endpoint of your choice in real time, you can use this API call to fetch messages. Each request will return a batch of received messages - only once. The following API request will return only new messages that arrived since the last API request. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetInboundSmsMessagesRequest

func (*ReceiveSmsApiService) GetInboundSmsMessagesExecute

* Execute executes the request * @return SmsInboundMessageResult

type ScheduledSmsApiService

type ScheduledSmsApiService service

ScheduledSmsApiService ScheduledSmsApi service

func (*ScheduledSmsApiService) GetScheduledSmsMessages

* GetScheduledSmsMessages Get scheduled SMS messages * See the status and the scheduled time of your SMS messages. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetScheduledSmsMessagesRequest

func (*ScheduledSmsApiService) GetScheduledSmsMessagesExecute

* Execute executes the request * @return SmsBulkResponse

func (*ScheduledSmsApiService) GetScheduledSmsMessagesStatus

* GetScheduledSmsMessagesStatus Get scheduled SMS messages status * See the status of scheduled messages. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetScheduledSmsMessagesStatusRequest

func (*ScheduledSmsApiService) GetScheduledSmsMessagesStatusExecute

* Execute executes the request * @return SmsBulkStatusResponse

func (*ScheduledSmsApiService) RescheduleSmsMessages

* RescheduleSmsMessages Reschedule SMS messages * Change the date and time for sending scheduled messages. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiRescheduleSmsMessagesRequest

func (*ScheduledSmsApiService) RescheduleSmsMessagesExecute

* Execute executes the request * @return SmsBulkResponse

func (*ScheduledSmsApiService) UpdateScheduledSmsMessagesStatus

func (a *ScheduledSmsApiService) UpdateScheduledSmsMessagesStatus(ctx _context.Context) ApiUpdateScheduledSmsMessagesStatusRequest

* UpdateScheduledSmsMessagesStatus Update scheduled SMS messages status * Change status or completely cancel sending of scheduled messages. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiUpdateScheduledSmsMessagesStatusRequest

func (*ScheduledSmsApiService) UpdateScheduledSmsMessagesStatusExecute

* Execute executes the request * @return SmsBulkStatusResponse

type SendSmsApiService

type SendSmsApiService service

SendSmsApiService SendSmsApi service

func (*SendSmsApiService) GetOutboundSmsMessageDeliveryReports

func (a *SendSmsApiService) GetOutboundSmsMessageDeliveryReports(ctx _context.Context) ApiGetOutboundSmsMessageDeliveryReportsRequest

* GetOutboundSmsMessageDeliveryReports Get outbound SMS message delivery reports * If you are for any reason unable to receive real time delivery reports on your endpoint, you can use this API method to learn if and when the message has been delivered to the recipient. Each request will return a batch of delivery reports - only once. The following API request will return only new reports that arrived since the last API request. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetOutboundSmsMessageDeliveryReportsRequest

func (*SendSmsApiService) GetOutboundSmsMessageDeliveryReportsExecute

func (a *SendSmsApiService) GetOutboundSmsMessageDeliveryReportsExecute(r ApiGetOutboundSmsMessageDeliveryReportsRequest) (SmsDeliveryResult, *_nethttp.Response, error)

* Execute executes the request * @return SmsDeliveryResult

func (*SendSmsApiService) GetOutboundSmsMessageLogs

func (a *SendSmsApiService) GetOutboundSmsMessageLogs(ctx _context.Context) ApiGetOutboundSmsMessageLogsRequest

* GetOutboundSmsMessageLogs Get outbound SMS message logs * You should use this method for displaying logs in the user interface or for some other less frequent usage. See [message delivery reports](#channels/sms/get-outbound-sms-message-delivery-reports) if your use case is to verify message delivery. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetOutboundSmsMessageLogsRequest

func (*SendSmsApiService) GetOutboundSmsMessageLogsExecute

* Execute executes the request * @return SmsLogsResponse

func (*SendSmsApiService) PreviewSmsMessage

* PreviewSmsMessage Preview SMS message * Avoid unpleasant surprises and check how different message configurations will affect your message text, number of characters and message parts. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPreviewSmsMessageRequest

func (*SendSmsApiService) PreviewSmsMessageExecute

* Execute executes the request * @return SmsPreviewResponse

func (*SendSmsApiService) SendBinarySmsMessage

* SendBinarySmsMessage Send binary SMS message * Send single or multiple binary messages to one or more destination address. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSendBinarySmsMessageRequest

func (*SendSmsApiService) SendBinarySmsMessageExecute

func (a *SendSmsApiService) SendBinarySmsMessageExecute(r ApiSendBinarySmsMessageRequest) (SmsResponse, *_nethttp.Response, error)

* Execute executes the request * @return SmsResponse

func (*SendSmsApiService) SendSmsMessage

* SendSmsMessage Send SMS message * 99% of all use cases can be achieved by using this API method. Everything from sending a simple single message to a single destination, up to batch sending of personalized messages to the thousands of recipients with a single API request. Language, transliteration, scheduling and every advanced feature you can think of is supported. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSendSmsMessageRequest

func (*SendSmsApiService) SendSmsMessageExecute

* Execute executes the request * @return SmsResponse

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 SmsAdvancedBinaryRequest

type SmsAdvancedBinaryRequest struct {
	// The ID which uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.
	BulkId   *string            `json:"bulkId,omitempty"`
	Messages []SmsBinaryMessage `json:"messages"`
	// Limit the sending speed for message bulks. In some use cases, you might want to reduce message sending speed if your message call to action involves visiting a website, calling your contact center or similar recipient activity, in which you can handle a limited amount of load. This setting helps you to spread the delivery of the messages over a longer period, allowing your systems or agents to handle incoming traffic in real-time, resulting in better customer satisfaction.
	SendingSpeedLimit *SmsSendingSpeedLimit `json:"sendingSpeedLimit,omitempty"`
}

SmsAdvancedBinaryRequest struct for SmsAdvancedBinaryRequest

func NewSmsAdvancedBinaryRequest

func NewSmsAdvancedBinaryRequest(messages []SmsBinaryMessage) *SmsAdvancedBinaryRequest

NewSmsAdvancedBinaryRequest instantiates a new SmsAdvancedBinaryRequest 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 NewSmsAdvancedBinaryRequestWithDefaults

func NewSmsAdvancedBinaryRequestWithDefaults() *SmsAdvancedBinaryRequest

NewSmsAdvancedBinaryRequestWithDefaults instantiates a new SmsAdvancedBinaryRequest 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 (*SmsAdvancedBinaryRequest) Default

Default returns the default value for the struct.

func (*SmsAdvancedBinaryRequest) GetBulkId

func (o *SmsAdvancedBinaryRequest) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsAdvancedBinaryRequest) GetBulkIdOk

func (o *SmsAdvancedBinaryRequest) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsAdvancedBinaryRequest) GetMessages

func (o *SmsAdvancedBinaryRequest) GetMessages() []SmsBinaryMessage

GetMessages returns the Messages field value

func (*SmsAdvancedBinaryRequest) GetMessagesOk

func (o *SmsAdvancedBinaryRequest) GetMessagesOk() (*[]SmsBinaryMessage, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*SmsAdvancedBinaryRequest) GetSendingSpeedLimit

func (o *SmsAdvancedBinaryRequest) GetSendingSpeedLimit() SmsSendingSpeedLimit

GetSendingSpeedLimit returns the SendingSpeedLimit field value if set, zero value otherwise.

func (*SmsAdvancedBinaryRequest) GetSendingSpeedLimitOk

func (o *SmsAdvancedBinaryRequest) GetSendingSpeedLimitOk() (*SmsSendingSpeedLimit, bool)

GetSendingSpeedLimitOk returns a tuple with the SendingSpeedLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsAdvancedBinaryRequest) HasBulkId

func (o *SmsAdvancedBinaryRequest) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsAdvancedBinaryRequest) HasSendingSpeedLimit

func (o *SmsAdvancedBinaryRequest) HasSendingSpeedLimit() bool

HasSendingSpeedLimit returns a boolean if a field has been set.

func (SmsAdvancedBinaryRequest) MarshalJSON

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

func (*SmsAdvancedBinaryRequest) SetBulkId

func (o *SmsAdvancedBinaryRequest) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsAdvancedBinaryRequest) SetMessages

func (o *SmsAdvancedBinaryRequest) SetMessages(v []SmsBinaryMessage)

SetMessages sets field value

func (*SmsAdvancedBinaryRequest) SetSendingSpeedLimit

func (o *SmsAdvancedBinaryRequest) SetSendingSpeedLimit(v SmsSendingSpeedLimit)

SetSendingSpeedLimit gets a reference to the given SmsSendingSpeedLimit and assigns it to the SendingSpeedLimit field.

type SmsAdvancedTextualRequest

type SmsAdvancedTextualRequest struct {
	// The ID which uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.
	BulkId   *string              `json:"bulkId,omitempty"`
	Messages *[]SmsTextualMessage `json:"messages,omitempty"`
	// Limit the sending speed for message bulks. In some use cases, you might want to reduce message sending speed if your message call to action involves visiting a website, calling your contact center or similar recipient activity, in which you can handle a limited amount of load. This setting helps you to spread the delivery of the messages over a longer period, allowing your systems or agents to handle incoming traffic in real-time, resulting in better customer satisfaction.
	SendingSpeedLimit *SmsSendingSpeedLimit `json:"sendingSpeedLimit,omitempty"`
	Tracking          *SmsTracking          `json:"tracking,omitempty"`
}

SmsAdvancedTextualRequest struct for SmsAdvancedTextualRequest

func NewSmsAdvancedTextualRequest

func NewSmsAdvancedTextualRequest() *SmsAdvancedTextualRequest

NewSmsAdvancedTextualRequest instantiates a new SmsAdvancedTextualRequest 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 NewSmsAdvancedTextualRequestWithDefaults

func NewSmsAdvancedTextualRequestWithDefaults() *SmsAdvancedTextualRequest

NewSmsAdvancedTextualRequestWithDefaults instantiates a new SmsAdvancedTextualRequest 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 (*SmsAdvancedTextualRequest) Default

Default returns the default value for the type.

func (*SmsAdvancedTextualRequest) GetBulkId

func (o *SmsAdvancedTextualRequest) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsAdvancedTextualRequest) GetBulkIdOk

func (o *SmsAdvancedTextualRequest) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsAdvancedTextualRequest) GetMessages

func (o *SmsAdvancedTextualRequest) GetMessages() []SmsTextualMessage

GetMessages returns the Messages field value if set, zero value otherwise.

func (*SmsAdvancedTextualRequest) GetMessagesOk

func (o *SmsAdvancedTextualRequest) GetMessagesOk() (*[]SmsTextualMessage, 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 (*SmsAdvancedTextualRequest) GetSendingSpeedLimit

func (o *SmsAdvancedTextualRequest) GetSendingSpeedLimit() SmsSendingSpeedLimit

GetSendingSpeedLimit returns the SendingSpeedLimit field value if set, zero value otherwise.

func (*SmsAdvancedTextualRequest) GetSendingSpeedLimitOk

func (o *SmsAdvancedTextualRequest) GetSendingSpeedLimitOk() (*SmsSendingSpeedLimit, bool)

GetSendingSpeedLimitOk returns a tuple with the SendingSpeedLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsAdvancedTextualRequest) GetTracking

func (o *SmsAdvancedTextualRequest) GetTracking() SmsTracking

GetTracking returns the Tracking field value if set, zero value otherwise.

func (*SmsAdvancedTextualRequest) GetTrackingOk

func (o *SmsAdvancedTextualRequest) GetTrackingOk() (*SmsTracking, bool)

GetTrackingOk returns a tuple with the Tracking field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsAdvancedTextualRequest) HasBulkId

func (o *SmsAdvancedTextualRequest) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsAdvancedTextualRequest) HasMessages

func (o *SmsAdvancedTextualRequest) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*SmsAdvancedTextualRequest) HasSendingSpeedLimit

func (o *SmsAdvancedTextualRequest) HasSendingSpeedLimit() bool

HasSendingSpeedLimit returns a boolean if a field has been set.

func (*SmsAdvancedTextualRequest) HasTracking

func (o *SmsAdvancedTextualRequest) HasTracking() bool

HasTracking returns a boolean if a field has been set.

func (SmsAdvancedTextualRequest) MarshalJSON

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

func (*SmsAdvancedTextualRequest) SetBulkId

func (o *SmsAdvancedTextualRequest) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsAdvancedTextualRequest) SetMessages

func (o *SmsAdvancedTextualRequest) SetMessages(v []SmsTextualMessage)

SetMessages gets a reference to the given []SmsTextualMessage and assigns it to the Messages field.

func (*SmsAdvancedTextualRequest) SetSendingSpeedLimit

func (o *SmsAdvancedTextualRequest) SetSendingSpeedLimit(v SmsSendingSpeedLimit)

SetSendingSpeedLimit gets a reference to the given SmsSendingSpeedLimit and assigns it to the SendingSpeedLimit field.

func (*SmsAdvancedTextualRequest) SetTracking

func (o *SmsAdvancedTextualRequest) SetTracking(v SmsTracking)

SetTracking gets a reference to the given SmsTracking and assigns it to the Tracking field.

type SmsApiException

type SmsApiException struct {
	RequestError *SmsApiRequestError `json:"requestError,omitempty"`
}

SmsApiException struct for SmsApiException

func NewSmsApiException

func NewSmsApiException() *SmsApiException

NewSmsApiException instantiates a new SmsApiException 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 NewSmsApiExceptionWithDefaults

func NewSmsApiExceptionWithDefaults() *SmsApiException

NewSmsApiExceptionWithDefaults instantiates a new SmsApiException 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 (*SmsApiException) GetRequestError

func (o *SmsApiException) GetRequestError() SmsApiRequestError

GetRequestError returns the RequestError field value if set, zero value otherwise.

func (*SmsApiException) GetRequestErrorOk

func (o *SmsApiException) GetRequestErrorOk() (*SmsApiRequestError, bool)

GetRequestErrorOk returns a tuple with the RequestError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsApiException) HasRequestError

func (o *SmsApiException) HasRequestError() bool

HasRequestError returns a boolean if a field has been set.

func (SmsApiException) MarshalJSON

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

func (*SmsApiException) SetRequestError

func (o *SmsApiException) SetRequestError(v SmsApiRequestError)

SetRequestError gets a reference to the given SmsApiRequestError and assigns it to the RequestError field.

type SmsApiRequestError

type SmsApiRequestError struct {
	ServiceException *SmsApiRequestErrorDetails `json:"serviceException,omitempty"`
}

SmsApiRequestError struct for SmsApiRequestError

func NewSmsApiRequestError

func NewSmsApiRequestError() *SmsApiRequestError

NewSmsApiRequestError instantiates a new SmsApiRequestError 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 NewSmsApiRequestErrorWithDefaults

func NewSmsApiRequestErrorWithDefaults() *SmsApiRequestError

NewSmsApiRequestErrorWithDefaults instantiates a new SmsApiRequestError 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 (*SmsApiRequestError) GetServiceException

func (o *SmsApiRequestError) GetServiceException() SmsApiRequestErrorDetails

GetServiceException returns the ServiceException field value if set, zero value otherwise.

func (*SmsApiRequestError) GetServiceExceptionOk

func (o *SmsApiRequestError) GetServiceExceptionOk() (*SmsApiRequestErrorDetails, bool)

GetServiceExceptionOk returns a tuple with the ServiceException field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsApiRequestError) HasServiceException

func (o *SmsApiRequestError) HasServiceException() bool

HasServiceException returns a boolean if a field has been set.

func (SmsApiRequestError) MarshalJSON

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

func (*SmsApiRequestError) SetServiceException

func (o *SmsApiRequestError) SetServiceException(v SmsApiRequestErrorDetails)

SetServiceException gets a reference to the given SmsApiRequestErrorDetails and assigns it to the ServiceException field.

type SmsApiRequestErrorDetails

type SmsApiRequestErrorDetails struct {
	// Identifier of the error.
	MessageId *string `json:"messageId,omitempty"`
	// Detailed error description.
	Text *string `json:"text,omitempty"`
}

SmsApiRequestErrorDetails struct for SmsApiRequestErrorDetails

func NewSmsApiRequestErrorDetails

func NewSmsApiRequestErrorDetails() *SmsApiRequestErrorDetails

NewSmsApiRequestErrorDetails instantiates a new SmsApiRequestErrorDetails 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 NewSmsApiRequestErrorDetailsWithDefaults

func NewSmsApiRequestErrorDetailsWithDefaults() *SmsApiRequestErrorDetails

NewSmsApiRequestErrorDetailsWithDefaults instantiates a new SmsApiRequestErrorDetails 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 (*SmsApiRequestErrorDetails) GetMessageId

func (o *SmsApiRequestErrorDetails) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsApiRequestErrorDetails) GetMessageIdOk

func (o *SmsApiRequestErrorDetails) 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 (*SmsApiRequestErrorDetails) GetText

func (o *SmsApiRequestErrorDetails) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*SmsApiRequestErrorDetails) GetTextOk

func (o *SmsApiRequestErrorDetails) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsApiRequestErrorDetails) HasMessageId

func (o *SmsApiRequestErrorDetails) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*SmsApiRequestErrorDetails) HasText

func (o *SmsApiRequestErrorDetails) HasText() bool

HasText returns a boolean if a field has been set.

func (SmsApiRequestErrorDetails) MarshalJSON

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

func (*SmsApiRequestErrorDetails) SetMessageId

func (o *SmsApiRequestErrorDetails) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsApiRequestErrorDetails) SetText

func (o *SmsApiRequestErrorDetails) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

type SmsBinaryContent

type SmsBinaryContent struct {
	// Binary content data coding. The default value is (`0`) for GSM7. Example: (`8`) for  Unicode data.
	DataCoding *int32 `json:"dataCoding,omitempty"`
	// “Esm_class” parameter. Indicate special message attributes associated with the SMS. Default value is (`0`).
	EsmClass *int32 `json:"esmClass,omitempty"`
	// Hexadecimal string. This is the representation of your binary data. Two hex digits represent one byte. They should be separated by the space character (Example: `0f c2 4a bf 34 13 ba`).
	Hex string `json:"hex"`
}

SmsBinaryContent struct for SmsBinaryContent

func NewSmsBinaryContent

func NewSmsBinaryContent(hex string) *SmsBinaryContent

NewSmsBinaryContent instantiates a new SmsBinaryContent 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 NewSmsBinaryContentWithDefaults

func NewSmsBinaryContentWithDefaults() *SmsBinaryContent

NewSmsBinaryContentWithDefaults instantiates a new SmsBinaryContent 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 (*SmsBinaryContent) GetDataCoding

func (o *SmsBinaryContent) GetDataCoding() int32

GetDataCoding returns the DataCoding field value if set, zero value otherwise.

func (*SmsBinaryContent) GetDataCodingOk

func (o *SmsBinaryContent) GetDataCodingOk() (*int32, bool)

GetDataCodingOk returns a tuple with the DataCoding field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryContent) GetEsmClass

func (o *SmsBinaryContent) GetEsmClass() int32

GetEsmClass returns the EsmClass field value if set, zero value otherwise.

func (*SmsBinaryContent) GetEsmClassOk

func (o *SmsBinaryContent) GetEsmClassOk() (*int32, bool)

GetEsmClassOk returns a tuple with the EsmClass field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryContent) GetHex

func (o *SmsBinaryContent) GetHex() string

GetHex returns the Hex field value

func (*SmsBinaryContent) GetHexOk

func (o *SmsBinaryContent) GetHexOk() (*string, bool)

GetHexOk returns a tuple with the Hex field value and a boolean to check if the value has been set.

func (*SmsBinaryContent) HasDataCoding

func (o *SmsBinaryContent) HasDataCoding() bool

HasDataCoding returns a boolean if a field has been set.

func (*SmsBinaryContent) HasEsmClass

func (o *SmsBinaryContent) HasEsmClass() bool

HasEsmClass returns a boolean if a field has been set.

func (SmsBinaryContent) MarshalJSON

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

func (*SmsBinaryContent) SetDataCoding

func (o *SmsBinaryContent) SetDataCoding(v int32)

SetDataCoding gets a reference to the given int32 and assigns it to the DataCoding field.

func (*SmsBinaryContent) SetEsmClass

func (o *SmsBinaryContent) SetEsmClass(v int32)

SetEsmClass gets a reference to the given int32 and assigns it to the EsmClass field.

func (*SmsBinaryContent) SetHex

func (o *SmsBinaryContent) SetHex(v string)

SetHex sets field value

type SmsBinaryMessage

type SmsBinaryMessage struct {
	Binary *SmsBinaryContent `json:"binary,omitempty"`
	// Additional client's data that will be sent on the notifyUrl. The maximum value is 200 characters.
	CallbackData *string `json:"callbackData,omitempty"`
	// Scheduling object that allows setting up detailed time windows in which the message can be sent. Consists of `from`, `to` and `days` properties. `Days` property is mandatory. `From` and `to` properties should be either both included, to allow finer time window granulation or both omitted, to include whole days in the delivery time window.
	DeliveryTimeWindow *SmsDeliveryTimeWindow `json:"deliveryTimeWindow,omitempty"`
	Destinations       *[]SmsDestination      `json:"destinations,omitempty"`
	// Can be `true` or `false`. If the value is set to `true`, a flash SMS will be sent. Otherwise, a normal SMS will be sent. The default value is `false`.
	Flash *bool `json:"flash,omitempty"`
	// Represents a sender ID which can be alphanumeric or numeric. Alphanumeric sender ID length should be between 3 and 11 characters (Example: `CompanyName`). Numeric sender ID length should be between 3 and 14 characters.
	From *string `json:"from,omitempty"`
	// The real-time Intermediate delivery report that will be sent on your callback server. Can be `true` or `false`.
	IntermediateReport *bool `json:"intermediateReport,omitempty"`
	// Preferred Delivery report content type. Can be `application/json` or `application/xml`.
	NotifyContentType *string `json:"notifyContentType,omitempty"`
	// The URL on your call back server on which the Delivery report will be sent.
	NotifyUrl *string `json:"notifyUrl,omitempty"`
	// Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
	Regional *SmsRegionalOptions `json:"regional,omitempty"`
	// Date and time when the message is to be sent. Used for scheduled SMS (SMS not sent immediately, but at the scheduled time). Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	SendAt *Time `json:"sendAt,omitempty"`
	// The message validity period in minutes. When the period expires, it will not be allowed for the message to be sent. Validity period longer than 48h is not supported (in this case, it will be automatically set to 48h).
	ValidityPeriod *int64 `json:"validityPeriod,omitempty"`
}

SmsBinaryMessage struct for SmsBinaryMessage

func NewSmsBinaryMessage

func NewSmsBinaryMessage() *SmsBinaryMessage

NewSmsBinaryMessage instantiates a new SmsBinaryMessage 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 NewSmsBinaryMessageWithDefaults

func NewSmsBinaryMessageWithDefaults() *SmsBinaryMessage

NewSmsBinaryMessageWithDefaults instantiates a new SmsBinaryMessage 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 (*SmsBinaryMessage) Default

func (o *SmsBinaryMessage) Default() *SmsBinaryMessage

Default returns the default value for the struct.

func (*SmsBinaryMessage) GetBinary

func (o *SmsBinaryMessage) GetBinary() SmsBinaryContent

GetBinary returns the Binary field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetBinaryOk

func (o *SmsBinaryMessage) GetBinaryOk() (*SmsBinaryContent, bool)

GetBinaryOk returns a tuple with the Binary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetCallbackData

func (o *SmsBinaryMessage) GetCallbackData() string

GetCallbackData returns the CallbackData field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetCallbackDataOk

func (o *SmsBinaryMessage) GetCallbackDataOk() (*string, bool)

GetCallbackDataOk returns a tuple with the CallbackData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetDeliveryTimeWindow

func (o *SmsBinaryMessage) GetDeliveryTimeWindow() SmsDeliveryTimeWindow

GetDeliveryTimeWindow returns the DeliveryTimeWindow field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetDeliveryTimeWindowOk

func (o *SmsBinaryMessage) GetDeliveryTimeWindowOk() (*SmsDeliveryTimeWindow, bool)

GetDeliveryTimeWindowOk returns a tuple with the DeliveryTimeWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetDestinations

func (o *SmsBinaryMessage) GetDestinations() []SmsDestination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetDestinationsOk

func (o *SmsBinaryMessage) GetDestinationsOk() (*[]SmsDestination, bool)

GetDestinationsOk returns a tuple with the Destinations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetFlash

func (o *SmsBinaryMessage) GetFlash() bool

GetFlash returns the Flash field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetFlashOk

func (o *SmsBinaryMessage) GetFlashOk() (*bool, bool)

GetFlashOk returns a tuple with the Flash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetFrom

func (o *SmsBinaryMessage) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetFromOk

func (o *SmsBinaryMessage) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetIntermediateReport

func (o *SmsBinaryMessage) GetIntermediateReport() bool

GetIntermediateReport returns the IntermediateReport field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetIntermediateReportOk

func (o *SmsBinaryMessage) GetIntermediateReportOk() (*bool, bool)

GetIntermediateReportOk returns a tuple with the IntermediateReport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetNotifyContentType

func (o *SmsBinaryMessage) GetNotifyContentType() string

GetNotifyContentType returns the NotifyContentType field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetNotifyContentTypeOk

func (o *SmsBinaryMessage) GetNotifyContentTypeOk() (*string, bool)

GetNotifyContentTypeOk returns a tuple with the NotifyContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetNotifyUrl

func (o *SmsBinaryMessage) GetNotifyUrl() string

GetNotifyUrl returns the NotifyUrl field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetNotifyUrlOk

func (o *SmsBinaryMessage) GetNotifyUrlOk() (*string, bool)

GetNotifyUrlOk returns a tuple with the NotifyUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetRegional

func (o *SmsBinaryMessage) GetRegional() SmsRegionalOptions

GetRegional returns the Regional field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetRegionalOk

func (o *SmsBinaryMessage) GetRegionalOk() (*SmsRegionalOptions, bool)

GetRegionalOk returns a tuple with the Regional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetSendAt

func (o *SmsBinaryMessage) GetSendAt() Time

GetSendAt returns the SendAt field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetSendAtOk

func (o *SmsBinaryMessage) GetSendAtOk() (*Time, bool)

GetSendAtOk returns a tuple with the SendAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) GetValidityPeriod

func (o *SmsBinaryMessage) GetValidityPeriod() int64

GetValidityPeriod returns the ValidityPeriod field value if set, zero value otherwise.

func (*SmsBinaryMessage) GetValidityPeriodOk

func (o *SmsBinaryMessage) GetValidityPeriodOk() (*int64, bool)

GetValidityPeriodOk returns a tuple with the ValidityPeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBinaryMessage) HasBinary

func (o *SmsBinaryMessage) HasBinary() bool

HasBinary returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasCallbackData

func (o *SmsBinaryMessage) HasCallbackData() bool

HasCallbackData returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasDeliveryTimeWindow

func (o *SmsBinaryMessage) HasDeliveryTimeWindow() bool

HasDeliveryTimeWindow returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasDestinations

func (o *SmsBinaryMessage) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasFlash

func (o *SmsBinaryMessage) HasFlash() bool

HasFlash returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasFrom

func (o *SmsBinaryMessage) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasIntermediateReport

func (o *SmsBinaryMessage) HasIntermediateReport() bool

HasIntermediateReport returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasNotifyContentType

func (o *SmsBinaryMessage) HasNotifyContentType() bool

HasNotifyContentType returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasNotifyUrl

func (o *SmsBinaryMessage) HasNotifyUrl() bool

HasNotifyUrl returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasRegional

func (o *SmsBinaryMessage) HasRegional() bool

HasRegional returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasSendAt

func (o *SmsBinaryMessage) HasSendAt() bool

HasSendAt returns a boolean if a field has been set.

func (*SmsBinaryMessage) HasValidityPeriod

func (o *SmsBinaryMessage) HasValidityPeriod() bool

HasValidityPeriod returns a boolean if a field has been set.

func (SmsBinaryMessage) MarshalJSON

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

func (*SmsBinaryMessage) SetBinary

func (o *SmsBinaryMessage) SetBinary(v SmsBinaryContent)

SetBinary gets a reference to the given SmsBinaryContent and assigns it to the Binary field.

func (*SmsBinaryMessage) SetCallbackData

func (o *SmsBinaryMessage) SetCallbackData(v string)

SetCallbackData gets a reference to the given string and assigns it to the CallbackData field.

func (*SmsBinaryMessage) SetDeliveryTimeWindow

func (o *SmsBinaryMessage) SetDeliveryTimeWindow(v SmsDeliveryTimeWindow)

SetDeliveryTimeWindow gets a reference to the given SmsDeliveryTimeWindow and assigns it to the DeliveryTimeWindow field.

func (*SmsBinaryMessage) SetDestinations

func (o *SmsBinaryMessage) SetDestinations(v []SmsDestination)

SetDestinations gets a reference to the given []SmsDestination and assigns it to the Destinations field.

func (*SmsBinaryMessage) SetFlash

func (o *SmsBinaryMessage) SetFlash(v bool)

SetFlash gets a reference to the given bool and assigns it to the Flash field.

func (*SmsBinaryMessage) SetFrom

func (o *SmsBinaryMessage) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*SmsBinaryMessage) SetIntermediateReport

func (o *SmsBinaryMessage) SetIntermediateReport(v bool)

SetIntermediateReport gets a reference to the given bool and assigns it to the IntermediateReport field.

func (*SmsBinaryMessage) SetNotifyContentType

func (o *SmsBinaryMessage) SetNotifyContentType(v string)

SetNotifyContentType gets a reference to the given string and assigns it to the NotifyContentType field.

func (*SmsBinaryMessage) SetNotifyUrl

func (o *SmsBinaryMessage) SetNotifyUrl(v string)

SetNotifyUrl gets a reference to the given string and assigns it to the NotifyUrl field.

func (*SmsBinaryMessage) SetRegional

func (o *SmsBinaryMessage) SetRegional(v SmsRegionalOptions)

SetRegional gets a reference to the given SmsRegionalOptions and assigns it to the Regional field.

func (*SmsBinaryMessage) SetSendAt

func (o *SmsBinaryMessage) SetSendAt(v Time)

SetSendAt gets a reference to the given Time and assigns it to the SendAt field.

func (*SmsBinaryMessage) SetValidityPeriod

func (o *SmsBinaryMessage) SetValidityPeriod(v int64)

SetValidityPeriod gets a reference to the given int64 and assigns it to the ValidityPeriod field.

type SmsBulkRequest

type SmsBulkRequest struct {
	SendAt Time `json:"sendAt"`
}

SmsBulkRequest struct for SmsBulkRequest

func NewSmsBulkRequest

func NewSmsBulkRequest(sendAt Time) *SmsBulkRequest

NewSmsBulkRequest instantiates a new SmsBulkRequest 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 NewSmsBulkRequestWithDefaults

func NewSmsBulkRequestWithDefaults() *SmsBulkRequest

NewSmsBulkRequestWithDefaults instantiates a new SmsBulkRequest 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 (*SmsBulkRequest) GetSendAt

func (o *SmsBulkRequest) GetSendAt() Time

GetSendAt returns the SendAt field value

func (*SmsBulkRequest) GetSendAtOk

func (o *SmsBulkRequest) GetSendAtOk() (*Time, bool)

GetSendAtOk returns a tuple with the SendAt field value and a boolean to check if the value has been set.

func (SmsBulkRequest) MarshalJSON

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

func (*SmsBulkRequest) SetSendAt

func (o *SmsBulkRequest) SetSendAt(v Time)

SetSendAt sets field value

type SmsBulkResponse

type SmsBulkResponse struct {
	BulkId *string `json:"bulkId,omitempty"`
	SendAt *Time   `json:"sendAt,omitempty"`
}

SmsBulkResponse struct for SmsBulkResponse

func NewSmsBulkResponse

func NewSmsBulkResponse() *SmsBulkResponse

NewSmsBulkResponse instantiates a new SmsBulkResponse 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 NewSmsBulkResponseWithDefaults

func NewSmsBulkResponseWithDefaults() *SmsBulkResponse

NewSmsBulkResponseWithDefaults instantiates a new SmsBulkResponse 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 (*SmsBulkResponse) GetBulkId

func (o *SmsBulkResponse) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsBulkResponse) GetBulkIdOk

func (o *SmsBulkResponse) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBulkResponse) GetSendAt

func (o *SmsBulkResponse) GetSendAt() Time

GetSendAt returns the SendAt field value if set, zero value otherwise.

func (*SmsBulkResponse) GetSendAtOk

func (o *SmsBulkResponse) GetSendAtOk() (*Time, bool)

GetSendAtOk returns a tuple with the SendAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBulkResponse) HasBulkId

func (o *SmsBulkResponse) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsBulkResponse) HasSendAt

func (o *SmsBulkResponse) HasSendAt() bool

HasSendAt returns a boolean if a field has been set.

func (SmsBulkResponse) MarshalJSON

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

func (*SmsBulkResponse) SetBulkId

func (o *SmsBulkResponse) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsBulkResponse) SetSendAt

func (o *SmsBulkResponse) SetSendAt(v Time)

SetSendAt gets a reference to the given Time and assigns it to the SendAt field.

type SmsBulkStatus

type SmsBulkStatus string

SmsBulkStatus the model 'SmsBulkStatus'

const (
	SMSBULKSTATUS_PENDING    SmsBulkStatus = "PENDING"
	SMSBULKSTATUS_PAUSED     SmsBulkStatus = "PAUSED"
	SMSBULKSTATUS_PROCESSING SmsBulkStatus = "PROCESSING"
	SMSBULKSTATUS_CANCELED   SmsBulkStatus = "CANCELED"
	SMSBULKSTATUS_FINISHED   SmsBulkStatus = "FINISHED"
	SMSBULKSTATUS_FAILED     SmsBulkStatus = "FAILED"
)

List of SmsBulkStatus

func (SmsBulkStatus) Ptr

func (v SmsBulkStatus) Ptr() *SmsBulkStatus

Ptr returns reference to SmsBulkStatus value

func (*SmsBulkStatus) UnmarshalJSON

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

type SmsBulkStatusResponse

type SmsBulkStatusResponse struct {
	BulkId *string        `json:"bulkId,omitempty"`
	Status *SmsBulkStatus `json:"status,omitempty"`
}

SmsBulkStatusResponse struct for SmsBulkStatusResponse

func NewSmsBulkStatusResponse

func NewSmsBulkStatusResponse() *SmsBulkStatusResponse

NewSmsBulkStatusResponse instantiates a new SmsBulkStatusResponse 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 NewSmsBulkStatusResponseWithDefaults

func NewSmsBulkStatusResponseWithDefaults() *SmsBulkStatusResponse

NewSmsBulkStatusResponseWithDefaults instantiates a new SmsBulkStatusResponse 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 (*SmsBulkStatusResponse) GetBulkId

func (o *SmsBulkStatusResponse) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsBulkStatusResponse) GetBulkIdOk

func (o *SmsBulkStatusResponse) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsBulkStatusResponse) GetStatus

func (o *SmsBulkStatusResponse) GetStatus() SmsBulkStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SmsBulkStatusResponse) GetStatusOk

func (o *SmsBulkStatusResponse) GetStatusOk() (*SmsBulkStatus, 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 (*SmsBulkStatusResponse) HasBulkId

func (o *SmsBulkStatusResponse) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsBulkStatusResponse) HasStatus

func (o *SmsBulkStatusResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SmsBulkStatusResponse) MarshalJSON

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

func (*SmsBulkStatusResponse) SetBulkId

func (o *SmsBulkStatusResponse) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsBulkStatusResponse) SetStatus

func (o *SmsBulkStatusResponse) SetStatus(v SmsBulkStatus)

SetStatus gets a reference to the given SmsBulkStatus and assigns it to the Status field.

type SmsDeliveryDay

type SmsDeliveryDay string

SmsDeliveryDay the model 'SmsDeliveryDay'

const (
	SMSDELIVERYDAY_MONDAY    SmsDeliveryDay = "MONDAY"
	SMSDELIVERYDAY_TUESDAY   SmsDeliveryDay = "TUESDAY"
	SMSDELIVERYDAY_WEDNESDAY SmsDeliveryDay = "WEDNESDAY"
	SMSDELIVERYDAY_THURSDAY  SmsDeliveryDay = "THURSDAY"
	SMSDELIVERYDAY_FRIDAY    SmsDeliveryDay = "FRIDAY"
	SMSDELIVERYDAY_SATURDAY  SmsDeliveryDay = "SATURDAY"
	SMSDELIVERYDAY_SUNDAY    SmsDeliveryDay = "SUNDAY"
)

List of SmsDeliveryDay

func (SmsDeliveryDay) Ptr

func (v SmsDeliveryDay) Ptr() *SmsDeliveryDay

Ptr returns reference to SmsDeliveryDay value

func (*SmsDeliveryDay) UnmarshalJSON

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

type SmsDeliveryResult

type SmsDeliveryResult struct {
	Results *[]SmsReport `json:"results,omitempty"`
}

SmsDeliveryResult struct for SmsDeliveryResult

func NewSmsDeliveryResult

func NewSmsDeliveryResult() *SmsDeliveryResult

NewSmsDeliveryResult instantiates a new SmsDeliveryResult 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 NewSmsDeliveryResultWithDefaults

func NewSmsDeliveryResultWithDefaults() *SmsDeliveryResult

NewSmsDeliveryResultWithDefaults instantiates a new SmsDeliveryResult 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 (*SmsDeliveryResult) GetResults

func (o *SmsDeliveryResult) GetResults() []SmsReport

GetResults returns the Results field value if set, zero value otherwise.

func (*SmsDeliveryResult) GetResultsOk

func (o *SmsDeliveryResult) GetResultsOk() (*[]SmsReport, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsDeliveryResult) HasResults

func (o *SmsDeliveryResult) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SmsDeliveryResult) MarshalJSON

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

func (*SmsDeliveryResult) SetResults

func (o *SmsDeliveryResult) SetResults(v []SmsReport)

SetResults gets a reference to the given []SmsReport and assigns it to the Results field.

type SmsDeliveryTime

type SmsDeliveryTime struct {
	// Hour when the time window opens when used in from property or closes when used into the property.
	Hour int32 `json:"hour"`
	// Minute when the time window opens when used in from property or closes when used into the property.
	Minute int32 `json:"minute"`
}

SmsDeliveryTime struct for SmsDeliveryTime

func NewSmsDeliveryTime

func NewSmsDeliveryTime(hour int32, minute int32) *SmsDeliveryTime

NewSmsDeliveryTime instantiates a new SmsDeliveryTime 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 NewSmsDeliveryTimeWithDefaults

func NewSmsDeliveryTimeWithDefaults() *SmsDeliveryTime

NewSmsDeliveryTimeWithDefaults instantiates a new SmsDeliveryTime 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 (*SmsDeliveryTime) GetHour

func (o *SmsDeliveryTime) GetHour() int32

GetHour returns the Hour field value

func (*SmsDeliveryTime) GetHourOk

func (o *SmsDeliveryTime) GetHourOk() (*int32, bool)

GetHourOk returns a tuple with the Hour field value and a boolean to check if the value has been set.

func (*SmsDeliveryTime) GetMinute

func (o *SmsDeliveryTime) GetMinute() int32

GetMinute returns the Minute field value

func (*SmsDeliveryTime) GetMinuteOk

func (o *SmsDeliveryTime) GetMinuteOk() (*int32, bool)

GetMinuteOk returns a tuple with the Minute field value and a boolean to check if the value has been set.

func (SmsDeliveryTime) MarshalJSON

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

func (*SmsDeliveryTime) SetHour

func (o *SmsDeliveryTime) SetHour(v int32)

SetHour sets field value

func (*SmsDeliveryTime) SetMinute

func (o *SmsDeliveryTime) SetMinute(v int32)

SetMinute sets field value

type SmsDeliveryTimeWindow

type SmsDeliveryTimeWindow struct {
	// Days which are included in the delivery time window. Values are: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`. At least one day must be stated.
	Days []SmsDeliveryDay `json:"days"`
	// Exact time of day in which the sending can start. Consists of hour and minute properties, both mandatory. Time is expressed in the UTC time zone.
	From *SmsDeliveryTime `json:"from,omitempty"`
	// Exact time of day in which the sending will end. Consists of an hour and minute properties, both mandatory. Time is expressed in the UTC time zone.
	To *SmsDeliveryTime `json:"to,omitempty"`
}

SmsDeliveryTimeWindow struct for SmsDeliveryTimeWindow

func NewSmsDeliveryTimeWindow

func NewSmsDeliveryTimeWindow(days []SmsDeliveryDay) *SmsDeliveryTimeWindow

NewSmsDeliveryTimeWindow instantiates a new SmsDeliveryTimeWindow 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 NewSmsDeliveryTimeWindowWithDefaults

func NewSmsDeliveryTimeWindowWithDefaults() *SmsDeliveryTimeWindow

NewSmsDeliveryTimeWindowWithDefaults instantiates a new SmsDeliveryTimeWindow 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 (*SmsDeliveryTimeWindow) GetDays

func (o *SmsDeliveryTimeWindow) GetDays() []SmsDeliveryDay

GetDays returns the Days field value

func (*SmsDeliveryTimeWindow) GetDaysOk

func (o *SmsDeliveryTimeWindow) GetDaysOk() (*[]SmsDeliveryDay, bool)

GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set.

func (*SmsDeliveryTimeWindow) GetFrom

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsDeliveryTimeWindow) GetFromOk

func (o *SmsDeliveryTimeWindow) GetFromOk() (*SmsDeliveryTime, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsDeliveryTimeWindow) GetTo

GetTo returns the To field value if set, zero value otherwise.

func (*SmsDeliveryTimeWindow) GetToOk

func (o *SmsDeliveryTimeWindow) GetToOk() (*SmsDeliveryTime, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsDeliveryTimeWindow) HasFrom

func (o *SmsDeliveryTimeWindow) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsDeliveryTimeWindow) HasTo

func (o *SmsDeliveryTimeWindow) HasTo() bool

HasTo returns a boolean if a field has been set.

func (SmsDeliveryTimeWindow) MarshalJSON

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

func (*SmsDeliveryTimeWindow) SetDays

func (o *SmsDeliveryTimeWindow) SetDays(v []SmsDeliveryDay)

SetDays sets field value

func (*SmsDeliveryTimeWindow) SetFrom

func (o *SmsDeliveryTimeWindow) SetFrom(v SmsDeliveryTime)

SetFrom gets a reference to the given SmsDeliveryTime and assigns it to the From field.

func (*SmsDeliveryTimeWindow) SetTo

SetTo gets a reference to the given SmsDeliveryTime and assigns it to the To field.

type SmsDestination

type SmsDestination struct {
	// The ID that uniquely identifies the message sent.
	MessageId *string `json:"messageId,omitempty"`
	// Message destination address. Addresses must be in international format (Example: `41793026727`).
	To string `json:"to"`
}

SmsDestination struct for SmsDestination

func NewSmsDestination

func NewSmsDestination(to string) *SmsDestination

NewSmsDestination instantiates a new SmsDestination 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 NewSmsDestinationWithDefaults

func NewSmsDestinationWithDefaults() *SmsDestination

NewSmsDestinationWithDefaults instantiates a new SmsDestination 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 (*SmsDestination) Default

func (o *SmsDestination) Default() *SmsDestination

Default returns the default value for the type.

func (*SmsDestination) GetMessageId

func (o *SmsDestination) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsDestination) GetMessageIdOk

func (o *SmsDestination) 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 (*SmsDestination) GetTo

func (o *SmsDestination) GetTo() string

GetTo returns the To field value

func (*SmsDestination) GetToOk

func (o *SmsDestination) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*SmsDestination) HasMessageId

func (o *SmsDestination) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (SmsDestination) MarshalJSON

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

func (*SmsDestination) SetMessageId

func (o *SmsDestination) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsDestination) SetTo

func (o *SmsDestination) SetTo(v string)

SetTo sets field value

type SmsError

type SmsError struct {
	// Human-readable description of the error..
	Description *string `json:"description,omitempty"`
	// Error group ID.
	GroupId *int32 `json:"groupId,omitempty"`
	// Error group name.
	GroupName *string `json:"groupName,omitempty"`
	// Error ID.
	Id *int32 `json:"id,omitempty"`
	// Error name.
	Name *string `json:"name,omitempty"`
	// Tells if the error is permanent.
	Permanent *bool `json:"permanent,omitempty"`
}

SmsError struct for SmsError

func NewSmsError

func NewSmsError() *SmsError

NewSmsError instantiates a new SmsError 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 NewSmsErrorWithDefaults

func NewSmsErrorWithDefaults() *SmsError

NewSmsErrorWithDefaults instantiates a new SmsError 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 (*SmsError) GetDescription

func (o *SmsError) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SmsError) GetDescriptionOk

func (o *SmsError) 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 (*SmsError) GetGroupId

func (o *SmsError) GetGroupId() int32

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*SmsError) GetGroupIdOk

func (o *SmsError) GetGroupIdOk() (*int32, bool)

GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsError) GetGroupName

func (o *SmsError) GetGroupName() string

GetGroupName returns the GroupName field value if set, zero value otherwise.

func (*SmsError) GetGroupNameOk

func (o *SmsError) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsError) GetId

func (o *SmsError) GetId() int32

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

func (*SmsError) GetIdOk

func (o *SmsError) GetIdOk() (*int32, 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 (*SmsError) GetName

func (o *SmsError) GetName() string

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

func (*SmsError) GetNameOk

func (o *SmsError) 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 (*SmsError) GetPermanent

func (o *SmsError) GetPermanent() bool

GetPermanent returns the Permanent field value if set, zero value otherwise.

func (*SmsError) GetPermanentOk

func (o *SmsError) GetPermanentOk() (*bool, bool)

GetPermanentOk returns a tuple with the Permanent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsError) HasDescription

func (o *SmsError) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SmsError) HasGroupId

func (o *SmsError) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*SmsError) HasGroupName

func (o *SmsError) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*SmsError) HasId

func (o *SmsError) HasId() bool

HasId returns a boolean if a field has been set.

func (*SmsError) HasName

func (o *SmsError) HasName() bool

HasName returns a boolean if a field has been set.

func (*SmsError) HasPermanent

func (o *SmsError) HasPermanent() bool

HasPermanent returns a boolean if a field has been set.

func (SmsError) MarshalJSON

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

func (*SmsError) SetDescription

func (o *SmsError) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SmsError) SetGroupId

func (o *SmsError) SetGroupId(v int32)

SetGroupId gets a reference to the given int32 and assigns it to the GroupId field.

func (*SmsError) SetGroupName

func (o *SmsError) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*SmsError) SetId

func (o *SmsError) SetId(v int32)

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

func (*SmsError) SetName

func (o *SmsError) SetName(v string)

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

func (*SmsError) SetPermanent

func (o *SmsError) SetPermanent(v bool)

SetPermanent gets a reference to the given bool and assigns it to the Permanent field.

type SmsInboundMessage

type SmsInboundMessage struct {
	// Custom callback data can be inserted during the setup phase.
	CallbackData *string `json:"callbackData,omitempty"`
	// Text of received message without a keyword (if a keyword was sent).
	CleanText *string `json:"cleanText,omitempty"`
	// Sender ID that can be alphanumeric or numeric.
	From *string `json:"from,omitempty"`
	// Keyword extracted from the message text.
	Keyword *string `json:"keyword,omitempty"`
	// The ID that uniquely identifies the received message.
	MessageId *string   `json:"messageId,omitempty"`
	Price     *SmsPrice `json:"price,omitempty"`
	// Tells when Infobip platform received the message. It has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	ReceivedAt *Time `json:"receivedAt,omitempty"`
	// The number of sent message segments.
	SmsCount *int32 `json:"smsCount,omitempty"`
	// Full text of the received message.
	Text *string `json:"text,omitempty"`
	// The message destination address.
	To *string `json:"to,omitempty"`
}

SmsInboundMessage struct for SmsInboundMessage

func NewSmsInboundMessage

func NewSmsInboundMessage() *SmsInboundMessage

NewSmsInboundMessage instantiates a new SmsInboundMessage 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 NewSmsInboundMessageWithDefaults

func NewSmsInboundMessageWithDefaults() *SmsInboundMessage

NewSmsInboundMessageWithDefaults instantiates a new SmsInboundMessage 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 (*SmsInboundMessage) GetCallbackData

func (o *SmsInboundMessage) GetCallbackData() string

GetCallbackData returns the CallbackData field value if set, zero value otherwise.

func (*SmsInboundMessage) GetCallbackDataOk

func (o *SmsInboundMessage) GetCallbackDataOk() (*string, bool)

GetCallbackDataOk returns a tuple with the CallbackData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetCleanText

func (o *SmsInboundMessage) GetCleanText() string

GetCleanText returns the CleanText field value if set, zero value otherwise.

func (*SmsInboundMessage) GetCleanTextOk

func (o *SmsInboundMessage) GetCleanTextOk() (*string, bool)

GetCleanTextOk returns a tuple with the CleanText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetFrom

func (o *SmsInboundMessage) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsInboundMessage) GetFromOk

func (o *SmsInboundMessage) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetKeyword

func (o *SmsInboundMessage) GetKeyword() string

GetKeyword returns the Keyword field value if set, zero value otherwise.

func (*SmsInboundMessage) GetKeywordOk

func (o *SmsInboundMessage) GetKeywordOk() (*string, bool)

GetKeywordOk returns a tuple with the Keyword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetMessageId

func (o *SmsInboundMessage) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsInboundMessage) GetMessageIdOk

func (o *SmsInboundMessage) 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 (*SmsInboundMessage) GetPrice

func (o *SmsInboundMessage) GetPrice() SmsPrice

GetPrice returns the Price field value if set, zero value otherwise.

func (*SmsInboundMessage) GetPriceOk

func (o *SmsInboundMessage) GetPriceOk() (*SmsPrice, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetReceivedAt

func (o *SmsInboundMessage) GetReceivedAt() Time

GetReceivedAt returns the ReceivedAt field value if set, zero value otherwise.

func (*SmsInboundMessage) GetReceivedAtOk

func (o *SmsInboundMessage) GetReceivedAtOk() (*Time, bool)

GetReceivedAtOk returns a tuple with the ReceivedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetSmsCount

func (o *SmsInboundMessage) GetSmsCount() int32

GetSmsCount returns the SmsCount field value if set, zero value otherwise.

func (*SmsInboundMessage) GetSmsCountOk

func (o *SmsInboundMessage) GetSmsCountOk() (*int32, bool)

GetSmsCountOk returns a tuple with the SmsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetText

func (o *SmsInboundMessage) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*SmsInboundMessage) GetTextOk

func (o *SmsInboundMessage) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) GetTo

func (o *SmsInboundMessage) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*SmsInboundMessage) GetToOk

func (o *SmsInboundMessage) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessage) HasCallbackData

func (o *SmsInboundMessage) HasCallbackData() bool

HasCallbackData returns a boolean if a field has been set.

func (*SmsInboundMessage) HasCleanText

func (o *SmsInboundMessage) HasCleanText() bool

HasCleanText returns a boolean if a field has been set.

func (*SmsInboundMessage) HasFrom

func (o *SmsInboundMessage) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsInboundMessage) HasKeyword

func (o *SmsInboundMessage) HasKeyword() bool

HasKeyword returns a boolean if a field has been set.

func (*SmsInboundMessage) HasMessageId

func (o *SmsInboundMessage) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*SmsInboundMessage) HasPrice

func (o *SmsInboundMessage) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*SmsInboundMessage) HasReceivedAt

func (o *SmsInboundMessage) HasReceivedAt() bool

HasReceivedAt returns a boolean if a field has been set.

func (*SmsInboundMessage) HasSmsCount

func (o *SmsInboundMessage) HasSmsCount() bool

HasSmsCount returns a boolean if a field has been set.

func (*SmsInboundMessage) HasText

func (o *SmsInboundMessage) HasText() bool

HasText returns a boolean if a field has been set.

func (*SmsInboundMessage) HasTo

func (o *SmsInboundMessage) HasTo() bool

HasTo returns a boolean if a field has been set.

func (SmsInboundMessage) MarshalJSON

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

func (*SmsInboundMessage) SetCallbackData

func (o *SmsInboundMessage) SetCallbackData(v string)

SetCallbackData gets a reference to the given string and assigns it to the CallbackData field.

func (*SmsInboundMessage) SetCleanText

func (o *SmsInboundMessage) SetCleanText(v string)

SetCleanText gets a reference to the given string and assigns it to the CleanText field.

func (*SmsInboundMessage) SetFrom

func (o *SmsInboundMessage) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*SmsInboundMessage) SetKeyword

func (o *SmsInboundMessage) SetKeyword(v string)

SetKeyword gets a reference to the given string and assigns it to the Keyword field.

func (*SmsInboundMessage) SetMessageId

func (o *SmsInboundMessage) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsInboundMessage) SetPrice

func (o *SmsInboundMessage) SetPrice(v SmsPrice)

SetPrice gets a reference to the given SmsPrice and assigns it to the Price field.

func (*SmsInboundMessage) SetReceivedAt

func (o *SmsInboundMessage) SetReceivedAt(v Time)

SetReceivedAt gets a reference to the given Time and assigns it to the ReceivedAt field.

func (*SmsInboundMessage) SetSmsCount

func (o *SmsInboundMessage) SetSmsCount(v int32)

SetSmsCount gets a reference to the given int32 and assigns it to the SmsCount field.

func (*SmsInboundMessage) SetText

func (o *SmsInboundMessage) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*SmsInboundMessage) SetTo

func (o *SmsInboundMessage) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

type SmsInboundMessageResult

type SmsInboundMessageResult struct {
	MessageCount        *int32               `json:"messageCount,omitempty"`
	PendingMessageCount *int32               `json:"pendingMessageCount,omitempty"`
	Results             *[]SmsInboundMessage `json:"results,omitempty"`
}

SmsInboundMessageResult struct for SmsInboundMessageResult

func NewSmsInboundMessageResult

func NewSmsInboundMessageResult() *SmsInboundMessageResult

NewSmsInboundMessageResult instantiates a new SmsInboundMessageResult 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 NewSmsInboundMessageResultWithDefaults

func NewSmsInboundMessageResultWithDefaults() *SmsInboundMessageResult

NewSmsInboundMessageResultWithDefaults instantiates a new SmsInboundMessageResult 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 (*SmsInboundMessageResult) GetMessageCount

func (o *SmsInboundMessageResult) GetMessageCount() int32

GetMessageCount returns the MessageCount field value if set, zero value otherwise.

func (*SmsInboundMessageResult) GetMessageCountOk

func (o *SmsInboundMessageResult) GetMessageCountOk() (*int32, bool)

GetMessageCountOk returns a tuple with the MessageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessageResult) GetPendingMessageCount

func (o *SmsInboundMessageResult) GetPendingMessageCount() int32

GetPendingMessageCount returns the PendingMessageCount field value if set, zero value otherwise.

func (*SmsInboundMessageResult) GetPendingMessageCountOk

func (o *SmsInboundMessageResult) GetPendingMessageCountOk() (*int32, bool)

GetPendingMessageCountOk returns a tuple with the PendingMessageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessageResult) GetResults

func (o *SmsInboundMessageResult) GetResults() []SmsInboundMessage

GetResults returns the Results field value if set, zero value otherwise.

func (*SmsInboundMessageResult) GetResultsOk

func (o *SmsInboundMessageResult) GetResultsOk() (*[]SmsInboundMessage, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsInboundMessageResult) HasMessageCount

func (o *SmsInboundMessageResult) HasMessageCount() bool

HasMessageCount returns a boolean if a field has been set.

func (*SmsInboundMessageResult) HasPendingMessageCount

func (o *SmsInboundMessageResult) HasPendingMessageCount() bool

HasPendingMessageCount returns a boolean if a field has been set.

func (*SmsInboundMessageResult) HasResults

func (o *SmsInboundMessageResult) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SmsInboundMessageResult) MarshalJSON

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

func (*SmsInboundMessageResult) SetMessageCount

func (o *SmsInboundMessageResult) SetMessageCount(v int32)

SetMessageCount gets a reference to the given int32 and assigns it to the MessageCount field.

func (*SmsInboundMessageResult) SetPendingMessageCount

func (o *SmsInboundMessageResult) SetPendingMessageCount(v int32)

SetPendingMessageCount gets a reference to the given int32 and assigns it to the PendingMessageCount field.

func (*SmsInboundMessageResult) SetResults

func (o *SmsInboundMessageResult) SetResults(v []SmsInboundMessage)

SetResults gets a reference to the given []SmsInboundMessage and assigns it to the Results field.

type SmsIndiaDltOptions

type SmsIndiaDltOptions struct {
	// Id of your registered DTL content template that matches this message's text.
	ContentTemplateId *string `json:"contentTemplateId,omitempty"`
	// Your assigned DTL principal entity id.
	PrincipalEntityId string `json:"principalEntityId"`
}

SmsIndiaDltOptions struct for SmsIndiaDltOptions

func NewSmsIndiaDltOptions

func NewSmsIndiaDltOptions(principalEntityId string) *SmsIndiaDltOptions

NewSmsIndiaDltOptions instantiates a new SmsIndiaDltOptions 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 NewSmsIndiaDltOptionsWithDefaults

func NewSmsIndiaDltOptionsWithDefaults() *SmsIndiaDltOptions

NewSmsIndiaDltOptionsWithDefaults instantiates a new SmsIndiaDltOptions 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 (*SmsIndiaDltOptions) GetContentTemplateId

func (o *SmsIndiaDltOptions) GetContentTemplateId() string

GetContentTemplateId returns the ContentTemplateId field value if set, zero value otherwise.

func (*SmsIndiaDltOptions) GetContentTemplateIdOk

func (o *SmsIndiaDltOptions) GetContentTemplateIdOk() (*string, bool)

GetContentTemplateIdOk returns a tuple with the ContentTemplateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsIndiaDltOptions) GetPrincipalEntityId

func (o *SmsIndiaDltOptions) GetPrincipalEntityId() string

GetPrincipalEntityId returns the PrincipalEntityId field value

func (*SmsIndiaDltOptions) GetPrincipalEntityIdOk

func (o *SmsIndiaDltOptions) GetPrincipalEntityIdOk() (*string, bool)

GetPrincipalEntityIdOk returns a tuple with the PrincipalEntityId field value and a boolean to check if the value has been set.

func (*SmsIndiaDltOptions) HasContentTemplateId

func (o *SmsIndiaDltOptions) HasContentTemplateId() bool

HasContentTemplateId returns a boolean if a field has been set.

func (SmsIndiaDltOptions) MarshalJSON

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

func (*SmsIndiaDltOptions) SetContentTemplateId

func (o *SmsIndiaDltOptions) SetContentTemplateId(v string)

SetContentTemplateId gets a reference to the given string and assigns it to the ContentTemplateId field.

func (*SmsIndiaDltOptions) SetPrincipalEntityId

func (o *SmsIndiaDltOptions) SetPrincipalEntityId(v string)

SetPrincipalEntityId sets field value

type SmsLanguage

type SmsLanguage struct {
	// Code for language character set of a message text. Possible values: `TR` for Turkish, `ES` for Spanish, `PT` for Portuguese and `AUTODETECT` to let platform pick character set automatically based on the message text.
	LanguageCode *string `json:"languageCode,omitempty"`
}

SmsLanguage struct for SmsLanguage

func NewSmsLanguage

func NewSmsLanguage() *SmsLanguage

NewSmsLanguage instantiates a new SmsLanguage 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 NewSmsLanguageWithDefaults

func NewSmsLanguageWithDefaults() *SmsLanguage

NewSmsLanguageWithDefaults instantiates a new SmsLanguage 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 (*SmsLanguage) GetLanguageCode

func (o *SmsLanguage) GetLanguageCode() string

GetLanguageCode returns the LanguageCode field value if set, zero value otherwise.

func (*SmsLanguage) GetLanguageCodeOk

func (o *SmsLanguage) GetLanguageCodeOk() (*string, bool)

GetLanguageCodeOk returns a tuple with the LanguageCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLanguage) HasLanguageCode

func (o *SmsLanguage) HasLanguageCode() bool

HasLanguageCode returns a boolean if a field has been set.

func (SmsLanguage) MarshalJSON

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

func (*SmsLanguage) SetLanguageCode

func (o *SmsLanguage) SetLanguageCode(v string)

SetLanguageCode gets a reference to the given string and assigns it to the LanguageCode field.

type SmsLanguageConfiguration

type SmsLanguageConfiguration struct {
	Language *SmsLanguage `json:"language,omitempty"`
	// Conversion of a message text from one script to another. Possible values: `TURKISH`, `GREEK`, `CYRILLIC`, `SERBIAN_CYRILLIC`, `CENTRAL_EUROPEAN`, `BALTIC` and `NON_UNICODE`.
	Transliteration *string `json:"transliteration,omitempty"`
}

SmsLanguageConfiguration struct for SmsLanguageConfiguration

func NewSmsLanguageConfiguration

func NewSmsLanguageConfiguration() *SmsLanguageConfiguration

NewSmsLanguageConfiguration instantiates a new SmsLanguageConfiguration 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 NewSmsLanguageConfigurationWithDefaults

func NewSmsLanguageConfigurationWithDefaults() *SmsLanguageConfiguration

NewSmsLanguageConfigurationWithDefaults instantiates a new SmsLanguageConfiguration 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 (*SmsLanguageConfiguration) GetLanguage

func (o *SmsLanguageConfiguration) GetLanguage() SmsLanguage

GetLanguage returns the Language field value if set, zero value otherwise.

func (*SmsLanguageConfiguration) GetLanguageOk

func (o *SmsLanguageConfiguration) GetLanguageOk() (*SmsLanguage, 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 (*SmsLanguageConfiguration) GetTransliteration

func (o *SmsLanguageConfiguration) GetTransliteration() string

GetTransliteration returns the Transliteration field value if set, zero value otherwise.

func (*SmsLanguageConfiguration) GetTransliterationOk

func (o *SmsLanguageConfiguration) GetTransliterationOk() (*string, bool)

GetTransliterationOk returns a tuple with the Transliteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLanguageConfiguration) HasLanguage

func (o *SmsLanguageConfiguration) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*SmsLanguageConfiguration) HasTransliteration

func (o *SmsLanguageConfiguration) HasTransliteration() bool

HasTransliteration returns a boolean if a field has been set.

func (SmsLanguageConfiguration) MarshalJSON

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

func (*SmsLanguageConfiguration) SetLanguage

func (o *SmsLanguageConfiguration) SetLanguage(v SmsLanguage)

SetLanguage gets a reference to the given SmsLanguage and assigns it to the Language field.

func (*SmsLanguageConfiguration) SetTransliteration

func (o *SmsLanguageConfiguration) SetTransliteration(v string)

SetTransliteration gets a reference to the given string and assigns it to the Transliteration field.

type SmsLog

type SmsLog struct {
	// The ID that uniquely identifies the request.
	BulkId *string `json:"bulkId,omitempty"`
	// Tells when the SMS was finished processing by Infobip (i.e. delivered to the destination, delivered to the destination network, etc.). Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	DoneAt *Time     `json:"doneAt,omitempty"`
	Error  *SmsError `json:"error,omitempty"`
	// Sender ID that can be alphanumeric or numeric.
	From *string `json:"from,omitempty"`
	// Mobile country and network codes.
	MccMnc *string `json:"mccMnc,omitempty"`
	// The ID that uniquely identifies the message sent.
	MessageId *string   `json:"messageId,omitempty"`
	Price     *SmsPrice `json:"price,omitempty"`
	// Tells when the SMS was sent. Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	SentAt *Time `json:"sentAt,omitempty"`
	// The number of sent message segments.
	SmsCount *int32     `json:"smsCount,omitempty"`
	Status   *SmsStatus `json:"status,omitempty"`
	// Text of the message that was sent.
	Text *string `json:"text,omitempty"`
	// The message destination address.
	To *string `json:"to,omitempty"`
}

SmsLog struct for SmsLog

func NewSmsLog

func NewSmsLog() *SmsLog

NewSmsLog instantiates a new SmsLog 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 NewSmsLogWithDefaults

func NewSmsLogWithDefaults() *SmsLog

NewSmsLogWithDefaults instantiates a new SmsLog 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 (*SmsLog) GetBulkId

func (o *SmsLog) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsLog) GetBulkIdOk

func (o *SmsLog) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetDoneAt

func (o *SmsLog) GetDoneAt() Time

GetDoneAt returns the DoneAt field value if set, zero value otherwise.

func (*SmsLog) GetDoneAtOk

func (o *SmsLog) GetDoneAtOk() (*Time, bool)

GetDoneAtOk returns a tuple with the DoneAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetError

func (o *SmsLog) GetError() SmsError

GetError returns the Error field value if set, zero value otherwise.

func (*SmsLog) GetErrorOk

func (o *SmsLog) GetErrorOk() (*SmsError, 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 (*SmsLog) GetFrom

func (o *SmsLog) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsLog) GetFromOk

func (o *SmsLog) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetMccMnc

func (o *SmsLog) GetMccMnc() string

GetMccMnc returns the MccMnc field value if set, zero value otherwise.

func (*SmsLog) GetMccMncOk

func (o *SmsLog) GetMccMncOk() (*string, bool)

GetMccMncOk returns a tuple with the MccMnc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetMessageId

func (o *SmsLog) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsLog) GetMessageIdOk

func (o *SmsLog) 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 (*SmsLog) GetPrice

func (o *SmsLog) GetPrice() SmsPrice

GetPrice returns the Price field value if set, zero value otherwise.

func (*SmsLog) GetPriceOk

func (o *SmsLog) GetPriceOk() (*SmsPrice, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetSentAt

func (o *SmsLog) GetSentAt() Time

GetSentAt returns the SentAt field value if set, zero value otherwise.

func (*SmsLog) GetSentAtOk

func (o *SmsLog) GetSentAtOk() (*Time, bool)

GetSentAtOk returns a tuple with the SentAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetSmsCount

func (o *SmsLog) GetSmsCount() int32

GetSmsCount returns the SmsCount field value if set, zero value otherwise.

func (*SmsLog) GetSmsCountOk

func (o *SmsLog) GetSmsCountOk() (*int32, bool)

GetSmsCountOk returns a tuple with the SmsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetStatus

func (o *SmsLog) GetStatus() SmsStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SmsLog) GetStatusOk

func (o *SmsLog) GetStatusOk() (*SmsStatus, 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 (*SmsLog) GetText

func (o *SmsLog) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*SmsLog) GetTextOk

func (o *SmsLog) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) GetTo

func (o *SmsLog) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*SmsLog) GetToOk

func (o *SmsLog) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLog) HasBulkId

func (o *SmsLog) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsLog) HasDoneAt

func (o *SmsLog) HasDoneAt() bool

HasDoneAt returns a boolean if a field has been set.

func (*SmsLog) HasError

func (o *SmsLog) HasError() bool

HasError returns a boolean if a field has been set.

func (*SmsLog) HasFrom

func (o *SmsLog) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsLog) HasMccMnc

func (o *SmsLog) HasMccMnc() bool

HasMccMnc returns a boolean if a field has been set.

func (*SmsLog) HasMessageId

func (o *SmsLog) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*SmsLog) HasPrice

func (o *SmsLog) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*SmsLog) HasSentAt

func (o *SmsLog) HasSentAt() bool

HasSentAt returns a boolean if a field has been set.

func (*SmsLog) HasSmsCount

func (o *SmsLog) HasSmsCount() bool

HasSmsCount returns a boolean if a field has been set.

func (*SmsLog) HasStatus

func (o *SmsLog) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SmsLog) HasText

func (o *SmsLog) HasText() bool

HasText returns a boolean if a field has been set.

func (*SmsLog) HasTo

func (o *SmsLog) HasTo() bool

HasTo returns a boolean if a field has been set.

func (SmsLog) MarshalJSON

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

func (*SmsLog) SetBulkId

func (o *SmsLog) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsLog) SetDoneAt

func (o *SmsLog) SetDoneAt(v Time)

SetDoneAt gets a reference to the given Time and assigns it to the DoneAt field.

func (*SmsLog) SetError

func (o *SmsLog) SetError(v SmsError)

SetError gets a reference to the given SmsError and assigns it to the Error field.

func (*SmsLog) SetFrom

func (o *SmsLog) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*SmsLog) SetMccMnc

func (o *SmsLog) SetMccMnc(v string)

SetMccMnc gets a reference to the given string and assigns it to the MccMnc field.

func (*SmsLog) SetMessageId

func (o *SmsLog) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsLog) SetPrice

func (o *SmsLog) SetPrice(v SmsPrice)

SetPrice gets a reference to the given SmsPrice and assigns it to the Price field.

func (*SmsLog) SetSentAt

func (o *SmsLog) SetSentAt(v Time)

SetSentAt gets a reference to the given Time and assigns it to the SentAt field.

func (*SmsLog) SetSmsCount

func (o *SmsLog) SetSmsCount(v int32)

SetSmsCount gets a reference to the given int32 and assigns it to the SmsCount field.

func (*SmsLog) SetStatus

func (o *SmsLog) SetStatus(v SmsStatus)

SetStatus gets a reference to the given SmsStatus and assigns it to the Status field.

func (*SmsLog) SetText

func (o *SmsLog) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*SmsLog) SetTo

func (o *SmsLog) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

type SmsLogsResponse

type SmsLogsResponse struct {
	// Collection of logs.
	Results *[]SmsLog `json:"results,omitempty"`
}

SmsLogsResponse struct for SmsLogsResponse

func NewSmsLogsResponse

func NewSmsLogsResponse() *SmsLogsResponse

NewSmsLogsResponse instantiates a new SmsLogsResponse 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 NewSmsLogsResponseWithDefaults

func NewSmsLogsResponseWithDefaults() *SmsLogsResponse

NewSmsLogsResponseWithDefaults instantiates a new SmsLogsResponse 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 (*SmsLogsResponse) GetResults

func (o *SmsLogsResponse) GetResults() []SmsLog

GetResults returns the Results field value if set, zero value otherwise.

func (*SmsLogsResponse) GetResultsOk

func (o *SmsLogsResponse) GetResultsOk() (*[]SmsLog, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsLogsResponse) HasResults

func (o *SmsLogsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (SmsLogsResponse) MarshalJSON

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

func (*SmsLogsResponse) SetResults

func (o *SmsLogsResponse) SetResults(v []SmsLog)

SetResults gets a reference to the given []SmsLog and assigns it to the Results field.

type SmsPreview

type SmsPreview struct {
	// Number of remaining characters in the last SMS part.
	CharactersRemaining *int32 `json:"charactersRemaining,omitempty"`
	// Configuration that, when sent with the original text, results in this preview.
	Configuration *SmsLanguageConfiguration `json:"configuration,omitempty"`
	// Number of SMS message parts required to deliver the message.
	MessageCount *int32 `json:"messageCount,omitempty"`
	// Preview of the text as it should appear on the recipient’s device.
	TextPreview *string `json:"textPreview,omitempty"`
}

SmsPreview struct for SmsPreview

func NewSmsPreview

func NewSmsPreview() *SmsPreview

NewSmsPreview instantiates a new SmsPreview 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 NewSmsPreviewWithDefaults

func NewSmsPreviewWithDefaults() *SmsPreview

NewSmsPreviewWithDefaults instantiates a new SmsPreview 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 (*SmsPreview) GetCharactersRemaining

func (o *SmsPreview) GetCharactersRemaining() int32

GetCharactersRemaining returns the CharactersRemaining field value if set, zero value otherwise.

func (*SmsPreview) GetCharactersRemainingOk

func (o *SmsPreview) GetCharactersRemainingOk() (*int32, bool)

GetCharactersRemainingOk returns a tuple with the CharactersRemaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreview) GetConfiguration

func (o *SmsPreview) GetConfiguration() SmsLanguageConfiguration

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*SmsPreview) GetConfigurationOk

func (o *SmsPreview) GetConfigurationOk() (*SmsLanguageConfiguration, bool)

GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreview) GetMessageCount

func (o *SmsPreview) GetMessageCount() int32

GetMessageCount returns the MessageCount field value if set, zero value otherwise.

func (*SmsPreview) GetMessageCountOk

func (o *SmsPreview) GetMessageCountOk() (*int32, bool)

GetMessageCountOk returns a tuple with the MessageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreview) GetTextPreview

func (o *SmsPreview) GetTextPreview() string

GetTextPreview returns the TextPreview field value if set, zero value otherwise.

func (*SmsPreview) GetTextPreviewOk

func (o *SmsPreview) GetTextPreviewOk() (*string, bool)

GetTextPreviewOk returns a tuple with the TextPreview field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreview) HasCharactersRemaining

func (o *SmsPreview) HasCharactersRemaining() bool

HasCharactersRemaining returns a boolean if a field has been set.

func (*SmsPreview) HasConfiguration

func (o *SmsPreview) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*SmsPreview) HasMessageCount

func (o *SmsPreview) HasMessageCount() bool

HasMessageCount returns a boolean if a field has been set.

func (*SmsPreview) HasTextPreview

func (o *SmsPreview) HasTextPreview() bool

HasTextPreview returns a boolean if a field has been set.

func (SmsPreview) MarshalJSON

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

func (*SmsPreview) SetCharactersRemaining

func (o *SmsPreview) SetCharactersRemaining(v int32)

SetCharactersRemaining gets a reference to the given int32 and assigns it to the CharactersRemaining field.

func (*SmsPreview) SetConfiguration

func (o *SmsPreview) SetConfiguration(v SmsLanguageConfiguration)

SetConfiguration gets a reference to the given SmsLanguageConfiguration and assigns it to the Configuration field.

func (*SmsPreview) SetMessageCount

func (o *SmsPreview) SetMessageCount(v int32)

SetMessageCount gets a reference to the given int32 and assigns it to the MessageCount field.

func (*SmsPreview) SetTextPreview

func (o *SmsPreview) SetTextPreview(v string)

SetTextPreview gets a reference to the given string and assigns it to the TextPreview field.

type SmsPreviewRequest

type SmsPreviewRequest struct {
	// Code for language character set of a message text. Possible values: `TR` for Turkish, `ES` for Spanish, `PT` for Portuguese and `AUTODETECT` to let platform pick character set automatically based on the message text.
	LanguageCode *string `json:"languageCode,omitempty"`
	// Message text to preview.
	Text string `json:"text"`
	// Conversion of a message text from one script to another. Possible values: `TURKISH`, `GREEK`, `CYRILLIC`, `SERBIAN_CYRILLIC`, `CENTRAL_EUROPEAN`, `BALTIC` and `NON_UNICODE`.
	Transliteration *string `json:"transliteration,omitempty"`
}

SmsPreviewRequest struct for SmsPreviewRequest

func NewSmsPreviewRequest

func NewSmsPreviewRequest(text string) *SmsPreviewRequest

NewSmsPreviewRequest instantiates a new SmsPreviewRequest 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 NewSmsPreviewRequestWithDefaults

func NewSmsPreviewRequestWithDefaults() *SmsPreviewRequest

NewSmsPreviewRequestWithDefaults instantiates a new SmsPreviewRequest 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 (*SmsPreviewRequest) GetLanguageCode

func (o *SmsPreviewRequest) GetLanguageCode() string

GetLanguageCode returns the LanguageCode field value if set, zero value otherwise.

func (*SmsPreviewRequest) GetLanguageCodeOk

func (o *SmsPreviewRequest) GetLanguageCodeOk() (*string, bool)

GetLanguageCodeOk returns a tuple with the LanguageCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreviewRequest) GetText

func (o *SmsPreviewRequest) GetText() string

GetText returns the Text field value

func (*SmsPreviewRequest) GetTextOk

func (o *SmsPreviewRequest) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*SmsPreviewRequest) GetTransliteration

func (o *SmsPreviewRequest) GetTransliteration() string

GetTransliteration returns the Transliteration field value if set, zero value otherwise.

func (*SmsPreviewRequest) GetTransliterationOk

func (o *SmsPreviewRequest) GetTransliterationOk() (*string, bool)

GetTransliterationOk returns a tuple with the Transliteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreviewRequest) HasLanguageCode

func (o *SmsPreviewRequest) HasLanguageCode() bool

HasLanguageCode returns a boolean if a field has been set.

func (*SmsPreviewRequest) HasTransliteration

func (o *SmsPreviewRequest) HasTransliteration() bool

HasTransliteration returns a boolean if a field has been set.

func (SmsPreviewRequest) MarshalJSON

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

func (*SmsPreviewRequest) SetLanguageCode

func (o *SmsPreviewRequest) SetLanguageCode(v string)

SetLanguageCode gets a reference to the given string and assigns it to the LanguageCode field.

func (*SmsPreviewRequest) SetText

func (o *SmsPreviewRequest) SetText(v string)

SetText sets field value

func (*SmsPreviewRequest) SetTransliteration

func (o *SmsPreviewRequest) SetTransliteration(v string)

SetTransliteration gets a reference to the given string and assigns it to the Transliteration field.

type SmsPreviewResponse

type SmsPreviewResponse struct {
	// Text supplied in the request.
	OriginalText *string `json:"originalText,omitempty"`
	// Previews of applying different configurations to the original text.
	Previews *[]SmsPreview `json:"previews,omitempty"`
}

SmsPreviewResponse struct for SmsPreviewResponse

func NewSmsPreviewResponse

func NewSmsPreviewResponse() *SmsPreviewResponse

NewSmsPreviewResponse instantiates a new SmsPreviewResponse 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 NewSmsPreviewResponseWithDefaults

func NewSmsPreviewResponseWithDefaults() *SmsPreviewResponse

NewSmsPreviewResponseWithDefaults instantiates a new SmsPreviewResponse 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 (*SmsPreviewResponse) GetOriginalText

func (o *SmsPreviewResponse) GetOriginalText() string

GetOriginalText returns the OriginalText field value if set, zero value otherwise.

func (*SmsPreviewResponse) GetOriginalTextOk

func (o *SmsPreviewResponse) GetOriginalTextOk() (*string, bool)

GetOriginalTextOk returns a tuple with the OriginalText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreviewResponse) GetPreviews

func (o *SmsPreviewResponse) GetPreviews() []SmsPreview

GetPreviews returns the Previews field value if set, zero value otherwise.

func (*SmsPreviewResponse) GetPreviewsOk

func (o *SmsPreviewResponse) GetPreviewsOk() (*[]SmsPreview, bool)

GetPreviewsOk returns a tuple with the Previews field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPreviewResponse) HasOriginalText

func (o *SmsPreviewResponse) HasOriginalText() bool

HasOriginalText returns a boolean if a field has been set.

func (*SmsPreviewResponse) HasPreviews

func (o *SmsPreviewResponse) HasPreviews() bool

HasPreviews returns a boolean if a field has been set.

func (SmsPreviewResponse) MarshalJSON

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

func (*SmsPreviewResponse) SetOriginalText

func (o *SmsPreviewResponse) SetOriginalText(v string)

SetOriginalText gets a reference to the given string and assigns it to the OriginalText field.

func (*SmsPreviewResponse) SetPreviews

func (o *SmsPreviewResponse) SetPreviews(v []SmsPreview)

SetPreviews gets a reference to the given []SmsPreview and assigns it to the Previews field.

type SmsPrice

type SmsPrice struct {
	// The currency in which the price is expressed.
	Currency *string `json:"currency,omitempty"`
	// Price per one SMS.
	PricePerMessage *float64 `json:"pricePerMessage,omitempty"`
}

SmsPrice struct for SmsPrice

func NewSmsPrice

func NewSmsPrice() *SmsPrice

NewSmsPrice instantiates a new SmsPrice 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 NewSmsPriceWithDefaults

func NewSmsPriceWithDefaults() *SmsPrice

NewSmsPriceWithDefaults instantiates a new SmsPrice 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 (*SmsPrice) GetCurrency

func (o *SmsPrice) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*SmsPrice) GetCurrencyOk

func (o *SmsPrice) 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 (*SmsPrice) GetPricePerMessage

func (o *SmsPrice) GetPricePerMessage() float64

GetPricePerMessage returns the PricePerMessage field value if set, zero value otherwise.

func (*SmsPrice) GetPricePerMessageOk

func (o *SmsPrice) GetPricePerMessageOk() (*float64, bool)

GetPricePerMessageOk returns a tuple with the PricePerMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsPrice) HasCurrency

func (o *SmsPrice) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*SmsPrice) HasPricePerMessage

func (o *SmsPrice) HasPricePerMessage() bool

HasPricePerMessage returns a boolean if a field has been set.

func (SmsPrice) MarshalJSON

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

func (*SmsPrice) SetCurrency

func (o *SmsPrice) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*SmsPrice) SetPricePerMessage

func (o *SmsPrice) SetPricePerMessage(v float64)

SetPricePerMessage gets a reference to the given float64 and assigns it to the PricePerMessage field.

type SmsRegionalOptions

type SmsRegionalOptions struct {
	// Distributed Ledger Technology (DLT) specific parameters required for sending SMS to phone numbers registered in India.
	IndiaDlt *SmsIndiaDltOptions `json:"indiaDlt,omitempty"`
}

SmsRegionalOptions struct for SmsRegionalOptions

func NewSmsRegionalOptions

func NewSmsRegionalOptions() *SmsRegionalOptions

NewSmsRegionalOptions instantiates a new SmsRegionalOptions 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 NewSmsRegionalOptionsWithDefaults

func NewSmsRegionalOptionsWithDefaults() *SmsRegionalOptions

NewSmsRegionalOptionsWithDefaults instantiates a new SmsRegionalOptions 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 (*SmsRegionalOptions) GetIndiaDlt

func (o *SmsRegionalOptions) GetIndiaDlt() SmsIndiaDltOptions

GetIndiaDlt returns the IndiaDlt field value if set, zero value otherwise.

func (*SmsRegionalOptions) GetIndiaDltOk

func (o *SmsRegionalOptions) GetIndiaDltOk() (*SmsIndiaDltOptions, bool)

GetIndiaDltOk returns a tuple with the IndiaDlt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsRegionalOptions) HasIndiaDlt

func (o *SmsRegionalOptions) HasIndiaDlt() bool

HasIndiaDlt returns a boolean if a field has been set.

func (SmsRegionalOptions) MarshalJSON

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

func (*SmsRegionalOptions) SetIndiaDlt

func (o *SmsRegionalOptions) SetIndiaDlt(v SmsIndiaDltOptions)

SetIndiaDlt gets a reference to the given SmsIndiaDltOptions and assigns it to the IndiaDlt field.

type SmsReport

type SmsReport struct {
	// Bulk ID.
	BulkId *string `json:"bulkId,omitempty"`
	// Callback data sent through `callbackData` field in fully featured SMS message.
	CallbackData *string `json:"callbackData,omitempty"`
	// Tells when the SMS was finished processing by Infobip (i.e., delivered to the destination, delivered to the destination network, etc.). Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	DoneAt *Time `json:"doneAt,omitempty"`
	// Indicates whether the error occurred during the query execution.
	Error *SmsError `json:"error,omitempty"`
	// Sender ID that can be alphanumeric or numeric.
	From *string `json:"from,omitempty"`
	// Mobile country and network codes.
	MccMnc *string `json:"mccMnc,omitempty"`
	// Message ID.
	MessageId *string `json:"messageId,omitempty"`
	// Sent SMS price.
	Price *SmsPrice `json:"price,omitempty"`
	// Tells when the SMS was sent. Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	SentAt *Time `json:"sentAt,omitempty"`
	// The number of parts the sent SMS was split into.
	SmsCount *int32 `json:"smsCount,omitempty"`
	// Indicates whether the message is successfully sent, not sent, delivered, not delivered, waiting for delivery or any other possible status.
	Status *SmsStatus `json:"status,omitempty"`
	// Destination address.
	To *string `json:"to,omitempty"`
}

SmsReport struct for SmsReport

func NewSmsReport

func NewSmsReport() *SmsReport

NewSmsReport instantiates a new SmsReport 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 NewSmsReportWithDefaults

func NewSmsReportWithDefaults() *SmsReport

NewSmsReportWithDefaults instantiates a new SmsReport 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 (*SmsReport) GetBulkId

func (o *SmsReport) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsReport) GetBulkIdOk

func (o *SmsReport) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetCallbackData

func (o *SmsReport) GetCallbackData() string

GetCallbackData returns the CallbackData field value if set, zero value otherwise.

func (*SmsReport) GetCallbackDataOk

func (o *SmsReport) GetCallbackDataOk() (*string, bool)

GetCallbackDataOk returns a tuple with the CallbackData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetDoneAt

func (o *SmsReport) GetDoneAt() Time

GetDoneAt returns the DoneAt field value if set, zero value otherwise.

func (*SmsReport) GetDoneAtOk

func (o *SmsReport) GetDoneAtOk() (*Time, bool)

GetDoneAtOk returns a tuple with the DoneAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetError

func (o *SmsReport) GetError() SmsError

GetError returns the Error field value if set, zero value otherwise.

func (*SmsReport) GetErrorOk

func (o *SmsReport) GetErrorOk() (*SmsError, 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 (*SmsReport) GetFrom

func (o *SmsReport) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsReport) GetFromOk

func (o *SmsReport) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetMccMnc

func (o *SmsReport) GetMccMnc() string

GetMccMnc returns the MccMnc field value if set, zero value otherwise.

func (*SmsReport) GetMccMncOk

func (o *SmsReport) GetMccMncOk() (*string, bool)

GetMccMncOk returns a tuple with the MccMnc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetMessageId

func (o *SmsReport) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsReport) GetMessageIdOk

func (o *SmsReport) 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 (*SmsReport) GetPrice

func (o *SmsReport) GetPrice() SmsPrice

GetPrice returns the Price field value if set, zero value otherwise.

func (*SmsReport) GetPriceOk

func (o *SmsReport) GetPriceOk() (*SmsPrice, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetSentAt

func (o *SmsReport) GetSentAt() Time

GetSentAt returns the SentAt field value if set, zero value otherwise.

func (*SmsReport) GetSentAtOk

func (o *SmsReport) GetSentAtOk() (*Time, bool)

GetSentAtOk returns a tuple with the SentAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetSmsCount

func (o *SmsReport) GetSmsCount() int32

GetSmsCount returns the SmsCount field value if set, zero value otherwise.

func (*SmsReport) GetSmsCountOk

func (o *SmsReport) GetSmsCountOk() (*int32, bool)

GetSmsCountOk returns a tuple with the SmsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) GetStatus

func (o *SmsReport) GetStatus() SmsStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SmsReport) GetStatusOk

func (o *SmsReport) GetStatusOk() (*SmsStatus, 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 (*SmsReport) GetTo

func (o *SmsReport) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*SmsReport) GetToOk

func (o *SmsReport) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsReport) HasBulkId

func (o *SmsReport) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsReport) HasCallbackData

func (o *SmsReport) HasCallbackData() bool

HasCallbackData returns a boolean if a field has been set.

func (*SmsReport) HasDoneAt

func (o *SmsReport) HasDoneAt() bool

HasDoneAt returns a boolean if a field has been set.

func (*SmsReport) HasError

func (o *SmsReport) HasError() bool

HasError returns a boolean if a field has been set.

func (*SmsReport) HasFrom

func (o *SmsReport) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsReport) HasMccMnc

func (o *SmsReport) HasMccMnc() bool

HasMccMnc returns a boolean if a field has been set.

func (*SmsReport) HasMessageId

func (o *SmsReport) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*SmsReport) HasPrice

func (o *SmsReport) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*SmsReport) HasSentAt

func (o *SmsReport) HasSentAt() bool

HasSentAt returns a boolean if a field has been set.

func (*SmsReport) HasSmsCount

func (o *SmsReport) HasSmsCount() bool

HasSmsCount returns a boolean if a field has been set.

func (*SmsReport) HasStatus

func (o *SmsReport) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SmsReport) HasTo

func (o *SmsReport) HasTo() bool

HasTo returns a boolean if a field has been set.

func (SmsReport) MarshalJSON

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

func (*SmsReport) SetBulkId

func (o *SmsReport) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsReport) SetCallbackData

func (o *SmsReport) SetCallbackData(v string)

SetCallbackData gets a reference to the given string and assigns it to the CallbackData field.

func (*SmsReport) SetDoneAt

func (o *SmsReport) SetDoneAt(v Time)

SetDoneAt gets a reference to the given Time and assigns it to the DoneAt field.

func (*SmsReport) SetError

func (o *SmsReport) SetError(v SmsError)

SetError gets a reference to the given SmsError and assigns it to the Error field.

func (*SmsReport) SetFrom

func (o *SmsReport) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*SmsReport) SetMccMnc

func (o *SmsReport) SetMccMnc(v string)

SetMccMnc gets a reference to the given string and assigns it to the MccMnc field.

func (*SmsReport) SetMessageId

func (o *SmsReport) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsReport) SetPrice

func (o *SmsReport) SetPrice(v SmsPrice)

SetPrice gets a reference to the given SmsPrice and assigns it to the Price field.

func (*SmsReport) SetSentAt

func (o *SmsReport) SetSentAt(v Time)

SetSentAt gets a reference to the given Time and assigns it to the SentAt field.

func (*SmsReport) SetSmsCount

func (o *SmsReport) SetSmsCount(v int32)

SetSmsCount gets a reference to the given int32 and assigns it to the SmsCount field.

func (*SmsReport) SetStatus

func (o *SmsReport) SetStatus(v SmsStatus)

SetStatus gets a reference to the given SmsStatus and assigns it to the Status field.

func (*SmsReport) SetTo

func (o *SmsReport) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

type SmsResponse

type SmsResponse struct {
	// The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.
	BulkId *string `json:"bulkId,omitempty"`
	// Array of sent message objects, one object per every message.
	Messages *[]SmsResponseDetails `json:"messages,omitempty"`
}

SmsResponse struct for SmsResponse

func NewSmsResponse

func NewSmsResponse() *SmsResponse

NewSmsResponse instantiates a new SmsResponse 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 NewSmsResponseWithDefaults

func NewSmsResponseWithDefaults() *SmsResponse

NewSmsResponseWithDefaults instantiates a new SmsResponse 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 (*SmsResponse) GetBulkId

func (o *SmsResponse) GetBulkId() string

GetBulkId returns the BulkId field value if set, zero value otherwise.

func (*SmsResponse) GetBulkIdOk

func (o *SmsResponse) GetBulkIdOk() (*string, bool)

GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsResponse) GetMessages

func (o *SmsResponse) GetMessages() []SmsResponseDetails

GetMessages returns the Messages field value if set, zero value otherwise.

func (*SmsResponse) GetMessagesOk

func (o *SmsResponse) GetMessagesOk() (*[]SmsResponseDetails, 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 (*SmsResponse) HasBulkId

func (o *SmsResponse) HasBulkId() bool

HasBulkId returns a boolean if a field has been set.

func (*SmsResponse) HasMessages

func (o *SmsResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (SmsResponse) MarshalJSON

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

func (*SmsResponse) SetBulkId

func (o *SmsResponse) SetBulkId(v string)

SetBulkId gets a reference to the given string and assigns it to the BulkId field.

func (*SmsResponse) SetMessages

func (o *SmsResponse) SetMessages(v []SmsResponseDetails)

SetMessages gets a reference to the given []SmsResponseDetails and assigns it to the Messages field.

type SmsResponseDetails

type SmsResponseDetails struct {
	// The ID that uniquely identifies the message sent.
	MessageId *string `json:"messageId,omitempty"`
	// Indicates whether the message is successfully sent, not sent, delivered, not delivered, waiting for delivery or any other possible status.
	Status *SmsStatus `json:"status,omitempty"`
	// The message destination address.
	To *string `json:"to,omitempty"`
}

SmsResponseDetails struct for SmsResponseDetails

func NewSmsResponseDetails

func NewSmsResponseDetails() *SmsResponseDetails

NewSmsResponseDetails instantiates a new SmsResponseDetails 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 NewSmsResponseDetailsWithDefaults

func NewSmsResponseDetailsWithDefaults() *SmsResponseDetails

NewSmsResponseDetailsWithDefaults instantiates a new SmsResponseDetails 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 (*SmsResponseDetails) GetMessageId

func (o *SmsResponseDetails) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*SmsResponseDetails) GetMessageIdOk

func (o *SmsResponseDetails) 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 (*SmsResponseDetails) GetStatus

func (o *SmsResponseDetails) GetStatus() SmsStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SmsResponseDetails) GetStatusOk

func (o *SmsResponseDetails) GetStatusOk() (*SmsStatus, 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 (*SmsResponseDetails) GetTo

func (o *SmsResponseDetails) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*SmsResponseDetails) GetToOk

func (o *SmsResponseDetails) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsResponseDetails) HasMessageId

func (o *SmsResponseDetails) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*SmsResponseDetails) HasStatus

func (o *SmsResponseDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SmsResponseDetails) HasTo

func (o *SmsResponseDetails) HasTo() bool

HasTo returns a boolean if a field has been set.

func (SmsResponseDetails) MarshalJSON

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

func (*SmsResponseDetails) SetMessageId

func (o *SmsResponseDetails) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*SmsResponseDetails) SetStatus

func (o *SmsResponseDetails) SetStatus(v SmsStatus)

SetStatus gets a reference to the given SmsStatus and assigns it to the Status field.

func (*SmsResponseDetails) SetTo

func (o *SmsResponseDetails) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

type SmsSendingSpeedLimit

type SmsSendingSpeedLimit struct {
	// The number of messages to send per time unit. By default, Infobip sends your messages as fast as the infrastructure allows. Use this parameter to reduce the traffic if you find the default sending speed too fast for your use case. Note that boosting this parameter will not result in faster sending speeds beyond infrastructure capabilities.
	Amount int32 `json:"amount"`
	// The time unit in which the defined message amount will be sent. The default value is `MINUTE`.
	TimeUnit *SmsSpeedLimitTimeUnit `json:"timeUnit,omitempty"`
}

SmsSendingSpeedLimit struct for SmsSendingSpeedLimit

func NewSmsSendingSpeedLimit

func NewSmsSendingSpeedLimit(amount int32) *SmsSendingSpeedLimit

NewSmsSendingSpeedLimit instantiates a new SmsSendingSpeedLimit 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 NewSmsSendingSpeedLimitWithDefaults

func NewSmsSendingSpeedLimitWithDefaults() *SmsSendingSpeedLimit

NewSmsSendingSpeedLimitWithDefaults instantiates a new SmsSendingSpeedLimit 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 (*SmsSendingSpeedLimit) GetAmount

func (o *SmsSendingSpeedLimit) GetAmount() int32

GetAmount returns the Amount field value

func (*SmsSendingSpeedLimit) GetAmountOk

func (o *SmsSendingSpeedLimit) GetAmountOk() (*int32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*SmsSendingSpeedLimit) GetTimeUnit

GetTimeUnit returns the TimeUnit field value if set, zero value otherwise.

func (*SmsSendingSpeedLimit) GetTimeUnitOk

func (o *SmsSendingSpeedLimit) GetTimeUnitOk() (*SmsSpeedLimitTimeUnit, bool)

GetTimeUnitOk returns a tuple with the TimeUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsSendingSpeedLimit) HasTimeUnit

func (o *SmsSendingSpeedLimit) HasTimeUnit() bool

HasTimeUnit returns a boolean if a field has been set.

func (SmsSendingSpeedLimit) MarshalJSON

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

func (*SmsSendingSpeedLimit) SetAmount

func (o *SmsSendingSpeedLimit) SetAmount(v int32)

SetAmount sets field value

func (*SmsSendingSpeedLimit) SetTimeUnit

func (o *SmsSendingSpeedLimit) SetTimeUnit(v SmsSpeedLimitTimeUnit)

SetTimeUnit gets a reference to the given SmsSpeedLimitTimeUnit and assigns it to the TimeUnit field.

type SmsSpeedLimitTimeUnit

type SmsSpeedLimitTimeUnit string

SmsSpeedLimitTimeUnit the model 'SmsSpeedLimitTimeUnit'

const (
	SMSSPEEDLIMITTIMEUNIT_MINUTE SmsSpeedLimitTimeUnit = "MINUTE"
	SMSSPEEDLIMITTIMEUNIT_HOUR   SmsSpeedLimitTimeUnit = "HOUR"
	SMSSPEEDLIMITTIMEUNIT_DAY    SmsSpeedLimitTimeUnit = "DAY"
)

List of SmsSpeedLimitTimeUnit

func (SmsSpeedLimitTimeUnit) Ptr

Ptr returns reference to SmsSpeedLimitTimeUnit value

func (*SmsSpeedLimitTimeUnit) UnmarshalJSON

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

type SmsStatus

type SmsStatus struct {
	// Action that should be taken to eliminate the error.
	Action *string `json:"action,omitempty"`
	// Human-readable description of the status.
	Description *string `json:"description,omitempty"`
	// Status group ID.
	GroupId *int32 `json:"groupId,omitempty"`
	// Status group name.
	GroupName *string `json:"groupName,omitempty"`
	// Status ID.
	Id *int32 `json:"id,omitempty"`
	// Status name.
	Name *string `json:"name,omitempty"`
}

SmsStatus struct for SmsStatus

func NewSmsStatus

func NewSmsStatus() *SmsStatus

NewSmsStatus instantiates a new SmsStatus 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 NewSmsStatusWithDefaults

func NewSmsStatusWithDefaults() *SmsStatus

NewSmsStatusWithDefaults instantiates a new SmsStatus 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 (*SmsStatus) GetAction

func (o *SmsStatus) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*SmsStatus) GetActionOk

func (o *SmsStatus) 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 (*SmsStatus) GetDescription

func (o *SmsStatus) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SmsStatus) GetDescriptionOk

func (o *SmsStatus) 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 (*SmsStatus) GetGroupId

func (o *SmsStatus) GetGroupId() int32

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*SmsStatus) GetGroupIdOk

func (o *SmsStatus) GetGroupIdOk() (*int32, bool)

GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsStatus) GetGroupName

func (o *SmsStatus) GetGroupName() string

GetGroupName returns the GroupName field value if set, zero value otherwise.

func (*SmsStatus) GetGroupNameOk

func (o *SmsStatus) GetGroupNameOk() (*string, bool)

GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsStatus) GetId

func (o *SmsStatus) GetId() int32

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

func (*SmsStatus) GetIdOk

func (o *SmsStatus) GetIdOk() (*int32, 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 (*SmsStatus) GetName

func (o *SmsStatus) GetName() string

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

func (*SmsStatus) GetNameOk

func (o *SmsStatus) 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 (*SmsStatus) HasAction

func (o *SmsStatus) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SmsStatus) HasDescription

func (o *SmsStatus) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SmsStatus) HasGroupId

func (o *SmsStatus) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*SmsStatus) HasGroupName

func (o *SmsStatus) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*SmsStatus) HasId

func (o *SmsStatus) HasId() bool

HasId returns a boolean if a field has been set.

func (*SmsStatus) HasName

func (o *SmsStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (SmsStatus) MarshalJSON

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

func (*SmsStatus) SetAction

func (o *SmsStatus) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*SmsStatus) SetDescription

func (o *SmsStatus) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SmsStatus) SetGroupId

func (o *SmsStatus) SetGroupId(v int32)

SetGroupId gets a reference to the given int32 and assigns it to the GroupId field.

func (*SmsStatus) SetGroupName

func (o *SmsStatus) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*SmsStatus) SetId

func (o *SmsStatus) SetId(v int32)

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

func (*SmsStatus) SetName

func (o *SmsStatus) SetName(v string)

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

type SmsTextualMessage

type SmsTextualMessage struct {
	// Additional client's data that will be sent on the notifyUrl. The maximum value is 200 characters.
	CallbackData *string `json:"callbackData,omitempty"`
	// Scheduling object that allows setting up detailed time windows in which the message can be sent. Consists of `from`, `to` and `days` properties. `Days` property is mandatory. `From` and `to` properties should be either both included, to allow finer time window granulation or both omitted, to include whole days in the delivery time window.
	DeliveryTimeWindow *SmsDeliveryTimeWindow `json:"deliveryTimeWindow,omitempty"`
	Destinations       *[]SmsDestination      `json:"destinations,omitempty"`
	// Can be `true` or `false`. If the value is set to `true`, a flash SMS will be sent. Otherwise, a normal SMS will be sent. The default value is `false`.
	Flash *bool `json:"flash,omitempty"`
	// Represents a sender ID which can be alphanumeric or numeric. Alphanumeric sender ID length should be between 3 and 11 characters (Example: `CompanyName`). Numeric sender ID length should be between 3 and 14 characters.
	From *string `json:"from,omitempty"`
	// The real-time Intermediate delivery report that will be sent on your callback server. Can be `true` or `false`.
	IntermediateReport *bool        `json:"intermediateReport,omitempty"`
	Language           *SmsLanguage `json:"language,omitempty"`
	// Preferred Delivery report content type. Can be `application/json` or `application/xml`.
	NotifyContentType *string `json:"notifyContentType,omitempty"`
	// The URL on your call back server on which the Delivery report will be sent.
	NotifyUrl *string `json:"notifyUrl,omitempty"`
	// Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
	Regional *SmsRegionalOptions `json:"regional,omitempty"`
	// Date and time when the message is to be sent. Used for scheduled SMS (SMS not sent immediately, but at the scheduled time). Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
	SendAt *Time `json:"sendAt,omitempty"`
	// Text of the message that will be sent.
	Text *string `json:"text,omitempty"`
	// Conversion of a message text from one script to another. Possible values: `TURKISH`, `GREEK`, `CYRILLIC`, `SERBIAN_CYRILLIC`, `CENTRAL_EUROPEAN`, `BALTIC` and `NON_UNICODE`.
	Transliteration *string `json:"transliteration,omitempty"`
	// The message validity period in minutes. When the period expires, it will not be allowed for the message to be sent. Validity period longer than 48h is not supported (in this case, it will be automatically set to 48h).
	ValidityPeriod *int64 `json:"validityPeriod,omitempty"`
}

SmsTextualMessage struct for SmsTextualMessage

func NewSmsTextualMessage

func NewSmsTextualMessage() *SmsTextualMessage

NewSmsTextualMessage instantiates a new SmsTextualMessage 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 NewSmsTextualMessageWithDefaults

func NewSmsTextualMessageWithDefaults() *SmsTextualMessage

NewSmsTextualMessageWithDefaults instantiates a new SmsTextualMessage 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 (*SmsTextualMessage) Default

func (o *SmsTextualMessage) Default() *SmsTextualMessage

Default returns the default value for the struct.

func (*SmsTextualMessage) GetCallbackData

func (o *SmsTextualMessage) GetCallbackData() string

GetCallbackData returns the CallbackData field value if set, zero value otherwise.

func (*SmsTextualMessage) GetCallbackDataOk

func (o *SmsTextualMessage) GetCallbackDataOk() (*string, bool)

GetCallbackDataOk returns a tuple with the CallbackData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetDeliveryTimeWindow

func (o *SmsTextualMessage) GetDeliveryTimeWindow() SmsDeliveryTimeWindow

GetDeliveryTimeWindow returns the DeliveryTimeWindow field value if set, zero value otherwise.

func (*SmsTextualMessage) GetDeliveryTimeWindowOk

func (o *SmsTextualMessage) GetDeliveryTimeWindowOk() (*SmsDeliveryTimeWindow, bool)

GetDeliveryTimeWindowOk returns a tuple with the DeliveryTimeWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetDestinations

func (o *SmsTextualMessage) GetDestinations() []SmsDestination

GetDestinations returns the Destinations field value if set, zero value otherwise.

func (*SmsTextualMessage) GetDestinationsOk

func (o *SmsTextualMessage) GetDestinationsOk() (*[]SmsDestination, bool)

GetDestinationsOk returns a tuple with the Destinations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetFlash

func (o *SmsTextualMessage) GetFlash() bool

GetFlash returns the Flash field value if set, zero value otherwise.

func (*SmsTextualMessage) GetFlashOk

func (o *SmsTextualMessage) GetFlashOk() (*bool, bool)

GetFlashOk returns a tuple with the Flash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetFrom

func (o *SmsTextualMessage) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*SmsTextualMessage) GetFromOk

func (o *SmsTextualMessage) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetIntermediateReport

func (o *SmsTextualMessage) GetIntermediateReport() bool

GetIntermediateReport returns the IntermediateReport field value if set, zero value otherwise.

func (*SmsTextualMessage) GetIntermediateReportOk

func (o *SmsTextualMessage) GetIntermediateReportOk() (*bool, bool)

GetIntermediateReportOk returns a tuple with the IntermediateReport field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetLanguage

func (o *SmsTextualMessage) GetLanguage() SmsLanguage

GetLanguage returns the Language field value if set, zero value otherwise.

func (*SmsTextualMessage) GetLanguageOk

func (o *SmsTextualMessage) GetLanguageOk() (*SmsLanguage, 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 (*SmsTextualMessage) GetNotifyContentType

func (o *SmsTextualMessage) GetNotifyContentType() string

GetNotifyContentType returns the NotifyContentType field value if set, zero value otherwise.

func (*SmsTextualMessage) GetNotifyContentTypeOk

func (o *SmsTextualMessage) GetNotifyContentTypeOk() (*string, bool)

GetNotifyContentTypeOk returns a tuple with the NotifyContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetNotifyUrl

func (o *SmsTextualMessage) GetNotifyUrl() string

GetNotifyUrl returns the NotifyUrl field value if set, zero value otherwise.

func (*SmsTextualMessage) GetNotifyUrlOk

func (o *SmsTextualMessage) GetNotifyUrlOk() (*string, bool)

GetNotifyUrlOk returns a tuple with the NotifyUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetRegional

func (o *SmsTextualMessage) GetRegional() SmsRegionalOptions

GetRegional returns the Regional field value if set, zero value otherwise.

func (*SmsTextualMessage) GetRegionalOk

func (o *SmsTextualMessage) GetRegionalOk() (*SmsRegionalOptions, bool)

GetRegionalOk returns a tuple with the Regional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetSendAt

func (o *SmsTextualMessage) GetSendAt() Time

GetSendAt returns the SendAt field value if set, zero value otherwise.

func (*SmsTextualMessage) GetSendAtOk

func (o *SmsTextualMessage) GetSendAtOk() (*Time, bool)

GetSendAtOk returns a tuple with the SendAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetText

func (o *SmsTextualMessage) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*SmsTextualMessage) GetTextOk

func (o *SmsTextualMessage) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetTransliteration

func (o *SmsTextualMessage) GetTransliteration() string

GetTransliteration returns the Transliteration field value if set, zero value otherwise.

func (*SmsTextualMessage) GetTransliterationOk

func (o *SmsTextualMessage) GetTransliterationOk() (*string, bool)

GetTransliterationOk returns a tuple with the Transliteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) GetValidityPeriod

func (o *SmsTextualMessage) GetValidityPeriod() int64

GetValidityPeriod returns the ValidityPeriod field value if set, zero value otherwise.

func (*SmsTextualMessage) GetValidityPeriodOk

func (o *SmsTextualMessage) GetValidityPeriodOk() (*int64, bool)

GetValidityPeriodOk returns a tuple with the ValidityPeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTextualMessage) HasCallbackData

func (o *SmsTextualMessage) HasCallbackData() bool

HasCallbackData returns a boolean if a field has been set.

func (*SmsTextualMessage) HasDeliveryTimeWindow

func (o *SmsTextualMessage) HasDeliveryTimeWindow() bool

HasDeliveryTimeWindow returns a boolean if a field has been set.

func (*SmsTextualMessage) HasDestinations

func (o *SmsTextualMessage) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*SmsTextualMessage) HasFlash

func (o *SmsTextualMessage) HasFlash() bool

HasFlash returns a boolean if a field has been set.

func (*SmsTextualMessage) HasFrom

func (o *SmsTextualMessage) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*SmsTextualMessage) HasIntermediateReport

func (o *SmsTextualMessage) HasIntermediateReport() bool

HasIntermediateReport returns a boolean if a field has been set.

func (*SmsTextualMessage) HasLanguage

func (o *SmsTextualMessage) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*SmsTextualMessage) HasNotifyContentType

func (o *SmsTextualMessage) HasNotifyContentType() bool

HasNotifyContentType returns a boolean if a field has been set.

func (*SmsTextualMessage) HasNotifyUrl

func (o *SmsTextualMessage) HasNotifyUrl() bool

HasNotifyUrl returns a boolean if a field has been set.

func (*SmsTextualMessage) HasRegional

func (o *SmsTextualMessage) HasRegional() bool

HasRegional returns a boolean if a field has been set.

func (*SmsTextualMessage) HasSendAt

func (o *SmsTextualMessage) HasSendAt() bool

HasSendAt returns a boolean if a field has been set.

func (*SmsTextualMessage) HasText

func (o *SmsTextualMessage) HasText() bool

HasText returns a boolean if a field has been set.

func (*SmsTextualMessage) HasTransliteration

func (o *SmsTextualMessage) HasTransliteration() bool

HasTransliteration returns a boolean if a field has been set.

func (*SmsTextualMessage) HasValidityPeriod

func (o *SmsTextualMessage) HasValidityPeriod() bool

HasValidityPeriod returns a boolean if a field has been set.

func (SmsTextualMessage) MarshalJSON

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

func (*SmsTextualMessage) SetCallbackData

func (o *SmsTextualMessage) SetCallbackData(v string)

SetCallbackData gets a reference to the given string and assigns it to the CallbackData field.

func (*SmsTextualMessage) SetDeliveryTimeWindow

func (o *SmsTextualMessage) SetDeliveryTimeWindow(v SmsDeliveryTimeWindow)

SetDeliveryTimeWindow gets a reference to the given SmsDeliveryTimeWindow and assigns it to the DeliveryTimeWindow field.

func (*SmsTextualMessage) SetDestinations

func (o *SmsTextualMessage) SetDestinations(v []SmsDestination)

SetDestinations gets a reference to the given []SmsDestination and assigns it to the Destinations field.

func (*SmsTextualMessage) SetFlash

func (o *SmsTextualMessage) SetFlash(v bool)

SetFlash gets a reference to the given bool and assigns it to the Flash field.

func (*SmsTextualMessage) SetFrom

func (o *SmsTextualMessage) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*SmsTextualMessage) SetIntermediateReport

func (o *SmsTextualMessage) SetIntermediateReport(v bool)

SetIntermediateReport gets a reference to the given bool and assigns it to the IntermediateReport field.

func (*SmsTextualMessage) SetLanguage

func (o *SmsTextualMessage) SetLanguage(v SmsLanguage)

SetLanguage gets a reference to the given SmsLanguage and assigns it to the Language field.

func (*SmsTextualMessage) SetNotifyContentType

func (o *SmsTextualMessage) SetNotifyContentType(v string)

SetNotifyContentType gets a reference to the given string and assigns it to the NotifyContentType field.

func (*SmsTextualMessage) SetNotifyUrl

func (o *SmsTextualMessage) SetNotifyUrl(v string)

SetNotifyUrl gets a reference to the given string and assigns it to the NotifyUrl field.

func (*SmsTextualMessage) SetRegional

func (o *SmsTextualMessage) SetRegional(v SmsRegionalOptions)

SetRegional gets a reference to the given SmsRegionalOptions and assigns it to the Regional field.

func (*SmsTextualMessage) SetSendAt

func (o *SmsTextualMessage) SetSendAt(v Time)

SetSendAt gets a reference to the given Time and assigns it to the SendAt field.

func (*SmsTextualMessage) SetText

func (o *SmsTextualMessage) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*SmsTextualMessage) SetTransliteration

func (o *SmsTextualMessage) SetTransliteration(v string)

SetTransliteration gets a reference to the given string and assigns it to the Transliteration field.

func (*SmsTextualMessage) SetValidityPeriod

func (o *SmsTextualMessage) SetValidityPeriod(v int64)

SetValidityPeriod gets a reference to the given int64 and assigns it to the ValidityPeriod field.

type SmsTracking

type SmsTracking struct {
	// Custom base url used for shortening links from SMS text in `URL` Conversion rate tracking use-case.
	BaseUrl *string `json:"baseUrl,omitempty"`
	// Key that uniquely identifies Conversion tracking process.
	ProcessKey *string `json:"processKey,omitempty"`
	// Indicates if the message has to be tracked for Conversion rates. Possible values: `SMS` and `URL`
	Track *string `json:"track,omitempty"`
	// User-defined type of the Conversion tracking process or flow type or message type, etc. Example: `ONE_TIME_PIN or SOCIAL_INVITES`.
	Type *string `json:"type,omitempty"`
}

SmsTracking struct for SmsTracking

func NewSmsTracking

func NewSmsTracking() *SmsTracking

NewSmsTracking instantiates a new SmsTracking 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 NewSmsTrackingWithDefaults

func NewSmsTrackingWithDefaults() *SmsTracking

NewSmsTrackingWithDefaults instantiates a new SmsTracking 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 (*SmsTracking) GetBaseUrl

func (o *SmsTracking) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field value if set, zero value otherwise.

func (*SmsTracking) GetBaseUrlOk

func (o *SmsTracking) GetBaseUrlOk() (*string, bool)

GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTracking) GetProcessKey

func (o *SmsTracking) GetProcessKey() string

GetProcessKey returns the ProcessKey field value if set, zero value otherwise.

func (*SmsTracking) GetProcessKeyOk

func (o *SmsTracking) GetProcessKeyOk() (*string, bool)

GetProcessKeyOk returns a tuple with the ProcessKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTracking) GetTrack

func (o *SmsTracking) GetTrack() string

GetTrack returns the Track field value if set, zero value otherwise.

func (*SmsTracking) GetTrackOk

func (o *SmsTracking) GetTrackOk() (*string, bool)

GetTrackOk returns a tuple with the Track field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmsTracking) GetType

func (o *SmsTracking) GetType() string

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

func (*SmsTracking) GetTypeOk

func (o *SmsTracking) 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 (*SmsTracking) HasBaseUrl

func (o *SmsTracking) HasBaseUrl() bool

HasBaseUrl returns a boolean if a field has been set.

func (*SmsTracking) HasProcessKey

func (o *SmsTracking) HasProcessKey() bool

HasProcessKey returns a boolean if a field has been set.

func (*SmsTracking) HasTrack

func (o *SmsTracking) HasTrack() bool

HasTrack returns a boolean if a field has been set.

func (*SmsTracking) HasType

func (o *SmsTracking) HasType() bool

HasType returns a boolean if a field has been set.

func (SmsTracking) MarshalJSON

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

func (*SmsTracking) SetBaseUrl

func (o *SmsTracking) SetBaseUrl(v string)

SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field.

func (*SmsTracking) SetProcessKey

func (o *SmsTracking) SetProcessKey(v string)

SetProcessKey gets a reference to the given string and assigns it to the ProcessKey field.

func (*SmsTracking) SetTrack

func (o *SmsTracking) SetTrack(v string)

SetTrack gets a reference to the given string and assigns it to the Track field.

func (*SmsTracking) SetType

func (o *SmsTracking) SetType(v string)

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

type SmsUpdateStatusRequest

type SmsUpdateStatusRequest struct {
	Status SmsBulkStatus `json:"status"`
}

SmsUpdateStatusRequest struct for SmsUpdateStatusRequest

func NewSmsUpdateStatusRequest

func NewSmsUpdateStatusRequest(status SmsBulkStatus) *SmsUpdateStatusRequest

NewSmsUpdateStatusRequest instantiates a new SmsUpdateStatusRequest 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 NewSmsUpdateStatusRequestWithDefaults

func NewSmsUpdateStatusRequestWithDefaults() *SmsUpdateStatusRequest

NewSmsUpdateStatusRequestWithDefaults instantiates a new SmsUpdateStatusRequest 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 (*SmsUpdateStatusRequest) GetStatus

func (o *SmsUpdateStatusRequest) GetStatus() SmsBulkStatus

GetStatus returns the Status field value

func (*SmsUpdateStatusRequest) GetStatusOk

func (o *SmsUpdateStatusRequest) GetStatusOk() (*SmsBulkStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (SmsUpdateStatusRequest) MarshalJSON

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

func (*SmsUpdateStatusRequest) SetStatus

func (o *SmsUpdateStatusRequest) SetStatus(v SmsBulkStatus)

SetStatus sets field value

type TfaApiException

type TfaApiException struct {
	RequestError *TfaApiRequestError `json:"requestError,omitempty"`
}

TfaApiException struct for TfaApiException

func NewTfaApiException

func NewTfaApiException() *TfaApiException

NewTfaApiException instantiates a new TfaApiException 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 NewTfaApiExceptionWithDefaults

func NewTfaApiExceptionWithDefaults() *TfaApiException

NewTfaApiExceptionWithDefaults instantiates a new TfaApiException 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 (*TfaApiException) GetRequestError

func (o *TfaApiException) GetRequestError() TfaApiRequestError

GetRequestError returns the RequestError field value if set, zero value otherwise.

func (*TfaApiException) GetRequestErrorOk

func (o *TfaApiException) GetRequestErrorOk() (*TfaApiRequestError, bool)

GetRequestErrorOk returns a tuple with the RequestError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApiException) HasRequestError

func (o *TfaApiException) HasRequestError() bool

HasRequestError returns a boolean if a field has been set.

func (TfaApiException) MarshalJSON

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

func (*TfaApiException) SetRequestError

func (o *TfaApiException) SetRequestError(v TfaApiRequestError)

SetRequestError gets a reference to the given TfaApiRequestError and assigns it to the RequestError field.

type TfaApiRequestError

type TfaApiRequestError struct {
	ServiceException *TfaApiRequestErrorDetails `json:"serviceException,omitempty"`
}

TfaApiRequestError struct for TfaApiRequestError

func NewTfaApiRequestError

func NewTfaApiRequestError() *TfaApiRequestError

NewTfaApiRequestError instantiates a new TfaApiRequestError 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 NewTfaApiRequestErrorWithDefaults

func NewTfaApiRequestErrorWithDefaults() *TfaApiRequestError

NewTfaApiRequestErrorWithDefaults instantiates a new TfaApiRequestError 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 (*TfaApiRequestError) GetServiceException

func (o *TfaApiRequestError) GetServiceException() TfaApiRequestErrorDetails

GetServiceException returns the ServiceException field value if set, zero value otherwise.

func (*TfaApiRequestError) GetServiceExceptionOk

func (o *TfaApiRequestError) GetServiceExceptionOk() (*TfaApiRequestErrorDetails, bool)

GetServiceExceptionOk returns a tuple with the ServiceException field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApiRequestError) HasServiceException

func (o *TfaApiRequestError) HasServiceException() bool

HasServiceException returns a boolean if a field has been set.

func (TfaApiRequestError) MarshalJSON

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

func (*TfaApiRequestError) SetServiceException

func (o *TfaApiRequestError) SetServiceException(v TfaApiRequestErrorDetails)

SetServiceException gets a reference to the given TfaApiRequestErrorDetails and assigns it to the ServiceException field.

type TfaApiRequestErrorDetails

type TfaApiRequestErrorDetails struct {
	// Identifier of the error.
	MessageId *string `json:"messageId,omitempty"`
	// Detailed error description.
	Text *string `json:"text,omitempty"`
}

TfaApiRequestErrorDetails struct for TfaApiRequestErrorDetails

func NewTfaApiRequestErrorDetails

func NewTfaApiRequestErrorDetails() *TfaApiRequestErrorDetails

NewTfaApiRequestErrorDetails instantiates a new TfaApiRequestErrorDetails 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 NewTfaApiRequestErrorDetailsWithDefaults

func NewTfaApiRequestErrorDetailsWithDefaults() *TfaApiRequestErrorDetails

NewTfaApiRequestErrorDetailsWithDefaults instantiates a new TfaApiRequestErrorDetails 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 (*TfaApiRequestErrorDetails) GetMessageId

func (o *TfaApiRequestErrorDetails) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*TfaApiRequestErrorDetails) GetMessageIdOk

func (o *TfaApiRequestErrorDetails) 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 (*TfaApiRequestErrorDetails) GetText

func (o *TfaApiRequestErrorDetails) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*TfaApiRequestErrorDetails) GetTextOk

func (o *TfaApiRequestErrorDetails) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApiRequestErrorDetails) HasMessageId

func (o *TfaApiRequestErrorDetails) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*TfaApiRequestErrorDetails) HasText

func (o *TfaApiRequestErrorDetails) HasText() bool

HasText returns a boolean if a field has been set.

func (TfaApiRequestErrorDetails) MarshalJSON

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

func (*TfaApiRequestErrorDetails) SetMessageId

func (o *TfaApiRequestErrorDetails) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*TfaApiRequestErrorDetails) SetText

func (o *TfaApiRequestErrorDetails) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

type TfaApiService

type TfaApiService service

TfaApiService TfaApi service

func (*TfaApiService) CreateTfaApplication

func (a *TfaApiService) CreateTfaApplication(ctx _context.Context) ApiCreateTfaApplicationRequest

* CreateTfaApplication Create 2FA application * Create and configure a new 2FA application. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCreateTfaApplicationRequest

func (*TfaApiService) CreateTfaApplicationExecute

* Execute executes the request * @return TfaApplicationResponse

func (*TfaApiService) CreateTfaMessageTemplate

func (a *TfaApiService) CreateTfaMessageTemplate(ctx _context.Context, appId string) ApiCreateTfaMessageTemplateRequest

* CreateTfaMessageTemplate Create 2FA message template * Once you have your [2FA application](#channels/sms/create-2fa-message-template), create one or more message templates where your PIN will be dynamically included when you send the PIN message. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of application for which requested message was created. * @return ApiCreateTfaMessageTemplateRequest

func (*TfaApiService) CreateTfaMessageTemplateExecute

func (a *TfaApiService) CreateTfaMessageTemplateExecute(r ApiCreateTfaMessageTemplateRequest) (TfaMessage, *_nethttp.Response, error)

* Execute executes the request * @return TfaMessage

func (*TfaApiService) GetTfaApplication

func (a *TfaApiService) GetTfaApplication(ctx _context.Context, appId string) ApiGetTfaApplicationRequest

* GetTfaApplication Get 2FA application * Get a single 2FA application to see its configuration details. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId Requested application ID. * @return ApiGetTfaApplicationRequest

func (*TfaApiService) GetTfaApplicationExecute

* Execute executes the request * @return TfaApplicationResponse

func (*TfaApiService) GetTfaApplications

func (a *TfaApiService) GetTfaApplications(ctx _context.Context) ApiGetTfaApplicationsRequest

* GetTfaApplications Get 2FA applications * An application is a container for 2FA message templates. Use this method to list your applications. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetTfaApplicationsRequest

func (*TfaApiService) GetTfaApplicationsExecute

* Execute executes the request * @return []TfaApplicationResponse

func (*TfaApiService) GetTfaMessageTemplate

func (a *TfaApiService) GetTfaMessageTemplate(ctx _context.Context, appId string, msgId string) ApiGetTfaMessageTemplateRequest

* GetTfaMessageTemplate Get 2FA message template * Get a single 2FA message template from an application to see its configuration details. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of application for which requested message was created. * @param msgId Requested message ID. * @return ApiGetTfaMessageTemplateRequest

func (*TfaApiService) GetTfaMessageTemplateExecute

func (a *TfaApiService) GetTfaMessageTemplateExecute(r ApiGetTfaMessageTemplateRequest) (TfaMessage, *_nethttp.Response, error)

* Execute executes the request * @return TfaMessage

func (*TfaApiService) GetTfaMessageTemplates

func (a *TfaApiService) GetTfaMessageTemplates(ctx _context.Context, appId string) ApiGetTfaMessageTemplatesRequest

* GetTfaMessageTemplates Get 2FA message templates * List all message templates in a 2FA application. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of application for which requested message was created. * @return ApiGetTfaMessageTemplatesRequest

func (*TfaApiService) GetTfaMessageTemplatesExecute

func (a *TfaApiService) GetTfaMessageTemplatesExecute(r ApiGetTfaMessageTemplatesRequest) ([]TfaMessage, *_nethttp.Response, error)

* Execute executes the request * @return []TfaMessage

func (*TfaApiService) GetTfaVerificationStatus

func (a *TfaApiService) GetTfaVerificationStatus(ctx _context.Context, appId string) ApiGetTfaVerificationStatusRequest

* GetTfaVerificationStatus Get 2FA verification status * Check if a phone number is already verified for a specific 2FA application. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of 2-FA application for which phone number verification status is requested. * @return ApiGetTfaVerificationStatusRequest

func (*TfaApiService) GetTfaVerificationStatusExecute

* Execute executes the request * @return TfaVerificationResponse

func (*TfaApiService) ResendTfaPinCodeOverSms

func (a *TfaApiService) ResendTfaPinCodeOverSms(ctx _context.Context, pinId string) ApiResendTfaPinCodeOverSmsRequest

* ResendTfaPinCodeOverSms Resend 2FA PIN code over SMS * If needed, you can resend the same (previously sent) PIN code over SMS. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pinId ID of the pin code that has to be verified. * @return ApiResendTfaPinCodeOverSmsRequest

func (*TfaApiService) ResendTfaPinCodeOverSmsExecute

* Execute executes the request * @return TfaStartAuthenticationResponse

func (*TfaApiService) ResendTfaPinCodeOverVoice

func (a *TfaApiService) ResendTfaPinCodeOverVoice(ctx _context.Context, pinId string) ApiResendTfaPinCodeOverVoiceRequest

* ResendTfaPinCodeOverVoice Resend 2FA PIN code over Voice * If needed, you can resend the same (previously sent) PIN code over Voice. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pinId ID of the pin code that has to be verified. * @return ApiResendTfaPinCodeOverVoiceRequest

func (*TfaApiService) ResendTfaPinCodeOverVoiceExecute

* Execute executes the request * @return TfaStartAuthenticationResponse

func (*TfaApiService) SendTfaPinCodeOverSms

func (a *TfaApiService) SendTfaPinCodeOverSms(ctx _context.Context) ApiSendTfaPinCodeOverSmsRequest

* SendTfaPinCodeOverSms Send 2FA PIN code over SMS * Send a PIN code over SMS using a previously created [message template](#channels/sms/create-2fa-message-template). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSendTfaPinCodeOverSmsRequest

func (*TfaApiService) SendTfaPinCodeOverSmsExecute

* Execute executes the request * @return TfaStartAuthenticationResponse

func (*TfaApiService) SendTfaPinCodeOverVoice

func (a *TfaApiService) SendTfaPinCodeOverVoice(ctx _context.Context) ApiSendTfaPinCodeOverVoiceRequest

* SendTfaPinCodeOverVoice Send 2FA PIN code over Voice * Send a PIN code over Voice using previously created [message template](#channels/sms/create-2fa-message-template). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSendTfaPinCodeOverVoiceRequest

func (*TfaApiService) SendTfaPinCodeOverVoiceExecute

* Execute executes the request * @return TfaStartAuthenticationResponse

func (*TfaApiService) UpdateTfaApplication

func (a *TfaApiService) UpdateTfaApplication(ctx _context.Context, appId string) ApiUpdateTfaApplicationRequest

* UpdateTfaApplication Update 2FA application * Change configuration options for your existing 2FA application. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of application that should be updated. * @return ApiUpdateTfaApplicationRequest

func (*TfaApiService) UpdateTfaApplicationExecute

* Execute executes the request * @return TfaApplicationResponse

func (*TfaApiService) UpdateTfaMessageTemplate

func (a *TfaApiService) UpdateTfaMessageTemplate(ctx _context.Context, appId string, msgId string) ApiUpdateTfaMessageTemplateRequest

* UpdateTfaMessageTemplate Update 2FA message template * Change configuration options for your existing 2FA application message template. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appId ID of application for which requested message was created. * @param msgId Requested message ID. * @return ApiUpdateTfaMessageTemplateRequest

func (*TfaApiService) UpdateTfaMessageTemplateExecute

func (a *TfaApiService) UpdateTfaMessageTemplateExecute(r ApiUpdateTfaMessageTemplateRequest) (TfaMessage, *_nethttp.Response, error)

* Execute executes the request * @return TfaMessage

func (*TfaApiService) VerifyTfaPhoneNumber

func (a *TfaApiService) VerifyTfaPhoneNumber(ctx _context.Context, pinId string) ApiVerifyTfaPhoneNumberRequest

* VerifyTfaPhoneNumber Verify phone number * Verify a phone number to confirm successful 2FA authentication. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pinId ID of the pin code that has to be verified. * @return ApiVerifyTfaPhoneNumberRequest

func (*TfaApiService) VerifyTfaPhoneNumberExecute

* Execute executes the request * @return TfaVerifyPinResponse

type TfaApplicationConfiguration

type TfaApplicationConfiguration struct {
	// Tells if multiple PIN verifications are allowed.
	AllowMultiplePinVerifications *bool `json:"allowMultiplePinVerifications,omitempty"`
	// Number of possible PIN attempts.
	PinAttempts *int32 `json:"pinAttempts,omitempty"`
	// PIN time to live. Should be in format of `{timeLength}{timeUnit}`. Here `timeLength` is an optional positive integer with a default value of 1 and `timeUnit` is one of: `ms`, `s`, `m`, `h` or `d` representing milliseconds, seconds, minutes, hours and days respectively. Must not be larger that one year, although much lower values are recommended.
	PinTimeToLive *string `json:"pinTimeToLive,omitempty"`
	// Overall number of requests in time interval for generating a PIN and sending an SMS using single application. Should be in format of `{attempts}/{timeLength}{timeUnit}`. Here `attempts` is a mandatory positive integer and `timeLength` is an optional positive integer with a default value of 1. `timeUnit` is one of: `ms`, `s`, `m`, `h` or `d` representing milliseconds, seconds, minutes, hours and days respectively. Time component must not be larger that one year, although much lower values are recommended.
	SendPinPerApplicationLimit *string `json:"sendPinPerApplicationLimit,omitempty"`
	// Number of requests in time interval for generating a PIN and sending an SMS to one phone number (MSISDN). Should be in format of `{attempts}/{timeLength}{timeUnit}`. Here `attempts` is a mandatory positive integer and `timeLength` is an optional positive integer with a default value of 1. `timeUnit` is one of: `ms`, `s`, `m`, `h` or `d` representing milliseconds, seconds, minutes, hours and days respectively. Time component must not be larger that one year, although much lower values are recommended.
	SendPinPerPhoneNumberLimit *string `json:"sendPinPerPhoneNumberLimit,omitempty"`
	// Number of PIN verification requests in time interval from one phone number (MSISDN). Should be in format of `{attempts}/{timeLength}{timeUnit}`. Here `attempts` is a mandatory positive integer and `timeLength` is an optional positive integer with a default value of 1. `timeUnit` is one of: `ms`, `s`, `m`, `h` or `d` representing milliseconds, seconds, minutes, hours and days respectively. Time component must not be larger that one day, although much lower values are recommended.
	VerifyPinLimit *string `json:"verifyPinLimit,omitempty"`
}

TfaApplicationConfiguration struct for TfaApplicationConfiguration

func NewTfaApplicationConfiguration

func NewTfaApplicationConfiguration() *TfaApplicationConfiguration

NewTfaApplicationConfiguration instantiates a new TfaApplicationConfiguration 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 NewTfaApplicationConfigurationWithDefaults

func NewTfaApplicationConfigurationWithDefaults() *TfaApplicationConfiguration

NewTfaApplicationConfigurationWithDefaults instantiates a new TfaApplicationConfiguration 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 (*TfaApplicationConfiguration) GetAllowMultiplePinVerifications

func (o *TfaApplicationConfiguration) GetAllowMultiplePinVerifications() bool

GetAllowMultiplePinVerifications returns the AllowMultiplePinVerifications field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetAllowMultiplePinVerificationsOk

func (o *TfaApplicationConfiguration) GetAllowMultiplePinVerificationsOk() (*bool, bool)

GetAllowMultiplePinVerificationsOk returns a tuple with the AllowMultiplePinVerifications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) GetPinAttempts

func (o *TfaApplicationConfiguration) GetPinAttempts() int32

GetPinAttempts returns the PinAttempts field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetPinAttemptsOk

func (o *TfaApplicationConfiguration) GetPinAttemptsOk() (*int32, bool)

GetPinAttemptsOk returns a tuple with the PinAttempts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) GetPinTimeToLive

func (o *TfaApplicationConfiguration) GetPinTimeToLive() string

GetPinTimeToLive returns the PinTimeToLive field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetPinTimeToLiveOk

func (o *TfaApplicationConfiguration) GetPinTimeToLiveOk() (*string, bool)

GetPinTimeToLiveOk returns a tuple with the PinTimeToLive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) GetSendPinPerApplicationLimit

func (o *TfaApplicationConfiguration) GetSendPinPerApplicationLimit() string

GetSendPinPerApplicationLimit returns the SendPinPerApplicationLimit field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetSendPinPerApplicationLimitOk

func (o *TfaApplicationConfiguration) GetSendPinPerApplicationLimitOk() (*string, bool)

GetSendPinPerApplicationLimitOk returns a tuple with the SendPinPerApplicationLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) GetSendPinPerPhoneNumberLimit

func (o *TfaApplicationConfiguration) GetSendPinPerPhoneNumberLimit() string

GetSendPinPerPhoneNumberLimit returns the SendPinPerPhoneNumberLimit field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetSendPinPerPhoneNumberLimitOk

func (o *TfaApplicationConfiguration) GetSendPinPerPhoneNumberLimitOk() (*string, bool)

GetSendPinPerPhoneNumberLimitOk returns a tuple with the SendPinPerPhoneNumberLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) GetVerifyPinLimit

func (o *TfaApplicationConfiguration) GetVerifyPinLimit() string

GetVerifyPinLimit returns the VerifyPinLimit field value if set, zero value otherwise.

func (*TfaApplicationConfiguration) GetVerifyPinLimitOk

func (o *TfaApplicationConfiguration) GetVerifyPinLimitOk() (*string, bool)

GetVerifyPinLimitOk returns a tuple with the VerifyPinLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationConfiguration) HasAllowMultiplePinVerifications

func (o *TfaApplicationConfiguration) HasAllowMultiplePinVerifications() bool

HasAllowMultiplePinVerifications returns a boolean if a field has been set.

func (*TfaApplicationConfiguration) HasPinAttempts

func (o *TfaApplicationConfiguration) HasPinAttempts() bool

HasPinAttempts returns a boolean if a field has been set.

func (*TfaApplicationConfiguration) HasPinTimeToLive

func (o *TfaApplicationConfiguration) HasPinTimeToLive() bool

HasPinTimeToLive returns a boolean if a field has been set.

func (*TfaApplicationConfiguration) HasSendPinPerApplicationLimit

func (o *TfaApplicationConfiguration) HasSendPinPerApplicationLimit() bool

HasSendPinPerApplicationLimit returns a boolean if a field has been set.

func (*TfaApplicationConfiguration) HasSendPinPerPhoneNumberLimit

func (o *TfaApplicationConfiguration) HasSendPinPerPhoneNumberLimit() bool

HasSendPinPerPhoneNumberLimit returns a boolean if a field has been set.

func (*TfaApplicationConfiguration) HasVerifyPinLimit

func (o *TfaApplicationConfiguration) HasVerifyPinLimit() bool

HasVerifyPinLimit returns a boolean if a field has been set.

func (TfaApplicationConfiguration) MarshalJSON

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

func (*TfaApplicationConfiguration) SetAllowMultiplePinVerifications

func (o *TfaApplicationConfiguration) SetAllowMultiplePinVerifications(v bool)

SetAllowMultiplePinVerifications gets a reference to the given bool and assigns it to the AllowMultiplePinVerifications field.

func (*TfaApplicationConfiguration) SetPinAttempts

func (o *TfaApplicationConfiguration) SetPinAttempts(v int32)

SetPinAttempts gets a reference to the given int32 and assigns it to the PinAttempts field.

func (*TfaApplicationConfiguration) SetPinTimeToLive

func (o *TfaApplicationConfiguration) SetPinTimeToLive(v string)

SetPinTimeToLive gets a reference to the given string and assigns it to the PinTimeToLive field.

func (*TfaApplicationConfiguration) SetSendPinPerApplicationLimit

func (o *TfaApplicationConfiguration) SetSendPinPerApplicationLimit(v string)

SetSendPinPerApplicationLimit gets a reference to the given string and assigns it to the SendPinPerApplicationLimit field.

func (*TfaApplicationConfiguration) SetSendPinPerPhoneNumberLimit

func (o *TfaApplicationConfiguration) SetSendPinPerPhoneNumberLimit(v string)

SetSendPinPerPhoneNumberLimit gets a reference to the given string and assigns it to the SendPinPerPhoneNumberLimit field.

func (*TfaApplicationConfiguration) SetVerifyPinLimit

func (o *TfaApplicationConfiguration) SetVerifyPinLimit(v string)

SetVerifyPinLimit gets a reference to the given string and assigns it to the VerifyPinLimit field.

type TfaApplicationRequest

type TfaApplicationRequest struct {
	// Created 2FA application configuration.
	Configuration *TfaApplicationConfiguration `json:"configuration,omitempty"`
	// Indicates if the created application is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// 2FA application name.
	Name string `json:"name"`
}

TfaApplicationRequest struct for TfaApplicationRequest

func NewTfaApplicationRequest

func NewTfaApplicationRequest(name string) *TfaApplicationRequest

NewTfaApplicationRequest instantiates a new TfaApplicationRequest 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 NewTfaApplicationRequestWithDefaults

func NewTfaApplicationRequestWithDefaults() *TfaApplicationRequest

NewTfaApplicationRequestWithDefaults instantiates a new TfaApplicationRequest 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 (*TfaApplicationRequest) GetConfiguration

func (o *TfaApplicationRequest) GetConfiguration() TfaApplicationConfiguration

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*TfaApplicationRequest) GetConfigurationOk

func (o *TfaApplicationRequest) GetConfigurationOk() (*TfaApplicationConfiguration, bool)

GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationRequest) GetEnabled

func (o *TfaApplicationRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*TfaApplicationRequest) GetEnabledOk

func (o *TfaApplicationRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationRequest) GetName

func (o *TfaApplicationRequest) GetName() string

GetName returns the Name field value

func (*TfaApplicationRequest) GetNameOk

func (o *TfaApplicationRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TfaApplicationRequest) HasConfiguration

func (o *TfaApplicationRequest) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*TfaApplicationRequest) HasEnabled

func (o *TfaApplicationRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (TfaApplicationRequest) MarshalJSON

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

func (*TfaApplicationRequest) SetConfiguration

func (o *TfaApplicationRequest) SetConfiguration(v TfaApplicationConfiguration)

SetConfiguration gets a reference to the given TfaApplicationConfiguration and assigns it to the Configuration field.

func (*TfaApplicationRequest) SetEnabled

func (o *TfaApplicationRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*TfaApplicationRequest) SetName

func (o *TfaApplicationRequest) SetName(v string)

SetName sets field value

type TfaApplicationResponse

type TfaApplicationResponse struct {
	// 2FA application ID.
	ApplicationId *string `json:"applicationId,omitempty"`
	// Created 2FA application configuration.
	Configuration *TfaApplicationConfiguration `json:"configuration,omitempty"`
	// Indicates if the created application is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// 2FA application name.
	Name *string `json:"name,omitempty"`
}

TfaApplicationResponse struct for TfaApplicationResponse

func NewTfaApplicationResponse

func NewTfaApplicationResponse() *TfaApplicationResponse

NewTfaApplicationResponse instantiates a new TfaApplicationResponse 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 NewTfaApplicationResponseWithDefaults

func NewTfaApplicationResponseWithDefaults() *TfaApplicationResponse

NewTfaApplicationResponseWithDefaults instantiates a new TfaApplicationResponse 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 (*TfaApplicationResponse) GetApplicationId

func (o *TfaApplicationResponse) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*TfaApplicationResponse) GetApplicationIdOk

func (o *TfaApplicationResponse) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationResponse) GetConfiguration

GetConfiguration returns the Configuration field value if set, zero value otherwise.

func (*TfaApplicationResponse) GetConfigurationOk

func (o *TfaApplicationResponse) GetConfigurationOk() (*TfaApplicationConfiguration, bool)

GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationResponse) GetEnabled

func (o *TfaApplicationResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*TfaApplicationResponse) GetEnabledOk

func (o *TfaApplicationResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaApplicationResponse) GetName

func (o *TfaApplicationResponse) GetName() string

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

func (*TfaApplicationResponse) GetNameOk

func (o *TfaApplicationResponse) 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 (*TfaApplicationResponse) HasApplicationId

func (o *TfaApplicationResponse) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*TfaApplicationResponse) HasConfiguration

func (o *TfaApplicationResponse) HasConfiguration() bool

HasConfiguration returns a boolean if a field has been set.

func (*TfaApplicationResponse) HasEnabled

func (o *TfaApplicationResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*TfaApplicationResponse) HasName

func (o *TfaApplicationResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (TfaApplicationResponse) MarshalJSON

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

func (*TfaApplicationResponse) SetApplicationId

func (o *TfaApplicationResponse) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*TfaApplicationResponse) SetConfiguration

func (o *TfaApplicationResponse) SetConfiguration(v TfaApplicationConfiguration)

SetConfiguration gets a reference to the given TfaApplicationConfiguration and assigns it to the Configuration field.

func (*TfaApplicationResponse) SetEnabled

func (o *TfaApplicationResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*TfaApplicationResponse) SetName

func (o *TfaApplicationResponse) SetName(v string)

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

type TfaCreateMessageRequest

type TfaCreateMessageRequest struct {
	// Language code of language in which message text is written. It is used for reading the message when it is sent via voice. If no language is set, message will be read in `English`.
	Language *TfaLanguage `json:"language,omitempty"`
	// Text of a message that will be sent. It can contain placeholders that will be replaced upon sending. Placeholder format is `{{placeholderName}}`. Message text must contain `{{pin}}` placeholder.
	MessageText string `json:"messageText"`
	// PIN code length.
	PinLength *int32 `json:"pinLength,omitempty"`
	// Type of PIN code that will be generated and sent as part of 2FA message.
	PinType TfaPinType `json:"pinType"`
	// Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
	Regional *TfaRegionalOptions `json:"regional,omitempty"`
	// In case PIN message is sent by Voice, DTMF code will enable replaying the message.
	RepeatDTMF *string `json:"repeatDTMF,omitempty"`
	// The name that will appear as the sender of the 2FA message (Example: CompanyName).
	SenderId *string `json:"senderId,omitempty"`
	// In case PIN message is sent by Voice, the speed of speech can be set for the message. Supported range is from `0.5` to `2`.
	SpeechRate *float64 `json:"speechRate,omitempty"`
}

TfaCreateMessageRequest struct for TfaCreateMessageRequest

func NewTfaCreateMessageRequest

func NewTfaCreateMessageRequest(messageText string, pinType TfaPinType) *TfaCreateMessageRequest

NewTfaCreateMessageRequest instantiates a new TfaCreateMessageRequest 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 NewTfaCreateMessageRequestWithDefaults

func NewTfaCreateMessageRequestWithDefaults() *TfaCreateMessageRequest

NewTfaCreateMessageRequestWithDefaults instantiates a new TfaCreateMessageRequest 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 (*TfaCreateMessageRequest) GetLanguage

func (o *TfaCreateMessageRequest) GetLanguage() TfaLanguage

GetLanguage returns the Language field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetLanguageOk

func (o *TfaCreateMessageRequest) GetLanguageOk() (*TfaLanguage, 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 (*TfaCreateMessageRequest) GetMessageText

func (o *TfaCreateMessageRequest) GetMessageText() string

GetMessageText returns the MessageText field value

func (*TfaCreateMessageRequest) GetMessageTextOk

func (o *TfaCreateMessageRequest) GetMessageTextOk() (*string, bool)

GetMessageTextOk returns a tuple with the MessageText field value and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetPinLength

func (o *TfaCreateMessageRequest) GetPinLength() int32

GetPinLength returns the PinLength field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetPinLengthOk

func (o *TfaCreateMessageRequest) GetPinLengthOk() (*int32, bool)

GetPinLengthOk returns a tuple with the PinLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetPinType

func (o *TfaCreateMessageRequest) GetPinType() TfaPinType

GetPinType returns the PinType field value

func (*TfaCreateMessageRequest) GetPinTypeOk

func (o *TfaCreateMessageRequest) GetPinTypeOk() (*TfaPinType, bool)

GetPinTypeOk returns a tuple with the PinType field value and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetRegional

GetRegional returns the Regional field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetRegionalOk

func (o *TfaCreateMessageRequest) GetRegionalOk() (*TfaRegionalOptions, bool)

GetRegionalOk returns a tuple with the Regional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetRepeatDTMF

func (o *TfaCreateMessageRequest) GetRepeatDTMF() string

GetRepeatDTMF returns the RepeatDTMF field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetRepeatDTMFOk

func (o *TfaCreateMessageRequest) GetRepeatDTMFOk() (*string, bool)

GetRepeatDTMFOk returns a tuple with the RepeatDTMF field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetSenderId

func (o *TfaCreateMessageRequest) GetSenderId() string

GetSenderId returns the SenderId field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetSenderIdOk

func (o *TfaCreateMessageRequest) GetSenderIdOk() (*string, bool)

GetSenderIdOk returns a tuple with the SenderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) GetSpeechRate

func (o *TfaCreateMessageRequest) GetSpeechRate() float64

GetSpeechRate returns the SpeechRate field value if set, zero value otherwise.

func (*TfaCreateMessageRequest) GetSpeechRateOk

func (o *TfaCreateMessageRequest) GetSpeechRateOk() (*float64, bool)

GetSpeechRateOk returns a tuple with the SpeechRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaCreateMessageRequest) HasLanguage

func (o *TfaCreateMessageRequest) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*TfaCreateMessageRequest) HasPinLength

func (o *TfaCreateMessageRequest) HasPinLength() bool

HasPinLength returns a boolean if a field has been set.

func (*TfaCreateMessageRequest) HasRegional

func (o *TfaCreateMessageRequest) HasRegional() bool

HasRegional returns a boolean if a field has been set.

func (*TfaCreateMessageRequest) HasRepeatDTMF

func (o *TfaCreateMessageRequest) HasRepeatDTMF() bool

HasRepeatDTMF returns a boolean if a field has been set.

func (*TfaCreateMessageRequest) HasSenderId

func (o *TfaCreateMessageRequest) HasSenderId() bool

HasSenderId returns a boolean if a field has been set.

func (*TfaCreateMessageRequest) HasSpeechRate

func (o *TfaCreateMessageRequest) HasSpeechRate() bool

HasSpeechRate returns a boolean if a field has been set.

func (TfaCreateMessageRequest) MarshalJSON

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

func (*TfaCreateMessageRequest) SetLanguage

func (o *TfaCreateMessageRequest) SetLanguage(v TfaLanguage)

SetLanguage gets a reference to the given TfaLanguage and assigns it to the Language field.

func (*TfaCreateMessageRequest) SetMessageText

func (o *TfaCreateMessageRequest) SetMessageText(v string)

SetMessageText sets field value

func (*TfaCreateMessageRequest) SetPinLength

func (o *TfaCreateMessageRequest) SetPinLength(v int32)

SetPinLength gets a reference to the given int32 and assigns it to the PinLength field.

func (*TfaCreateMessageRequest) SetPinType

func (o *TfaCreateMessageRequest) SetPinType(v TfaPinType)

SetPinType sets field value

func (*TfaCreateMessageRequest) SetRegional

func (o *TfaCreateMessageRequest) SetRegional(v TfaRegionalOptions)

SetRegional gets a reference to the given TfaRegionalOptions and assigns it to the Regional field.

func (*TfaCreateMessageRequest) SetRepeatDTMF

func (o *TfaCreateMessageRequest) SetRepeatDTMF(v string)

SetRepeatDTMF gets a reference to the given string and assigns it to the RepeatDTMF field.

func (*TfaCreateMessageRequest) SetSenderId

func (o *TfaCreateMessageRequest) SetSenderId(v string)

SetSenderId gets a reference to the given string and assigns it to the SenderId field.

func (*TfaCreateMessageRequest) SetSpeechRate

func (o *TfaCreateMessageRequest) SetSpeechRate(v float64)

SetSpeechRate gets a reference to the given float64 and assigns it to the SpeechRate field.

type TfaIndiaDltOptions

type TfaIndiaDltOptions struct {
	// Id of your registered DTL content template that matches this message's text.
	ContentTemplateId *string `json:"contentTemplateId,omitempty"`
	// Your assigned DTL principal entity id.
	PrincipalEntityId string `json:"principalEntityId"`
}

TfaIndiaDltOptions struct for TfaIndiaDltOptions

func NewTfaIndiaDltOptions

func NewTfaIndiaDltOptions(principalEntityId string) *TfaIndiaDltOptions

NewTfaIndiaDltOptions instantiates a new TfaIndiaDltOptions 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 NewTfaIndiaDltOptionsWithDefaults

func NewTfaIndiaDltOptionsWithDefaults() *TfaIndiaDltOptions

NewTfaIndiaDltOptionsWithDefaults instantiates a new TfaIndiaDltOptions 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 (*TfaIndiaDltOptions) GetContentTemplateId

func (o *TfaIndiaDltOptions) GetContentTemplateId() string

GetContentTemplateId returns the ContentTemplateId field value if set, zero value otherwise.

func (*TfaIndiaDltOptions) GetContentTemplateIdOk

func (o *TfaIndiaDltOptions) GetContentTemplateIdOk() (*string, bool)

GetContentTemplateIdOk returns a tuple with the ContentTemplateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaIndiaDltOptions) GetPrincipalEntityId

func (o *TfaIndiaDltOptions) GetPrincipalEntityId() string

GetPrincipalEntityId returns the PrincipalEntityId field value

func (*TfaIndiaDltOptions) GetPrincipalEntityIdOk

func (o *TfaIndiaDltOptions) GetPrincipalEntityIdOk() (*string, bool)

GetPrincipalEntityIdOk returns a tuple with the PrincipalEntityId field value and a boolean to check if the value has been set.

func (*TfaIndiaDltOptions) HasContentTemplateId

func (o *TfaIndiaDltOptions) HasContentTemplateId() bool

HasContentTemplateId returns a boolean if a field has been set.

func (TfaIndiaDltOptions) MarshalJSON

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

func (*TfaIndiaDltOptions) SetContentTemplateId

func (o *TfaIndiaDltOptions) SetContentTemplateId(v string)

SetContentTemplateId gets a reference to the given string and assigns it to the ContentTemplateId field.

func (*TfaIndiaDltOptions) SetPrincipalEntityId

func (o *TfaIndiaDltOptions) SetPrincipalEntityId(v string)

SetPrincipalEntityId sets field value

type TfaLanguage

type TfaLanguage string

TfaLanguage the model 'TfaLanguage'

const (
	TFALANGUAGE_EN    TfaLanguage = "en"
	TFALANGUAGE_ES    TfaLanguage = "es"
	TFALANGUAGE_CA    TfaLanguage = "ca"
	TFALANGUAGE_DA    TfaLanguage = "da"
	TFALANGUAGE_NL    TfaLanguage = "nl"
	TFALANGUAGE_FR    TfaLanguage = "fr"
	TFALANGUAGE_DE    TfaLanguage = "de"
	TFALANGUAGE_IT    TfaLanguage = "it"
	TFALANGUAGE_JA    TfaLanguage = "ja"
	TFALANGUAGE_KO    TfaLanguage = "ko"
	TFALANGUAGE_NO    TfaLanguage = "no"
	TFALANGUAGE_PL    TfaLanguage = "pl"
	TFALANGUAGE_RU    TfaLanguage = "ru"
	TFALANGUAGE_SV    TfaLanguage = "sv"
	TFALANGUAGE_FI    TfaLanguage = "fi"
	TFALANGUAGE_PT_PT TfaLanguage = "pt-pt"
	TFALANGUAGE_PT_BR TfaLanguage = "pt-br"
	TFALANGUAGE_ZH_CN TfaLanguage = "zh-cn"
	TFALANGUAGE_ZH_TW TfaLanguage = "zh-tw"
)

List of TfaLanguage

func (TfaLanguage) Ptr

func (v TfaLanguage) Ptr() *TfaLanguage

Ptr returns reference to TfaLanguage value

func (*TfaLanguage) UnmarshalJSON

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

type TfaMessage

type TfaMessage struct {
	// 2FA application ID for which the requested message is created.
	ApplicationId *string `json:"applicationId,omitempty"`
	// Language code of language in which message text is written. It is used for reading the message when it is sent via voice. If no language is set, message will be read in `English`.
	Language *TfaLanguage `json:"language,omitempty"`
	// Message template ID.
	MessageId *string `json:"messageId,omitempty"`
	// Text of a message that will be sent. Message text must contain `pinPlaceholder`.
	MessageText *string `json:"messageText,omitempty"`
	// PIN code length.
	PinLength *int32 `json:"pinLength,omitempty"`
	// PIN code placeholder that will be replaced with generated PIN code.
	PinPlaceholder *string `json:"pinPlaceholder,omitempty"`
	// Type of PIN code that will be generated and sent as part of 2FA message. You can set PIN type to numeric, alpha, alphanumeric or hex.
	PinType *TfaPinType `json:"pinType,omitempty"`
	// Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
	Regional *TfaRegionalOptions `json:"regional,omitempty"`
	// In case PIN message is sent by Voice, DTMF code will enable replaying the message.
	RepeatDTMF *string `json:"repeatDTMF,omitempty"`
	// The name that will appear as the sender of the 2FA message (Example: CompanyName).
	SenderId *string `json:"senderId,omitempty"`
	// In case PIN message is sent by Voice, the speed of speech can be set for the message. Supported range is from `0.5` to `2`.
	SpeechRate *float64 `json:"speechRate,omitempty"`
}

TfaMessage struct for TfaMessage

func NewTfaMessage

func NewTfaMessage() *TfaMessage

NewTfaMessage instantiates a new TfaMessage 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 NewTfaMessageWithDefaults

func NewTfaMessageWithDefaults() *TfaMessage

NewTfaMessageWithDefaults instantiates a new TfaMessage 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 (*TfaMessage) GetApplicationId

func (o *TfaMessage) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*TfaMessage) GetApplicationIdOk

func (o *TfaMessage) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetLanguage

func (o *TfaMessage) GetLanguage() TfaLanguage

GetLanguage returns the Language field value if set, zero value otherwise.

func (*TfaMessage) GetLanguageOk

func (o *TfaMessage) GetLanguageOk() (*TfaLanguage, 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 (*TfaMessage) GetMessageId

func (o *TfaMessage) GetMessageId() string

GetMessageId returns the MessageId field value if set, zero value otherwise.

func (*TfaMessage) GetMessageIdOk

func (o *TfaMessage) 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 (*TfaMessage) GetMessageText

func (o *TfaMessage) GetMessageText() string

GetMessageText returns the MessageText field value if set, zero value otherwise.

func (*TfaMessage) GetMessageTextOk

func (o *TfaMessage) GetMessageTextOk() (*string, bool)

GetMessageTextOk returns a tuple with the MessageText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetPinLength

func (o *TfaMessage) GetPinLength() int32

GetPinLength returns the PinLength field value if set, zero value otherwise.

func (*TfaMessage) GetPinLengthOk

func (o *TfaMessage) GetPinLengthOk() (*int32, bool)

GetPinLengthOk returns a tuple with the PinLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetPinPlaceholder

func (o *TfaMessage) GetPinPlaceholder() string

GetPinPlaceholder returns the PinPlaceholder field value if set, zero value otherwise.

func (*TfaMessage) GetPinPlaceholderOk

func (o *TfaMessage) GetPinPlaceholderOk() (*string, bool)

GetPinPlaceholderOk returns a tuple with the PinPlaceholder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetPinType

func (o *TfaMessage) GetPinType() TfaPinType

GetPinType returns the PinType field value if set, zero value otherwise.

func (*TfaMessage) GetPinTypeOk

func (o *TfaMessage) GetPinTypeOk() (*TfaPinType, bool)

GetPinTypeOk returns a tuple with the PinType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetRegional

func (o *TfaMessage) GetRegional() TfaRegionalOptions

GetRegional returns the Regional field value if set, zero value otherwise.

func (*TfaMessage) GetRegionalOk

func (o *TfaMessage) GetRegionalOk() (*TfaRegionalOptions, bool)

GetRegionalOk returns a tuple with the Regional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetRepeatDTMF

func (o *TfaMessage) GetRepeatDTMF() string

GetRepeatDTMF returns the RepeatDTMF field value if set, zero value otherwise.

func (*TfaMessage) GetRepeatDTMFOk

func (o *TfaMessage) GetRepeatDTMFOk() (*string, bool)

GetRepeatDTMFOk returns a tuple with the RepeatDTMF field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetSenderId

func (o *TfaMessage) GetSenderId() string

GetSenderId returns the SenderId field value if set, zero value otherwise.

func (*TfaMessage) GetSenderIdOk

func (o *TfaMessage) GetSenderIdOk() (*string, bool)

GetSenderIdOk returns a tuple with the SenderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) GetSpeechRate

func (o *TfaMessage) GetSpeechRate() float64

GetSpeechRate returns the SpeechRate field value if set, zero value otherwise.

func (*TfaMessage) GetSpeechRateOk

func (o *TfaMessage) GetSpeechRateOk() (*float64, bool)

GetSpeechRateOk returns a tuple with the SpeechRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaMessage) HasApplicationId

func (o *TfaMessage) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*TfaMessage) HasLanguage

func (o *TfaMessage) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*TfaMessage) HasMessageId

func (o *TfaMessage) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*TfaMessage) HasMessageText

func (o *TfaMessage) HasMessageText() bool

HasMessageText returns a boolean if a field has been set.

func (*TfaMessage) HasPinLength

func (o *TfaMessage) HasPinLength() bool

HasPinLength returns a boolean if a field has been set.

func (*TfaMessage) HasPinPlaceholder

func (o *TfaMessage) HasPinPlaceholder() bool

HasPinPlaceholder returns a boolean if a field has been set.

func (*TfaMessage) HasPinType

func (o *TfaMessage) HasPinType() bool

HasPinType returns a boolean if a field has been set.

func (*TfaMessage) HasRegional

func (o *TfaMessage) HasRegional() bool

HasRegional returns a boolean if a field has been set.

func (*TfaMessage) HasRepeatDTMF

func (o *TfaMessage) HasRepeatDTMF() bool

HasRepeatDTMF returns a boolean if a field has been set.

func (*TfaMessage) HasSenderId

func (o *TfaMessage) HasSenderId() bool

HasSenderId returns a boolean if a field has been set.

func (*TfaMessage) HasSpeechRate

func (o *TfaMessage) HasSpeechRate() bool

HasSpeechRate returns a boolean if a field has been set.

func (TfaMessage) MarshalJSON

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

func (*TfaMessage) SetApplicationId

func (o *TfaMessage) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*TfaMessage) SetLanguage

func (o *TfaMessage) SetLanguage(v TfaLanguage)

SetLanguage gets a reference to the given TfaLanguage and assigns it to the Language field.

func (*TfaMessage) SetMessageId

func (o *TfaMessage) SetMessageId(v string)

SetMessageId gets a reference to the given string and assigns it to the MessageId field.

func (*TfaMessage) SetMessageText

func (o *TfaMessage) SetMessageText(v string)

SetMessageText gets a reference to the given string and assigns it to the MessageText field.

func (*TfaMessage) SetPinLength

func (o *TfaMessage) SetPinLength(v int32)

SetPinLength gets a reference to the given int32 and assigns it to the PinLength field.

func (*TfaMessage) SetPinPlaceholder

func (o *TfaMessage) SetPinPlaceholder(v string)

SetPinPlaceholder gets a reference to the given string and assigns it to the PinPlaceholder field.

func (*TfaMessage) SetPinType

func (o *TfaMessage) SetPinType(v TfaPinType)

SetPinType gets a reference to the given TfaPinType and assigns it to the PinType field.

func (*TfaMessage) SetRegional

func (o *TfaMessage) SetRegional(v TfaRegionalOptions)

SetRegional gets a reference to the given TfaRegionalOptions and assigns it to the Regional field.

func (*TfaMessage) SetRepeatDTMF

func (o *TfaMessage) SetRepeatDTMF(v string)

SetRepeatDTMF gets a reference to the given string and assigns it to the RepeatDTMF field.

func (*TfaMessage) SetSenderId

func (o *TfaMessage) SetSenderId(v string)

SetSenderId gets a reference to the given string and assigns it to the SenderId field.

func (*TfaMessage) SetSpeechRate

func (o *TfaMessage) SetSpeechRate(v float64)

SetSpeechRate gets a reference to the given float64 and assigns it to the SpeechRate field.

type TfaPinType

type TfaPinType string

TfaPinType the model 'TfaPinType'

const (
	TFAPINTYPE_NUMERIC      TfaPinType = "NUMERIC"
	TFAPINTYPE_ALPHA        TfaPinType = "ALPHA"
	TFAPINTYPE_HEX          TfaPinType = "HEX"
	TFAPINTYPE_ALPHANUMERIC TfaPinType = "ALPHANUMERIC"
)

List of TfaPinType

func (TfaPinType) Ptr

func (v TfaPinType) Ptr() *TfaPinType

Ptr returns reference to TfaPinType value

func (*TfaPinType) UnmarshalJSON

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

type TfaRegionalOptions

type TfaRegionalOptions struct {
	// Distributed Ledger Technology (DLT) specific parameters required for sending SMS to phone numbers registered in India.
	IndiaDlt *TfaIndiaDltOptions `json:"indiaDlt,omitempty"`
}

TfaRegionalOptions struct for TfaRegionalOptions

func NewTfaRegionalOptions

func NewTfaRegionalOptions() *TfaRegionalOptions

NewTfaRegionalOptions instantiates a new TfaRegionalOptions 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 NewTfaRegionalOptionsWithDefaults

func NewTfaRegionalOptionsWithDefaults() *TfaRegionalOptions

NewTfaRegionalOptionsWithDefaults instantiates a new TfaRegionalOptions 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 (*TfaRegionalOptions) GetIndiaDlt

func (o *TfaRegionalOptions) GetIndiaDlt() TfaIndiaDltOptions

GetIndiaDlt returns the IndiaDlt field value if set, zero value otherwise.

func (*TfaRegionalOptions) GetIndiaDltOk

func (o *TfaRegionalOptions) GetIndiaDltOk() (*TfaIndiaDltOptions, bool)

GetIndiaDltOk returns a tuple with the IndiaDlt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaRegionalOptions) HasIndiaDlt

func (o *TfaRegionalOptions) HasIndiaDlt() bool

HasIndiaDlt returns a boolean if a field has been set.

func (TfaRegionalOptions) MarshalJSON

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

func (*TfaRegionalOptions) SetIndiaDlt

func (o *TfaRegionalOptions) SetIndiaDlt(v TfaIndiaDltOptions)

SetIndiaDlt gets a reference to the given TfaIndiaDltOptions and assigns it to the IndiaDlt field.

type TfaResendPinRequest

type TfaResendPinRequest struct {
	// Key value pairs that will be replaced during message sending. Placeholder keys should NOT contain curly brackets and should NOT contain a `pin` placeholder. Valid example: `\"placeholders\":{\"firstName\":\"John\"}`
	Placeholders *map[string]string `json:"placeholders,omitempty"`
}

TfaResendPinRequest struct for TfaResendPinRequest

func NewTfaResendPinRequest

func NewTfaResendPinRequest() *TfaResendPinRequest

NewTfaResendPinRequest instantiates a new TfaResendPinRequest 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 NewTfaResendPinRequestWithDefaults

func NewTfaResendPinRequestWithDefaults() *TfaResendPinRequest

NewTfaResendPinRequestWithDefaults instantiates a new TfaResendPinRequest 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 (*TfaResendPinRequest) GetPlaceholders

func (o *TfaResendPinRequest) GetPlaceholders() map[string]string

GetPlaceholders returns the Placeholders field value if set, zero value otherwise.

func (*TfaResendPinRequest) GetPlaceholdersOk

func (o *TfaResendPinRequest) GetPlaceholdersOk() (*map[string]string, bool)

GetPlaceholdersOk returns a tuple with the Placeholders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaResendPinRequest) HasPlaceholders

func (o *TfaResendPinRequest) HasPlaceholders() bool

HasPlaceholders returns a boolean if a field has been set.

func (TfaResendPinRequest) MarshalJSON

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

func (*TfaResendPinRequest) SetPlaceholders

func (o *TfaResendPinRequest) SetPlaceholders(v map[string]string)

SetPlaceholders gets a reference to the given map[string]string and assigns it to the Placeholders field.

type TfaStartAuthenticationRequest

type TfaStartAuthenticationRequest struct {
	// 2FA application ID.
	ApplicationId string `json:"applicationId"`
	// Use this parameter if you wish to override the sender ID from the [created](#channels/sms/create-2fa-message-template) message template parameter `senderId`.
	From *string `json:"from,omitempty"`
	// Message template ID that will be sent to phone number.
	MessageId string `json:"messageId"`
	// Key value pairs that will be replaced during message sending. Placeholder keys should NOT contain curly brackets and should NOT contain a `pin` placeholder. Valid example: `\"placeholders\":{\"firstName\":\"John\"}`
	Placeholders *map[string]string `json:"placeholders,omitempty"`
	// Phone number to which the 2FA message will be sent. Example: 41793026727.
	To string `json:"to"`
}

TfaStartAuthenticationRequest struct for TfaStartAuthenticationRequest

func NewTfaStartAuthenticationRequest

func NewTfaStartAuthenticationRequest(applicationId string, messageId string, to string) *TfaStartAuthenticationRequest

NewTfaStartAuthenticationRequest instantiates a new TfaStartAuthenticationRequest 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 NewTfaStartAuthenticationRequestWithDefaults

func NewTfaStartAuthenticationRequestWithDefaults() *TfaStartAuthenticationRequest

NewTfaStartAuthenticationRequestWithDefaults instantiates a new TfaStartAuthenticationRequest 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 (*TfaStartAuthenticationRequest) GetApplicationId

func (o *TfaStartAuthenticationRequest) GetApplicationId() string

GetApplicationId returns the ApplicationId field value

func (*TfaStartAuthenticationRequest) GetApplicationIdOk

func (o *TfaStartAuthenticationRequest) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value and a boolean to check if the value has been set.

func (*TfaStartAuthenticationRequest) GetFrom

GetFrom returns the From field value if set, zero value otherwise.

func (*TfaStartAuthenticationRequest) GetFromOk

func (o *TfaStartAuthenticationRequest) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationRequest) GetMessageId

func (o *TfaStartAuthenticationRequest) GetMessageId() string

GetMessageId returns the MessageId field value

func (*TfaStartAuthenticationRequest) GetMessageIdOk

func (o *TfaStartAuthenticationRequest) GetMessageIdOk() (*string, bool)

GetMessageIdOk returns a tuple with the MessageId field value and a boolean to check if the value has been set.

func (*TfaStartAuthenticationRequest) GetPlaceholders

func (o *TfaStartAuthenticationRequest) GetPlaceholders() map[string]string

GetPlaceholders returns the Placeholders field value if set, zero value otherwise.

func (*TfaStartAuthenticationRequest) GetPlaceholdersOk

func (o *TfaStartAuthenticationRequest) GetPlaceholdersOk() (*map[string]string, bool)

GetPlaceholdersOk returns a tuple with the Placeholders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationRequest) GetTo

GetTo returns the To field value

func (*TfaStartAuthenticationRequest) GetToOk

func (o *TfaStartAuthenticationRequest) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*TfaStartAuthenticationRequest) HasFrom

func (o *TfaStartAuthenticationRequest) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*TfaStartAuthenticationRequest) HasPlaceholders

func (o *TfaStartAuthenticationRequest) HasPlaceholders() bool

HasPlaceholders returns a boolean if a field has been set.

func (TfaStartAuthenticationRequest) MarshalJSON

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

func (*TfaStartAuthenticationRequest) SetApplicationId

func (o *TfaStartAuthenticationRequest) SetApplicationId(v string)

SetApplicationId sets field value

func (*TfaStartAuthenticationRequest) SetFrom

func (o *TfaStartAuthenticationRequest) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*TfaStartAuthenticationRequest) SetMessageId

func (o *TfaStartAuthenticationRequest) SetMessageId(v string)

SetMessageId sets field value

func (*TfaStartAuthenticationRequest) SetPlaceholders

func (o *TfaStartAuthenticationRequest) SetPlaceholders(v map[string]string)

SetPlaceholders gets a reference to the given map[string]string and assigns it to the Placeholders field.

func (*TfaStartAuthenticationRequest) SetTo

SetTo sets field value

type TfaStartAuthenticationResponse

type TfaStartAuthenticationResponse struct {
	// Call status.
	CallStatus *string `json:"callStatus,omitempty"`
	// Status of sent Number Lookup. Number Lookup status can have one of the following values: `NC_DESTINATION_UNKNOWN`, `NC_DESTINATION_REACHABLE`, `NC_DESTINATION_NOT_REACHABLE`, `NC_NOT_CONFIGURED`. If you get the `NC_NOT_CONFIGURED` status, you should contact your Account Manager. SMS will not be sent only if Number Lookup status is `NC_NOT_REACHABLE`.
	NcStatus *string `json:"ncStatus,omitempty"`
	// Sent PIN code ID.
	PinId *string `json:"pinId,omitempty"`
	// Sent SMS status. Can have one of the following values: `MESSAGE_SENT`, `MESSAGE_NOT_SENT`.
	SmsStatus *string `json:"smsStatus,omitempty"`
	// Phone number to which the 2FA message will be sent. Example: `41793026727`.
	To *string `json:"to,omitempty"`
}

TfaStartAuthenticationResponse struct for TfaStartAuthenticationResponse

func NewTfaStartAuthenticationResponse

func NewTfaStartAuthenticationResponse() *TfaStartAuthenticationResponse

NewTfaStartAuthenticationResponse instantiates a new TfaStartAuthenticationResponse 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 NewTfaStartAuthenticationResponseWithDefaults

func NewTfaStartAuthenticationResponseWithDefaults() *TfaStartAuthenticationResponse

NewTfaStartAuthenticationResponseWithDefaults instantiates a new TfaStartAuthenticationResponse 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 (*TfaStartAuthenticationResponse) GetCallStatus

func (o *TfaStartAuthenticationResponse) GetCallStatus() string

GetCallStatus returns the CallStatus field value if set, zero value otherwise.

func (*TfaStartAuthenticationResponse) GetCallStatusOk

func (o *TfaStartAuthenticationResponse) GetCallStatusOk() (*string, bool)

GetCallStatusOk returns a tuple with the CallStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationResponse) GetNcStatus

func (o *TfaStartAuthenticationResponse) GetNcStatus() string

GetNcStatus returns the NcStatus field value if set, zero value otherwise.

func (*TfaStartAuthenticationResponse) GetNcStatusOk

func (o *TfaStartAuthenticationResponse) GetNcStatusOk() (*string, bool)

GetNcStatusOk returns a tuple with the NcStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationResponse) GetPinId

func (o *TfaStartAuthenticationResponse) GetPinId() string

GetPinId returns the PinId field value if set, zero value otherwise.

func (*TfaStartAuthenticationResponse) GetPinIdOk

func (o *TfaStartAuthenticationResponse) GetPinIdOk() (*string, bool)

GetPinIdOk returns a tuple with the PinId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationResponse) GetSmsStatus

func (o *TfaStartAuthenticationResponse) GetSmsStatus() string

GetSmsStatus returns the SmsStatus field value if set, zero value otherwise.

func (*TfaStartAuthenticationResponse) GetSmsStatusOk

func (o *TfaStartAuthenticationResponse) GetSmsStatusOk() (*string, bool)

GetSmsStatusOk returns a tuple with the SmsStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationResponse) GetTo

GetTo returns the To field value if set, zero value otherwise.

func (*TfaStartAuthenticationResponse) GetToOk

func (o *TfaStartAuthenticationResponse) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaStartAuthenticationResponse) HasCallStatus

func (o *TfaStartAuthenticationResponse) HasCallStatus() bool

HasCallStatus returns a boolean if a field has been set.

func (*TfaStartAuthenticationResponse) HasNcStatus

func (o *TfaStartAuthenticationResponse) HasNcStatus() bool

HasNcStatus returns a boolean if a field has been set.

func (*TfaStartAuthenticationResponse) HasPinId

func (o *TfaStartAuthenticationResponse) HasPinId() bool

HasPinId returns a boolean if a field has been set.

func (*TfaStartAuthenticationResponse) HasSmsStatus

func (o *TfaStartAuthenticationResponse) HasSmsStatus() bool

HasSmsStatus returns a boolean if a field has been set.

func (*TfaStartAuthenticationResponse) HasTo

HasTo returns a boolean if a field has been set.

func (TfaStartAuthenticationResponse) MarshalJSON

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

func (*TfaStartAuthenticationResponse) SetCallStatus

func (o *TfaStartAuthenticationResponse) SetCallStatus(v string)

SetCallStatus gets a reference to the given string and assigns it to the CallStatus field.

func (*TfaStartAuthenticationResponse) SetNcStatus

func (o *TfaStartAuthenticationResponse) SetNcStatus(v string)

SetNcStatus gets a reference to the given string and assigns it to the NcStatus field.

func (*TfaStartAuthenticationResponse) SetPinId

func (o *TfaStartAuthenticationResponse) SetPinId(v string)

SetPinId gets a reference to the given string and assigns it to the PinId field.

func (*TfaStartAuthenticationResponse) SetSmsStatus

func (o *TfaStartAuthenticationResponse) SetSmsStatus(v string)

SetSmsStatus gets a reference to the given string and assigns it to the SmsStatus field.

func (*TfaStartAuthenticationResponse) SetTo

SetTo gets a reference to the given string and assigns it to the To field.

type TfaUpdateMessageRequest

type TfaUpdateMessageRequest struct {
	// Language code of language in which message text is written. It is used for reading the message when it is sent via voice. If no language is set, message will be read in `English`.
	Language *TfaLanguage `json:"language,omitempty"`
	// Text of a message that will be sent. Message text must contain `pinPlaceholder`.
	MessageText *string `json:"messageText,omitempty"`
	// PIN code length.
	PinLength *int32 `json:"pinLength,omitempty"`
	// Type of PIN code that will be generated and sent as part of 2FA message. You can set PIN type to numeric, alpha, alphanumeric or hex.
	PinType *TfaPinType `json:"pinType,omitempty"`
	// Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
	Regional *TfaRegionalOptions `json:"regional,omitempty"`
	// In case PIN message is sent by Voice, DTMF code will enable replaying the message.
	RepeatDTMF *string `json:"repeatDTMF,omitempty"`
	// The name that will appear as the sender of the 2FA message (Example: CompanyName).
	SenderId *string `json:"senderId,omitempty"`
	// In case PIN message is sent by Voice, the speed of speech can be set for the message. Supported range is from `0.5` to `2`.
	SpeechRate *float64 `json:"speechRate,omitempty"`
}

TfaUpdateMessageRequest struct for TfaUpdateMessageRequest

func NewTfaUpdateMessageRequest

func NewTfaUpdateMessageRequest() *TfaUpdateMessageRequest

NewTfaUpdateMessageRequest instantiates a new TfaUpdateMessageRequest 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 NewTfaUpdateMessageRequestWithDefaults

func NewTfaUpdateMessageRequestWithDefaults() *TfaUpdateMessageRequest

NewTfaUpdateMessageRequestWithDefaults instantiates a new TfaUpdateMessageRequest 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 (*TfaUpdateMessageRequest) GetLanguage

func (o *TfaUpdateMessageRequest) GetLanguage() TfaLanguage

GetLanguage returns the Language field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetLanguageOk

func (o *TfaUpdateMessageRequest) GetLanguageOk() (*TfaLanguage, 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 (*TfaUpdateMessageRequest) GetMessageText

func (o *TfaUpdateMessageRequest) GetMessageText() string

GetMessageText returns the MessageText field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetMessageTextOk

func (o *TfaUpdateMessageRequest) GetMessageTextOk() (*string, bool)

GetMessageTextOk returns a tuple with the MessageText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetPinLength

func (o *TfaUpdateMessageRequest) GetPinLength() int32

GetPinLength returns the PinLength field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetPinLengthOk

func (o *TfaUpdateMessageRequest) GetPinLengthOk() (*int32, bool)

GetPinLengthOk returns a tuple with the PinLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetPinType

func (o *TfaUpdateMessageRequest) GetPinType() TfaPinType

GetPinType returns the PinType field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetPinTypeOk

func (o *TfaUpdateMessageRequest) GetPinTypeOk() (*TfaPinType, bool)

GetPinTypeOk returns a tuple with the PinType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetRegional

GetRegional returns the Regional field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetRegionalOk

func (o *TfaUpdateMessageRequest) GetRegionalOk() (*TfaRegionalOptions, bool)

GetRegionalOk returns a tuple with the Regional field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetRepeatDTMF

func (o *TfaUpdateMessageRequest) GetRepeatDTMF() string

GetRepeatDTMF returns the RepeatDTMF field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetRepeatDTMFOk

func (o *TfaUpdateMessageRequest) GetRepeatDTMFOk() (*string, bool)

GetRepeatDTMFOk returns a tuple with the RepeatDTMF field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetSenderId

func (o *TfaUpdateMessageRequest) GetSenderId() string

GetSenderId returns the SenderId field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetSenderIdOk

func (o *TfaUpdateMessageRequest) GetSenderIdOk() (*string, bool)

GetSenderIdOk returns a tuple with the SenderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) GetSpeechRate

func (o *TfaUpdateMessageRequest) GetSpeechRate() float64

GetSpeechRate returns the SpeechRate field value if set, zero value otherwise.

func (*TfaUpdateMessageRequest) GetSpeechRateOk

func (o *TfaUpdateMessageRequest) GetSpeechRateOk() (*float64, bool)

GetSpeechRateOk returns a tuple with the SpeechRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaUpdateMessageRequest) HasLanguage

func (o *TfaUpdateMessageRequest) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasMessageText

func (o *TfaUpdateMessageRequest) HasMessageText() bool

HasMessageText returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasPinLength

func (o *TfaUpdateMessageRequest) HasPinLength() bool

HasPinLength returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasPinType

func (o *TfaUpdateMessageRequest) HasPinType() bool

HasPinType returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasRegional

func (o *TfaUpdateMessageRequest) HasRegional() bool

HasRegional returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasRepeatDTMF

func (o *TfaUpdateMessageRequest) HasRepeatDTMF() bool

HasRepeatDTMF returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasSenderId

func (o *TfaUpdateMessageRequest) HasSenderId() bool

HasSenderId returns a boolean if a field has been set.

func (*TfaUpdateMessageRequest) HasSpeechRate

func (o *TfaUpdateMessageRequest) HasSpeechRate() bool

HasSpeechRate returns a boolean if a field has been set.

func (TfaUpdateMessageRequest) MarshalJSON

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

func (*TfaUpdateMessageRequest) SetLanguage

func (o *TfaUpdateMessageRequest) SetLanguage(v TfaLanguage)

SetLanguage gets a reference to the given TfaLanguage and assigns it to the Language field.

func (*TfaUpdateMessageRequest) SetMessageText

func (o *TfaUpdateMessageRequest) SetMessageText(v string)

SetMessageText gets a reference to the given string and assigns it to the MessageText field.

func (*TfaUpdateMessageRequest) SetPinLength

func (o *TfaUpdateMessageRequest) SetPinLength(v int32)

SetPinLength gets a reference to the given int32 and assigns it to the PinLength field.

func (*TfaUpdateMessageRequest) SetPinType

func (o *TfaUpdateMessageRequest) SetPinType(v TfaPinType)

SetPinType gets a reference to the given TfaPinType and assigns it to the PinType field.

func (*TfaUpdateMessageRequest) SetRegional

func (o *TfaUpdateMessageRequest) SetRegional(v TfaRegionalOptions)

SetRegional gets a reference to the given TfaRegionalOptions and assigns it to the Regional field.

func (*TfaUpdateMessageRequest) SetRepeatDTMF

func (o *TfaUpdateMessageRequest) SetRepeatDTMF(v string)

SetRepeatDTMF gets a reference to the given string and assigns it to the RepeatDTMF field.

func (*TfaUpdateMessageRequest) SetSenderId

func (o *TfaUpdateMessageRequest) SetSenderId(v string)

SetSenderId gets a reference to the given string and assigns it to the SenderId field.

func (*TfaUpdateMessageRequest) SetSpeechRate

func (o *TfaUpdateMessageRequest) SetSpeechRate(v float64)

SetSpeechRate gets a reference to the given float64 and assigns it to the SpeechRate field.

type TfaVerification

type TfaVerification struct {
	// Phone number (MSISDN) for which verification status is checked.
	Msisdn *string `json:"msisdn,omitempty"`
	// Sent UNIX timestamp (in millis), if the phone number (MSISDN) is verified.
	SentAt *int64 `json:"sentAt,omitempty"`
	// Indicates if the phone number (MSISDN) is already verified for 2FA application with given ID.
	Verified *bool `json:"verified,omitempty"`
	// Verification UNIX timestamp (in millis), if the phone number (MSISDN) is verified.
	VerifiedAt *int64 `json:"verifiedAt,omitempty"`
}

TfaVerification struct for TfaVerification

func NewTfaVerification

func NewTfaVerification() *TfaVerification

NewTfaVerification instantiates a new TfaVerification 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 NewTfaVerificationWithDefaults

func NewTfaVerificationWithDefaults() *TfaVerification

NewTfaVerificationWithDefaults instantiates a new TfaVerification 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 (*TfaVerification) GetMsisdn

func (o *TfaVerification) GetMsisdn() string

GetMsisdn returns the Msisdn field value if set, zero value otherwise.

func (*TfaVerification) GetMsisdnOk

func (o *TfaVerification) GetMsisdnOk() (*string, bool)

GetMsisdnOk returns a tuple with the Msisdn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerification) GetSentAt

func (o *TfaVerification) GetSentAt() int64

GetSentAt returns the SentAt field value if set, zero value otherwise.

func (*TfaVerification) GetSentAtOk

func (o *TfaVerification) GetSentAtOk() (*int64, bool)

GetSentAtOk returns a tuple with the SentAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerification) GetVerified

func (o *TfaVerification) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*TfaVerification) GetVerifiedAt

func (o *TfaVerification) GetVerifiedAt() int64

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*TfaVerification) GetVerifiedAtOk

func (o *TfaVerification) GetVerifiedAtOk() (*int64, bool)

GetVerifiedAtOk returns a tuple with the VerifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerification) GetVerifiedOk

func (o *TfaVerification) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerification) HasMsisdn

func (o *TfaVerification) HasMsisdn() bool

HasMsisdn returns a boolean if a field has been set.

func (*TfaVerification) HasSentAt

func (o *TfaVerification) HasSentAt() bool

HasSentAt returns a boolean if a field has been set.

func (*TfaVerification) HasVerified

func (o *TfaVerification) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (*TfaVerification) HasVerifiedAt

func (o *TfaVerification) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (TfaVerification) MarshalJSON

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

func (*TfaVerification) SetMsisdn

func (o *TfaVerification) SetMsisdn(v string)

SetMsisdn gets a reference to the given string and assigns it to the Msisdn field.

func (*TfaVerification) SetSentAt

func (o *TfaVerification) SetSentAt(v int64)

SetSentAt gets a reference to the given int64 and assigns it to the SentAt field.

func (*TfaVerification) SetVerified

func (o *TfaVerification) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (*TfaVerification) SetVerifiedAt

func (o *TfaVerification) SetVerifiedAt(v int64)

SetVerifiedAt gets a reference to the given int64 and assigns it to the VerifiedAt field.

type TfaVerificationResponse

type TfaVerificationResponse struct {
	// Collection of verifications
	Verifications *[]TfaVerification `json:"verifications,omitempty"`
}

TfaVerificationResponse struct for TfaVerificationResponse

func NewTfaVerificationResponse

func NewTfaVerificationResponse() *TfaVerificationResponse

NewTfaVerificationResponse instantiates a new TfaVerificationResponse 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 NewTfaVerificationResponseWithDefaults

func NewTfaVerificationResponseWithDefaults() *TfaVerificationResponse

NewTfaVerificationResponseWithDefaults instantiates a new TfaVerificationResponse 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 (*TfaVerificationResponse) GetVerifications

func (o *TfaVerificationResponse) GetVerifications() []TfaVerification

GetVerifications returns the Verifications field value if set, zero value otherwise.

func (*TfaVerificationResponse) GetVerificationsOk

func (o *TfaVerificationResponse) GetVerificationsOk() (*[]TfaVerification, bool)

GetVerificationsOk returns a tuple with the Verifications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerificationResponse) HasVerifications

func (o *TfaVerificationResponse) HasVerifications() bool

HasVerifications returns a boolean if a field has been set.

func (TfaVerificationResponse) MarshalJSON

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

func (*TfaVerificationResponse) SetVerifications

func (o *TfaVerificationResponse) SetVerifications(v []TfaVerification)

SetVerifications gets a reference to the given []TfaVerification and assigns it to the Verifications field.

type TfaVerifyPinRequest

type TfaVerifyPinRequest struct {
	// PIN code to verify
	Pin string `json:"pin"`
}

TfaVerifyPinRequest struct for TfaVerifyPinRequest

func NewTfaVerifyPinRequest

func NewTfaVerifyPinRequest(pin string) *TfaVerifyPinRequest

NewTfaVerifyPinRequest instantiates a new TfaVerifyPinRequest 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 NewTfaVerifyPinRequestWithDefaults

func NewTfaVerifyPinRequestWithDefaults() *TfaVerifyPinRequest

NewTfaVerifyPinRequestWithDefaults instantiates a new TfaVerifyPinRequest 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 (*TfaVerifyPinRequest) GetPin

func (o *TfaVerifyPinRequest) GetPin() string

GetPin returns the Pin field value

func (*TfaVerifyPinRequest) GetPinOk

func (o *TfaVerifyPinRequest) GetPinOk() (*string, bool)

GetPinOk returns a tuple with the Pin field value and a boolean to check if the value has been set.

func (TfaVerifyPinRequest) MarshalJSON

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

func (*TfaVerifyPinRequest) SetPin

func (o *TfaVerifyPinRequest) SetPin(v string)

SetPin sets field value

type TfaVerifyPinResponse

type TfaVerifyPinResponse struct {
	// Number of remaining PIN attempts.
	AttemptsRemaining *int32 `json:"attemptsRemaining,omitempty"`
	// Phone number (`MSISDN`) to which the 2FA message was sent.
	Msisdn *string `json:"msisdn,omitempty"`
	// Indicates if any error occurs during PIN verification.
	PinError *string `json:"pinError,omitempty"`
	// Sent PIN code ID.
	PinId *string `json:"pinId,omitempty"`
	// Indicates if the phone number (`MSISDN`) was successfully verified.
	Verified *bool `json:"verified,omitempty"`
}

TfaVerifyPinResponse struct for TfaVerifyPinResponse

func NewTfaVerifyPinResponse

func NewTfaVerifyPinResponse() *TfaVerifyPinResponse

NewTfaVerifyPinResponse instantiates a new TfaVerifyPinResponse 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 NewTfaVerifyPinResponseWithDefaults

func NewTfaVerifyPinResponseWithDefaults() *TfaVerifyPinResponse

NewTfaVerifyPinResponseWithDefaults instantiates a new TfaVerifyPinResponse 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 (*TfaVerifyPinResponse) GetAttemptsRemaining

func (o *TfaVerifyPinResponse) GetAttemptsRemaining() int32

GetAttemptsRemaining returns the AttemptsRemaining field value if set, zero value otherwise.

func (*TfaVerifyPinResponse) GetAttemptsRemainingOk

func (o *TfaVerifyPinResponse) GetAttemptsRemainingOk() (*int32, bool)

GetAttemptsRemainingOk returns a tuple with the AttemptsRemaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerifyPinResponse) GetMsisdn

func (o *TfaVerifyPinResponse) GetMsisdn() string

GetMsisdn returns the Msisdn field value if set, zero value otherwise.

func (*TfaVerifyPinResponse) GetMsisdnOk

func (o *TfaVerifyPinResponse) GetMsisdnOk() (*string, bool)

GetMsisdnOk returns a tuple with the Msisdn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerifyPinResponse) GetPinError

func (o *TfaVerifyPinResponse) GetPinError() string

GetPinError returns the PinError field value if set, zero value otherwise.

func (*TfaVerifyPinResponse) GetPinErrorOk

func (o *TfaVerifyPinResponse) GetPinErrorOk() (*string, bool)

GetPinErrorOk returns a tuple with the PinError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerifyPinResponse) GetPinId

func (o *TfaVerifyPinResponse) GetPinId() string

GetPinId returns the PinId field value if set, zero value otherwise.

func (*TfaVerifyPinResponse) GetPinIdOk

func (o *TfaVerifyPinResponse) GetPinIdOk() (*string, bool)

GetPinIdOk returns a tuple with the PinId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerifyPinResponse) GetVerified

func (o *TfaVerifyPinResponse) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*TfaVerifyPinResponse) GetVerifiedOk

func (o *TfaVerifyPinResponse) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TfaVerifyPinResponse) HasAttemptsRemaining

func (o *TfaVerifyPinResponse) HasAttemptsRemaining() bool

HasAttemptsRemaining returns a boolean if a field has been set.

func (*TfaVerifyPinResponse) HasMsisdn

func (o *TfaVerifyPinResponse) HasMsisdn() bool

HasMsisdn returns a boolean if a field has been set.

func (*TfaVerifyPinResponse) HasPinError

func (o *TfaVerifyPinResponse) HasPinError() bool

HasPinError returns a boolean if a field has been set.

func (*TfaVerifyPinResponse) HasPinId

func (o *TfaVerifyPinResponse) HasPinId() bool

HasPinId returns a boolean if a field has been set.

func (*TfaVerifyPinResponse) HasVerified

func (o *TfaVerifyPinResponse) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (TfaVerifyPinResponse) MarshalJSON

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

func (*TfaVerifyPinResponse) SetAttemptsRemaining

func (o *TfaVerifyPinResponse) SetAttemptsRemaining(v int32)

SetAttemptsRemaining gets a reference to the given int32 and assigns it to the AttemptsRemaining field.

func (*TfaVerifyPinResponse) SetMsisdn

func (o *TfaVerifyPinResponse) SetMsisdn(v string)

SetMsisdn gets a reference to the given string and assigns it to the Msisdn field.

func (*TfaVerifyPinResponse) SetPinError

func (o *TfaVerifyPinResponse) SetPinError(v string)

SetPinError gets a reference to the given string and assigns it to the PinError field.

func (*TfaVerifyPinResponse) SetPinId

func (o *TfaVerifyPinResponse) SetPinId(v string)

SetPinId gets a reference to the given string and assigns it to the PinId field.

func (*TfaVerifyPinResponse) SetVerified

func (o *TfaVerifyPinResponse) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

type Time

type Time struct {
	T time.Time
}

func TimeNow

func TimeNow() Time

func (Time) MarshalJSON

func (ibtime Time) MarshalJSON() ([]byte, error)

func (Time) String

func (ibtime Time) String() string

func (*Time) UnmarshalJSON

func (ibtime *Time) UnmarshalJSON(data []byte) error

Source Files

Jump to

Keyboard shortcuts

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