sendpost

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for sendpost Go Reference

Introduction

SendPost provides email API and SMTP relay which can be used not just to send & measure but also alert & optimised email sending.

You can use SendPost to:

  • Send personalised emails to multiple recipients using email API

  • Track opens and clicks

  • Analyse statistics around open, clicks, bounce, unsubscribe and spam

At and advanced level you can use it to:

  • Manage multiple sub-accounts which may map to your promotional or transactional sending, multiple product lines or multiple customers

  • Classify your emails using groups for better analysis

  • Analyse and fix email sending at sub-account level, IP Pool level or group level

  • Have automated alerts to notify disruptions regarding email sending

  • Manage different dedicated IP Pools so to better control your email sending

  • Automatically know when IP or domain is blacklisted or sender score is down

  • Leverage pro deliverability tools to get significantly better email deliverability & inboxing

<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">

Overview

REST API

SendPost API is built on REST API principles. Authenticated users can interact with any of the API endpoints to perform:

  • GET- to get a resource

  • POST - to create a resource

  • PUT - to update an existing resource

  • DELETE - to delete a resource

The API endpoint for all API calls is: https://api.sendpost.io/api/v1

Some conventions that have been followed in the API design overall are following:

  • All resources have either /api/v1/subaccount or /api/v1/account in their API call resource path based on who is authorised for the resource. All API calls with path /api/v1/subaccount use X-SubAccount-ApiKey in their request header. Likewise all API calls with path /api/v1/account use X-Account-ApiKey in their request header.

  • All resource endpoints end with singular name and not plural. So we have domain instead of domains for domain resource endpoint. Likewise we have sender instead of senders for sender resource endpoint.

  • Body submitted for POST / PUT API calls as well as JSON response from SendPost API follow camelcase convention

  • All timestamps returned in response (created or submittedAt response fields) are UNIX nano epoch timestamp.

SendPost uses conventional HTTP response codes to indicate the success or failure of an API request.

  • Codes in the 2xx range indicate success.

  • Codes in the 4xx range indicate an error owing due to unauthorize access, incorrect request parameters or body etc.

  • Code in the 5xx range indicate an eror with SendPost's servers ( internal service issue or maintenance )

Authentication

SendPost uses API keys for authentication. You can register a new SendPost API key at our developer portal.

SendPost expects the API key to be included in all API requests to the server in a header that looks like the following:

X-SubAccount-ApiKey: AHEZEP8192SEGH

This API key is used for all Sub-Account level operations such as:

  • Sending emails

  • Retrieving stats regarding open, click, bounce, unsubscribe and spam

  • Uploading suppressions list

  • Verifying sending domains and more

In addition to X-SubAccount-ApiKey you also have another API Key X-Account-APIKey which is used for Account level operations such as :

  • Creating and managing sub-accounts

  • Allocating IPs for your account

  • Getting overall billing and usage information

  • Email List validation

  • Creating and managing alerts and more

In case an incorrect API Key header is specified or if it is missed you will get HTTP Response 401 ( Unauthorized ) response from SendPost.

HTTP Response Headers

Code Reason Details
200 Success Everything went well
401 Unauthorized Incorrect or missing API header either X-SubAccount-ApiKey or X-Account-ApiKey
403 Forbidden Typically sent when resource with same name or details already exist
406 Missing resource id Resource id specified is either missing or doesn't exist
422 Unprocessable entity Request body is not in proper format
500 Internal server error Some error happened at SendPost while processing API request
503 Service Unavailable SendPost is offline for maintenance. Please try again later

API SDKs

We have native SendPost SDKs in the following programming languages. You can integrate with them or create your own SDK with our API specification. In case you need any assistance with respect to API then do reachout to our team from website chat or email us at hello@sendpost.io

API Reference

SendX REST API can be broken down into two major sub-sections:

  • Sub-Account

  • Account

Sub-Account API operations enable common email sending API use-cases like sending bulk email, adding new domains or senders for email sending programmatically, retrieving stats, adding suppressions etc. All Sub-Account API operations need to pass X-SubAccount-ApiKey header with every API call.

The Account API operations allow users to manage multiple sub-accounts and manage IPs. A single parent SendPost account can have 100's of sub-accounts. You may want to create sub-accounts for different products your company is running or to segregate types of emails or for managing email sending across multiple customers of yours.

Installation

Prerequisites

Before installing the SendPost Go SDK, ensure you have the following installed:

  1. Go 1.18 or higher - The SDK requires Go 1.18 or later

    • Check your Go version: go version
    • If you need to install or update Go, visit https://golang.org/dl/
    • For macOS: brew install go or download from the official website
    • For Linux: Use your distribution's package manager or download from the official website
    • For Windows: Download the installer from the official website
  2. Git - Required for cloning repositories (if installing from source)

  3. A SendPost account - You'll need API keys to use the SDK

Installing the SDK

The easiest way to install the SendPost Go SDK is using go get:

go get github.com/sendpost/sendpost-go-sdk

This will download and install the SDK to your Go module cache.

Option 2: Adding to your go.mod

If you're working in a Go module project, add the SDK to your go.mod file:

go mod init your-project-name
go get github.com/sendpost/sendpost-go-sdk

Or manually add it to your go.mod:

module your-project-name

go 1.18

require (
    github.com/sendpost/sendpost-go-sdk v1.0.0
)

Then run:

go mod tidy
Option 3: Installing from source

If you need to install from a specific branch or fork:

git clone https://github.com/sendpost/sendpost-go-sdk.git
cd sendpost-go-sdk
go mod download

Verifying Installation

To verify that the SDK is installed correctly, create a simple test file:

package main

import (
    "fmt"
    sendpost "github.com/sendpost/sendpost-go-sdk"
)

func main() {
    cfg := sendpost.NewConfiguration()
    fmt.Printf("SendPost SDK version: %s\n", cfg.UserAgent)
    fmt.Println("SDK installed successfully!")
}

Run it with:

go run main.go

If you see the success message, the SDK is installed correctly.

Dependencies

The SendPost Go SDK uses only standard Go libraries and has minimal external dependencies. The SDK automatically handles:

  • HTTP client operations (using net/http)
  • JSON encoding/decoding (using encoding/json)
  • Context management (using context)

No additional dependencies need to be installed manually.

Quick Start

Once installed, you can start using the SDK. Here's a basic example:

package main

import (
    "context"
    "fmt"
    "os"
    
    sendpost "github.com/sendpost/sendpost-go-sdk"
)

func main() {
    // Get your API key from environment variable or set it directly
    apiKey := os.Getenv("SENDPOST_SUB_ACCOUNT_API_KEY")
    if apiKey == "" {
        apiKey = "YOUR_SUB_ACCOUNT_API_KEY_HERE"
    }

    // Create configuration
    cfg := sendpost.NewConfiguration()
    cfg.Servers = sendpost.ServerConfigurations{
        {
            URL: "https://api.sendpost.io/api/v1",
            Description: "SendPost API Server",
        },
    }

    // Create API client
    client := sendpost.NewAPIClient(cfg)

    // Set up authentication context
    ctx := context.WithValue(
        context.Background(),
        sendpost.ContextAPIKeys,
        map[string]sendpost.APIKey{
            "subAccountAuth": {Key: apiKey},
        },
    )

    // Example: Get all domains
    domains, resp, err := client.DomainAPI.SubaccountDomainGet(ctx).Execute()
    if err != nil {
        fmt.Printf("Error: %v\n", err)
        return
    }

    fmt.Printf("Response status: %s\n", resp.Status)
    fmt.Printf("Number of domains: %d\n", len(domains))
}

Configuration

Setting up API Keys

You can set API keys in several ways:

  1. Environment Variables (Recommended for production):
export SENDPOST_ACCOUNT_API_KEY="your_account_api_key"
export SENDPOST_SUB_ACCOUNT_API_KEY="your_sub_account_api_key"
  1. In your code:
ctx := context.WithValue(
    context.Background(),
    sendpost.ContextAPIKeys,
    map[string]sendpost.APIKey{
        "accountAuth": {Key: "your_account_api_key"},
        "subAccountAuth": {Key: "your_sub_account_api_key"},
    },
)
Using a Proxy

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Or configure it in your HTTP client:

cfg := sendpost.NewConfiguration()
// Configure custom HTTP client with proxy if needed

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sendpost.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sendpost.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sendpost.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sendpost.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sendpost.ContextOperationServerIndices and sendpost.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sendpost.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sendpost.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.sendpost.io/api/v1

Class Method HTTP request Description
DomainAPI GetAllDomains Get /subaccount/domain List Domains
DomainAPI SubaccountDomainDomainIdDelete Delete /subaccount/domain/{domain_id} Delete Domain
DomainAPI SubaccountDomainDomainIdGet Get /subaccount/domain/{domain_id} Get Domain
DomainAPI SubaccountDomainPost Post /subaccount/domain Create Domain
EmailAPI SendEmail Post /subaccount/email/ Send Email
EmailAPI SendEmailWithTemplate Post /subaccount/email/template Send Email With Template
IPAPI AllocateNewIp Put /account/ip/allocate Allocate IP
IPAPI DeleteIp Delete /account/ip/{ip_id} Delete IP
IPAPI GetAllIps Get /account/ip/ List IPs
IPAPI GetSpecificIp Get /account/ip/{ip_id} Get IP
IPAPI UpdateIp Put /account/ip/{ip_id} Update IP
IPPoolsAPI CreateIPPool Post /account/ippool Create IPPool
IPPoolsAPI DeleteIPPool Delete /account/ippool/{ippool_id} Delete IPPool
IPPoolsAPI GetAllIPPools Get /account/ippool List IPPools
IPPoolsAPI GetIPPoolById Get /account/ippool/{ippool_id} Get IPPool
IPPoolsAPI UpdateIPPool Put /account/ippool/{ippool_id} Update IPPool
MessageAPI GetMessageById Get /account/message/{message_id} Get Message
StatsAPI AccountSubaccountStatSubaccountIdAggregateGet Get /account/subaccount/stat/{subaccount_id}/aggregate Get Aggregate Stats
StatsAPI AccountSubaccountStatSubaccountIdGet Get /account/subaccount/stat/{subaccount_id} List Stats
StatsAPI GetAggregateStatsByGroup Get /account/subaccount/stat/{subaccount_id}/group Get Group Aggregate Stats
StatsAAPI GetAccountAggregateStats Get /account/stat/aggregate Get Account Aggregate Stats
StatsAAPI GetAccountAggregateStatsByGroup Get /account/stat/aggregate/group Get Account Group Aggregate Stats
StatsAAPI GetAccountStatsByGroup Get /account/stat/group List Account Group Stats
StatsAAPI GetAllAccountStats Get /account/stat List Account Stats
SubAccountAPI CreateSubAccount Post /account/subaccount/ Create Sub-Account
SubAccountAPI DeleteSubAccount Delete /account/subaccount/{subaccount_id} Delete Sub-Account
SubAccountAPI GetAllSubAccounts Get /account/subaccount/ List Sub-Accounts
SubAccountAPI GetSubAccount Get /account/subaccount/{subaccount_id} Get Sub-Account
SubAccountAPI UpdateSubAccount Put /account/subaccount/{subaccount_id} Update Sub-Account
SuppressionAPI CreateSuppression Post /subaccount/suppression Create Suppressions
SuppressionAPI DeleteSuppression Delete /subaccount/suppression Delete Suppressions
SuppressionAPI GetSuppressionList Get /subaccount/suppression List Suppressions
WebhookAPI CreateWebhook Post /account/webhook Create Webhook
WebhookAPI DeleteWebhook Delete /account/webhook/{webhook_id} Delete Webhook
WebhookAPI GetAllWebhooks Get /account/webhook List Webhooks
WebhookAPI GetWebhook Get /account/webhook/{webhook_id} Get Webhook
WebhookAPI UpdateWebhook Put /account/webhook/{webhook_id} Update Webhook

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

accountAuth
  • Type: API key
  • API key parameter name: X-Account-ApiKey
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: accountAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sendpost.ContextAPIKeys,
		map[string]sendpost.APIKey{
			"accountAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)
subAccountAuth
  • Type: API key
  • API key parameter name: X-SubAccount-ApiKey
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: subAccountAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sendpost.ContextAPIKeys,
		map[string]sendpost.APIKey{
			"subAccountAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Examples

For complete working examples, check out the example-sdk-go repository which demonstrates:

  • Sending emails
  • Managing domains
  • Creating sub-accounts
  • Managing IPs and IP pools
  • Working with webhooks
  • Retrieving statistics

Troubleshooting

Common Issues
  1. Module not found errors: Make sure you've run go mod tidy after adding the SDK
  2. Authentication errors: Verify your API keys are correct and set in the context
  3. Network errors: Check your internet connection and firewall settings
  4. Version conflicts: Ensure you're using Go 1.18 or higher
Getting Help

Author

SendPost Team

License

See LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DomainAPI *DomainAPIService

	EmailAPI *EmailAPIService

	IPAPI *IPAPIService

	IPPoolsAPI *IPPoolsAPIService

	MessageAPI *MessageAPIService

	StatsAPI *StatsAPIService

	StatsAAPI *StatsAAPIService

	SubAccountAPI *SubAccountAPIService

	SuppressionAPI *SuppressionAPIService

	WebhookAPI *WebhookAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the SendPost API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AccountStats

type AccountStats struct {
	Date *string           `json:"date,omitempty"`
	Stat *AccountStatsStat `json:"stat,omitempty"`
}

AccountStats struct for AccountStats

func NewAccountStats

func NewAccountStats() *AccountStats

NewAccountStats instantiates a new AccountStats 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 NewAccountStatsWithDefaults

func NewAccountStatsWithDefaults() *AccountStats

NewAccountStatsWithDefaults instantiates a new AccountStats 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 (*AccountStats) GetDate

func (o *AccountStats) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*AccountStats) GetDateOk

func (o *AccountStats) GetDateOk() (*string, bool)

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

func (*AccountStats) GetStat

func (o *AccountStats) GetStat() AccountStatsStat

GetStat returns the Stat field value if set, zero value otherwise.

func (*AccountStats) GetStatOk

func (o *AccountStats) GetStatOk() (*AccountStatsStat, bool)

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

func (*AccountStats) HasDate

func (o *AccountStats) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*AccountStats) HasStat

func (o *AccountStats) HasStat() bool

HasStat returns a boolean if a field has been set.

func (AccountStats) MarshalJSON

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

func (*AccountStats) SetDate

func (o *AccountStats) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*AccountStats) SetStat

func (o *AccountStats) SetStat(v AccountStatsStat)

SetStat gets a reference to the given AccountStatsStat and assigns it to the Stat field.

func (AccountStats) ToMap

func (o AccountStats) ToMap() (map[string]interface{}, error)

type AccountStatsStat

type AccountStatsStat struct {
	Processed    *int32 `json:"processed,omitempty"`
	Sent         *int32 `json:"sent,omitempty"`
	Delivered    *int32 `json:"delivered,omitempty"`
	Dropped      *int32 `json:"dropped,omitempty"`
	SmtpDropped  *int32 `json:"smtpDropped,omitempty"`
	HardBounced  *int32 `json:"hardBounced,omitempty"`
	SoftBounced  *int32 `json:"softBounced,omitempty"`
	Opened       *int32 `json:"opened,omitempty"`
	Clicked      *int32 `json:"clicked,omitempty"`
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Number of spam complaints
	Spam *int32 `json:"spam,omitempty"`
}

AccountStatsStat struct for AccountStatsStat

func NewAccountStatsStat

func NewAccountStatsStat() *AccountStatsStat

NewAccountStatsStat instantiates a new AccountStatsStat 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 NewAccountStatsStatWithDefaults

func NewAccountStatsStatWithDefaults() *AccountStatsStat

NewAccountStatsStatWithDefaults instantiates a new AccountStatsStat 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 (*AccountStatsStat) GetClicked

func (o *AccountStatsStat) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*AccountStatsStat) GetClickedOk

func (o *AccountStatsStat) GetClickedOk() (*int32, bool)

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

func (*AccountStatsStat) GetDelivered

func (o *AccountStatsStat) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*AccountStatsStat) GetDeliveredOk

func (o *AccountStatsStat) GetDeliveredOk() (*int32, bool)

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

func (*AccountStatsStat) GetDropped

func (o *AccountStatsStat) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*AccountStatsStat) GetDroppedOk

func (o *AccountStatsStat) GetDroppedOk() (*int32, bool)

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

func (*AccountStatsStat) GetHardBounced

func (o *AccountStatsStat) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*AccountStatsStat) GetHardBouncedOk

func (o *AccountStatsStat) GetHardBouncedOk() (*int32, bool)

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

func (*AccountStatsStat) GetOpened

func (o *AccountStatsStat) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*AccountStatsStat) GetOpenedOk

func (o *AccountStatsStat) GetOpenedOk() (*int32, bool)

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

func (*AccountStatsStat) GetProcessed

func (o *AccountStatsStat) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*AccountStatsStat) GetProcessedOk

func (o *AccountStatsStat) GetProcessedOk() (*int32, bool)

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

func (*AccountStatsStat) GetSent

func (o *AccountStatsStat) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*AccountStatsStat) GetSentOk

func (o *AccountStatsStat) GetSentOk() (*int32, bool)

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

func (*AccountStatsStat) GetSmtpDropped

func (o *AccountStatsStat) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*AccountStatsStat) GetSmtpDroppedOk

func (o *AccountStatsStat) GetSmtpDroppedOk() (*int32, bool)

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

func (*AccountStatsStat) GetSoftBounced

func (o *AccountStatsStat) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*AccountStatsStat) GetSoftBouncedOk

func (o *AccountStatsStat) GetSoftBouncedOk() (*int32, bool)

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

func (*AccountStatsStat) GetSpam added in v1.0.2

func (o *AccountStatsStat) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*AccountStatsStat) GetSpamOk added in v1.0.2

func (o *AccountStatsStat) GetSpamOk() (*int32, bool)

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

func (*AccountStatsStat) GetUnsubscribed

func (o *AccountStatsStat) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*AccountStatsStat) GetUnsubscribedOk

func (o *AccountStatsStat) GetUnsubscribedOk() (*int32, bool)

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

func (*AccountStatsStat) HasClicked

func (o *AccountStatsStat) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*AccountStatsStat) HasDelivered

func (o *AccountStatsStat) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*AccountStatsStat) HasDropped

func (o *AccountStatsStat) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*AccountStatsStat) HasHardBounced

func (o *AccountStatsStat) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*AccountStatsStat) HasOpened

func (o *AccountStatsStat) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*AccountStatsStat) HasProcessed

func (o *AccountStatsStat) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*AccountStatsStat) HasSent

func (o *AccountStatsStat) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*AccountStatsStat) HasSmtpDropped

func (o *AccountStatsStat) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*AccountStatsStat) HasSoftBounced

func (o *AccountStatsStat) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*AccountStatsStat) HasSpam added in v1.0.2

func (o *AccountStatsStat) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*AccountStatsStat) HasUnsubscribed

func (o *AccountStatsStat) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (AccountStatsStat) MarshalJSON

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

func (*AccountStatsStat) SetClicked

func (o *AccountStatsStat) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*AccountStatsStat) SetDelivered

func (o *AccountStatsStat) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*AccountStatsStat) SetDropped

func (o *AccountStatsStat) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*AccountStatsStat) SetHardBounced

func (o *AccountStatsStat) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*AccountStatsStat) SetOpened

func (o *AccountStatsStat) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*AccountStatsStat) SetProcessed

func (o *AccountStatsStat) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*AccountStatsStat) SetSent

func (o *AccountStatsStat) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*AccountStatsStat) SetSmtpDropped

func (o *AccountStatsStat) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*AccountStatsStat) SetSoftBounced

func (o *AccountStatsStat) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*AccountStatsStat) SetSpam added in v1.0.2

func (o *AccountStatsStat) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*AccountStatsStat) SetUnsubscribed

func (o *AccountStatsStat) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (AccountStatsStat) ToMap

func (o AccountStatsStat) ToMap() (map[string]interface{}, error)

type AggregateStat

type AggregateStat struct {
	// Number of emails accepted by SendPost API.
	Processed *int32 `json:"processed,omitempty"`
	// Number of emails sent.
	Sent *int32 `json:"sent,omitempty"`
	// Number of emails we were able to successfully deliver at SMTP without encountering any error
	Delivered *int32 `json:"delivered,omitempty"`
	// Number of emails drop without attempting to deliver either because the email is invalid or email in in existing suppression list
	Dropped *int32 `json:"dropped,omitempty"`
	// Number of emails dropped by SMTP.
	SmtpDropped *int32 `json:"smtpDropped,omitempty"`
	// Number of emails where we got SMTP hard bounce error code by the recipient mail provider
	HardBounced *int32 `json:"hardBounced,omitempty"`
	// Number of emails where we got temporary soft bounce error by the recipent mail provider. Soft bounced emails are retried upto 5 times over 24 hour period before marking them as hardBounced.
	SoftBounced *int32 `json:"softBounced,omitempty"`
	// Number of emails opened by recipients
	Opened *int32 `json:"opened,omitempty"`
	// Number of email links clicked by recipients
	Clicked *int32 `json:"clicked,omitempty"`
	// Number of email recipients who unsubscribed from receiving further emails
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Number of email recipients who marked emails as spam
	Spam *int32 `json:"spam,omitempty"`
}

AggregateStat struct for AggregateStat

func NewAggregateStat

func NewAggregateStat() *AggregateStat

NewAggregateStat instantiates a new AggregateStat 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 NewAggregateStatWithDefaults

func NewAggregateStatWithDefaults() *AggregateStat

NewAggregateStatWithDefaults instantiates a new AggregateStat 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 (*AggregateStat) GetClicked

func (o *AggregateStat) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*AggregateStat) GetClickedOk

func (o *AggregateStat) GetClickedOk() (*int32, bool)

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

func (*AggregateStat) GetDelivered

func (o *AggregateStat) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*AggregateStat) GetDeliveredOk

func (o *AggregateStat) GetDeliveredOk() (*int32, bool)

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

func (*AggregateStat) GetDropped

func (o *AggregateStat) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*AggregateStat) GetDroppedOk

func (o *AggregateStat) GetDroppedOk() (*int32, bool)

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

func (*AggregateStat) GetHardBounced

func (o *AggregateStat) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*AggregateStat) GetHardBouncedOk

func (o *AggregateStat) GetHardBouncedOk() (*int32, bool)

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

func (*AggregateStat) GetOpened

func (o *AggregateStat) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*AggregateStat) GetOpenedOk

func (o *AggregateStat) GetOpenedOk() (*int32, bool)

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

func (*AggregateStat) GetProcessed

func (o *AggregateStat) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*AggregateStat) GetProcessedOk

func (o *AggregateStat) GetProcessedOk() (*int32, bool)

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

func (*AggregateStat) GetSent

func (o *AggregateStat) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*AggregateStat) GetSentOk

func (o *AggregateStat) GetSentOk() (*int32, bool)

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

func (*AggregateStat) GetSmtpDropped

func (o *AggregateStat) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*AggregateStat) GetSmtpDroppedOk

func (o *AggregateStat) GetSmtpDroppedOk() (*int32, bool)

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

func (*AggregateStat) GetSoftBounced

func (o *AggregateStat) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*AggregateStat) GetSoftBouncedOk

func (o *AggregateStat) GetSoftBouncedOk() (*int32, bool)

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

func (*AggregateStat) GetSpam

func (o *AggregateStat) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*AggregateStat) GetSpamOk

func (o *AggregateStat) GetSpamOk() (*int32, bool)

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

func (*AggregateStat) GetUnsubscribed

func (o *AggregateStat) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*AggregateStat) GetUnsubscribedOk

func (o *AggregateStat) GetUnsubscribedOk() (*int32, bool)

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

func (*AggregateStat) HasClicked

func (o *AggregateStat) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*AggregateStat) HasDelivered

func (o *AggregateStat) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*AggregateStat) HasDropped

func (o *AggregateStat) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*AggregateStat) HasHardBounced

func (o *AggregateStat) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*AggregateStat) HasOpened

func (o *AggregateStat) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*AggregateStat) HasProcessed

func (o *AggregateStat) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*AggregateStat) HasSent

func (o *AggregateStat) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*AggregateStat) HasSmtpDropped

func (o *AggregateStat) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*AggregateStat) HasSoftBounced

func (o *AggregateStat) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*AggregateStat) HasSpam

func (o *AggregateStat) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*AggregateStat) HasUnsubscribed

func (o *AggregateStat) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (AggregateStat) MarshalJSON

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

func (*AggregateStat) SetClicked

func (o *AggregateStat) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*AggregateStat) SetDelivered

func (o *AggregateStat) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*AggregateStat) SetDropped

func (o *AggregateStat) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*AggregateStat) SetHardBounced

func (o *AggregateStat) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*AggregateStat) SetOpened

func (o *AggregateStat) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*AggregateStat) SetProcessed

func (o *AggregateStat) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*AggregateStat) SetSent

func (o *AggregateStat) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*AggregateStat) SetSmtpDropped

func (o *AggregateStat) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*AggregateStat) SetSoftBounced

func (o *AggregateStat) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*AggregateStat) SetSpam

func (o *AggregateStat) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*AggregateStat) SetUnsubscribed

func (o *AggregateStat) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (AggregateStat) ToMap

func (o AggregateStat) ToMap() (map[string]interface{}, error)

type AggregateStats

type AggregateStats struct {
	Processed    *int32 `json:"processed,omitempty"`
	Sent         *int32 `json:"sent,omitempty"`
	Delivered    *int32 `json:"delivered,omitempty"`
	Dropped      *int32 `json:"dropped,omitempty"`
	SmtpDropped  *int32 `json:"smtpDropped,omitempty"`
	HardBounced  *int32 `json:"hardBounced,omitempty"`
	SoftBounced  *int32 `json:"softBounced,omitempty"`
	Opened       *int32 `json:"opened,omitempty"`
	Clicked      *int32 `json:"clicked,omitempty"`
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	Spams        *int32 `json:"spams,omitempty"`
}

AggregateStats struct for AggregateStats

func NewAggregateStats

func NewAggregateStats() *AggregateStats

NewAggregateStats instantiates a new AggregateStats 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 NewAggregateStatsWithDefaults

func NewAggregateStatsWithDefaults() *AggregateStats

NewAggregateStatsWithDefaults instantiates a new AggregateStats 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 (*AggregateStats) GetClicked

func (o *AggregateStats) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*AggregateStats) GetClickedOk

func (o *AggregateStats) GetClickedOk() (*int32, bool)

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

func (*AggregateStats) GetDelivered

func (o *AggregateStats) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*AggregateStats) GetDeliveredOk

func (o *AggregateStats) GetDeliveredOk() (*int32, bool)

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

func (*AggregateStats) GetDropped

func (o *AggregateStats) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*AggregateStats) GetDroppedOk

func (o *AggregateStats) GetDroppedOk() (*int32, bool)

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

func (*AggregateStats) GetHardBounced

func (o *AggregateStats) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*AggregateStats) GetHardBouncedOk

func (o *AggregateStats) GetHardBouncedOk() (*int32, bool)

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

func (*AggregateStats) GetOpened

func (o *AggregateStats) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*AggregateStats) GetOpenedOk

func (o *AggregateStats) GetOpenedOk() (*int32, bool)

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

func (*AggregateStats) GetProcessed

func (o *AggregateStats) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*AggregateStats) GetProcessedOk

func (o *AggregateStats) GetProcessedOk() (*int32, bool)

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

func (*AggregateStats) GetSent

func (o *AggregateStats) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*AggregateStats) GetSentOk

func (o *AggregateStats) GetSentOk() (*int32, bool)

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

func (*AggregateStats) GetSmtpDropped

func (o *AggregateStats) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*AggregateStats) GetSmtpDroppedOk

func (o *AggregateStats) GetSmtpDroppedOk() (*int32, bool)

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

func (*AggregateStats) GetSoftBounced

func (o *AggregateStats) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*AggregateStats) GetSoftBouncedOk

func (o *AggregateStats) GetSoftBouncedOk() (*int32, bool)

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

func (*AggregateStats) GetSpams

func (o *AggregateStats) GetSpams() int32

GetSpams returns the Spams field value if set, zero value otherwise.

func (*AggregateStats) GetSpamsOk

func (o *AggregateStats) GetSpamsOk() (*int32, bool)

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

func (*AggregateStats) GetUnsubscribed

func (o *AggregateStats) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*AggregateStats) GetUnsubscribedOk

func (o *AggregateStats) GetUnsubscribedOk() (*int32, bool)

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

func (*AggregateStats) HasClicked

func (o *AggregateStats) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*AggregateStats) HasDelivered

func (o *AggregateStats) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*AggregateStats) HasDropped

func (o *AggregateStats) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*AggregateStats) HasHardBounced

func (o *AggregateStats) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*AggregateStats) HasOpened

func (o *AggregateStats) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*AggregateStats) HasProcessed

func (o *AggregateStats) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*AggregateStats) HasSent

func (o *AggregateStats) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*AggregateStats) HasSmtpDropped

func (o *AggregateStats) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*AggregateStats) HasSoftBounced

func (o *AggregateStats) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*AggregateStats) HasSpams

func (o *AggregateStats) HasSpams() bool

HasSpams returns a boolean if a field has been set.

func (*AggregateStats) HasUnsubscribed

func (o *AggregateStats) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (AggregateStats) MarshalJSON

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

func (*AggregateStats) SetClicked

func (o *AggregateStats) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*AggregateStats) SetDelivered

func (o *AggregateStats) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*AggregateStats) SetDropped

func (o *AggregateStats) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*AggregateStats) SetHardBounced

func (o *AggregateStats) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*AggregateStats) SetOpened

func (o *AggregateStats) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*AggregateStats) SetProcessed

func (o *AggregateStats) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*AggregateStats) SetSent

func (o *AggregateStats) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*AggregateStats) SetSmtpDropped

func (o *AggregateStats) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*AggregateStats) SetSoftBounced

func (o *AggregateStats) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*AggregateStats) SetSpams

func (o *AggregateStats) SetSpams(v int32)

SetSpams gets a reference to the given int32 and assigns it to the Spams field.

func (*AggregateStats) SetUnsubscribed

func (o *AggregateStats) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (AggregateStats) ToMap

func (o AggregateStats) ToMap() (map[string]interface{}, error)

type AggregatedEmailStats

type AggregatedEmailStats struct {
	// Total number of emails accepted by SendPost API
	Processed *int32 `json:"processed,omitempty"`
	// Total number of emails sent
	Sent *int32 `json:"sent,omitempty"`
	// Total number of emails successfully delivered to SMTP
	Delivered *int32 `json:"delivered,omitempty"`
	// Total number of emails dropped without delivery
	Dropped *int32 `json:"dropped,omitempty"`
	// Total number of emails dropped by SMTP
	SmtpDropped *int32 `json:"smtpDropped,omitempty"`
	// Total number of hard bounce errors
	HardBounced *int32 `json:"hardBounced,omitempty"`
	// Total number of soft bounce errors
	SoftBounced *int32 `json:"softBounced,omitempty"`
	// Total number of emails opened by recipients
	Opened *int32 `json:"opened,omitempty"`
	// Total number of links clicked by recipients
	Clicked *int32 `json:"clicked,omitempty"`
	// Total number of unsubscribed recipients
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Total number of spams reported by recipients
	Spam *int32 `json:"spam,omitempty"`
}

AggregatedEmailStats struct for AggregatedEmailStats

func NewAggregatedEmailStats

func NewAggregatedEmailStats() *AggregatedEmailStats

NewAggregatedEmailStats instantiates a new AggregatedEmailStats 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 NewAggregatedEmailStatsWithDefaults

func NewAggregatedEmailStatsWithDefaults() *AggregatedEmailStats

NewAggregatedEmailStatsWithDefaults instantiates a new AggregatedEmailStats 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 (*AggregatedEmailStats) GetClicked

func (o *AggregatedEmailStats) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetClickedOk

func (o *AggregatedEmailStats) GetClickedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetDelivered

func (o *AggregatedEmailStats) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetDeliveredOk

func (o *AggregatedEmailStats) GetDeliveredOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetDropped

func (o *AggregatedEmailStats) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetDroppedOk

func (o *AggregatedEmailStats) GetDroppedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetHardBounced

func (o *AggregatedEmailStats) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetHardBouncedOk

func (o *AggregatedEmailStats) GetHardBouncedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetOpened

func (o *AggregatedEmailStats) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetOpenedOk

func (o *AggregatedEmailStats) GetOpenedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetProcessed

func (o *AggregatedEmailStats) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetProcessedOk

func (o *AggregatedEmailStats) GetProcessedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetSent

func (o *AggregatedEmailStats) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetSentOk

func (o *AggregatedEmailStats) GetSentOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetSmtpDropped

func (o *AggregatedEmailStats) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetSmtpDroppedOk

func (o *AggregatedEmailStats) GetSmtpDroppedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetSoftBounced

func (o *AggregatedEmailStats) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetSoftBouncedOk

func (o *AggregatedEmailStats) GetSoftBouncedOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetSpam

func (o *AggregatedEmailStats) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetSpamOk

func (o *AggregatedEmailStats) GetSpamOk() (*int32, bool)

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

func (*AggregatedEmailStats) GetUnsubscribed

func (o *AggregatedEmailStats) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*AggregatedEmailStats) GetUnsubscribedOk

func (o *AggregatedEmailStats) GetUnsubscribedOk() (*int32, bool)

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

func (*AggregatedEmailStats) HasClicked

func (o *AggregatedEmailStats) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasDelivered

func (o *AggregatedEmailStats) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasDropped

func (o *AggregatedEmailStats) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasHardBounced

func (o *AggregatedEmailStats) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasOpened

func (o *AggregatedEmailStats) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasProcessed

func (o *AggregatedEmailStats) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasSent

func (o *AggregatedEmailStats) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasSmtpDropped

func (o *AggregatedEmailStats) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasSoftBounced

func (o *AggregatedEmailStats) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasSpam

func (o *AggregatedEmailStats) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*AggregatedEmailStats) HasUnsubscribed

func (o *AggregatedEmailStats) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (AggregatedEmailStats) MarshalJSON

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

func (*AggregatedEmailStats) SetClicked

func (o *AggregatedEmailStats) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*AggregatedEmailStats) SetDelivered

func (o *AggregatedEmailStats) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*AggregatedEmailStats) SetDropped

func (o *AggregatedEmailStats) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*AggregatedEmailStats) SetHardBounced

func (o *AggregatedEmailStats) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*AggregatedEmailStats) SetOpened

func (o *AggregatedEmailStats) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*AggregatedEmailStats) SetProcessed

func (o *AggregatedEmailStats) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*AggregatedEmailStats) SetSent

func (o *AggregatedEmailStats) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*AggregatedEmailStats) SetSmtpDropped

func (o *AggregatedEmailStats) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*AggregatedEmailStats) SetSoftBounced

func (o *AggregatedEmailStats) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*AggregatedEmailStats) SetSpam

func (o *AggregatedEmailStats) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*AggregatedEmailStats) SetUnsubscribed

func (o *AggregatedEmailStats) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (AggregatedEmailStats) ToMap

func (o AggregatedEmailStats) ToMap() (map[string]interface{}, error)

type ApiAccountSubaccountStatSubaccountIdAggregateGetRequest

type ApiAccountSubaccountStatSubaccountIdAggregateGetRequest struct {
	ApiService *StatsAPIService
	// contains filtered or unexported fields
}

func (ApiAccountSubaccountStatSubaccountIdAggregateGetRequest) Execute

func (ApiAccountSubaccountStatSubaccountIdAggregateGetRequest) From

Start date for stats retrieval.

func (ApiAccountSubaccountStatSubaccountIdAggregateGetRequest) To

Date to which stats should be retrieved ( Note than from date should be earlier than to date. Also the difference between from and to date shouldn&#39;t ne more than 60 days )

type ApiAccountSubaccountStatSubaccountIdGetRequest

type ApiAccountSubaccountStatSubaccountIdGetRequest struct {
	ApiService *StatsAPIService
	// contains filtered or unexported fields
}

func (ApiAccountSubaccountStatSubaccountIdGetRequest) Execute

func (ApiAccountSubaccountStatSubaccountIdGetRequest) From

Start date for stats retrieval.

func (ApiAccountSubaccountStatSubaccountIdGetRequest) To

Date to which stats should be retrieved ( Note than from date should be earlier than to date. Also the difference between from and to date shouldn&#39;t ne more than 60 days )

type ApiAllocateNewIpRequest

type ApiAllocateNewIpRequest struct {
	ApiService *IPAPIService
	// contains filtered or unexported fields
}

func (ApiAllocateNewIpRequest) Execute

func (r ApiAllocateNewIpRequest) Execute() (*IP, *http.Response, error)

func (ApiAllocateNewIpRequest) IPAllocationRequest

func (r ApiAllocateNewIpRequest) IPAllocationRequest(iPAllocationRequest IPAllocationRequest) ApiAllocateNewIpRequest

type ApiCreateIPPoolRequest

type ApiCreateIPPoolRequest struct {
	ApiService *IPPoolsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateIPPoolRequest) Execute

func (r ApiCreateIPPoolRequest) Execute() (*IPPool, *http.Response, error)

func (ApiCreateIPPoolRequest) IPPoolCreateRequest

func (r ApiCreateIPPoolRequest) IPPoolCreateRequest(iPPoolCreateRequest IPPoolCreateRequest) ApiCreateIPPoolRequest

type ApiCreateSubAccountRequest

type ApiCreateSubAccountRequest struct {
	ApiService *SubAccountAPIService
	// contains filtered or unexported fields
}

func (ApiCreateSubAccountRequest) CreateSubAccountRequest

func (r ApiCreateSubAccountRequest) CreateSubAccountRequest(createSubAccountRequest CreateSubAccountRequest) ApiCreateSubAccountRequest

func (ApiCreateSubAccountRequest) Execute

type ApiCreateSuppressionRequest

type ApiCreateSuppressionRequest struct {
	ApiService *SuppressionAPIService
	// contains filtered or unexported fields
}

func (ApiCreateSuppressionRequest) CreateSuppressionRequest

func (r ApiCreateSuppressionRequest) CreateSuppressionRequest(createSuppressionRequest CreateSuppressionRequest) ApiCreateSuppressionRequest

func (ApiCreateSuppressionRequest) Execute

type ApiCreateWebhookRequest

type ApiCreateWebhookRequest struct {
	ApiService *WebhookAPIService
	// contains filtered or unexported fields
}

func (ApiCreateWebhookRequest) CreateWebhookRequest

func (r ApiCreateWebhookRequest) CreateWebhookRequest(createWebhookRequest CreateWebhookRequest) ApiCreateWebhookRequest

func (ApiCreateWebhookRequest) Execute

type ApiDeleteIPPoolRequest

type ApiDeleteIPPoolRequest struct {
	ApiService *IPPoolsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteIPPoolRequest) Execute

type ApiDeleteIpRequest

type ApiDeleteIpRequest struct {
	ApiService *IPAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteIpRequest) Execute

type ApiDeleteSubAccountRequest

type ApiDeleteSubAccountRequest struct {
	ApiService *SubAccountAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteSubAccountRequest) Execute

type ApiDeleteSuppressionRequest

type ApiDeleteSuppressionRequest struct {
	ApiService *SuppressionAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteSuppressionRequest) DeleteSuppressionRequest

func (r ApiDeleteSuppressionRequest) DeleteSuppressionRequest(deleteSuppressionRequest DeleteSuppressionRequest) ApiDeleteSuppressionRequest

func (ApiDeleteSuppressionRequest) Execute

type ApiDeleteWebhookRequest

type ApiDeleteWebhookRequest struct {
	ApiService *WebhookAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteWebhookRequest) Execute

type ApiGetAccountAggregateStatsByGroupRequest

type ApiGetAccountAggregateStatsByGroupRequest struct {
	ApiService *StatsAAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountAggregateStatsByGroupRequest) Execute

func (ApiGetAccountAggregateStatsByGroupRequest) From

Date from which stats should be retrieved (should be in the format &#x60;YYYY-MM-DD&#x60;).

func (ApiGetAccountAggregateStatsByGroupRequest) Group

Group whose aggregate stats need to be retrieved.

func (ApiGetAccountAggregateStatsByGroupRequest) To

Date to which stats should be retrieved (should be in the format &#x60;YYYY-MM-DD&#x60;). Note that the difference between &#x60;from&#x60; and &#x60;to&#x60; should not be more than 366 days.

type ApiGetAccountAggregateStatsRequest

type ApiGetAccountAggregateStatsRequest struct {
	ApiService *StatsAAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountAggregateStatsRequest) Execute

func (ApiGetAccountAggregateStatsRequest) From

The start date for retrieving aggregated stats (inclusive)

func (ApiGetAccountAggregateStatsRequest) To

The end date for retrieving aggregated stats (inclusive). The difference between &#x60;from&#x60; and &#x60;to&#x60; should not exceed 366 days.

type ApiGetAccountStatsByGroupRequest

type ApiGetAccountStatsByGroupRequest struct {
	ApiService *StatsAAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountStatsByGroupRequest) Execute

func (ApiGetAccountStatsByGroupRequest) From

Date from which stats should be retrieved (should be in the format &#x60;YYYY-MM-DD&#x60;)

func (ApiGetAccountStatsByGroupRequest) Group

Group whose stats need to be retrieved

func (ApiGetAccountStatsByGroupRequest) To

Date to which stats should be retrieved (should be in the format &#x60;YYYY-MM-DD&#x60;). Note that the difference between &#x60;from&#x60; and &#x60;to&#x60; should not be more than 31 days.

type ApiGetAggregateStatsByGroupRequest

type ApiGetAggregateStatsByGroupRequest struct {
	ApiService *StatsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAggregateStatsByGroupRequest) Execute

func (ApiGetAggregateStatsByGroupRequest) From

The starting date for the aggregated stats

func (ApiGetAggregateStatsByGroupRequest) Group

Group whose aggregated stats need to be retrieved

func (ApiGetAggregateStatsByGroupRequest) To

The ending date for the aggregated stats (Note: &#x60;from&#x60; should be earlier than &#x60;to&#x60; and the date range should not exceed 366 days)

type ApiGetAllAccountStatsRequest

type ApiGetAllAccountStatsRequest struct {
	ApiService *StatsAAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllAccountStatsRequest) Execute

func (ApiGetAllAccountStatsRequest) From

The start date for retrieving stats (inclusive)

func (ApiGetAllAccountStatsRequest) To

The end date for retrieving stats (inclusive). The difference between &#x60;from&#x60; and &#x60;to&#x60; should not exceed 31 days.

type ApiGetAllDomainsRequest

type ApiGetAllDomainsRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllDomainsRequest) Execute

func (r ApiGetAllDomainsRequest) Execute() ([]Domain, *http.Response, error)

func (ApiGetAllDomainsRequest) Limit

Number of records to return per request

func (ApiGetAllDomainsRequest) Offset

Number of initial records to skip

func (ApiGetAllDomainsRequest) Search

Case insensitive search against domain names

type ApiGetAllIPPoolsRequest

type ApiGetAllIPPoolsRequest struct {
	ApiService *IPPoolsAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllIPPoolsRequest) Execute

func (r ApiGetAllIPPoolsRequest) Execute() ([]IPPool, *http.Response, error)

func (ApiGetAllIPPoolsRequest) Limit

Number of records to return per request

func (ApiGetAllIPPoolsRequest) Offset

Number of initial records to skip

func (ApiGetAllIPPoolsRequest) Search

Case insensitive search against IPPool name

type ApiGetAllIpsRequest

type ApiGetAllIpsRequest struct {
	ApiService *IPAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllIpsRequest) Execute

func (r ApiGetAllIpsRequest) Execute() ([]IP, *http.Response, error)

func (ApiGetAllIpsRequest) Limit

Number of records to return per request

func (ApiGetAllIpsRequest) Offset

Number of initial records to skip

func (ApiGetAllIpsRequest) Search

Case insensitive search against IP&#39;s public IP address

type ApiGetAllSubAccountsRequest

type ApiGetAllSubAccountsRequest struct {
	ApiService *SubAccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllSubAccountsRequest) Execute

func (ApiGetAllSubAccountsRequest) Limit

Number of records to return per request.

func (ApiGetAllSubAccountsRequest) Offset

Number of initial records to skip.

func (ApiGetAllSubAccountsRequest) Search

Case-insensitive search against the sub-account name.

type ApiGetAllWebhooksRequest

type ApiGetAllWebhooksRequest struct {
	ApiService *WebhookAPIService
	// contains filtered or unexported fields
}

func (ApiGetAllWebhooksRequest) Execute

func (r ApiGetAllWebhooksRequest) Execute() ([]Webhook, *http.Response, error)

func (ApiGetAllWebhooksRequest) Limit

Number of records to return per request.

func (ApiGetAllWebhooksRequest) Offset

Number of initial records to skip.

func (ApiGetAllWebhooksRequest) Search

Case insensitive search against webhook URL.

type ApiGetIPPoolByIdRequest

type ApiGetIPPoolByIdRequest struct {
	ApiService *IPPoolsAPIService
	// contains filtered or unexported fields
}

func (ApiGetIPPoolByIdRequest) Execute

func (r ApiGetIPPoolByIdRequest) Execute() (*IPPool, *http.Response, error)

type ApiGetMessageByIdRequest

type ApiGetMessageByIdRequest struct {
	ApiService *MessageAPIService
	// contains filtered or unexported fields
}

func (ApiGetMessageByIdRequest) Execute

type ApiGetSpecificIpRequest

type ApiGetSpecificIpRequest struct {
	ApiService *IPAPIService
	// contains filtered or unexported fields
}

func (ApiGetSpecificIpRequest) Execute

func (r ApiGetSpecificIpRequest) Execute() (*IP, *http.Response, error)

type ApiGetSubAccountRequest

type ApiGetSubAccountRequest struct {
	ApiService *SubAccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetSubAccountRequest) Execute

type ApiGetSuppressionListRequest

type ApiGetSuppressionListRequest struct {
	ApiService *SuppressionAPIService
	// contains filtered or unexported fields
}

func (ApiGetSuppressionListRequest) Execute

func (ApiGetSuppressionListRequest) From

Start date for the suppression records

func (ApiGetSuppressionListRequest) Limit

Number of records to return per request

func (ApiGetSuppressionListRequest) Offset

Number of initial records to skip

func (ApiGetSuppressionListRequest) Search

Case-insensitive search against suppression email

func (ApiGetSuppressionListRequest) To

End date for the suppression records (Note: &#x60;from&#x60; should be earlier than &#x60;to&#x60; and the date range should not exceed 60 days)

func (ApiGetSuppressionListRequest) Type_

Type of suppression. Valid values: &#x60;hardBounce&#x60;, &#x60;manual&#x60;, &#x60;spamComplaint&#x60;, &#x60;unsubscribe&#x60;

type ApiGetWebhookRequest

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

func (ApiGetWebhookRequest) Execute

func (r ApiGetWebhookRequest) Execute() (*Webhook, *http.Response, error)

type ApiSendEmailRequest

type ApiSendEmailRequest struct {
	ApiService *EmailAPIService
	// contains filtered or unexported fields
}

func (ApiSendEmailRequest) EmailMessageObject

func (r ApiSendEmailRequest) EmailMessageObject(emailMessageObject EmailMessageObject) ApiSendEmailRequest

Email message details

func (ApiSendEmailRequest) Execute

type ApiSendEmailWithTemplateRequest

type ApiSendEmailWithTemplateRequest struct {
	ApiService *EmailAPIService
	// contains filtered or unexported fields
}

func (ApiSendEmailWithTemplateRequest) EmailMessageWithTemplate

func (r ApiSendEmailWithTemplateRequest) EmailMessageWithTemplate(emailMessageWithTemplate EmailMessageWithTemplate) ApiSendEmailWithTemplateRequest

Email message details with template information

func (ApiSendEmailWithTemplateRequest) Execute

type ApiSendPostWebhooksPostRequest

type ApiSendPostWebhooksPostRequest struct {
	ApiService *WebhookReferenceAPIService
	// contains filtered or unexported fields
}

func (ApiSendPostWebhooksPostRequest) Execute

func (ApiSendPostWebhooksPostRequest) WebhookObject

type ApiSubaccountDomainDomainIdDeleteRequest

type ApiSubaccountDomainDomainIdDeleteRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiSubaccountDomainDomainIdDeleteRequest) Execute

type ApiSubaccountDomainDomainIdGetRequest

type ApiSubaccountDomainDomainIdGetRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiSubaccountDomainDomainIdGetRequest) Execute

type ApiSubaccountDomainPostRequest

type ApiSubaccountDomainPostRequest struct {
	ApiService *DomainAPIService
	// contains filtered or unexported fields
}

func (ApiSubaccountDomainPostRequest) CreateDomainRequest

func (r ApiSubaccountDomainPostRequest) CreateDomainRequest(createDomainRequest CreateDomainRequest) ApiSubaccountDomainPostRequest

func (ApiSubaccountDomainPostRequest) Execute

type ApiUpdateIPPoolRequest

type ApiUpdateIPPoolRequest struct {
	ApiService *IPPoolsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateIPPoolRequest) Execute

func (r ApiUpdateIPPoolRequest) Execute() (*IPPool, *http.Response, error)

func (ApiUpdateIPPoolRequest) IPPoolUpdateRequest

func (r ApiUpdateIPPoolRequest) IPPoolUpdateRequest(iPPoolUpdateRequest IPPoolUpdateRequest) ApiUpdateIPPoolRequest

type ApiUpdateIpRequest

type ApiUpdateIpRequest struct {
	ApiService *IPAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateIpRequest) Execute

func (r ApiUpdateIpRequest) Execute() (*IP, *http.Response, error)

func (ApiUpdateIpRequest) IPUpdateRequest

func (r ApiUpdateIpRequest) IPUpdateRequest(iPUpdateRequest IPUpdateRequest) ApiUpdateIpRequest

type ApiUpdateSubAccountRequest

type ApiUpdateSubAccountRequest struct {
	ApiService *SubAccountAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateSubAccountRequest) Execute

func (ApiUpdateSubAccountRequest) UpdateSubAccount

func (r ApiUpdateSubAccountRequest) UpdateSubAccount(updateSubAccount UpdateSubAccount) ApiUpdateSubAccountRequest

type ApiUpdateWebhookRequest

type ApiUpdateWebhookRequest struct {
	ApiService *WebhookAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateWebhookRequest) Execute

func (ApiUpdateWebhookRequest) UpdateWebhook

func (r ApiUpdateWebhookRequest) UpdateWebhook(updateWebhook UpdateWebhook) ApiUpdateWebhookRequest

type Attachment

type Attachment struct {
	// Base64 encoded attachment content
	Content *string `json:"content,omitempty"`
	// Name of the attachment file
	Filename *string `json:"filename,omitempty"`
}

Attachment struct for Attachment

func NewAttachment

func NewAttachment() *Attachment

NewAttachment instantiates a new Attachment 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 NewAttachmentWithDefaults

func NewAttachmentWithDefaults() *Attachment

NewAttachmentWithDefaults instantiates a new Attachment 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 (*Attachment) GetContent

func (o *Attachment) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*Attachment) GetContentOk

func (o *Attachment) GetContentOk() (*string, bool)

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

func (*Attachment) GetFilename

func (o *Attachment) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*Attachment) GetFilenameOk

func (o *Attachment) GetFilenameOk() (*string, bool)

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

func (*Attachment) HasContent

func (o *Attachment) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Attachment) HasFilename

func (o *Attachment) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (Attachment) MarshalJSON

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

func (*Attachment) SetContent

func (o *Attachment) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*Attachment) SetFilename

func (o *Attachment) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (Attachment) ToMap

func (o Attachment) ToMap() (map[string]interface{}, error)

type AutoWarmupPlan added in v1.0.2

type AutoWarmupPlan struct {
	// Unique ID for the auto-warmup plan
	Id *int32 `json:"id,omitempty"`
	// Name of the auto-warmup plan
	Name *string `json:"name,omitempty"`
	// Gmail warmup plan configuration in JSON format
	GmailWarmupPlan *string `json:"gmailWarmupPlan,omitempty"`
	// Yahoo warmup plan configuration in JSON format
	YahooWarmupPlan *string `json:"yahooWarmupPlan,omitempty"`
	// AOL warmup plan configuration in JSON format
	AolWarmupPlan *string `json:"aolWarmupPlan,omitempty"`
	// Microsoft warmup plan configuration in JSON format
	MicrosoftWarmupPlan *string `json:"microsoftWarmupPlan,omitempty"`
	// Comcast warmup plan configuration in JSON format
	ComcastWarmupPlan *string `json:"comcastWarmupPlan,omitempty"`
	// Yandex warmup plan configuration in JSON format
	YandexWarmupPlan *string `json:"yandexWarmupPlan,omitempty"`
	// GMX warmup plan configuration in JSON format
	GmxWarmupPlan *string `json:"gmxWarmupPlan,omitempty"`
	// Mail.ru warmup plan configuration in JSON format
	MailruWarmupPlan *string `json:"mailruWarmupPlan,omitempty"`
	// iCloud warmup plan configuration in JSON format
	IcloudWarmupPlan *string `json:"icloudWarmupPlan,omitempty"`
	// Zoho warmup plan configuration in JSON format
	ZohoWarmupPlan *string `json:"zohoWarmupPlan,omitempty"`
	// QQ warmup plan configuration in JSON format
	QqWarmupPlan *string `json:"qqWarmupPlan,omitempty"`
	// Default warmup plan configuration in JSON format
	DefaultWarmupPlan *string `json:"defaultWarmupPlan,omitempty"`
	// AT&T warmup plan configuration in JSON format
	AttWarmupPlan *string `json:"attWarmupPlan,omitempty"`
	// Office365 warmup plan configuration in JSON format
	Office365WarmupPlan *string `json:"office365WarmupPlan,omitempty"`
	// Google Workspace warmup plan configuration in JSON format
	GoogleworkspaceWarmupPlan *string `json:"googleworkspaceWarmupPlan,omitempty"`
	// Proofpoint warmup plan configuration in JSON format
	ProofpointWarmupPlan *string `json:"proofpointWarmupPlan,omitempty"`
	// Mimecast warmup plan configuration in JSON format
	MimecastWarmupPlan *string `json:"mimecastWarmupPlan,omitempty"`
	// Barracuda warmup plan configuration in JSON format
	BarracudaWarmupPlan *string `json:"barracudaWarmupPlan,omitempty"`
	// Cisco IronPort warmup plan configuration in JSON format
	CiscoironportWarmupPlan *string `json:"ciscoironportWarmupPlan,omitempty"`
	// Rackspace warmup plan configuration in JSON format
	RackspaceWarmupPlan *string `json:"rackspaceWarmupPlan,omitempty"`
	// Zoho Business warmup plan configuration in JSON format
	ZohobusinessWarmupPlan *string `json:"zohobusinessWarmupPlan,omitempty"`
	// Amazon WorkMail warmup plan configuration in JSON format
	AmazonworkmailWarmupPlan *string `json:"amazonworkmailWarmupPlan,omitempty"`
	// Symantec warmup plan configuration in JSON format
	SymantecWarmupPlan *string `json:"symantecWarmupPlan,omitempty"`
	// Fortinet warmup plan configuration in JSON format
	FortinetWarmupPlan *string `json:"fortinetWarmupPlan,omitempty"`
	// Sophos warmup plan configuration in JSON format
	SophosWarmupPlan *string `json:"sophosWarmupPlan,omitempty"`
	// Trend Micro warmup plan configuration in JSON format
	TrendmicroWarmupPlan *string `json:"trendmicroWarmupPlan,omitempty"`
	// Checkpoint warmup plan configuration in JSON format
	CheckpointWarmupPlan *string `json:"checkpointWarmupPlan,omitempty"`
	// UNIX epoch nano timestamp when the warmup plan was created
	Created *int64 `json:"created,omitempty"`
	// UNIX epoch nano timestamp when the warmup plan was last updated
	Updated *int64 `json:"updated,omitempty"`
	// Warmup interval in hours
	WarmupInterval *int32 `json:"warmupInterval,omitempty"`
}

AutoWarmupPlan struct for AutoWarmupPlan

func NewAutoWarmupPlan added in v1.0.2

func NewAutoWarmupPlan() *AutoWarmupPlan

NewAutoWarmupPlan instantiates a new AutoWarmupPlan 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 NewAutoWarmupPlanWithDefaults added in v1.0.2

func NewAutoWarmupPlanWithDefaults() *AutoWarmupPlan

NewAutoWarmupPlanWithDefaults instantiates a new AutoWarmupPlan 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 (*AutoWarmupPlan) GetAmazonworkmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetAmazonworkmailWarmupPlan() string

GetAmazonworkmailWarmupPlan returns the AmazonworkmailWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetAmazonworkmailWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetAmazonworkmailWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetAolWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetAolWarmupPlan() string

GetAolWarmupPlan returns the AolWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetAolWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetAolWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetAttWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetAttWarmupPlan() string

GetAttWarmupPlan returns the AttWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetAttWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetAttWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetBarracudaWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetBarracudaWarmupPlan() string

GetBarracudaWarmupPlan returns the BarracudaWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetBarracudaWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetBarracudaWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetCheckpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetCheckpointWarmupPlan() string

GetCheckpointWarmupPlan returns the CheckpointWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetCheckpointWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetCheckpointWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetCiscoironportWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetCiscoironportWarmupPlan() string

GetCiscoironportWarmupPlan returns the CiscoironportWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetCiscoironportWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetCiscoironportWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetComcastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetComcastWarmupPlan() string

GetComcastWarmupPlan returns the ComcastWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetComcastWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetComcastWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetCreated added in v1.0.2

func (o *AutoWarmupPlan) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetCreatedOk added in v1.0.2

func (o *AutoWarmupPlan) GetCreatedOk() (*int64, bool)

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

func (*AutoWarmupPlan) GetDefaultWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetDefaultWarmupPlan() string

GetDefaultWarmupPlan returns the DefaultWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetDefaultWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetDefaultWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetFortinetWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetFortinetWarmupPlan() string

GetFortinetWarmupPlan returns the FortinetWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetFortinetWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetFortinetWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetGmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetGmailWarmupPlan() string

GetGmailWarmupPlan returns the GmailWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetGmailWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetGmailWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetGmxWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetGmxWarmupPlan() string

GetGmxWarmupPlan returns the GmxWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetGmxWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetGmxWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetGoogleworkspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetGoogleworkspaceWarmupPlan() string

GetGoogleworkspaceWarmupPlan returns the GoogleworkspaceWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetGoogleworkspaceWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetGoogleworkspaceWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetIcloudWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetIcloudWarmupPlan() string

GetIcloudWarmupPlan returns the IcloudWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetIcloudWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetIcloudWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetId added in v1.0.2

func (o *AutoWarmupPlan) GetId() int32

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

func (*AutoWarmupPlan) GetIdOk added in v1.0.2

func (o *AutoWarmupPlan) 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 (*AutoWarmupPlan) GetMailruWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetMailruWarmupPlan() string

GetMailruWarmupPlan returns the MailruWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetMailruWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetMailruWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetMicrosoftWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetMicrosoftWarmupPlan() string

GetMicrosoftWarmupPlan returns the MicrosoftWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetMicrosoftWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetMicrosoftWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetMimecastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetMimecastWarmupPlan() string

GetMimecastWarmupPlan returns the MimecastWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetMimecastWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetMimecastWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetName added in v1.0.2

func (o *AutoWarmupPlan) GetName() string

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

func (*AutoWarmupPlan) GetNameOk added in v1.0.2

func (o *AutoWarmupPlan) 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 (*AutoWarmupPlan) GetOffice365WarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetOffice365WarmupPlan() string

GetOffice365WarmupPlan returns the Office365WarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetOffice365WarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetOffice365WarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetProofpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetProofpointWarmupPlan() string

GetProofpointWarmupPlan returns the ProofpointWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetProofpointWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetProofpointWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetQqWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetQqWarmupPlan() string

GetQqWarmupPlan returns the QqWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetQqWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetQqWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetRackspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetRackspaceWarmupPlan() string

GetRackspaceWarmupPlan returns the RackspaceWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetRackspaceWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetRackspaceWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetSophosWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetSophosWarmupPlan() string

GetSophosWarmupPlan returns the SophosWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetSophosWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetSophosWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetSymantecWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetSymantecWarmupPlan() string

GetSymantecWarmupPlan returns the SymantecWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetSymantecWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetSymantecWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetTrendmicroWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetTrendmicroWarmupPlan() string

GetTrendmicroWarmupPlan returns the TrendmicroWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetTrendmicroWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetTrendmicroWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetUpdated added in v1.0.2

func (o *AutoWarmupPlan) GetUpdated() int64

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetUpdatedOk added in v1.0.2

func (o *AutoWarmupPlan) GetUpdatedOk() (*int64, bool)

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

func (*AutoWarmupPlan) GetWarmupInterval added in v1.0.2

func (o *AutoWarmupPlan) GetWarmupInterval() int32

GetWarmupInterval returns the WarmupInterval field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetWarmupIntervalOk added in v1.0.2

func (o *AutoWarmupPlan) GetWarmupIntervalOk() (*int32, bool)

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

func (*AutoWarmupPlan) GetYahooWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetYahooWarmupPlan() string

GetYahooWarmupPlan returns the YahooWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetYahooWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetYahooWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetYandexWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetYandexWarmupPlan() string

GetYandexWarmupPlan returns the YandexWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetYandexWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetYandexWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetZohoWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetZohoWarmupPlan() string

GetZohoWarmupPlan returns the ZohoWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetZohoWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetZohoWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) GetZohobusinessWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) GetZohobusinessWarmupPlan() string

GetZohobusinessWarmupPlan returns the ZohobusinessWarmupPlan field value if set, zero value otherwise.

func (*AutoWarmupPlan) GetZohobusinessWarmupPlanOk added in v1.0.2

func (o *AutoWarmupPlan) GetZohobusinessWarmupPlanOk() (*string, bool)

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

func (*AutoWarmupPlan) HasAmazonworkmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasAmazonworkmailWarmupPlan() bool

HasAmazonworkmailWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasAolWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasAolWarmupPlan() bool

HasAolWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasAttWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasAttWarmupPlan() bool

HasAttWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasBarracudaWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasBarracudaWarmupPlan() bool

HasBarracudaWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasCheckpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasCheckpointWarmupPlan() bool

HasCheckpointWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasCiscoironportWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasCiscoironportWarmupPlan() bool

HasCiscoironportWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasComcastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasComcastWarmupPlan() bool

HasComcastWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasCreated added in v1.0.2

func (o *AutoWarmupPlan) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasDefaultWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasDefaultWarmupPlan() bool

HasDefaultWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasFortinetWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasFortinetWarmupPlan() bool

HasFortinetWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasGmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasGmailWarmupPlan() bool

HasGmailWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasGmxWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasGmxWarmupPlan() bool

HasGmxWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasGoogleworkspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasGoogleworkspaceWarmupPlan() bool

HasGoogleworkspaceWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasIcloudWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasIcloudWarmupPlan() bool

HasIcloudWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasId added in v1.0.2

func (o *AutoWarmupPlan) HasId() bool

HasId returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasMailruWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasMailruWarmupPlan() bool

HasMailruWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasMicrosoftWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasMicrosoftWarmupPlan() bool

HasMicrosoftWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasMimecastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasMimecastWarmupPlan() bool

HasMimecastWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasName added in v1.0.2

func (o *AutoWarmupPlan) HasName() bool

HasName returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasOffice365WarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasOffice365WarmupPlan() bool

HasOffice365WarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasProofpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasProofpointWarmupPlan() bool

HasProofpointWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasQqWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasQqWarmupPlan() bool

HasQqWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasRackspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasRackspaceWarmupPlan() bool

HasRackspaceWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasSophosWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasSophosWarmupPlan() bool

HasSophosWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasSymantecWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasSymantecWarmupPlan() bool

HasSymantecWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasTrendmicroWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasTrendmicroWarmupPlan() bool

HasTrendmicroWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasUpdated added in v1.0.2

func (o *AutoWarmupPlan) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasWarmupInterval added in v1.0.2

func (o *AutoWarmupPlan) HasWarmupInterval() bool

HasWarmupInterval returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasYahooWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasYahooWarmupPlan() bool

HasYahooWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasYandexWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasYandexWarmupPlan() bool

HasYandexWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasZohoWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasZohoWarmupPlan() bool

HasZohoWarmupPlan returns a boolean if a field has been set.

func (*AutoWarmupPlan) HasZohobusinessWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) HasZohobusinessWarmupPlan() bool

HasZohobusinessWarmupPlan returns a boolean if a field has been set.

func (AutoWarmupPlan) MarshalJSON added in v1.0.2

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

func (*AutoWarmupPlan) SetAmazonworkmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetAmazonworkmailWarmupPlan(v string)

SetAmazonworkmailWarmupPlan gets a reference to the given string and assigns it to the AmazonworkmailWarmupPlan field.

func (*AutoWarmupPlan) SetAolWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetAolWarmupPlan(v string)

SetAolWarmupPlan gets a reference to the given string and assigns it to the AolWarmupPlan field.

func (*AutoWarmupPlan) SetAttWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetAttWarmupPlan(v string)

SetAttWarmupPlan gets a reference to the given string and assigns it to the AttWarmupPlan field.

func (*AutoWarmupPlan) SetBarracudaWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetBarracudaWarmupPlan(v string)

SetBarracudaWarmupPlan gets a reference to the given string and assigns it to the BarracudaWarmupPlan field.

func (*AutoWarmupPlan) SetCheckpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetCheckpointWarmupPlan(v string)

SetCheckpointWarmupPlan gets a reference to the given string and assigns it to the CheckpointWarmupPlan field.

func (*AutoWarmupPlan) SetCiscoironportWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetCiscoironportWarmupPlan(v string)

SetCiscoironportWarmupPlan gets a reference to the given string and assigns it to the CiscoironportWarmupPlan field.

func (*AutoWarmupPlan) SetComcastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetComcastWarmupPlan(v string)

SetComcastWarmupPlan gets a reference to the given string and assigns it to the ComcastWarmupPlan field.

func (*AutoWarmupPlan) SetCreated added in v1.0.2

func (o *AutoWarmupPlan) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*AutoWarmupPlan) SetDefaultWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetDefaultWarmupPlan(v string)

SetDefaultWarmupPlan gets a reference to the given string and assigns it to the DefaultWarmupPlan field.

func (*AutoWarmupPlan) SetFortinetWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetFortinetWarmupPlan(v string)

SetFortinetWarmupPlan gets a reference to the given string and assigns it to the FortinetWarmupPlan field.

func (*AutoWarmupPlan) SetGmailWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetGmailWarmupPlan(v string)

SetGmailWarmupPlan gets a reference to the given string and assigns it to the GmailWarmupPlan field.

func (*AutoWarmupPlan) SetGmxWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetGmxWarmupPlan(v string)

SetGmxWarmupPlan gets a reference to the given string and assigns it to the GmxWarmupPlan field.

func (*AutoWarmupPlan) SetGoogleworkspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetGoogleworkspaceWarmupPlan(v string)

SetGoogleworkspaceWarmupPlan gets a reference to the given string and assigns it to the GoogleworkspaceWarmupPlan field.

func (*AutoWarmupPlan) SetIcloudWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetIcloudWarmupPlan(v string)

SetIcloudWarmupPlan gets a reference to the given string and assigns it to the IcloudWarmupPlan field.

func (*AutoWarmupPlan) SetId added in v1.0.2

func (o *AutoWarmupPlan) SetId(v int32)

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

func (*AutoWarmupPlan) SetMailruWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetMailruWarmupPlan(v string)

SetMailruWarmupPlan gets a reference to the given string and assigns it to the MailruWarmupPlan field.

func (*AutoWarmupPlan) SetMicrosoftWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetMicrosoftWarmupPlan(v string)

SetMicrosoftWarmupPlan gets a reference to the given string and assigns it to the MicrosoftWarmupPlan field.

func (*AutoWarmupPlan) SetMimecastWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetMimecastWarmupPlan(v string)

SetMimecastWarmupPlan gets a reference to the given string and assigns it to the MimecastWarmupPlan field.

func (*AutoWarmupPlan) SetName added in v1.0.2

func (o *AutoWarmupPlan) SetName(v string)

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

func (*AutoWarmupPlan) SetOffice365WarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetOffice365WarmupPlan(v string)

SetOffice365WarmupPlan gets a reference to the given string and assigns it to the Office365WarmupPlan field.

func (*AutoWarmupPlan) SetProofpointWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetProofpointWarmupPlan(v string)

SetProofpointWarmupPlan gets a reference to the given string and assigns it to the ProofpointWarmupPlan field.

func (*AutoWarmupPlan) SetQqWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetQqWarmupPlan(v string)

SetQqWarmupPlan gets a reference to the given string and assigns it to the QqWarmupPlan field.

func (*AutoWarmupPlan) SetRackspaceWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetRackspaceWarmupPlan(v string)

SetRackspaceWarmupPlan gets a reference to the given string and assigns it to the RackspaceWarmupPlan field.

func (*AutoWarmupPlan) SetSophosWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetSophosWarmupPlan(v string)

SetSophosWarmupPlan gets a reference to the given string and assigns it to the SophosWarmupPlan field.

func (*AutoWarmupPlan) SetSymantecWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetSymantecWarmupPlan(v string)

SetSymantecWarmupPlan gets a reference to the given string and assigns it to the SymantecWarmupPlan field.

func (*AutoWarmupPlan) SetTrendmicroWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetTrendmicroWarmupPlan(v string)

SetTrendmicroWarmupPlan gets a reference to the given string and assigns it to the TrendmicroWarmupPlan field.

func (*AutoWarmupPlan) SetUpdated added in v1.0.2

func (o *AutoWarmupPlan) SetUpdated(v int64)

SetUpdated gets a reference to the given int64 and assigns it to the Updated field.

func (*AutoWarmupPlan) SetWarmupInterval added in v1.0.2

func (o *AutoWarmupPlan) SetWarmupInterval(v int32)

SetWarmupInterval gets a reference to the given int32 and assigns it to the WarmupInterval field.

func (*AutoWarmupPlan) SetYahooWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetYahooWarmupPlan(v string)

SetYahooWarmupPlan gets a reference to the given string and assigns it to the YahooWarmupPlan field.

func (*AutoWarmupPlan) SetYandexWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetYandexWarmupPlan(v string)

SetYandexWarmupPlan gets a reference to the given string and assigns it to the YandexWarmupPlan field.

func (*AutoWarmupPlan) SetZohoWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetZohoWarmupPlan(v string)

SetZohoWarmupPlan gets a reference to the given string and assigns it to the ZohoWarmupPlan field.

func (*AutoWarmupPlan) SetZohobusinessWarmupPlan added in v1.0.2

func (o *AutoWarmupPlan) SetZohobusinessWarmupPlan(v string)

SetZohobusinessWarmupPlan gets a reference to the given string and assigns it to the ZohobusinessWarmupPlan field.

func (AutoWarmupPlan) ToMap added in v1.0.2

func (o AutoWarmupPlan) ToMap() (map[string]interface{}, error)

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"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CopyTo

type CopyTo struct {
	Email *string `json:"email,omitempty"`
	Name  *string `json:"name,omitempty"`
	// Custom fields for personalization
	CustomFields map[string]interface{} `json:"customFields,omitempty"`
}

CopyTo struct for CopyTo

func NewCopyTo

func NewCopyTo() *CopyTo

NewCopyTo instantiates a new CopyTo 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 NewCopyToWithDefaults

func NewCopyToWithDefaults() *CopyTo

NewCopyToWithDefaults instantiates a new CopyTo 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 (*CopyTo) GetCustomFields

func (o *CopyTo) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*CopyTo) GetCustomFieldsOk

func (o *CopyTo) GetCustomFieldsOk() (map[string]interface{}, bool)

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

func (*CopyTo) GetEmail

func (o *CopyTo) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CopyTo) GetEmailOk

func (o *CopyTo) GetEmailOk() (*string, bool)

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

func (*CopyTo) GetName

func (o *CopyTo) GetName() string

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

func (*CopyTo) GetNameOk

func (o *CopyTo) 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 (*CopyTo) HasCustomFields

func (o *CopyTo) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*CopyTo) HasEmail

func (o *CopyTo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CopyTo) HasName

func (o *CopyTo) HasName() bool

HasName returns a boolean if a field has been set.

func (CopyTo) MarshalJSON

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

func (*CopyTo) SetCustomFields

func (o *CopyTo) SetCustomFields(v map[string]interface{})

SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field.

func (*CopyTo) SetEmail

func (o *CopyTo) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CopyTo) SetName

func (o *CopyTo) SetName(v string)

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

func (CopyTo) ToMap

func (o CopyTo) ToMap() (map[string]interface{}, error)

type CreateDomainRequest

type CreateDomainRequest struct {
	// Name of the domain (e.g., hooli.com).
	Name *string `json:"name,omitempty"`
}

CreateDomainRequest struct for CreateDomainRequest

func NewCreateDomainRequest

func NewCreateDomainRequest() *CreateDomainRequest

NewCreateDomainRequest instantiates a new CreateDomainRequest 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 NewCreateDomainRequestWithDefaults

func NewCreateDomainRequestWithDefaults() *CreateDomainRequest

NewCreateDomainRequestWithDefaults instantiates a new CreateDomainRequest 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 (*CreateDomainRequest) GetName

func (o *CreateDomainRequest) GetName() string

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

func (*CreateDomainRequest) GetNameOk

func (o *CreateDomainRequest) 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 (*CreateDomainRequest) HasName

func (o *CreateDomainRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateDomainRequest) MarshalJSON

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

func (*CreateDomainRequest) SetName

func (o *CreateDomainRequest) SetName(v string)

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

func (CreateDomainRequest) ToMap

func (o CreateDomainRequest) ToMap() (map[string]interface{}, error)

type CreateSubAccountRequest

type CreateSubAccountRequest struct {
	// Name for the new sub-account.
	Name *string `json:"name,omitempty"`
}

CreateSubAccountRequest struct for CreateSubAccountRequest

func NewCreateSubAccountRequest

func NewCreateSubAccountRequest() *CreateSubAccountRequest

NewCreateSubAccountRequest instantiates a new CreateSubAccountRequest 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 NewCreateSubAccountRequestWithDefaults

func NewCreateSubAccountRequestWithDefaults() *CreateSubAccountRequest

NewCreateSubAccountRequestWithDefaults instantiates a new CreateSubAccountRequest 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 (*CreateSubAccountRequest) GetName

func (o *CreateSubAccountRequest) GetName() string

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

func (*CreateSubAccountRequest) GetNameOk

func (o *CreateSubAccountRequest) 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 (*CreateSubAccountRequest) HasName

func (o *CreateSubAccountRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateSubAccountRequest) MarshalJSON

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

func (*CreateSubAccountRequest) SetName

func (o *CreateSubAccountRequest) SetName(v string)

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

func (CreateSubAccountRequest) ToMap

func (o CreateSubAccountRequest) ToMap() (map[string]interface{}, error)

type CreateSuppressionRequest

type CreateSuppressionRequest struct {
	// list of email addresses which you want to mark in hardBounce suppression list
	HardBounce []CreateSuppressionRequestHardBounceInner `json:"hardBounce,omitempty"`
	// list of email addresses which you want to mark in manual suppression list
	Manual []CreateSuppressionRequestManualInner `json:"manual,omitempty"`
	// list of email addresses which you want to mark in unsubscribe suppression list
	Unsubscribe []CreateSuppressionRequestUnsubscribeInner `json:"unsubscribe,omitempty"`
	// list of email addresses which you want to mark in spamComplaint suppression list
	SpamComplaint []CreateSuppressionRequestSpamComplaintInner `json:"spamComplaint,omitempty"`
}

CreateSuppressionRequest struct for CreateSuppressionRequest

func NewCreateSuppressionRequest

func NewCreateSuppressionRequest() *CreateSuppressionRequest

NewCreateSuppressionRequest instantiates a new CreateSuppressionRequest 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 NewCreateSuppressionRequestWithDefaults

func NewCreateSuppressionRequestWithDefaults() *CreateSuppressionRequest

NewCreateSuppressionRequestWithDefaults instantiates a new CreateSuppressionRequest 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 (*CreateSuppressionRequest) GetHardBounce

GetHardBounce returns the HardBounce field value if set, zero value otherwise.

func (*CreateSuppressionRequest) GetHardBounceOk

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

func (*CreateSuppressionRequest) GetManual

GetManual returns the Manual field value if set, zero value otherwise.

func (*CreateSuppressionRequest) GetManualOk

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

func (*CreateSuppressionRequest) GetSpamComplaint

GetSpamComplaint returns the SpamComplaint field value if set, zero value otherwise.

func (*CreateSuppressionRequest) GetSpamComplaintOk

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

func (*CreateSuppressionRequest) GetUnsubscribe

GetUnsubscribe returns the Unsubscribe field value if set, zero value otherwise.

func (*CreateSuppressionRequest) GetUnsubscribeOk

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

func (*CreateSuppressionRequest) HasHardBounce

func (o *CreateSuppressionRequest) HasHardBounce() bool

HasHardBounce returns a boolean if a field has been set.

func (*CreateSuppressionRequest) HasManual

func (o *CreateSuppressionRequest) HasManual() bool

HasManual returns a boolean if a field has been set.

func (*CreateSuppressionRequest) HasSpamComplaint

func (o *CreateSuppressionRequest) HasSpamComplaint() bool

HasSpamComplaint returns a boolean if a field has been set.

func (*CreateSuppressionRequest) HasUnsubscribe

func (o *CreateSuppressionRequest) HasUnsubscribe() bool

HasUnsubscribe returns a boolean if a field has been set.

func (CreateSuppressionRequest) MarshalJSON

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

func (*CreateSuppressionRequest) SetHardBounce

SetHardBounce gets a reference to the given []CreateSuppressionRequestHardBounceInner and assigns it to the HardBounce field.

func (*CreateSuppressionRequest) SetManual

SetManual gets a reference to the given []CreateSuppressionRequestManualInner and assigns it to the Manual field.

func (*CreateSuppressionRequest) SetSpamComplaint

SetSpamComplaint gets a reference to the given []CreateSuppressionRequestSpamComplaintInner and assigns it to the SpamComplaint field.

func (*CreateSuppressionRequest) SetUnsubscribe

SetUnsubscribe gets a reference to the given []CreateSuppressionRequestUnsubscribeInner and assigns it to the Unsubscribe field.

func (CreateSuppressionRequest) ToMap

func (o CreateSuppressionRequest) ToMap() (map[string]interface{}, error)

type CreateSuppressionRequestHardBounceInner

type CreateSuppressionRequestHardBounceInner struct {
	Email *string `json:"email,omitempty"`
}

CreateSuppressionRequestHardBounceInner struct for CreateSuppressionRequestHardBounceInner

func NewCreateSuppressionRequestHardBounceInner

func NewCreateSuppressionRequestHardBounceInner() *CreateSuppressionRequestHardBounceInner

NewCreateSuppressionRequestHardBounceInner instantiates a new CreateSuppressionRequestHardBounceInner 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 NewCreateSuppressionRequestHardBounceInnerWithDefaults

func NewCreateSuppressionRequestHardBounceInnerWithDefaults() *CreateSuppressionRequestHardBounceInner

NewCreateSuppressionRequestHardBounceInnerWithDefaults instantiates a new CreateSuppressionRequestHardBounceInner 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 (*CreateSuppressionRequestHardBounceInner) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateSuppressionRequestHardBounceInner) GetEmailOk

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

func (*CreateSuppressionRequestHardBounceInner) HasEmail

HasEmail returns a boolean if a field has been set.

func (CreateSuppressionRequestHardBounceInner) MarshalJSON

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

func (*CreateSuppressionRequestHardBounceInner) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

func (CreateSuppressionRequestHardBounceInner) ToMap

func (o CreateSuppressionRequestHardBounceInner) ToMap() (map[string]interface{}, error)

type CreateSuppressionRequestManualInner

type CreateSuppressionRequestManualInner struct {
	Email *string `json:"email,omitempty"`
}

CreateSuppressionRequestManualInner struct for CreateSuppressionRequestManualInner

func NewCreateSuppressionRequestManualInner

func NewCreateSuppressionRequestManualInner() *CreateSuppressionRequestManualInner

NewCreateSuppressionRequestManualInner instantiates a new CreateSuppressionRequestManualInner 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 NewCreateSuppressionRequestManualInnerWithDefaults

func NewCreateSuppressionRequestManualInnerWithDefaults() *CreateSuppressionRequestManualInner

NewCreateSuppressionRequestManualInnerWithDefaults instantiates a new CreateSuppressionRequestManualInner 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 (*CreateSuppressionRequestManualInner) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateSuppressionRequestManualInner) GetEmailOk

func (o *CreateSuppressionRequestManualInner) GetEmailOk() (*string, bool)

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

func (*CreateSuppressionRequestManualInner) HasEmail

HasEmail returns a boolean if a field has been set.

func (CreateSuppressionRequestManualInner) MarshalJSON

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

func (*CreateSuppressionRequestManualInner) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

func (CreateSuppressionRequestManualInner) ToMap

func (o CreateSuppressionRequestManualInner) ToMap() (map[string]interface{}, error)

type CreateSuppressionRequestSpamComplaintInner

type CreateSuppressionRequestSpamComplaintInner struct {
	Email *string `json:"email,omitempty"`
}

CreateSuppressionRequestSpamComplaintInner struct for CreateSuppressionRequestSpamComplaintInner

func NewCreateSuppressionRequestSpamComplaintInner

func NewCreateSuppressionRequestSpamComplaintInner() *CreateSuppressionRequestSpamComplaintInner

NewCreateSuppressionRequestSpamComplaintInner instantiates a new CreateSuppressionRequestSpamComplaintInner 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 NewCreateSuppressionRequestSpamComplaintInnerWithDefaults

func NewCreateSuppressionRequestSpamComplaintInnerWithDefaults() *CreateSuppressionRequestSpamComplaintInner

NewCreateSuppressionRequestSpamComplaintInnerWithDefaults instantiates a new CreateSuppressionRequestSpamComplaintInner 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 (*CreateSuppressionRequestSpamComplaintInner) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateSuppressionRequestSpamComplaintInner) GetEmailOk

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

func (*CreateSuppressionRequestSpamComplaintInner) HasEmail

HasEmail returns a boolean if a field has been set.

func (CreateSuppressionRequestSpamComplaintInner) MarshalJSON

func (*CreateSuppressionRequestSpamComplaintInner) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

func (CreateSuppressionRequestSpamComplaintInner) ToMap

func (o CreateSuppressionRequestSpamComplaintInner) ToMap() (map[string]interface{}, error)

type CreateSuppressionRequestUnsubscribeInner

type CreateSuppressionRequestUnsubscribeInner struct {
	Email *string `json:"email,omitempty"`
}

CreateSuppressionRequestUnsubscribeInner struct for CreateSuppressionRequestUnsubscribeInner

func NewCreateSuppressionRequestUnsubscribeInner

func NewCreateSuppressionRequestUnsubscribeInner() *CreateSuppressionRequestUnsubscribeInner

NewCreateSuppressionRequestUnsubscribeInner instantiates a new CreateSuppressionRequestUnsubscribeInner 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 NewCreateSuppressionRequestUnsubscribeInnerWithDefaults

func NewCreateSuppressionRequestUnsubscribeInnerWithDefaults() *CreateSuppressionRequestUnsubscribeInner

NewCreateSuppressionRequestUnsubscribeInnerWithDefaults instantiates a new CreateSuppressionRequestUnsubscribeInner 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 (*CreateSuppressionRequestUnsubscribeInner) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*CreateSuppressionRequestUnsubscribeInner) GetEmailOk

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

func (*CreateSuppressionRequestUnsubscribeInner) HasEmail

HasEmail returns a boolean if a field has been set.

func (CreateSuppressionRequestUnsubscribeInner) MarshalJSON

func (*CreateSuppressionRequestUnsubscribeInner) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

func (CreateSuppressionRequestUnsubscribeInner) ToMap

func (o CreateSuppressionRequestUnsubscribeInner) ToMap() (map[string]interface{}, error)

type CreateWebhookRequest

type CreateWebhookRequest struct {
	// Is the webhook active or in a paused state?
	Enabled *bool `json:"enabled,omitempty"`
	// URL endpoint to which webhook calls are sent.
	Url *string `json:"url,omitempty"`
	// Trigger webhook on email message being processed.
	Processed *bool `json:"processed,omitempty"`
	// Trigger webhook on email message being delivered.
	Delivered *bool `json:"delivered,omitempty"`
	// Trigger webhook on email message being dropped.
	Dropped *bool `json:"dropped,omitempty"`
	// Trigger webhook on email message being soft bounced.
	SoftBounced *bool `json:"softBounced,omitempty"`
	// Trigger webhook on email message being hard bounced.
	HardBounced *bool `json:"hardBounced,omitempty"`
	// Trigger webhook on email message being opened.
	Opened *bool `json:"opened,omitempty"`
	// Trigger webhook on email message link being clicked.
	Clicked *bool `json:"clicked,omitempty"`
	// Trigger webhook on email message being unsubscribed.
	Unsubscribed *bool `json:"unsubscribed,omitempty"`
	// Trigger webhook on email message being marked as spam.
	Spam *bool `json:"spam,omitempty"`
	// Trigger webhook on email message being sent.
	Sent *bool `json:"sent,omitempty"`
	// Trigger webhook on email message being dropped by SMTP.
	SmtpDropped *bool `json:"smtpDropped,omitempty"`
	// Trigger webhook on unique email opens.
	UniqueOpen *bool `json:"uniqueOpen,omitempty"`
	// Trigger webhook on unique email clicks.
	UniqueClick *bool `json:"uniqueClick,omitempty"`
}

CreateWebhookRequest struct for CreateWebhookRequest

func NewCreateWebhookRequest

func NewCreateWebhookRequest() *CreateWebhookRequest

NewCreateWebhookRequest instantiates a new CreateWebhookRequest 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 NewCreateWebhookRequestWithDefaults

func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest

NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest 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 (*CreateWebhookRequest) GetClicked

func (o *CreateWebhookRequest) GetClicked() bool

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetClickedOk

func (o *CreateWebhookRequest) GetClickedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetDelivered

func (o *CreateWebhookRequest) GetDelivered() bool

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetDeliveredOk

func (o *CreateWebhookRequest) GetDeliveredOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetDropped

func (o *CreateWebhookRequest) GetDropped() bool

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetDroppedOk

func (o *CreateWebhookRequest) GetDroppedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetEnabled

func (o *CreateWebhookRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetEnabledOk

func (o *CreateWebhookRequest) 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 (*CreateWebhookRequest) GetHardBounced

func (o *CreateWebhookRequest) GetHardBounced() bool

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetHardBouncedOk

func (o *CreateWebhookRequest) GetHardBouncedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetOpened

func (o *CreateWebhookRequest) GetOpened() bool

GetOpened returns the Opened field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetOpenedOk

func (o *CreateWebhookRequest) GetOpenedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetProcessed

func (o *CreateWebhookRequest) GetProcessed() bool

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetProcessedOk

func (o *CreateWebhookRequest) GetProcessedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetSent

func (o *CreateWebhookRequest) GetSent() bool

GetSent returns the Sent field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetSentOk

func (o *CreateWebhookRequest) GetSentOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetSmtpDropped

func (o *CreateWebhookRequest) GetSmtpDropped() bool

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetSmtpDroppedOk

func (o *CreateWebhookRequest) GetSmtpDroppedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetSoftBounced

func (o *CreateWebhookRequest) GetSoftBounced() bool

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetSoftBouncedOk

func (o *CreateWebhookRequest) GetSoftBouncedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetSpam

func (o *CreateWebhookRequest) GetSpam() bool

GetSpam returns the Spam field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetSpamOk

func (o *CreateWebhookRequest) GetSpamOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUniqueClick

func (o *CreateWebhookRequest) GetUniqueClick() bool

GetUniqueClick returns the UniqueClick field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetUniqueClickOk

func (o *CreateWebhookRequest) GetUniqueClickOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUniqueOpen

func (o *CreateWebhookRequest) GetUniqueOpen() bool

GetUniqueOpen returns the UniqueOpen field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetUniqueOpenOk

func (o *CreateWebhookRequest) GetUniqueOpenOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUnsubscribed

func (o *CreateWebhookRequest) GetUnsubscribed() bool

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetUnsubscribedOk

func (o *CreateWebhookRequest) GetUnsubscribedOk() (*bool, bool)

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

func (*CreateWebhookRequest) GetUrl

func (o *CreateWebhookRequest) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CreateWebhookRequest) GetUrlOk

func (o *CreateWebhookRequest) GetUrlOk() (*string, bool)

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

func (*CreateWebhookRequest) HasClicked

func (o *CreateWebhookRequest) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasDelivered

func (o *CreateWebhookRequest) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasDropped

func (o *CreateWebhookRequest) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasEnabled

func (o *CreateWebhookRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasHardBounced

func (o *CreateWebhookRequest) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasOpened

func (o *CreateWebhookRequest) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasProcessed

func (o *CreateWebhookRequest) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasSent

func (o *CreateWebhookRequest) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasSmtpDropped

func (o *CreateWebhookRequest) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasSoftBounced

func (o *CreateWebhookRequest) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasSpam

func (o *CreateWebhookRequest) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasUniqueClick

func (o *CreateWebhookRequest) HasUniqueClick() bool

HasUniqueClick returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasUniqueOpen

func (o *CreateWebhookRequest) HasUniqueOpen() bool

HasUniqueOpen returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasUnsubscribed

func (o *CreateWebhookRequest) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (*CreateWebhookRequest) HasUrl

func (o *CreateWebhookRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (CreateWebhookRequest) MarshalJSON

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

func (*CreateWebhookRequest) SetClicked

func (o *CreateWebhookRequest) SetClicked(v bool)

SetClicked gets a reference to the given bool and assigns it to the Clicked field.

func (*CreateWebhookRequest) SetDelivered

func (o *CreateWebhookRequest) SetDelivered(v bool)

SetDelivered gets a reference to the given bool and assigns it to the Delivered field.

func (*CreateWebhookRequest) SetDropped

func (o *CreateWebhookRequest) SetDropped(v bool)

SetDropped gets a reference to the given bool and assigns it to the Dropped field.

func (*CreateWebhookRequest) SetEnabled

func (o *CreateWebhookRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateWebhookRequest) SetHardBounced

func (o *CreateWebhookRequest) SetHardBounced(v bool)

SetHardBounced gets a reference to the given bool and assigns it to the HardBounced field.

func (*CreateWebhookRequest) SetOpened

func (o *CreateWebhookRequest) SetOpened(v bool)

SetOpened gets a reference to the given bool and assigns it to the Opened field.

func (*CreateWebhookRequest) SetProcessed

func (o *CreateWebhookRequest) SetProcessed(v bool)

SetProcessed gets a reference to the given bool and assigns it to the Processed field.

func (*CreateWebhookRequest) SetSent

func (o *CreateWebhookRequest) SetSent(v bool)

SetSent gets a reference to the given bool and assigns it to the Sent field.

func (*CreateWebhookRequest) SetSmtpDropped

func (o *CreateWebhookRequest) SetSmtpDropped(v bool)

SetSmtpDropped gets a reference to the given bool and assigns it to the SmtpDropped field.

func (*CreateWebhookRequest) SetSoftBounced

func (o *CreateWebhookRequest) SetSoftBounced(v bool)

SetSoftBounced gets a reference to the given bool and assigns it to the SoftBounced field.

func (*CreateWebhookRequest) SetSpam

func (o *CreateWebhookRequest) SetSpam(v bool)

SetSpam gets a reference to the given bool and assigns it to the Spam field.

func (*CreateWebhookRequest) SetUniqueClick

func (o *CreateWebhookRequest) SetUniqueClick(v bool)

SetUniqueClick gets a reference to the given bool and assigns it to the UniqueClick field.

func (*CreateWebhookRequest) SetUniqueOpen

func (o *CreateWebhookRequest) SetUniqueOpen(v bool)

SetUniqueOpen gets a reference to the given bool and assigns it to the UniqueOpen field.

func (*CreateWebhookRequest) SetUnsubscribed

func (o *CreateWebhookRequest) SetUnsubscribed(v bool)

SetUnsubscribed gets a reference to the given bool and assigns it to the Unsubscribed field.

func (*CreateWebhookRequest) SetUrl

func (o *CreateWebhookRequest) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (CreateWebhookRequest) ToMap

func (o CreateWebhookRequest) ToMap() (map[string]interface{}, error)

type DeleteResponse

type DeleteResponse struct {
	// ID of the deleted domain.
	Id *int32 `json:"id,omitempty"`
	// Success message.
	Message *string `json:"message,omitempty"`
}

DeleteResponse struct for DeleteResponse

func NewDeleteResponse

func NewDeleteResponse() *DeleteResponse

NewDeleteResponse instantiates a new DeleteResponse 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 NewDeleteResponseWithDefaults

func NewDeleteResponseWithDefaults() *DeleteResponse

NewDeleteResponseWithDefaults instantiates a new DeleteResponse 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 (*DeleteResponse) GetId

func (o *DeleteResponse) GetId() int32

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

func (*DeleteResponse) GetIdOk

func (o *DeleteResponse) 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 (*DeleteResponse) GetMessage

func (o *DeleteResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteResponse) GetMessageOk

func (o *DeleteResponse) GetMessageOk() (*string, bool)

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

func (*DeleteResponse) HasId

func (o *DeleteResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeleteResponse) HasMessage

func (o *DeleteResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteResponse) MarshalJSON

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

func (*DeleteResponse) SetId

func (o *DeleteResponse) SetId(v int32)

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

func (*DeleteResponse) SetMessage

func (o *DeleteResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (DeleteResponse) ToMap

func (o DeleteResponse) ToMap() (map[string]interface{}, error)

type DeleteSubAccountResponse

type DeleteSubAccountResponse struct {
	// Unique ID for the deleted sub-account.
	Id *int32 `json:"id,omitempty"`
	// Message confirming the deletion.
	Message *string `json:"message,omitempty"`
}

DeleteSubAccountResponse struct for DeleteSubAccountResponse

func NewDeleteSubAccountResponse

func NewDeleteSubAccountResponse() *DeleteSubAccountResponse

NewDeleteSubAccountResponse instantiates a new DeleteSubAccountResponse 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 NewDeleteSubAccountResponseWithDefaults

func NewDeleteSubAccountResponseWithDefaults() *DeleteSubAccountResponse

NewDeleteSubAccountResponseWithDefaults instantiates a new DeleteSubAccountResponse 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 (*DeleteSubAccountResponse) GetId

func (o *DeleteSubAccountResponse) GetId() int32

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

func (*DeleteSubAccountResponse) GetIdOk

func (o *DeleteSubAccountResponse) 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 (*DeleteSubAccountResponse) GetMessage

func (o *DeleteSubAccountResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteSubAccountResponse) GetMessageOk

func (o *DeleteSubAccountResponse) GetMessageOk() (*string, bool)

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

func (*DeleteSubAccountResponse) HasId

func (o *DeleteSubAccountResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeleteSubAccountResponse) HasMessage

func (o *DeleteSubAccountResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteSubAccountResponse) MarshalJSON

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

func (*DeleteSubAccountResponse) SetId

func (o *DeleteSubAccountResponse) SetId(v int32)

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

func (*DeleteSubAccountResponse) SetMessage

func (o *DeleteSubAccountResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (DeleteSubAccountResponse) ToMap

func (o DeleteSubAccountResponse) ToMap() (map[string]interface{}, error)

type DeleteSuppression200ResponseInner

type DeleteSuppression200ResponseInner struct {
	// The ID of the deleted suppression
	Id *int32 `json:"id,omitempty"`
	// A success message after the suppression(s) are deleted
	Message *string `json:"message,omitempty"`
}

DeleteSuppression200ResponseInner struct for DeleteSuppression200ResponseInner

func NewDeleteSuppression200ResponseInner

func NewDeleteSuppression200ResponseInner() *DeleteSuppression200ResponseInner

NewDeleteSuppression200ResponseInner instantiates a new DeleteSuppression200ResponseInner 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 NewDeleteSuppression200ResponseInnerWithDefaults

func NewDeleteSuppression200ResponseInnerWithDefaults() *DeleteSuppression200ResponseInner

NewDeleteSuppression200ResponseInnerWithDefaults instantiates a new DeleteSuppression200ResponseInner 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 (*DeleteSuppression200ResponseInner) GetId

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

func (*DeleteSuppression200ResponseInner) GetIdOk

func (o *DeleteSuppression200ResponseInner) 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 (*DeleteSuppression200ResponseInner) GetMessage

func (o *DeleteSuppression200ResponseInner) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteSuppression200ResponseInner) GetMessageOk

func (o *DeleteSuppression200ResponseInner) GetMessageOk() (*string, bool)

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

func (*DeleteSuppression200ResponseInner) HasId

HasId returns a boolean if a field has been set.

func (*DeleteSuppression200ResponseInner) HasMessage

func (o *DeleteSuppression200ResponseInner) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteSuppression200ResponseInner) MarshalJSON

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

func (*DeleteSuppression200ResponseInner) SetId

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

func (*DeleteSuppression200ResponseInner) SetMessage

func (o *DeleteSuppression200ResponseInner) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (DeleteSuppression200ResponseInner) ToMap

func (o DeleteSuppression200ResponseInner) ToMap() (map[string]interface{}, error)

type DeleteSuppressionRequest

type DeleteSuppressionRequest struct {
	Suppressions []CreateSuppressionRequestSpamComplaintInner `json:"suppressions,omitempty"`
}

DeleteSuppressionRequest struct for DeleteSuppressionRequest

func NewDeleteSuppressionRequest

func NewDeleteSuppressionRequest() *DeleteSuppressionRequest

NewDeleteSuppressionRequest instantiates a new DeleteSuppressionRequest 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 NewDeleteSuppressionRequestWithDefaults

func NewDeleteSuppressionRequestWithDefaults() *DeleteSuppressionRequest

NewDeleteSuppressionRequestWithDefaults instantiates a new DeleteSuppressionRequest 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 (*DeleteSuppressionRequest) GetSuppressions

GetSuppressions returns the Suppressions field value if set, zero value otherwise.

func (*DeleteSuppressionRequest) GetSuppressionsOk

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

func (*DeleteSuppressionRequest) HasSuppressions

func (o *DeleteSuppressionRequest) HasSuppressions() bool

HasSuppressions returns a boolean if a field has been set.

func (DeleteSuppressionRequest) MarshalJSON

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

func (*DeleteSuppressionRequest) SetSuppressions

SetSuppressions gets a reference to the given []CreateSuppressionRequestSpamComplaintInner and assigns it to the Suppressions field.

func (DeleteSuppressionRequest) ToMap

func (o DeleteSuppressionRequest) ToMap() (map[string]interface{}, error)

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	// Unique ID of the deleted webhook.
	Id *int32 `json:"id,omitempty"`
	// Success message.
	Message *string `json:"message,omitempty"`
}

DeleteWebhookResponse struct for DeleteWebhookResponse

func NewDeleteWebhookResponse

func NewDeleteWebhookResponse() *DeleteWebhookResponse

NewDeleteWebhookResponse instantiates a new DeleteWebhookResponse 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 NewDeleteWebhookResponseWithDefaults

func NewDeleteWebhookResponseWithDefaults() *DeleteWebhookResponse

NewDeleteWebhookResponseWithDefaults instantiates a new DeleteWebhookResponse 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 (*DeleteWebhookResponse) GetId

func (o *DeleteWebhookResponse) GetId() int32

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

func (*DeleteWebhookResponse) GetIdOk

func (o *DeleteWebhookResponse) 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 (*DeleteWebhookResponse) GetMessage

func (o *DeleteWebhookResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DeleteWebhookResponse) GetMessageOk

func (o *DeleteWebhookResponse) GetMessageOk() (*string, bool)

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

func (*DeleteWebhookResponse) HasId

func (o *DeleteWebhookResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeleteWebhookResponse) HasMessage

func (o *DeleteWebhookResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (DeleteWebhookResponse) MarshalJSON

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

func (*DeleteWebhookResponse) SetId

func (o *DeleteWebhookResponse) SetId(v int32)

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

func (*DeleteWebhookResponse) SetMessage

func (o *DeleteWebhookResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (DeleteWebhookResponse) ToMap

func (o DeleteWebhookResponse) ToMap() (map[string]interface{}, error)

type Device

type Device struct {
	Family *string `json:"Family,omitempty"`
}

Device struct for Device

func NewDevice

func NewDevice() *Device

NewDevice instantiates a new Device 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 NewDeviceWithDefaults

func NewDeviceWithDefaults() *Device

NewDeviceWithDefaults instantiates a new Device 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 (*Device) GetFamily

func (o *Device) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*Device) GetFamilyOk

func (o *Device) GetFamilyOk() (*string, bool)

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

func (*Device) HasFamily

func (o *Device) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (Device) MarshalJSON

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

func (*Device) SetFamily

func (o *Device) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (Device) ToMap

func (o Device) ToMap() (map[string]interface{}, error)

type Domain

type Domain struct {
	// Unique ID for the domain.
	Id *int32 `json:"id,omitempty"`
	// Name of the domain.
	Name       *string           `json:"name,omitempty"`
	Dkim       *DomainDkim       `json:"dkim,omitempty"`
	Spf        *DomainSpf        `json:"spf,omitempty"`
	ReturnPath *DomainReturnPath `json:"returnPath,omitempty"`
	Track      *DomainTrack      `json:"track,omitempty"`
	Dmarc      *DomainDmarc      `json:"dmarc,omitempty"`
	// DKIM configuration
	DkimConfig *string `json:"dkimConfig,omitempty"`
	// Status of DKIM verification ( true or false )
	DkimVerified *bool `json:"dkimVerified,omitempty"`
	// Status of SPF verification ( true or false )
	SpfVerified *bool `json:"spfVerified,omitempty"`
	// Status of Mailbox verification ( true or false )
	MailboxVerified *bool `json:"mailboxVerified,omitempty"`
	// Status of DMARC verification ( true or false)
	DmarcVerified *bool `json:"dmarcVerified,omitempty"`
	// Status of ReturnPath verification ( true or false )
	ReturnPathVerified *bool `json:"returnPathVerified,omitempty"`
	// Status of Track verification ( true or false )
	TrackVerified *bool `json:"trackVerified,omitempty"`
	// Overall verification status of the domain
	Verified *bool `json:"verified,omitempty"`
	// Date when the domain was registered
	DomainRegisteredDate *string `json:"domainRegisteredDate,omitempty"`
	// UNIX epoch timestamp in nanoseconds.
	Created *int64 `json:"created,omitempty"`
	// Status of GPT verification ( true or false )
	GptVerified *bool      `json:"gptVerified,omitempty"`
	Gpt         *DomainGpt `json:"gpt,omitempty"`
	// Reason for DMARC verification failure
	DmarcFailureReason *string `json:"dmarcFailureReason,omitempty"`
	// Reason for DKIM verification failure
	DkimFailureReason *string `json:"dkimFailureReason,omitempty"`
	// Reason for Track verification failure
	TrackFailureReason *string `json:"trackFailureReason,omitempty"`
	// Reason for ReturnPath verification failure
	ReturnPathFailureReason *string `json:"returnPathFailureReason,omitempty"`
}

Domain struct for Domain

func NewDomain

func NewDomain() *Domain

NewDomain instantiates a new Domain 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 NewDomainWithDefaults

func NewDomainWithDefaults() *Domain

NewDomainWithDefaults instantiates a new Domain 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 (*Domain) GetCreated

func (o *Domain) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*Domain) GetCreatedOk

func (o *Domain) GetCreatedOk() (*int64, bool)

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

func (*Domain) GetDkim

func (o *Domain) GetDkim() DomainDkim

GetDkim returns the Dkim field value if set, zero value otherwise.

func (*Domain) GetDkimConfig

func (o *Domain) GetDkimConfig() string

GetDkimConfig returns the DkimConfig field value if set, zero value otherwise.

func (*Domain) GetDkimConfigOk

func (o *Domain) GetDkimConfigOk() (*string, bool)

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

func (*Domain) GetDkimFailureReason

func (o *Domain) GetDkimFailureReason() string

GetDkimFailureReason returns the DkimFailureReason field value if set, zero value otherwise.

func (*Domain) GetDkimFailureReasonOk

func (o *Domain) GetDkimFailureReasonOk() (*string, bool)

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

func (*Domain) GetDkimOk

func (o *Domain) GetDkimOk() (*DomainDkim, bool)

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

func (*Domain) GetDkimVerified

func (o *Domain) GetDkimVerified() bool

GetDkimVerified returns the DkimVerified field value if set, zero value otherwise.

func (*Domain) GetDkimVerifiedOk

func (o *Domain) GetDkimVerifiedOk() (*bool, bool)

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

func (*Domain) GetDmarc

func (o *Domain) GetDmarc() DomainDmarc

GetDmarc returns the Dmarc field value if set, zero value otherwise.

func (*Domain) GetDmarcFailureReason

func (o *Domain) GetDmarcFailureReason() string

GetDmarcFailureReason returns the DmarcFailureReason field value if set, zero value otherwise.

func (*Domain) GetDmarcFailureReasonOk

func (o *Domain) GetDmarcFailureReasonOk() (*string, bool)

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

func (*Domain) GetDmarcOk

func (o *Domain) GetDmarcOk() (*DomainDmarc, bool)

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

func (*Domain) GetDmarcVerified

func (o *Domain) GetDmarcVerified() bool

GetDmarcVerified returns the DmarcVerified field value if set, zero value otherwise.

func (*Domain) GetDmarcVerifiedOk

func (o *Domain) GetDmarcVerifiedOk() (*bool, bool)

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

func (*Domain) GetDomainRegisteredDate

func (o *Domain) GetDomainRegisteredDate() string

GetDomainRegisteredDate returns the DomainRegisteredDate field value if set, zero value otherwise.

func (*Domain) GetDomainRegisteredDateOk

func (o *Domain) GetDomainRegisteredDateOk() (*string, bool)

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

func (*Domain) GetGpt

func (o *Domain) GetGpt() DomainGpt

GetGpt returns the Gpt field value if set, zero value otherwise.

func (*Domain) GetGptOk

func (o *Domain) GetGptOk() (*DomainGpt, bool)

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

func (*Domain) GetGptVerified

func (o *Domain) GetGptVerified() bool

GetGptVerified returns the GptVerified field value if set, zero value otherwise.

func (*Domain) GetGptVerifiedOk

func (o *Domain) GetGptVerifiedOk() (*bool, bool)

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

func (*Domain) GetId

func (o *Domain) GetId() int32

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

func (*Domain) GetIdOk

func (o *Domain) 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 (*Domain) GetMailboxVerified added in v1.0.2

func (o *Domain) GetMailboxVerified() bool

GetMailboxVerified returns the MailboxVerified field value if set, zero value otherwise.

func (*Domain) GetMailboxVerifiedOk added in v1.0.2

func (o *Domain) GetMailboxVerifiedOk() (*bool, bool)

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

func (*Domain) GetName

func (o *Domain) GetName() string

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

func (*Domain) GetNameOk

func (o *Domain) 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 (*Domain) GetReturnPath

func (o *Domain) GetReturnPath() DomainReturnPath

GetReturnPath returns the ReturnPath field value if set, zero value otherwise.

func (*Domain) GetReturnPathFailureReason

func (o *Domain) GetReturnPathFailureReason() string

GetReturnPathFailureReason returns the ReturnPathFailureReason field value if set, zero value otherwise.

func (*Domain) GetReturnPathFailureReasonOk

func (o *Domain) GetReturnPathFailureReasonOk() (*string, bool)

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

func (*Domain) GetReturnPathOk

func (o *Domain) GetReturnPathOk() (*DomainReturnPath, bool)

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

func (*Domain) GetReturnPathVerified

func (o *Domain) GetReturnPathVerified() bool

GetReturnPathVerified returns the ReturnPathVerified field value if set, zero value otherwise.

func (*Domain) GetReturnPathVerifiedOk

func (o *Domain) GetReturnPathVerifiedOk() (*bool, bool)

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

func (*Domain) GetSpf added in v1.0.2

func (o *Domain) GetSpf() DomainSpf

GetSpf returns the Spf field value if set, zero value otherwise.

func (*Domain) GetSpfOk added in v1.0.2

func (o *Domain) GetSpfOk() (*DomainSpf, bool)

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

func (*Domain) GetSpfVerified added in v1.0.2

func (o *Domain) GetSpfVerified() bool

GetSpfVerified returns the SpfVerified field value if set, zero value otherwise.

func (*Domain) GetSpfVerifiedOk added in v1.0.2

func (o *Domain) GetSpfVerifiedOk() (*bool, bool)

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

func (*Domain) GetTrack

func (o *Domain) GetTrack() DomainTrack

GetTrack returns the Track field value if set, zero value otherwise.

func (*Domain) GetTrackFailureReason

func (o *Domain) GetTrackFailureReason() string

GetTrackFailureReason returns the TrackFailureReason field value if set, zero value otherwise.

func (*Domain) GetTrackFailureReasonOk

func (o *Domain) GetTrackFailureReasonOk() (*string, bool)

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

func (*Domain) GetTrackOk

func (o *Domain) GetTrackOk() (*DomainTrack, 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 (*Domain) GetTrackVerified

func (o *Domain) GetTrackVerified() bool

GetTrackVerified returns the TrackVerified field value if set, zero value otherwise.

func (*Domain) GetTrackVerifiedOk

func (o *Domain) GetTrackVerifiedOk() (*bool, bool)

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

func (*Domain) GetVerified

func (o *Domain) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*Domain) GetVerifiedOk

func (o *Domain) 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 (*Domain) HasCreated

func (o *Domain) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Domain) HasDkim

func (o *Domain) HasDkim() bool

HasDkim returns a boolean if a field has been set.

func (*Domain) HasDkimConfig

func (o *Domain) HasDkimConfig() bool

HasDkimConfig returns a boolean if a field has been set.

func (*Domain) HasDkimFailureReason

func (o *Domain) HasDkimFailureReason() bool

HasDkimFailureReason returns a boolean if a field has been set.

func (*Domain) HasDkimVerified

func (o *Domain) HasDkimVerified() bool

HasDkimVerified returns a boolean if a field has been set.

func (*Domain) HasDmarc

func (o *Domain) HasDmarc() bool

HasDmarc returns a boolean if a field has been set.

func (*Domain) HasDmarcFailureReason

func (o *Domain) HasDmarcFailureReason() bool

HasDmarcFailureReason returns a boolean if a field has been set.

func (*Domain) HasDmarcVerified

func (o *Domain) HasDmarcVerified() bool

HasDmarcVerified returns a boolean if a field has been set.

func (*Domain) HasDomainRegisteredDate

func (o *Domain) HasDomainRegisteredDate() bool

HasDomainRegisteredDate returns a boolean if a field has been set.

func (*Domain) HasGpt

func (o *Domain) HasGpt() bool

HasGpt returns a boolean if a field has been set.

func (*Domain) HasGptVerified

func (o *Domain) HasGptVerified() bool

HasGptVerified returns a boolean if a field has been set.

func (*Domain) HasId

func (o *Domain) HasId() bool

HasId returns a boolean if a field has been set.

func (*Domain) HasMailboxVerified added in v1.0.2

func (o *Domain) HasMailboxVerified() bool

HasMailboxVerified returns a boolean if a field has been set.

func (*Domain) HasName

func (o *Domain) HasName() bool

HasName returns a boolean if a field has been set.

func (*Domain) HasReturnPath

func (o *Domain) HasReturnPath() bool

HasReturnPath returns a boolean if a field has been set.

func (*Domain) HasReturnPathFailureReason

func (o *Domain) HasReturnPathFailureReason() bool

HasReturnPathFailureReason returns a boolean if a field has been set.

func (*Domain) HasReturnPathVerified

func (o *Domain) HasReturnPathVerified() bool

HasReturnPathVerified returns a boolean if a field has been set.

func (*Domain) HasSpf added in v1.0.2

func (o *Domain) HasSpf() bool

HasSpf returns a boolean if a field has been set.

func (*Domain) HasSpfVerified added in v1.0.2

func (o *Domain) HasSpfVerified() bool

HasSpfVerified returns a boolean if a field has been set.

func (*Domain) HasTrack

func (o *Domain) HasTrack() bool

HasTrack returns a boolean if a field has been set.

func (*Domain) HasTrackFailureReason

func (o *Domain) HasTrackFailureReason() bool

HasTrackFailureReason returns a boolean if a field has been set.

func (*Domain) HasTrackVerified

func (o *Domain) HasTrackVerified() bool

HasTrackVerified returns a boolean if a field has been set.

func (*Domain) HasVerified

func (o *Domain) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (Domain) MarshalJSON

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

func (*Domain) SetCreated

func (o *Domain) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*Domain) SetDkim

func (o *Domain) SetDkim(v DomainDkim)

SetDkim gets a reference to the given DomainDkim and assigns it to the Dkim field.

func (*Domain) SetDkimConfig

func (o *Domain) SetDkimConfig(v string)

SetDkimConfig gets a reference to the given string and assigns it to the DkimConfig field.

func (*Domain) SetDkimFailureReason

func (o *Domain) SetDkimFailureReason(v string)

SetDkimFailureReason gets a reference to the given string and assigns it to the DkimFailureReason field.

func (*Domain) SetDkimVerified

func (o *Domain) SetDkimVerified(v bool)

SetDkimVerified gets a reference to the given bool and assigns it to the DkimVerified field.

func (*Domain) SetDmarc

func (o *Domain) SetDmarc(v DomainDmarc)

SetDmarc gets a reference to the given DomainDmarc and assigns it to the Dmarc field.

func (*Domain) SetDmarcFailureReason

func (o *Domain) SetDmarcFailureReason(v string)

SetDmarcFailureReason gets a reference to the given string and assigns it to the DmarcFailureReason field.

func (*Domain) SetDmarcVerified

func (o *Domain) SetDmarcVerified(v bool)

SetDmarcVerified gets a reference to the given bool and assigns it to the DmarcVerified field.

func (*Domain) SetDomainRegisteredDate

func (o *Domain) SetDomainRegisteredDate(v string)

SetDomainRegisteredDate gets a reference to the given string and assigns it to the DomainRegisteredDate field.

func (*Domain) SetGpt

func (o *Domain) SetGpt(v DomainGpt)

SetGpt gets a reference to the given DomainGpt and assigns it to the Gpt field.

func (*Domain) SetGptVerified

func (o *Domain) SetGptVerified(v bool)

SetGptVerified gets a reference to the given bool and assigns it to the GptVerified field.

func (*Domain) SetId

func (o *Domain) SetId(v int32)

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

func (*Domain) SetMailboxVerified added in v1.0.2

func (o *Domain) SetMailboxVerified(v bool)

SetMailboxVerified gets a reference to the given bool and assigns it to the MailboxVerified field.

func (*Domain) SetName

func (o *Domain) SetName(v string)

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

func (*Domain) SetReturnPath

func (o *Domain) SetReturnPath(v DomainReturnPath)

SetReturnPath gets a reference to the given DomainReturnPath and assigns it to the ReturnPath field.

func (*Domain) SetReturnPathFailureReason

func (o *Domain) SetReturnPathFailureReason(v string)

SetReturnPathFailureReason gets a reference to the given string and assigns it to the ReturnPathFailureReason field.

func (*Domain) SetReturnPathVerified

func (o *Domain) SetReturnPathVerified(v bool)

SetReturnPathVerified gets a reference to the given bool and assigns it to the ReturnPathVerified field.

func (*Domain) SetSpf added in v1.0.2

func (o *Domain) SetSpf(v DomainSpf)

SetSpf gets a reference to the given DomainSpf and assigns it to the Spf field.

func (*Domain) SetSpfVerified added in v1.0.2

func (o *Domain) SetSpfVerified(v bool)

SetSpfVerified gets a reference to the given bool and assigns it to the SpfVerified field.

func (*Domain) SetTrack

func (o *Domain) SetTrack(v DomainTrack)

SetTrack gets a reference to the given DomainTrack and assigns it to the Track field.

func (*Domain) SetTrackFailureReason

func (o *Domain) SetTrackFailureReason(v string)

SetTrackFailureReason gets a reference to the given string and assigns it to the TrackFailureReason field.

func (*Domain) SetTrackVerified

func (o *Domain) SetTrackVerified(v bool)

SetTrackVerified gets a reference to the given bool and assigns it to the TrackVerified field.

func (*Domain) SetVerified

func (o *Domain) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (Domain) ToMap

func (o Domain) ToMap() (map[string]interface{}, error)

type DomainAPIService

type DomainAPIService service

DomainAPIService DomainAPI service

func (*DomainAPIService) GetAllDomains

GetAllDomains List Domains

Retrieve a list of all domains associated with the sub-account, including their DNS records and authentication status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllDomainsRequest

func (*DomainAPIService) GetAllDomainsExecute

func (a *DomainAPIService) GetAllDomainsExecute(r ApiGetAllDomainsRequest) ([]Domain, *http.Response, error)

Execute executes the request

@return []Domain

func (*DomainAPIService) SubaccountDomainDomainIdDelete

func (a *DomainAPIService) SubaccountDomainDomainIdDelete(ctx context.Context, domainId string) ApiSubaccountDomainDomainIdDeleteRequest

SubaccountDomainDomainIdDelete Delete Domain

Delete a specific domain using its `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param domainId The unique ID of the domain to delete.
@return ApiSubaccountDomainDomainIdDeleteRequest

func (*DomainAPIService) SubaccountDomainDomainIdDeleteExecute

func (a *DomainAPIService) SubaccountDomainDomainIdDeleteExecute(r ApiSubaccountDomainDomainIdDeleteRequest) (*DeleteResponse, *http.Response, error)

Execute executes the request

@return DeleteResponse

func (*DomainAPIService) SubaccountDomainDomainIdGet

func (a *DomainAPIService) SubaccountDomainDomainIdGet(ctx context.Context, domainId string) ApiSubaccountDomainDomainIdGetRequest

SubaccountDomainDomainIdGet Get Domain

Retrieve details of a specific domain using its `id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param domainId The unique ID of the domain to retrieve.
@return ApiSubaccountDomainDomainIdGetRequest

func (*DomainAPIService) SubaccountDomainDomainIdGetExecute

func (a *DomainAPIService) SubaccountDomainDomainIdGetExecute(r ApiSubaccountDomainDomainIdGetRequest) (*Domain, *http.Response, error)

Execute executes the request

@return Domain

func (*DomainAPIService) SubaccountDomainPost

func (a *DomainAPIService) SubaccountDomainPost(ctx context.Context) ApiSubaccountDomainPostRequest

SubaccountDomainPost Create Domain

Add a new domain using its `name`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSubaccountDomainPostRequest

func (*DomainAPIService) SubaccountDomainPostExecute

func (a *DomainAPIService) SubaccountDomainPostExecute(r ApiSubaccountDomainPostRequest) (*Domain, *http.Response, error)

Execute executes the request

@return Domain

type DomainDkim

type DomainDkim struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainDkim DKIM record host, type and value

func NewDomainDkim

func NewDomainDkim() *DomainDkim

NewDomainDkim instantiates a new DomainDkim 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 NewDomainDkimWithDefaults

func NewDomainDkimWithDefaults() *DomainDkim

NewDomainDkimWithDefaults instantiates a new DomainDkim 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 (*DomainDkim) GetHost

func (o *DomainDkim) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainDkim) GetHostOk

func (o *DomainDkim) GetHostOk() (*string, bool)

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

func (*DomainDkim) GetTextValue

func (o *DomainDkim) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainDkim) GetTextValueOk

func (o *DomainDkim) GetTextValueOk() (*string, bool)

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

func (*DomainDkim) GetType

func (o *DomainDkim) GetType() string

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

func (*DomainDkim) GetTypeOk

func (o *DomainDkim) 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 (*DomainDkim) HasHost

func (o *DomainDkim) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainDkim) HasTextValue

func (o *DomainDkim) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainDkim) HasType

func (o *DomainDkim) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainDkim) MarshalJSON

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

func (*DomainDkim) SetHost

func (o *DomainDkim) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainDkim) SetTextValue

func (o *DomainDkim) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainDkim) SetType

func (o *DomainDkim) SetType(v string)

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

func (DomainDkim) ToMap

func (o DomainDkim) ToMap() (map[string]interface{}, error)

type DomainDmarc

type DomainDmarc struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainDmarc DMARC record host, type and value

func NewDomainDmarc

func NewDomainDmarc() *DomainDmarc

NewDomainDmarc instantiates a new DomainDmarc 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 NewDomainDmarcWithDefaults

func NewDomainDmarcWithDefaults() *DomainDmarc

NewDomainDmarcWithDefaults instantiates a new DomainDmarc 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 (*DomainDmarc) GetHost

func (o *DomainDmarc) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainDmarc) GetHostOk

func (o *DomainDmarc) GetHostOk() (*string, bool)

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

func (*DomainDmarc) GetTextValue

func (o *DomainDmarc) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainDmarc) GetTextValueOk

func (o *DomainDmarc) GetTextValueOk() (*string, bool)

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

func (*DomainDmarc) GetType

func (o *DomainDmarc) GetType() string

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

func (*DomainDmarc) GetTypeOk

func (o *DomainDmarc) 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 (*DomainDmarc) HasHost

func (o *DomainDmarc) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainDmarc) HasTextValue

func (o *DomainDmarc) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainDmarc) HasType

func (o *DomainDmarc) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainDmarc) MarshalJSON

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

func (*DomainDmarc) SetHost

func (o *DomainDmarc) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainDmarc) SetTextValue

func (o *DomainDmarc) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainDmarc) SetType

func (o *DomainDmarc) SetType(v string)

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

func (DomainDmarc) ToMap

func (o DomainDmarc) ToMap() (map[string]interface{}, error)

type DomainGpt

type DomainGpt struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainGpt GPT record host, type and value

func NewDomainGpt

func NewDomainGpt() *DomainGpt

NewDomainGpt instantiates a new DomainGpt 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 NewDomainGptWithDefaults

func NewDomainGptWithDefaults() *DomainGpt

NewDomainGptWithDefaults instantiates a new DomainGpt 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 (*DomainGpt) GetHost

func (o *DomainGpt) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainGpt) GetHostOk

func (o *DomainGpt) GetHostOk() (*string, bool)

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

func (*DomainGpt) GetTextValue

func (o *DomainGpt) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainGpt) GetTextValueOk

func (o *DomainGpt) GetTextValueOk() (*string, bool)

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

func (*DomainGpt) GetType

func (o *DomainGpt) GetType() string

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

func (*DomainGpt) GetTypeOk

func (o *DomainGpt) 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 (*DomainGpt) HasHost

func (o *DomainGpt) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainGpt) HasTextValue

func (o *DomainGpt) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainGpt) HasType

func (o *DomainGpt) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainGpt) MarshalJSON

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

func (*DomainGpt) SetHost

func (o *DomainGpt) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainGpt) SetTextValue

func (o *DomainGpt) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainGpt) SetType

func (o *DomainGpt) SetType(v string)

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

func (DomainGpt) ToMap

func (o DomainGpt) ToMap() (map[string]interface{}, error)

type DomainReturnPath

type DomainReturnPath struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainReturnPath ReturnPath record host, type and value

func NewDomainReturnPath

func NewDomainReturnPath() *DomainReturnPath

NewDomainReturnPath instantiates a new DomainReturnPath 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 NewDomainReturnPathWithDefaults

func NewDomainReturnPathWithDefaults() *DomainReturnPath

NewDomainReturnPathWithDefaults instantiates a new DomainReturnPath 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 (*DomainReturnPath) GetHost

func (o *DomainReturnPath) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainReturnPath) GetHostOk

func (o *DomainReturnPath) GetHostOk() (*string, bool)

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

func (*DomainReturnPath) GetTextValue

func (o *DomainReturnPath) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainReturnPath) GetTextValueOk

func (o *DomainReturnPath) GetTextValueOk() (*string, bool)

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

func (*DomainReturnPath) GetType

func (o *DomainReturnPath) GetType() string

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

func (*DomainReturnPath) GetTypeOk

func (o *DomainReturnPath) 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 (*DomainReturnPath) HasHost

func (o *DomainReturnPath) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainReturnPath) HasTextValue

func (o *DomainReturnPath) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainReturnPath) HasType

func (o *DomainReturnPath) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainReturnPath) MarshalJSON

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

func (*DomainReturnPath) SetHost

func (o *DomainReturnPath) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainReturnPath) SetTextValue

func (o *DomainReturnPath) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainReturnPath) SetType

func (o *DomainReturnPath) SetType(v string)

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

func (DomainReturnPath) ToMap

func (o DomainReturnPath) ToMap() (map[string]interface{}, error)

type DomainSpf added in v1.0.2

type DomainSpf struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainSpf SPF record host, type and value

func NewDomainSpf added in v1.0.2

func NewDomainSpf() *DomainSpf

NewDomainSpf instantiates a new DomainSpf 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 NewDomainSpfWithDefaults added in v1.0.2

func NewDomainSpfWithDefaults() *DomainSpf

NewDomainSpfWithDefaults instantiates a new DomainSpf 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 (*DomainSpf) GetHost added in v1.0.2

func (o *DomainSpf) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainSpf) GetHostOk added in v1.0.2

func (o *DomainSpf) GetHostOk() (*string, bool)

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

func (*DomainSpf) GetTextValue added in v1.0.2

func (o *DomainSpf) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainSpf) GetTextValueOk added in v1.0.2

func (o *DomainSpf) GetTextValueOk() (*string, bool)

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

func (*DomainSpf) GetType added in v1.0.2

func (o *DomainSpf) GetType() string

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

func (*DomainSpf) GetTypeOk added in v1.0.2

func (o *DomainSpf) 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 (*DomainSpf) HasHost added in v1.0.2

func (o *DomainSpf) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainSpf) HasTextValue added in v1.0.2

func (o *DomainSpf) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainSpf) HasType added in v1.0.2

func (o *DomainSpf) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainSpf) MarshalJSON added in v1.0.2

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

func (*DomainSpf) SetHost added in v1.0.2

func (o *DomainSpf) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainSpf) SetTextValue added in v1.0.2

func (o *DomainSpf) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainSpf) SetType added in v1.0.2

func (o *DomainSpf) SetType(v string)

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

func (DomainSpf) ToMap added in v1.0.2

func (o DomainSpf) ToMap() (map[string]interface{}, error)

type DomainTrack

type DomainTrack struct {
	Host      *string `json:"host,omitempty"`
	Type      *string `json:"type,omitempty"`
	TextValue *string `json:"textValue,omitempty"`
}

DomainTrack Track record host, type and value. This domain will be used for link tracking while rewriting links in your email message

func NewDomainTrack

func NewDomainTrack() *DomainTrack

NewDomainTrack instantiates a new DomainTrack 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 NewDomainTrackWithDefaults

func NewDomainTrackWithDefaults() *DomainTrack

NewDomainTrackWithDefaults instantiates a new DomainTrack 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 (*DomainTrack) GetHost

func (o *DomainTrack) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DomainTrack) GetHostOk

func (o *DomainTrack) GetHostOk() (*string, bool)

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

func (*DomainTrack) GetTextValue

func (o *DomainTrack) GetTextValue() string

GetTextValue returns the TextValue field value if set, zero value otherwise.

func (*DomainTrack) GetTextValueOk

func (o *DomainTrack) GetTextValueOk() (*string, bool)

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

func (*DomainTrack) GetType

func (o *DomainTrack) GetType() string

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

func (*DomainTrack) GetTypeOk

func (o *DomainTrack) 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 (*DomainTrack) HasHost

func (o *DomainTrack) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DomainTrack) HasTextValue

func (o *DomainTrack) HasTextValue() bool

HasTextValue returns a boolean if a field has been set.

func (*DomainTrack) HasType

func (o *DomainTrack) HasType() bool

HasType returns a boolean if a field has been set.

func (DomainTrack) MarshalJSON

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

func (*DomainTrack) SetHost

func (o *DomainTrack) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DomainTrack) SetTextValue

func (o *DomainTrack) SetTextValue(v string)

SetTextValue gets a reference to the given string and assigns it to the TextValue field.

func (*DomainTrack) SetType

func (o *DomainTrack) SetType(v string)

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

func (DomainTrack) ToMap

func (o DomainTrack) ToMap() (map[string]interface{}, error)

type EIP

type EIP struct {
	// list of IP resources which are a part of the IP Pool containing public IP information. Note that the IPs specified in the IPPool should have been allocated in advance for your account
	PublicIP string `json:"publicIP"`
}

EIP struct for EIP

func NewEIP

func NewEIP(publicIP string) *EIP

NewEIP instantiates a new EIP 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 NewEIPWithDefaults

func NewEIPWithDefaults() *EIP

NewEIPWithDefaults instantiates a new EIP 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 (*EIP) GetPublicIP

func (o *EIP) GetPublicIP() string

GetPublicIP returns the PublicIP field value

func (*EIP) GetPublicIPOk

func (o *EIP) GetPublicIPOk() (*string, bool)

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

func (EIP) MarshalJSON

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

func (*EIP) SetPublicIP

func (o *EIP) SetPublicIP(v string)

SetPublicIP sets field value

func (EIP) ToMap

func (o EIP) ToMap() (map[string]interface{}, error)

func (*EIP) UnmarshalJSON

func (o *EIP) UnmarshalJSON(data []byte) (err error)

type EmailAPIService

type EmailAPIService service

EmailAPIService EmailAPI service

func (*EmailAPIService) SendEmail

SendEmail Send Email

Use this API to send either a single or batch email.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSendEmailRequest

func (*EmailAPIService) SendEmailExecute

func (a *EmailAPIService) SendEmailExecute(r ApiSendEmailRequest) ([]EmailResponse, *http.Response, error)

Execute executes the request

@return []EmailResponse

func (*EmailAPIService) SendEmailWithTemplate

func (a *EmailAPIService) SendEmailWithTemplate(ctx context.Context) ApiSendEmailWithTemplateRequest

SendEmailWithTemplate Send Email With Template

Use this API to send an email with a predefined template. This makes it easy to integrate transactional emails with minimal code.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSendEmailWithTemplateRequest

func (*EmailAPIService) SendEmailWithTemplateExecute

func (a *EmailAPIService) SendEmailWithTemplateExecute(r ApiSendEmailWithTemplateRequest) ([]EmailResponse, *http.Response, error)

Execute executes the request

@return []EmailResponse

type EmailAddress

type EmailAddress struct {
	Email *string `json:"email,omitempty"`
	Name  *string `json:"name,omitempty"`
}

EmailAddress struct for EmailAddress

func NewEmailAddress

func NewEmailAddress() *EmailAddress

NewEmailAddress instantiates a new EmailAddress 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 NewEmailAddressWithDefaults

func NewEmailAddressWithDefaults() *EmailAddress

NewEmailAddressWithDefaults instantiates a new EmailAddress 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 (*EmailAddress) GetEmail

func (o *EmailAddress) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailAddress) GetEmailOk

func (o *EmailAddress) GetEmailOk() (*string, bool)

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

func (*EmailAddress) GetName

func (o *EmailAddress) GetName() string

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

func (*EmailAddress) GetNameOk

func (o *EmailAddress) 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 (*EmailAddress) HasEmail

func (o *EmailAddress) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailAddress) HasName

func (o *EmailAddress) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailAddress) MarshalJSON

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

func (*EmailAddress) SetEmail

func (o *EmailAddress) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailAddress) SetName

func (o *EmailAddress) SetName(v string)

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

func (EmailAddress) ToMap

func (o EmailAddress) ToMap() (map[string]interface{}, error)

type EmailMessage

type EmailMessage struct {
	MessageID       *string               `json:"messageID,omitempty"`
	AccountID       *int32                `json:"accountID,omitempty"`
	SubAccountID    *int32                `json:"subAccountID,omitempty"`
	IpID            *int32                `json:"ipID,omitempty"`
	PublicIP        *string               `json:"publicIP,omitempty"`
	LocalIP         *string               `json:"localIP,omitempty"`
	EmailType       *string               `json:"emailType,omitempty"`
	SubmittedAt     *int32                `json:"submittedAt,omitempty"`
	From            *EmailMessageFrom     `json:"from,omitempty"`
	ReplyTo         *EmailMessageReplyTo  `json:"replyTo,omitempty"`
	To              []EmailMessageToInner `json:"to,omitempty"`
	Groups          []string              `json:"groups,omitempty"`
	IpPool          *string               `json:"ipPool,omitempty"`
	Headers         map[string]string     `json:"headers,omitempty"`
	CustomFields    map[string]string     `json:"customFields,omitempty"`
	TrackOpens      *bool                 `json:"trackOpens,omitempty"`
	TrackClicks     *bool                 `json:"trackClicks,omitempty"`
	WebhookEndpoint *string               `json:"webhookEndpoint,omitempty"`
}

EmailMessage struct for EmailMessage

func NewEmailMessage

func NewEmailMessage() *EmailMessage

NewEmailMessage instantiates a new EmailMessage 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 NewEmailMessageWithDefaults

func NewEmailMessageWithDefaults() *EmailMessage

NewEmailMessageWithDefaults instantiates a new EmailMessage 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 (*EmailMessage) GetAccountID

func (o *EmailMessage) GetAccountID() int32

GetAccountID returns the AccountID field value if set, zero value otherwise.

func (*EmailMessage) GetAccountIDOk

func (o *EmailMessage) GetAccountIDOk() (*int32, bool)

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

func (*EmailMessage) GetCustomFields

func (o *EmailMessage) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*EmailMessage) GetCustomFieldsOk

func (o *EmailMessage) GetCustomFieldsOk() (map[string]string, bool)

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

func (*EmailMessage) GetEmailType

func (o *EmailMessage) GetEmailType() string

GetEmailType returns the EmailType field value if set, zero value otherwise.

func (*EmailMessage) GetEmailTypeOk

func (o *EmailMessage) GetEmailTypeOk() (*string, bool)

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

func (*EmailMessage) GetFrom

func (o *EmailMessage) GetFrom() EmailMessageFrom

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

func (*EmailMessage) GetFromOk

func (o *EmailMessage) GetFromOk() (*EmailMessageFrom, 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 (*EmailMessage) GetGroups

func (o *EmailMessage) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*EmailMessage) GetGroupsOk

func (o *EmailMessage) GetGroupsOk() ([]string, bool)

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

func (*EmailMessage) GetHeaders

func (o *EmailMessage) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*EmailMessage) GetHeadersOk

func (o *EmailMessage) GetHeadersOk() (map[string]string, bool)

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

func (*EmailMessage) GetIpID

func (o *EmailMessage) GetIpID() int32

GetIpID returns the IpID field value if set, zero value otherwise.

func (*EmailMessage) GetIpIDOk

func (o *EmailMessage) GetIpIDOk() (*int32, bool)

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

func (*EmailMessage) GetIpPool

func (o *EmailMessage) GetIpPool() string

GetIpPool returns the IpPool field value if set, zero value otherwise.

func (*EmailMessage) GetIpPoolOk

func (o *EmailMessage) GetIpPoolOk() (*string, bool)

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

func (*EmailMessage) GetLocalIP

func (o *EmailMessage) GetLocalIP() string

GetLocalIP returns the LocalIP field value if set, zero value otherwise.

func (*EmailMessage) GetLocalIPOk

func (o *EmailMessage) GetLocalIPOk() (*string, bool)

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

func (*EmailMessage) GetMessageID

func (o *EmailMessage) GetMessageID() string

GetMessageID returns the MessageID field value if set, zero value otherwise.

func (*EmailMessage) GetMessageIDOk

func (o *EmailMessage) 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 (*EmailMessage) GetPublicIP

func (o *EmailMessage) GetPublicIP() string

GetPublicIP returns the PublicIP field value if set, zero value otherwise.

func (*EmailMessage) GetPublicIPOk

func (o *EmailMessage) GetPublicIPOk() (*string, bool)

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

func (*EmailMessage) GetReplyTo

func (o *EmailMessage) GetReplyTo() EmailMessageReplyTo

GetReplyTo returns the ReplyTo field value if set, zero value otherwise.

func (*EmailMessage) GetReplyToOk

func (o *EmailMessage) GetReplyToOk() (*EmailMessageReplyTo, bool)

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

func (*EmailMessage) GetSubAccountID

func (o *EmailMessage) GetSubAccountID() int32

GetSubAccountID returns the SubAccountID field value if set, zero value otherwise.

func (*EmailMessage) GetSubAccountIDOk

func (o *EmailMessage) GetSubAccountIDOk() (*int32, bool)

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

func (*EmailMessage) GetSubmittedAt

func (o *EmailMessage) GetSubmittedAt() int32

GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.

func (*EmailMessage) GetSubmittedAtOk

func (o *EmailMessage) GetSubmittedAtOk() (*int32, bool)

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

func (*EmailMessage) GetTo

func (o *EmailMessage) GetTo() []EmailMessageToInner

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

func (*EmailMessage) GetToOk

func (o *EmailMessage) GetToOk() ([]EmailMessageToInner, 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 (*EmailMessage) GetTrackClicks

func (o *EmailMessage) GetTrackClicks() bool

GetTrackClicks returns the TrackClicks field value if set, zero value otherwise.

func (*EmailMessage) GetTrackClicksOk

func (o *EmailMessage) GetTrackClicksOk() (*bool, bool)

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

func (*EmailMessage) GetTrackOpens

func (o *EmailMessage) GetTrackOpens() bool

GetTrackOpens returns the TrackOpens field value if set, zero value otherwise.

func (*EmailMessage) GetTrackOpensOk

func (o *EmailMessage) GetTrackOpensOk() (*bool, bool)

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

func (*EmailMessage) GetWebhookEndpoint

func (o *EmailMessage) GetWebhookEndpoint() string

GetWebhookEndpoint returns the WebhookEndpoint field value if set, zero value otherwise.

func (*EmailMessage) GetWebhookEndpointOk

func (o *EmailMessage) GetWebhookEndpointOk() (*string, bool)

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

func (*EmailMessage) HasAccountID

func (o *EmailMessage) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*EmailMessage) HasCustomFields

func (o *EmailMessage) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*EmailMessage) HasEmailType

func (o *EmailMessage) HasEmailType() bool

HasEmailType returns a boolean if a field has been set.

func (*EmailMessage) HasFrom

func (o *EmailMessage) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*EmailMessage) HasGroups

func (o *EmailMessage) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*EmailMessage) HasHeaders

func (o *EmailMessage) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*EmailMessage) HasIpID

func (o *EmailMessage) HasIpID() bool

HasIpID returns a boolean if a field has been set.

func (*EmailMessage) HasIpPool

func (o *EmailMessage) HasIpPool() bool

HasIpPool returns a boolean if a field has been set.

func (*EmailMessage) HasLocalIP

func (o *EmailMessage) HasLocalIP() bool

HasLocalIP returns a boolean if a field has been set.

func (*EmailMessage) HasMessageID

func (o *EmailMessage) HasMessageID() bool

HasMessageID returns a boolean if a field has been set.

func (*EmailMessage) HasPublicIP

func (o *EmailMessage) HasPublicIP() bool

HasPublicIP returns a boolean if a field has been set.

func (*EmailMessage) HasReplyTo

func (o *EmailMessage) HasReplyTo() bool

HasReplyTo returns a boolean if a field has been set.

func (*EmailMessage) HasSubAccountID

func (o *EmailMessage) HasSubAccountID() bool

HasSubAccountID returns a boolean if a field has been set.

func (*EmailMessage) HasSubmittedAt

func (o *EmailMessage) HasSubmittedAt() bool

HasSubmittedAt returns a boolean if a field has been set.

func (*EmailMessage) HasTo

func (o *EmailMessage) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*EmailMessage) HasTrackClicks

func (o *EmailMessage) HasTrackClicks() bool

HasTrackClicks returns a boolean if a field has been set.

func (*EmailMessage) HasTrackOpens

func (o *EmailMessage) HasTrackOpens() bool

HasTrackOpens returns a boolean if a field has been set.

func (*EmailMessage) HasWebhookEndpoint

func (o *EmailMessage) HasWebhookEndpoint() bool

HasWebhookEndpoint returns a boolean if a field has been set.

func (EmailMessage) MarshalJSON

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

func (*EmailMessage) SetAccountID

func (o *EmailMessage) SetAccountID(v int32)

SetAccountID gets a reference to the given int32 and assigns it to the AccountID field.

func (*EmailMessage) SetCustomFields

func (o *EmailMessage) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*EmailMessage) SetEmailType

func (o *EmailMessage) SetEmailType(v string)

SetEmailType gets a reference to the given string and assigns it to the EmailType field.

func (*EmailMessage) SetFrom

func (o *EmailMessage) SetFrom(v EmailMessageFrom)

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

func (*EmailMessage) SetGroups

func (o *EmailMessage) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*EmailMessage) SetHeaders

func (o *EmailMessage) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*EmailMessage) SetIpID

func (o *EmailMessage) SetIpID(v int32)

SetIpID gets a reference to the given int32 and assigns it to the IpID field.

func (*EmailMessage) SetIpPool

func (o *EmailMessage) SetIpPool(v string)

SetIpPool gets a reference to the given string and assigns it to the IpPool field.

func (*EmailMessage) SetLocalIP

func (o *EmailMessage) SetLocalIP(v string)

SetLocalIP gets a reference to the given string and assigns it to the LocalIP field.

func (*EmailMessage) SetMessageID

func (o *EmailMessage) SetMessageID(v string)

SetMessageID gets a reference to the given string and assigns it to the MessageID field.

func (*EmailMessage) SetPublicIP

func (o *EmailMessage) SetPublicIP(v string)

SetPublicIP gets a reference to the given string and assigns it to the PublicIP field.

func (*EmailMessage) SetReplyTo

func (o *EmailMessage) SetReplyTo(v EmailMessageReplyTo)

SetReplyTo gets a reference to the given EmailMessageReplyTo and assigns it to the ReplyTo field.

func (*EmailMessage) SetSubAccountID

func (o *EmailMessage) SetSubAccountID(v int32)

SetSubAccountID gets a reference to the given int32 and assigns it to the SubAccountID field.

func (*EmailMessage) SetSubmittedAt

func (o *EmailMessage) SetSubmittedAt(v int32)

SetSubmittedAt gets a reference to the given int32 and assigns it to the SubmittedAt field.

func (*EmailMessage) SetTo

func (o *EmailMessage) SetTo(v []EmailMessageToInner)

SetTo gets a reference to the given []EmailMessageToInner and assigns it to the To field.

func (*EmailMessage) SetTrackClicks

func (o *EmailMessage) SetTrackClicks(v bool)

SetTrackClicks gets a reference to the given bool and assigns it to the TrackClicks field.

func (*EmailMessage) SetTrackOpens

func (o *EmailMessage) SetTrackOpens(v bool)

SetTrackOpens gets a reference to the given bool and assigns it to the TrackOpens field.

func (*EmailMessage) SetWebhookEndpoint

func (o *EmailMessage) SetWebhookEndpoint(v string)

SetWebhookEndpoint gets a reference to the given string and assigns it to the WebhookEndpoint field.

func (EmailMessage) ToMap

func (o EmailMessage) ToMap() (map[string]interface{}, error)

type EmailMessageFrom

type EmailMessageFrom struct {
	Name  *string `json:"name,omitempty"`
	Email *string `json:"email,omitempty"`
}

EmailMessageFrom struct for EmailMessageFrom

func NewEmailMessageFrom

func NewEmailMessageFrom() *EmailMessageFrom

NewEmailMessageFrom instantiates a new EmailMessageFrom 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 NewEmailMessageFromWithDefaults

func NewEmailMessageFromWithDefaults() *EmailMessageFrom

NewEmailMessageFromWithDefaults instantiates a new EmailMessageFrom 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 (*EmailMessageFrom) GetEmail

func (o *EmailMessageFrom) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailMessageFrom) GetEmailOk

func (o *EmailMessageFrom) GetEmailOk() (*string, bool)

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

func (*EmailMessageFrom) GetName

func (o *EmailMessageFrom) GetName() string

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

func (*EmailMessageFrom) GetNameOk

func (o *EmailMessageFrom) 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 (*EmailMessageFrom) HasEmail

func (o *EmailMessageFrom) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailMessageFrom) HasName

func (o *EmailMessageFrom) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailMessageFrom) MarshalJSON

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

func (*EmailMessageFrom) SetEmail

func (o *EmailMessageFrom) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailMessageFrom) SetName

func (o *EmailMessageFrom) SetName(v string)

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

func (EmailMessageFrom) ToMap

func (o EmailMessageFrom) ToMap() (map[string]interface{}, error)

type EmailMessageObject

type EmailMessageObject struct {
	From            *EmailAddress     `json:"from,omitempty"`
	ReplyTo         *EmailAddress     `json:"replyTo,omitempty"`
	To              []Recipient       `json:"to,omitempty"`
	Subject         *string           `json:"subject,omitempty"`
	PreText         *string           `json:"preText,omitempty"`
	HtmlBody        *string           `json:"htmlBody,omitempty"`
	TextBody        *string           `json:"textBody,omitempty"`
	AmpBody         *string           `json:"ampBody,omitempty"`
	Ippool          *string           `json:"ippool,omitempty"`
	Headers         map[string]string `json:"headers,omitempty"`
	TrackOpens      *bool             `json:"trackOpens,omitempty"`
	TrackClicks     *bool             `json:"trackClicks,omitempty"`
	Groups          []string          `json:"groups,omitempty"`
	Attachments     []Attachment      `json:"attachments,omitempty"`
	WebhookEndpoint *string           `json:"webhookEndpoint,omitempty"`
}

EmailMessageObject struct for EmailMessageObject

func NewEmailMessageObject

func NewEmailMessageObject() *EmailMessageObject

NewEmailMessageObject instantiates a new EmailMessageObject 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 NewEmailMessageObjectWithDefaults

func NewEmailMessageObjectWithDefaults() *EmailMessageObject

NewEmailMessageObjectWithDefaults instantiates a new EmailMessageObject 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 (*EmailMessageObject) GetAmpBody

func (o *EmailMessageObject) GetAmpBody() string

GetAmpBody returns the AmpBody field value if set, zero value otherwise.

func (*EmailMessageObject) GetAmpBodyOk

func (o *EmailMessageObject) GetAmpBodyOk() (*string, bool)

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

func (*EmailMessageObject) GetAttachments

func (o *EmailMessageObject) GetAttachments() []Attachment

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*EmailMessageObject) GetAttachmentsOk

func (o *EmailMessageObject) GetAttachmentsOk() ([]Attachment, bool)

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

func (*EmailMessageObject) GetFrom

func (o *EmailMessageObject) GetFrom() EmailAddress

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

func (*EmailMessageObject) GetFromOk

func (o *EmailMessageObject) GetFromOk() (*EmailAddress, 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 (*EmailMessageObject) GetGroups

func (o *EmailMessageObject) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*EmailMessageObject) GetGroupsOk

func (o *EmailMessageObject) GetGroupsOk() ([]string, bool)

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

func (*EmailMessageObject) GetHeaders

func (o *EmailMessageObject) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*EmailMessageObject) GetHeadersOk

func (o *EmailMessageObject) GetHeadersOk() (map[string]string, bool)

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

func (*EmailMessageObject) GetHtmlBody

func (o *EmailMessageObject) GetHtmlBody() string

GetHtmlBody returns the HtmlBody field value if set, zero value otherwise.

func (*EmailMessageObject) GetHtmlBodyOk

func (o *EmailMessageObject) GetHtmlBodyOk() (*string, bool)

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

func (*EmailMessageObject) GetIppool

func (o *EmailMessageObject) GetIppool() string

GetIppool returns the Ippool field value if set, zero value otherwise.

func (*EmailMessageObject) GetIppoolOk

func (o *EmailMessageObject) GetIppoolOk() (*string, bool)

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

func (*EmailMessageObject) GetPreText

func (o *EmailMessageObject) GetPreText() string

GetPreText returns the PreText field value if set, zero value otherwise.

func (*EmailMessageObject) GetPreTextOk

func (o *EmailMessageObject) GetPreTextOk() (*string, bool)

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

func (*EmailMessageObject) GetReplyTo

func (o *EmailMessageObject) GetReplyTo() EmailAddress

GetReplyTo returns the ReplyTo field value if set, zero value otherwise.

func (*EmailMessageObject) GetReplyToOk

func (o *EmailMessageObject) GetReplyToOk() (*EmailAddress, bool)

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

func (*EmailMessageObject) GetSubject

func (o *EmailMessageObject) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*EmailMessageObject) GetSubjectOk

func (o *EmailMessageObject) GetSubjectOk() (*string, bool)

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

func (*EmailMessageObject) GetTextBody

func (o *EmailMessageObject) GetTextBody() string

GetTextBody returns the TextBody field value if set, zero value otherwise.

func (*EmailMessageObject) GetTextBodyOk

func (o *EmailMessageObject) GetTextBodyOk() (*string, bool)

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

func (*EmailMessageObject) GetTo

func (o *EmailMessageObject) GetTo() []Recipient

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

func (*EmailMessageObject) GetToOk

func (o *EmailMessageObject) GetToOk() ([]Recipient, 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 (*EmailMessageObject) GetTrackClicks

func (o *EmailMessageObject) GetTrackClicks() bool

GetTrackClicks returns the TrackClicks field value if set, zero value otherwise.

func (*EmailMessageObject) GetTrackClicksOk

func (o *EmailMessageObject) GetTrackClicksOk() (*bool, bool)

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

func (*EmailMessageObject) GetTrackOpens

func (o *EmailMessageObject) GetTrackOpens() bool

GetTrackOpens returns the TrackOpens field value if set, zero value otherwise.

func (*EmailMessageObject) GetTrackOpensOk

func (o *EmailMessageObject) GetTrackOpensOk() (*bool, bool)

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

func (*EmailMessageObject) GetWebhookEndpoint

func (o *EmailMessageObject) GetWebhookEndpoint() string

GetWebhookEndpoint returns the WebhookEndpoint field value if set, zero value otherwise.

func (*EmailMessageObject) GetWebhookEndpointOk

func (o *EmailMessageObject) GetWebhookEndpointOk() (*string, bool)

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

func (*EmailMessageObject) HasAmpBody

func (o *EmailMessageObject) HasAmpBody() bool

HasAmpBody returns a boolean if a field has been set.

func (*EmailMessageObject) HasAttachments

func (o *EmailMessageObject) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*EmailMessageObject) HasFrom

func (o *EmailMessageObject) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*EmailMessageObject) HasGroups

func (o *EmailMessageObject) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*EmailMessageObject) HasHeaders

func (o *EmailMessageObject) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*EmailMessageObject) HasHtmlBody

func (o *EmailMessageObject) HasHtmlBody() bool

HasHtmlBody returns a boolean if a field has been set.

func (*EmailMessageObject) HasIppool

func (o *EmailMessageObject) HasIppool() bool

HasIppool returns a boolean if a field has been set.

func (*EmailMessageObject) HasPreText

func (o *EmailMessageObject) HasPreText() bool

HasPreText returns a boolean if a field has been set.

func (*EmailMessageObject) HasReplyTo

func (o *EmailMessageObject) HasReplyTo() bool

HasReplyTo returns a boolean if a field has been set.

func (*EmailMessageObject) HasSubject

func (o *EmailMessageObject) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*EmailMessageObject) HasTextBody

func (o *EmailMessageObject) HasTextBody() bool

HasTextBody returns a boolean if a field has been set.

func (*EmailMessageObject) HasTo

func (o *EmailMessageObject) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*EmailMessageObject) HasTrackClicks

func (o *EmailMessageObject) HasTrackClicks() bool

HasTrackClicks returns a boolean if a field has been set.

func (*EmailMessageObject) HasTrackOpens

func (o *EmailMessageObject) HasTrackOpens() bool

HasTrackOpens returns a boolean if a field has been set.

func (*EmailMessageObject) HasWebhookEndpoint

func (o *EmailMessageObject) HasWebhookEndpoint() bool

HasWebhookEndpoint returns a boolean if a field has been set.

func (EmailMessageObject) MarshalJSON

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

func (*EmailMessageObject) SetAmpBody

func (o *EmailMessageObject) SetAmpBody(v string)

SetAmpBody gets a reference to the given string and assigns it to the AmpBody field.

func (*EmailMessageObject) SetAttachments

func (o *EmailMessageObject) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*EmailMessageObject) SetFrom

func (o *EmailMessageObject) SetFrom(v EmailAddress)

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

func (*EmailMessageObject) SetGroups

func (o *EmailMessageObject) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*EmailMessageObject) SetHeaders

func (o *EmailMessageObject) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*EmailMessageObject) SetHtmlBody

func (o *EmailMessageObject) SetHtmlBody(v string)

SetHtmlBody gets a reference to the given string and assigns it to the HtmlBody field.

func (*EmailMessageObject) SetIppool

func (o *EmailMessageObject) SetIppool(v string)

SetIppool gets a reference to the given string and assigns it to the Ippool field.

func (*EmailMessageObject) SetPreText

func (o *EmailMessageObject) SetPreText(v string)

SetPreText gets a reference to the given string and assigns it to the PreText field.

func (*EmailMessageObject) SetReplyTo

func (o *EmailMessageObject) SetReplyTo(v EmailAddress)

SetReplyTo gets a reference to the given EmailAddress and assigns it to the ReplyTo field.

func (*EmailMessageObject) SetSubject

func (o *EmailMessageObject) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*EmailMessageObject) SetTextBody

func (o *EmailMessageObject) SetTextBody(v string)

SetTextBody gets a reference to the given string and assigns it to the TextBody field.

func (*EmailMessageObject) SetTo

func (o *EmailMessageObject) SetTo(v []Recipient)

SetTo gets a reference to the given []Recipient and assigns it to the To field.

func (*EmailMessageObject) SetTrackClicks

func (o *EmailMessageObject) SetTrackClicks(v bool)

SetTrackClicks gets a reference to the given bool and assigns it to the TrackClicks field.

func (*EmailMessageObject) SetTrackOpens

func (o *EmailMessageObject) SetTrackOpens(v bool)

SetTrackOpens gets a reference to the given bool and assigns it to the TrackOpens field.

func (*EmailMessageObject) SetWebhookEndpoint

func (o *EmailMessageObject) SetWebhookEndpoint(v string)

SetWebhookEndpoint gets a reference to the given string and assigns it to the WebhookEndpoint field.

func (EmailMessageObject) ToMap

func (o EmailMessageObject) ToMap() (map[string]interface{}, error)

type EmailMessageReplyTo

type EmailMessageReplyTo struct {
	Name  *string `json:"name,omitempty"`
	Email *string `json:"email,omitempty"`
}

EmailMessageReplyTo struct for EmailMessageReplyTo

func NewEmailMessageReplyTo

func NewEmailMessageReplyTo() *EmailMessageReplyTo

NewEmailMessageReplyTo instantiates a new EmailMessageReplyTo 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 NewEmailMessageReplyToWithDefaults

func NewEmailMessageReplyToWithDefaults() *EmailMessageReplyTo

NewEmailMessageReplyToWithDefaults instantiates a new EmailMessageReplyTo 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 (*EmailMessageReplyTo) GetEmail

func (o *EmailMessageReplyTo) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailMessageReplyTo) GetEmailOk

func (o *EmailMessageReplyTo) GetEmailOk() (*string, bool)

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

func (*EmailMessageReplyTo) GetName

func (o *EmailMessageReplyTo) GetName() string

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

func (*EmailMessageReplyTo) GetNameOk

func (o *EmailMessageReplyTo) 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 (*EmailMessageReplyTo) HasEmail

func (o *EmailMessageReplyTo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailMessageReplyTo) HasName

func (o *EmailMessageReplyTo) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailMessageReplyTo) MarshalJSON

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

func (*EmailMessageReplyTo) SetEmail

func (o *EmailMessageReplyTo) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailMessageReplyTo) SetName

func (o *EmailMessageReplyTo) SetName(v string)

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

func (EmailMessageReplyTo) ToMap

func (o EmailMessageReplyTo) ToMap() (map[string]interface{}, error)

type EmailMessageToInner

type EmailMessageToInner struct {
	Name         *string                       `json:"name,omitempty"`
	Email        *string                       `json:"email,omitempty"`
	CustomFields map[string]string             `json:"customFields,omitempty"`
	Cc           []EmailMessageToInnerCcInner  `json:"cc,omitempty"`
	Bcc          []EmailMessageToInnerBccInner `json:"bcc,omitempty"`
}

EmailMessageToInner struct for EmailMessageToInner

func NewEmailMessageToInner

func NewEmailMessageToInner() *EmailMessageToInner

NewEmailMessageToInner instantiates a new EmailMessageToInner 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 NewEmailMessageToInnerWithDefaults

func NewEmailMessageToInnerWithDefaults() *EmailMessageToInner

NewEmailMessageToInnerWithDefaults instantiates a new EmailMessageToInner 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 (*EmailMessageToInner) GetBcc

GetBcc returns the Bcc field value if set, zero value otherwise.

func (*EmailMessageToInner) GetBccOk

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

func (*EmailMessageToInner) GetCc

GetCc returns the Cc field value if set, zero value otherwise.

func (*EmailMessageToInner) GetCcOk

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

func (*EmailMessageToInner) GetCustomFields

func (o *EmailMessageToInner) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*EmailMessageToInner) GetCustomFieldsOk

func (o *EmailMessageToInner) GetCustomFieldsOk() (map[string]string, bool)

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

func (*EmailMessageToInner) GetEmail

func (o *EmailMessageToInner) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailMessageToInner) GetEmailOk

func (o *EmailMessageToInner) GetEmailOk() (*string, bool)

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

func (*EmailMessageToInner) GetName

func (o *EmailMessageToInner) GetName() string

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

func (*EmailMessageToInner) GetNameOk

func (o *EmailMessageToInner) 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 (*EmailMessageToInner) HasBcc

func (o *EmailMessageToInner) HasBcc() bool

HasBcc returns a boolean if a field has been set.

func (*EmailMessageToInner) HasCc

func (o *EmailMessageToInner) HasCc() bool

HasCc returns a boolean if a field has been set.

func (*EmailMessageToInner) HasCustomFields

func (o *EmailMessageToInner) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*EmailMessageToInner) HasEmail

func (o *EmailMessageToInner) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailMessageToInner) HasName

func (o *EmailMessageToInner) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailMessageToInner) MarshalJSON

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

func (*EmailMessageToInner) SetBcc

SetBcc gets a reference to the given []EmailMessageToInnerBccInner and assigns it to the Bcc field.

func (*EmailMessageToInner) SetCc

SetCc gets a reference to the given []EmailMessageToInnerCcInner and assigns it to the Cc field.

func (*EmailMessageToInner) SetCustomFields

func (o *EmailMessageToInner) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*EmailMessageToInner) SetEmail

func (o *EmailMessageToInner) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailMessageToInner) SetName

func (o *EmailMessageToInner) SetName(v string)

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

func (EmailMessageToInner) ToMap

func (o EmailMessageToInner) ToMap() (map[string]interface{}, error)

type EmailMessageToInnerBccInner

type EmailMessageToInnerBccInner struct {
	Name         *string           `json:"name,omitempty"`
	Email        *string           `json:"email,omitempty"`
	CustomFields map[string]string `json:"customFields,omitempty"`
}

EmailMessageToInnerBccInner struct for EmailMessageToInnerBccInner

func NewEmailMessageToInnerBccInner

func NewEmailMessageToInnerBccInner() *EmailMessageToInnerBccInner

NewEmailMessageToInnerBccInner instantiates a new EmailMessageToInnerBccInner 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 NewEmailMessageToInnerBccInnerWithDefaults

func NewEmailMessageToInnerBccInnerWithDefaults() *EmailMessageToInnerBccInner

NewEmailMessageToInnerBccInnerWithDefaults instantiates a new EmailMessageToInnerBccInner 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 (*EmailMessageToInnerBccInner) GetCustomFields

func (o *EmailMessageToInnerBccInner) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*EmailMessageToInnerBccInner) GetCustomFieldsOk

func (o *EmailMessageToInnerBccInner) GetCustomFieldsOk() (map[string]string, bool)

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

func (*EmailMessageToInnerBccInner) GetEmail

func (o *EmailMessageToInnerBccInner) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailMessageToInnerBccInner) GetEmailOk

func (o *EmailMessageToInnerBccInner) GetEmailOk() (*string, bool)

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

func (*EmailMessageToInnerBccInner) GetName

func (o *EmailMessageToInnerBccInner) GetName() string

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

func (*EmailMessageToInnerBccInner) GetNameOk

func (o *EmailMessageToInnerBccInner) 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 (*EmailMessageToInnerBccInner) HasCustomFields

func (o *EmailMessageToInnerBccInner) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*EmailMessageToInnerBccInner) HasEmail

func (o *EmailMessageToInnerBccInner) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailMessageToInnerBccInner) HasName

func (o *EmailMessageToInnerBccInner) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailMessageToInnerBccInner) MarshalJSON

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

func (*EmailMessageToInnerBccInner) SetCustomFields

func (o *EmailMessageToInnerBccInner) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*EmailMessageToInnerBccInner) SetEmail

func (o *EmailMessageToInnerBccInner) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailMessageToInnerBccInner) SetName

func (o *EmailMessageToInnerBccInner) SetName(v string)

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

func (EmailMessageToInnerBccInner) ToMap

func (o EmailMessageToInnerBccInner) ToMap() (map[string]interface{}, error)

type EmailMessageToInnerCcInner

type EmailMessageToInnerCcInner struct {
	Name         *string           `json:"name,omitempty"`
	Email        *string           `json:"email,omitempty"`
	CustomFields map[string]string `json:"customFields,omitempty"`
}

EmailMessageToInnerCcInner struct for EmailMessageToInnerCcInner

func NewEmailMessageToInnerCcInner

func NewEmailMessageToInnerCcInner() *EmailMessageToInnerCcInner

NewEmailMessageToInnerCcInner instantiates a new EmailMessageToInnerCcInner 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 NewEmailMessageToInnerCcInnerWithDefaults

func NewEmailMessageToInnerCcInnerWithDefaults() *EmailMessageToInnerCcInner

NewEmailMessageToInnerCcInnerWithDefaults instantiates a new EmailMessageToInnerCcInner 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 (*EmailMessageToInnerCcInner) GetCustomFields

func (o *EmailMessageToInnerCcInner) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*EmailMessageToInnerCcInner) GetCustomFieldsOk

func (o *EmailMessageToInnerCcInner) GetCustomFieldsOk() (map[string]string, bool)

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

func (*EmailMessageToInnerCcInner) GetEmail

func (o *EmailMessageToInnerCcInner) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*EmailMessageToInnerCcInner) GetEmailOk

func (o *EmailMessageToInnerCcInner) GetEmailOk() (*string, bool)

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

func (*EmailMessageToInnerCcInner) GetName

func (o *EmailMessageToInnerCcInner) GetName() string

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

func (*EmailMessageToInnerCcInner) GetNameOk

func (o *EmailMessageToInnerCcInner) 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 (*EmailMessageToInnerCcInner) HasCustomFields

func (o *EmailMessageToInnerCcInner) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*EmailMessageToInnerCcInner) HasEmail

func (o *EmailMessageToInnerCcInner) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*EmailMessageToInnerCcInner) HasName

func (o *EmailMessageToInnerCcInner) HasName() bool

HasName returns a boolean if a field has been set.

func (EmailMessageToInnerCcInner) MarshalJSON

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

func (*EmailMessageToInnerCcInner) SetCustomFields

func (o *EmailMessageToInnerCcInner) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*EmailMessageToInnerCcInner) SetEmail

func (o *EmailMessageToInnerCcInner) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*EmailMessageToInnerCcInner) SetName

func (o *EmailMessageToInnerCcInner) SetName(v string)

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

func (EmailMessageToInnerCcInner) ToMap

func (o EmailMessageToInnerCcInner) ToMap() (map[string]interface{}, error)

type EmailMessageWithTemplate

type EmailMessageWithTemplate struct {
	From            *EmailAddress     `json:"from,omitempty"`
	ReplyTo         *EmailAddress     `json:"replyTo,omitempty"`
	To              []Recipient       `json:"to,omitempty"`
	Subject         *string           `json:"subject,omitempty"`
	PreText         *string           `json:"preText,omitempty"`
	HtmlBody        *string           `json:"htmlBody,omitempty"`
	TextBody        *string           `json:"textBody,omitempty"`
	AmpBody         *string           `json:"ampBody,omitempty"`
	Ippool          *string           `json:"ippool,omitempty"`
	Headers         map[string]string `json:"headers,omitempty"`
	TrackOpens      *bool             `json:"trackOpens,omitempty"`
	TrackClicks     *bool             `json:"trackClicks,omitempty"`
	Groups          []string          `json:"groups,omitempty"`
	Attachments     []Attachment      `json:"attachments,omitempty"`
	WebhookEndpoint *string           `json:"webhookEndpoint,omitempty"`
	Template        *string           `json:"template,omitempty"`
	// Template ID for the email template
	TemplateId *string `json:"templateId,omitempty"`
	// Key-Value pair of template variables
	TemplateVariables map[string]string `json:"templateVariables,omitempty"`
}

EmailMessageWithTemplate struct for EmailMessageWithTemplate

func NewEmailMessageWithTemplate

func NewEmailMessageWithTemplate() *EmailMessageWithTemplate

NewEmailMessageWithTemplate instantiates a new EmailMessageWithTemplate 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 NewEmailMessageWithTemplateWithDefaults

func NewEmailMessageWithTemplateWithDefaults() *EmailMessageWithTemplate

NewEmailMessageWithTemplateWithDefaults instantiates a new EmailMessageWithTemplate 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 (*EmailMessageWithTemplate) GetAmpBody

func (o *EmailMessageWithTemplate) GetAmpBody() string

GetAmpBody returns the AmpBody field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetAmpBodyOk

func (o *EmailMessageWithTemplate) GetAmpBodyOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetAttachments

func (o *EmailMessageWithTemplate) GetAttachments() []Attachment

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetAttachmentsOk

func (o *EmailMessageWithTemplate) GetAttachmentsOk() ([]Attachment, bool)

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

func (*EmailMessageWithTemplate) GetFrom

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

func (*EmailMessageWithTemplate) GetFromOk

func (o *EmailMessageWithTemplate) GetFromOk() (*EmailAddress, 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 (*EmailMessageWithTemplate) GetGroups

func (o *EmailMessageWithTemplate) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetGroupsOk

func (o *EmailMessageWithTemplate) GetGroupsOk() ([]string, bool)

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

func (*EmailMessageWithTemplate) GetHeaders

func (o *EmailMessageWithTemplate) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetHeadersOk

func (o *EmailMessageWithTemplate) GetHeadersOk() (map[string]string, bool)

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

func (*EmailMessageWithTemplate) GetHtmlBody

func (o *EmailMessageWithTemplate) GetHtmlBody() string

GetHtmlBody returns the HtmlBody field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetHtmlBodyOk

func (o *EmailMessageWithTemplate) GetHtmlBodyOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetIppool

func (o *EmailMessageWithTemplate) GetIppool() string

GetIppool returns the Ippool field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetIppoolOk

func (o *EmailMessageWithTemplate) GetIppoolOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetPreText

func (o *EmailMessageWithTemplate) GetPreText() string

GetPreText returns the PreText field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetPreTextOk

func (o *EmailMessageWithTemplate) GetPreTextOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetReplyTo

func (o *EmailMessageWithTemplate) GetReplyTo() EmailAddress

GetReplyTo returns the ReplyTo field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetReplyToOk

func (o *EmailMessageWithTemplate) GetReplyToOk() (*EmailAddress, bool)

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

func (*EmailMessageWithTemplate) GetSubject

func (o *EmailMessageWithTemplate) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetSubjectOk

func (o *EmailMessageWithTemplate) GetSubjectOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetTemplate

func (o *EmailMessageWithTemplate) GetTemplate() string

GetTemplate returns the Template field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTemplateId

func (o *EmailMessageWithTemplate) GetTemplateId() string

GetTemplateId returns the TemplateId field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTemplateIdOk

func (o *EmailMessageWithTemplate) GetTemplateIdOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetTemplateOk

func (o *EmailMessageWithTemplate) GetTemplateOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetTemplateVariables

func (o *EmailMessageWithTemplate) GetTemplateVariables() map[string]string

GetTemplateVariables returns the TemplateVariables field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTemplateVariablesOk

func (o *EmailMessageWithTemplate) GetTemplateVariablesOk() (map[string]string, bool)

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

func (*EmailMessageWithTemplate) GetTextBody

func (o *EmailMessageWithTemplate) GetTextBody() string

GetTextBody returns the TextBody field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTextBodyOk

func (o *EmailMessageWithTemplate) GetTextBodyOk() (*string, bool)

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

func (*EmailMessageWithTemplate) GetTo

func (o *EmailMessageWithTemplate) GetTo() []Recipient

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

func (*EmailMessageWithTemplate) GetToOk

func (o *EmailMessageWithTemplate) GetToOk() ([]Recipient, 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 (*EmailMessageWithTemplate) GetTrackClicks

func (o *EmailMessageWithTemplate) GetTrackClicks() bool

GetTrackClicks returns the TrackClicks field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTrackClicksOk

func (o *EmailMessageWithTemplate) GetTrackClicksOk() (*bool, bool)

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

func (*EmailMessageWithTemplate) GetTrackOpens

func (o *EmailMessageWithTemplate) GetTrackOpens() bool

GetTrackOpens returns the TrackOpens field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetTrackOpensOk

func (o *EmailMessageWithTemplate) GetTrackOpensOk() (*bool, bool)

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

func (*EmailMessageWithTemplate) GetWebhookEndpoint

func (o *EmailMessageWithTemplate) GetWebhookEndpoint() string

GetWebhookEndpoint returns the WebhookEndpoint field value if set, zero value otherwise.

func (*EmailMessageWithTemplate) GetWebhookEndpointOk

func (o *EmailMessageWithTemplate) GetWebhookEndpointOk() (*string, bool)

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

func (*EmailMessageWithTemplate) HasAmpBody

func (o *EmailMessageWithTemplate) HasAmpBody() bool

HasAmpBody returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasAttachments

func (o *EmailMessageWithTemplate) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasFrom

func (o *EmailMessageWithTemplate) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasGroups

func (o *EmailMessageWithTemplate) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasHeaders

func (o *EmailMessageWithTemplate) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasHtmlBody

func (o *EmailMessageWithTemplate) HasHtmlBody() bool

HasHtmlBody returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasIppool

func (o *EmailMessageWithTemplate) HasIppool() bool

HasIppool returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasPreText

func (o *EmailMessageWithTemplate) HasPreText() bool

HasPreText returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasReplyTo

func (o *EmailMessageWithTemplate) HasReplyTo() bool

HasReplyTo returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasSubject

func (o *EmailMessageWithTemplate) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTemplate

func (o *EmailMessageWithTemplate) HasTemplate() bool

HasTemplate returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTemplateId

func (o *EmailMessageWithTemplate) HasTemplateId() bool

HasTemplateId returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTemplateVariables

func (o *EmailMessageWithTemplate) HasTemplateVariables() bool

HasTemplateVariables returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTextBody

func (o *EmailMessageWithTemplate) HasTextBody() bool

HasTextBody returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTo

func (o *EmailMessageWithTemplate) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTrackClicks

func (o *EmailMessageWithTemplate) HasTrackClicks() bool

HasTrackClicks returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasTrackOpens

func (o *EmailMessageWithTemplate) HasTrackOpens() bool

HasTrackOpens returns a boolean if a field has been set.

func (*EmailMessageWithTemplate) HasWebhookEndpoint

func (o *EmailMessageWithTemplate) HasWebhookEndpoint() bool

HasWebhookEndpoint returns a boolean if a field has been set.

func (EmailMessageWithTemplate) MarshalJSON

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

func (*EmailMessageWithTemplate) SetAmpBody

func (o *EmailMessageWithTemplate) SetAmpBody(v string)

SetAmpBody gets a reference to the given string and assigns it to the AmpBody field.

func (*EmailMessageWithTemplate) SetAttachments

func (o *EmailMessageWithTemplate) SetAttachments(v []Attachment)

SetAttachments gets a reference to the given []Attachment and assigns it to the Attachments field.

func (*EmailMessageWithTemplate) SetFrom

func (o *EmailMessageWithTemplate) SetFrom(v EmailAddress)

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

func (*EmailMessageWithTemplate) SetGroups

func (o *EmailMessageWithTemplate) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*EmailMessageWithTemplate) SetHeaders

func (o *EmailMessageWithTemplate) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*EmailMessageWithTemplate) SetHtmlBody

func (o *EmailMessageWithTemplate) SetHtmlBody(v string)

SetHtmlBody gets a reference to the given string and assigns it to the HtmlBody field.

func (*EmailMessageWithTemplate) SetIppool

func (o *EmailMessageWithTemplate) SetIppool(v string)

SetIppool gets a reference to the given string and assigns it to the Ippool field.

func (*EmailMessageWithTemplate) SetPreText

func (o *EmailMessageWithTemplate) SetPreText(v string)

SetPreText gets a reference to the given string and assigns it to the PreText field.

func (*EmailMessageWithTemplate) SetReplyTo

func (o *EmailMessageWithTemplate) SetReplyTo(v EmailAddress)

SetReplyTo gets a reference to the given EmailAddress and assigns it to the ReplyTo field.

func (*EmailMessageWithTemplate) SetSubject

func (o *EmailMessageWithTemplate) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*EmailMessageWithTemplate) SetTemplate

func (o *EmailMessageWithTemplate) SetTemplate(v string)

SetTemplate gets a reference to the given string and assigns it to the Template field.

func (*EmailMessageWithTemplate) SetTemplateId

func (o *EmailMessageWithTemplate) SetTemplateId(v string)

SetTemplateId gets a reference to the given string and assigns it to the TemplateId field.

func (*EmailMessageWithTemplate) SetTemplateVariables

func (o *EmailMessageWithTemplate) SetTemplateVariables(v map[string]string)

SetTemplateVariables gets a reference to the given map[string]string and assigns it to the TemplateVariables field.

func (*EmailMessageWithTemplate) SetTextBody

func (o *EmailMessageWithTemplate) SetTextBody(v string)

SetTextBody gets a reference to the given string and assigns it to the TextBody field.

func (*EmailMessageWithTemplate) SetTo

func (o *EmailMessageWithTemplate) SetTo(v []Recipient)

SetTo gets a reference to the given []Recipient and assigns it to the To field.

func (*EmailMessageWithTemplate) SetTrackClicks

func (o *EmailMessageWithTemplate) SetTrackClicks(v bool)

SetTrackClicks gets a reference to the given bool and assigns it to the TrackClicks field.

func (*EmailMessageWithTemplate) SetTrackOpens

func (o *EmailMessageWithTemplate) SetTrackOpens(v bool)

SetTrackOpens gets a reference to the given bool and assigns it to the TrackOpens field.

func (*EmailMessageWithTemplate) SetWebhookEndpoint

func (o *EmailMessageWithTemplate) SetWebhookEndpoint(v string)

SetWebhookEndpoint gets a reference to the given string and assigns it to the WebhookEndpoint field.

func (EmailMessageWithTemplate) ToMap

func (o EmailMessageWithTemplate) ToMap() (map[string]interface{}, error)

type EmailResponse

type EmailResponse struct {
	To *string `json:"to,omitempty"`
	// UNIX epoch nano timestamp
	SubmittedAt *int64 `json:"submittedAt,omitempty"`
	// Message UUID
	MessageId *string `json:"messageId,omitempty"`
	ErrorCode *int32  `json:"errorCode,omitempty"`
	Message   *string `json:"message,omitempty"`
}

EmailResponse struct for EmailResponse

func NewEmailResponse

func NewEmailResponse() *EmailResponse

NewEmailResponse instantiates a new EmailResponse 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 NewEmailResponseWithDefaults

func NewEmailResponseWithDefaults() *EmailResponse

NewEmailResponseWithDefaults instantiates a new EmailResponse 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 (*EmailResponse) GetErrorCode

func (o *EmailResponse) GetErrorCode() int32

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*EmailResponse) GetErrorCodeOk

func (o *EmailResponse) GetErrorCodeOk() (*int32, bool)

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

func (*EmailResponse) GetMessage

func (o *EmailResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*EmailResponse) GetMessageId

func (o *EmailResponse) GetMessageId() string

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

func (*EmailResponse) GetMessageIdOk

func (o *EmailResponse) 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 (*EmailResponse) GetMessageOk

func (o *EmailResponse) GetMessageOk() (*string, bool)

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

func (*EmailResponse) GetSubmittedAt

func (o *EmailResponse) GetSubmittedAt() int64

GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.

func (*EmailResponse) GetSubmittedAtOk

func (o *EmailResponse) GetSubmittedAtOk() (*int64, bool)

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

func (*EmailResponse) GetTo

func (o *EmailResponse) GetTo() string

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

func (*EmailResponse) GetToOk

func (o *EmailResponse) 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 (*EmailResponse) HasErrorCode

func (o *EmailResponse) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*EmailResponse) HasMessage

func (o *EmailResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*EmailResponse) HasMessageId

func (o *EmailResponse) HasMessageId() bool

HasMessageId returns a boolean if a field has been set.

func (*EmailResponse) HasSubmittedAt

func (o *EmailResponse) HasSubmittedAt() bool

HasSubmittedAt returns a boolean if a field has been set.

func (*EmailResponse) HasTo

func (o *EmailResponse) HasTo() bool

HasTo returns a boolean if a field has been set.

func (EmailResponse) MarshalJSON

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

func (*EmailResponse) SetErrorCode

func (o *EmailResponse) SetErrorCode(v int32)

SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.

func (*EmailResponse) SetMessage

func (o *EmailResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*EmailResponse) SetMessageId

func (o *EmailResponse) SetMessageId(v string)

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

func (*EmailResponse) SetSubmittedAt

func (o *EmailResponse) SetSubmittedAt(v int64)

SetSubmittedAt gets a reference to the given int64 and assigns it to the SubmittedAt field.

func (*EmailResponse) SetTo

func (o *EmailResponse) SetTo(v string)

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

func (EmailResponse) ToMap

func (o EmailResponse) ToMap() (map[string]interface{}, error)

type EmailStats

type EmailStats struct {
	// The UTC date for which stats are retrieved
	Date  *string          `json:"date,omitempty"`
	Stats *EmailStatsStats `json:"stats,omitempty"`
}

EmailStats struct for EmailStats

func NewEmailStats

func NewEmailStats() *EmailStats

NewEmailStats instantiates a new EmailStats 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 NewEmailStatsWithDefaults

func NewEmailStatsWithDefaults() *EmailStats

NewEmailStatsWithDefaults instantiates a new EmailStats 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 (*EmailStats) GetDate

func (o *EmailStats) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*EmailStats) GetDateOk

func (o *EmailStats) GetDateOk() (*string, bool)

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

func (*EmailStats) GetStats

func (o *EmailStats) GetStats() EmailStatsStats

GetStats returns the Stats field value if set, zero value otherwise.

func (*EmailStats) GetStatsOk

func (o *EmailStats) GetStatsOk() (*EmailStatsStats, bool)

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

func (*EmailStats) HasDate

func (o *EmailStats) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*EmailStats) HasStats

func (o *EmailStats) HasStats() bool

HasStats returns a boolean if a field has been set.

func (EmailStats) MarshalJSON

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

func (*EmailStats) SetDate

func (o *EmailStats) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*EmailStats) SetStats

func (o *EmailStats) SetStats(v EmailStatsStats)

SetStats gets a reference to the given EmailStatsStats and assigns it to the Stats field.

func (EmailStats) ToMap

func (o EmailStats) ToMap() (map[string]interface{}, error)

type EmailStatsStats

type EmailStatsStats struct {
	// Number of emails accepted by SendPost API
	Processed *int32 `json:"processed,omitempty"`
	// Number of emails sent
	Sent *int32 `json:"sent,omitempty"`
	// Number of emails successfully delivered to SMTP without errors
	Delivered *int32 `json:"delivered,omitempty"`
	// Number of emails dropped without attempting to deliver due to invalid email or suppression list
	Dropped *int32 `json:"dropped,omitempty"`
	// Number of emails dropped by SMTP
	SmtpDropped *int32 `json:"smtpDropped,omitempty"`
	// Number of emails that resulted in a hard bounce error
	HardBounced *int32 `json:"hardBounced,omitempty"`
	// Number of emails that resulted in a temporary soft bounce error
	SoftBounced *int32 `json:"softBounced,omitempty"`
	// Number of emails opened by recipients
	Opened *int32 `json:"opened,omitempty"`
	// Number of email links clicked by recipients
	Clicked *int32 `json:"clicked,omitempty"`
	// Number of email recipients who unsubscribed
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Number of emails marked as spam by recipients
	Spam *int32 `json:"spam,omitempty"`
}

EmailStatsStats struct for EmailStatsStats

func NewEmailStatsStats

func NewEmailStatsStats() *EmailStatsStats

NewEmailStatsStats instantiates a new EmailStatsStats 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 NewEmailStatsStatsWithDefaults

func NewEmailStatsStatsWithDefaults() *EmailStatsStats

NewEmailStatsStatsWithDefaults instantiates a new EmailStatsStats 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 (*EmailStatsStats) GetClicked

func (o *EmailStatsStats) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*EmailStatsStats) GetClickedOk

func (o *EmailStatsStats) GetClickedOk() (*int32, bool)

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

func (*EmailStatsStats) GetDelivered

func (o *EmailStatsStats) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*EmailStatsStats) GetDeliveredOk

func (o *EmailStatsStats) GetDeliveredOk() (*int32, bool)

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

func (*EmailStatsStats) GetDropped

func (o *EmailStatsStats) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*EmailStatsStats) GetDroppedOk

func (o *EmailStatsStats) GetDroppedOk() (*int32, bool)

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

func (*EmailStatsStats) GetHardBounced

func (o *EmailStatsStats) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*EmailStatsStats) GetHardBouncedOk

func (o *EmailStatsStats) GetHardBouncedOk() (*int32, bool)

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

func (*EmailStatsStats) GetOpened

func (o *EmailStatsStats) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*EmailStatsStats) GetOpenedOk

func (o *EmailStatsStats) GetOpenedOk() (*int32, bool)

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

func (*EmailStatsStats) GetProcessed

func (o *EmailStatsStats) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*EmailStatsStats) GetProcessedOk

func (o *EmailStatsStats) GetProcessedOk() (*int32, bool)

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

func (*EmailStatsStats) GetSent

func (o *EmailStatsStats) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*EmailStatsStats) GetSentOk

func (o *EmailStatsStats) GetSentOk() (*int32, bool)

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

func (*EmailStatsStats) GetSmtpDropped

func (o *EmailStatsStats) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*EmailStatsStats) GetSmtpDroppedOk

func (o *EmailStatsStats) GetSmtpDroppedOk() (*int32, bool)

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

func (*EmailStatsStats) GetSoftBounced

func (o *EmailStatsStats) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*EmailStatsStats) GetSoftBouncedOk

func (o *EmailStatsStats) GetSoftBouncedOk() (*int32, bool)

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

func (*EmailStatsStats) GetSpam

func (o *EmailStatsStats) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*EmailStatsStats) GetSpamOk

func (o *EmailStatsStats) GetSpamOk() (*int32, bool)

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

func (*EmailStatsStats) GetUnsubscribed

func (o *EmailStatsStats) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*EmailStatsStats) GetUnsubscribedOk

func (o *EmailStatsStats) GetUnsubscribedOk() (*int32, bool)

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

func (*EmailStatsStats) HasClicked

func (o *EmailStatsStats) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*EmailStatsStats) HasDelivered

func (o *EmailStatsStats) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*EmailStatsStats) HasDropped

func (o *EmailStatsStats) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*EmailStatsStats) HasHardBounced

func (o *EmailStatsStats) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*EmailStatsStats) HasOpened

func (o *EmailStatsStats) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*EmailStatsStats) HasProcessed

func (o *EmailStatsStats) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*EmailStatsStats) HasSent

func (o *EmailStatsStats) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*EmailStatsStats) HasSmtpDropped

func (o *EmailStatsStats) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*EmailStatsStats) HasSoftBounced

func (o *EmailStatsStats) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*EmailStatsStats) HasSpam

func (o *EmailStatsStats) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*EmailStatsStats) HasUnsubscribed

func (o *EmailStatsStats) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (EmailStatsStats) MarshalJSON

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

func (*EmailStatsStats) SetClicked

func (o *EmailStatsStats) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*EmailStatsStats) SetDelivered

func (o *EmailStatsStats) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*EmailStatsStats) SetDropped

func (o *EmailStatsStats) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*EmailStatsStats) SetHardBounced

func (o *EmailStatsStats) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*EmailStatsStats) SetOpened

func (o *EmailStatsStats) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*EmailStatsStats) SetProcessed

func (o *EmailStatsStats) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*EmailStatsStats) SetSent

func (o *EmailStatsStats) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*EmailStatsStats) SetSmtpDropped

func (o *EmailStatsStats) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*EmailStatsStats) SetSoftBounced

func (o *EmailStatsStats) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*EmailStatsStats) SetSpam

func (o *EmailStatsStats) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*EmailStatsStats) SetUnsubscribed

func (o *EmailStatsStats) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (EmailStatsStats) ToMap

func (o EmailStatsStats) ToMap() (map[string]interface{}, error)

type Event

type Event struct {
	EventID         *string        `json:"eventID,omitempty"`
	Groups          []string       `json:"groups,omitempty"`
	IpID            *int32         `json:"ipID,omitempty"`
	IpPoolID        *int32         `json:"ipPoolID,omitempty"`
	DomainID        *int32         `json:"domainID,omitempty"`
	TpspId          *int32         `json:"tpspId,omitempty"`
	MessageType     *string        `json:"messageType,omitempty"`
	MessageSubject  *string        `json:"messageSubject,omitempty"`
	AccountID       *int32         `json:"accountID,omitempty"`
	SubAccountID    *int32         `json:"subAccountID,omitempty"`
	MessageID       *string        `json:"messageID,omitempty"`
	Type            *int32         `json:"type,omitempty"`
	From            *string        `json:"from,omitempty"`
	FromName        *string        `json:"fromName,omitempty"`
	To              *string        `json:"to,omitempty"`
	ToName          *string        `json:"toName,omitempty"`
	SubmittedAt     *int32         `json:"submittedAt,omitempty"`
	SmtpCode        *int32         `json:"smtpCode,omitempty"`
	SmtpDescription *string        `json:"smtpDescription,omitempty"`
	EventMetadata   *EventMetadata `json:"eventMetadata,omitempty"`
}

Event struct for Event

func NewEvent

func NewEvent() *Event

NewEvent instantiates a new Event 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 NewEventWithDefaults

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event 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 (*Event) GetAccountID

func (o *Event) GetAccountID() int32

GetAccountID returns the AccountID field value if set, zero value otherwise.

func (*Event) GetAccountIDOk

func (o *Event) GetAccountIDOk() (*int32, bool)

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

func (*Event) GetDomainID

func (o *Event) GetDomainID() int32

GetDomainID returns the DomainID field value if set, zero value otherwise.

func (*Event) GetDomainIDOk

func (o *Event) GetDomainIDOk() (*int32, bool)

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

func (*Event) GetEventID

func (o *Event) GetEventID() string

GetEventID returns the EventID field value if set, zero value otherwise.

func (*Event) GetEventIDOk

func (o *Event) GetEventIDOk() (*string, bool)

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

func (*Event) GetEventMetadata

func (o *Event) GetEventMetadata() EventMetadata

GetEventMetadata returns the EventMetadata field value if set, zero value otherwise.

func (*Event) GetEventMetadataOk

func (o *Event) GetEventMetadataOk() (*EventMetadata, bool)

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

func (*Event) GetFrom

func (o *Event) GetFrom() string

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

func (*Event) GetFromName

func (o *Event) GetFromName() string

GetFromName returns the FromName field value if set, zero value otherwise.

func (*Event) GetFromNameOk

func (o *Event) GetFromNameOk() (*string, bool)

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

func (*Event) GetFromOk

func (o *Event) 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 (*Event) GetGroups

func (o *Event) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*Event) GetGroupsOk

func (o *Event) GetGroupsOk() ([]string, bool)

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

func (*Event) GetIpID

func (o *Event) GetIpID() int32

GetIpID returns the IpID field value if set, zero value otherwise.

func (*Event) GetIpIDOk

func (o *Event) GetIpIDOk() (*int32, bool)

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

func (*Event) GetIpPoolID

func (o *Event) GetIpPoolID() int32

GetIpPoolID returns the IpPoolID field value if set, zero value otherwise.

func (*Event) GetIpPoolIDOk

func (o *Event) GetIpPoolIDOk() (*int32, bool)

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

func (*Event) GetMessageID

func (o *Event) GetMessageID() string

GetMessageID returns the MessageID field value if set, zero value otherwise.

func (*Event) GetMessageIDOk

func (o *Event) 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 (*Event) GetMessageSubject

func (o *Event) GetMessageSubject() string

GetMessageSubject returns the MessageSubject field value if set, zero value otherwise.

func (*Event) GetMessageSubjectOk

func (o *Event) GetMessageSubjectOk() (*string, bool)

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

func (*Event) GetMessageType

func (o *Event) GetMessageType() string

GetMessageType returns the MessageType field value if set, zero value otherwise.

func (*Event) GetMessageTypeOk

func (o *Event) GetMessageTypeOk() (*string, bool)

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

func (*Event) GetSmtpCode

func (o *Event) GetSmtpCode() int32

GetSmtpCode returns the SmtpCode field value if set, zero value otherwise.

func (*Event) GetSmtpCodeOk

func (o *Event) GetSmtpCodeOk() (*int32, bool)

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

func (*Event) GetSmtpDescription

func (o *Event) GetSmtpDescription() string

GetSmtpDescription returns the SmtpDescription field value if set, zero value otherwise.

func (*Event) GetSmtpDescriptionOk

func (o *Event) GetSmtpDescriptionOk() (*string, bool)

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

func (*Event) GetSubAccountID

func (o *Event) GetSubAccountID() int32

GetSubAccountID returns the SubAccountID field value if set, zero value otherwise.

func (*Event) GetSubAccountIDOk

func (o *Event) GetSubAccountIDOk() (*int32, bool)

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

func (*Event) GetSubmittedAt

func (o *Event) GetSubmittedAt() int32

GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.

func (*Event) GetSubmittedAtOk

func (o *Event) GetSubmittedAtOk() (*int32, bool)

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

func (*Event) GetTo

func (o *Event) GetTo() string

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

func (*Event) GetToName

func (o *Event) GetToName() string

GetToName returns the ToName field value if set, zero value otherwise.

func (*Event) GetToNameOk

func (o *Event) GetToNameOk() (*string, bool)

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

func (*Event) GetToOk

func (o *Event) 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 (*Event) GetTpspId

func (o *Event) GetTpspId() int32

GetTpspId returns the TpspId field value if set, zero value otherwise.

func (*Event) GetTpspIdOk

func (o *Event) GetTpspIdOk() (*int32, bool)

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

func (*Event) GetType

func (o *Event) GetType() int32

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

func (*Event) GetTypeOk

func (o *Event) GetTypeOk() (*int32, 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 (*Event) HasAccountID

func (o *Event) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*Event) HasDomainID

func (o *Event) HasDomainID() bool

HasDomainID returns a boolean if a field has been set.

func (*Event) HasEventID

func (o *Event) HasEventID() bool

HasEventID returns a boolean if a field has been set.

func (*Event) HasEventMetadata

func (o *Event) HasEventMetadata() bool

HasEventMetadata returns a boolean if a field has been set.

func (*Event) HasFrom

func (o *Event) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*Event) HasFromName

func (o *Event) HasFromName() bool

HasFromName returns a boolean if a field has been set.

func (*Event) HasGroups

func (o *Event) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*Event) HasIpID

func (o *Event) HasIpID() bool

HasIpID returns a boolean if a field has been set.

func (*Event) HasIpPoolID

func (o *Event) HasIpPoolID() bool

HasIpPoolID returns a boolean if a field has been set.

func (*Event) HasMessageID

func (o *Event) HasMessageID() bool

HasMessageID returns a boolean if a field has been set.

func (*Event) HasMessageSubject

func (o *Event) HasMessageSubject() bool

HasMessageSubject returns a boolean if a field has been set.

func (*Event) HasMessageType

func (o *Event) HasMessageType() bool

HasMessageType returns a boolean if a field has been set.

func (*Event) HasSmtpCode

func (o *Event) HasSmtpCode() bool

HasSmtpCode returns a boolean if a field has been set.

func (*Event) HasSmtpDescription

func (o *Event) HasSmtpDescription() bool

HasSmtpDescription returns a boolean if a field has been set.

func (*Event) HasSubAccountID

func (o *Event) HasSubAccountID() bool

HasSubAccountID returns a boolean if a field has been set.

func (*Event) HasSubmittedAt

func (o *Event) HasSubmittedAt() bool

HasSubmittedAt returns a boolean if a field has been set.

func (*Event) HasTo

func (o *Event) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*Event) HasToName

func (o *Event) HasToName() bool

HasToName returns a boolean if a field has been set.

func (*Event) HasTpspId

func (o *Event) HasTpspId() bool

HasTpspId returns a boolean if a field has been set.

func (*Event) HasType

func (o *Event) HasType() bool

HasType returns a boolean if a field has been set.

func (Event) MarshalJSON

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

func (*Event) SetAccountID

func (o *Event) SetAccountID(v int32)

SetAccountID gets a reference to the given int32 and assigns it to the AccountID field.

func (*Event) SetDomainID

func (o *Event) SetDomainID(v int32)

SetDomainID gets a reference to the given int32 and assigns it to the DomainID field.

func (*Event) SetEventID

func (o *Event) SetEventID(v string)

SetEventID gets a reference to the given string and assigns it to the EventID field.

func (*Event) SetEventMetadata

func (o *Event) SetEventMetadata(v EventMetadata)

SetEventMetadata gets a reference to the given EventMetadata and assigns it to the EventMetadata field.

func (*Event) SetFrom

func (o *Event) SetFrom(v string)

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

func (*Event) SetFromName

func (o *Event) SetFromName(v string)

SetFromName gets a reference to the given string and assigns it to the FromName field.

func (*Event) SetGroups

func (o *Event) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*Event) SetIpID

func (o *Event) SetIpID(v int32)

SetIpID gets a reference to the given int32 and assigns it to the IpID field.

func (*Event) SetIpPoolID

func (o *Event) SetIpPoolID(v int32)

SetIpPoolID gets a reference to the given int32 and assigns it to the IpPoolID field.

func (*Event) SetMessageID

func (o *Event) SetMessageID(v string)

SetMessageID gets a reference to the given string and assigns it to the MessageID field.

func (*Event) SetMessageSubject

func (o *Event) SetMessageSubject(v string)

SetMessageSubject gets a reference to the given string and assigns it to the MessageSubject field.

func (*Event) SetMessageType

func (o *Event) SetMessageType(v string)

SetMessageType gets a reference to the given string and assigns it to the MessageType field.

func (*Event) SetSmtpCode

func (o *Event) SetSmtpCode(v int32)

SetSmtpCode gets a reference to the given int32 and assigns it to the SmtpCode field.

func (*Event) SetSmtpDescription

func (o *Event) SetSmtpDescription(v string)

SetSmtpDescription gets a reference to the given string and assigns it to the SmtpDescription field.

func (*Event) SetSubAccountID

func (o *Event) SetSubAccountID(v int32)

SetSubAccountID gets a reference to the given int32 and assigns it to the SubAccountID field.

func (*Event) SetSubmittedAt

func (o *Event) SetSubmittedAt(v int32)

SetSubmittedAt gets a reference to the given int32 and assigns it to the SubmittedAt field.

func (*Event) SetTo

func (o *Event) SetTo(v string)

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

func (*Event) SetToName

func (o *Event) SetToName(v string)

SetToName gets a reference to the given string and assigns it to the ToName field.

func (*Event) SetTpspId

func (o *Event) SetTpspId(v int32)

SetTpspId gets a reference to the given int32 and assigns it to the TpspId field.

func (*Event) SetType

func (o *Event) SetType(v int32)

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

func (Event) ToMap

func (o Event) ToMap() (map[string]interface{}, error)

type EventMetadata

type EventMetadata struct {
	SmtpCode        *int32           `json:"smtpCode,omitempty"`
	SmtpDescription *string          `json:"smtpDescription,omitempty"`
	UserAgent       *UserAgent       `json:"userAgent,omitempty"`
	Os              *OperatingSystem `json:"os,omitempty"`
	Device          *Device          `json:"device,omitempty"`
	Geo             *GeoLocation     `json:"geo,omitempty"`
	ClickedURL      *string          `json:"clickedURL,omitempty"`
	TrackedIP       *string          `json:"trackedIP,omitempty"`
	RawUserAgent    *string          `json:"rawUserAgent,omitempty"`
}

EventMetadata struct for EventMetadata

func NewEventMetadata

func NewEventMetadata() *EventMetadata

NewEventMetadata instantiates a new EventMetadata 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 NewEventMetadataWithDefaults

func NewEventMetadataWithDefaults() *EventMetadata

NewEventMetadataWithDefaults instantiates a new EventMetadata 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 (*EventMetadata) GetClickedURL

func (o *EventMetadata) GetClickedURL() string

GetClickedURL returns the ClickedURL field value if set, zero value otherwise.

func (*EventMetadata) GetClickedURLOk

func (o *EventMetadata) GetClickedURLOk() (*string, bool)

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

func (*EventMetadata) GetDevice

func (o *EventMetadata) GetDevice() Device

GetDevice returns the Device field value if set, zero value otherwise.

func (*EventMetadata) GetDeviceOk

func (o *EventMetadata) GetDeviceOk() (*Device, bool)

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

func (*EventMetadata) GetGeo

func (o *EventMetadata) GetGeo() GeoLocation

GetGeo returns the Geo field value if set, zero value otherwise.

func (*EventMetadata) GetGeoOk

func (o *EventMetadata) GetGeoOk() (*GeoLocation, bool)

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

func (*EventMetadata) GetOs

func (o *EventMetadata) GetOs() OperatingSystem

GetOs returns the Os field value if set, zero value otherwise.

func (*EventMetadata) GetOsOk

func (o *EventMetadata) GetOsOk() (*OperatingSystem, bool)

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

func (*EventMetadata) GetRawUserAgent

func (o *EventMetadata) GetRawUserAgent() string

GetRawUserAgent returns the RawUserAgent field value if set, zero value otherwise.

func (*EventMetadata) GetRawUserAgentOk

func (o *EventMetadata) GetRawUserAgentOk() (*string, bool)

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

func (*EventMetadata) GetSmtpCode

func (o *EventMetadata) GetSmtpCode() int32

GetSmtpCode returns the SmtpCode field value if set, zero value otherwise.

func (*EventMetadata) GetSmtpCodeOk

func (o *EventMetadata) GetSmtpCodeOk() (*int32, bool)

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

func (*EventMetadata) GetSmtpDescription

func (o *EventMetadata) GetSmtpDescription() string

GetSmtpDescription returns the SmtpDescription field value if set, zero value otherwise.

func (*EventMetadata) GetSmtpDescriptionOk

func (o *EventMetadata) GetSmtpDescriptionOk() (*string, bool)

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

func (*EventMetadata) GetTrackedIP

func (o *EventMetadata) GetTrackedIP() string

GetTrackedIP returns the TrackedIP field value if set, zero value otherwise.

func (*EventMetadata) GetTrackedIPOk

func (o *EventMetadata) GetTrackedIPOk() (*string, bool)

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

func (*EventMetadata) GetUserAgent

func (o *EventMetadata) GetUserAgent() UserAgent

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*EventMetadata) GetUserAgentOk

func (o *EventMetadata) GetUserAgentOk() (*UserAgent, bool)

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

func (*EventMetadata) HasClickedURL

func (o *EventMetadata) HasClickedURL() bool

HasClickedURL returns a boolean if a field has been set.

func (*EventMetadata) HasDevice

func (o *EventMetadata) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*EventMetadata) HasGeo

func (o *EventMetadata) HasGeo() bool

HasGeo returns a boolean if a field has been set.

func (*EventMetadata) HasOs

func (o *EventMetadata) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*EventMetadata) HasRawUserAgent

func (o *EventMetadata) HasRawUserAgent() bool

HasRawUserAgent returns a boolean if a field has been set.

func (*EventMetadata) HasSmtpCode

func (o *EventMetadata) HasSmtpCode() bool

HasSmtpCode returns a boolean if a field has been set.

func (*EventMetadata) HasSmtpDescription

func (o *EventMetadata) HasSmtpDescription() bool

HasSmtpDescription returns a boolean if a field has been set.

func (*EventMetadata) HasTrackedIP

func (o *EventMetadata) HasTrackedIP() bool

HasTrackedIP returns a boolean if a field has been set.

func (*EventMetadata) HasUserAgent

func (o *EventMetadata) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (EventMetadata) MarshalJSON

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

func (*EventMetadata) SetClickedURL

func (o *EventMetadata) SetClickedURL(v string)

SetClickedURL gets a reference to the given string and assigns it to the ClickedURL field.

func (*EventMetadata) SetDevice

func (o *EventMetadata) SetDevice(v Device)

SetDevice gets a reference to the given Device and assigns it to the Device field.

func (*EventMetadata) SetGeo

func (o *EventMetadata) SetGeo(v GeoLocation)

SetGeo gets a reference to the given GeoLocation and assigns it to the Geo field.

func (*EventMetadata) SetOs

func (o *EventMetadata) SetOs(v OperatingSystem)

SetOs gets a reference to the given OperatingSystem and assigns it to the Os field.

func (*EventMetadata) SetRawUserAgent

func (o *EventMetadata) SetRawUserAgent(v string)

SetRawUserAgent gets a reference to the given string and assigns it to the RawUserAgent field.

func (*EventMetadata) SetSmtpCode

func (o *EventMetadata) SetSmtpCode(v int32)

SetSmtpCode gets a reference to the given int32 and assigns it to the SmtpCode field.

func (*EventMetadata) SetSmtpDescription

func (o *EventMetadata) SetSmtpDescription(v string)

SetSmtpDescription gets a reference to the given string and assigns it to the SmtpDescription field.

func (*EventMetadata) SetTrackedIP

func (o *EventMetadata) SetTrackedIP(v string)

SetTrackedIP gets a reference to the given string and assigns it to the TrackedIP field.

func (*EventMetadata) SetUserAgent

func (o *EventMetadata) SetUserAgent(v UserAgent)

SetUserAgent gets a reference to the given UserAgent and assigns it to the UserAgent field.

func (EventMetadata) ToMap

func (o EventMetadata) ToMap() (map[string]interface{}, error)

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 GeoLocation

type GeoLocation struct {
	CityID        *string `json:"cityID,omitempty"`
	ContinentCode *string `json:"continentCode,omitempty"`
	CountryCode   *string `json:"countryCode,omitempty"`
	PostalCode    *string `json:"postalCode,omitempty"`
	TimeZone      *string `json:"timeZone,omitempty"`
}

GeoLocation struct for GeoLocation

func NewGeoLocation

func NewGeoLocation() *GeoLocation

NewGeoLocation instantiates a new GeoLocation 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 NewGeoLocationWithDefaults

func NewGeoLocationWithDefaults() *GeoLocation

NewGeoLocationWithDefaults instantiates a new GeoLocation 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 (*GeoLocation) GetCityID

func (o *GeoLocation) GetCityID() string

GetCityID returns the CityID field value if set, zero value otherwise.

func (*GeoLocation) GetCityIDOk

func (o *GeoLocation) GetCityIDOk() (*string, bool)

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

func (*GeoLocation) GetContinentCode

func (o *GeoLocation) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*GeoLocation) GetContinentCodeOk

func (o *GeoLocation) GetContinentCodeOk() (*string, bool)

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

func (*GeoLocation) GetCountryCode

func (o *GeoLocation) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*GeoLocation) GetCountryCodeOk

func (o *GeoLocation) GetCountryCodeOk() (*string, bool)

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

func (*GeoLocation) GetPostalCode

func (o *GeoLocation) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*GeoLocation) GetPostalCodeOk

func (o *GeoLocation) GetPostalCodeOk() (*string, bool)

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

func (*GeoLocation) GetTimeZone

func (o *GeoLocation) GetTimeZone() string

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*GeoLocation) GetTimeZoneOk

func (o *GeoLocation) GetTimeZoneOk() (*string, bool)

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

func (*GeoLocation) HasCityID

func (o *GeoLocation) HasCityID() bool

HasCityID returns a boolean if a field has been set.

func (*GeoLocation) HasContinentCode

func (o *GeoLocation) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*GeoLocation) HasCountryCode

func (o *GeoLocation) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*GeoLocation) HasPostalCode

func (o *GeoLocation) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*GeoLocation) HasTimeZone

func (o *GeoLocation) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (GeoLocation) MarshalJSON

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

func (*GeoLocation) SetCityID

func (o *GeoLocation) SetCityID(v string)

SetCityID gets a reference to the given string and assigns it to the CityID field.

func (*GeoLocation) SetContinentCode

func (o *GeoLocation) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*GeoLocation) SetCountryCode

func (o *GeoLocation) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*GeoLocation) SetPostalCode

func (o *GeoLocation) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*GeoLocation) SetTimeZone

func (o *GeoLocation) SetTimeZone(v string)

SetTimeZone gets a reference to the given string and assigns it to the TimeZone field.

func (GeoLocation) ToMap

func (o GeoLocation) ToMap() (map[string]interface{}, error)

type IP

type IP struct {
	// Unique ID for the IP
	Id int32 `json:"id"`
	// The public IP address associated with the resource
	PublicIP     string  `json:"publicIP"`
	SystemDomain *Domain `json:"systemDomain,omitempty"`
	// The reverse DNS hostname for the IP
	ReverseDNSHostname *string `json:"reverseDNSHostname,omitempty"`
	// Type of the IP
	Type *int32 `json:"type,omitempty"`
	// Configuration for Gmail delivery settings in JSON format
	GmailSettings *string `json:"gmailSettings,omitempty"`
	// Configuration for Yahoo delivery settings in JSON format
	YahooSettings *string `json:"yahooSettings,omitempty"`
	// Configuration for AOL delivery settings in JSON format
	AolSettings *string `json:"aolSettings,omitempty"`
	// Configuration for Microsoft delivery settings in JSON format
	MicrosoftSettings *string `json:"microsoftSettings,omitempty"`
	// Configuration for Comcast delivery settings in JSON format
	ComcastSettings *string `json:"comcastSettings,omitempty"`
	// Configuration for Yandex delivery settings in JSON format
	YandexSettings *string `json:"yandexSettings,omitempty"`
	// Configuration for GMX delivery settings in JSON format
	GmxSettings *string `json:"gmxSettings,omitempty"`
	// Configuration for Mail.ru delivery settings in JSON format
	MailruSettings *string `json:"mailruSettings,omitempty"`
	// Configuration for iCloud delivery settings in JSON format
	IcloudSettings *string `json:"icloudSettings,omitempty"`
	// Configuration for Zoho delivery settings in JSON format
	ZohoSettings *string `json:"zohoSettings,omitempty"`
	// Configuration for QQ delivery settings in JSON format
	QqSettings *string `json:"qqSettings,omitempty"`
	// Default delivery settings in JSON format
	DefaultSettings *string `json:"defaultSettings,omitempty"`
	// Configuration for AT&T delivery settings in JSON format
	AttSettings *string `json:"attSettings,omitempty"`
	// Configuration for Office365 delivery settings in JSON format
	Office365Settings *string `json:"office365Settings,omitempty"`
	// Configuration for Google Workspace delivery settings in JSON format
	GoogleworkspaceSettings *string `json:"googleworkspaceSettings,omitempty"`
	// Configuration for Proofpoint delivery settings in JSON format
	ProofpointSettings *string `json:"proofpointSettings,omitempty"`
	// Configuration for Mimecast delivery settings in JSON format
	MimecastSettings *string `json:"mimecastSettings,omitempty"`
	// Configuration for Barracuda delivery settings in JSON format
	BarracudaSettings *string `json:"barracudaSettings,omitempty"`
	// Configuration for Cisco IronPort delivery settings in JSON format
	CiscoironportSettings *string `json:"ciscoironportSettings,omitempty"`
	// Configuration for Rackspace delivery settings in JSON format
	RackspaceSettings *string `json:"rackspaceSettings,omitempty"`
	// Configuration for Zoho Business delivery settings in JSON format
	ZohobusinessSettings *string `json:"zohobusinessSettings,omitempty"`
	// Configuration for Amazon WorkMail delivery settings in JSON format
	AmazonworkmailSettings *string `json:"amazonworkmailSettings,omitempty"`
	// Configuration for Symantec delivery settings in JSON format
	SymantecSettings *string `json:"symantecSettings,omitempty"`
	// Configuration for Fortinet delivery settings in JSON format
	FortinetSettings *string `json:"fortinetSettings,omitempty"`
	// Configuration for Sophos delivery settings in JSON format
	SophosSettings *string `json:"sophosSettings,omitempty"`
	// Configuration for TrendMicro delivery settings in JSON format
	TrendmicroSettings *string `json:"trendmicroSettings,omitempty"`
	// Configuration for CheckPoint delivery settings in JSON format
	CheckpointSettings *string `json:"checkpointSettings,omitempty"`
	// The timestamp (UNIX epoch) when the IP was created
	Created int64 `json:"created"`
	// Classification of the infrastructure
	InfraClassification *string `json:"infraClassification,omitempty"`
	// Indicates whether infrastructure monitoring is enabled
	InfraMonitor *bool `json:"infraMonitor,omitempty"`
	// The state of the IP
	State *int32 `json:"state,omitempty"`
	// The auto-warmup plan associated with the IP. Can be null if no warmup plan is assigned.
	AutoWarmupPlan *AutoWarmupPlan `json:"autoWarmupPlan,omitempty"`
	// Labels associated with the IP
	Labels []Label `json:"labels,omitempty"`
}

IP struct for IP

func NewIP

func NewIP(id int32, publicIP string, created int64) *IP

NewIP instantiates a new IP 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 NewIPWithDefaults

func NewIPWithDefaults() *IP

NewIPWithDefaults instantiates a new IP 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 (*IP) GetAmazonworkmailSettings added in v1.0.1

func (o *IP) GetAmazonworkmailSettings() string

GetAmazonworkmailSettings returns the AmazonworkmailSettings field value if set, zero value otherwise.

func (*IP) GetAmazonworkmailSettingsOk added in v1.0.1

func (o *IP) GetAmazonworkmailSettingsOk() (*string, bool)

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

func (*IP) GetAolSettings

func (o *IP) GetAolSettings() string

GetAolSettings returns the AolSettings field value if set, zero value otherwise.

func (*IP) GetAolSettingsOk

func (o *IP) GetAolSettingsOk() (*string, bool)

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

func (*IP) GetAttSettings

func (o *IP) GetAttSettings() string

GetAttSettings returns the AttSettings field value if set, zero value otherwise.

func (*IP) GetAttSettingsOk

func (o *IP) GetAttSettingsOk() (*string, bool)

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

func (*IP) GetAutoWarmupPlan

func (o *IP) GetAutoWarmupPlan() AutoWarmupPlan

GetAutoWarmupPlan returns the AutoWarmupPlan field value if set, zero value otherwise.

func (*IP) GetAutoWarmupPlanOk

func (o *IP) GetAutoWarmupPlanOk() (*AutoWarmupPlan, bool)

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

func (*IP) GetBarracudaSettings added in v1.0.1

func (o *IP) GetBarracudaSettings() string

GetBarracudaSettings returns the BarracudaSettings field value if set, zero value otherwise.

func (*IP) GetBarracudaSettingsOk added in v1.0.1

func (o *IP) GetBarracudaSettingsOk() (*string, bool)

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

func (*IP) GetCheckpointSettings added in v1.0.1

func (o *IP) GetCheckpointSettings() string

GetCheckpointSettings returns the CheckpointSettings field value if set, zero value otherwise.

func (*IP) GetCheckpointSettingsOk added in v1.0.1

func (o *IP) GetCheckpointSettingsOk() (*string, bool)

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

func (*IP) GetCiscoironportSettings added in v1.0.1

func (o *IP) GetCiscoironportSettings() string

GetCiscoironportSettings returns the CiscoironportSettings field value if set, zero value otherwise.

func (*IP) GetCiscoironportSettingsOk added in v1.0.1

func (o *IP) GetCiscoironportSettingsOk() (*string, bool)

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

func (*IP) GetComcastSettings

func (o *IP) GetComcastSettings() string

GetComcastSettings returns the ComcastSettings field value if set, zero value otherwise.

func (*IP) GetComcastSettingsOk

func (o *IP) GetComcastSettingsOk() (*string, bool)

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

func (*IP) GetCreated

func (o *IP) GetCreated() int64

GetCreated returns the Created field value

func (*IP) GetCreatedOk

func (o *IP) GetCreatedOk() (*int64, bool)

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

func (*IP) GetDefaultSettings

func (o *IP) GetDefaultSettings() string

GetDefaultSettings returns the DefaultSettings field value if set, zero value otherwise.

func (*IP) GetDefaultSettingsOk

func (o *IP) GetDefaultSettingsOk() (*string, bool)

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

func (*IP) GetFortinetSettings added in v1.0.1

func (o *IP) GetFortinetSettings() string

GetFortinetSettings returns the FortinetSettings field value if set, zero value otherwise.

func (*IP) GetFortinetSettingsOk added in v1.0.1

func (o *IP) GetFortinetSettingsOk() (*string, bool)

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

func (*IP) GetGmailSettings

func (o *IP) GetGmailSettings() string

GetGmailSettings returns the GmailSettings field value if set, zero value otherwise.

func (*IP) GetGmailSettingsOk

func (o *IP) GetGmailSettingsOk() (*string, bool)

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

func (*IP) GetGmxSettings

func (o *IP) GetGmxSettings() string

GetGmxSettings returns the GmxSettings field value if set, zero value otherwise.

func (*IP) GetGmxSettingsOk

func (o *IP) GetGmxSettingsOk() (*string, bool)

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

func (*IP) GetGoogleworkspaceSettings added in v1.0.1

func (o *IP) GetGoogleworkspaceSettings() string

GetGoogleworkspaceSettings returns the GoogleworkspaceSettings field value if set, zero value otherwise.

func (*IP) GetGoogleworkspaceSettingsOk added in v1.0.1

func (o *IP) GetGoogleworkspaceSettingsOk() (*string, bool)

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

func (*IP) GetIcloudSettings

func (o *IP) GetIcloudSettings() string

GetIcloudSettings returns the IcloudSettings field value if set, zero value otherwise.

func (*IP) GetIcloudSettingsOk

func (o *IP) GetIcloudSettingsOk() (*string, bool)

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

func (*IP) GetId

func (o *IP) GetId() int32

GetId returns the Id field value

func (*IP) GetIdOk

func (o *IP) GetIdOk() (*int32, bool)

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

func (*IP) GetInfraClassification

func (o *IP) GetInfraClassification() string

GetInfraClassification returns the InfraClassification field value if set, zero value otherwise.

func (*IP) GetInfraClassificationOk

func (o *IP) GetInfraClassificationOk() (*string, bool)

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

func (*IP) GetInfraMonitor

func (o *IP) GetInfraMonitor() bool

GetInfraMonitor returns the InfraMonitor field value if set, zero value otherwise.

func (*IP) GetInfraMonitorOk

func (o *IP) GetInfraMonitorOk() (*bool, bool)

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

func (*IP) GetLabels added in v1.0.1

func (o *IP) GetLabels() []Label

GetLabels returns the Labels field value if set, zero value otherwise.

func (*IP) GetLabelsOk added in v1.0.1

func (o *IP) GetLabelsOk() ([]Label, bool)

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

func (*IP) GetMailruSettings

func (o *IP) GetMailruSettings() string

GetMailruSettings returns the MailruSettings field value if set, zero value otherwise.

func (*IP) GetMailruSettingsOk

func (o *IP) GetMailruSettingsOk() (*string, bool)

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

func (*IP) GetMicrosoftSettings

func (o *IP) GetMicrosoftSettings() string

GetMicrosoftSettings returns the MicrosoftSettings field value if set, zero value otherwise.

func (*IP) GetMicrosoftSettingsOk

func (o *IP) GetMicrosoftSettingsOk() (*string, bool)

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

func (*IP) GetMimecastSettings added in v1.0.1

func (o *IP) GetMimecastSettings() string

GetMimecastSettings returns the MimecastSettings field value if set, zero value otherwise.

func (*IP) GetMimecastSettingsOk added in v1.0.1

func (o *IP) GetMimecastSettingsOk() (*string, bool)

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

func (*IP) GetOffice365Settings added in v1.0.1

func (o *IP) GetOffice365Settings() string

GetOffice365Settings returns the Office365Settings field value if set, zero value otherwise.

func (*IP) GetOffice365SettingsOk added in v1.0.1

func (o *IP) GetOffice365SettingsOk() (*string, bool)

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

func (*IP) GetProofpointSettings added in v1.0.1

func (o *IP) GetProofpointSettings() string

GetProofpointSettings returns the ProofpointSettings field value if set, zero value otherwise.

func (*IP) GetProofpointSettingsOk added in v1.0.1

func (o *IP) GetProofpointSettingsOk() (*string, bool)

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

func (*IP) GetPublicIP

func (o *IP) GetPublicIP() string

GetPublicIP returns the PublicIP field value

func (*IP) GetPublicIPOk

func (o *IP) GetPublicIPOk() (*string, bool)

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

func (*IP) GetQqSettings

func (o *IP) GetQqSettings() string

GetQqSettings returns the QqSettings field value if set, zero value otherwise.

func (*IP) GetQqSettingsOk

func (o *IP) GetQqSettingsOk() (*string, bool)

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

func (*IP) GetRackspaceSettings added in v1.0.1

func (o *IP) GetRackspaceSettings() string

GetRackspaceSettings returns the RackspaceSettings field value if set, zero value otherwise.

func (*IP) GetRackspaceSettingsOk added in v1.0.1

func (o *IP) GetRackspaceSettingsOk() (*string, bool)

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

func (*IP) GetReverseDNSHostname

func (o *IP) GetReverseDNSHostname() string

GetReverseDNSHostname returns the ReverseDNSHostname field value if set, zero value otherwise.

func (*IP) GetReverseDNSHostnameOk

func (o *IP) GetReverseDNSHostnameOk() (*string, bool)

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

func (*IP) GetSophosSettings added in v1.0.1

func (o *IP) GetSophosSettings() string

GetSophosSettings returns the SophosSettings field value if set, zero value otherwise.

func (*IP) GetSophosSettingsOk added in v1.0.1

func (o *IP) GetSophosSettingsOk() (*string, bool)

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

func (*IP) GetState

func (o *IP) GetState() int32

GetState returns the State field value if set, zero value otherwise.

func (*IP) GetStateOk

func (o *IP) GetStateOk() (*int32, bool)

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

func (*IP) GetSymantecSettings added in v1.0.1

func (o *IP) GetSymantecSettings() string

GetSymantecSettings returns the SymantecSettings field value if set, zero value otherwise.

func (*IP) GetSymantecSettingsOk added in v1.0.1

func (o *IP) GetSymantecSettingsOk() (*string, bool)

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

func (*IP) GetSystemDomain

func (o *IP) GetSystemDomain() Domain

GetSystemDomain returns the SystemDomain field value if set, zero value otherwise.

func (*IP) GetSystemDomainOk

func (o *IP) GetSystemDomainOk() (*Domain, bool)

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

func (*IP) GetTrendmicroSettings added in v1.0.1

func (o *IP) GetTrendmicroSettings() string

GetTrendmicroSettings returns the TrendmicroSettings field value if set, zero value otherwise.

func (*IP) GetTrendmicroSettingsOk added in v1.0.1

func (o *IP) GetTrendmicroSettingsOk() (*string, bool)

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

func (*IP) GetType

func (o *IP) GetType() int32

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

func (*IP) GetTypeOk

func (o *IP) GetTypeOk() (*int32, 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 (*IP) GetYahooSettings

func (o *IP) GetYahooSettings() string

GetYahooSettings returns the YahooSettings field value if set, zero value otherwise.

func (*IP) GetYahooSettingsOk

func (o *IP) GetYahooSettingsOk() (*string, bool)

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

func (*IP) GetYandexSettings

func (o *IP) GetYandexSettings() string

GetYandexSettings returns the YandexSettings field value if set, zero value otherwise.

func (*IP) GetYandexSettingsOk

func (o *IP) GetYandexSettingsOk() (*string, bool)

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

func (*IP) GetZohoSettings

func (o *IP) GetZohoSettings() string

GetZohoSettings returns the ZohoSettings field value if set, zero value otherwise.

func (*IP) GetZohoSettingsOk

func (o *IP) GetZohoSettingsOk() (*string, bool)

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

func (*IP) GetZohobusinessSettings added in v1.0.1

func (o *IP) GetZohobusinessSettings() string

GetZohobusinessSettings returns the ZohobusinessSettings field value if set, zero value otherwise.

func (*IP) GetZohobusinessSettingsOk added in v1.0.1

func (o *IP) GetZohobusinessSettingsOk() (*string, bool)

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

func (*IP) HasAmazonworkmailSettings added in v1.0.1

func (o *IP) HasAmazonworkmailSettings() bool

HasAmazonworkmailSettings returns a boolean if a field has been set.

func (*IP) HasAolSettings

func (o *IP) HasAolSettings() bool

HasAolSettings returns a boolean if a field has been set.

func (*IP) HasAttSettings

func (o *IP) HasAttSettings() bool

HasAttSettings returns a boolean if a field has been set.

func (*IP) HasAutoWarmupPlan

func (o *IP) HasAutoWarmupPlan() bool

HasAutoWarmupPlan returns a boolean if a field has been set.

func (*IP) HasBarracudaSettings added in v1.0.1

func (o *IP) HasBarracudaSettings() bool

HasBarracudaSettings returns a boolean if a field has been set.

func (*IP) HasCheckpointSettings added in v1.0.1

func (o *IP) HasCheckpointSettings() bool

HasCheckpointSettings returns a boolean if a field has been set.

func (*IP) HasCiscoironportSettings added in v1.0.1

func (o *IP) HasCiscoironportSettings() bool

HasCiscoironportSettings returns a boolean if a field has been set.

func (*IP) HasComcastSettings

func (o *IP) HasComcastSettings() bool

HasComcastSettings returns a boolean if a field has been set.

func (*IP) HasDefaultSettings

func (o *IP) HasDefaultSettings() bool

HasDefaultSettings returns a boolean if a field has been set.

func (*IP) HasFortinetSettings added in v1.0.1

func (o *IP) HasFortinetSettings() bool

HasFortinetSettings returns a boolean if a field has been set.

func (*IP) HasGmailSettings

func (o *IP) HasGmailSettings() bool

HasGmailSettings returns a boolean if a field has been set.

func (*IP) HasGmxSettings

func (o *IP) HasGmxSettings() bool

HasGmxSettings returns a boolean if a field has been set.

func (*IP) HasGoogleworkspaceSettings added in v1.0.1

func (o *IP) HasGoogleworkspaceSettings() bool

HasGoogleworkspaceSettings returns a boolean if a field has been set.

func (*IP) HasIcloudSettings

func (o *IP) HasIcloudSettings() bool

HasIcloudSettings returns a boolean if a field has been set.

func (*IP) HasInfraClassification

func (o *IP) HasInfraClassification() bool

HasInfraClassification returns a boolean if a field has been set.

func (*IP) HasInfraMonitor

func (o *IP) HasInfraMonitor() bool

HasInfraMonitor returns a boolean if a field has been set.

func (*IP) HasLabels added in v1.0.1

func (o *IP) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*IP) HasMailruSettings

func (o *IP) HasMailruSettings() bool

HasMailruSettings returns a boolean if a field has been set.

func (*IP) HasMicrosoftSettings

func (o *IP) HasMicrosoftSettings() bool

HasMicrosoftSettings returns a boolean if a field has been set.

func (*IP) HasMimecastSettings added in v1.0.1

func (o *IP) HasMimecastSettings() bool

HasMimecastSettings returns a boolean if a field has been set.

func (*IP) HasOffice365Settings added in v1.0.1

func (o *IP) HasOffice365Settings() bool

HasOffice365Settings returns a boolean if a field has been set.

func (*IP) HasProofpointSettings added in v1.0.1

func (o *IP) HasProofpointSettings() bool

HasProofpointSettings returns a boolean if a field has been set.

func (*IP) HasQqSettings

func (o *IP) HasQqSettings() bool

HasQqSettings returns a boolean if a field has been set.

func (*IP) HasRackspaceSettings added in v1.0.1

func (o *IP) HasRackspaceSettings() bool

HasRackspaceSettings returns a boolean if a field has been set.

func (*IP) HasReverseDNSHostname

func (o *IP) HasReverseDNSHostname() bool

HasReverseDNSHostname returns a boolean if a field has been set.

func (*IP) HasSophosSettings added in v1.0.1

func (o *IP) HasSophosSettings() bool

HasSophosSettings returns a boolean if a field has been set.

func (*IP) HasState

func (o *IP) HasState() bool

HasState returns a boolean if a field has been set.

func (*IP) HasSymantecSettings added in v1.0.1

func (o *IP) HasSymantecSettings() bool

HasSymantecSettings returns a boolean if a field has been set.

func (*IP) HasSystemDomain

func (o *IP) HasSystemDomain() bool

HasSystemDomain returns a boolean if a field has been set.

func (*IP) HasTrendmicroSettings added in v1.0.1

func (o *IP) HasTrendmicroSettings() bool

HasTrendmicroSettings returns a boolean if a field has been set.

func (*IP) HasType

func (o *IP) HasType() bool

HasType returns a boolean if a field has been set.

func (*IP) HasYahooSettings

func (o *IP) HasYahooSettings() bool

HasYahooSettings returns a boolean if a field has been set.

func (*IP) HasYandexSettings

func (o *IP) HasYandexSettings() bool

HasYandexSettings returns a boolean if a field has been set.

func (*IP) HasZohoSettings

func (o *IP) HasZohoSettings() bool

HasZohoSettings returns a boolean if a field has been set.

func (*IP) HasZohobusinessSettings added in v1.0.1

func (o *IP) HasZohobusinessSettings() bool

HasZohobusinessSettings returns a boolean if a field has been set.

func (IP) MarshalJSON

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

func (*IP) SetAmazonworkmailSettings added in v1.0.1

func (o *IP) SetAmazonworkmailSettings(v string)

SetAmazonworkmailSettings gets a reference to the given string and assigns it to the AmazonworkmailSettings field.

func (*IP) SetAolSettings

func (o *IP) SetAolSettings(v string)

SetAolSettings gets a reference to the given string and assigns it to the AolSettings field.

func (*IP) SetAttSettings

func (o *IP) SetAttSettings(v string)

SetAttSettings gets a reference to the given string and assigns it to the AttSettings field.

func (*IP) SetAutoWarmupPlan

func (o *IP) SetAutoWarmupPlan(v AutoWarmupPlan)

SetAutoWarmupPlan gets a reference to the given AutoWarmupPlan and assigns it to the AutoWarmupPlan field.

func (*IP) SetBarracudaSettings added in v1.0.1

func (o *IP) SetBarracudaSettings(v string)

SetBarracudaSettings gets a reference to the given string and assigns it to the BarracudaSettings field.

func (*IP) SetCheckpointSettings added in v1.0.1

func (o *IP) SetCheckpointSettings(v string)

SetCheckpointSettings gets a reference to the given string and assigns it to the CheckpointSettings field.

func (*IP) SetCiscoironportSettings added in v1.0.1

func (o *IP) SetCiscoironportSettings(v string)

SetCiscoironportSettings gets a reference to the given string and assigns it to the CiscoironportSettings field.

func (*IP) SetComcastSettings

func (o *IP) SetComcastSettings(v string)

SetComcastSettings gets a reference to the given string and assigns it to the ComcastSettings field.

func (*IP) SetCreated

func (o *IP) SetCreated(v int64)

SetCreated sets field value

func (*IP) SetDefaultSettings

func (o *IP) SetDefaultSettings(v string)

SetDefaultSettings gets a reference to the given string and assigns it to the DefaultSettings field.

func (*IP) SetFortinetSettings added in v1.0.1

func (o *IP) SetFortinetSettings(v string)

SetFortinetSettings gets a reference to the given string and assigns it to the FortinetSettings field.

func (*IP) SetGmailSettings

func (o *IP) SetGmailSettings(v string)

SetGmailSettings gets a reference to the given string and assigns it to the GmailSettings field.

func (*IP) SetGmxSettings

func (o *IP) SetGmxSettings(v string)

SetGmxSettings gets a reference to the given string and assigns it to the GmxSettings field.

func (*IP) SetGoogleworkspaceSettings added in v1.0.1

func (o *IP) SetGoogleworkspaceSettings(v string)

SetGoogleworkspaceSettings gets a reference to the given string and assigns it to the GoogleworkspaceSettings field.

func (*IP) SetIcloudSettings

func (o *IP) SetIcloudSettings(v string)

SetIcloudSettings gets a reference to the given string and assigns it to the IcloudSettings field.

func (*IP) SetId

func (o *IP) SetId(v int32)

SetId sets field value

func (*IP) SetInfraClassification

func (o *IP) SetInfraClassification(v string)

SetInfraClassification gets a reference to the given string and assigns it to the InfraClassification field.

func (*IP) SetInfraMonitor

func (o *IP) SetInfraMonitor(v bool)

SetInfraMonitor gets a reference to the given bool and assigns it to the InfraMonitor field.

func (*IP) SetLabels added in v1.0.1

func (o *IP) SetLabels(v []Label)

SetLabels gets a reference to the given []Label and assigns it to the Labels field.

func (*IP) SetMailruSettings

func (o *IP) SetMailruSettings(v string)

SetMailruSettings gets a reference to the given string and assigns it to the MailruSettings field.

func (*IP) SetMicrosoftSettings

func (o *IP) SetMicrosoftSettings(v string)

SetMicrosoftSettings gets a reference to the given string and assigns it to the MicrosoftSettings field.

func (*IP) SetMimecastSettings added in v1.0.1

func (o *IP) SetMimecastSettings(v string)

SetMimecastSettings gets a reference to the given string and assigns it to the MimecastSettings field.

func (*IP) SetOffice365Settings added in v1.0.1

func (o *IP) SetOffice365Settings(v string)

SetOffice365Settings gets a reference to the given string and assigns it to the Office365Settings field.

func (*IP) SetProofpointSettings added in v1.0.1

func (o *IP) SetProofpointSettings(v string)

SetProofpointSettings gets a reference to the given string and assigns it to the ProofpointSettings field.

func (*IP) SetPublicIP

func (o *IP) SetPublicIP(v string)

SetPublicIP sets field value

func (*IP) SetQqSettings

func (o *IP) SetQqSettings(v string)

SetQqSettings gets a reference to the given string and assigns it to the QqSettings field.

func (*IP) SetRackspaceSettings added in v1.0.1

func (o *IP) SetRackspaceSettings(v string)

SetRackspaceSettings gets a reference to the given string and assigns it to the RackspaceSettings field.

func (*IP) SetReverseDNSHostname

func (o *IP) SetReverseDNSHostname(v string)

SetReverseDNSHostname gets a reference to the given string and assigns it to the ReverseDNSHostname field.

func (*IP) SetSophosSettings added in v1.0.1

func (o *IP) SetSophosSettings(v string)

SetSophosSettings gets a reference to the given string and assigns it to the SophosSettings field.

func (*IP) SetState

func (o *IP) SetState(v int32)

SetState gets a reference to the given int32 and assigns it to the State field.

func (*IP) SetSymantecSettings added in v1.0.1

func (o *IP) SetSymantecSettings(v string)

SetSymantecSettings gets a reference to the given string and assigns it to the SymantecSettings field.

func (*IP) SetSystemDomain

func (o *IP) SetSystemDomain(v Domain)

SetSystemDomain gets a reference to the given Domain and assigns it to the SystemDomain field.

func (*IP) SetTrendmicroSettings added in v1.0.1

func (o *IP) SetTrendmicroSettings(v string)

SetTrendmicroSettings gets a reference to the given string and assigns it to the TrendmicroSettings field.

func (*IP) SetType

func (o *IP) SetType(v int32)

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

func (*IP) SetYahooSettings

func (o *IP) SetYahooSettings(v string)

SetYahooSettings gets a reference to the given string and assigns it to the YahooSettings field.

func (*IP) SetYandexSettings

func (o *IP) SetYandexSettings(v string)

SetYandexSettings gets a reference to the given string and assigns it to the YandexSettings field.

func (*IP) SetZohoSettings

func (o *IP) SetZohoSettings(v string)

SetZohoSettings gets a reference to the given string and assigns it to the ZohoSettings field.

func (*IP) SetZohobusinessSettings added in v1.0.1

func (o *IP) SetZohobusinessSettings(v string)

SetZohobusinessSettings gets a reference to the given string and assigns it to the ZohobusinessSettings field.

func (IP) ToMap

func (o IP) ToMap() (map[string]interface{}, error)

func (*IP) UnmarshalJSON

func (o *IP) UnmarshalJSON(data []byte) (err error)

type IPAPIService

type IPAPIService service

IPAPIService IPAPI service

func (*IPAPIService) AllocateNewIp

func (a *IPAPIService) AllocateNewIp(ctx context.Context) ApiAllocateNewIpRequest

AllocateNewIp Allocate IP

Allocates a new IP resource to the account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAllocateNewIpRequest

func (*IPAPIService) AllocateNewIpExecute

func (a *IPAPIService) AllocateNewIpExecute(r ApiAllocateNewIpRequest) (*IP, *http.Response, error)

Execute executes the request

@return IP

func (*IPAPIService) DeleteIp

func (a *IPAPIService) DeleteIp(ctx context.Context, ipId int32) ApiDeleteIpRequest

DeleteIp Delete IP

Deletes a specific IP resource based on the provided IP ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ipId The ID of the IP resource to delete
@return ApiDeleteIpRequest

func (*IPAPIService) DeleteIpExecute

Execute executes the request

@return IPDeletionResponse

func (*IPAPIService) GetAllIps

func (a *IPAPIService) GetAllIps(ctx context.Context) ApiGetAllIpsRequest

GetAllIps List IPs

Retrieves a list of all IPs associated with the main account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllIpsRequest

func (*IPAPIService) GetAllIpsExecute

func (a *IPAPIService) GetAllIpsExecute(r ApiGetAllIpsRequest) ([]IP, *http.Response, error)

Execute executes the request

@return []IP

func (*IPAPIService) GetSpecificIp

func (a *IPAPIService) GetSpecificIp(ctx context.Context, ipId int32) ApiGetSpecificIpRequest

GetSpecificIp Get IP

Retrieves detailed information about a specific IP based on the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ipId The ID of the IP resource to retrieve
@return ApiGetSpecificIpRequest

func (*IPAPIService) GetSpecificIpExecute

func (a *IPAPIService) GetSpecificIpExecute(r ApiGetSpecificIpRequest) (*IP, *http.Response, error)

Execute executes the request

@return IP

func (*IPAPIService) UpdateIp

func (a *IPAPIService) UpdateIp(ctx context.Context, ipId int32) ApiUpdateIpRequest

UpdateIp Update IP

Updates an existing IP resource based on the provided IP ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ipId The ID of the IP resource to update
@return ApiUpdateIpRequest

func (*IPAPIService) UpdateIpExecute

func (a *IPAPIService) UpdateIpExecute(r ApiUpdateIpRequest) (*IP, *http.Response, error)

Execute executes the request

@return IP

type IPAllocationRequest

type IPAllocationRequest struct {
	// Determines whether emails should be sent over shared IP when the IP pool is full
	OverflowPool bool     `json:"overflowPool"`
	Ips          []string `json:"ips"`
}

IPAllocationRequest struct for IPAllocationRequest

func NewIPAllocationRequest

func NewIPAllocationRequest(overflowPool bool, ips []string) *IPAllocationRequest

NewIPAllocationRequest instantiates a new IPAllocationRequest 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 NewIPAllocationRequestWithDefaults

func NewIPAllocationRequestWithDefaults() *IPAllocationRequest

NewIPAllocationRequestWithDefaults instantiates a new IPAllocationRequest 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 (*IPAllocationRequest) GetIps

func (o *IPAllocationRequest) GetIps() []string

GetIps returns the Ips field value

func (*IPAllocationRequest) GetIpsOk

func (o *IPAllocationRequest) GetIpsOk() ([]string, bool)

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

func (*IPAllocationRequest) GetOverflowPool

func (o *IPAllocationRequest) GetOverflowPool() bool

GetOverflowPool returns the OverflowPool field value

func (*IPAllocationRequest) GetOverflowPoolOk

func (o *IPAllocationRequest) GetOverflowPoolOk() (*bool, bool)

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

func (IPAllocationRequest) MarshalJSON

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

func (*IPAllocationRequest) SetIps

func (o *IPAllocationRequest) SetIps(v []string)

SetIps sets field value

func (*IPAllocationRequest) SetOverflowPool

func (o *IPAllocationRequest) SetOverflowPool(v bool)

SetOverflowPool sets field value

func (IPAllocationRequest) ToMap

func (o IPAllocationRequest) ToMap() (map[string]interface{}, error)

func (*IPAllocationRequest) UnmarshalJSON

func (o *IPAllocationRequest) UnmarshalJSON(data []byte) (err error)

type IPDeletionResponse

type IPDeletionResponse struct {
	// The unique ID of the IP
	Id int32 `json:"id"`
	// The confirmation message after deletion
	Message string `json:"message"`
}

IPDeletionResponse struct for IPDeletionResponse

func NewIPDeletionResponse

func NewIPDeletionResponse(id int32, message string) *IPDeletionResponse

NewIPDeletionResponse instantiates a new IPDeletionResponse 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 NewIPDeletionResponseWithDefaults

func NewIPDeletionResponseWithDefaults() *IPDeletionResponse

NewIPDeletionResponseWithDefaults instantiates a new IPDeletionResponse 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 (*IPDeletionResponse) GetId

func (o *IPDeletionResponse) GetId() int32

GetId returns the Id field value

func (*IPDeletionResponse) GetIdOk

func (o *IPDeletionResponse) GetIdOk() (*int32, bool)

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

func (*IPDeletionResponse) GetMessage

func (o *IPDeletionResponse) GetMessage() string

GetMessage returns the Message field value

func (*IPDeletionResponse) GetMessageOk

func (o *IPDeletionResponse) GetMessageOk() (*string, bool)

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

func (IPDeletionResponse) MarshalJSON

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

func (*IPDeletionResponse) SetId

func (o *IPDeletionResponse) SetId(v int32)

SetId sets field value

func (*IPDeletionResponse) SetMessage

func (o *IPDeletionResponse) SetMessage(v string)

SetMessage sets field value

func (IPDeletionResponse) ToMap

func (o IPDeletionResponse) ToMap() (map[string]interface{}, error)

func (*IPDeletionResponse) UnmarshalJSON

func (o *IPDeletionResponse) UnmarshalJSON(data []byte) (err error)

type IPPool

type IPPool struct {
	Id   *int32  `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// Type of IP pool (0 = Shared, 1 = Dedicated)
	Type                       *int32                      `json:"type,omitempty"`
	Created                    *int64                      `json:"created,omitempty"`
	Ips                        []IP                        `json:"ips,omitempty"`
	ThirdPartySendingProviders []ThirdPartySendingProvider `json:"thirdPartySendingProviders,omitempty"`
	// Related account IP pools
	ToAccountIPPools     []IPPool `json:"toAccountIPPools,omitempty"`
	RoutingStrategy      *int32   `json:"routingStrategy,omitempty"`
	RoutingMetaData      *string  `json:"routingMetaData,omitempty"`
	AutoWarmupEnabled    *bool    `json:"autoWarmupEnabled,omitempty"`
	InfraMonitor         *bool    `json:"infraMonitor,omitempty"`
	IpDomainWarmupStatus *string  `json:"ipDomainWarmupStatus,omitempty"`
	// Indicates whether the IP should overflow, once email capacity of the IP Pool has been reached, should we send remaining emails over shared IP or not
	ShouldOverflow *bool `json:"shouldOverflow,omitempty"`
	// The name of the overflow pool
	OverflowPoolName *string `json:"overflowPoolName,omitempty"`
	// The interval for the warmup
	WarmupInterval *int32 `json:"warmupInterval,omitempty"`
}

IPPool struct for IPPool

func NewIPPool

func NewIPPool() *IPPool

NewIPPool instantiates a new IPPool 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 NewIPPoolWithDefaults

func NewIPPoolWithDefaults() *IPPool

NewIPPoolWithDefaults instantiates a new IPPool 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 (*IPPool) GetAutoWarmupEnabled

func (o *IPPool) GetAutoWarmupEnabled() bool

GetAutoWarmupEnabled returns the AutoWarmupEnabled field value if set, zero value otherwise.

func (*IPPool) GetAutoWarmupEnabledOk

func (o *IPPool) GetAutoWarmupEnabledOk() (*bool, bool)

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

func (*IPPool) GetCreated

func (o *IPPool) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*IPPool) GetCreatedOk

func (o *IPPool) GetCreatedOk() (*int64, bool)

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

func (*IPPool) GetId

func (o *IPPool) GetId() int32

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

func (*IPPool) GetIdOk

func (o *IPPool) 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 (*IPPool) GetInfraMonitor

func (o *IPPool) GetInfraMonitor() bool

GetInfraMonitor returns the InfraMonitor field value if set, zero value otherwise.

func (*IPPool) GetInfraMonitorOk

func (o *IPPool) GetInfraMonitorOk() (*bool, bool)

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

func (*IPPool) GetIpDomainWarmupStatus

func (o *IPPool) GetIpDomainWarmupStatus() string

GetIpDomainWarmupStatus returns the IpDomainWarmupStatus field value if set, zero value otherwise.

func (*IPPool) GetIpDomainWarmupStatusOk

func (o *IPPool) GetIpDomainWarmupStatusOk() (*string, bool)

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

func (*IPPool) GetIps

func (o *IPPool) GetIps() []IP

GetIps returns the Ips field value if set, zero value otherwise.

func (*IPPool) GetIpsOk

func (o *IPPool) GetIpsOk() ([]IP, bool)

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

func (*IPPool) GetName

func (o *IPPool) GetName() string

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

func (*IPPool) GetNameOk

func (o *IPPool) 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 (*IPPool) GetOverflowPoolName

func (o *IPPool) GetOverflowPoolName() string

GetOverflowPoolName returns the OverflowPoolName field value if set, zero value otherwise.

func (*IPPool) GetOverflowPoolNameOk

func (o *IPPool) GetOverflowPoolNameOk() (*string, bool)

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

func (*IPPool) GetRoutingMetaData

func (o *IPPool) GetRoutingMetaData() string

GetRoutingMetaData returns the RoutingMetaData field value if set, zero value otherwise.

func (*IPPool) GetRoutingMetaDataOk

func (o *IPPool) GetRoutingMetaDataOk() (*string, bool)

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

func (*IPPool) GetRoutingStrategy

func (o *IPPool) GetRoutingStrategy() int32

GetRoutingStrategy returns the RoutingStrategy field value if set, zero value otherwise.

func (*IPPool) GetRoutingStrategyOk

func (o *IPPool) GetRoutingStrategyOk() (*int32, bool)

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

func (*IPPool) GetShouldOverflow

func (o *IPPool) GetShouldOverflow() bool

GetShouldOverflow returns the ShouldOverflow field value if set, zero value otherwise.

func (*IPPool) GetShouldOverflowOk

func (o *IPPool) GetShouldOverflowOk() (*bool, bool)

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

func (*IPPool) GetThirdPartySendingProviders

func (o *IPPool) GetThirdPartySendingProviders() []ThirdPartySendingProvider

GetThirdPartySendingProviders returns the ThirdPartySendingProviders field value if set, zero value otherwise.

func (*IPPool) GetThirdPartySendingProvidersOk

func (o *IPPool) GetThirdPartySendingProvidersOk() ([]ThirdPartySendingProvider, bool)

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

func (*IPPool) GetToAccountIPPools added in v1.0.2

func (o *IPPool) GetToAccountIPPools() []IPPool

GetToAccountIPPools returns the ToAccountIPPools field value if set, zero value otherwise.

func (*IPPool) GetToAccountIPPoolsOk added in v1.0.2

func (o *IPPool) GetToAccountIPPoolsOk() ([]IPPool, bool)

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

func (*IPPool) GetType added in v1.0.2

func (o *IPPool) GetType() int32

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

func (*IPPool) GetTypeOk added in v1.0.2

func (o *IPPool) GetTypeOk() (*int32, 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 (*IPPool) GetWarmupInterval

func (o *IPPool) GetWarmupInterval() int32

GetWarmupInterval returns the WarmupInterval field value if set, zero value otherwise.

func (*IPPool) GetWarmupIntervalOk

func (o *IPPool) GetWarmupIntervalOk() (*int32, bool)

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

func (*IPPool) HasAutoWarmupEnabled

func (o *IPPool) HasAutoWarmupEnabled() bool

HasAutoWarmupEnabled returns a boolean if a field has been set.

func (*IPPool) HasCreated

func (o *IPPool) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IPPool) HasId

func (o *IPPool) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPPool) HasInfraMonitor

func (o *IPPool) HasInfraMonitor() bool

HasInfraMonitor returns a boolean if a field has been set.

func (*IPPool) HasIpDomainWarmupStatus

func (o *IPPool) HasIpDomainWarmupStatus() bool

HasIpDomainWarmupStatus returns a boolean if a field has been set.

func (*IPPool) HasIps

func (o *IPPool) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*IPPool) HasName

func (o *IPPool) HasName() bool

HasName returns a boolean if a field has been set.

func (*IPPool) HasOverflowPoolName

func (o *IPPool) HasOverflowPoolName() bool

HasOverflowPoolName returns a boolean if a field has been set.

func (*IPPool) HasRoutingMetaData

func (o *IPPool) HasRoutingMetaData() bool

HasRoutingMetaData returns a boolean if a field has been set.

func (*IPPool) HasRoutingStrategy

func (o *IPPool) HasRoutingStrategy() bool

HasRoutingStrategy returns a boolean if a field has been set.

func (*IPPool) HasShouldOverflow

func (o *IPPool) HasShouldOverflow() bool

HasShouldOverflow returns a boolean if a field has been set.

func (*IPPool) HasThirdPartySendingProviders

func (o *IPPool) HasThirdPartySendingProviders() bool

HasThirdPartySendingProviders returns a boolean if a field has been set.

func (*IPPool) HasToAccountIPPools added in v1.0.2

func (o *IPPool) HasToAccountIPPools() bool

HasToAccountIPPools returns a boolean if a field has been set.

func (*IPPool) HasType added in v1.0.2

func (o *IPPool) HasType() bool

HasType returns a boolean if a field has been set.

func (*IPPool) HasWarmupInterval

func (o *IPPool) HasWarmupInterval() bool

HasWarmupInterval returns a boolean if a field has been set.

func (IPPool) MarshalJSON

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

func (*IPPool) SetAutoWarmupEnabled

func (o *IPPool) SetAutoWarmupEnabled(v bool)

SetAutoWarmupEnabled gets a reference to the given bool and assigns it to the AutoWarmupEnabled field.

func (*IPPool) SetCreated

func (o *IPPool) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*IPPool) SetId

func (o *IPPool) SetId(v int32)

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

func (*IPPool) SetInfraMonitor

func (o *IPPool) SetInfraMonitor(v bool)

SetInfraMonitor gets a reference to the given bool and assigns it to the InfraMonitor field.

func (*IPPool) SetIpDomainWarmupStatus

func (o *IPPool) SetIpDomainWarmupStatus(v string)

SetIpDomainWarmupStatus gets a reference to the given string and assigns it to the IpDomainWarmupStatus field.

func (*IPPool) SetIps

func (o *IPPool) SetIps(v []IP)

SetIps gets a reference to the given []IP and assigns it to the Ips field.

func (*IPPool) SetName

func (o *IPPool) SetName(v string)

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

func (*IPPool) SetOverflowPoolName

func (o *IPPool) SetOverflowPoolName(v string)

SetOverflowPoolName gets a reference to the given string and assigns it to the OverflowPoolName field.

func (*IPPool) SetRoutingMetaData

func (o *IPPool) SetRoutingMetaData(v string)

SetRoutingMetaData gets a reference to the given string and assigns it to the RoutingMetaData field.

func (*IPPool) SetRoutingStrategy

func (o *IPPool) SetRoutingStrategy(v int32)

SetRoutingStrategy gets a reference to the given int32 and assigns it to the RoutingStrategy field.

func (*IPPool) SetShouldOverflow

func (o *IPPool) SetShouldOverflow(v bool)

SetShouldOverflow gets a reference to the given bool and assigns it to the ShouldOverflow field.

func (*IPPool) SetThirdPartySendingProviders

func (o *IPPool) SetThirdPartySendingProviders(v []ThirdPartySendingProvider)

SetThirdPartySendingProviders gets a reference to the given []ThirdPartySendingProvider and assigns it to the ThirdPartySendingProviders field.

func (*IPPool) SetToAccountIPPools added in v1.0.2

func (o *IPPool) SetToAccountIPPools(v []IPPool)

SetToAccountIPPools gets a reference to the given []IPPool and assigns it to the ToAccountIPPools field.

func (*IPPool) SetType added in v1.0.2

func (o *IPPool) SetType(v int32)

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

func (*IPPool) SetWarmupInterval

func (o *IPPool) SetWarmupInterval(v int32)

SetWarmupInterval gets a reference to the given int32 and assigns it to the WarmupInterval field.

func (IPPool) ToMap

func (o IPPool) ToMap() (map[string]interface{}, error)

type IPPoolCreateRequest

type IPPoolCreateRequest struct {
	Name            *string `json:"name,omitempty"`
	Ips             []EIP   `json:"ips,omitempty"`
	Tpsps           []int32 `json:"tpsps,omitempty"`
	RoutingStrategy *int32  `json:"routingStrategy,omitempty"`
	RoutingMetaData *string `json:"routingMetaData,omitempty"`
	OverflowPool    *bool   `json:"overflowPool,omitempty"`
	// Warmup interval in hours. Must be greater than 0.
	WarmupInterval *int32 `json:"warmupInterval,omitempty"`
	// Overflow strategy (0 = None, 1 = Use overflow pool)
	OverflowStrategy *int32 `json:"overflowStrategy,omitempty"`
	// Name of the overflow pool (required if overflowStrategy is 1)
	OverflowPoolName *string `json:"overflowPoolName,omitempty"`
}

IPPoolCreateRequest struct for IPPoolCreateRequest

func NewIPPoolCreateRequest

func NewIPPoolCreateRequest() *IPPoolCreateRequest

NewIPPoolCreateRequest instantiates a new IPPoolCreateRequest 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 NewIPPoolCreateRequestWithDefaults

func NewIPPoolCreateRequestWithDefaults() *IPPoolCreateRequest

NewIPPoolCreateRequestWithDefaults instantiates a new IPPoolCreateRequest 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 (*IPPoolCreateRequest) GetIps

func (o *IPPoolCreateRequest) GetIps() []EIP

GetIps returns the Ips field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetIpsOk

func (o *IPPoolCreateRequest) GetIpsOk() ([]EIP, bool)

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

func (*IPPoolCreateRequest) GetName

func (o *IPPoolCreateRequest) GetName() string

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

func (*IPPoolCreateRequest) GetNameOk

func (o *IPPoolCreateRequest) 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 (*IPPoolCreateRequest) GetOverflowPool

func (o *IPPoolCreateRequest) GetOverflowPool() bool

GetOverflowPool returns the OverflowPool field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetOverflowPoolName added in v1.0.2

func (o *IPPoolCreateRequest) GetOverflowPoolName() string

GetOverflowPoolName returns the OverflowPoolName field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetOverflowPoolNameOk added in v1.0.2

func (o *IPPoolCreateRequest) GetOverflowPoolNameOk() (*string, bool)

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

func (*IPPoolCreateRequest) GetOverflowPoolOk

func (o *IPPoolCreateRequest) GetOverflowPoolOk() (*bool, bool)

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

func (*IPPoolCreateRequest) GetOverflowStrategy added in v1.0.2

func (o *IPPoolCreateRequest) GetOverflowStrategy() int32

GetOverflowStrategy returns the OverflowStrategy field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetOverflowStrategyOk added in v1.0.2

func (o *IPPoolCreateRequest) GetOverflowStrategyOk() (*int32, bool)

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

func (*IPPoolCreateRequest) GetRoutingMetaData

func (o *IPPoolCreateRequest) GetRoutingMetaData() string

GetRoutingMetaData returns the RoutingMetaData field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetRoutingMetaDataOk

func (o *IPPoolCreateRequest) GetRoutingMetaDataOk() (*string, bool)

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

func (*IPPoolCreateRequest) GetRoutingStrategy

func (o *IPPoolCreateRequest) GetRoutingStrategy() int32

GetRoutingStrategy returns the RoutingStrategy field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetRoutingStrategyOk

func (o *IPPoolCreateRequest) GetRoutingStrategyOk() (*int32, bool)

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

func (*IPPoolCreateRequest) GetTpsps

func (o *IPPoolCreateRequest) GetTpsps() []int32

GetTpsps returns the Tpsps field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetTpspsOk

func (o *IPPoolCreateRequest) GetTpspsOk() ([]int32, bool)

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

func (*IPPoolCreateRequest) GetWarmupInterval added in v1.0.2

func (o *IPPoolCreateRequest) GetWarmupInterval() int32

GetWarmupInterval returns the WarmupInterval field value if set, zero value otherwise.

func (*IPPoolCreateRequest) GetWarmupIntervalOk added in v1.0.2

func (o *IPPoolCreateRequest) GetWarmupIntervalOk() (*int32, bool)

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

func (*IPPoolCreateRequest) HasIps

func (o *IPPoolCreateRequest) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasName

func (o *IPPoolCreateRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasOverflowPool

func (o *IPPoolCreateRequest) HasOverflowPool() bool

HasOverflowPool returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasOverflowPoolName added in v1.0.2

func (o *IPPoolCreateRequest) HasOverflowPoolName() bool

HasOverflowPoolName returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasOverflowStrategy added in v1.0.2

func (o *IPPoolCreateRequest) HasOverflowStrategy() bool

HasOverflowStrategy returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasRoutingMetaData

func (o *IPPoolCreateRequest) HasRoutingMetaData() bool

HasRoutingMetaData returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasRoutingStrategy

func (o *IPPoolCreateRequest) HasRoutingStrategy() bool

HasRoutingStrategy returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasTpsps

func (o *IPPoolCreateRequest) HasTpsps() bool

HasTpsps returns a boolean if a field has been set.

func (*IPPoolCreateRequest) HasWarmupInterval added in v1.0.2

func (o *IPPoolCreateRequest) HasWarmupInterval() bool

HasWarmupInterval returns a boolean if a field has been set.

func (IPPoolCreateRequest) MarshalJSON

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

func (*IPPoolCreateRequest) SetIps

func (o *IPPoolCreateRequest) SetIps(v []EIP)

SetIps gets a reference to the given []EIP and assigns it to the Ips field.

func (*IPPoolCreateRequest) SetName

func (o *IPPoolCreateRequest) SetName(v string)

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

func (*IPPoolCreateRequest) SetOverflowPool

func (o *IPPoolCreateRequest) SetOverflowPool(v bool)

SetOverflowPool gets a reference to the given bool and assigns it to the OverflowPool field.

func (*IPPoolCreateRequest) SetOverflowPoolName added in v1.0.2

func (o *IPPoolCreateRequest) SetOverflowPoolName(v string)

SetOverflowPoolName gets a reference to the given string and assigns it to the OverflowPoolName field.

func (*IPPoolCreateRequest) SetOverflowStrategy added in v1.0.2

func (o *IPPoolCreateRequest) SetOverflowStrategy(v int32)

SetOverflowStrategy gets a reference to the given int32 and assigns it to the OverflowStrategy field.

func (*IPPoolCreateRequest) SetRoutingMetaData

func (o *IPPoolCreateRequest) SetRoutingMetaData(v string)

SetRoutingMetaData gets a reference to the given string and assigns it to the RoutingMetaData field.

func (*IPPoolCreateRequest) SetRoutingStrategy

func (o *IPPoolCreateRequest) SetRoutingStrategy(v int32)

SetRoutingStrategy gets a reference to the given int32 and assigns it to the RoutingStrategy field.

func (*IPPoolCreateRequest) SetTpsps

func (o *IPPoolCreateRequest) SetTpsps(v []int32)

SetTpsps gets a reference to the given []int32 and assigns it to the Tpsps field.

func (*IPPoolCreateRequest) SetWarmupInterval added in v1.0.2

func (o *IPPoolCreateRequest) SetWarmupInterval(v int32)

SetWarmupInterval gets a reference to the given int32 and assigns it to the WarmupInterval field.

func (IPPoolCreateRequest) ToMap

func (o IPPoolCreateRequest) ToMap() (map[string]interface{}, error)

type IPPoolDeleteResponse

type IPPoolDeleteResponse struct {
	Id      *int32  `json:"id,omitempty"`
	Message *string `json:"message,omitempty"`
}

IPPoolDeleteResponse struct for IPPoolDeleteResponse

func NewIPPoolDeleteResponse

func NewIPPoolDeleteResponse() *IPPoolDeleteResponse

NewIPPoolDeleteResponse instantiates a new IPPoolDeleteResponse 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 NewIPPoolDeleteResponseWithDefaults

func NewIPPoolDeleteResponseWithDefaults() *IPPoolDeleteResponse

NewIPPoolDeleteResponseWithDefaults instantiates a new IPPoolDeleteResponse 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 (*IPPoolDeleteResponse) GetId

func (o *IPPoolDeleteResponse) GetId() int32

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

func (*IPPoolDeleteResponse) GetIdOk

func (o *IPPoolDeleteResponse) 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 (*IPPoolDeleteResponse) GetMessage

func (o *IPPoolDeleteResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*IPPoolDeleteResponse) GetMessageOk

func (o *IPPoolDeleteResponse) GetMessageOk() (*string, bool)

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

func (*IPPoolDeleteResponse) HasId

func (o *IPPoolDeleteResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPPoolDeleteResponse) HasMessage

func (o *IPPoolDeleteResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (IPPoolDeleteResponse) MarshalJSON

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

func (*IPPoolDeleteResponse) SetId

func (o *IPPoolDeleteResponse) SetId(v int32)

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

func (*IPPoolDeleteResponse) SetMessage

func (o *IPPoolDeleteResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (IPPoolDeleteResponse) ToMap

func (o IPPoolDeleteResponse) ToMap() (map[string]interface{}, error)

type IPPoolUpdateRequest

type IPPoolUpdateRequest struct {
	Name            *string `json:"name,omitempty"`
	Ips             []IP    `json:"ips,omitempty"`
	RoutingStrategy *int32  `json:"routingStrategy,omitempty"`
	RoutingMetaData *string `json:"routingMetaData,omitempty"`
}

IPPoolUpdateRequest struct for IPPoolUpdateRequest

func NewIPPoolUpdateRequest

func NewIPPoolUpdateRequest() *IPPoolUpdateRequest

NewIPPoolUpdateRequest instantiates a new IPPoolUpdateRequest 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 NewIPPoolUpdateRequestWithDefaults

func NewIPPoolUpdateRequestWithDefaults() *IPPoolUpdateRequest

NewIPPoolUpdateRequestWithDefaults instantiates a new IPPoolUpdateRequest 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 (*IPPoolUpdateRequest) GetIps

func (o *IPPoolUpdateRequest) GetIps() []IP

GetIps returns the Ips field value if set, zero value otherwise.

func (*IPPoolUpdateRequest) GetIpsOk

func (o *IPPoolUpdateRequest) GetIpsOk() ([]IP, bool)

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

func (*IPPoolUpdateRequest) GetName

func (o *IPPoolUpdateRequest) GetName() string

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

func (*IPPoolUpdateRequest) GetNameOk

func (o *IPPoolUpdateRequest) 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 (*IPPoolUpdateRequest) GetRoutingMetaData

func (o *IPPoolUpdateRequest) GetRoutingMetaData() string

GetRoutingMetaData returns the RoutingMetaData field value if set, zero value otherwise.

func (*IPPoolUpdateRequest) GetRoutingMetaDataOk

func (o *IPPoolUpdateRequest) GetRoutingMetaDataOk() (*string, bool)

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

func (*IPPoolUpdateRequest) GetRoutingStrategy

func (o *IPPoolUpdateRequest) GetRoutingStrategy() int32

GetRoutingStrategy returns the RoutingStrategy field value if set, zero value otherwise.

func (*IPPoolUpdateRequest) GetRoutingStrategyOk

func (o *IPPoolUpdateRequest) GetRoutingStrategyOk() (*int32, bool)

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

func (*IPPoolUpdateRequest) HasIps

func (o *IPPoolUpdateRequest) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*IPPoolUpdateRequest) HasName

func (o *IPPoolUpdateRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*IPPoolUpdateRequest) HasRoutingMetaData

func (o *IPPoolUpdateRequest) HasRoutingMetaData() bool

HasRoutingMetaData returns a boolean if a field has been set.

func (*IPPoolUpdateRequest) HasRoutingStrategy

func (o *IPPoolUpdateRequest) HasRoutingStrategy() bool

HasRoutingStrategy returns a boolean if a field has been set.

func (IPPoolUpdateRequest) MarshalJSON

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

func (*IPPoolUpdateRequest) SetIps

func (o *IPPoolUpdateRequest) SetIps(v []IP)

SetIps gets a reference to the given []IP and assigns it to the Ips field.

func (*IPPoolUpdateRequest) SetName

func (o *IPPoolUpdateRequest) SetName(v string)

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

func (*IPPoolUpdateRequest) SetRoutingMetaData

func (o *IPPoolUpdateRequest) SetRoutingMetaData(v string)

SetRoutingMetaData gets a reference to the given string and assigns it to the RoutingMetaData field.

func (*IPPoolUpdateRequest) SetRoutingStrategy

func (o *IPPoolUpdateRequest) SetRoutingStrategy(v int32)

SetRoutingStrategy gets a reference to the given int32 and assigns it to the RoutingStrategy field.

func (IPPoolUpdateRequest) ToMap

func (o IPPoolUpdateRequest) ToMap() (map[string]interface{}, error)

type IPPoolsAPIService

type IPPoolsAPIService service

IPPoolsAPIService IPPoolsAPI service

func (*IPPoolsAPIService) CreateIPPool

CreateIPPool Create IPPool

Creates a new IPPool with the specified name, IPs, and third-party sending providers.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateIPPoolRequest

func (*IPPoolsAPIService) CreateIPPoolExecute

func (a *IPPoolsAPIService) CreateIPPoolExecute(r ApiCreateIPPoolRequest) (*IPPool, *http.Response, error)

Execute executes the request

@return IPPool

func (*IPPoolsAPIService) DeleteIPPool

func (a *IPPoolsAPIService) DeleteIPPool(ctx context.Context, ippoolId int32) ApiDeleteIPPoolRequest

DeleteIPPool Delete IPPool

Delete a specific IPPool based on its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ippoolId The ID of the IPPool to delete
@return ApiDeleteIPPoolRequest

func (*IPPoolsAPIService) DeleteIPPoolExecute

Execute executes the request

@return IPPoolDeleteResponse

func (*IPPoolsAPIService) GetAllIPPools

GetAllIPPools List IPPools

Retrieves a list of all IPPools and information about all IPs contained in that pool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllIPPoolsRequest

func (*IPPoolsAPIService) GetAllIPPoolsExecute

func (a *IPPoolsAPIService) GetAllIPPoolsExecute(r ApiGetAllIPPoolsRequest) ([]IPPool, *http.Response, error)

Execute executes the request

@return []IPPool

func (*IPPoolsAPIService) GetIPPoolById

func (a *IPPoolsAPIService) GetIPPoolById(ctx context.Context, ippoolId int32) ApiGetIPPoolByIdRequest

GetIPPoolById Get IPPool

Retrieves details of a specific IPPool based on its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ippoolId The ID of the IPPool whose information you want to retrieve
@return ApiGetIPPoolByIdRequest

func (*IPPoolsAPIService) GetIPPoolByIdExecute

func (a *IPPoolsAPIService) GetIPPoolByIdExecute(r ApiGetIPPoolByIdRequest) (*IPPool, *http.Response, error)

Execute executes the request

@return IPPool

func (*IPPoolsAPIService) UpdateIPPool

func (a *IPPoolsAPIService) UpdateIPPool(ctx context.Context, ippoolId int32) ApiUpdateIPPoolRequest

UpdateIPPool Update IPPool

Update the details of an existing IPPool by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ippoolId The ID of the IPPool to update
@return ApiUpdateIPPoolRequest

func (*IPPoolsAPIService) UpdateIPPoolExecute

func (a *IPPoolsAPIService) UpdateIPPoolExecute(r ApiUpdateIPPoolRequest) (*IPPool, *http.Response, error)

Execute executes the request

@return IPPool

type IPUpdateRequest

type IPUpdateRequest struct {
	// Whether the IP warmup should happen automatically or be managed manually
	AutoWarmupEnabled bool `json:"autoWarmupEnabled"`
}

IPUpdateRequest struct for IPUpdateRequest

func NewIPUpdateRequest

func NewIPUpdateRequest(autoWarmupEnabled bool) *IPUpdateRequest

NewIPUpdateRequest instantiates a new IPUpdateRequest 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 NewIPUpdateRequestWithDefaults

func NewIPUpdateRequestWithDefaults() *IPUpdateRequest

NewIPUpdateRequestWithDefaults instantiates a new IPUpdateRequest 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 (*IPUpdateRequest) GetAutoWarmupEnabled

func (o *IPUpdateRequest) GetAutoWarmupEnabled() bool

GetAutoWarmupEnabled returns the AutoWarmupEnabled field value

func (*IPUpdateRequest) GetAutoWarmupEnabledOk

func (o *IPUpdateRequest) GetAutoWarmupEnabledOk() (*bool, bool)

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

func (IPUpdateRequest) MarshalJSON

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

func (*IPUpdateRequest) SetAutoWarmupEnabled

func (o *IPUpdateRequest) SetAutoWarmupEnabled(v bool)

SetAutoWarmupEnabled sets field value

func (IPUpdateRequest) ToMap

func (o IPUpdateRequest) ToMap() (map[string]interface{}, error)

func (*IPUpdateRequest) UnmarshalJSON

func (o *IPUpdateRequest) UnmarshalJSON(data []byte) (err error)

type Label added in v1.0.2

type Label struct {
	// Unique ID for the label
	Id *int32 `json:"id,omitempty"`
	// Name of the label
	Name *string `json:"name,omitempty"`
	// UNIX epoch nano timestamp when the label was created
	Created *int64 `json:"created,omitempty"`
}

Label struct for Label

func NewLabel added in v1.0.2

func NewLabel() *Label

NewLabel instantiates a new Label 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 NewLabelWithDefaults added in v1.0.2

func NewLabelWithDefaults() *Label

NewLabelWithDefaults instantiates a new Label 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 (*Label) GetCreated added in v1.0.2

func (o *Label) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*Label) GetCreatedOk added in v1.0.2

func (o *Label) GetCreatedOk() (*int64, bool)

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

func (*Label) GetId added in v1.0.2

func (o *Label) GetId() int32

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

func (*Label) GetIdOk added in v1.0.2

func (o *Label) 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 (*Label) GetName added in v1.0.2

func (o *Label) GetName() string

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

func (*Label) GetNameOk added in v1.0.2

func (o *Label) 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 (*Label) HasCreated added in v1.0.2

func (o *Label) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Label) HasId added in v1.0.2

func (o *Label) HasId() bool

HasId returns a boolean if a field has been set.

func (*Label) HasName added in v1.0.2

func (o *Label) HasName() bool

HasName returns a boolean if a field has been set.

func (Label) MarshalJSON added in v1.0.2

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

func (*Label) SetCreated added in v1.0.2

func (o *Label) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*Label) SetId added in v1.0.2

func (o *Label) SetId(v int32)

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

func (*Label) SetName added in v1.0.2

func (o *Label) SetName(v string)

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

func (Label) ToMap added in v1.0.2

func (o Label) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Member

type Member struct {
	// Unique ID for the member
	Id *int32 `json:"id,omitempty"`
	// Indicates whether the member is verified
	IsVerified *bool `json:"isVerified,omitempty"`
	// Indicates whether the member is forbidden
	IsForbidden *bool `json:"isForbidden,omitempty"`
	// Firebase UID for the member
	FirebaseUID *string `json:"firebaseUID,omitempty"`
	// Email for the member
	Email *string `json:"email,omitempty"`
	// Name for the member
	Name *string `json:"name,omitempty"`
	// Logo URL for the member
	Url *string `json:"url,omitempty"`
	// Company name for the member
	CompanyName *string `json:"companyName,omitempty"`
	// Indicates whether the member has answered onboarding question
	OnboardQAnswered *bool `json:"onboardQAnswered,omitempty"`
	// Phone number for the member
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// Color for the member's notes
	NotesColor *string `json:"notesColor,omitempty"`
	// UNIX epoch nano timestamp when the member was created
	Created *int64 `json:"created,omitempty"`
}

Member struct for Member

func NewMember

func NewMember() *Member

NewMember instantiates a new Member 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 NewMemberWithDefaults

func NewMemberWithDefaults() *Member

NewMemberWithDefaults instantiates a new Member 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 (*Member) GetCompanyName

func (o *Member) GetCompanyName() string

GetCompanyName returns the CompanyName field value if set, zero value otherwise.

func (*Member) GetCompanyNameOk

func (o *Member) GetCompanyNameOk() (*string, bool)

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

func (*Member) GetCreated

func (o *Member) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*Member) GetCreatedOk

func (o *Member) GetCreatedOk() (*int64, bool)

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

func (*Member) GetEmail

func (o *Member) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Member) GetEmailOk

func (o *Member) GetEmailOk() (*string, bool)

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

func (*Member) GetFirebaseUID

func (o *Member) GetFirebaseUID() string

GetFirebaseUID returns the FirebaseUID field value if set, zero value otherwise.

func (*Member) GetFirebaseUIDOk

func (o *Member) GetFirebaseUIDOk() (*string, bool)

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

func (*Member) GetId

func (o *Member) GetId() int32

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

func (*Member) GetIdOk

func (o *Member) 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 (*Member) GetIsForbidden

func (o *Member) GetIsForbidden() bool

GetIsForbidden returns the IsForbidden field value if set, zero value otherwise.

func (*Member) GetIsForbiddenOk

func (o *Member) GetIsForbiddenOk() (*bool, bool)

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

func (*Member) GetIsVerified

func (o *Member) GetIsVerified() bool

GetIsVerified returns the IsVerified field value if set, zero value otherwise.

func (*Member) GetIsVerifiedOk

func (o *Member) GetIsVerifiedOk() (*bool, bool)

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

func (*Member) GetName

func (o *Member) GetName() string

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

func (*Member) GetNameOk

func (o *Member) 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 (*Member) GetNotesColor

func (o *Member) GetNotesColor() string

GetNotesColor returns the NotesColor field value if set, zero value otherwise.

func (*Member) GetNotesColorOk

func (o *Member) GetNotesColorOk() (*string, bool)

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

func (*Member) GetOnboardQAnswered

func (o *Member) GetOnboardQAnswered() bool

GetOnboardQAnswered returns the OnboardQAnswered field value if set, zero value otherwise.

func (*Member) GetOnboardQAnsweredOk

func (o *Member) GetOnboardQAnsweredOk() (*bool, bool)

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

func (*Member) GetPhoneNumber

func (o *Member) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*Member) GetPhoneNumberOk

func (o *Member) GetPhoneNumberOk() (*string, bool)

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

func (*Member) GetUrl

func (o *Member) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Member) GetUrlOk

func (o *Member) GetUrlOk() (*string, bool)

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

func (*Member) HasCompanyName

func (o *Member) HasCompanyName() bool

HasCompanyName returns a boolean if a field has been set.

func (*Member) HasCreated

func (o *Member) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Member) HasEmail

func (o *Member) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Member) HasFirebaseUID

func (o *Member) HasFirebaseUID() bool

HasFirebaseUID returns a boolean if a field has been set.

func (*Member) HasId

func (o *Member) HasId() bool

HasId returns a boolean if a field has been set.

func (*Member) HasIsForbidden

func (o *Member) HasIsForbidden() bool

HasIsForbidden returns a boolean if a field has been set.

func (*Member) HasIsVerified

func (o *Member) HasIsVerified() bool

HasIsVerified returns a boolean if a field has been set.

func (*Member) HasName

func (o *Member) HasName() bool

HasName returns a boolean if a field has been set.

func (*Member) HasNotesColor

func (o *Member) HasNotesColor() bool

HasNotesColor returns a boolean if a field has been set.

func (*Member) HasOnboardQAnswered

func (o *Member) HasOnboardQAnswered() bool

HasOnboardQAnswered returns a boolean if a field has been set.

func (*Member) HasPhoneNumber

func (o *Member) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*Member) HasUrl

func (o *Member) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Member) MarshalJSON

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

func (*Member) SetCompanyName

func (o *Member) SetCompanyName(v string)

SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.

func (*Member) SetCreated

func (o *Member) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*Member) SetEmail

func (o *Member) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Member) SetFirebaseUID

func (o *Member) SetFirebaseUID(v string)

SetFirebaseUID gets a reference to the given string and assigns it to the FirebaseUID field.

func (*Member) SetId

func (o *Member) SetId(v int32)

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

func (*Member) SetIsForbidden

func (o *Member) SetIsForbidden(v bool)

SetIsForbidden gets a reference to the given bool and assigns it to the IsForbidden field.

func (*Member) SetIsVerified

func (o *Member) SetIsVerified(v bool)

SetIsVerified gets a reference to the given bool and assigns it to the IsVerified field.

func (*Member) SetName

func (o *Member) SetName(v string)

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

func (*Member) SetNotesColor

func (o *Member) SetNotesColor(v string)

SetNotesColor gets a reference to the given string and assigns it to the NotesColor field.

func (*Member) SetOnboardQAnswered

func (o *Member) SetOnboardQAnswered(v bool)

SetOnboardQAnswered gets a reference to the given bool and assigns it to the OnboardQAnswered field.

func (*Member) SetPhoneNumber

func (o *Member) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*Member) SetUrl

func (o *Member) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (Member) ToMap

func (o Member) ToMap() (map[string]interface{}, error)

type Message

type Message struct {
	// Unique ID for the message.
	MessageID *string `json:"messageID,omitempty"`
	// Account ID associated with the message.
	AccountID *int32 `json:"accountID,omitempty"`
	// Sub-account ID associated with the message.
	SubAccountID *int32 `json:"subAccountID,omitempty"`
	// IP ID used for sending the message.
	IpID *int32 `json:"ipID,omitempty"`
	// Account IP Pool ID associated with the message.
	AccountIPPoolID *int32 `json:"accountIPPoolID,omitempty"`
	// Public IP address used for sending the message.
	PublicIP *string `json:"publicIP,omitempty"`
	// Local IP address used for sending the message.
	LocalIP *string `json:"localIP,omitempty"`
	// Type of email service used.
	EmailType *string `json:"emailType,omitempty"`
	// UNIX epoch nano timestamp when message was submitted.
	SubmittedAt *int64 `json:"submittedAt,omitempty"`
	// Object comprising name and email address of the sender
	From *Person `json:"from,omitempty"`
	// Object comprising name and email addresses to which email replies will go to
	ReplyTo  *Person          `json:"replyTo,omitempty"`
	To       *MessageTo       `json:"to,omitempty"`
	HeaderTo *MessageHeaderTo `json:"headerTo,omitempty"`
	// List of CC recipients from email headers
	HeaderCc []string `json:"headerCc,omitempty"`
	// List of BCC recipients from email headers
	HeaderBcc []string `json:"headerBcc,omitempty"`
	// List of attachments
	Attachments []string `json:"attachments,omitempty"`
	// List of groups associated with the message
	Groups []string `json:"groups,omitempty"`
	// IP Pool from which emails will go out. Relevant only for customers on dedicated IP plans.
	IpPool *string `json:"ipPool,omitempty"`
	// Key-Value pair which are added to every email message being sent and also with webhooks triggered on events such as email delivered, open, click etc. They are useful to identify email, recipient etc. in your internal system
	Headers map[string]string `json:"headers,omitempty"`
	// Key-Value pair of custom fields at message level
	CustomFields map[string]string `json:"customFields,omitempty"`
	// Email subject line.
	Subject *string `json:"subject,omitempty"`
	// Text which appears on mobile right after email subject line.
	PreText *string `json:"preText,omitempty"`
	// HTML email content.
	HtmlBody *string `json:"htmlBody,omitempty"`
	// Text email content.
	TextBody *string `json:"textBody,omitempty"`
	// AMP email content.
	AmpBody *string `json:"ampBody,omitempty"`
	// Indicates if email opens need to be tracked.
	TrackOpens *bool `json:"trackOpens,omitempty"`
	// Indicates if email clicks need to be tracked.
	TrackClicks *bool `json:"trackClicks,omitempty"`
	// Number of delivery attempts made for the message.
	Attempt *int32 `json:"attempt,omitempty"`
	// Webhook endpoint URL for the message.
	WebhookEndpoint *string `json:"webhookEndpoint,omitempty"`
	// List of MX records for the recipient domain
	MxRecords []string `json:"mxRecords,omitempty"`
}

Message struct for Message

func NewMessage

func NewMessage() *Message

NewMessage instantiates a new Message 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 NewMessageWithDefaults

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message 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 (*Message) GetAccountID

func (o *Message) GetAccountID() int32

GetAccountID returns the AccountID field value if set, zero value otherwise.

func (*Message) GetAccountIDOk

func (o *Message) GetAccountIDOk() (*int32, bool)

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

func (*Message) GetAccountIPPoolID

func (o *Message) GetAccountIPPoolID() int32

GetAccountIPPoolID returns the AccountIPPoolID field value if set, zero value otherwise.

func (*Message) GetAccountIPPoolIDOk

func (o *Message) GetAccountIPPoolIDOk() (*int32, bool)

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

func (*Message) GetAmpBody

func (o *Message) GetAmpBody() string

GetAmpBody returns the AmpBody field value if set, zero value otherwise.

func (*Message) GetAmpBodyOk

func (o *Message) GetAmpBodyOk() (*string, bool)

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

func (*Message) GetAttachments

func (o *Message) GetAttachments() []string

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*Message) GetAttachmentsOk

func (o *Message) GetAttachmentsOk() ([]string, bool)

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

func (*Message) GetAttempt

func (o *Message) GetAttempt() int32

GetAttempt returns the Attempt field value if set, zero value otherwise.

func (*Message) GetAttemptOk

func (o *Message) GetAttemptOk() (*int32, bool)

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

func (*Message) GetCustomFields

func (o *Message) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*Message) GetCustomFieldsOk

func (o *Message) GetCustomFieldsOk() (map[string]string, bool)

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

func (*Message) GetEmailType

func (o *Message) GetEmailType() string

GetEmailType returns the EmailType field value if set, zero value otherwise.

func (*Message) GetEmailTypeOk

func (o *Message) GetEmailTypeOk() (*string, bool)

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

func (*Message) GetFrom

func (o *Message) GetFrom() Person

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

func (*Message) GetFromOk

func (o *Message) GetFromOk() (*Person, 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 (*Message) GetGroups

func (o *Message) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*Message) GetGroupsOk

func (o *Message) GetGroupsOk() ([]string, bool)

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

func (*Message) GetHeaderBcc

func (o *Message) GetHeaderBcc() []string

GetHeaderBcc returns the HeaderBcc field value if set, zero value otherwise.

func (*Message) GetHeaderBccOk

func (o *Message) GetHeaderBccOk() ([]string, bool)

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

func (*Message) GetHeaderCc

func (o *Message) GetHeaderCc() []string

GetHeaderCc returns the HeaderCc field value if set, zero value otherwise.

func (*Message) GetHeaderCcOk

func (o *Message) GetHeaderCcOk() ([]string, bool)

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

func (*Message) GetHeaderTo

func (o *Message) GetHeaderTo() MessageHeaderTo

GetHeaderTo returns the HeaderTo field value if set, zero value otherwise.

func (*Message) GetHeaderToOk

func (o *Message) GetHeaderToOk() (*MessageHeaderTo, bool)

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

func (*Message) GetHeaders

func (o *Message) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*Message) GetHeadersOk

func (o *Message) GetHeadersOk() (map[string]string, bool)

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

func (*Message) GetHtmlBody

func (o *Message) GetHtmlBody() string

GetHtmlBody returns the HtmlBody field value if set, zero value otherwise.

func (*Message) GetHtmlBodyOk

func (o *Message) GetHtmlBodyOk() (*string, bool)

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

func (*Message) GetIpID

func (o *Message) GetIpID() int32

GetIpID returns the IpID field value if set, zero value otherwise.

func (*Message) GetIpIDOk

func (o *Message) GetIpIDOk() (*int32, bool)

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

func (*Message) GetIpPool

func (o *Message) GetIpPool() string

GetIpPool returns the IpPool field value if set, zero value otherwise.

func (*Message) GetIpPoolOk

func (o *Message) GetIpPoolOk() (*string, bool)

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

func (*Message) GetLocalIP

func (o *Message) GetLocalIP() string

GetLocalIP returns the LocalIP field value if set, zero value otherwise.

func (*Message) GetLocalIPOk

func (o *Message) GetLocalIPOk() (*string, bool)

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

func (*Message) GetMessageID

func (o *Message) GetMessageID() string

GetMessageID returns the MessageID field value if set, zero value otherwise.

func (*Message) GetMessageIDOk

func (o *Message) 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 (*Message) GetMxRecords

func (o *Message) GetMxRecords() []string

GetMxRecords returns the MxRecords field value if set, zero value otherwise.

func (*Message) GetMxRecordsOk

func (o *Message) GetMxRecordsOk() ([]string, bool)

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

func (*Message) GetPreText

func (o *Message) GetPreText() string

GetPreText returns the PreText field value if set, zero value otherwise.

func (*Message) GetPreTextOk

func (o *Message) GetPreTextOk() (*string, bool)

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

func (*Message) GetPublicIP

func (o *Message) GetPublicIP() string

GetPublicIP returns the PublicIP field value if set, zero value otherwise.

func (*Message) GetPublicIPOk

func (o *Message) GetPublicIPOk() (*string, bool)

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

func (*Message) GetReplyTo

func (o *Message) GetReplyTo() Person

GetReplyTo returns the ReplyTo field value if set, zero value otherwise.

func (*Message) GetReplyToOk

func (o *Message) GetReplyToOk() (*Person, bool)

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

func (*Message) GetSubAccountID

func (o *Message) GetSubAccountID() int32

GetSubAccountID returns the SubAccountID field value if set, zero value otherwise.

func (*Message) GetSubAccountIDOk

func (o *Message) GetSubAccountIDOk() (*int32, bool)

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

func (*Message) GetSubject

func (o *Message) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*Message) GetSubjectOk

func (o *Message) GetSubjectOk() (*string, bool)

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

func (*Message) GetSubmittedAt

func (o *Message) GetSubmittedAt() int64

GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.

func (*Message) GetSubmittedAtOk

func (o *Message) GetSubmittedAtOk() (*int64, bool)

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

func (*Message) GetTextBody

func (o *Message) GetTextBody() string

GetTextBody returns the TextBody field value if set, zero value otherwise.

func (*Message) GetTextBodyOk

func (o *Message) GetTextBodyOk() (*string, bool)

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

func (*Message) GetTo

func (o *Message) GetTo() MessageTo

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

func (*Message) GetToOk

func (o *Message) GetToOk() (*MessageTo, 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 (*Message) GetTrackClicks

func (o *Message) GetTrackClicks() bool

GetTrackClicks returns the TrackClicks field value if set, zero value otherwise.

func (*Message) GetTrackClicksOk

func (o *Message) GetTrackClicksOk() (*bool, bool)

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

func (*Message) GetTrackOpens

func (o *Message) GetTrackOpens() bool

GetTrackOpens returns the TrackOpens field value if set, zero value otherwise.

func (*Message) GetTrackOpensOk

func (o *Message) GetTrackOpensOk() (*bool, bool)

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

func (*Message) GetWebhookEndpoint

func (o *Message) GetWebhookEndpoint() string

GetWebhookEndpoint returns the WebhookEndpoint field value if set, zero value otherwise.

func (*Message) GetWebhookEndpointOk

func (o *Message) GetWebhookEndpointOk() (*string, bool)

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

func (*Message) HasAccountID

func (o *Message) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*Message) HasAccountIPPoolID

func (o *Message) HasAccountIPPoolID() bool

HasAccountIPPoolID returns a boolean if a field has been set.

func (*Message) HasAmpBody

func (o *Message) HasAmpBody() bool

HasAmpBody returns a boolean if a field has been set.

func (*Message) HasAttachments

func (o *Message) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*Message) HasAttempt

func (o *Message) HasAttempt() bool

HasAttempt returns a boolean if a field has been set.

func (*Message) HasCustomFields

func (o *Message) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*Message) HasEmailType

func (o *Message) HasEmailType() bool

HasEmailType returns a boolean if a field has been set.

func (*Message) HasFrom

func (o *Message) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*Message) HasGroups

func (o *Message) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*Message) HasHeaderBcc

func (o *Message) HasHeaderBcc() bool

HasHeaderBcc returns a boolean if a field has been set.

func (*Message) HasHeaderCc

func (o *Message) HasHeaderCc() bool

HasHeaderCc returns a boolean if a field has been set.

func (*Message) HasHeaderTo

func (o *Message) HasHeaderTo() bool

HasHeaderTo returns a boolean if a field has been set.

func (*Message) HasHeaders

func (o *Message) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*Message) HasHtmlBody

func (o *Message) HasHtmlBody() bool

HasHtmlBody returns a boolean if a field has been set.

func (*Message) HasIpID

func (o *Message) HasIpID() bool

HasIpID returns a boolean if a field has been set.

func (*Message) HasIpPool

func (o *Message) HasIpPool() bool

HasIpPool returns a boolean if a field has been set.

func (*Message) HasLocalIP

func (o *Message) HasLocalIP() bool

HasLocalIP returns a boolean if a field has been set.

func (*Message) HasMessageID

func (o *Message) HasMessageID() bool

HasMessageID returns a boolean if a field has been set.

func (*Message) HasMxRecords

func (o *Message) HasMxRecords() bool

HasMxRecords returns a boolean if a field has been set.

func (*Message) HasPreText

func (o *Message) HasPreText() bool

HasPreText returns a boolean if a field has been set.

func (*Message) HasPublicIP

func (o *Message) HasPublicIP() bool

HasPublicIP returns a boolean if a field has been set.

func (*Message) HasReplyTo

func (o *Message) HasReplyTo() bool

HasReplyTo returns a boolean if a field has been set.

func (*Message) HasSubAccountID

func (o *Message) HasSubAccountID() bool

HasSubAccountID returns a boolean if a field has been set.

func (*Message) HasSubject

func (o *Message) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*Message) HasSubmittedAt

func (o *Message) HasSubmittedAt() bool

HasSubmittedAt returns a boolean if a field has been set.

func (*Message) HasTextBody

func (o *Message) HasTextBody() bool

HasTextBody returns a boolean if a field has been set.

func (*Message) HasTo

func (o *Message) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*Message) HasTrackClicks

func (o *Message) HasTrackClicks() bool

HasTrackClicks returns a boolean if a field has been set.

func (*Message) HasTrackOpens

func (o *Message) HasTrackOpens() bool

HasTrackOpens returns a boolean if a field has been set.

func (*Message) HasWebhookEndpoint

func (o *Message) HasWebhookEndpoint() bool

HasWebhookEndpoint returns a boolean if a field has been set.

func (Message) MarshalJSON

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

func (*Message) SetAccountID

func (o *Message) SetAccountID(v int32)

SetAccountID gets a reference to the given int32 and assigns it to the AccountID field.

func (*Message) SetAccountIPPoolID

func (o *Message) SetAccountIPPoolID(v int32)

SetAccountIPPoolID gets a reference to the given int32 and assigns it to the AccountIPPoolID field.

func (*Message) SetAmpBody

func (o *Message) SetAmpBody(v string)

SetAmpBody gets a reference to the given string and assigns it to the AmpBody field.

func (*Message) SetAttachments

func (o *Message) SetAttachments(v []string)

SetAttachments gets a reference to the given []string and assigns it to the Attachments field.

func (*Message) SetAttempt

func (o *Message) SetAttempt(v int32)

SetAttempt gets a reference to the given int32 and assigns it to the Attempt field.

func (*Message) SetCustomFields

func (o *Message) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*Message) SetEmailType

func (o *Message) SetEmailType(v string)

SetEmailType gets a reference to the given string and assigns it to the EmailType field.

func (*Message) SetFrom

func (o *Message) SetFrom(v Person)

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

func (*Message) SetGroups

func (o *Message) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*Message) SetHeaderBcc

func (o *Message) SetHeaderBcc(v []string)

SetHeaderBcc gets a reference to the given []string and assigns it to the HeaderBcc field.

func (*Message) SetHeaderCc

func (o *Message) SetHeaderCc(v []string)

SetHeaderCc gets a reference to the given []string and assigns it to the HeaderCc field.

func (*Message) SetHeaderTo

func (o *Message) SetHeaderTo(v MessageHeaderTo)

SetHeaderTo gets a reference to the given MessageHeaderTo and assigns it to the HeaderTo field.

func (*Message) SetHeaders

func (o *Message) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*Message) SetHtmlBody

func (o *Message) SetHtmlBody(v string)

SetHtmlBody gets a reference to the given string and assigns it to the HtmlBody field.

func (*Message) SetIpID

func (o *Message) SetIpID(v int32)

SetIpID gets a reference to the given int32 and assigns it to the IpID field.

func (*Message) SetIpPool

func (o *Message) SetIpPool(v string)

SetIpPool gets a reference to the given string and assigns it to the IpPool field.

func (*Message) SetLocalIP

func (o *Message) SetLocalIP(v string)

SetLocalIP gets a reference to the given string and assigns it to the LocalIP field.

func (*Message) SetMessageID

func (o *Message) SetMessageID(v string)

SetMessageID gets a reference to the given string and assigns it to the MessageID field.

func (*Message) SetMxRecords

func (o *Message) SetMxRecords(v []string)

SetMxRecords gets a reference to the given []string and assigns it to the MxRecords field.

func (*Message) SetPreText

func (o *Message) SetPreText(v string)

SetPreText gets a reference to the given string and assigns it to the PreText field.

func (*Message) SetPublicIP

func (o *Message) SetPublicIP(v string)

SetPublicIP gets a reference to the given string and assigns it to the PublicIP field.

func (*Message) SetReplyTo

func (o *Message) SetReplyTo(v Person)

SetReplyTo gets a reference to the given Person and assigns it to the ReplyTo field.

func (*Message) SetSubAccountID

func (o *Message) SetSubAccountID(v int32)

SetSubAccountID gets a reference to the given int32 and assigns it to the SubAccountID field.

func (*Message) SetSubject

func (o *Message) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*Message) SetSubmittedAt

func (o *Message) SetSubmittedAt(v int64)

SetSubmittedAt gets a reference to the given int64 and assigns it to the SubmittedAt field.

func (*Message) SetTextBody

func (o *Message) SetTextBody(v string)

SetTextBody gets a reference to the given string and assigns it to the TextBody field.

func (*Message) SetTo

func (o *Message) SetTo(v MessageTo)

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

func (*Message) SetTrackClicks

func (o *Message) SetTrackClicks(v bool)

SetTrackClicks gets a reference to the given bool and assigns it to the TrackClicks field.

func (*Message) SetTrackOpens

func (o *Message) SetTrackOpens(v bool)

SetTrackOpens gets a reference to the given bool and assigns it to the TrackOpens field.

func (*Message) SetWebhookEndpoint

func (o *Message) SetWebhookEndpoint(v string)

SetWebhookEndpoint gets a reference to the given string and assigns it to the WebhookEndpoint field.

func (Message) ToMap

func (o Message) ToMap() (map[string]interface{}, error)

type MessageAPIService

type MessageAPIService service

MessageAPIService MessageAPI service

func (*MessageAPIService) GetMessageById

func (a *MessageAPIService) GetMessageById(ctx context.Context, messageId string) ApiGetMessageByIdRequest

GetMessageById Get Message

Retrieve detailed information about a specific message by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param messageId The ID of the message to retrieve.
@return ApiGetMessageByIdRequest

func (*MessageAPIService) GetMessageByIdExecute

func (a *MessageAPIService) GetMessageByIdExecute(r ApiGetMessageByIdRequest) (*Message, *http.Response, error)

Execute executes the request

@return Message

type MessageHeaderTo

type MessageHeaderTo struct {
	// Name of the recipient.
	Name *string `json:"name,omitempty"`
	// Email address of the recipient.
	Email *string `json:"email,omitempty"`
	// List of CC recipients
	Cc []string `json:"cc,omitempty"`
	// List of BCC recipients
	Bcc []string `json:"bcc,omitempty"`
	// Key-Value pair of custom fields.
	CustomFields map[string]string `json:"customFields,omitempty"`
}

MessageHeaderTo Header To recipient object comprising name, email, cc, bcc and customFields

func NewMessageHeaderTo

func NewMessageHeaderTo() *MessageHeaderTo

NewMessageHeaderTo instantiates a new MessageHeaderTo 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 NewMessageHeaderToWithDefaults

func NewMessageHeaderToWithDefaults() *MessageHeaderTo

NewMessageHeaderToWithDefaults instantiates a new MessageHeaderTo 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 (*MessageHeaderTo) GetBcc

func (o *MessageHeaderTo) GetBcc() []string

GetBcc returns the Bcc field value if set, zero value otherwise.

func (*MessageHeaderTo) GetBccOk

func (o *MessageHeaderTo) GetBccOk() ([]string, bool)

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

func (*MessageHeaderTo) GetCc

func (o *MessageHeaderTo) GetCc() []string

GetCc returns the Cc field value if set, zero value otherwise.

func (*MessageHeaderTo) GetCcOk

func (o *MessageHeaderTo) GetCcOk() ([]string, bool)

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

func (*MessageHeaderTo) GetCustomFields

func (o *MessageHeaderTo) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*MessageHeaderTo) GetCustomFieldsOk

func (o *MessageHeaderTo) GetCustomFieldsOk() (map[string]string, bool)

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

func (*MessageHeaderTo) GetEmail

func (o *MessageHeaderTo) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*MessageHeaderTo) GetEmailOk

func (o *MessageHeaderTo) GetEmailOk() (*string, bool)

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

func (*MessageHeaderTo) GetName

func (o *MessageHeaderTo) GetName() string

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

func (*MessageHeaderTo) GetNameOk

func (o *MessageHeaderTo) 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 (*MessageHeaderTo) HasBcc

func (o *MessageHeaderTo) HasBcc() bool

HasBcc returns a boolean if a field has been set.

func (*MessageHeaderTo) HasCc

func (o *MessageHeaderTo) HasCc() bool

HasCc returns a boolean if a field has been set.

func (*MessageHeaderTo) HasCustomFields

func (o *MessageHeaderTo) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*MessageHeaderTo) HasEmail

func (o *MessageHeaderTo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*MessageHeaderTo) HasName

func (o *MessageHeaderTo) HasName() bool

HasName returns a boolean if a field has been set.

func (MessageHeaderTo) MarshalJSON

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

func (*MessageHeaderTo) SetBcc

func (o *MessageHeaderTo) SetBcc(v []string)

SetBcc gets a reference to the given []string and assigns it to the Bcc field.

func (*MessageHeaderTo) SetCc

func (o *MessageHeaderTo) SetCc(v []string)

SetCc gets a reference to the given []string and assigns it to the Cc field.

func (*MessageHeaderTo) SetCustomFields

func (o *MessageHeaderTo) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*MessageHeaderTo) SetEmail

func (o *MessageHeaderTo) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*MessageHeaderTo) SetName

func (o *MessageHeaderTo) SetName(v string)

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

func (MessageHeaderTo) ToMap

func (o MessageHeaderTo) ToMap() (map[string]interface{}, error)

type MessageTo

type MessageTo struct {
	// Name of the recipient.
	Name *string `json:"name,omitempty"`
	// Email address of the recipient.
	Email *string `json:"email,omitempty"`
	// List of CC recipients
	Cc []string `json:"cc,omitempty"`
	// List of BCC recipients
	Bcc []string `json:"bcc,omitempty"`
	// Key-Value pair of custom fields.
	CustomFields map[string]string `json:"customFields,omitempty"`
}

MessageTo Recipient object comprising name, email, cc, bcc and customFields

func NewMessageTo

func NewMessageTo() *MessageTo

NewMessageTo instantiates a new MessageTo 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 NewMessageToWithDefaults

func NewMessageToWithDefaults() *MessageTo

NewMessageToWithDefaults instantiates a new MessageTo 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 (*MessageTo) GetBcc

func (o *MessageTo) GetBcc() []string

GetBcc returns the Bcc field value if set, zero value otherwise.

func (*MessageTo) GetBccOk

func (o *MessageTo) GetBccOk() ([]string, bool)

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

func (*MessageTo) GetCc

func (o *MessageTo) GetCc() []string

GetCc returns the Cc field value if set, zero value otherwise.

func (*MessageTo) GetCcOk

func (o *MessageTo) GetCcOk() ([]string, bool)

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

func (*MessageTo) GetCustomFields

func (o *MessageTo) GetCustomFields() map[string]string

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*MessageTo) GetCustomFieldsOk

func (o *MessageTo) GetCustomFieldsOk() (map[string]string, bool)

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

func (*MessageTo) GetEmail

func (o *MessageTo) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*MessageTo) GetEmailOk

func (o *MessageTo) GetEmailOk() (*string, bool)

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

func (*MessageTo) GetName

func (o *MessageTo) GetName() string

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

func (*MessageTo) GetNameOk

func (o *MessageTo) 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 (*MessageTo) HasBcc

func (o *MessageTo) HasBcc() bool

HasBcc returns a boolean if a field has been set.

func (*MessageTo) HasCc

func (o *MessageTo) HasCc() bool

HasCc returns a boolean if a field has been set.

func (*MessageTo) HasCustomFields

func (o *MessageTo) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*MessageTo) HasEmail

func (o *MessageTo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*MessageTo) HasName

func (o *MessageTo) HasName() bool

HasName returns a boolean if a field has been set.

func (MessageTo) MarshalJSON

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

func (*MessageTo) SetBcc

func (o *MessageTo) SetBcc(v []string)

SetBcc gets a reference to the given []string and assigns it to the Bcc field.

func (*MessageTo) SetCc

func (o *MessageTo) SetCc(v []string)

SetCc gets a reference to the given []string and assigns it to the Cc field.

func (*MessageTo) SetCustomFields

func (o *MessageTo) SetCustomFields(v map[string]string)

SetCustomFields gets a reference to the given map[string]string and assigns it to the CustomFields field.

func (*MessageTo) SetEmail

func (o *MessageTo) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*MessageTo) SetName

func (o *MessageTo) SetName(v string)

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

func (MessageTo) ToMap

func (o MessageTo) ToMap() (map[string]interface{}, error)

type NullableAccountStats

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

func NewNullableAccountStats

func NewNullableAccountStats(val *AccountStats) *NullableAccountStats

func (NullableAccountStats) Get

func (NullableAccountStats) IsSet

func (v NullableAccountStats) IsSet() bool

func (NullableAccountStats) MarshalJSON

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

func (*NullableAccountStats) Set

func (v *NullableAccountStats) Set(val *AccountStats)

func (*NullableAccountStats) UnmarshalJSON

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

func (*NullableAccountStats) Unset

func (v *NullableAccountStats) Unset()

type NullableAccountStatsStat

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

func NewNullableAccountStatsStat

func NewNullableAccountStatsStat(val *AccountStatsStat) *NullableAccountStatsStat

func (NullableAccountStatsStat) Get

func (NullableAccountStatsStat) IsSet

func (v NullableAccountStatsStat) IsSet() bool

func (NullableAccountStatsStat) MarshalJSON

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

func (*NullableAccountStatsStat) Set

func (*NullableAccountStatsStat) UnmarshalJSON

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

func (*NullableAccountStatsStat) Unset

func (v *NullableAccountStatsStat) Unset()

type NullableAggregateStat

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

func NewNullableAggregateStat

func NewNullableAggregateStat(val *AggregateStat) *NullableAggregateStat

func (NullableAggregateStat) Get

func (NullableAggregateStat) IsSet

func (v NullableAggregateStat) IsSet() bool

func (NullableAggregateStat) MarshalJSON

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

func (*NullableAggregateStat) Set

func (v *NullableAggregateStat) Set(val *AggregateStat)

func (*NullableAggregateStat) UnmarshalJSON

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

func (*NullableAggregateStat) Unset

func (v *NullableAggregateStat) Unset()

type NullableAggregateStats

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

func NewNullableAggregateStats

func NewNullableAggregateStats(val *AggregateStats) *NullableAggregateStats

func (NullableAggregateStats) Get

func (NullableAggregateStats) IsSet

func (v NullableAggregateStats) IsSet() bool

func (NullableAggregateStats) MarshalJSON

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

func (*NullableAggregateStats) Set

func (*NullableAggregateStats) UnmarshalJSON

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

func (*NullableAggregateStats) Unset

func (v *NullableAggregateStats) Unset()

type NullableAggregatedEmailStats

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

func NewNullableAggregatedEmailStats

func NewNullableAggregatedEmailStats(val *AggregatedEmailStats) *NullableAggregatedEmailStats

func (NullableAggregatedEmailStats) Get

func (NullableAggregatedEmailStats) IsSet

func (NullableAggregatedEmailStats) MarshalJSON

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

func (*NullableAggregatedEmailStats) Set

func (*NullableAggregatedEmailStats) UnmarshalJSON

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

func (*NullableAggregatedEmailStats) Unset

func (v *NullableAggregatedEmailStats) Unset()

type NullableAttachment

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

func NewNullableAttachment

func NewNullableAttachment(val *Attachment) *NullableAttachment

func (NullableAttachment) Get

func (v NullableAttachment) Get() *Attachment

func (NullableAttachment) IsSet

func (v NullableAttachment) IsSet() bool

func (NullableAttachment) MarshalJSON

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

func (*NullableAttachment) Set

func (v *NullableAttachment) Set(val *Attachment)

func (*NullableAttachment) UnmarshalJSON

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

func (*NullableAttachment) Unset

func (v *NullableAttachment) Unset()

type NullableAutoWarmupPlan added in v1.0.2

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

func NewNullableAutoWarmupPlan added in v1.0.2

func NewNullableAutoWarmupPlan(val *AutoWarmupPlan) *NullableAutoWarmupPlan

func (NullableAutoWarmupPlan) Get added in v1.0.2

func (NullableAutoWarmupPlan) IsSet added in v1.0.2

func (v NullableAutoWarmupPlan) IsSet() bool

func (NullableAutoWarmupPlan) MarshalJSON added in v1.0.2

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

func (*NullableAutoWarmupPlan) Set added in v1.0.2

func (*NullableAutoWarmupPlan) UnmarshalJSON added in v1.0.2

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

func (*NullableAutoWarmupPlan) Unset added in v1.0.2

func (v *NullableAutoWarmupPlan) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCopyTo

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

func NewNullableCopyTo

func NewNullableCopyTo(val *CopyTo) *NullableCopyTo

func (NullableCopyTo) Get

func (v NullableCopyTo) Get() *CopyTo

func (NullableCopyTo) IsSet

func (v NullableCopyTo) IsSet() bool

func (NullableCopyTo) MarshalJSON

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

func (*NullableCopyTo) Set

func (v *NullableCopyTo) Set(val *CopyTo)

func (*NullableCopyTo) UnmarshalJSON

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

func (*NullableCopyTo) Unset

func (v *NullableCopyTo) Unset()

type NullableCreateDomainRequest

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

func NewNullableCreateDomainRequest

func NewNullableCreateDomainRequest(val *CreateDomainRequest) *NullableCreateDomainRequest

func (NullableCreateDomainRequest) Get

func (NullableCreateDomainRequest) IsSet

func (NullableCreateDomainRequest) MarshalJSON

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

func (*NullableCreateDomainRequest) Set

func (*NullableCreateDomainRequest) UnmarshalJSON

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

func (*NullableCreateDomainRequest) Unset

func (v *NullableCreateDomainRequest) Unset()

type NullableCreateSubAccountRequest

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

func (NullableCreateSubAccountRequest) Get

func (NullableCreateSubAccountRequest) IsSet

func (NullableCreateSubAccountRequest) MarshalJSON

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

func (*NullableCreateSubAccountRequest) Set

func (*NullableCreateSubAccountRequest) UnmarshalJSON

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

func (*NullableCreateSubAccountRequest) Unset

type NullableCreateSuppressionRequest

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

func (NullableCreateSuppressionRequest) Get

func (NullableCreateSuppressionRequest) IsSet

func (NullableCreateSuppressionRequest) MarshalJSON

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

func (*NullableCreateSuppressionRequest) Set

func (*NullableCreateSuppressionRequest) UnmarshalJSON

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

func (*NullableCreateSuppressionRequest) Unset

type NullableCreateSuppressionRequestHardBounceInner

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

func (NullableCreateSuppressionRequestHardBounceInner) Get

func (NullableCreateSuppressionRequestHardBounceInner) IsSet

func (NullableCreateSuppressionRequestHardBounceInner) MarshalJSON

func (*NullableCreateSuppressionRequestHardBounceInner) Set

func (*NullableCreateSuppressionRequestHardBounceInner) UnmarshalJSON

func (*NullableCreateSuppressionRequestHardBounceInner) Unset

type NullableCreateSuppressionRequestManualInner

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

func (NullableCreateSuppressionRequestManualInner) Get

func (NullableCreateSuppressionRequestManualInner) IsSet

func (NullableCreateSuppressionRequestManualInner) MarshalJSON

func (*NullableCreateSuppressionRequestManualInner) Set

func (*NullableCreateSuppressionRequestManualInner) UnmarshalJSON

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

func (*NullableCreateSuppressionRequestManualInner) Unset

type NullableCreateSuppressionRequestSpamComplaintInner

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

func (NullableCreateSuppressionRequestSpamComplaintInner) Get

func (NullableCreateSuppressionRequestSpamComplaintInner) IsSet

func (NullableCreateSuppressionRequestSpamComplaintInner) MarshalJSON

func (*NullableCreateSuppressionRequestSpamComplaintInner) Set

func (*NullableCreateSuppressionRequestSpamComplaintInner) UnmarshalJSON

func (*NullableCreateSuppressionRequestSpamComplaintInner) Unset

type NullableCreateSuppressionRequestUnsubscribeInner

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

func (NullableCreateSuppressionRequestUnsubscribeInner) Get

func (NullableCreateSuppressionRequestUnsubscribeInner) IsSet

func (NullableCreateSuppressionRequestUnsubscribeInner) MarshalJSON

func (*NullableCreateSuppressionRequestUnsubscribeInner) Set

func (*NullableCreateSuppressionRequestUnsubscribeInner) UnmarshalJSON

func (*NullableCreateSuppressionRequestUnsubscribeInner) Unset

type NullableCreateWebhookRequest

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

func NewNullableCreateWebhookRequest

func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest

func (NullableCreateWebhookRequest) Get

func (NullableCreateWebhookRequest) IsSet

func (NullableCreateWebhookRequest) MarshalJSON

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

func (*NullableCreateWebhookRequest) Set

func (*NullableCreateWebhookRequest) UnmarshalJSON

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

func (*NullableCreateWebhookRequest) Unset

func (v *NullableCreateWebhookRequest) Unset()

type NullableDeleteResponse

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

func NewNullableDeleteResponse

func NewNullableDeleteResponse(val *DeleteResponse) *NullableDeleteResponse

func (NullableDeleteResponse) Get

func (NullableDeleteResponse) IsSet

func (v NullableDeleteResponse) IsSet() bool

func (NullableDeleteResponse) MarshalJSON

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

func (*NullableDeleteResponse) Set

func (*NullableDeleteResponse) UnmarshalJSON

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

func (*NullableDeleteResponse) Unset

func (v *NullableDeleteResponse) Unset()

type NullableDeleteSubAccountResponse

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

func (NullableDeleteSubAccountResponse) Get

func (NullableDeleteSubAccountResponse) IsSet

func (NullableDeleteSubAccountResponse) MarshalJSON

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

func (*NullableDeleteSubAccountResponse) Set

func (*NullableDeleteSubAccountResponse) UnmarshalJSON

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

func (*NullableDeleteSubAccountResponse) Unset

type NullableDeleteSuppression200ResponseInner

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

func (NullableDeleteSuppression200ResponseInner) Get

func (NullableDeleteSuppression200ResponseInner) IsSet

func (NullableDeleteSuppression200ResponseInner) MarshalJSON

func (*NullableDeleteSuppression200ResponseInner) Set

func (*NullableDeleteSuppression200ResponseInner) UnmarshalJSON

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

func (*NullableDeleteSuppression200ResponseInner) Unset

type NullableDeleteSuppressionRequest

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

func (NullableDeleteSuppressionRequest) Get

func (NullableDeleteSuppressionRequest) IsSet

func (NullableDeleteSuppressionRequest) MarshalJSON

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

func (*NullableDeleteSuppressionRequest) Set

func (*NullableDeleteSuppressionRequest) UnmarshalJSON

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

func (*NullableDeleteSuppressionRequest) Unset

type NullableDeleteWebhookResponse

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

func (NullableDeleteWebhookResponse) Get

func (NullableDeleteWebhookResponse) IsSet

func (NullableDeleteWebhookResponse) MarshalJSON

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

func (*NullableDeleteWebhookResponse) Set

func (*NullableDeleteWebhookResponse) UnmarshalJSON

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

func (*NullableDeleteWebhookResponse) Unset

func (v *NullableDeleteWebhookResponse) Unset()

type NullableDevice

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

func NewNullableDevice

func NewNullableDevice(val *Device) *NullableDevice

func (NullableDevice) Get

func (v NullableDevice) Get() *Device

func (NullableDevice) IsSet

func (v NullableDevice) IsSet() bool

func (NullableDevice) MarshalJSON

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

func (*NullableDevice) Set

func (v *NullableDevice) Set(val *Device)

func (*NullableDevice) UnmarshalJSON

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

func (*NullableDevice) Unset

func (v *NullableDevice) Unset()

type NullableDomain

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

func NewNullableDomain

func NewNullableDomain(val *Domain) *NullableDomain

func (NullableDomain) Get

func (v NullableDomain) Get() *Domain

func (NullableDomain) IsSet

func (v NullableDomain) IsSet() bool

func (NullableDomain) MarshalJSON

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

func (*NullableDomain) Set

func (v *NullableDomain) Set(val *Domain)

func (*NullableDomain) UnmarshalJSON

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

func (*NullableDomain) Unset

func (v *NullableDomain) Unset()

type NullableDomainDkim

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

func NewNullableDomainDkim

func NewNullableDomainDkim(val *DomainDkim) *NullableDomainDkim

func (NullableDomainDkim) Get

func (v NullableDomainDkim) Get() *DomainDkim

func (NullableDomainDkim) IsSet

func (v NullableDomainDkim) IsSet() bool

func (NullableDomainDkim) MarshalJSON

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

func (*NullableDomainDkim) Set

func (v *NullableDomainDkim) Set(val *DomainDkim)

func (*NullableDomainDkim) UnmarshalJSON

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

func (*NullableDomainDkim) Unset

func (v *NullableDomainDkim) Unset()

type NullableDomainDmarc

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

func NewNullableDomainDmarc

func NewNullableDomainDmarc(val *DomainDmarc) *NullableDomainDmarc

func (NullableDomainDmarc) Get

func (NullableDomainDmarc) IsSet

func (v NullableDomainDmarc) IsSet() bool

func (NullableDomainDmarc) MarshalJSON

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

func (*NullableDomainDmarc) Set

func (v *NullableDomainDmarc) Set(val *DomainDmarc)

func (*NullableDomainDmarc) UnmarshalJSON

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

func (*NullableDomainDmarc) Unset

func (v *NullableDomainDmarc) Unset()

type NullableDomainGpt

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

func NewNullableDomainGpt

func NewNullableDomainGpt(val *DomainGpt) *NullableDomainGpt

func (NullableDomainGpt) Get

func (v NullableDomainGpt) Get() *DomainGpt

func (NullableDomainGpt) IsSet

func (v NullableDomainGpt) IsSet() bool

func (NullableDomainGpt) MarshalJSON

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

func (*NullableDomainGpt) Set

func (v *NullableDomainGpt) Set(val *DomainGpt)

func (*NullableDomainGpt) UnmarshalJSON

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

func (*NullableDomainGpt) Unset

func (v *NullableDomainGpt) Unset()

type NullableDomainReturnPath

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

func NewNullableDomainReturnPath

func NewNullableDomainReturnPath(val *DomainReturnPath) *NullableDomainReturnPath

func (NullableDomainReturnPath) Get

func (NullableDomainReturnPath) IsSet

func (v NullableDomainReturnPath) IsSet() bool

func (NullableDomainReturnPath) MarshalJSON

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

func (*NullableDomainReturnPath) Set

func (*NullableDomainReturnPath) UnmarshalJSON

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

func (*NullableDomainReturnPath) Unset

func (v *NullableDomainReturnPath) Unset()

type NullableDomainSpf added in v1.0.2

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

func NewNullableDomainSpf added in v1.0.2

func NewNullableDomainSpf(val *DomainSpf) *NullableDomainSpf

func (NullableDomainSpf) Get added in v1.0.2

func (v NullableDomainSpf) Get() *DomainSpf

func (NullableDomainSpf) IsSet added in v1.0.2

func (v NullableDomainSpf) IsSet() bool

func (NullableDomainSpf) MarshalJSON added in v1.0.2

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

func (*NullableDomainSpf) Set added in v1.0.2

func (v *NullableDomainSpf) Set(val *DomainSpf)

func (*NullableDomainSpf) UnmarshalJSON added in v1.0.2

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

func (*NullableDomainSpf) Unset added in v1.0.2

func (v *NullableDomainSpf) Unset()

type NullableDomainTrack

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

func NewNullableDomainTrack

func NewNullableDomainTrack(val *DomainTrack) *NullableDomainTrack

func (NullableDomainTrack) Get

func (NullableDomainTrack) IsSet

func (v NullableDomainTrack) IsSet() bool

func (NullableDomainTrack) MarshalJSON

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

func (*NullableDomainTrack) Set

func (v *NullableDomainTrack) Set(val *DomainTrack)

func (*NullableDomainTrack) UnmarshalJSON

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

func (*NullableDomainTrack) Unset

func (v *NullableDomainTrack) Unset()

type NullableEIP

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

func NewNullableEIP

func NewNullableEIP(val *EIP) *NullableEIP

func (NullableEIP) Get

func (v NullableEIP) Get() *EIP

func (NullableEIP) IsSet

func (v NullableEIP) IsSet() bool

func (NullableEIP) MarshalJSON

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

func (*NullableEIP) Set

func (v *NullableEIP) Set(val *EIP)

func (*NullableEIP) UnmarshalJSON

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

func (*NullableEIP) Unset

func (v *NullableEIP) Unset()

type NullableEmailAddress

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

func NewNullableEmailAddress

func NewNullableEmailAddress(val *EmailAddress) *NullableEmailAddress

func (NullableEmailAddress) Get

func (NullableEmailAddress) IsSet

func (v NullableEmailAddress) IsSet() bool

func (NullableEmailAddress) MarshalJSON

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

func (*NullableEmailAddress) Set

func (v *NullableEmailAddress) Set(val *EmailAddress)

func (*NullableEmailAddress) UnmarshalJSON

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

func (*NullableEmailAddress) Unset

func (v *NullableEmailAddress) Unset()

type NullableEmailMessage

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

func NewNullableEmailMessage

func NewNullableEmailMessage(val *EmailMessage) *NullableEmailMessage

func (NullableEmailMessage) Get

func (NullableEmailMessage) IsSet

func (v NullableEmailMessage) IsSet() bool

func (NullableEmailMessage) MarshalJSON

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

func (*NullableEmailMessage) Set

func (v *NullableEmailMessage) Set(val *EmailMessage)

func (*NullableEmailMessage) UnmarshalJSON

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

func (*NullableEmailMessage) Unset

func (v *NullableEmailMessage) Unset()

type NullableEmailMessageFrom

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

func NewNullableEmailMessageFrom

func NewNullableEmailMessageFrom(val *EmailMessageFrom) *NullableEmailMessageFrom

func (NullableEmailMessageFrom) Get

func (NullableEmailMessageFrom) IsSet

func (v NullableEmailMessageFrom) IsSet() bool

func (NullableEmailMessageFrom) MarshalJSON

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

func (*NullableEmailMessageFrom) Set

func (*NullableEmailMessageFrom) UnmarshalJSON

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

func (*NullableEmailMessageFrom) Unset

func (v *NullableEmailMessageFrom) Unset()

type NullableEmailMessageObject

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

func NewNullableEmailMessageObject

func NewNullableEmailMessageObject(val *EmailMessageObject) *NullableEmailMessageObject

func (NullableEmailMessageObject) Get

func (NullableEmailMessageObject) IsSet

func (v NullableEmailMessageObject) IsSet() bool

func (NullableEmailMessageObject) MarshalJSON

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

func (*NullableEmailMessageObject) Set

func (*NullableEmailMessageObject) UnmarshalJSON

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

func (*NullableEmailMessageObject) Unset

func (v *NullableEmailMessageObject) Unset()

type NullableEmailMessageReplyTo

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

func NewNullableEmailMessageReplyTo

func NewNullableEmailMessageReplyTo(val *EmailMessageReplyTo) *NullableEmailMessageReplyTo

func (NullableEmailMessageReplyTo) Get

func (NullableEmailMessageReplyTo) IsSet

func (NullableEmailMessageReplyTo) MarshalJSON

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

func (*NullableEmailMessageReplyTo) Set

func (*NullableEmailMessageReplyTo) UnmarshalJSON

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

func (*NullableEmailMessageReplyTo) Unset

func (v *NullableEmailMessageReplyTo) Unset()

type NullableEmailMessageToInner

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

func NewNullableEmailMessageToInner

func NewNullableEmailMessageToInner(val *EmailMessageToInner) *NullableEmailMessageToInner

func (NullableEmailMessageToInner) Get

func (NullableEmailMessageToInner) IsSet

func (NullableEmailMessageToInner) MarshalJSON

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

func (*NullableEmailMessageToInner) Set

func (*NullableEmailMessageToInner) UnmarshalJSON

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

func (*NullableEmailMessageToInner) Unset

func (v *NullableEmailMessageToInner) Unset()

type NullableEmailMessageToInnerBccInner

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

func (NullableEmailMessageToInnerBccInner) Get

func (NullableEmailMessageToInnerBccInner) IsSet

func (NullableEmailMessageToInnerBccInner) MarshalJSON

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

func (*NullableEmailMessageToInnerBccInner) Set

func (*NullableEmailMessageToInnerBccInner) UnmarshalJSON

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

func (*NullableEmailMessageToInnerBccInner) Unset

type NullableEmailMessageToInnerCcInner

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

func (NullableEmailMessageToInnerCcInner) Get

func (NullableEmailMessageToInnerCcInner) IsSet

func (NullableEmailMessageToInnerCcInner) MarshalJSON

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

func (*NullableEmailMessageToInnerCcInner) Set

func (*NullableEmailMessageToInnerCcInner) UnmarshalJSON

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

func (*NullableEmailMessageToInnerCcInner) Unset

type NullableEmailMessageWithTemplate

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

func (NullableEmailMessageWithTemplate) Get

func (NullableEmailMessageWithTemplate) IsSet

func (NullableEmailMessageWithTemplate) MarshalJSON

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

func (*NullableEmailMessageWithTemplate) Set

func (*NullableEmailMessageWithTemplate) UnmarshalJSON

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

func (*NullableEmailMessageWithTemplate) Unset

type NullableEmailResponse

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

func NewNullableEmailResponse

func NewNullableEmailResponse(val *EmailResponse) *NullableEmailResponse

func (NullableEmailResponse) Get

func (NullableEmailResponse) IsSet

func (v NullableEmailResponse) IsSet() bool

func (NullableEmailResponse) MarshalJSON

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

func (*NullableEmailResponse) Set

func (v *NullableEmailResponse) Set(val *EmailResponse)

func (*NullableEmailResponse) UnmarshalJSON

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

func (*NullableEmailResponse) Unset

func (v *NullableEmailResponse) Unset()

type NullableEmailStats

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

func NewNullableEmailStats

func NewNullableEmailStats(val *EmailStats) *NullableEmailStats

func (NullableEmailStats) Get

func (v NullableEmailStats) Get() *EmailStats

func (NullableEmailStats) IsSet

func (v NullableEmailStats) IsSet() bool

func (NullableEmailStats) MarshalJSON

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

func (*NullableEmailStats) Set

func (v *NullableEmailStats) Set(val *EmailStats)

func (*NullableEmailStats) UnmarshalJSON

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

func (*NullableEmailStats) Unset

func (v *NullableEmailStats) Unset()

type NullableEmailStatsStats

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

func NewNullableEmailStatsStats

func NewNullableEmailStatsStats(val *EmailStatsStats) *NullableEmailStatsStats

func (NullableEmailStatsStats) Get

func (NullableEmailStatsStats) IsSet

func (v NullableEmailStatsStats) IsSet() bool

func (NullableEmailStatsStats) MarshalJSON

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

func (*NullableEmailStatsStats) Set

func (*NullableEmailStatsStats) UnmarshalJSON

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

func (*NullableEmailStatsStats) Unset

func (v *NullableEmailStatsStats) Unset()

type NullableEvent

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

func NewNullableEvent

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON

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

func (*NullableEvent) Set

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON

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

func (*NullableEvent) Unset

func (v *NullableEvent) Unset()

type NullableEventMetadata

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

func NewNullableEventMetadata

func NewNullableEventMetadata(val *EventMetadata) *NullableEventMetadata

func (NullableEventMetadata) Get

func (NullableEventMetadata) IsSet

func (v NullableEventMetadata) IsSet() bool

func (NullableEventMetadata) MarshalJSON

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

func (*NullableEventMetadata) Set

func (v *NullableEventMetadata) Set(val *EventMetadata)

func (*NullableEventMetadata) UnmarshalJSON

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

func (*NullableEventMetadata) Unset

func (v *NullableEventMetadata) 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 NullableGeoLocation

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

func NewNullableGeoLocation

func NewNullableGeoLocation(val *GeoLocation) *NullableGeoLocation

func (NullableGeoLocation) Get

func (NullableGeoLocation) IsSet

func (v NullableGeoLocation) IsSet() bool

func (NullableGeoLocation) MarshalJSON

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

func (*NullableGeoLocation) Set

func (v *NullableGeoLocation) Set(val *GeoLocation)

func (*NullableGeoLocation) UnmarshalJSON

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

func (*NullableGeoLocation) Unset

func (v *NullableGeoLocation) Unset()

type NullableIP

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

func NewNullableIP

func NewNullableIP(val *IP) *NullableIP

func (NullableIP) Get

func (v NullableIP) Get() *IP

func (NullableIP) IsSet

func (v NullableIP) IsSet() bool

func (NullableIP) MarshalJSON

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

func (*NullableIP) Set

func (v *NullableIP) Set(val *IP)

func (*NullableIP) UnmarshalJSON

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

func (*NullableIP) Unset

func (v *NullableIP) Unset()

type NullableIPAllocationRequest

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

func NewNullableIPAllocationRequest

func NewNullableIPAllocationRequest(val *IPAllocationRequest) *NullableIPAllocationRequest

func (NullableIPAllocationRequest) Get

func (NullableIPAllocationRequest) IsSet

func (NullableIPAllocationRequest) MarshalJSON

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

func (*NullableIPAllocationRequest) Set

func (*NullableIPAllocationRequest) UnmarshalJSON

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

func (*NullableIPAllocationRequest) Unset

func (v *NullableIPAllocationRequest) Unset()

type NullableIPDeletionResponse

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

func NewNullableIPDeletionResponse

func NewNullableIPDeletionResponse(val *IPDeletionResponse) *NullableIPDeletionResponse

func (NullableIPDeletionResponse) Get

func (NullableIPDeletionResponse) IsSet

func (v NullableIPDeletionResponse) IsSet() bool

func (NullableIPDeletionResponse) MarshalJSON

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

func (*NullableIPDeletionResponse) Set

func (*NullableIPDeletionResponse) UnmarshalJSON

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

func (*NullableIPDeletionResponse) Unset

func (v *NullableIPDeletionResponse) Unset()

type NullableIPPool

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

func NewNullableIPPool

func NewNullableIPPool(val *IPPool) *NullableIPPool

func (NullableIPPool) Get

func (v NullableIPPool) Get() *IPPool

func (NullableIPPool) IsSet

func (v NullableIPPool) IsSet() bool

func (NullableIPPool) MarshalJSON

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

func (*NullableIPPool) Set

func (v *NullableIPPool) Set(val *IPPool)

func (*NullableIPPool) UnmarshalJSON

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

func (*NullableIPPool) Unset

func (v *NullableIPPool) Unset()

type NullableIPPoolCreateRequest

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

func NewNullableIPPoolCreateRequest

func NewNullableIPPoolCreateRequest(val *IPPoolCreateRequest) *NullableIPPoolCreateRequest

func (NullableIPPoolCreateRequest) Get

func (NullableIPPoolCreateRequest) IsSet

func (NullableIPPoolCreateRequest) MarshalJSON

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

func (*NullableIPPoolCreateRequest) Set

func (*NullableIPPoolCreateRequest) UnmarshalJSON

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

func (*NullableIPPoolCreateRequest) Unset

func (v *NullableIPPoolCreateRequest) Unset()

type NullableIPPoolDeleteResponse

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

func NewNullableIPPoolDeleteResponse

func NewNullableIPPoolDeleteResponse(val *IPPoolDeleteResponse) *NullableIPPoolDeleteResponse

func (NullableIPPoolDeleteResponse) Get

func (NullableIPPoolDeleteResponse) IsSet

func (NullableIPPoolDeleteResponse) MarshalJSON

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

func (*NullableIPPoolDeleteResponse) Set

func (*NullableIPPoolDeleteResponse) UnmarshalJSON

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

func (*NullableIPPoolDeleteResponse) Unset

func (v *NullableIPPoolDeleteResponse) Unset()

type NullableIPPoolUpdateRequest

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

func NewNullableIPPoolUpdateRequest

func NewNullableIPPoolUpdateRequest(val *IPPoolUpdateRequest) *NullableIPPoolUpdateRequest

func (NullableIPPoolUpdateRequest) Get

func (NullableIPPoolUpdateRequest) IsSet

func (NullableIPPoolUpdateRequest) MarshalJSON

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

func (*NullableIPPoolUpdateRequest) Set

func (*NullableIPPoolUpdateRequest) UnmarshalJSON

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

func (*NullableIPPoolUpdateRequest) Unset

func (v *NullableIPPoolUpdateRequest) Unset()

type NullableIPUpdateRequest

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

func NewNullableIPUpdateRequest

func NewNullableIPUpdateRequest(val *IPUpdateRequest) *NullableIPUpdateRequest

func (NullableIPUpdateRequest) Get

func (NullableIPUpdateRequest) IsSet

func (v NullableIPUpdateRequest) IsSet() bool

func (NullableIPUpdateRequest) MarshalJSON

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

func (*NullableIPUpdateRequest) Set

func (*NullableIPUpdateRequest) UnmarshalJSON

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

func (*NullableIPUpdateRequest) Unset

func (v *NullableIPUpdateRequest) 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 NullableLabel added in v1.0.2

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

func NewNullableLabel added in v1.0.2

func NewNullableLabel(val *Label) *NullableLabel

func (NullableLabel) Get added in v1.0.2

func (v NullableLabel) Get() *Label

func (NullableLabel) IsSet added in v1.0.2

func (v NullableLabel) IsSet() bool

func (NullableLabel) MarshalJSON added in v1.0.2

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

func (*NullableLabel) Set added in v1.0.2

func (v *NullableLabel) Set(val *Label)

func (*NullableLabel) UnmarshalJSON added in v1.0.2

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

func (*NullableLabel) Unset added in v1.0.2

func (v *NullableLabel) Unset()

type NullableMember

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

func NewNullableMember

func NewNullableMember(val *Member) *NullableMember

func (NullableMember) Get

func (v NullableMember) Get() *Member

func (NullableMember) IsSet

func (v NullableMember) IsSet() bool

func (NullableMember) MarshalJSON

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

func (*NullableMember) Set

func (v *NullableMember) Set(val *Member)

func (*NullableMember) UnmarshalJSON

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

func (*NullableMember) Unset

func (v *NullableMember) Unset()

type NullableMessage

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

func NewNullableMessage

func NewNullableMessage(val *Message) *NullableMessage

func (NullableMessage) Get

func (v NullableMessage) Get() *Message

func (NullableMessage) IsSet

func (v NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON

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

func (*NullableMessage) Set

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON

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

func (*NullableMessage) Unset

func (v *NullableMessage) Unset()

type NullableMessageHeaderTo

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

func NewNullableMessageHeaderTo

func NewNullableMessageHeaderTo(val *MessageHeaderTo) *NullableMessageHeaderTo

func (NullableMessageHeaderTo) Get

func (NullableMessageHeaderTo) IsSet

func (v NullableMessageHeaderTo) IsSet() bool

func (NullableMessageHeaderTo) MarshalJSON

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

func (*NullableMessageHeaderTo) Set

func (*NullableMessageHeaderTo) UnmarshalJSON

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

func (*NullableMessageHeaderTo) Unset

func (v *NullableMessageHeaderTo) Unset()

type NullableMessageTo

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

func NewNullableMessageTo

func NewNullableMessageTo(val *MessageTo) *NullableMessageTo

func (NullableMessageTo) Get

func (v NullableMessageTo) Get() *MessageTo

func (NullableMessageTo) IsSet

func (v NullableMessageTo) IsSet() bool

func (NullableMessageTo) MarshalJSON

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

func (*NullableMessageTo) Set

func (v *NullableMessageTo) Set(val *MessageTo)

func (*NullableMessageTo) UnmarshalJSON

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

func (*NullableMessageTo) Unset

func (v *NullableMessageTo) Unset()

type NullableOperatingSystem

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

func NewNullableOperatingSystem

func NewNullableOperatingSystem(val *OperatingSystem) *NullableOperatingSystem

func (NullableOperatingSystem) Get

func (NullableOperatingSystem) IsSet

func (v NullableOperatingSystem) IsSet() bool

func (NullableOperatingSystem) MarshalJSON

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

func (*NullableOperatingSystem) Set

func (*NullableOperatingSystem) UnmarshalJSON

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

func (*NullableOperatingSystem) Unset

func (v *NullableOperatingSystem) Unset()

type NullablePerson

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

func NewNullablePerson

func NewNullablePerson(val *Person) *NullablePerson

func (NullablePerson) Get

func (v NullablePerson) Get() *Person

func (NullablePerson) IsSet

func (v NullablePerson) IsSet() bool

func (NullablePerson) MarshalJSON

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

func (*NullablePerson) Set

func (v *NullablePerson) Set(val *Person)

func (*NullablePerson) UnmarshalJSON

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

func (*NullablePerson) Unset

func (v *NullablePerson) Unset()

type NullableRecipient

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

func NewNullableRecipient

func NewNullableRecipient(val *Recipient) *NullableRecipient

func (NullableRecipient) Get

func (v NullableRecipient) Get() *Recipient

func (NullableRecipient) IsSet

func (v NullableRecipient) IsSet() bool

func (NullableRecipient) MarshalJSON

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

func (*NullableRecipient) Set

func (v *NullableRecipient) Set(val *Recipient)

func (*NullableRecipient) UnmarshalJSON

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

func (*NullableRecipient) Unset

func (v *NullableRecipient) Unset()

type NullableSMTPAuth

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

func NewNullableSMTPAuth

func NewNullableSMTPAuth(val *SMTPAuth) *NullableSMTPAuth

func (NullableSMTPAuth) Get

func (v NullableSMTPAuth) Get() *SMTPAuth

func (NullableSMTPAuth) IsSet

func (v NullableSMTPAuth) IsSet() bool

func (NullableSMTPAuth) MarshalJSON

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

func (*NullableSMTPAuth) Set

func (v *NullableSMTPAuth) Set(val *SMTPAuth)

func (*NullableSMTPAuth) UnmarshalJSON

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

func (*NullableSMTPAuth) Unset

func (v *NullableSMTPAuth) Unset()

type NullableStat

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

func NewNullableStat

func NewNullableStat(val *Stat) *NullableStat

func (NullableStat) Get

func (v NullableStat) Get() *Stat

func (NullableStat) IsSet

func (v NullableStat) IsSet() bool

func (NullableStat) MarshalJSON

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

func (*NullableStat) Set

func (v *NullableStat) Set(val *Stat)

func (*NullableStat) UnmarshalJSON

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

func (*NullableStat) Unset

func (v *NullableStat) Unset()

type NullableStatStat added in v1.0.2

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

func NewNullableStatStat added in v1.0.2

func NewNullableStatStat(val *StatStat) *NullableStatStat

func (NullableStatStat) Get added in v1.0.2

func (v NullableStatStat) Get() *StatStat

func (NullableStatStat) IsSet added in v1.0.2

func (v NullableStatStat) IsSet() bool

func (NullableStatStat) MarshalJSON added in v1.0.2

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

func (*NullableStatStat) Set added in v1.0.2

func (v *NullableStatStat) Set(val *StatStat)

func (*NullableStatStat) UnmarshalJSON added in v1.0.2

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

func (*NullableStatStat) Unset added in v1.0.2

func (v *NullableStatStat) Unset()

type NullableStatStats

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

func NewNullableStatStats

func NewNullableStatStats(val *StatStats) *NullableStatStats

func (NullableStatStats) Get

func (v NullableStatStats) Get() *StatStats

func (NullableStatStats) IsSet

func (v NullableStatStats) IsSet() bool

func (NullableStatStats) MarshalJSON

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

func (*NullableStatStats) Set

func (v *NullableStatStats) Set(val *StatStats)

func (*NullableStatStats) UnmarshalJSON

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

func (*NullableStatStats) Unset

func (v *NullableStatStats) 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 NullableSubAccount

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

func NewNullableSubAccount

func NewNullableSubAccount(val *SubAccount) *NullableSubAccount

func (NullableSubAccount) Get

func (v NullableSubAccount) Get() *SubAccount

func (NullableSubAccount) IsSet

func (v NullableSubAccount) IsSet() bool

func (NullableSubAccount) MarshalJSON

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

func (*NullableSubAccount) Set

func (v *NullableSubAccount) Set(val *SubAccount)

func (*NullableSubAccount) UnmarshalJSON

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

func (*NullableSubAccount) Unset

func (v *NullableSubAccount) Unset()

type NullableSuppression

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

func NewNullableSuppression

func NewNullableSuppression(val *Suppression) *NullableSuppression

func (NullableSuppression) Get

func (NullableSuppression) IsSet

func (v NullableSuppression) IsSet() bool

func (NullableSuppression) MarshalJSON

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

func (*NullableSuppression) Set

func (v *NullableSuppression) Set(val *Suppression)

func (*NullableSuppression) UnmarshalJSON

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

func (*NullableSuppression) Unset

func (v *NullableSuppression) Unset()

type NullableThirdPartySendingProvider

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

func (NullableThirdPartySendingProvider) Get

func (NullableThirdPartySendingProvider) IsSet

func (NullableThirdPartySendingProvider) MarshalJSON

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

func (*NullableThirdPartySendingProvider) Set

func (*NullableThirdPartySendingProvider) UnmarshalJSON

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

func (*NullableThirdPartySendingProvider) 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 NullableUpdateSubAccount

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

func NewNullableUpdateSubAccount

func NewNullableUpdateSubAccount(val *UpdateSubAccount) *NullableUpdateSubAccount

func (NullableUpdateSubAccount) Get

func (NullableUpdateSubAccount) IsSet

func (v NullableUpdateSubAccount) IsSet() bool

func (NullableUpdateSubAccount) MarshalJSON

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

func (*NullableUpdateSubAccount) Set

func (*NullableUpdateSubAccount) UnmarshalJSON

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

func (*NullableUpdateSubAccount) Unset

func (v *NullableUpdateSubAccount) Unset()

type NullableUpdateWebhook

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

func NewNullableUpdateWebhook

func NewNullableUpdateWebhook(val *UpdateWebhook) *NullableUpdateWebhook

func (NullableUpdateWebhook) Get

func (NullableUpdateWebhook) IsSet

func (v NullableUpdateWebhook) IsSet() bool

func (NullableUpdateWebhook) MarshalJSON

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

func (*NullableUpdateWebhook) Set

func (v *NullableUpdateWebhook) Set(val *UpdateWebhook)

func (*NullableUpdateWebhook) UnmarshalJSON

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

func (*NullableUpdateWebhook) Unset

func (v *NullableUpdateWebhook) Unset()

type NullableUserAgent

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

func NewNullableUserAgent

func NewNullableUserAgent(val *UserAgent) *NullableUserAgent

func (NullableUserAgent) Get

func (v NullableUserAgent) Get() *UserAgent

func (NullableUserAgent) IsSet

func (v NullableUserAgent) IsSet() bool

func (NullableUserAgent) MarshalJSON

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

func (*NullableUserAgent) Set

func (v *NullableUserAgent) Set(val *UserAgent)

func (*NullableUserAgent) UnmarshalJSON

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

func (*NullableUserAgent) Unset

func (v *NullableUserAgent) Unset()

type NullableWebhook

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

func NewNullableWebhook

func NewNullableWebhook(val *Webhook) *NullableWebhook

func (NullableWebhook) Get

func (v NullableWebhook) Get() *Webhook

func (NullableWebhook) IsSet

func (v NullableWebhook) IsSet() bool

func (NullableWebhook) MarshalJSON

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

func (*NullableWebhook) Set

func (v *NullableWebhook) Set(val *Webhook)

func (*NullableWebhook) UnmarshalJSON

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

func (*NullableWebhook) Unset

func (v *NullableWebhook) Unset()

type NullableWebhookObject

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

func NewNullableWebhookObject

func NewNullableWebhookObject(val *WebhookObject) *NullableWebhookObject

func (NullableWebhookObject) Get

func (NullableWebhookObject) IsSet

func (v NullableWebhookObject) IsSet() bool

func (NullableWebhookObject) MarshalJSON

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

func (*NullableWebhookObject) Set

func (v *NullableWebhookObject) Set(val *WebhookObject)

func (*NullableWebhookObject) UnmarshalJSON

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

func (*NullableWebhookObject) Unset

func (v *NullableWebhookObject) Unset()

type OperatingSystem

type OperatingSystem struct {
	Family     *string `json:"Family,omitempty"`
	Major      *string `json:"Major,omitempty"`
	Minor      *string `json:"Minor,omitempty"`
	Patch      *string `json:"Patch,omitempty"`
	PatchMinor *string `json:"PatchMinor,omitempty"`
}

OperatingSystem struct for OperatingSystem

func NewOperatingSystem

func NewOperatingSystem() *OperatingSystem

NewOperatingSystem instantiates a new OperatingSystem 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 NewOperatingSystemWithDefaults

func NewOperatingSystemWithDefaults() *OperatingSystem

NewOperatingSystemWithDefaults instantiates a new OperatingSystem 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 (*OperatingSystem) GetFamily

func (o *OperatingSystem) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*OperatingSystem) GetFamilyOk

func (o *OperatingSystem) GetFamilyOk() (*string, bool)

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

func (*OperatingSystem) GetMajor

func (o *OperatingSystem) GetMajor() string

GetMajor returns the Major field value if set, zero value otherwise.

func (*OperatingSystem) GetMajorOk

func (o *OperatingSystem) GetMajorOk() (*string, bool)

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

func (*OperatingSystem) GetMinor

func (o *OperatingSystem) GetMinor() string

GetMinor returns the Minor field value if set, zero value otherwise.

func (*OperatingSystem) GetMinorOk

func (o *OperatingSystem) GetMinorOk() (*string, bool)

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

func (*OperatingSystem) GetPatch

func (o *OperatingSystem) GetPatch() string

GetPatch returns the Patch field value if set, zero value otherwise.

func (*OperatingSystem) GetPatchMinor

func (o *OperatingSystem) GetPatchMinor() string

GetPatchMinor returns the PatchMinor field value if set, zero value otherwise.

func (*OperatingSystem) GetPatchMinorOk

func (o *OperatingSystem) GetPatchMinorOk() (*string, bool)

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

func (*OperatingSystem) GetPatchOk

func (o *OperatingSystem) GetPatchOk() (*string, bool)

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

func (*OperatingSystem) HasFamily

func (o *OperatingSystem) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*OperatingSystem) HasMajor

func (o *OperatingSystem) HasMajor() bool

HasMajor returns a boolean if a field has been set.

func (*OperatingSystem) HasMinor

func (o *OperatingSystem) HasMinor() bool

HasMinor returns a boolean if a field has been set.

func (*OperatingSystem) HasPatch

func (o *OperatingSystem) HasPatch() bool

HasPatch returns a boolean if a field has been set.

func (*OperatingSystem) HasPatchMinor

func (o *OperatingSystem) HasPatchMinor() bool

HasPatchMinor returns a boolean if a field has been set.

func (OperatingSystem) MarshalJSON

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

func (*OperatingSystem) SetFamily

func (o *OperatingSystem) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*OperatingSystem) SetMajor

func (o *OperatingSystem) SetMajor(v string)

SetMajor gets a reference to the given string and assigns it to the Major field.

func (*OperatingSystem) SetMinor

func (o *OperatingSystem) SetMinor(v string)

SetMinor gets a reference to the given string and assigns it to the Minor field.

func (*OperatingSystem) SetPatch

func (o *OperatingSystem) SetPatch(v string)

SetPatch gets a reference to the given string and assigns it to the Patch field.

func (*OperatingSystem) SetPatchMinor

func (o *OperatingSystem) SetPatchMinor(v string)

SetPatchMinor gets a reference to the given string and assigns it to the PatchMinor field.

func (OperatingSystem) ToMap

func (o OperatingSystem) ToMap() (map[string]interface{}, error)

type Person

type Person struct {
	// Name of the person.
	Name *string `json:"name,omitempty"`
	// Email address of the person.
	Email *string `json:"email,omitempty"`
}

Person struct for Person

func NewPerson

func NewPerson() *Person

NewPerson instantiates a new Person 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 NewPersonWithDefaults

func NewPersonWithDefaults() *Person

NewPersonWithDefaults instantiates a new Person 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 (*Person) GetEmail

func (o *Person) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Person) GetEmailOk

func (o *Person) GetEmailOk() (*string, bool)

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

func (*Person) GetName

func (o *Person) GetName() string

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

func (*Person) GetNameOk

func (o *Person) 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 (*Person) HasEmail

func (o *Person) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Person) HasName

func (o *Person) HasName() bool

HasName returns a boolean if a field has been set.

func (Person) MarshalJSON

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

func (*Person) SetEmail

func (o *Person) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Person) SetName

func (o *Person) SetName(v string)

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

func (Person) ToMap

func (o Person) ToMap() (map[string]interface{}, error)

type Recipient

type Recipient struct {
	Email *string  `json:"email,omitempty"`
	Name  *string  `json:"name,omitempty"`
	Cc    []CopyTo `json:"cc,omitempty"`
	Bcc   []CopyTo `json:"bcc,omitempty"`
	// Custom fields for personalization
	CustomFields map[string]interface{} `json:"customFields,omitempty"`
}

Recipient struct for Recipient

func NewRecipient

func NewRecipient() *Recipient

NewRecipient instantiates a new Recipient 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 NewRecipientWithDefaults

func NewRecipientWithDefaults() *Recipient

NewRecipientWithDefaults instantiates a new Recipient 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 (*Recipient) GetBcc

func (o *Recipient) GetBcc() []CopyTo

GetBcc returns the Bcc field value if set, zero value otherwise.

func (*Recipient) GetBccOk

func (o *Recipient) GetBccOk() ([]CopyTo, bool)

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

func (*Recipient) GetCc

func (o *Recipient) GetCc() []CopyTo

GetCc returns the Cc field value if set, zero value otherwise.

func (*Recipient) GetCcOk

func (o *Recipient) GetCcOk() ([]CopyTo, bool)

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

func (*Recipient) GetCustomFields

func (o *Recipient) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field value if set, zero value otherwise.

func (*Recipient) GetCustomFieldsOk

func (o *Recipient) GetCustomFieldsOk() (map[string]interface{}, bool)

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

func (*Recipient) GetEmail

func (o *Recipient) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Recipient) GetEmailOk

func (o *Recipient) GetEmailOk() (*string, bool)

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

func (*Recipient) GetName

func (o *Recipient) GetName() string

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

func (*Recipient) GetNameOk

func (o *Recipient) 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 (*Recipient) HasBcc

func (o *Recipient) HasBcc() bool

HasBcc returns a boolean if a field has been set.

func (*Recipient) HasCc

func (o *Recipient) HasCc() bool

HasCc returns a boolean if a field has been set.

func (*Recipient) HasCustomFields

func (o *Recipient) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*Recipient) HasEmail

func (o *Recipient) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Recipient) HasName

func (o *Recipient) HasName() bool

HasName returns a boolean if a field has been set.

func (Recipient) MarshalJSON

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

func (*Recipient) SetBcc

func (o *Recipient) SetBcc(v []CopyTo)

SetBcc gets a reference to the given []CopyTo and assigns it to the Bcc field.

func (*Recipient) SetCc

func (o *Recipient) SetCc(v []CopyTo)

SetCc gets a reference to the given []CopyTo and assigns it to the Cc field.

func (*Recipient) SetCustomFields

func (o *Recipient) SetCustomFields(v map[string]interface{})

SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field.

func (*Recipient) SetEmail

func (o *Recipient) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Recipient) SetName

func (o *Recipient) SetName(v string)

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

func (Recipient) ToMap

func (o Recipient) ToMap() (map[string]interface{}, error)

type SMTPAuth

type SMTPAuth struct {
	// Unique ID for the SMTP Auth
	Id *int32 `json:"id,omitempty"`
	// Username for the SMTP Auth
	Username *string `json:"username,omitempty"`
	// Password for the SMTP Auth
	Password *string `json:"password,omitempty"`
	// UNIX epoch nano timestamp when the SMTP Auth was created
	Created *int64 `json:"created,omitempty"`
	// UNIX epoch nano timestamp when the SMTP Auth was updated
	Updated *int64 `json:"updated,omitempty"`
}

SMTPAuth struct for SMTPAuth

func NewSMTPAuth

func NewSMTPAuth() *SMTPAuth

NewSMTPAuth instantiates a new SMTPAuth 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 NewSMTPAuthWithDefaults

func NewSMTPAuthWithDefaults() *SMTPAuth

NewSMTPAuthWithDefaults instantiates a new SMTPAuth 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 (*SMTPAuth) GetCreated

func (o *SMTPAuth) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*SMTPAuth) GetCreatedOk

func (o *SMTPAuth) GetCreatedOk() (*int64, bool)

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

func (*SMTPAuth) GetId

func (o *SMTPAuth) GetId() int32

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

func (*SMTPAuth) GetIdOk

func (o *SMTPAuth) 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 (*SMTPAuth) GetPassword

func (o *SMTPAuth) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*SMTPAuth) GetPasswordOk

func (o *SMTPAuth) GetPasswordOk() (*string, bool)

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

func (*SMTPAuth) GetUpdated

func (o *SMTPAuth) GetUpdated() int64

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*SMTPAuth) GetUpdatedOk

func (o *SMTPAuth) GetUpdatedOk() (*int64, bool)

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

func (*SMTPAuth) GetUsername

func (o *SMTPAuth) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*SMTPAuth) GetUsernameOk

func (o *SMTPAuth) GetUsernameOk() (*string, bool)

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

func (*SMTPAuth) HasCreated

func (o *SMTPAuth) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*SMTPAuth) HasId

func (o *SMTPAuth) HasId() bool

HasId returns a boolean if a field has been set.

func (*SMTPAuth) HasPassword

func (o *SMTPAuth) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*SMTPAuth) HasUpdated

func (o *SMTPAuth) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*SMTPAuth) HasUsername

func (o *SMTPAuth) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (SMTPAuth) MarshalJSON

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

func (*SMTPAuth) SetCreated

func (o *SMTPAuth) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*SMTPAuth) SetId

func (o *SMTPAuth) SetId(v int32)

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

func (*SMTPAuth) SetPassword

func (o *SMTPAuth) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*SMTPAuth) SetUpdated

func (o *SMTPAuth) SetUpdated(v int64)

SetUpdated gets a reference to the given int64 and assigns it to the Updated field.

func (*SMTPAuth) SetUsername

func (o *SMTPAuth) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (SMTPAuth) ToMap

func (o SMTPAuth) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type Stat

type Stat struct {
	// Date for which stats are retrieved (UTC).
	Date *string   `json:"date,omitempty"`
	Stat *StatStat `json:"stat,omitempty"`
}

Stat struct for Stat

func NewStat

func NewStat() *Stat

NewStat instantiates a new Stat 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 NewStatWithDefaults

func NewStatWithDefaults() *Stat

NewStatWithDefaults instantiates a new Stat 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 (*Stat) GetDate

func (o *Stat) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*Stat) GetDateOk

func (o *Stat) GetDateOk() (*string, bool)

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

func (*Stat) GetStat added in v1.0.2

func (o *Stat) GetStat() StatStat

GetStat returns the Stat field value if set, zero value otherwise.

func (*Stat) GetStatOk added in v1.0.2

func (o *Stat) GetStatOk() (*StatStat, bool)

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

func (*Stat) HasDate

func (o *Stat) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*Stat) HasStat added in v1.0.2

func (o *Stat) HasStat() bool

HasStat returns a boolean if a field has been set.

func (Stat) MarshalJSON

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

func (*Stat) SetDate

func (o *Stat) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*Stat) SetStat added in v1.0.2

func (o *Stat) SetStat(v StatStat)

SetStat gets a reference to the given StatStat and assigns it to the Stat field.

func (Stat) ToMap

func (o Stat) ToMap() (map[string]interface{}, error)

type StatStat added in v1.0.2

type StatStat struct {
	// Number of emails accepted by SendPost API.
	Processed *int32 `json:"processed,omitempty"`
	// Number of emails sent.
	Sent *int32 `json:"sent,omitempty"`
	// Number of emails we were able to successfully deliver at SMTP without encountering any error
	Delivered *int32 `json:"delivered,omitempty"`
	// Number of emails drop without attempting to deliver either because the email is invalid or email in in existing suppression list
	Dropped *int32 `json:"dropped,omitempty"`
	// Number of emails dropped by SMTP.
	SmtpDropped *int32 `json:"smtpDropped,omitempty"`
	// Number of emails where we got SMTP hard bounce error code by the recipient mail provider
	HardBounced *int32 `json:"hardBounced,omitempty"`
	// Number of emails where we got temporary soft bounce error by the recipent mail provider. Soft bounced emails are retried upto 5 times over 24 hour period before marking them as hardBounced.
	SoftBounced *int32 `json:"softBounced,omitempty"`
	// Number of emails opened by recipients
	Opened *int32 `json:"opened,omitempty"`
	// Number of email links clicked by recipients
	Clicked *int32 `json:"clicked,omitempty"`
	// Number of email recipients who unsubscribed from receiving further emails
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Number of email recipients who marked emails as spam
	Spam *int32 `json:"spam,omitempty"`
}

StatStat Statistics data for the date

func NewStatStat added in v1.0.2

func NewStatStat() *StatStat

NewStatStat instantiates a new StatStat 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 NewStatStatWithDefaults added in v1.0.2

func NewStatStatWithDefaults() *StatStat

NewStatStatWithDefaults instantiates a new StatStat 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 (*StatStat) GetClicked added in v1.0.2

func (o *StatStat) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*StatStat) GetClickedOk added in v1.0.2

func (o *StatStat) GetClickedOk() (*int32, bool)

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

func (*StatStat) GetDelivered added in v1.0.2

func (o *StatStat) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*StatStat) GetDeliveredOk added in v1.0.2

func (o *StatStat) GetDeliveredOk() (*int32, bool)

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

func (*StatStat) GetDropped added in v1.0.2

func (o *StatStat) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*StatStat) GetDroppedOk added in v1.0.2

func (o *StatStat) GetDroppedOk() (*int32, bool)

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

func (*StatStat) GetHardBounced added in v1.0.2

func (o *StatStat) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*StatStat) GetHardBouncedOk added in v1.0.2

func (o *StatStat) GetHardBouncedOk() (*int32, bool)

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

func (*StatStat) GetOpened added in v1.0.2

func (o *StatStat) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*StatStat) GetOpenedOk added in v1.0.2

func (o *StatStat) GetOpenedOk() (*int32, bool)

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

func (*StatStat) GetProcessed added in v1.0.2

func (o *StatStat) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*StatStat) GetProcessedOk added in v1.0.2

func (o *StatStat) GetProcessedOk() (*int32, bool)

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

func (*StatStat) GetSent added in v1.0.2

func (o *StatStat) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*StatStat) GetSentOk added in v1.0.2

func (o *StatStat) GetSentOk() (*int32, bool)

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

func (*StatStat) GetSmtpDropped added in v1.0.2

func (o *StatStat) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*StatStat) GetSmtpDroppedOk added in v1.0.2

func (o *StatStat) GetSmtpDroppedOk() (*int32, bool)

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

func (*StatStat) GetSoftBounced added in v1.0.2

func (o *StatStat) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*StatStat) GetSoftBouncedOk added in v1.0.2

func (o *StatStat) GetSoftBouncedOk() (*int32, bool)

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

func (*StatStat) GetSpam added in v1.0.2

func (o *StatStat) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*StatStat) GetSpamOk added in v1.0.2

func (o *StatStat) GetSpamOk() (*int32, bool)

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

func (*StatStat) GetUnsubscribed added in v1.0.2

func (o *StatStat) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*StatStat) GetUnsubscribedOk added in v1.0.2

func (o *StatStat) GetUnsubscribedOk() (*int32, bool)

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

func (*StatStat) HasClicked added in v1.0.2

func (o *StatStat) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*StatStat) HasDelivered added in v1.0.2

func (o *StatStat) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*StatStat) HasDropped added in v1.0.2

func (o *StatStat) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*StatStat) HasHardBounced added in v1.0.2

func (o *StatStat) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*StatStat) HasOpened added in v1.0.2

func (o *StatStat) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*StatStat) HasProcessed added in v1.0.2

func (o *StatStat) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*StatStat) HasSent added in v1.0.2

func (o *StatStat) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*StatStat) HasSmtpDropped added in v1.0.2

func (o *StatStat) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*StatStat) HasSoftBounced added in v1.0.2

func (o *StatStat) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*StatStat) HasSpam added in v1.0.2

func (o *StatStat) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*StatStat) HasUnsubscribed added in v1.0.2

func (o *StatStat) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (StatStat) MarshalJSON added in v1.0.2

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

func (*StatStat) SetClicked added in v1.0.2

func (o *StatStat) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*StatStat) SetDelivered added in v1.0.2

func (o *StatStat) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*StatStat) SetDropped added in v1.0.2

func (o *StatStat) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*StatStat) SetHardBounced added in v1.0.2

func (o *StatStat) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*StatStat) SetOpened added in v1.0.2

func (o *StatStat) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*StatStat) SetProcessed added in v1.0.2

func (o *StatStat) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*StatStat) SetSent added in v1.0.2

func (o *StatStat) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*StatStat) SetSmtpDropped added in v1.0.2

func (o *StatStat) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*StatStat) SetSoftBounced added in v1.0.2

func (o *StatStat) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*StatStat) SetSpam added in v1.0.2

func (o *StatStat) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*StatStat) SetUnsubscribed added in v1.0.2

func (o *StatStat) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (StatStat) ToMap added in v1.0.2

func (o StatStat) ToMap() (map[string]interface{}, error)

type StatStats

type StatStats struct {
	// Number of emails accepted by SendPost API.
	Processed *int32 `json:"processed,omitempty"`
	// Number of emails sent.
	Sent *int32 `json:"sent,omitempty"`
	// Number of emails we were able to successfully deliver at SMTP without encountering any error
	Delivered *int32 `json:"delivered,omitempty"`
	// Number of emails drop without attempting to deliver either because the email is invalid or email in in existing suppression list
	Dropped *int32 `json:"dropped,omitempty"`
	// Number of emails dropped by SMTP.
	SmtpDropped *int32 `json:"smtpDropped,omitempty"`
	// Number of emails where we got SMTP hard bounce error code by the recipient mail provider
	HardBounced *int32 `json:"hardBounced,omitempty"`
	// Number of emails where we got temporary soft bounce error by the recipent mail provider. Soft bounced emails are retried upto 5 times over 24 hour period before marking them as hardBounced.
	SoftBounced *int32 `json:"softBounced,omitempty"`
	// Number of emails opened by recipients
	Opened *int32 `json:"opened,omitempty"`
	// Number of email links clicked by recipients
	Clicked *int32 `json:"clicked,omitempty"`
	// Number of email recipients who unsubscribed from receiving further emails
	Unsubscribed *int32 `json:"unsubscribed,omitempty"`
	// Number of email recipients who marked emails as spam
	Spam *int32 `json:"spam,omitempty"`
}

StatStats struct for StatStats

func NewStatStats

func NewStatStats() *StatStats

NewStatStats instantiates a new StatStats 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 NewStatStatsWithDefaults

func NewStatStatsWithDefaults() *StatStats

NewStatStatsWithDefaults instantiates a new StatStats 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 (*StatStats) GetClicked

func (o *StatStats) GetClicked() int32

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*StatStats) GetClickedOk

func (o *StatStats) GetClickedOk() (*int32, bool)

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

func (*StatStats) GetDelivered

func (o *StatStats) GetDelivered() int32

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*StatStats) GetDeliveredOk

func (o *StatStats) GetDeliveredOk() (*int32, bool)

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

func (*StatStats) GetDropped

func (o *StatStats) GetDropped() int32

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*StatStats) GetDroppedOk

func (o *StatStats) GetDroppedOk() (*int32, bool)

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

func (*StatStats) GetHardBounced

func (o *StatStats) GetHardBounced() int32

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*StatStats) GetHardBouncedOk

func (o *StatStats) GetHardBouncedOk() (*int32, bool)

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

func (*StatStats) GetOpened

func (o *StatStats) GetOpened() int32

GetOpened returns the Opened field value if set, zero value otherwise.

func (*StatStats) GetOpenedOk

func (o *StatStats) GetOpenedOk() (*int32, bool)

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

func (*StatStats) GetProcessed

func (o *StatStats) GetProcessed() int32

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*StatStats) GetProcessedOk

func (o *StatStats) GetProcessedOk() (*int32, bool)

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

func (*StatStats) GetSent

func (o *StatStats) GetSent() int32

GetSent returns the Sent field value if set, zero value otherwise.

func (*StatStats) GetSentOk

func (o *StatStats) GetSentOk() (*int32, bool)

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

func (*StatStats) GetSmtpDropped

func (o *StatStats) GetSmtpDropped() int32

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*StatStats) GetSmtpDroppedOk

func (o *StatStats) GetSmtpDroppedOk() (*int32, bool)

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

func (*StatStats) GetSoftBounced

func (o *StatStats) GetSoftBounced() int32

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*StatStats) GetSoftBouncedOk

func (o *StatStats) GetSoftBouncedOk() (*int32, bool)

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

func (*StatStats) GetSpam

func (o *StatStats) GetSpam() int32

GetSpam returns the Spam field value if set, zero value otherwise.

func (*StatStats) GetSpamOk

func (o *StatStats) GetSpamOk() (*int32, bool)

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

func (*StatStats) GetUnsubscribed

func (o *StatStats) GetUnsubscribed() int32

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*StatStats) GetUnsubscribedOk

func (o *StatStats) GetUnsubscribedOk() (*int32, bool)

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

func (*StatStats) HasClicked

func (o *StatStats) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*StatStats) HasDelivered

func (o *StatStats) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*StatStats) HasDropped

func (o *StatStats) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*StatStats) HasHardBounced

func (o *StatStats) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*StatStats) HasOpened

func (o *StatStats) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*StatStats) HasProcessed

func (o *StatStats) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*StatStats) HasSent

func (o *StatStats) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*StatStats) HasSmtpDropped

func (o *StatStats) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*StatStats) HasSoftBounced

func (o *StatStats) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*StatStats) HasSpam

func (o *StatStats) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*StatStats) HasUnsubscribed

func (o *StatStats) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (StatStats) MarshalJSON

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

func (*StatStats) SetClicked

func (o *StatStats) SetClicked(v int32)

SetClicked gets a reference to the given int32 and assigns it to the Clicked field.

func (*StatStats) SetDelivered

func (o *StatStats) SetDelivered(v int32)

SetDelivered gets a reference to the given int32 and assigns it to the Delivered field.

func (*StatStats) SetDropped

func (o *StatStats) SetDropped(v int32)

SetDropped gets a reference to the given int32 and assigns it to the Dropped field.

func (*StatStats) SetHardBounced

func (o *StatStats) SetHardBounced(v int32)

SetHardBounced gets a reference to the given int32 and assigns it to the HardBounced field.

func (*StatStats) SetOpened

func (o *StatStats) SetOpened(v int32)

SetOpened gets a reference to the given int32 and assigns it to the Opened field.

func (*StatStats) SetProcessed

func (o *StatStats) SetProcessed(v int32)

SetProcessed gets a reference to the given int32 and assigns it to the Processed field.

func (*StatStats) SetSent

func (o *StatStats) SetSent(v int32)

SetSent gets a reference to the given int32 and assigns it to the Sent field.

func (*StatStats) SetSmtpDropped

func (o *StatStats) SetSmtpDropped(v int32)

SetSmtpDropped gets a reference to the given int32 and assigns it to the SmtpDropped field.

func (*StatStats) SetSoftBounced

func (o *StatStats) SetSoftBounced(v int32)

SetSoftBounced gets a reference to the given int32 and assigns it to the SoftBounced field.

func (*StatStats) SetSpam

func (o *StatStats) SetSpam(v int32)

SetSpam gets a reference to the given int32 and assigns it to the Spam field.

func (*StatStats) SetUnsubscribed

func (o *StatStats) SetUnsubscribed(v int32)

SetUnsubscribed gets a reference to the given int32 and assigns it to the Unsubscribed field.

func (StatStats) ToMap

func (o StatStats) ToMap() (map[string]interface{}, error)

type StatsAAPIService

type StatsAAPIService service

StatsAAPIService StatsAAPI service

func (*StatsAAPIService) GetAccountAggregateStats

func (a *StatsAAPIService) GetAccountAggregateStats(ctx context.Context) ApiGetAccountAggregateStatsRequest

GetAccountAggregateStats Get Account Aggregate Stats

Retrieve aggregated email statistics for all sub-accounts of a specific account for a given date range.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAccountAggregateStatsRequest

func (*StatsAAPIService) GetAccountAggregateStatsByGroup

func (a *StatsAAPIService) GetAccountAggregateStatsByGroup(ctx context.Context) ApiGetAccountAggregateStatsByGroupRequest

GetAccountAggregateStatsByGroup Get Account Group Aggregate Stats

Gets aggregated email stats for a specific group in all sub-accounts of a specific account for the given daterange. The maximum daterange for which these stats can be retrieved is 366 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAccountAggregateStatsByGroupRequest

func (*StatsAAPIService) GetAccountAggregateStatsByGroupExecute

func (a *StatsAAPIService) GetAccountAggregateStatsByGroupExecute(r ApiGetAccountAggregateStatsByGroupRequest) (*AggregateStat, *http.Response, error)

Execute executes the request

@return AggregateStat

func (*StatsAAPIService) GetAccountAggregateStatsExecute

func (a *StatsAAPIService) GetAccountAggregateStatsExecute(r ApiGetAccountAggregateStatsRequest) (*AggregateStats, *http.Response, error)

Execute executes the request

@return AggregateStats

func (*StatsAAPIService) GetAccountStatsByGroup

func (a *StatsAAPIService) GetAccountStatsByGroup(ctx context.Context) ApiGetAccountStatsByGroupRequest

GetAccountStatsByGroup List Account Group Stats

Gets a list of all email stats for all sub-accounts of a specific account by group for a given daterange. The maximum daterange for which these stats can be retrieved is 31 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAccountStatsByGroupRequest

func (*StatsAAPIService) GetAccountStatsByGroupExecute

func (a *StatsAAPIService) GetAccountStatsByGroupExecute(r ApiGetAccountStatsByGroupRequest) ([]Stat, *http.Response, error)

Execute executes the request

@return []Stat

func (*StatsAAPIService) GetAllAccountStats

func (a *StatsAAPIService) GetAllAccountStats(ctx context.Context) ApiGetAllAccountStatsRequest

GetAllAccountStats List Account Stats

Retrieve email statistics for all sub-accounts of a specific account for a given date range.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllAccountStatsRequest

func (*StatsAAPIService) GetAllAccountStatsExecute

func (a *StatsAAPIService) GetAllAccountStatsExecute(r ApiGetAllAccountStatsRequest) ([]AccountStats, *http.Response, error)

Execute executes the request

@return []AccountStats

type StatsAPIService

type StatsAPIService service

StatsAPIService StatsAPI service

func (*StatsAPIService) AccountSubaccountStatSubaccountIdAggregateGet

func (a *StatsAPIService) AccountSubaccountStatSubaccountIdAggregateGet(ctx context.Context, subaccountId int64) ApiAccountSubaccountStatSubaccountIdAggregateGetRequest

AccountSubaccountStatSubaccountIdAggregateGet Get Aggregate Stats

Retrieves aggregated email stats for a specific sub-account for a date range. **Note**: The maximum date range is 366 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the subaccount to retrieve
@return ApiAccountSubaccountStatSubaccountIdAggregateGetRequest

func (*StatsAPIService) AccountSubaccountStatSubaccountIdAggregateGetExecute

func (a *StatsAPIService) AccountSubaccountStatSubaccountIdAggregateGetExecute(r ApiAccountSubaccountStatSubaccountIdAggregateGetRequest) (*AggregateStat, *http.Response, error)

Execute executes the request

@return AggregateStat

func (*StatsAPIService) AccountSubaccountStatSubaccountIdGet

func (a *StatsAPIService) AccountSubaccountStatSubaccountIdGet(ctx context.Context, subaccountId int64) ApiAccountSubaccountStatSubaccountIdGetRequest

AccountSubaccountStatSubaccountIdGet List Stats

Retrieves a list of email stats for a specific sub-account within a given date range. Both `from` and `to` dates are inclusive. **Note**: The maximum date range is 31 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the subaccount to retrieve
@return ApiAccountSubaccountStatSubaccountIdGetRequest

func (*StatsAPIService) AccountSubaccountStatSubaccountIdGetExecute

func (a *StatsAPIService) AccountSubaccountStatSubaccountIdGetExecute(r ApiAccountSubaccountStatSubaccountIdGetRequest) ([]Stat, *http.Response, error)

Execute executes the request

@return []Stat

func (*StatsAPIService) GetAggregateStatsByGroup

func (a *StatsAPIService) GetAggregateStatsByGroup(ctx context.Context, subaccountId int64) ApiGetAggregateStatsByGroupRequest

GetAggregateStatsByGroup Get Group Aggregate Stats

Retrieves aggregated email stats for a specific group in a sub-account for the specified daterange. The maximum daterange for which these stats can be retrieved is 366 days. Ensure that the difference between the `from` and `to` dates does not exceed 366 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the subaccount to retrieve
@return ApiGetAggregateStatsByGroupRequest

func (*StatsAPIService) GetAggregateStatsByGroupExecute

func (a *StatsAPIService) GetAggregateStatsByGroupExecute(r ApiGetAggregateStatsByGroupRequest) (*AggregateStat, *http.Response, error)

Execute executes the request

@return AggregateStat

type SubAccount

type SubAccount struct {
	// Unique ID for the sub-account.
	Id *int32 `json:"id,omitempty"`
	// API key for the sub-account.
	ApiKey *string `json:"apiKey,omitempty"`
	// Name of the sub-account.
	Name *string `json:"name,omitempty"`
	// Labels associated with the sub-account
	Labels []Label `json:"labels,omitempty"`
	// SMTP Auths associated with the sub-account
	SmtpAuths []SMTPAuth `json:"smtpAuths,omitempty"`
	// Type of the sub-account
	Type *int32 `json:"type,omitempty"`
	// Indicates whether the sub-account is a Plus sub-account
	IsPlus *bool `json:"isPlus,omitempty"`
	// UNIX epoch nano timestamp when the sub-account was created.
	Created *int64 `json:"created,omitempty"`
	// Member who created the sub-account
	CreatedBy map[string]interface{} `json:"created_by,omitempty"`
	// Member who updated the sub-account
	UpdatedBy map[string]interface{} `json:"updated_by,omitempty"`
	// Indicates whether the sub-account is blocked
	Blocked *bool `json:"blocked,omitempty"`
	// UNIX epoch nano timestamp when the sub-account was blocked (0 if not blocked)
	BlockedAt *int32 `json:"blocked_at,omitempty"`
	// Reason for blocking the sub-account
	BlockReason *string `json:"block_reason,omitempty"`
	// Indicates whether the sub-account is exempt from hard bounce tracking
	HbExempt *bool `json:"hb_exempt,omitempty"`
	// Indicates whether weekly reports are generated for this sub-account
	GenerateWeeklyReport *bool `json:"generate_weekly_report,omitempty"`
	// Handlers associated with the sub-account
	Handlers []string `json:"handlers,omitempty"`
}

SubAccount struct for SubAccount

func NewSubAccount

func NewSubAccount() *SubAccount

NewSubAccount instantiates a new SubAccount 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 NewSubAccountWithDefaults

func NewSubAccountWithDefaults() *SubAccount

NewSubAccountWithDefaults instantiates a new SubAccount 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 (*SubAccount) GetApiKey

func (o *SubAccount) GetApiKey() string

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*SubAccount) GetApiKeyOk

func (o *SubAccount) GetApiKeyOk() (*string, bool)

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

func (*SubAccount) GetBlockReason

func (o *SubAccount) GetBlockReason() string

GetBlockReason returns the BlockReason field value if set, zero value otherwise.

func (*SubAccount) GetBlockReasonOk

func (o *SubAccount) GetBlockReasonOk() (*string, bool)

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

func (*SubAccount) GetBlocked

func (o *SubAccount) GetBlocked() bool

GetBlocked returns the Blocked field value if set, zero value otherwise.

func (*SubAccount) GetBlockedAt

func (o *SubAccount) GetBlockedAt() int32

GetBlockedAt returns the BlockedAt field value if set, zero value otherwise.

func (*SubAccount) GetBlockedAtOk

func (o *SubAccount) GetBlockedAtOk() (*int32, bool)

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

func (*SubAccount) GetBlockedOk

func (o *SubAccount) GetBlockedOk() (*bool, bool)

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

func (*SubAccount) GetCreated

func (o *SubAccount) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*SubAccount) GetCreatedBy

func (o *SubAccount) GetCreatedBy() map[string]interface{}

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*SubAccount) GetCreatedByOk

func (o *SubAccount) GetCreatedByOk() (map[string]interface{}, bool)

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

func (*SubAccount) GetCreatedOk

func (o *SubAccount) GetCreatedOk() (*int64, bool)

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

func (*SubAccount) GetGenerateWeeklyReport

func (o *SubAccount) GetGenerateWeeklyReport() bool

GetGenerateWeeklyReport returns the GenerateWeeklyReport field value if set, zero value otherwise.

func (*SubAccount) GetGenerateWeeklyReportOk

func (o *SubAccount) GetGenerateWeeklyReportOk() (*bool, bool)

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

func (*SubAccount) GetHandlers

func (o *SubAccount) GetHandlers() []string

GetHandlers returns the Handlers field value if set, zero value otherwise.

func (*SubAccount) GetHandlersOk

func (o *SubAccount) GetHandlersOk() ([]string, bool)

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

func (*SubAccount) GetHbExempt

func (o *SubAccount) GetHbExempt() bool

GetHbExempt returns the HbExempt field value if set, zero value otherwise.

func (*SubAccount) GetHbExemptOk

func (o *SubAccount) GetHbExemptOk() (*bool, bool)

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

func (*SubAccount) GetId

func (o *SubAccount) GetId() int32

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

func (*SubAccount) GetIdOk

func (o *SubAccount) 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 (*SubAccount) GetIsPlus

func (o *SubAccount) GetIsPlus() bool

GetIsPlus returns the IsPlus field value if set, zero value otherwise.

func (*SubAccount) GetIsPlusOk

func (o *SubAccount) GetIsPlusOk() (*bool, bool)

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

func (*SubAccount) GetLabels

func (o *SubAccount) GetLabels() []Label

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SubAccount) GetLabelsOk

func (o *SubAccount) GetLabelsOk() ([]Label, bool)

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

func (*SubAccount) GetName

func (o *SubAccount) GetName() string

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

func (*SubAccount) GetNameOk

func (o *SubAccount) 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 (*SubAccount) GetSmtpAuths

func (o *SubAccount) GetSmtpAuths() []SMTPAuth

GetSmtpAuths returns the SmtpAuths field value if set, zero value otherwise.

func (*SubAccount) GetSmtpAuthsOk

func (o *SubAccount) GetSmtpAuthsOk() ([]SMTPAuth, bool)

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

func (*SubAccount) GetType

func (o *SubAccount) GetType() int32

GetType returns the Type field value if set, zero value otherwise.

func (*SubAccount) GetTypeOk

func (o *SubAccount) GetTypeOk() (*int32, 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 (*SubAccount) GetUpdatedBy

func (o *SubAccount) GetUpdatedBy() map[string]interface{}

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*SubAccount) GetUpdatedByOk

func (o *SubAccount) GetUpdatedByOk() (map[string]interface{}, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubAccount) HasApiKey

func (o *SubAccount) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*SubAccount) HasBlockReason

func (o *SubAccount) HasBlockReason() bool

HasBlockReason returns a boolean if a field has been set.

func (*SubAccount) HasBlocked

func (o *SubAccount) HasBlocked() bool

HasBlocked returns a boolean if a field has been set.

func (*SubAccount) HasBlockedAt

func (o *SubAccount) HasBlockedAt() bool

HasBlockedAt returns a boolean if a field has been set.

func (*SubAccount) HasCreated

func (o *SubAccount) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*SubAccount) HasCreatedBy

func (o *SubAccount) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*SubAccount) HasGenerateWeeklyReport

func (o *SubAccount) HasGenerateWeeklyReport() bool

HasGenerateWeeklyReport returns a boolean if a field has been set.

func (*SubAccount) HasHandlers

func (o *SubAccount) HasHandlers() bool

HasHandlers returns a boolean if a field has been set.

func (*SubAccount) HasHbExempt

func (o *SubAccount) HasHbExempt() bool

HasHbExempt returns a boolean if a field has been set.

func (*SubAccount) HasId

func (o *SubAccount) HasId() bool

HasId returns a boolean if a field has been set.

func (*SubAccount) HasIsPlus

func (o *SubAccount) HasIsPlus() bool

HasIsPlus returns a boolean if a field has been set.

func (*SubAccount) HasLabels

func (o *SubAccount) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SubAccount) HasName

func (o *SubAccount) HasName() bool

HasName returns a boolean if a field has been set.

func (*SubAccount) HasSmtpAuths

func (o *SubAccount) HasSmtpAuths() bool

HasSmtpAuths returns a boolean if a field has been set.

func (*SubAccount) HasType

func (o *SubAccount) HasType() bool

HasType returns a boolean if a field has been set.

func (*SubAccount) HasUpdatedBy

func (o *SubAccount) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (SubAccount) MarshalJSON

func (o SubAccount) MarshalJSON() ([]byte, error)

func (*SubAccount) SetApiKey

func (o *SubAccount) SetApiKey(v string)

SetApiKey gets a reference to the given string and assigns it to the ApiKey field.

func (*SubAccount) SetBlockReason

func (o *SubAccount) SetBlockReason(v string)

SetBlockReason gets a reference to the given string and assigns it to the BlockReason field.

func (*SubAccount) SetBlocked

func (o *SubAccount) SetBlocked(v bool)

SetBlocked gets a reference to the given bool and assigns it to the Blocked field.

func (*SubAccount) SetBlockedAt

func (o *SubAccount) SetBlockedAt(v int32)

SetBlockedAt gets a reference to the given int32 and assigns it to the BlockedAt field.

func (*SubAccount) SetCreated

func (o *SubAccount) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*SubAccount) SetCreatedBy

func (o *SubAccount) SetCreatedBy(v map[string]interface{})

SetCreatedBy gets a reference to the given map[string]interface{} and assigns it to the CreatedBy field.

func (*SubAccount) SetGenerateWeeklyReport

func (o *SubAccount) SetGenerateWeeklyReport(v bool)

SetGenerateWeeklyReport gets a reference to the given bool and assigns it to the GenerateWeeklyReport field.

func (*SubAccount) SetHandlers

func (o *SubAccount) SetHandlers(v []string)

SetHandlers gets a reference to the given []string and assigns it to the Handlers field.

func (*SubAccount) SetHbExempt

func (o *SubAccount) SetHbExempt(v bool)

SetHbExempt gets a reference to the given bool and assigns it to the HbExempt field.

func (*SubAccount) SetId

func (o *SubAccount) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*SubAccount) SetIsPlus

func (o *SubAccount) SetIsPlus(v bool)

SetIsPlus gets a reference to the given bool and assigns it to the IsPlus field.

func (*SubAccount) SetLabels

func (o *SubAccount) SetLabels(v []Label)

SetLabels gets a reference to the given []Label and assigns it to the Labels field.

func (*SubAccount) SetName

func (o *SubAccount) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SubAccount) SetSmtpAuths

func (o *SubAccount) SetSmtpAuths(v []SMTPAuth)

SetSmtpAuths gets a reference to the given []SMTPAuth and assigns it to the SmtpAuths field.

func (*SubAccount) SetType

func (o *SubAccount) SetType(v int32)

SetType gets a reference to the given int32 and assigns it to the Type field.

func (*SubAccount) SetUpdatedBy

func (o *SubAccount) SetUpdatedBy(v map[string]interface{})

SetUpdatedBy gets a reference to the given map[string]interface{} and assigns it to the UpdatedBy field.

func (SubAccount) ToMap

func (o SubAccount) ToMap() (map[string]interface{}, error)

type SubAccountAPIService

type SubAccountAPIService service

SubAccountAPIService SubAccountAPI service

func (*SubAccountAPIService) CreateSubAccount

CreateSubAccount Create Sub-Account

Creates a new sub-account under the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateSubAccountRequest

func (*SubAccountAPIService) CreateSubAccountExecute

func (a *SubAccountAPIService) CreateSubAccountExecute(r ApiCreateSubAccountRequest) (*SubAccount, *http.Response, error)

Execute executes the request

@return SubAccount

func (*SubAccountAPIService) DeleteSubAccount

func (a *SubAccountAPIService) DeleteSubAccount(ctx context.Context, subaccountId int32) ApiDeleteSubAccountRequest

DeleteSubAccount Delete Sub-Account

Deletes a specific sub-account by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the sub-account to delete.
@return ApiDeleteSubAccountRequest

func (*SubAccountAPIService) DeleteSubAccountExecute

Execute executes the request

@return DeleteSubAccountResponse

func (*SubAccountAPIService) GetAllSubAccounts

GetAllSubAccounts List Sub-Accounts

Retrieves a list of all sub-accounts associated with a specific account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllSubAccountsRequest

func (*SubAccountAPIService) GetAllSubAccountsExecute

func (a *SubAccountAPIService) GetAllSubAccountsExecute(r ApiGetAllSubAccountsRequest) ([]SubAccount, *http.Response, error)

Execute executes the request

@return []SubAccount

func (*SubAccountAPIService) GetSubAccount

func (a *SubAccountAPIService) GetSubAccount(ctx context.Context, subaccountId int32) ApiGetSubAccountRequest

GetSubAccount Get Sub-Account

Retrieves a specific sub-account by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the sub-account to retrieve.
@return ApiGetSubAccountRequest

func (*SubAccountAPIService) GetSubAccountExecute

func (a *SubAccountAPIService) GetSubAccountExecute(r ApiGetSubAccountRequest) (*SubAccount, *http.Response, error)

Execute executes the request

@return SubAccount

func (*SubAccountAPIService) UpdateSubAccount

func (a *SubAccountAPIService) UpdateSubAccount(ctx context.Context, subaccountId int32) ApiUpdateSubAccountRequest

UpdateSubAccount Update Sub-Account

Updates the details of an existing sub-account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subaccountId The ID of the sub-account to update.
@return ApiUpdateSubAccountRequest

func (*SubAccountAPIService) UpdateSubAccountExecute

func (a *SubAccountAPIService) UpdateSubAccountExecute(r ApiUpdateSubAccountRequest) (*SubAccount, *http.Response, error)

Execute executes the request

@return SubAccount

type Suppression

type Suppression struct {
	// The ID of the suppression
	Id *int32 `json:"id,omitempty"`
	// The reason for the suppression (0 = manual, 1 = unsubscribe, 2 = hard bounce, 3 = spam complaint)
	Reason *int32 `json:"reason,omitempty"`
	// SMTP error code in case of hard bounce suppression
	SmtpError *string `json:"smtp_error,omitempty"`
	// The email address for the suppression
	Email *string `json:"email,omitempty"`
	// UNIX epoch nano timestamp when the suppression was created
	Created *int64 `json:"created,omitempty"`
}

Suppression struct for Suppression

func NewSuppression

func NewSuppression() *Suppression

NewSuppression instantiates a new Suppression 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 NewSuppressionWithDefaults

func NewSuppressionWithDefaults() *Suppression

NewSuppressionWithDefaults instantiates a new Suppression 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 (*Suppression) GetCreated

func (o *Suppression) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*Suppression) GetCreatedOk

func (o *Suppression) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Suppression) GetEmail

func (o *Suppression) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Suppression) GetEmailOk

func (o *Suppression) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Suppression) GetId

func (o *Suppression) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Suppression) GetIdOk

func (o *Suppression) 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 (*Suppression) GetReason

func (o *Suppression) GetReason() int32

GetReason returns the Reason field value if set, zero value otherwise.

func (*Suppression) GetReasonOk

func (o *Suppression) GetReasonOk() (*int32, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Suppression) GetSmtpError

func (o *Suppression) GetSmtpError() string

GetSmtpError returns the SmtpError field value if set, zero value otherwise.

func (*Suppression) GetSmtpErrorOk

func (o *Suppression) GetSmtpErrorOk() (*string, bool)

GetSmtpErrorOk returns a tuple with the SmtpError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Suppression) HasCreated

func (o *Suppression) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Suppression) HasEmail

func (o *Suppression) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Suppression) HasId

func (o *Suppression) HasId() bool

HasId returns a boolean if a field has been set.

func (*Suppression) HasReason

func (o *Suppression) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*Suppression) HasSmtpError

func (o *Suppression) HasSmtpError() bool

HasSmtpError returns a boolean if a field has been set.

func (Suppression) MarshalJSON

func (o Suppression) MarshalJSON() ([]byte, error)

func (*Suppression) SetCreated

func (o *Suppression) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*Suppression) SetEmail

func (o *Suppression) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Suppression) SetId

func (o *Suppression) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Suppression) SetReason

func (o *Suppression) SetReason(v int32)

SetReason gets a reference to the given int32 and assigns it to the Reason field.

func (*Suppression) SetSmtpError

func (o *Suppression) SetSmtpError(v string)

SetSmtpError gets a reference to the given string and assigns it to the SmtpError field.

func (Suppression) ToMap

func (o Suppression) ToMap() (map[string]interface{}, error)

type SuppressionAPIService

type SuppressionAPIService service

SuppressionAPIService SuppressionAPI service

func (*SuppressionAPIService) CreateSuppression

CreateSuppression Create Suppressions

Creates new suppressions by posting to the suppression resource. You can specify different types of suppressions including `hardBounce`, `manual`, `unsubscribe`, and `spamComplaint`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateSuppressionRequest

func (*SuppressionAPIService) CreateSuppressionExecute

func (a *SuppressionAPIService) CreateSuppressionExecute(r ApiCreateSuppressionRequest) ([]Suppression, *http.Response, error)

Execute executes the request

@return []Suppression

func (*SuppressionAPIService) DeleteSuppression

DeleteSuppression Delete Suppressions

Deletes one or more suppressions for a given sub-account. The request can contain a list of emails to delete specific suppressions or delete a single suppression.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteSuppressionRequest

func (*SuppressionAPIService) DeleteSuppressionExecute

Execute executes the request

@return []DeleteSuppression200ResponseInner

func (*SuppressionAPIService) GetSuppressionList

GetSuppressionList List Suppressions

Retrieves a list of suppressions associated with a specific sub-account within a given date range. The maximum difference between `from` and `to` dates should not exceed 60 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetSuppressionListRequest

func (*SuppressionAPIService) GetSuppressionListExecute

func (a *SuppressionAPIService) GetSuppressionListExecute(r ApiGetSuppressionListRequest) ([]Suppression, *http.Response, error)

Execute executes the request

@return []Suppression

type ThirdPartySendingProvider

type ThirdPartySendingProvider struct {
	Id         *int32  `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	Type       *int32  `json:"type,omitempty"`
	Domain     *string `json:"domain,omitempty"`
	Endpoint   *string `json:"endpoint,omitempty"`
	Key        *string `json:"key,omitempty"`
	Secret     *string `json:"secret,omitempty"`
	Port       *int32  `json:"port,omitempty"`
	OauthToken *string `json:"oauthToken,omitempty"`
	RetryTime  *int32  `json:"retryTime,omitempty"`
	Created    *int64  `json:"created,omitempty"`
}

ThirdPartySendingProvider struct for ThirdPartySendingProvider

func NewThirdPartySendingProvider

func NewThirdPartySendingProvider() *ThirdPartySendingProvider

NewThirdPartySendingProvider instantiates a new ThirdPartySendingProvider 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 NewThirdPartySendingProviderWithDefaults

func NewThirdPartySendingProviderWithDefaults() *ThirdPartySendingProvider

NewThirdPartySendingProviderWithDefaults instantiates a new ThirdPartySendingProvider 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 (*ThirdPartySendingProvider) GetCreated

func (o *ThirdPartySendingProvider) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetCreatedOk

func (o *ThirdPartySendingProvider) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetDomain

func (o *ThirdPartySendingProvider) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetDomainOk

func (o *ThirdPartySendingProvider) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetEndpoint

func (o *ThirdPartySendingProvider) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetEndpointOk

func (o *ThirdPartySendingProvider) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetId

func (o *ThirdPartySendingProvider) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetIdOk

func (o *ThirdPartySendingProvider) 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 (*ThirdPartySendingProvider) GetKey

func (o *ThirdPartySendingProvider) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetKeyOk

func (o *ThirdPartySendingProvider) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetName

func (o *ThirdPartySendingProvider) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetNameOk

func (o *ThirdPartySendingProvider) 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 (*ThirdPartySendingProvider) GetOauthToken

func (o *ThirdPartySendingProvider) GetOauthToken() string

GetOauthToken returns the OauthToken field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetOauthTokenOk

func (o *ThirdPartySendingProvider) GetOauthTokenOk() (*string, bool)

GetOauthTokenOk returns a tuple with the OauthToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetPort

func (o *ThirdPartySendingProvider) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetPortOk

func (o *ThirdPartySendingProvider) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetRetryTime

func (o *ThirdPartySendingProvider) GetRetryTime() int32

GetRetryTime returns the RetryTime field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetRetryTimeOk

func (o *ThirdPartySendingProvider) GetRetryTimeOk() (*int32, bool)

GetRetryTimeOk returns a tuple with the RetryTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetSecret

func (o *ThirdPartySendingProvider) GetSecret() string

GetSecret returns the Secret field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetSecretOk

func (o *ThirdPartySendingProvider) GetSecretOk() (*string, bool)

GetSecretOk returns a tuple with the Secret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ThirdPartySendingProvider) GetType

func (o *ThirdPartySendingProvider) GetType() int32

GetType returns the Type field value if set, zero value otherwise.

func (*ThirdPartySendingProvider) GetTypeOk

func (o *ThirdPartySendingProvider) GetTypeOk() (*int32, 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 (*ThirdPartySendingProvider) HasCreated

func (o *ThirdPartySendingProvider) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasDomain

func (o *ThirdPartySendingProvider) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasEndpoint

func (o *ThirdPartySendingProvider) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasId

func (o *ThirdPartySendingProvider) HasId() bool

HasId returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasKey

func (o *ThirdPartySendingProvider) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasName

func (o *ThirdPartySendingProvider) HasName() bool

HasName returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasOauthToken

func (o *ThirdPartySendingProvider) HasOauthToken() bool

HasOauthToken returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasPort

func (o *ThirdPartySendingProvider) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasRetryTime

func (o *ThirdPartySendingProvider) HasRetryTime() bool

HasRetryTime returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasSecret

func (o *ThirdPartySendingProvider) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*ThirdPartySendingProvider) HasType

func (o *ThirdPartySendingProvider) HasType() bool

HasType returns a boolean if a field has been set.

func (ThirdPartySendingProvider) MarshalJSON

func (o ThirdPartySendingProvider) MarshalJSON() ([]byte, error)

func (*ThirdPartySendingProvider) SetCreated

func (o *ThirdPartySendingProvider) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*ThirdPartySendingProvider) SetDomain

func (o *ThirdPartySendingProvider) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*ThirdPartySendingProvider) SetEndpoint

func (o *ThirdPartySendingProvider) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*ThirdPartySendingProvider) SetId

func (o *ThirdPartySendingProvider) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*ThirdPartySendingProvider) SetKey

func (o *ThirdPartySendingProvider) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ThirdPartySendingProvider) SetName

func (o *ThirdPartySendingProvider) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ThirdPartySendingProvider) SetOauthToken

func (o *ThirdPartySendingProvider) SetOauthToken(v string)

SetOauthToken gets a reference to the given string and assigns it to the OauthToken field.

func (*ThirdPartySendingProvider) SetPort

func (o *ThirdPartySendingProvider) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*ThirdPartySendingProvider) SetRetryTime

func (o *ThirdPartySendingProvider) SetRetryTime(v int32)

SetRetryTime gets a reference to the given int32 and assigns it to the RetryTime field.

func (*ThirdPartySendingProvider) SetSecret

func (o *ThirdPartySendingProvider) SetSecret(v string)

SetSecret gets a reference to the given string and assigns it to the Secret field.

func (*ThirdPartySendingProvider) SetType

func (o *ThirdPartySendingProvider) SetType(v int32)

SetType gets a reference to the given int32 and assigns it to the Type field.

func (ThirdPartySendingProvider) ToMap

func (o ThirdPartySendingProvider) ToMap() (map[string]interface{}, error)

type UpdateSubAccount

type UpdateSubAccount struct {
	// New name for the sub-account.
	Name *string `json:"name,omitempty"`
}

UpdateSubAccount struct for UpdateSubAccount

func NewUpdateSubAccount

func NewUpdateSubAccount() *UpdateSubAccount

NewUpdateSubAccount instantiates a new UpdateSubAccount 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 NewUpdateSubAccountWithDefaults

func NewUpdateSubAccountWithDefaults() *UpdateSubAccount

NewUpdateSubAccountWithDefaults instantiates a new UpdateSubAccount 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 (*UpdateSubAccount) GetName

func (o *UpdateSubAccount) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateSubAccount) GetNameOk

func (o *UpdateSubAccount) 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 (*UpdateSubAccount) HasName

func (o *UpdateSubAccount) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateSubAccount) MarshalJSON

func (o UpdateSubAccount) MarshalJSON() ([]byte, error)

func (*UpdateSubAccount) SetName

func (o *UpdateSubAccount) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UpdateSubAccount) ToMap

func (o UpdateSubAccount) ToMap() (map[string]interface{}, error)

type UpdateWebhook

type UpdateWebhook struct {
	// Is the webhook active or in a paused state?
	Enabled *bool `json:"enabled,omitempty"`
	// URL endpoint to which webhook calls are sent.
	Url *string `json:"url,omitempty"`
	// Trigger webhook on email message being processed.
	Processed *bool `json:"processed,omitempty"`
	// Trigger webhook on email message being delivered.
	Delivered *bool `json:"delivered,omitempty"`
	// Trigger webhook on email message being dropped.
	Dropped *bool `json:"dropped,omitempty"`
	// Trigger webhook on email message being soft bounced.
	SoftBounced *bool `json:"softBounced,omitempty"`
	// Trigger webhook on email message being hard bounced.
	HardBounced *bool `json:"hardBounced,omitempty"`
	// Trigger webhook on email message being opened.
	Opened *bool `json:"opened,omitempty"`
	// Trigger webhook on email message link being clicked.
	Clicked *bool `json:"clicked,omitempty"`
	// Trigger webhook on email message being unsubscribed.
	Unsubscribed *bool `json:"unsubscribed,omitempty"`
	// Trigger webhook on email message being marked as spam.
	Spam *bool `json:"spam,omitempty"`
	// Trigger webhook on email message being sent.
	Sent *bool `json:"sent,omitempty"`
	// Trigger webhook on email message being dropped by SMTP.
	SmtpDropped *bool `json:"smtpDropped,omitempty"`
	// Trigger webhook on unique email opens.
	UniqueOpen *bool `json:"uniqueOpen,omitempty"`
	// Trigger webhook on unique email clicks.
	UniqueClick *bool `json:"uniqueClick,omitempty"`
}

UpdateWebhook struct for UpdateWebhook

func NewUpdateWebhook

func NewUpdateWebhook() *UpdateWebhook

NewUpdateWebhook instantiates a new UpdateWebhook 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 NewUpdateWebhookWithDefaults

func NewUpdateWebhookWithDefaults() *UpdateWebhook

NewUpdateWebhookWithDefaults instantiates a new UpdateWebhook 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 (*UpdateWebhook) GetClicked

func (o *UpdateWebhook) GetClicked() bool

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*UpdateWebhook) GetClickedOk

func (o *UpdateWebhook) GetClickedOk() (*bool, bool)

GetClickedOk returns a tuple with the Clicked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetDelivered

func (o *UpdateWebhook) GetDelivered() bool

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*UpdateWebhook) GetDeliveredOk

func (o *UpdateWebhook) GetDeliveredOk() (*bool, bool)

GetDeliveredOk returns a tuple with the Delivered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetDropped

func (o *UpdateWebhook) GetDropped() bool

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*UpdateWebhook) GetDroppedOk

func (o *UpdateWebhook) GetDroppedOk() (*bool, bool)

GetDroppedOk returns a tuple with the Dropped field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetEnabled

func (o *UpdateWebhook) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UpdateWebhook) GetEnabledOk

func (o *UpdateWebhook) 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 (*UpdateWebhook) GetHardBounced

func (o *UpdateWebhook) GetHardBounced() bool

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*UpdateWebhook) GetHardBouncedOk

func (o *UpdateWebhook) GetHardBouncedOk() (*bool, bool)

GetHardBouncedOk returns a tuple with the HardBounced field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetOpened

func (o *UpdateWebhook) GetOpened() bool

GetOpened returns the Opened field value if set, zero value otherwise.

func (*UpdateWebhook) GetOpenedOk

func (o *UpdateWebhook) GetOpenedOk() (*bool, bool)

GetOpenedOk returns a tuple with the Opened field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetProcessed

func (o *UpdateWebhook) GetProcessed() bool

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*UpdateWebhook) GetProcessedOk

func (o *UpdateWebhook) GetProcessedOk() (*bool, bool)

GetProcessedOk returns a tuple with the Processed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetSent

func (o *UpdateWebhook) GetSent() bool

GetSent returns the Sent field value if set, zero value otherwise.

func (*UpdateWebhook) GetSentOk

func (o *UpdateWebhook) GetSentOk() (*bool, bool)

GetSentOk returns a tuple with the Sent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetSmtpDropped

func (o *UpdateWebhook) GetSmtpDropped() bool

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*UpdateWebhook) GetSmtpDroppedOk

func (o *UpdateWebhook) GetSmtpDroppedOk() (*bool, bool)

GetSmtpDroppedOk returns a tuple with the SmtpDropped field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetSoftBounced

func (o *UpdateWebhook) GetSoftBounced() bool

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*UpdateWebhook) GetSoftBouncedOk

func (o *UpdateWebhook) GetSoftBouncedOk() (*bool, bool)

GetSoftBouncedOk returns a tuple with the SoftBounced field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetSpam

func (o *UpdateWebhook) GetSpam() bool

GetSpam returns the Spam field value if set, zero value otherwise.

func (*UpdateWebhook) GetSpamOk

func (o *UpdateWebhook) GetSpamOk() (*bool, bool)

GetSpamOk returns a tuple with the Spam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetUniqueClick

func (o *UpdateWebhook) GetUniqueClick() bool

GetUniqueClick returns the UniqueClick field value if set, zero value otherwise.

func (*UpdateWebhook) GetUniqueClickOk

func (o *UpdateWebhook) GetUniqueClickOk() (*bool, bool)

GetUniqueClickOk returns a tuple with the UniqueClick field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetUniqueOpen

func (o *UpdateWebhook) GetUniqueOpen() bool

GetUniqueOpen returns the UniqueOpen field value if set, zero value otherwise.

func (*UpdateWebhook) GetUniqueOpenOk

func (o *UpdateWebhook) GetUniqueOpenOk() (*bool, bool)

GetUniqueOpenOk returns a tuple with the UniqueOpen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetUnsubscribed

func (o *UpdateWebhook) GetUnsubscribed() bool

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*UpdateWebhook) GetUnsubscribedOk

func (o *UpdateWebhook) GetUnsubscribedOk() (*bool, bool)

GetUnsubscribedOk returns a tuple with the Unsubscribed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) GetUrl

func (o *UpdateWebhook) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*UpdateWebhook) GetUrlOk

func (o *UpdateWebhook) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateWebhook) HasClicked

func (o *UpdateWebhook) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*UpdateWebhook) HasDelivered

func (o *UpdateWebhook) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*UpdateWebhook) HasDropped

func (o *UpdateWebhook) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*UpdateWebhook) HasEnabled

func (o *UpdateWebhook) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateWebhook) HasHardBounced

func (o *UpdateWebhook) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*UpdateWebhook) HasOpened

func (o *UpdateWebhook) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*UpdateWebhook) HasProcessed

func (o *UpdateWebhook) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*UpdateWebhook) HasSent

func (o *UpdateWebhook) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*UpdateWebhook) HasSmtpDropped

func (o *UpdateWebhook) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*UpdateWebhook) HasSoftBounced

func (o *UpdateWebhook) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*UpdateWebhook) HasSpam

func (o *UpdateWebhook) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*UpdateWebhook) HasUniqueClick

func (o *UpdateWebhook) HasUniqueClick() bool

HasUniqueClick returns a boolean if a field has been set.

func (*UpdateWebhook) HasUniqueOpen

func (o *UpdateWebhook) HasUniqueOpen() bool

HasUniqueOpen returns a boolean if a field has been set.

func (*UpdateWebhook) HasUnsubscribed

func (o *UpdateWebhook) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (*UpdateWebhook) HasUrl

func (o *UpdateWebhook) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (UpdateWebhook) MarshalJSON

func (o UpdateWebhook) MarshalJSON() ([]byte, error)

func (*UpdateWebhook) SetClicked

func (o *UpdateWebhook) SetClicked(v bool)

SetClicked gets a reference to the given bool and assigns it to the Clicked field.

func (*UpdateWebhook) SetDelivered

func (o *UpdateWebhook) SetDelivered(v bool)

SetDelivered gets a reference to the given bool and assigns it to the Delivered field.

func (*UpdateWebhook) SetDropped

func (o *UpdateWebhook) SetDropped(v bool)

SetDropped gets a reference to the given bool and assigns it to the Dropped field.

func (*UpdateWebhook) SetEnabled

func (o *UpdateWebhook) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UpdateWebhook) SetHardBounced

func (o *UpdateWebhook) SetHardBounced(v bool)

SetHardBounced gets a reference to the given bool and assigns it to the HardBounced field.

func (*UpdateWebhook) SetOpened

func (o *UpdateWebhook) SetOpened(v bool)

SetOpened gets a reference to the given bool and assigns it to the Opened field.

func (*UpdateWebhook) SetProcessed

func (o *UpdateWebhook) SetProcessed(v bool)

SetProcessed gets a reference to the given bool and assigns it to the Processed field.

func (*UpdateWebhook) SetSent

func (o *UpdateWebhook) SetSent(v bool)

SetSent gets a reference to the given bool and assigns it to the Sent field.

func (*UpdateWebhook) SetSmtpDropped

func (o *UpdateWebhook) SetSmtpDropped(v bool)

SetSmtpDropped gets a reference to the given bool and assigns it to the SmtpDropped field.

func (*UpdateWebhook) SetSoftBounced

func (o *UpdateWebhook) SetSoftBounced(v bool)

SetSoftBounced gets a reference to the given bool and assigns it to the SoftBounced field.

func (*UpdateWebhook) SetSpam

func (o *UpdateWebhook) SetSpam(v bool)

SetSpam gets a reference to the given bool and assigns it to the Spam field.

func (*UpdateWebhook) SetUniqueClick

func (o *UpdateWebhook) SetUniqueClick(v bool)

SetUniqueClick gets a reference to the given bool and assigns it to the UniqueClick field.

func (*UpdateWebhook) SetUniqueOpen

func (o *UpdateWebhook) SetUniqueOpen(v bool)

SetUniqueOpen gets a reference to the given bool and assigns it to the UniqueOpen field.

func (*UpdateWebhook) SetUnsubscribed

func (o *UpdateWebhook) SetUnsubscribed(v bool)

SetUnsubscribed gets a reference to the given bool and assigns it to the Unsubscribed field.

func (*UpdateWebhook) SetUrl

func (o *UpdateWebhook) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (UpdateWebhook) ToMap

func (o UpdateWebhook) ToMap() (map[string]interface{}, error)

type UserAgent

type UserAgent struct {
	Family *string `json:"Family,omitempty"`
	Major  *string `json:"Major,omitempty"`
	Minor  *string `json:"Minor,omitempty"`
	Patch  *string `json:"Patch,omitempty"`
}

UserAgent struct for UserAgent

func NewUserAgent

func NewUserAgent() *UserAgent

NewUserAgent instantiates a new UserAgent 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 NewUserAgentWithDefaults

func NewUserAgentWithDefaults() *UserAgent

NewUserAgentWithDefaults instantiates a new UserAgent 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 (*UserAgent) GetFamily

func (o *UserAgent) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*UserAgent) GetFamilyOk

func (o *UserAgent) GetFamilyOk() (*string, bool)

GetFamilyOk returns a tuple with the Family field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgent) GetMajor

func (o *UserAgent) GetMajor() string

GetMajor returns the Major field value if set, zero value otherwise.

func (*UserAgent) GetMajorOk

func (o *UserAgent) GetMajorOk() (*string, bool)

GetMajorOk returns a tuple with the Major field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgent) GetMinor

func (o *UserAgent) GetMinor() string

GetMinor returns the Minor field value if set, zero value otherwise.

func (*UserAgent) GetMinorOk

func (o *UserAgent) GetMinorOk() (*string, bool)

GetMinorOk returns a tuple with the Minor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgent) GetPatch

func (o *UserAgent) GetPatch() string

GetPatch returns the Patch field value if set, zero value otherwise.

func (*UserAgent) GetPatchOk

func (o *UserAgent) GetPatchOk() (*string, bool)

GetPatchOk returns a tuple with the Patch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgent) HasFamily

func (o *UserAgent) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*UserAgent) HasMajor

func (o *UserAgent) HasMajor() bool

HasMajor returns a boolean if a field has been set.

func (*UserAgent) HasMinor

func (o *UserAgent) HasMinor() bool

HasMinor returns a boolean if a field has been set.

func (*UserAgent) HasPatch

func (o *UserAgent) HasPatch() bool

HasPatch returns a boolean if a field has been set.

func (UserAgent) MarshalJSON

func (o UserAgent) MarshalJSON() ([]byte, error)

func (*UserAgent) SetFamily

func (o *UserAgent) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*UserAgent) SetMajor

func (o *UserAgent) SetMajor(v string)

SetMajor gets a reference to the given string and assigns it to the Major field.

func (*UserAgent) SetMinor

func (o *UserAgent) SetMinor(v string)

SetMinor gets a reference to the given string and assigns it to the Minor field.

func (*UserAgent) SetPatch

func (o *UserAgent) SetPatch(v string)

SetPatch gets a reference to the given string and assigns it to the Patch field.

func (UserAgent) ToMap

func (o UserAgent) ToMap() (map[string]interface{}, error)

type Webhook

type Webhook struct {
	// Unique ID for the webhook.
	Id *int32 `json:"id,omitempty"`
	// Indicates if the webhook is active or paused.
	Enabled *bool `json:"enabled,omitempty"`
	// URL endpoint to which webhook calls need to be made.
	Url *string `json:"url,omitempty"`
	// Trigger webhook on email message being processed.
	Processed *bool `json:"processed,omitempty"`
	// Trigger webhook on email message being delivered.
	Delivered *bool `json:"delivered,omitempty"`
	// Trigger webhook on email message being dropped.
	Dropped *bool `json:"dropped,omitempty"`
	// Trigger webhook on email message being soft bounced.
	SoftBounced *bool `json:"softBounced,omitempty"`
	// Trigger webhook on email message being hard bounced.
	HardBounced *bool `json:"hardBounced,omitempty"`
	// Trigger webhook on email message being opened.
	Opened *bool `json:"opened,omitempty"`
	// Trigger webhook on email message link being clicked.
	Clicked *bool `json:"clicked,omitempty"`
	// Trigger webhook on email message being unsubscribed.
	Unsubscribed *bool `json:"unsubscribed,omitempty"`
	// Trigger webhook on email message being marked as spam.
	Spam *bool `json:"spam,omitempty"`
	// Trigger webhook on email message being sent.
	Sent *bool `json:"sent,omitempty"`
	// Trigger webhook on email message being dropped by SMTP.
	SmtpDropped *bool `json:"smtpDropped,omitempty"`
	// Trigger webhook on unique email opens.
	UniqueOpen *bool `json:"uniqueOpen,omitempty"`
	// Trigger webhook on unique email clicks.
	UniqueClick *bool `json:"uniqueClick,omitempty"`
	// UNIX epoch nano timestamp when the webhook was created.
	Created *int64 `json:"created,omitempty"`
	// Member who created the webhook
	CreatedBy map[string]interface{} `json:"created_by,omitempty"`
	// Member who updated the webhook
	UpdatedBy            map[string]interface{} `json:"updated_by,omitempty"`
	AdditionalProperties map[string]interface{}
}

Webhook struct for Webhook

func NewWebhook

func NewWebhook() *Webhook

NewWebhook instantiates a new Webhook 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 NewWebhookWithDefaults

func NewWebhookWithDefaults() *Webhook

NewWebhookWithDefaults instantiates a new Webhook 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 (*Webhook) GetClicked

func (o *Webhook) GetClicked() bool

GetClicked returns the Clicked field value if set, zero value otherwise.

func (*Webhook) GetClickedOk

func (o *Webhook) GetClickedOk() (*bool, bool)

GetClickedOk returns a tuple with the Clicked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetCreated

func (o *Webhook) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*Webhook) GetCreatedBy

func (o *Webhook) GetCreatedBy() map[string]interface{}

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Webhook) GetCreatedByOk

func (o *Webhook) GetCreatedByOk() (map[string]interface{}, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetCreatedOk

func (o *Webhook) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetDelivered

func (o *Webhook) GetDelivered() bool

GetDelivered returns the Delivered field value if set, zero value otherwise.

func (*Webhook) GetDeliveredOk

func (o *Webhook) GetDeliveredOk() (*bool, bool)

GetDeliveredOk returns a tuple with the Delivered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetDropped

func (o *Webhook) GetDropped() bool

GetDropped returns the Dropped field value if set, zero value otherwise.

func (*Webhook) GetDroppedOk

func (o *Webhook) GetDroppedOk() (*bool, bool)

GetDroppedOk returns a tuple with the Dropped field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetEnabled

func (o *Webhook) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*Webhook) GetEnabledOk

func (o *Webhook) 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 (*Webhook) GetHardBounced

func (o *Webhook) GetHardBounced() bool

GetHardBounced returns the HardBounced field value if set, zero value otherwise.

func (*Webhook) GetHardBouncedOk

func (o *Webhook) GetHardBouncedOk() (*bool, bool)

GetHardBouncedOk returns a tuple with the HardBounced field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetId

func (o *Webhook) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Webhook) GetIdOk

func (o *Webhook) 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 (*Webhook) GetOpened

func (o *Webhook) GetOpened() bool

GetOpened returns the Opened field value if set, zero value otherwise.

func (*Webhook) GetOpenedOk

func (o *Webhook) GetOpenedOk() (*bool, bool)

GetOpenedOk returns a tuple with the Opened field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetProcessed

func (o *Webhook) GetProcessed() bool

GetProcessed returns the Processed field value if set, zero value otherwise.

func (*Webhook) GetProcessedOk

func (o *Webhook) GetProcessedOk() (*bool, bool)

GetProcessedOk returns a tuple with the Processed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetSent

func (o *Webhook) GetSent() bool

GetSent returns the Sent field value if set, zero value otherwise.

func (*Webhook) GetSentOk

func (o *Webhook) GetSentOk() (*bool, bool)

GetSentOk returns a tuple with the Sent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetSmtpDropped

func (o *Webhook) GetSmtpDropped() bool

GetSmtpDropped returns the SmtpDropped field value if set, zero value otherwise.

func (*Webhook) GetSmtpDroppedOk

func (o *Webhook) GetSmtpDroppedOk() (*bool, bool)

GetSmtpDroppedOk returns a tuple with the SmtpDropped field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetSoftBounced

func (o *Webhook) GetSoftBounced() bool

GetSoftBounced returns the SoftBounced field value if set, zero value otherwise.

func (*Webhook) GetSoftBouncedOk

func (o *Webhook) GetSoftBouncedOk() (*bool, bool)

GetSoftBouncedOk returns a tuple with the SoftBounced field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetSpam

func (o *Webhook) GetSpam() bool

GetSpam returns the Spam field value if set, zero value otherwise.

func (*Webhook) GetSpamOk

func (o *Webhook) GetSpamOk() (*bool, bool)

GetSpamOk returns a tuple with the Spam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetUniqueClick

func (o *Webhook) GetUniqueClick() bool

GetUniqueClick returns the UniqueClick field value if set, zero value otherwise.

func (*Webhook) GetUniqueClickOk

func (o *Webhook) GetUniqueClickOk() (*bool, bool)

GetUniqueClickOk returns a tuple with the UniqueClick field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetUniqueOpen

func (o *Webhook) GetUniqueOpen() bool

GetUniqueOpen returns the UniqueOpen field value if set, zero value otherwise.

func (*Webhook) GetUniqueOpenOk

func (o *Webhook) GetUniqueOpenOk() (*bool, bool)

GetUniqueOpenOk returns a tuple with the UniqueOpen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetUnsubscribed

func (o *Webhook) GetUnsubscribed() bool

GetUnsubscribed returns the Unsubscribed field value if set, zero value otherwise.

func (*Webhook) GetUnsubscribedOk

func (o *Webhook) GetUnsubscribedOk() (*bool, bool)

GetUnsubscribedOk returns a tuple with the Unsubscribed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetUpdatedBy

func (o *Webhook) GetUpdatedBy() map[string]interface{}

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*Webhook) GetUpdatedByOk

func (o *Webhook) GetUpdatedByOk() (map[string]interface{}, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetUrl

func (o *Webhook) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Webhook) GetUrlOk

func (o *Webhook) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) HasClicked

func (o *Webhook) HasClicked() bool

HasClicked returns a boolean if a field has been set.

func (*Webhook) HasCreated

func (o *Webhook) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Webhook) HasCreatedBy

func (o *Webhook) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Webhook) HasDelivered

func (o *Webhook) HasDelivered() bool

HasDelivered returns a boolean if a field has been set.

func (*Webhook) HasDropped

func (o *Webhook) HasDropped() bool

HasDropped returns a boolean if a field has been set.

func (*Webhook) HasEnabled

func (o *Webhook) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Webhook) HasHardBounced

func (o *Webhook) HasHardBounced() bool

HasHardBounced returns a boolean if a field has been set.

func (*Webhook) HasId

func (o *Webhook) HasId() bool

HasId returns a boolean if a field has been set.

func (*Webhook) HasOpened

func (o *Webhook) HasOpened() bool

HasOpened returns a boolean if a field has been set.

func (*Webhook) HasProcessed

func (o *Webhook) HasProcessed() bool

HasProcessed returns a boolean if a field has been set.

func (*Webhook) HasSent

func (o *Webhook) HasSent() bool

HasSent returns a boolean if a field has been set.

func (*Webhook) HasSmtpDropped

func (o *Webhook) HasSmtpDropped() bool

HasSmtpDropped returns a boolean if a field has been set.

func (*Webhook) HasSoftBounced

func (o *Webhook) HasSoftBounced() bool

HasSoftBounced returns a boolean if a field has been set.

func (*Webhook) HasSpam

func (o *Webhook) HasSpam() bool

HasSpam returns a boolean if a field has been set.

func (*Webhook) HasUniqueClick

func (o *Webhook) HasUniqueClick() bool

HasUniqueClick returns a boolean if a field has been set.

func (*Webhook) HasUniqueOpen

func (o *Webhook) HasUniqueOpen() bool

HasUniqueOpen returns a boolean if a field has been set.

func (*Webhook) HasUnsubscribed

func (o *Webhook) HasUnsubscribed() bool

HasUnsubscribed returns a boolean if a field has been set.

func (*Webhook) HasUpdatedBy

func (o *Webhook) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (*Webhook) HasUrl

func (o *Webhook) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Webhook) MarshalJSON

func (o Webhook) MarshalJSON() ([]byte, error)

func (*Webhook) SetClicked

func (o *Webhook) SetClicked(v bool)

SetClicked gets a reference to the given bool and assigns it to the Clicked field.

func (*Webhook) SetCreated

func (o *Webhook) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*Webhook) SetCreatedBy

func (o *Webhook) SetCreatedBy(v map[string]interface{})

SetCreatedBy gets a reference to the given map[string]interface{} and assigns it to the CreatedBy field.

func (*Webhook) SetDelivered

func (o *Webhook) SetDelivered(v bool)

SetDelivered gets a reference to the given bool and assigns it to the Delivered field.

func (*Webhook) SetDropped

func (o *Webhook) SetDropped(v bool)

SetDropped gets a reference to the given bool and assigns it to the Dropped field.

func (*Webhook) SetEnabled

func (o *Webhook) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*Webhook) SetHardBounced

func (o *Webhook) SetHardBounced(v bool)

SetHardBounced gets a reference to the given bool and assigns it to the HardBounced field.

func (*Webhook) SetId

func (o *Webhook) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Webhook) SetOpened

func (o *Webhook) SetOpened(v bool)

SetOpened gets a reference to the given bool and assigns it to the Opened field.

func (*Webhook) SetProcessed

func (o *Webhook) SetProcessed(v bool)

SetProcessed gets a reference to the given bool and assigns it to the Processed field.

func (*Webhook) SetSent

func (o *Webhook) SetSent(v bool)

SetSent gets a reference to the given bool and assigns it to the Sent field.

func (*Webhook) SetSmtpDropped

func (o *Webhook) SetSmtpDropped(v bool)

SetSmtpDropped gets a reference to the given bool and assigns it to the SmtpDropped field.

func (*Webhook) SetSoftBounced

func (o *Webhook) SetSoftBounced(v bool)

SetSoftBounced gets a reference to the given bool and assigns it to the SoftBounced field.

func (*Webhook) SetSpam

func (o *Webhook) SetSpam(v bool)

SetSpam gets a reference to the given bool and assigns it to the Spam field.

func (*Webhook) SetUniqueClick

func (o *Webhook) SetUniqueClick(v bool)

SetUniqueClick gets a reference to the given bool and assigns it to the UniqueClick field.

func (*Webhook) SetUniqueOpen

func (o *Webhook) SetUniqueOpen(v bool)

SetUniqueOpen gets a reference to the given bool and assigns it to the UniqueOpen field.

func (*Webhook) SetUnsubscribed

func (o *Webhook) SetUnsubscribed(v bool)

SetUnsubscribed gets a reference to the given bool and assigns it to the Unsubscribed field.

func (*Webhook) SetUpdatedBy

func (o *Webhook) SetUpdatedBy(v map[string]interface{})

SetUpdatedBy gets a reference to the given map[string]interface{} and assigns it to the UpdatedBy field.

func (*Webhook) SetUrl

func (o *Webhook) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (Webhook) ToMap

func (o Webhook) ToMap() (map[string]interface{}, error)

func (*Webhook) UnmarshalJSON

func (o *Webhook) UnmarshalJSON(data []byte) (err error)

type WebhookAPIService

type WebhookAPIService service

WebhookAPIService WebhookAPI service

func (*WebhookAPIService) CreateWebhook

CreateWebhook Create Webhook

Create a new webhook by specifying its properties.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateWebhookRequest

func (*WebhookAPIService) CreateWebhookExecute

func (a *WebhookAPIService) CreateWebhookExecute(r ApiCreateWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

func (*WebhookAPIService) DeleteWebhook

func (a *WebhookAPIService) DeleteWebhook(ctx context.Context, webhookId int32) ApiDeleteWebhookRequest

DeleteWebhook Delete Webhook

Delete a webhook by its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param webhookId ID of the webhook to delete.
@return ApiDeleteWebhookRequest

func (*WebhookAPIService) DeleteWebhookExecute

Execute executes the request

@return DeleteWebhookResponse

func (*WebhookAPIService) GetAllWebhooks

GetAllWebhooks List Webhooks

Retrieves a list of all webhooks, their endpoints, and the events for which they are active.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllWebhooksRequest

func (*WebhookAPIService) GetAllWebhooksExecute

func (a *WebhookAPIService) GetAllWebhooksExecute(r ApiGetAllWebhooksRequest) ([]Webhook, *http.Response, error)

Execute executes the request

@return []Webhook

func (*WebhookAPIService) GetWebhook

func (a *WebhookAPIService) GetWebhook(ctx context.Context, webhookId int32) ApiGetWebhookRequest

GetWebhook Get Webhook

Retrieves a specific webhook based on its ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param webhookId The ID of the webhook to retrieve.
@return ApiGetWebhookRequest

func (*WebhookAPIService) GetWebhookExecute

func (a *WebhookAPIService) GetWebhookExecute(r ApiGetWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

func (*WebhookAPIService) UpdateWebhook

func (a *WebhookAPIService) UpdateWebhook(ctx context.Context, webhookId int32) ApiUpdateWebhookRequest

UpdateWebhook Update Webhook

Update the properties of an existing webhook.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param webhookId ID of the webhook to update.
@return ApiUpdateWebhookRequest

func (*WebhookAPIService) UpdateWebhookExecute

func (a *WebhookAPIService) UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*Webhook, *http.Response, error)

Execute executes the request

@return Webhook

type WebhookObject

type WebhookObject struct {
	Event        *Event        `json:"event,omitempty"`
	EmailMessage *EmailMessage `json:"emailMessage,omitempty"`
}

WebhookObject struct for WebhookObject

func NewWebhookObject

func NewWebhookObject() *WebhookObject

NewWebhookObject instantiates a new WebhookObject 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 NewWebhookObjectWithDefaults

func NewWebhookObjectWithDefaults() *WebhookObject

NewWebhookObjectWithDefaults instantiates a new WebhookObject 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 (*WebhookObject) GetEmailMessage

func (o *WebhookObject) GetEmailMessage() EmailMessage

GetEmailMessage returns the EmailMessage field value if set, zero value otherwise.

func (*WebhookObject) GetEmailMessageOk

func (o *WebhookObject) GetEmailMessageOk() (*EmailMessage, bool)

GetEmailMessageOk returns a tuple with the EmailMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookObject) GetEvent

func (o *WebhookObject) GetEvent() Event

GetEvent returns the Event field value if set, zero value otherwise.

func (*WebhookObject) GetEventOk

func (o *WebhookObject) GetEventOk() (*Event, bool)

GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookObject) HasEmailMessage

func (o *WebhookObject) HasEmailMessage() bool

HasEmailMessage returns a boolean if a field has been set.

func (*WebhookObject) HasEvent

func (o *WebhookObject) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (WebhookObject) MarshalJSON

func (o WebhookObject) MarshalJSON() ([]byte, error)

func (*WebhookObject) SetEmailMessage

func (o *WebhookObject) SetEmailMessage(v EmailMessage)

SetEmailMessage gets a reference to the given EmailMessage and assigns it to the EmailMessage field.

func (*WebhookObject) SetEvent

func (o *WebhookObject) SetEvent(v Event)

SetEvent gets a reference to the given Event and assigns it to the Event field.

func (WebhookObject) ToMap

func (o WebhookObject) ToMap() (map[string]interface{}, error)

type WebhookReferenceAPIService

type WebhookReferenceAPIService service

WebhookReferenceAPIService WebhookReferenceAPI service

func (*WebhookReferenceAPIService) SendPostWebhooksPost

SendPostWebhooksPost SendPost Webhook Object

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSendPostWebhooksPostRequest

func (*WebhookReferenceAPIService) SendPostWebhooksPostExecute

func (a *WebhookReferenceAPIService) SendPostWebhooksPostExecute(r ApiSendPostWebhooksPostRequest) (*http.Response, error)

Execute executes the request

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL