destinationlists

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for destinationlists

Create and manage destination lists and network destinations.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import destinationlists "github.com/CiscoDevNet/go-ciscosecureaccess/destinationlists"

To use a proxy, set the environment variable HTTP_PROXY:

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

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 destinationlists.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), destinationlists.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 destinationlists.ContextOperationServerIndices and destinationlists.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://api.sse.cisco.com/policies/v2

Class Method HTTP request Description
DestinationListsAPI CreateDestinationList Post /destinationlists Create Destination List
DestinationListsAPI DeleteDestinationList Delete /destinationlists/{destinationListId} Delete Destination List
DestinationListsAPI GetDestinationList Get /destinationlists/{destinationListId} Get Destination List
DestinationListsAPI GetDestinationLists Get /destinationlists Get Destination Lists
DestinationListsAPI UpdateDestinationLists Patch /destinationlists/{destinationListId} Update Destination List
DestinationsAPI CreateDestinations Post /destinationlists/{destinationListId}/destinations Add Destinations to Destination List
DestinationsAPI DeleteDestinations Delete /destinationlists/{destinationListId}/destinations/remove Delete Destinations from Destination List
DestinationsAPI GetDestinations Get /destinationlists/{destinationListId}/destinations Get Destinations in Destination List

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauthFlow
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • policies.destinationLists:write: Write policies destination lists
  • policies.destinationLists:read: Read policies destination lists
  • policies.destinations:write: Write policies destinations
  • policies.destinations:read: Read policies destinations

Example

auth := context.WithValue(context.Background(), destinationlists.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, destinationlists.ContextOAuth2, tokenSource)
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

Author

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 (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// 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")
)
View Source
var AllowedBundleTypeIdEnumValues = []BundleTypeId{
	2,
}

All allowed values of BundleTypeId enum

View Source
var AllowedModelTypeEnumValues = []ModelType{
	"domain",
	"url",
	"ipv4",
}

All allowed values of ModelType enum

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 {
	DestinationListsAPI *DestinationListsAPIService

	DestinationsAPI *DestinationsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Cisco Secure Access Destination Lists 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 ApiCreateDestinationListRequest

type ApiCreateDestinationListRequest struct {
	ApiService *DestinationListsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDestinationListRequest) DestinationListCreate

func (r ApiCreateDestinationListRequest) DestinationListCreate(destinationListCreate DestinationListCreate) ApiCreateDestinationListRequest

Provide destination information and an optional array of destination objects. * Accepts no more than 500 destination objects. * Does not support global destination lists. You must set the `isGlobal` field to `false`. * Does not support an access type. Valid values are: `allow`, `block`, `url_proxy`, `no_decrypt`, `warn`, or `none`. * You must set the `bundleTypeId` to `2`. Web profiles are applied on your policy rules. If you make an API request on the POST operation that adds a URL on a high-volume domain to a destination list, the operation may succeed (`HTTP/200 OK`). However, the server returns an error message (`HTTP/400 Bad Request`) that indicates that the destination is on a high-volume domain. **Note:** Secure Access does not add URLs that are on high-volume domains to destination lists. Instead, we recommend that you add the domain only.

func (ApiCreateDestinationListRequest) Execute

type ApiCreateDestinationsRequest

type ApiCreateDestinationsRequest struct {
	ApiService *DestinationsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDestinationsRequest) DestinationCreateObject

func (r ApiCreateDestinationsRequest) DestinationCreateObject(destinationCreateObject []DestinationCreateObject) ApiCreateDestinationsRequest

Add destinations to a destination list. Accepts no more than 500 destination objects in the body of the request. If you make an API request on the POST operation that adds a URL on a high-volume domain to a destination list, the operation may succeed (`HTTP/200 OK`). However, the server returns an error message (`HTTP/400 Bad Request`) that indicates that the destination is on a high-volume domain. **Note:** Secure Access does not add URLs that are on high-volume domains to destination lists. Instead, we recommend that you add the domain only.

func (ApiCreateDestinationsRequest) Execute

type ApiDeleteDestinationListRequest

type ApiDeleteDestinationListRequest struct {
	ApiService *DestinationListsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteDestinationListRequest) Execute

type ApiDeleteDestinationsRequest

type ApiDeleteDestinationsRequest struct {
	ApiService *DestinationsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteDestinationsRequest) Execute

func (ApiDeleteDestinationsRequest) RequestBody

Add a list of destination ID.

type ApiGetDestinationListRequest

type ApiGetDestinationListRequest struct {
	ApiService *DestinationListsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDestinationListRequest) Execute

type ApiGetDestinationListsRequest

type ApiGetDestinationListsRequest struct {
	ApiService *DestinationListsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDestinationListsRequest) Execute

func (ApiGetDestinationListsRequest) Limit

The number of records in the collection to return on the page.

func (ApiGetDestinationListsRequest) Page

The number of a page in the collection.

type ApiGetDestinationsRequest

type ApiGetDestinationsRequest struct {
	ApiService *DestinationsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDestinationsRequest) Execute

func (ApiGetDestinationsRequest) Limit

The number of records in the collection to return on the page.

func (ApiGetDestinationsRequest) Page

The number of a page in the collection.

type ApiUpdateDestinationListsRequest

type ApiUpdateDestinationListsRequest struct {
	ApiService *DestinationListsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateDestinationListsRequest) DestinationListPatch

func (r ApiUpdateDestinationListsRequest) DestinationListPatch(destinationListPatch DestinationListPatch) ApiUpdateDestinationListsRequest

Update a destination list.

func (ApiUpdateDestinationListsRequest) Execute

type BadRequestError

type BadRequestError struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error                *string `json:"error,omitempty"`
	Message              *string `json:"message,omitempty"`
	TxId                 *string `json:"txId,omitempty"`
	AdditionalProperties map[string]interface{}
}

BadRequestError Bad Request

func NewBadRequestError

func NewBadRequestError() *BadRequestError

NewBadRequestError instantiates a new BadRequestError 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 NewBadRequestErrorWithDefaults

func NewBadRequestErrorWithDefaults() *BadRequestError

NewBadRequestErrorWithDefaults instantiates a new BadRequestError 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 (*BadRequestError) GetError

func (o *BadRequestError) GetError() string

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

func (*BadRequestError) GetErrorOk

func (o *BadRequestError) GetErrorOk() (*string, bool)

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

func (*BadRequestError) GetMessage

func (o *BadRequestError) GetMessage() string

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

func (*BadRequestError) GetMessageOk

func (o *BadRequestError) 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 (*BadRequestError) GetStatusCode

func (o *BadRequestError) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*BadRequestError) GetStatusCodeOk

func (o *BadRequestError) GetStatusCodeOk() (*int64, bool)

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

func (*BadRequestError) GetTxId

func (o *BadRequestError) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*BadRequestError) GetTxIdOk

func (o *BadRequestError) GetTxIdOk() (*string, bool)

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

func (*BadRequestError) HasError

func (o *BadRequestError) HasError() bool

HasError returns a boolean if a field has been set.

func (*BadRequestError) HasMessage

func (o *BadRequestError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*BadRequestError) HasStatusCode

func (o *BadRequestError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*BadRequestError) HasTxId

func (o *BadRequestError) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (BadRequestError) MarshalJSON

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

func (*BadRequestError) SetError

func (o *BadRequestError) SetError(v string)

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

func (*BadRequestError) SetMessage

func (o *BadRequestError) SetMessage(v string)

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

func (*BadRequestError) SetStatusCode

func (o *BadRequestError) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (*BadRequestError) SetTxId

func (o *BadRequestError) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (BadRequestError) ToMap

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

func (*BadRequestError) UnmarshalJSON

func (o *BadRequestError) UnmarshalJSON(data []byte) (err 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 BundleTypeId

type BundleTypeId int64

BundleTypeId The type of the destination list. In your policy rules, security controls are applied to your destination lists. **Note:** When you create a destination list, set the `bundleTypeId` to `2`.

func NewBundleTypeIdFromValue

func NewBundleTypeIdFromValue(v int64) (*BundleTypeId, error)

NewBundleTypeIdFromValue returns a pointer to a valid BundleTypeId for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BundleTypeId) IsValid

func (v BundleTypeId) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BundleTypeId) Ptr

func (v BundleTypeId) Ptr() *BundleTypeId

Ptr returns reference to bundleTypeId value

func (*BundleTypeId) UnmarshalJSON

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

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 DestinationCreateObject

type DestinationCreateObject struct {
	// A domain, URL, or IP.
	Destination string `json:"destination"`
	// A comment about the destination.
	Comment              *string `json:"comment,omitempty"`
	AdditionalProperties map[string]interface{}
}

DestinationCreateObject The properties of the destination.

func NewDestinationCreateObject

func NewDestinationCreateObject(destination string) *DestinationCreateObject

NewDestinationCreateObject instantiates a new DestinationCreateObject 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 NewDestinationCreateObjectWithDefaults

func NewDestinationCreateObjectWithDefaults() *DestinationCreateObject

NewDestinationCreateObjectWithDefaults instantiates a new DestinationCreateObject 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 (*DestinationCreateObject) GetComment

func (o *DestinationCreateObject) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*DestinationCreateObject) GetCommentOk

func (o *DestinationCreateObject) GetCommentOk() (*string, bool)

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

func (*DestinationCreateObject) GetDestination

func (o *DestinationCreateObject) GetDestination() string

GetDestination returns the Destination field value

func (*DestinationCreateObject) GetDestinationOk

func (o *DestinationCreateObject) GetDestinationOk() (*string, bool)

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

func (*DestinationCreateObject) HasComment

func (o *DestinationCreateObject) HasComment() bool

HasComment returns a boolean if a field has been set.

func (DestinationCreateObject) MarshalJSON

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

func (*DestinationCreateObject) SetComment

func (o *DestinationCreateObject) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*DestinationCreateObject) SetDestination

func (o *DestinationCreateObject) SetDestination(v string)

SetDestination sets field value

func (DestinationCreateObject) ToMap

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

func (*DestinationCreateObject) UnmarshalJSON

func (o *DestinationCreateObject) UnmarshalJSON(data []byte) (err error)

type DestinationListCreate

type DestinationListCreate struct {
	// Configure your access rules to block or allow certain destination lists. No support for the access type on destination lists. Valid values are: `allow`, `block`, `url_proxy`, `no_decrypt`, `warn`, or `none`.
	Access string `json:"access"`
	// Specifies whether the destination list is a global destination list. There is only one default `allow` destination list and one default `block` destination list for an organization. **Note:** No support for global destination lists. When you creat a destination list, set the `isGlobal` field to `false`.
	IsGlobal bool `json:"isGlobal"`
	// The name of the destination list.
	Name         string        `json:"name"`
	BundleTypeId *BundleTypeId `json:"bundleTypeId,omitempty"`
	// The list of destinations.
	Destinations         []DestinationListCreateDestinationsInner `json:"destinations,omitempty"`
	AdditionalProperties map[string]interface{}
}

DestinationListCreate The properties of the destination list.

func NewDestinationListCreate

func NewDestinationListCreate(access string, isGlobal bool, name string) *DestinationListCreate

NewDestinationListCreate instantiates a new DestinationListCreate 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 NewDestinationListCreateWithDefaults

func NewDestinationListCreateWithDefaults() *DestinationListCreate

NewDestinationListCreateWithDefaults instantiates a new DestinationListCreate 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 (*DestinationListCreate) GetAccess

func (o *DestinationListCreate) GetAccess() string

GetAccess returns the Access field value

func (*DestinationListCreate) GetAccessOk

func (o *DestinationListCreate) GetAccessOk() (*string, bool)

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

func (*DestinationListCreate) GetBundleTypeId

func (o *DestinationListCreate) GetBundleTypeId() BundleTypeId

GetBundleTypeId returns the BundleTypeId field value if set, zero value otherwise.

func (*DestinationListCreate) GetBundleTypeIdOk

func (o *DestinationListCreate) GetBundleTypeIdOk() (*BundleTypeId, bool)

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

func (*DestinationListCreate) GetDestinations

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

func (*DestinationListCreate) GetDestinationsOk

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

func (*DestinationListCreate) GetIsGlobal

func (o *DestinationListCreate) GetIsGlobal() bool

GetIsGlobal returns the IsGlobal field value

func (*DestinationListCreate) GetIsGlobalOk

func (o *DestinationListCreate) GetIsGlobalOk() (*bool, bool)

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

func (*DestinationListCreate) GetName

func (o *DestinationListCreate) GetName() string

GetName returns the Name field value

func (*DestinationListCreate) GetNameOk

func (o *DestinationListCreate) GetNameOk() (*string, bool)

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

func (*DestinationListCreate) HasBundleTypeId

func (o *DestinationListCreate) HasBundleTypeId() bool

HasBundleTypeId returns a boolean if a field has been set.

func (*DestinationListCreate) HasDestinations

func (o *DestinationListCreate) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (DestinationListCreate) MarshalJSON

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

func (*DestinationListCreate) SetAccess

func (o *DestinationListCreate) SetAccess(v string)

SetAccess sets field value

func (*DestinationListCreate) SetBundleTypeId

func (o *DestinationListCreate) SetBundleTypeId(v BundleTypeId)

SetBundleTypeId gets a reference to the given BundleTypeId and assigns it to the BundleTypeId field.

func (*DestinationListCreate) SetDestinations

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

func (*DestinationListCreate) SetIsGlobal

func (o *DestinationListCreate) SetIsGlobal(v bool)

SetIsGlobal sets field value

func (*DestinationListCreate) SetName

func (o *DestinationListCreate) SetName(v string)

SetName sets field value

func (DestinationListCreate) ToMap

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

func (*DestinationListCreate) UnmarshalJSON

func (o *DestinationListCreate) UnmarshalJSON(data []byte) (err error)

type DestinationListCreateDestinationsInner

type DestinationListCreateDestinationsInner struct {
	// A domain, URL, or IP.
	Destination *string    `json:"destination,omitempty"`
	Type        *ModelType `json:"type,omitempty"`
	// The comment about the destination.
	Comment              *string `json:"comment,omitempty"`
	AdditionalProperties map[string]interface{}
}

DestinationListCreateDestinationsInner The properties of the destination.

func NewDestinationListCreateDestinationsInner

func NewDestinationListCreateDestinationsInner() *DestinationListCreateDestinationsInner

NewDestinationListCreateDestinationsInner instantiates a new DestinationListCreateDestinationsInner 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 NewDestinationListCreateDestinationsInnerWithDefaults

func NewDestinationListCreateDestinationsInnerWithDefaults() *DestinationListCreateDestinationsInner

NewDestinationListCreateDestinationsInnerWithDefaults instantiates a new DestinationListCreateDestinationsInner 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 (*DestinationListCreateDestinationsInner) GetComment

GetComment returns the Comment field value if set, zero value otherwise.

func (*DestinationListCreateDestinationsInner) GetCommentOk

func (o *DestinationListCreateDestinationsInner) GetCommentOk() (*string, bool)

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

func (*DestinationListCreateDestinationsInner) GetDestination

func (o *DestinationListCreateDestinationsInner) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*DestinationListCreateDestinationsInner) GetDestinationOk

func (o *DestinationListCreateDestinationsInner) GetDestinationOk() (*string, bool)

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

func (*DestinationListCreateDestinationsInner) GetType

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

func (*DestinationListCreateDestinationsInner) GetTypeOk

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

func (*DestinationListCreateDestinationsInner) HasComment

HasComment returns a boolean if a field has been set.

func (*DestinationListCreateDestinationsInner) HasDestination

func (o *DestinationListCreateDestinationsInner) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*DestinationListCreateDestinationsInner) HasType

HasType returns a boolean if a field has been set.

func (DestinationListCreateDestinationsInner) MarshalJSON

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

func (*DestinationListCreateDestinationsInner) SetComment

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*DestinationListCreateDestinationsInner) SetDestination

func (o *DestinationListCreateDestinationsInner) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

func (*DestinationListCreateDestinationsInner) SetType

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

func (DestinationListCreateDestinationsInner) ToMap

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

func (*DestinationListCreateDestinationsInner) UnmarshalJSON

func (o *DestinationListCreateDestinationsInner) UnmarshalJSON(data []byte) (err error)

type DestinationListDelete

type DestinationListDelete struct {
	Status               Status        `json:"status"`
	Data                 []interface{} `json:"data"`
	AdditionalProperties map[string]interface{}
}

DestinationListDelete Delete the destination list. The data field is empty in the response.

func NewDestinationListDelete

func NewDestinationListDelete(status Status, data []interface{}) *DestinationListDelete

NewDestinationListDelete instantiates a new DestinationListDelete 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 NewDestinationListDeleteWithDefaults

func NewDestinationListDeleteWithDefaults() *DestinationListDelete

NewDestinationListDeleteWithDefaults instantiates a new DestinationListDelete 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 (*DestinationListDelete) GetData

func (o *DestinationListDelete) GetData() []interface{}

GetData returns the Data field value

func (*DestinationListDelete) GetDataOk

func (o *DestinationListDelete) GetDataOk() ([]interface{}, bool)

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

func (*DestinationListDelete) GetStatus

func (o *DestinationListDelete) GetStatus() Status

GetStatus returns the Status field value

func (*DestinationListDelete) GetStatusOk

func (o *DestinationListDelete) GetStatusOk() (*Status, bool)

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

func (DestinationListDelete) MarshalJSON

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

func (*DestinationListDelete) SetData

func (o *DestinationListDelete) SetData(v []interface{})

SetData sets field value

func (*DestinationListDelete) SetStatus

func (o *DestinationListDelete) SetStatus(v Status)

SetStatus sets field value

func (DestinationListDelete) ToMap

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

func (*DestinationListDelete) UnmarshalJSON

func (o *DestinationListDelete) UnmarshalJSON(data []byte) (err error)

type DestinationListObject

type DestinationListObject struct {
	// The unique ID of the destination list.
	Id int64 `json:"id"`
	// The organization ID.
	OrganizationId int64 `json:"organizationId"`
	// Configure your access rules to block or allow certain destination lists. No support for the access type on destination lists. Valid values are: `allow`, `block`, `url_proxy`, `no_decrypt`, `warn`, or `none`.
	Access string `json:"access"`
	// Specifies whether the destination list is a global destination list. There is only one default `allow` destination list and one default `block` destination list for an organization. **Note:** No support for global destination lists. When you creat a destination list, set the `isGlobal` field to `false`.
	IsGlobal bool `json:"isGlobal"`
	// The name of the destination list.
	Name string `json:"name"`
	// The third-party category ID of the destination list.
	ThirdpartyCategoryId int64 `json:"thirdpartyCategoryId"`
	// The date and time when the destination list was created.
	CreatedAt int64 `json:"createdAt"`
	// The date and time when the destination list was modified.
	ModifiedAt int64 `json:"modifiedAt"`
	// Specifies whether MSP is the default.
	IsMspDefault bool `json:"isMspDefault"`
	// Specifies whether the destination list is marked for deletion.
	MarkedForDeletion    bool                       `json:"markedForDeletion"`
	BundleTypeId         *BundleTypeId              `json:"bundleTypeId,omitempty"`
	Meta                 *DestinationListObjectMeta `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

DestinationListObject struct for DestinationListObject

func NewDestinationListObject

func NewDestinationListObject(id int64, organizationId int64, access string, isGlobal bool, name string, thirdpartyCategoryId int64, createdAt int64, modifiedAt int64, isMspDefault bool, markedForDeletion bool) *DestinationListObject

NewDestinationListObject instantiates a new DestinationListObject 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 NewDestinationListObjectWithDefaults

func NewDestinationListObjectWithDefaults() *DestinationListObject

NewDestinationListObjectWithDefaults instantiates a new DestinationListObject 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 (*DestinationListObject) GetAccess

func (o *DestinationListObject) GetAccess() string

GetAccess returns the Access field value

func (*DestinationListObject) GetAccessOk

func (o *DestinationListObject) GetAccessOk() (*string, bool)

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

func (*DestinationListObject) GetBundleTypeId

func (o *DestinationListObject) GetBundleTypeId() BundleTypeId

GetBundleTypeId returns the BundleTypeId field value if set, zero value otherwise.

func (*DestinationListObject) GetBundleTypeIdOk

func (o *DestinationListObject) GetBundleTypeIdOk() (*BundleTypeId, bool)

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

func (*DestinationListObject) GetCreatedAt

func (o *DestinationListObject) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value

func (*DestinationListObject) GetCreatedAtOk

func (o *DestinationListObject) GetCreatedAtOk() (*int64, bool)

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

func (*DestinationListObject) GetId

func (o *DestinationListObject) GetId() int64

GetId returns the Id field value

func (*DestinationListObject) GetIdOk

func (o *DestinationListObject) GetIdOk() (*int64, bool)

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

func (*DestinationListObject) GetIsGlobal

func (o *DestinationListObject) GetIsGlobal() bool

GetIsGlobal returns the IsGlobal field value

func (*DestinationListObject) GetIsGlobalOk

func (o *DestinationListObject) GetIsGlobalOk() (*bool, bool)

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

func (*DestinationListObject) GetIsMspDefault

func (o *DestinationListObject) GetIsMspDefault() bool

GetIsMspDefault returns the IsMspDefault field value

func (*DestinationListObject) GetIsMspDefaultOk

func (o *DestinationListObject) GetIsMspDefaultOk() (*bool, bool)

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

func (*DestinationListObject) GetMarkedForDeletion

func (o *DestinationListObject) GetMarkedForDeletion() bool

GetMarkedForDeletion returns the MarkedForDeletion field value

func (*DestinationListObject) GetMarkedForDeletionOk

func (o *DestinationListObject) GetMarkedForDeletionOk() (*bool, bool)

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

func (*DestinationListObject) GetMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*DestinationListObject) GetMetaOk

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

func (*DestinationListObject) GetModifiedAt

func (o *DestinationListObject) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value

func (*DestinationListObject) GetModifiedAtOk

func (o *DestinationListObject) GetModifiedAtOk() (*int64, bool)

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

func (*DestinationListObject) GetName

func (o *DestinationListObject) GetName() string

GetName returns the Name field value

func (*DestinationListObject) GetNameOk

func (o *DestinationListObject) GetNameOk() (*string, bool)

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

func (*DestinationListObject) GetOrganizationId

func (o *DestinationListObject) GetOrganizationId() int64

GetOrganizationId returns the OrganizationId field value

func (*DestinationListObject) GetOrganizationIdOk

func (o *DestinationListObject) GetOrganizationIdOk() (*int64, bool)

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

func (*DestinationListObject) GetThirdpartyCategoryId

func (o *DestinationListObject) GetThirdpartyCategoryId() int64

GetThirdpartyCategoryId returns the ThirdpartyCategoryId field value

func (*DestinationListObject) GetThirdpartyCategoryIdOk

func (o *DestinationListObject) GetThirdpartyCategoryIdOk() (*int64, bool)

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

func (*DestinationListObject) HasBundleTypeId

func (o *DestinationListObject) HasBundleTypeId() bool

HasBundleTypeId returns a boolean if a field has been set.

func (*DestinationListObject) HasMeta

func (o *DestinationListObject) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (DestinationListObject) MarshalJSON

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

func (*DestinationListObject) SetAccess

func (o *DestinationListObject) SetAccess(v string)

SetAccess sets field value

func (*DestinationListObject) SetBundleTypeId

func (o *DestinationListObject) SetBundleTypeId(v BundleTypeId)

SetBundleTypeId gets a reference to the given BundleTypeId and assigns it to the BundleTypeId field.

func (*DestinationListObject) SetCreatedAt

func (o *DestinationListObject) SetCreatedAt(v int64)

SetCreatedAt sets field value

func (*DestinationListObject) SetId

func (o *DestinationListObject) SetId(v int64)

SetId sets field value

func (*DestinationListObject) SetIsGlobal

func (o *DestinationListObject) SetIsGlobal(v bool)

SetIsGlobal sets field value

func (*DestinationListObject) SetIsMspDefault

func (o *DestinationListObject) SetIsMspDefault(v bool)

SetIsMspDefault sets field value

func (*DestinationListObject) SetMarkedForDeletion

func (o *DestinationListObject) SetMarkedForDeletion(v bool)

SetMarkedForDeletion sets field value

func (*DestinationListObject) SetMeta

SetMeta gets a reference to the given DestinationListObjectMeta and assigns it to the Meta field.

func (*DestinationListObject) SetModifiedAt

func (o *DestinationListObject) SetModifiedAt(v int64)

SetModifiedAt sets field value

func (*DestinationListObject) SetName

func (o *DestinationListObject) SetName(v string)

SetName sets field value

func (*DestinationListObject) SetOrganizationId

func (o *DestinationListObject) SetOrganizationId(v int64)

SetOrganizationId sets field value

func (*DestinationListObject) SetThirdpartyCategoryId

func (o *DestinationListObject) SetThirdpartyCategoryId(v int64)

SetThirdpartyCategoryId sets field value

func (DestinationListObject) ToMap

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

func (*DestinationListObject) UnmarshalJSON

func (o *DestinationListObject) UnmarshalJSON(data []byte) (err error)

type DestinationListObjectMeta

type DestinationListObjectMeta struct {
	// The total number of destinations in a destination list.
	DestinationCount *int64 `json:"destinationCount,omitempty"`
	// The total number of domains in a destination list. Domains are part of the total number of destinations in a destination list.
	DomainCount *int64 `json:"domainCount,omitempty"`
	// The total number of URLs in a destination list. Urls are part of the total number of destinations in a destination list.
	UrlCount *int64 `json:"urlCount,omitempty"`
	// The total number of IPv4 addresses in a destination list. IPv4 addresses are part of the total number of destinations in a destination list.
	Ipv4Count *int64 `json:"ipv4Count,omitempty"`
	// The total number of IPv6 addresses in a destination list. IPv6 addresses are part of the total number of destinations in a destination list.
	Ipv6Count *int64 `json:"ipv6Count,omitempty"`
	// The total number of applications in a destination list. Applications are part of the total number of destinations in a destination list.
	ApplicationCount     *int64 `json:"applicationCount,omitempty"`
	AdditionalProperties map[string]interface{}
}

DestinationListObjectMeta The total number of each type of destination in the destination list. The fields in the `meta` object are optional.

func NewDestinationListObjectMeta

func NewDestinationListObjectMeta() *DestinationListObjectMeta

NewDestinationListObjectMeta instantiates a new DestinationListObjectMeta 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 NewDestinationListObjectMetaWithDefaults

func NewDestinationListObjectMetaWithDefaults() *DestinationListObjectMeta

NewDestinationListObjectMetaWithDefaults instantiates a new DestinationListObjectMeta 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 (*DestinationListObjectMeta) GetApplicationCount

func (o *DestinationListObjectMeta) GetApplicationCount() int64

GetApplicationCount returns the ApplicationCount field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetApplicationCountOk

func (o *DestinationListObjectMeta) GetApplicationCountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) GetDestinationCount

func (o *DestinationListObjectMeta) GetDestinationCount() int64

GetDestinationCount returns the DestinationCount field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetDestinationCountOk

func (o *DestinationListObjectMeta) GetDestinationCountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) GetDomainCount

func (o *DestinationListObjectMeta) GetDomainCount() int64

GetDomainCount returns the DomainCount field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetDomainCountOk

func (o *DestinationListObjectMeta) GetDomainCountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) GetIpv4Count

func (o *DestinationListObjectMeta) GetIpv4Count() int64

GetIpv4Count returns the Ipv4Count field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetIpv4CountOk

func (o *DestinationListObjectMeta) GetIpv4CountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) GetIpv6Count

func (o *DestinationListObjectMeta) GetIpv6Count() int64

GetIpv6Count returns the Ipv6Count field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetIpv6CountOk

func (o *DestinationListObjectMeta) GetIpv6CountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) GetUrlCount

func (o *DestinationListObjectMeta) GetUrlCount() int64

GetUrlCount returns the UrlCount field value if set, zero value otherwise.

func (*DestinationListObjectMeta) GetUrlCountOk

func (o *DestinationListObjectMeta) GetUrlCountOk() (*int64, bool)

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

func (*DestinationListObjectMeta) HasApplicationCount

func (o *DestinationListObjectMeta) HasApplicationCount() bool

HasApplicationCount returns a boolean if a field has been set.

func (*DestinationListObjectMeta) HasDestinationCount

func (o *DestinationListObjectMeta) HasDestinationCount() bool

HasDestinationCount returns a boolean if a field has been set.

func (*DestinationListObjectMeta) HasDomainCount

func (o *DestinationListObjectMeta) HasDomainCount() bool

HasDomainCount returns a boolean if a field has been set.

func (*DestinationListObjectMeta) HasIpv4Count

func (o *DestinationListObjectMeta) HasIpv4Count() bool

HasIpv4Count returns a boolean if a field has been set.

func (*DestinationListObjectMeta) HasIpv6Count

func (o *DestinationListObjectMeta) HasIpv6Count() bool

HasIpv6Count returns a boolean if a field has been set.

func (*DestinationListObjectMeta) HasUrlCount

func (o *DestinationListObjectMeta) HasUrlCount() bool

HasUrlCount returns a boolean if a field has been set.

func (DestinationListObjectMeta) MarshalJSON

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

func (*DestinationListObjectMeta) SetApplicationCount

func (o *DestinationListObjectMeta) SetApplicationCount(v int64)

SetApplicationCount gets a reference to the given int64 and assigns it to the ApplicationCount field.

func (*DestinationListObjectMeta) SetDestinationCount

func (o *DestinationListObjectMeta) SetDestinationCount(v int64)

SetDestinationCount gets a reference to the given int64 and assigns it to the DestinationCount field.

func (*DestinationListObjectMeta) SetDomainCount

func (o *DestinationListObjectMeta) SetDomainCount(v int64)

SetDomainCount gets a reference to the given int64 and assigns it to the DomainCount field.

func (*DestinationListObjectMeta) SetIpv4Count

func (o *DestinationListObjectMeta) SetIpv4Count(v int64)

SetIpv4Count gets a reference to the given int64 and assigns it to the Ipv4Count field.

func (*DestinationListObjectMeta) SetIpv6Count

func (o *DestinationListObjectMeta) SetIpv6Count(v int64)

SetIpv6Count gets a reference to the given int64 and assigns it to the Ipv6Count field.

func (*DestinationListObjectMeta) SetUrlCount

func (o *DestinationListObjectMeta) SetUrlCount(v int64)

SetUrlCount gets a reference to the given int64 and assigns it to the UrlCount field.

func (DestinationListObjectMeta) ToMap

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

func (*DestinationListObjectMeta) UnmarshalJSON

func (o *DestinationListObjectMeta) UnmarshalJSON(data []byte) (err error)

type DestinationListPatch

type DestinationListPatch struct {
	// The name of the destination list.
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

DestinationListPatch Update the name of the destination list.

func NewDestinationListPatch

func NewDestinationListPatch(name string) *DestinationListPatch

NewDestinationListPatch instantiates a new DestinationListPatch 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 NewDestinationListPatchWithDefaults

func NewDestinationListPatchWithDefaults() *DestinationListPatch

NewDestinationListPatchWithDefaults instantiates a new DestinationListPatch 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 (*DestinationListPatch) GetName

func (o *DestinationListPatch) GetName() string

GetName returns the Name field value

func (*DestinationListPatch) GetNameOk

func (o *DestinationListPatch) GetNameOk() (*string, bool)

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

func (DestinationListPatch) MarshalJSON

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

func (*DestinationListPatch) SetName

func (o *DestinationListPatch) SetName(v string)

SetName sets field value

func (DestinationListPatch) ToMap

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

func (*DestinationListPatch) UnmarshalJSON

func (o *DestinationListPatch) UnmarshalJSON(data []byte) (err error)

type DestinationListResponse

type DestinationListResponse struct {
	Status               Status                `json:"status"`
	Data                 DestinationListObject `json:"data"`
	AdditionalProperties map[string]interface{}
}

DestinationListResponse The status and properties of the destination lists.

func NewDestinationListResponse

func NewDestinationListResponse(status Status, data DestinationListObject) *DestinationListResponse

NewDestinationListResponse instantiates a new DestinationListResponse 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 NewDestinationListResponseWithDefaults

func NewDestinationListResponseWithDefaults() *DestinationListResponse

NewDestinationListResponseWithDefaults instantiates a new DestinationListResponse 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 (*DestinationListResponse) GetData

GetData returns the Data field value

func (*DestinationListResponse) GetDataOk

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

func (*DestinationListResponse) GetStatus

func (o *DestinationListResponse) GetStatus() Status

GetStatus returns the Status field value

func (*DestinationListResponse) GetStatusOk

func (o *DestinationListResponse) GetStatusOk() (*Status, bool)

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

func (DestinationListResponse) MarshalJSON

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

func (*DestinationListResponse) SetData

SetData sets field value

func (*DestinationListResponse) SetStatus

func (o *DestinationListResponse) SetStatus(v Status)

SetStatus sets field value

func (DestinationListResponse) ToMap

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

func (*DestinationListResponse) UnmarshalJSON

func (o *DestinationListResponse) UnmarshalJSON(data []byte) (err error)

type DestinationListsAPIService

type DestinationListsAPIService service

DestinationListsAPIService DestinationListsAPI service

func (*DestinationListsAPIService) CreateDestinationList

CreateDestinationList Create Destination List

Create a destination list in your organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDestinationListRequest

func (*DestinationListsAPIService) CreateDestinationListExecute

Execute executes the request

@return DestinationListResponse

func (*DestinationListsAPIService) DeleteDestinationList

func (a *DestinationListsAPIService) DeleteDestinationList(ctx context.Context, destinationListId int64) ApiDeleteDestinationListRequest

DeleteDestinationList Delete Destination List

Delete a destination list from your organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiDeleteDestinationListRequest

func (*DestinationListsAPIService) DeleteDestinationListExecute

Execute executes the request

@return DestinationListDelete

func (*DestinationListsAPIService) GetDestinationList

func (a *DestinationListsAPIService) GetDestinationList(ctx context.Context, destinationListId int64) ApiGetDestinationListRequest

GetDestinationList Get Destination List

Get a destination list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiGetDestinationListRequest

func (*DestinationListsAPIService) GetDestinationListExecute

Execute executes the request

@return DestinationListResponse

func (*DestinationListsAPIService) GetDestinationLists

GetDestinationLists Get Destination Lists

Get the destination lists in your organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetDestinationListsRequest

func (*DestinationListsAPIService) GetDestinationListsExecute

Execute executes the request

@return PaginatedDestinationListsResponse

func (*DestinationListsAPIService) UpdateDestinationLists

func (a *DestinationListsAPIService) UpdateDestinationLists(ctx context.Context, destinationListId int64) ApiUpdateDestinationListsRequest

UpdateDestinationLists Update Destination List

Update a destination list in your organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiUpdateDestinationListsRequest

func (*DestinationListsAPIService) UpdateDestinationListsExecute

Execute executes the request

@return DestinationListResponse

type DestinationObject

type DestinationObject struct {
	// The unique ID of the destination.
	Id string `json:"id"`
	// A domain, URL, or IP.
	Destination string    `json:"destination"`
	Type        ModelType `json:"type"`
	// The comment about the destination.
	Comment *string `json:"comment,omitempty"`
	// The date and time when the destination list was created.
	CreatedAt string `json:"createdAt"`
}

DestinationObject struct for DestinationObject

func NewDestinationObject

func NewDestinationObject(id string, destination string, type_ ModelType, createdAt string) *DestinationObject

NewDestinationObject instantiates a new DestinationObject 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 NewDestinationObjectWithDefaults

func NewDestinationObjectWithDefaults() *DestinationObject

NewDestinationObjectWithDefaults instantiates a new DestinationObject 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 (*DestinationObject) GetComment

func (o *DestinationObject) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*DestinationObject) GetCommentOk

func (o *DestinationObject) GetCommentOk() (*string, bool)

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

func (*DestinationObject) GetCreatedAt

func (o *DestinationObject) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*DestinationObject) GetCreatedAtOk

func (o *DestinationObject) GetCreatedAtOk() (*string, bool)

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

func (*DestinationObject) GetDestination

func (o *DestinationObject) GetDestination() string

GetDestination returns the Destination field value

func (*DestinationObject) GetDestinationOk

func (o *DestinationObject) GetDestinationOk() (*string, bool)

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

func (*DestinationObject) GetId

func (o *DestinationObject) GetId() string

GetId returns the Id field value

func (*DestinationObject) GetIdOk

func (o *DestinationObject) GetIdOk() (*string, bool)

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

func (*DestinationObject) GetType

func (o *DestinationObject) GetType() ModelType

GetType returns the Type field value

func (*DestinationObject) GetTypeOk

func (o *DestinationObject) GetTypeOk() (*ModelType, bool)

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

func (*DestinationObject) HasComment

func (o *DestinationObject) HasComment() bool

HasComment returns a boolean if a field has been set.

func (DestinationObject) MarshalJSON

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

func (*DestinationObject) SetComment

func (o *DestinationObject) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*DestinationObject) SetCreatedAt

func (o *DestinationObject) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*DestinationObject) SetDestination

func (o *DestinationObject) SetDestination(v string)

SetDestination sets field value

func (*DestinationObject) SetId

func (o *DestinationObject) SetId(v string)

SetId sets field value

func (*DestinationObject) SetType

func (o *DestinationObject) SetType(v ModelType)

SetType sets field value

func (DestinationObject) ToMap

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

func (*DestinationObject) UnmarshalJSON

func (o *DestinationObject) UnmarshalJSON(data []byte) (err error)

type DestinationObjectWithStringId

type DestinationObjectWithStringId struct {
	// The unique ID of the destination.
	Id string `json:"id"`
	// A domain, URL, or IP.
	Destination string    `json:"destination"`
	Type        ModelType `json:"type"`
	// The comment about the destination.
	Comment *string `json:"comment,omitempty"`
	// The date and time when the destination list was created.
	CreatedAt            string `json:"createdAt"`
	AdditionalProperties map[string]interface{}
}

DestinationObjectWithStringId struct for DestinationObjectWithStringId

func NewDestinationObjectWithStringId

func NewDestinationObjectWithStringId(id string, destination string, type_ ModelType, createdAt string) *DestinationObjectWithStringId

NewDestinationObjectWithStringId instantiates a new DestinationObjectWithStringId 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 NewDestinationObjectWithStringIdWithDefaults

func NewDestinationObjectWithStringIdWithDefaults() *DestinationObjectWithStringId

NewDestinationObjectWithStringIdWithDefaults instantiates a new DestinationObjectWithStringId 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 (*DestinationObjectWithStringId) GetComment

func (o *DestinationObjectWithStringId) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*DestinationObjectWithStringId) GetCommentOk

func (o *DestinationObjectWithStringId) GetCommentOk() (*string, bool)

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

func (*DestinationObjectWithStringId) GetCreatedAt

func (o *DestinationObjectWithStringId) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*DestinationObjectWithStringId) GetCreatedAtOk

func (o *DestinationObjectWithStringId) GetCreatedAtOk() (*string, bool)

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

func (*DestinationObjectWithStringId) GetDestination

func (o *DestinationObjectWithStringId) GetDestination() string

GetDestination returns the Destination field value

func (*DestinationObjectWithStringId) GetDestinationOk

func (o *DestinationObjectWithStringId) GetDestinationOk() (*string, bool)

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

func (*DestinationObjectWithStringId) GetId

GetId returns the Id field value

func (*DestinationObjectWithStringId) GetIdOk

func (o *DestinationObjectWithStringId) GetIdOk() (*string, bool)

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

func (*DestinationObjectWithStringId) GetType

GetType returns the Type field value

func (*DestinationObjectWithStringId) GetTypeOk

func (o *DestinationObjectWithStringId) GetTypeOk() (*ModelType, bool)

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

func (*DestinationObjectWithStringId) HasComment

func (o *DestinationObjectWithStringId) HasComment() bool

HasComment returns a boolean if a field has been set.

func (DestinationObjectWithStringId) MarshalJSON

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

func (*DestinationObjectWithStringId) SetComment

func (o *DestinationObjectWithStringId) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*DestinationObjectWithStringId) SetCreatedAt

func (o *DestinationObjectWithStringId) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*DestinationObjectWithStringId) SetDestination

func (o *DestinationObjectWithStringId) SetDestination(v string)

SetDestination sets field value

func (*DestinationObjectWithStringId) SetId

SetId sets field value

func (*DestinationObjectWithStringId) SetType

SetType sets field value

func (DestinationObjectWithStringId) ToMap

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

func (*DestinationObjectWithStringId) UnmarshalJSON

func (o *DestinationObjectWithStringId) UnmarshalJSON(data []byte) (err error)

type DestinationsAPIService

type DestinationsAPIService service

DestinationsAPIService DestinationsAPI service

func (*DestinationsAPIService) CreateDestinations

func (a *DestinationsAPIService) CreateDestinations(ctx context.Context, destinationListId int64) ApiCreateDestinationsRequest

CreateDestinations Add Destinations to Destination List

Add destinations to a destination list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiCreateDestinationsRequest

func (*DestinationsAPIService) CreateDestinationsExecute

Execute executes the request

@return DestinationListResponse

func (*DestinationsAPIService) DeleteDestinations

func (a *DestinationsAPIService) DeleteDestinations(ctx context.Context, destinationListId int64) ApiDeleteDestinationsRequest

DeleteDestinations Delete Destinations from Destination List

Remove destinations from the destination list.

**Note:** Accepts a list that contains no more than 500 destination IDs.

You can retrieve a list of the destinations in the destination list through the GET `/destinationlists/{destinationListId}/destinations` operation. Then, to remove destinations in a destination list, provide a list of destination IDs in the request body of the DELETE `/destinationlists/{destinationListId}/destinations/remove` operation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiDeleteDestinationsRequest

func (*DestinationsAPIService) DeleteDestinationsExecute

Execute executes the request

@return DestinationListResponse

func (*DestinationsAPIService) GetDestinations

func (a *DestinationsAPIService) GetDestinations(ctx context.Context, destinationListId int64) ApiGetDestinationsRequest

GetDestinations Get Destinations in Destination List

Get destinations in a destination list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param destinationListId The unique ID of the destination list.
@return ApiGetDestinationsRequest

func (*DestinationsAPIService) GetDestinationsExecute

Execute executes the request

@return PaginatedDestinationObjectResponse

type ForbiddenError

type ForbiddenError struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// The token is invalid.
	Error                *string `json:"error,omitempty"`
	TxId                 *string `json:"txId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ForbiddenError Forbidden

func NewForbiddenError

func NewForbiddenError() *ForbiddenError

NewForbiddenError instantiates a new ForbiddenError 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 NewForbiddenErrorWithDefaults

func NewForbiddenErrorWithDefaults() *ForbiddenError

NewForbiddenErrorWithDefaults instantiates a new ForbiddenError 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 (*ForbiddenError) GetError

func (o *ForbiddenError) GetError() string

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

func (*ForbiddenError) GetErrorOk

func (o *ForbiddenError) GetErrorOk() (*string, bool)

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

func (*ForbiddenError) GetStatusCode

func (o *ForbiddenError) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ForbiddenError) GetStatusCodeOk

func (o *ForbiddenError) GetStatusCodeOk() (*int64, bool)

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

func (*ForbiddenError) GetTxId

func (o *ForbiddenError) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*ForbiddenError) GetTxIdOk

func (o *ForbiddenError) GetTxIdOk() (*string, bool)

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

func (*ForbiddenError) HasError

func (o *ForbiddenError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ForbiddenError) HasStatusCode

func (o *ForbiddenError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*ForbiddenError) HasTxId

func (o *ForbiddenError) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (ForbiddenError) MarshalJSON

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

func (*ForbiddenError) SetError

func (o *ForbiddenError) SetError(v string)

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

func (*ForbiddenError) SetStatusCode

func (o *ForbiddenError) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (*ForbiddenError) SetTxId

func (o *ForbiddenError) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (ForbiddenError) ToMap

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

func (*ForbiddenError) UnmarshalJSON

func (o *ForbiddenError) UnmarshalJSON(data []byte) (err 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 MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Meta

type Meta struct {
	// The number of the page in the collection.
	Page *int64 `json:"page,omitempty"`
	// The maximum number of items that are returned on the page.
	Limit *int64 `json:"limit,omitempty"`
	// The total number of items in the collection.
	Total                *int64 `json:"total,omitempty"`
	AdditionalProperties map[string]interface{}
}

Meta The pagination information for the response.

func NewMeta

func NewMeta() *Meta

NewMeta instantiates a new Meta 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 NewMetaWithDefaults

func NewMetaWithDefaults() *Meta

NewMetaWithDefaults instantiates a new Meta 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 (*Meta) GetLimit

func (o *Meta) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Meta) GetLimitOk

func (o *Meta) GetLimitOk() (*int64, bool)

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

func (*Meta) GetPage

func (o *Meta) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*Meta) GetPageOk

func (o *Meta) GetPageOk() (*int64, bool)

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

func (*Meta) GetTotal

func (o *Meta) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*Meta) GetTotalOk

func (o *Meta) GetTotalOk() (*int64, bool)

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

func (*Meta) HasLimit

func (o *Meta) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Meta) HasPage

func (o *Meta) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*Meta) HasTotal

func (o *Meta) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (Meta) MarshalJSON

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

func (*Meta) SetLimit

func (o *Meta) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*Meta) SetPage

func (o *Meta) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*Meta) SetTotal

func (o *Meta) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (Meta) ToMap

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

func (*Meta) UnmarshalJSON

func (o *Meta) UnmarshalJSON(data []byte) (err error)

type ModelType

type ModelType string

ModelType The type of the destination.

const (
	DOMAIN ModelType = "domain"
	URL    ModelType = "url"
	IPV4   ModelType = "ipv4"
)

List of type_

func NewModelTypeFromValue

func NewModelTypeFromValue(v string) (*ModelType, error)

NewModelTypeFromValue returns a pointer to a valid ModelType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ModelType) IsValid

func (v ModelType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ModelType) Ptr

func (v ModelType) Ptr() *ModelType

Ptr returns reference to type_ value

func (*ModelType) UnmarshalJSON

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

type NotFoundError

type NotFoundError struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A resource specified in the URL was not found.
	Error                *string `json:"error,omitempty"`
	TxId                 *string `json:"txId,omitempty"`
	AdditionalProperties map[string]interface{}
}

NotFoundError Not Found

func NewNotFoundError

func NewNotFoundError() *NotFoundError

NewNotFoundError instantiates a new NotFoundError 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 NewNotFoundErrorWithDefaults

func NewNotFoundErrorWithDefaults() *NotFoundError

NewNotFoundErrorWithDefaults instantiates a new NotFoundError 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 (*NotFoundError) GetError

func (o *NotFoundError) GetError() string

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

func (*NotFoundError) GetErrorOk

func (o *NotFoundError) GetErrorOk() (*string, bool)

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

func (*NotFoundError) GetStatusCode

func (o *NotFoundError) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*NotFoundError) GetStatusCodeOk

func (o *NotFoundError) GetStatusCodeOk() (*int64, bool)

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

func (*NotFoundError) GetTxId

func (o *NotFoundError) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*NotFoundError) GetTxIdOk

func (o *NotFoundError) GetTxIdOk() (*string, bool)

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

func (*NotFoundError) HasError

func (o *NotFoundError) HasError() bool

HasError returns a boolean if a field has been set.

func (*NotFoundError) HasStatusCode

func (o *NotFoundError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*NotFoundError) HasTxId

func (o *NotFoundError) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (NotFoundError) MarshalJSON

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

func (*NotFoundError) SetError

func (o *NotFoundError) SetError(v string)

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

func (*NotFoundError) SetStatusCode

func (o *NotFoundError) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (*NotFoundError) SetTxId

func (o *NotFoundError) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (NotFoundError) ToMap

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

func (*NotFoundError) UnmarshalJSON

func (o *NotFoundError) UnmarshalJSON(data []byte) (err error)

type NullableBadRequestError

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

func NewNullableBadRequestError

func NewNullableBadRequestError(val *BadRequestError) *NullableBadRequestError

func (NullableBadRequestError) Get

func (NullableBadRequestError) IsSet

func (v NullableBadRequestError) IsSet() bool

func (NullableBadRequestError) MarshalJSON

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

func (*NullableBadRequestError) Set

func (*NullableBadRequestError) UnmarshalJSON

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

func (*NullableBadRequestError) Unset

func (v *NullableBadRequestError) 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 NullableBundleTypeId

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

func NewNullableBundleTypeId

func NewNullableBundleTypeId(val *BundleTypeId) *NullableBundleTypeId

func (NullableBundleTypeId) Get

func (NullableBundleTypeId) IsSet

func (v NullableBundleTypeId) IsSet() bool

func (NullableBundleTypeId) MarshalJSON

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

func (*NullableBundleTypeId) Set

func (v *NullableBundleTypeId) Set(val *BundleTypeId)

func (*NullableBundleTypeId) UnmarshalJSON

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

func (*NullableBundleTypeId) Unset

func (v *NullableBundleTypeId) Unset()

type NullableDestinationCreateObject

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

func (NullableDestinationCreateObject) Get

func (NullableDestinationCreateObject) IsSet

func (NullableDestinationCreateObject) MarshalJSON

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

func (*NullableDestinationCreateObject) Set

func (*NullableDestinationCreateObject) UnmarshalJSON

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

func (*NullableDestinationCreateObject) Unset

type NullableDestinationListCreate

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

func (NullableDestinationListCreate) Get

func (NullableDestinationListCreate) IsSet

func (NullableDestinationListCreate) MarshalJSON

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

func (*NullableDestinationListCreate) Set

func (*NullableDestinationListCreate) UnmarshalJSON

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

func (*NullableDestinationListCreate) Unset

func (v *NullableDestinationListCreate) Unset()

type NullableDestinationListCreateDestinationsInner

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

func (NullableDestinationListCreateDestinationsInner) Get

func (NullableDestinationListCreateDestinationsInner) IsSet

func (NullableDestinationListCreateDestinationsInner) MarshalJSON

func (*NullableDestinationListCreateDestinationsInner) Set

func (*NullableDestinationListCreateDestinationsInner) UnmarshalJSON

func (*NullableDestinationListCreateDestinationsInner) Unset

type NullableDestinationListDelete

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

func (NullableDestinationListDelete) Get

func (NullableDestinationListDelete) IsSet

func (NullableDestinationListDelete) MarshalJSON

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

func (*NullableDestinationListDelete) Set

func (*NullableDestinationListDelete) UnmarshalJSON

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

func (*NullableDestinationListDelete) Unset

func (v *NullableDestinationListDelete) Unset()

type NullableDestinationListObject

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

func (NullableDestinationListObject) Get

func (NullableDestinationListObject) IsSet

func (NullableDestinationListObject) MarshalJSON

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

func (*NullableDestinationListObject) Set

func (*NullableDestinationListObject) UnmarshalJSON

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

func (*NullableDestinationListObject) Unset

func (v *NullableDestinationListObject) Unset()

type NullableDestinationListObjectMeta

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

func (NullableDestinationListObjectMeta) Get

func (NullableDestinationListObjectMeta) IsSet

func (NullableDestinationListObjectMeta) MarshalJSON

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

func (*NullableDestinationListObjectMeta) Set

func (*NullableDestinationListObjectMeta) UnmarshalJSON

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

func (*NullableDestinationListObjectMeta) Unset

type NullableDestinationListPatch

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

func NewNullableDestinationListPatch

func NewNullableDestinationListPatch(val *DestinationListPatch) *NullableDestinationListPatch

func (NullableDestinationListPatch) Get

func (NullableDestinationListPatch) IsSet

func (NullableDestinationListPatch) MarshalJSON

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

func (*NullableDestinationListPatch) Set

func (*NullableDestinationListPatch) UnmarshalJSON

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

func (*NullableDestinationListPatch) Unset

func (v *NullableDestinationListPatch) Unset()

type NullableDestinationListResponse

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

func (NullableDestinationListResponse) Get

func (NullableDestinationListResponse) IsSet

func (NullableDestinationListResponse) MarshalJSON

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

func (*NullableDestinationListResponse) Set

func (*NullableDestinationListResponse) UnmarshalJSON

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

func (*NullableDestinationListResponse) Unset

type NullableDestinationObject

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

func NewNullableDestinationObject

func NewNullableDestinationObject(val *DestinationObject) *NullableDestinationObject

func (NullableDestinationObject) Get

func (NullableDestinationObject) IsSet

func (v NullableDestinationObject) IsSet() bool

func (NullableDestinationObject) MarshalJSON

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

func (*NullableDestinationObject) Set

func (*NullableDestinationObject) UnmarshalJSON

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

func (*NullableDestinationObject) Unset

func (v *NullableDestinationObject) Unset()

type NullableDestinationObjectWithStringId

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

func (NullableDestinationObjectWithStringId) Get

func (NullableDestinationObjectWithStringId) IsSet

func (NullableDestinationObjectWithStringId) MarshalJSON

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

func (*NullableDestinationObjectWithStringId) Set

func (*NullableDestinationObjectWithStringId) UnmarshalJSON

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

func (*NullableDestinationObjectWithStringId) 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 NullableForbiddenError

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

func NewNullableForbiddenError

func NewNullableForbiddenError(val *ForbiddenError) *NullableForbiddenError

func (NullableForbiddenError) Get

func (NullableForbiddenError) IsSet

func (v NullableForbiddenError) IsSet() bool

func (NullableForbiddenError) MarshalJSON

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

func (*NullableForbiddenError) Set

func (*NullableForbiddenError) UnmarshalJSON

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

func (*NullableForbiddenError) Unset

func (v *NullableForbiddenError) 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 NullableMeta

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

func NewNullableMeta

func NewNullableMeta(val *Meta) *NullableMeta

func (NullableMeta) Get

func (v NullableMeta) Get() *Meta

func (NullableMeta) IsSet

func (v NullableMeta) IsSet() bool

func (NullableMeta) MarshalJSON

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

func (*NullableMeta) Set

func (v *NullableMeta) Set(val *Meta)

func (*NullableMeta) UnmarshalJSON

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

func (*NullableMeta) Unset

func (v *NullableMeta) Unset()

type NullableModelType

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

func NewNullableModelType

func NewNullableModelType(val *ModelType) *NullableModelType

func (NullableModelType) Get

func (v NullableModelType) Get() *ModelType

func (NullableModelType) IsSet

func (v NullableModelType) IsSet() bool

func (NullableModelType) MarshalJSON

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

func (*NullableModelType) Set

func (v *NullableModelType) Set(val *ModelType)

func (*NullableModelType) UnmarshalJSON

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

func (*NullableModelType) Unset

func (v *NullableModelType) Unset()

type NullableNotFoundError

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

func NewNullableNotFoundError

func NewNullableNotFoundError(val *NotFoundError) *NullableNotFoundError

func (NullableNotFoundError) Get

func (NullableNotFoundError) IsSet

func (v NullableNotFoundError) IsSet() bool

func (NullableNotFoundError) MarshalJSON

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

func (*NullableNotFoundError) Set

func (v *NullableNotFoundError) Set(val *NotFoundError)

func (*NullableNotFoundError) UnmarshalJSON

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

func (*NullableNotFoundError) Unset

func (v *NullableNotFoundError) Unset()

type NullablePaginatedDestinationListsResponse

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

func (NullablePaginatedDestinationListsResponse) Get

func (NullablePaginatedDestinationListsResponse) IsSet

func (NullablePaginatedDestinationListsResponse) MarshalJSON

func (*NullablePaginatedDestinationListsResponse) Set

func (*NullablePaginatedDestinationListsResponse) UnmarshalJSON

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

func (*NullablePaginatedDestinationListsResponse) Unset

type NullablePaginatedDestinationObjectResponse

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

func (NullablePaginatedDestinationObjectResponse) Get

func (NullablePaginatedDestinationObjectResponse) IsSet

func (NullablePaginatedDestinationObjectResponse) MarshalJSON

func (*NullablePaginatedDestinationObjectResponse) Set

func (*NullablePaginatedDestinationObjectResponse) UnmarshalJSON

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

func (*NullablePaginatedDestinationObjectResponse) Unset

type NullableServerError

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

func NewNullableServerError

func NewNullableServerError(val *ServerError) *NullableServerError

func (NullableServerError) Get

func (NullableServerError) IsSet

func (v NullableServerError) IsSet() bool

func (NullableServerError) MarshalJSON

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

func (*NullableServerError) Set

func (v *NullableServerError) Set(val *ServerError)

func (*NullableServerError) UnmarshalJSON

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

func (*NullableServerError) Unset

func (v *NullableServerError) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) 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 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 NullableUnauthorizedError

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

func NewNullableUnauthorizedError

func NewNullableUnauthorizedError(val *UnauthorizedError) *NullableUnauthorizedError

func (NullableUnauthorizedError) Get

func (NullableUnauthorizedError) IsSet

func (v NullableUnauthorizedError) IsSet() bool

func (NullableUnauthorizedError) MarshalJSON

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

func (*NullableUnauthorizedError) Set

func (*NullableUnauthorizedError) UnmarshalJSON

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

func (*NullableUnauthorizedError) Unset

func (v *NullableUnauthorizedError) Unset()

type PaginatedDestinationListsResponse

type PaginatedDestinationListsResponse struct {
	Status Status `json:"status"`
	Meta   Meta   `json:"meta"`
	// The list of destination lists.
	Data                 []DestinationListObject `json:"data"`
	AdditionalProperties map[string]interface{}
}

PaginatedDestinationListsResponse The status, metadata, and properties of the destination lists.

func NewPaginatedDestinationListsResponse

func NewPaginatedDestinationListsResponse(status Status, meta Meta, data []DestinationListObject) *PaginatedDestinationListsResponse

NewPaginatedDestinationListsResponse instantiates a new PaginatedDestinationListsResponse 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 NewPaginatedDestinationListsResponseWithDefaults

func NewPaginatedDestinationListsResponseWithDefaults() *PaginatedDestinationListsResponse

NewPaginatedDestinationListsResponseWithDefaults instantiates a new PaginatedDestinationListsResponse 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 (*PaginatedDestinationListsResponse) GetData

GetData returns the Data field value

func (*PaginatedDestinationListsResponse) GetDataOk

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

func (*PaginatedDestinationListsResponse) GetMeta

GetMeta returns the Meta field value

func (*PaginatedDestinationListsResponse) GetMetaOk

func (o *PaginatedDestinationListsResponse) GetMetaOk() (*Meta, bool)

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

func (*PaginatedDestinationListsResponse) GetStatus

GetStatus returns the Status field value

func (*PaginatedDestinationListsResponse) GetStatusOk

func (o *PaginatedDestinationListsResponse) GetStatusOk() (*Status, bool)

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

func (PaginatedDestinationListsResponse) MarshalJSON

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

func (*PaginatedDestinationListsResponse) SetData

SetData sets field value

func (*PaginatedDestinationListsResponse) SetMeta

SetMeta sets field value

func (*PaginatedDestinationListsResponse) SetStatus

func (o *PaginatedDestinationListsResponse) SetStatus(v Status)

SetStatus sets field value

func (PaginatedDestinationListsResponse) ToMap

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

func (*PaginatedDestinationListsResponse) UnmarshalJSON

func (o *PaginatedDestinationListsResponse) UnmarshalJSON(data []byte) (err error)

type PaginatedDestinationObjectResponse

type PaginatedDestinationObjectResponse struct {
	Status Status `json:"status"`
	Meta   Meta   `json:"meta"`
	// The list of destinations in the destination list.
	Data                 []DestinationObjectWithStringId `json:"data"`
	AdditionalProperties map[string]interface{}
}

PaginatedDestinationObjectResponse The status, metadata, and list of destinations for the destination list.

func NewPaginatedDestinationObjectResponse

func NewPaginatedDestinationObjectResponse(status Status, meta Meta, data []DestinationObjectWithStringId) *PaginatedDestinationObjectResponse

NewPaginatedDestinationObjectResponse instantiates a new PaginatedDestinationObjectResponse 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 NewPaginatedDestinationObjectResponseWithDefaults

func NewPaginatedDestinationObjectResponseWithDefaults() *PaginatedDestinationObjectResponse

NewPaginatedDestinationObjectResponseWithDefaults instantiates a new PaginatedDestinationObjectResponse 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 (*PaginatedDestinationObjectResponse) GetData

GetData returns the Data field value

func (*PaginatedDestinationObjectResponse) GetDataOk

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

func (*PaginatedDestinationObjectResponse) GetMeta

GetMeta returns the Meta field value

func (*PaginatedDestinationObjectResponse) GetMetaOk

func (o *PaginatedDestinationObjectResponse) GetMetaOk() (*Meta, bool)

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

func (*PaginatedDestinationObjectResponse) GetStatus

GetStatus returns the Status field value

func (*PaginatedDestinationObjectResponse) GetStatusOk

func (o *PaginatedDestinationObjectResponse) GetStatusOk() (*Status, bool)

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

func (PaginatedDestinationObjectResponse) MarshalJSON

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

func (*PaginatedDestinationObjectResponse) SetData

SetData sets field value

func (*PaginatedDestinationObjectResponse) SetMeta

SetMeta sets field value

func (*PaginatedDestinationObjectResponse) SetStatus

SetStatus sets field value

func (PaginatedDestinationObjectResponse) ToMap

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

func (*PaginatedDestinationObjectResponse) UnmarshalJSON

func (o *PaginatedDestinationObjectResponse) UnmarshalJSON(data []byte) (err 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 ServerError

type ServerError struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// The server can not process the request.
	Error                *string `json:"error,omitempty"`
	Message              *string `json:"message,omitempty"`
	TxId                 *string `json:"txId,omitempty"`
	AdditionalProperties map[string]interface{}
}

ServerError Internal Server Error

func NewServerError

func NewServerError() *ServerError

NewServerError instantiates a new ServerError 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 NewServerErrorWithDefaults

func NewServerErrorWithDefaults() *ServerError

NewServerErrorWithDefaults instantiates a new ServerError 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 (*ServerError) GetError

func (o *ServerError) GetError() string

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

func (*ServerError) GetErrorOk

func (o *ServerError) GetErrorOk() (*string, bool)

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

func (*ServerError) GetMessage

func (o *ServerError) GetMessage() string

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

func (*ServerError) GetMessageOk

func (o *ServerError) 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 (*ServerError) GetStatusCode

func (o *ServerError) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ServerError) GetStatusCodeOk

func (o *ServerError) GetStatusCodeOk() (*int64, bool)

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

func (*ServerError) GetTxId

func (o *ServerError) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*ServerError) GetTxIdOk

func (o *ServerError) GetTxIdOk() (*string, bool)

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

func (*ServerError) HasError

func (o *ServerError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ServerError) HasMessage

func (o *ServerError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ServerError) HasStatusCode

func (o *ServerError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*ServerError) HasTxId

func (o *ServerError) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (ServerError) MarshalJSON

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

func (*ServerError) SetError

func (o *ServerError) SetError(v string)

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

func (*ServerError) SetMessage

func (o *ServerError) SetMessage(v string)

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

func (*ServerError) SetStatusCode

func (o *ServerError) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (*ServerError) SetTxId

func (o *ServerError) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (ServerError) ToMap

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

func (*ServerError) UnmarshalJSON

func (o *ServerError) UnmarshalJSON(data []byte) (err error)

type ServerVariable

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

ServerVariable stores the information about a server variable

type Status

type Status struct {
	// The HTTP status code of the response.
	Code int64 `json:"code"`
	// The HTTP message that describes the response.
	Text                 string `json:"text"`
	AdditionalProperties map[string]interface{}
}

Status The status information for the response.

func NewStatus

func NewStatus(code int64, text string) *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode

func (o *Status) GetCode() int64

GetCode returns the Code field value

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int64, bool)

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

func (*Status) GetText

func (o *Status) GetText() string

GetText returns the Text field value

func (*Status) GetTextOk

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

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

func (Status) MarshalJSON

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

func (*Status) SetCode

func (o *Status) SetCode(v int64)

SetCode sets field value

func (*Status) SetText

func (o *Status) SetText(v string)

SetText sets field value

func (Status) ToMap

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

func (*Status) UnmarshalJSON

func (o *Status) UnmarshalJSON(data []byte) (err error)

type UnauthorizedError

type UnauthorizedError struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// The authorization header is missing or the token is unauthorized.
	Error                *string `json:"error,omitempty"`
	TxId                 *string `json:"txId,omitempty"`
	AdditionalProperties map[string]interface{}
}

UnauthorizedError Unauthorized

func NewUnauthorizedError

func NewUnauthorizedError() *UnauthorizedError

NewUnauthorizedError instantiates a new UnauthorizedError 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 NewUnauthorizedErrorWithDefaults

func NewUnauthorizedErrorWithDefaults() *UnauthorizedError

NewUnauthorizedErrorWithDefaults instantiates a new UnauthorizedError 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 (*UnauthorizedError) GetError

func (o *UnauthorizedError) GetError() string

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

func (*UnauthorizedError) GetErrorOk

func (o *UnauthorizedError) GetErrorOk() (*string, bool)

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

func (*UnauthorizedError) GetStatusCode

func (o *UnauthorizedError) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*UnauthorizedError) GetStatusCodeOk

func (o *UnauthorizedError) GetStatusCodeOk() (*int64, bool)

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

func (*UnauthorizedError) GetTxId

func (o *UnauthorizedError) GetTxId() string

GetTxId returns the TxId field value if set, zero value otherwise.

func (*UnauthorizedError) GetTxIdOk

func (o *UnauthorizedError) GetTxIdOk() (*string, bool)

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

func (*UnauthorizedError) HasError

func (o *UnauthorizedError) HasError() bool

HasError returns a boolean if a field has been set.

func (*UnauthorizedError) HasStatusCode

func (o *UnauthorizedError) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (*UnauthorizedError) HasTxId

func (o *UnauthorizedError) HasTxId() bool

HasTxId returns a boolean if a field has been set.

func (UnauthorizedError) MarshalJSON

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

func (*UnauthorizedError) SetError

func (o *UnauthorizedError) SetError(v string)

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

func (*UnauthorizedError) SetStatusCode

func (o *UnauthorizedError) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (*UnauthorizedError) SetTxId

func (o *UnauthorizedError) SetTxId(v string)

SetTxId gets a reference to the given string and assigns it to the TxId field.

func (UnauthorizedError) ToMap

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

func (*UnauthorizedError) UnmarshalJSON

func (o *UnauthorizedError) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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