domains

package
v0.127.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 20 Imported by: 2

README

Go API client for domains

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 2.0.0
  • Package version: 1.0.0
  • Generator version: 7.4.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/net/context

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

import domains "github.com/GIT_USER_ID/GIT_REPO_ID"

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

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://api.azionapi.net

Class Method HTTP request Description
DomainsAPI CreateDomain Post /domains /domains
DomainsAPI DelDomain Delete /domains/{id} /domains/:id
DomainsAPI GetDomain Get /domains/{id} /domains/:id
DomainsAPI GetDomains Get /domains /domains
DomainsAPI PutDomain Put /domains/{id} /domains:/:id
DomainsAPI UpdateDomain Patch /domains/{id} /domains/:id

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

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

Example

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

Documentation for Utility Methods

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

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

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 (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil added in v0.38.0

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 {
	DomainsAPI *DomainsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Domain API API v2.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 ApiCreateDomainRequest

type ApiCreateDomainRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDomainRequest) Accept

func (ApiCreateDomainRequest) ContentType

func (r ApiCreateDomainRequest) ContentType(contentType string) ApiCreateDomainRequest

func (ApiCreateDomainRequest) CreateDomainRequest

func (r ApiCreateDomainRequest) CreateDomainRequest(createDomainRequest CreateDomainRequest) ApiCreateDomainRequest

func (ApiCreateDomainRequest) Execute

type ApiDelDomainRequest

type ApiDelDomainRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiDelDomainRequest) Accept

func (ApiDelDomainRequest) Execute

func (r ApiDelDomainRequest) Execute() (*http.Response, error)

type ApiGetDomainRequest

type ApiGetDomainRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDomainRequest) Accept

func (ApiGetDomainRequest) Execute

type ApiGetDomainsRequest

type ApiGetDomainsRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiGetDomainsRequest) Accept

func (ApiGetDomainsRequest) Execute

func (ApiGetDomainsRequest) OrderBy added in v0.23.0

func (ApiGetDomainsRequest) Page added in v0.23.0

func (ApiGetDomainsRequest) PageSize added in v0.23.0

func (r ApiGetDomainsRequest) PageSize(pageSize int64) ApiGetDomainsRequest

func (ApiGetDomainsRequest) Sort added in v0.23.0

type ApiPutDomainRequest

type ApiPutDomainRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiPutDomainRequest) Accept

func (ApiPutDomainRequest) ContentType

func (r ApiPutDomainRequest) ContentType(contentType string) ApiPutDomainRequest

func (ApiPutDomainRequest) Execute

func (ApiPutDomainRequest) PutDomainRequest

func (r ApiPutDomainRequest) PutDomainRequest(putDomainRequest PutDomainRequest) ApiPutDomainRequest

type ApiUpdateDomainRequest

type ApiUpdateDomainRequest struct {
	ApiService *DomainsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateDomainRequest) Accept

func (ApiUpdateDomainRequest) ContentType

func (r ApiUpdateDomainRequest) ContentType(contentType string) ApiUpdateDomainRequest

func (ApiUpdateDomainRequest) Execute

func (ApiUpdateDomainRequest) UpdateDomainRequest

func (r ApiUpdateDomainRequest) UpdateDomainRequest(updateDomainRequest UpdateDomainRequest) ApiUpdateDomainRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CreateDomainRequest

type CreateDomainRequest struct {
	Name                       string        `json:"name"`
	Cnames                     []string      `json:"cnames"`
	CnameAccessOnly            *bool         `json:"cname_access_only,omitempty"`
	IsActive                   *bool         `json:"is_active,omitempty"`
	EdgeApplicationId          int64         `json:"edge_application_id"`
	DigitalCertificateId       NullableInt64 `json:"digital_certificate_id,omitempty"`
	Environment                *string       `json:"environment,omitempty"`
	IsMtlsEnabled              *bool         `json:"is_mtls_enabled,omitempty"`
	MtlsTrustedCaCertificateId NullableInt64 `json:"mtls_trusted_ca_certificate_id,omitempty"`
	EdgeFirewallId             NullableInt64 `json:"edge_firewall_id,omitempty"`
	MtlsVerification           *string       `json:"mtls_verification,omitempty"`
	CrlList                    []int64       `json:"crl_list,omitempty"`
}

CreateDomainRequest struct for CreateDomainRequest

func NewCreateDomainRequest

func NewCreateDomainRequest(name string, cnames []string, edgeApplicationId int64) *CreateDomainRequest

NewCreateDomainRequest instantiates a new CreateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateDomainRequestWithDefaults

func NewCreateDomainRequestWithDefaults() *CreateDomainRequest

NewCreateDomainRequestWithDefaults instantiates a new CreateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateDomainRequest) GetCnameAccessOnly

func (o *CreateDomainRequest) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.

func (*CreateDomainRequest) GetCnameAccessOnlyOk

func (o *CreateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*CreateDomainRequest) GetCnames

func (o *CreateDomainRequest) GetCnames() []string

GetCnames returns the Cnames field value

func (*CreateDomainRequest) GetCnamesOk

func (o *CreateDomainRequest) GetCnamesOk() ([]string, bool)

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

func (*CreateDomainRequest) GetCrlList added in v0.125.0

func (o *CreateDomainRequest) GetCrlList() []int64

GetCrlList returns the CrlList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDomainRequest) GetCrlListOk added in v0.125.0

func (o *CreateDomainRequest) GetCrlListOk() ([]int64, bool)

GetCrlListOk returns a tuple with the CrlList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDomainRequest) GetDigitalCertificateId

func (o *CreateDomainRequest) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDomainRequest) GetDigitalCertificateIdOk

func (o *CreateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDomainRequest) GetEdgeApplicationId

func (o *CreateDomainRequest) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value

func (*CreateDomainRequest) GetEdgeApplicationIdOk

func (o *CreateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*CreateDomainRequest) GetEdgeFirewallId added in v0.127.0

func (o *CreateDomainRequest) GetEdgeFirewallId() int64

GetEdgeFirewallId returns the EdgeFirewallId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDomainRequest) GetEdgeFirewallIdOk added in v0.127.0

func (o *CreateDomainRequest) GetEdgeFirewallIdOk() (*int64, bool)

GetEdgeFirewallIdOk returns a tuple with the EdgeFirewallId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDomainRequest) GetEnvironment added in v0.125.0

func (o *CreateDomainRequest) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*CreateDomainRequest) GetEnvironmentOk added in v0.125.0

func (o *CreateDomainRequest) GetEnvironmentOk() (*string, bool)

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

func (*CreateDomainRequest) GetIsActive

func (o *CreateDomainRequest) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*CreateDomainRequest) GetIsActiveOk

func (o *CreateDomainRequest) GetIsActiveOk() (*bool, bool)

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

func (*CreateDomainRequest) GetIsMtlsEnabled added in v0.125.0

func (o *CreateDomainRequest) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value if set, zero value otherwise.

func (*CreateDomainRequest) GetIsMtlsEnabledOk added in v0.125.0

func (o *CreateDomainRequest) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*CreateDomainRequest) GetMtlsTrustedCaCertificateId added in v0.125.0

func (o *CreateDomainRequest) GetMtlsTrustedCaCertificateId() int64

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDomainRequest) GetMtlsTrustedCaCertificateIdOk added in v0.125.0

func (o *CreateDomainRequest) GetMtlsTrustedCaCertificateIdOk() (*int64, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDomainRequest) GetMtlsVerification added in v0.125.0

func (o *CreateDomainRequest) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value if set, zero value otherwise.

func (*CreateDomainRequest) GetMtlsVerificationOk added in v0.125.0

func (o *CreateDomainRequest) GetMtlsVerificationOk() (*string, bool)

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

func (*CreateDomainRequest) GetName

func (o *CreateDomainRequest) GetName() string

GetName returns the Name field value

func (*CreateDomainRequest) GetNameOk

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

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

func (*CreateDomainRequest) HasCnameAccessOnly added in v0.125.0

func (o *CreateDomainRequest) HasCnameAccessOnly() bool

HasCnameAccessOnly returns a boolean if a field has been set.

func (*CreateDomainRequest) HasCrlList added in v0.125.0

func (o *CreateDomainRequest) HasCrlList() bool

HasCrlList returns a boolean if a field has been set.

func (*CreateDomainRequest) HasDigitalCertificateId added in v0.125.0

func (o *CreateDomainRequest) HasDigitalCertificateId() bool

HasDigitalCertificateId returns a boolean if a field has been set.

func (*CreateDomainRequest) HasEdgeFirewallId added in v0.127.0

func (o *CreateDomainRequest) HasEdgeFirewallId() bool

HasEdgeFirewallId returns a boolean if a field has been set.

func (*CreateDomainRequest) HasEnvironment added in v0.125.0

func (o *CreateDomainRequest) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*CreateDomainRequest) HasIsActive added in v0.125.0

func (o *CreateDomainRequest) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*CreateDomainRequest) HasIsMtlsEnabled added in v0.125.0

func (o *CreateDomainRequest) HasIsMtlsEnabled() bool

HasIsMtlsEnabled returns a boolean if a field has been set.

func (*CreateDomainRequest) HasMtlsTrustedCaCertificateId added in v0.125.0

func (o *CreateDomainRequest) HasMtlsTrustedCaCertificateId() bool

HasMtlsTrustedCaCertificateId returns a boolean if a field has been set.

func (*CreateDomainRequest) HasMtlsVerification added in v0.125.0

func (o *CreateDomainRequest) HasMtlsVerification() bool

HasMtlsVerification returns a boolean if a field has been set.

func (CreateDomainRequest) MarshalJSON

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

func (*CreateDomainRequest) SetCnameAccessOnly

func (o *CreateDomainRequest) SetCnameAccessOnly(v bool)

SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.

func (*CreateDomainRequest) SetCnames

func (o *CreateDomainRequest) SetCnames(v []string)

SetCnames sets field value

func (*CreateDomainRequest) SetCrlList added in v0.125.0

func (o *CreateDomainRequest) SetCrlList(v []int64)

SetCrlList gets a reference to the given []int64 and assigns it to the CrlList field.

func (*CreateDomainRequest) SetDigitalCertificateId

func (o *CreateDomainRequest) SetDigitalCertificateId(v int64)

SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.

func (*CreateDomainRequest) SetDigitalCertificateIdNil added in v0.125.0

func (o *CreateDomainRequest) SetDigitalCertificateIdNil()

SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil

func (*CreateDomainRequest) SetEdgeApplicationId

func (o *CreateDomainRequest) SetEdgeApplicationId(v int64)

SetEdgeApplicationId sets field value

func (*CreateDomainRequest) SetEdgeFirewallId added in v0.127.0

func (o *CreateDomainRequest) SetEdgeFirewallId(v int64)

SetEdgeFirewallId gets a reference to the given NullableInt64 and assigns it to the EdgeFirewallId field.

func (*CreateDomainRequest) SetEdgeFirewallIdNil added in v0.127.0

func (o *CreateDomainRequest) SetEdgeFirewallIdNil()

SetEdgeFirewallIdNil sets the value for EdgeFirewallId to be an explicit nil

func (*CreateDomainRequest) SetEnvironment added in v0.125.0

func (o *CreateDomainRequest) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*CreateDomainRequest) SetIsActive

func (o *CreateDomainRequest) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*CreateDomainRequest) SetIsMtlsEnabled added in v0.125.0

func (o *CreateDomainRequest) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled gets a reference to the given bool and assigns it to the IsMtlsEnabled field.

func (*CreateDomainRequest) SetMtlsTrustedCaCertificateId added in v0.125.0

func (o *CreateDomainRequest) SetMtlsTrustedCaCertificateId(v int64)

SetMtlsTrustedCaCertificateId gets a reference to the given NullableInt64 and assigns it to the MtlsTrustedCaCertificateId field.

func (*CreateDomainRequest) SetMtlsTrustedCaCertificateIdNil added in v0.125.0

func (o *CreateDomainRequest) SetMtlsTrustedCaCertificateIdNil()

SetMtlsTrustedCaCertificateIdNil sets the value for MtlsTrustedCaCertificateId to be an explicit nil

func (*CreateDomainRequest) SetMtlsVerification added in v0.125.0

func (o *CreateDomainRequest) SetMtlsVerification(v string)

SetMtlsVerification gets a reference to the given string and assigns it to the MtlsVerification field.

func (*CreateDomainRequest) SetName

func (o *CreateDomainRequest) SetName(v string)

SetName sets field value

func (CreateDomainRequest) ToMap added in v0.23.0

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

func (*CreateDomainRequest) UnmarshalJSON added in v0.125.0

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

func (*CreateDomainRequest) UnsetDigitalCertificateId added in v0.125.0

func (o *CreateDomainRequest) UnsetDigitalCertificateId()

UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil

func (*CreateDomainRequest) UnsetEdgeFirewallId added in v0.127.0

func (o *CreateDomainRequest) UnsetEdgeFirewallId()

UnsetEdgeFirewallId ensures that no value is present for EdgeFirewallId, not even an explicit nil

func (*CreateDomainRequest) UnsetMtlsTrustedCaCertificateId added in v0.125.0

func (o *CreateDomainRequest) UnsetMtlsTrustedCaCertificateId()

UnsetMtlsTrustedCaCertificateId ensures that no value is present for MtlsTrustedCaCertificateId, not even an explicit nil

type DomainData added in v0.125.0

type DomainData struct {
	Name                       *string       `json:"name,omitempty"`
	Cnames                     []string      `json:"cnames,omitempty"`
	CnameAccessOnly            *bool         `json:"cname_access_only,omitempty"`
	IsActive                   *bool         `json:"is_active,omitempty"`
	EdgeApplicationId          *int64        `json:"edge_application_id,omitempty"`
	DigitalCertificateId       NullableInt64 `json:"digital_certificate_id,omitempty"`
	Environment                *string       `json:"environment,omitempty"`
	IsMtlsEnabled              *bool         `json:"is_mtls_enabled,omitempty"`
	MtlsTrustedCaCertificateId NullableInt64 `json:"mtls_trusted_ca_certificate_id,omitempty"`
	EdgeFirewallId             NullableInt64 `json:"edge_firewall_id,omitempty"`
	MtlsVerification           *string       `json:"mtls_verification,omitempty"`
	CrlList                    []int64       `json:"crl_list,omitempty"`
}

DomainData struct for DomainData

func NewDomainData added in v0.125.0

func NewDomainData() *DomainData

NewDomainData instantiates a new DomainData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainDataWithDefaults added in v0.125.0

func NewDomainDataWithDefaults() *DomainData

NewDomainDataWithDefaults instantiates a new DomainData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainData) GetCnameAccessOnly added in v0.125.0

func (o *DomainData) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.

func (*DomainData) GetCnameAccessOnlyOk added in v0.125.0

func (o *DomainData) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*DomainData) GetCnames added in v0.125.0

func (o *DomainData) GetCnames() []string

GetCnames returns the Cnames field value if set, zero value otherwise.

func (*DomainData) GetCnamesOk added in v0.125.0

func (o *DomainData) GetCnamesOk() ([]string, bool)

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

func (*DomainData) GetCrlList added in v0.125.0

func (o *DomainData) GetCrlList() []int64

GetCrlList returns the CrlList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainData) GetCrlListOk added in v0.125.0

func (o *DomainData) GetCrlListOk() ([]int64, bool)

GetCrlListOk returns a tuple with the CrlList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainData) GetDigitalCertificateId added in v0.125.0

func (o *DomainData) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainData) GetDigitalCertificateIdOk added in v0.125.0

func (o *DomainData) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainData) GetEdgeApplicationId added in v0.125.0

func (o *DomainData) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value if set, zero value otherwise.

func (*DomainData) GetEdgeApplicationIdOk added in v0.125.0

func (o *DomainData) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*DomainData) GetEdgeFirewallId added in v0.127.0

func (o *DomainData) GetEdgeFirewallId() int64

GetEdgeFirewallId returns the EdgeFirewallId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainData) GetEdgeFirewallIdOk added in v0.127.0

func (o *DomainData) GetEdgeFirewallIdOk() (*int64, bool)

GetEdgeFirewallIdOk returns a tuple with the EdgeFirewallId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainData) GetEnvironment added in v0.125.0

func (o *DomainData) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*DomainData) GetEnvironmentOk added in v0.125.0

func (o *DomainData) GetEnvironmentOk() (*string, bool)

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

func (*DomainData) GetIsActive added in v0.125.0

func (o *DomainData) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*DomainData) GetIsActiveOk added in v0.125.0

func (o *DomainData) GetIsActiveOk() (*bool, bool)

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

func (*DomainData) GetIsMtlsEnabled added in v0.125.0

func (o *DomainData) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value if set, zero value otherwise.

func (*DomainData) GetIsMtlsEnabledOk added in v0.125.0

func (o *DomainData) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*DomainData) GetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainData) GetMtlsTrustedCaCertificateId() int64

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainData) GetMtlsTrustedCaCertificateIdOk added in v0.125.0

func (o *DomainData) GetMtlsTrustedCaCertificateIdOk() (*int64, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainData) GetMtlsVerification added in v0.125.0

func (o *DomainData) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value if set, zero value otherwise.

func (*DomainData) GetMtlsVerificationOk added in v0.125.0

func (o *DomainData) GetMtlsVerificationOk() (*string, bool)

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

func (*DomainData) GetName added in v0.125.0

func (o *DomainData) GetName() string

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

func (*DomainData) GetNameOk added in v0.125.0

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

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

func (*DomainData) HasCnameAccessOnly added in v0.125.0

func (o *DomainData) HasCnameAccessOnly() bool

HasCnameAccessOnly returns a boolean if a field has been set.

func (*DomainData) HasCnames added in v0.125.0

func (o *DomainData) HasCnames() bool

HasCnames returns a boolean if a field has been set.

func (*DomainData) HasCrlList added in v0.125.0

func (o *DomainData) HasCrlList() bool

HasCrlList returns a boolean if a field has been set.

func (*DomainData) HasDigitalCertificateId added in v0.125.0

func (o *DomainData) HasDigitalCertificateId() bool

HasDigitalCertificateId returns a boolean if a field has been set.

func (*DomainData) HasEdgeApplicationId added in v0.125.0

func (o *DomainData) HasEdgeApplicationId() bool

HasEdgeApplicationId returns a boolean if a field has been set.

func (*DomainData) HasEdgeFirewallId added in v0.127.0

func (o *DomainData) HasEdgeFirewallId() bool

HasEdgeFirewallId returns a boolean if a field has been set.

func (*DomainData) HasEnvironment added in v0.125.0

func (o *DomainData) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*DomainData) HasIsActive added in v0.125.0

func (o *DomainData) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*DomainData) HasIsMtlsEnabled added in v0.125.0

func (o *DomainData) HasIsMtlsEnabled() bool

HasIsMtlsEnabled returns a boolean if a field has been set.

func (*DomainData) HasMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainData) HasMtlsTrustedCaCertificateId() bool

HasMtlsTrustedCaCertificateId returns a boolean if a field has been set.

func (*DomainData) HasMtlsVerification added in v0.125.0

func (o *DomainData) HasMtlsVerification() bool

HasMtlsVerification returns a boolean if a field has been set.

func (*DomainData) HasName added in v0.125.0

func (o *DomainData) HasName() bool

HasName returns a boolean if a field has been set.

func (DomainData) MarshalJSON added in v0.125.0

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

func (*DomainData) SetCnameAccessOnly added in v0.125.0

func (o *DomainData) SetCnameAccessOnly(v bool)

SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.

func (*DomainData) SetCnames added in v0.125.0

func (o *DomainData) SetCnames(v []string)

SetCnames gets a reference to the given []string and assigns it to the Cnames field.

func (*DomainData) SetCrlList added in v0.125.0

func (o *DomainData) SetCrlList(v []int64)

SetCrlList gets a reference to the given []int64 and assigns it to the CrlList field.

func (*DomainData) SetDigitalCertificateId added in v0.125.0

func (o *DomainData) SetDigitalCertificateId(v int64)

SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.

func (*DomainData) SetDigitalCertificateIdNil added in v0.125.0

func (o *DomainData) SetDigitalCertificateIdNil()

SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil

func (*DomainData) SetEdgeApplicationId added in v0.125.0

func (o *DomainData) SetEdgeApplicationId(v int64)

SetEdgeApplicationId gets a reference to the given int64 and assigns it to the EdgeApplicationId field.

func (*DomainData) SetEdgeFirewallId added in v0.127.0

func (o *DomainData) SetEdgeFirewallId(v int64)

SetEdgeFirewallId gets a reference to the given NullableInt64 and assigns it to the EdgeFirewallId field.

func (*DomainData) SetEdgeFirewallIdNil added in v0.127.0

func (o *DomainData) SetEdgeFirewallIdNil()

SetEdgeFirewallIdNil sets the value for EdgeFirewallId to be an explicit nil

func (*DomainData) SetEnvironment added in v0.125.0

func (o *DomainData) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*DomainData) SetIsActive added in v0.125.0

func (o *DomainData) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*DomainData) SetIsMtlsEnabled added in v0.125.0

func (o *DomainData) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled gets a reference to the given bool and assigns it to the IsMtlsEnabled field.

func (*DomainData) SetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainData) SetMtlsTrustedCaCertificateId(v int64)

SetMtlsTrustedCaCertificateId gets a reference to the given NullableInt64 and assigns it to the MtlsTrustedCaCertificateId field.

func (*DomainData) SetMtlsTrustedCaCertificateIdNil added in v0.125.0

func (o *DomainData) SetMtlsTrustedCaCertificateIdNil()

SetMtlsTrustedCaCertificateIdNil sets the value for MtlsTrustedCaCertificateId to be an explicit nil

func (*DomainData) SetMtlsVerification added in v0.125.0

func (o *DomainData) SetMtlsVerification(v string)

SetMtlsVerification gets a reference to the given string and assigns it to the MtlsVerification field.

func (*DomainData) SetName added in v0.125.0

func (o *DomainData) SetName(v string)

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

func (DomainData) ToMap added in v0.125.0

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

func (*DomainData) UnsetDigitalCertificateId added in v0.125.0

func (o *DomainData) UnsetDigitalCertificateId()

UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil

func (*DomainData) UnsetEdgeFirewallId added in v0.127.0

func (o *DomainData) UnsetEdgeFirewallId()

UnsetEdgeFirewallId ensures that no value is present for EdgeFirewallId, not even an explicit nil

func (*DomainData) UnsetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainData) UnsetMtlsTrustedCaCertificateId()

UnsetMtlsTrustedCaCertificateId ensures that no value is present for MtlsTrustedCaCertificateId, not even an explicit nil

type DomainEntity added in v0.125.0

type DomainEntity struct {
	Name                       *string       `json:"name,omitempty"`
	Cnames                     []string      `json:"cnames,omitempty"`
	CnameAccessOnly            *bool         `json:"cname_access_only,omitempty"`
	IsActive                   *bool         `json:"is_active,omitempty"`
	EdgeApplicationId          *int64        `json:"edge_application_id,omitempty"`
	DigitalCertificateId       NullableInt64 `json:"digital_certificate_id,omitempty"`
	Environment                *string       `json:"environment,omitempty"`
	IsMtlsEnabled              *bool         `json:"is_mtls_enabled,omitempty"`
	MtlsTrustedCaCertificateId NullableInt64 `json:"mtls_trusted_ca_certificate_id,omitempty"`
	EdgeFirewallId             NullableInt64 `json:"edge_firewall_id,omitempty"`
	MtlsVerification           *string       `json:"mtls_verification,omitempty"`
	CrlList                    []int64       `json:"crl_list,omitempty"`
	Id                         *int64        `json:"id,omitempty"`
	DomainName                 *string       `json:"domain_name,omitempty"`
}

DomainEntity struct for DomainEntity

func NewDomainEntity added in v0.125.0

func NewDomainEntity() *DomainEntity

NewDomainEntity instantiates a new DomainEntity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainEntityWithDefaults added in v0.125.0

func NewDomainEntityWithDefaults() *DomainEntity

NewDomainEntityWithDefaults instantiates a new DomainEntity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainEntity) GetCnameAccessOnly added in v0.125.0

func (o *DomainEntity) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.

func (*DomainEntity) GetCnameAccessOnlyOk added in v0.125.0

func (o *DomainEntity) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*DomainEntity) GetCnames added in v0.125.0

func (o *DomainEntity) GetCnames() []string

GetCnames returns the Cnames field value if set, zero value otherwise.

func (*DomainEntity) GetCnamesOk added in v0.125.0

func (o *DomainEntity) GetCnamesOk() ([]string, bool)

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

func (*DomainEntity) GetCrlList added in v0.125.0

func (o *DomainEntity) GetCrlList() []int64

GetCrlList returns the CrlList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainEntity) GetCrlListOk added in v0.125.0

func (o *DomainEntity) GetCrlListOk() ([]int64, bool)

GetCrlListOk returns a tuple with the CrlList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainEntity) GetDigitalCertificateId added in v0.125.0

func (o *DomainEntity) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainEntity) GetDigitalCertificateIdOk added in v0.125.0

func (o *DomainEntity) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainEntity) GetDomainName added in v0.125.0

func (o *DomainEntity) GetDomainName() string

GetDomainName returns the DomainName field value if set, zero value otherwise.

func (*DomainEntity) GetDomainNameOk added in v0.125.0

func (o *DomainEntity) GetDomainNameOk() (*string, bool)

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

func (*DomainEntity) GetEdgeApplicationId added in v0.125.0

func (o *DomainEntity) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value if set, zero value otherwise.

func (*DomainEntity) GetEdgeApplicationIdOk added in v0.125.0

func (o *DomainEntity) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*DomainEntity) GetEdgeFirewallId added in v0.127.0

func (o *DomainEntity) GetEdgeFirewallId() int64

GetEdgeFirewallId returns the EdgeFirewallId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainEntity) GetEdgeFirewallIdOk added in v0.127.0

func (o *DomainEntity) GetEdgeFirewallIdOk() (*int64, bool)

GetEdgeFirewallIdOk returns a tuple with the EdgeFirewallId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainEntity) GetEnvironment added in v0.125.0

func (o *DomainEntity) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*DomainEntity) GetEnvironmentOk added in v0.125.0

func (o *DomainEntity) GetEnvironmentOk() (*string, bool)

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

func (*DomainEntity) GetId added in v0.125.0

func (o *DomainEntity) GetId() int64

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

func (*DomainEntity) GetIdOk added in v0.125.0

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

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

func (*DomainEntity) GetIsActive added in v0.125.0

func (o *DomainEntity) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*DomainEntity) GetIsActiveOk added in v0.125.0

func (o *DomainEntity) GetIsActiveOk() (*bool, bool)

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

func (*DomainEntity) GetIsMtlsEnabled added in v0.125.0

func (o *DomainEntity) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value if set, zero value otherwise.

func (*DomainEntity) GetIsMtlsEnabledOk added in v0.125.0

func (o *DomainEntity) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*DomainEntity) GetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainEntity) GetMtlsTrustedCaCertificateId() int64

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DomainEntity) GetMtlsTrustedCaCertificateIdOk added in v0.125.0

func (o *DomainEntity) GetMtlsTrustedCaCertificateIdOk() (*int64, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainEntity) GetMtlsVerification added in v0.125.0

func (o *DomainEntity) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value if set, zero value otherwise.

func (*DomainEntity) GetMtlsVerificationOk added in v0.125.0

func (o *DomainEntity) GetMtlsVerificationOk() (*string, bool)

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

func (*DomainEntity) GetName added in v0.125.0

func (o *DomainEntity) GetName() string

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

func (*DomainEntity) GetNameOk added in v0.125.0

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

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

func (*DomainEntity) HasCnameAccessOnly added in v0.125.0

func (o *DomainEntity) HasCnameAccessOnly() bool

HasCnameAccessOnly returns a boolean if a field has been set.

func (*DomainEntity) HasCnames added in v0.125.0

func (o *DomainEntity) HasCnames() bool

HasCnames returns a boolean if a field has been set.

func (*DomainEntity) HasCrlList added in v0.125.0

func (o *DomainEntity) HasCrlList() bool

HasCrlList returns a boolean if a field has been set.

func (*DomainEntity) HasDigitalCertificateId added in v0.125.0

func (o *DomainEntity) HasDigitalCertificateId() bool

HasDigitalCertificateId returns a boolean if a field has been set.

func (*DomainEntity) HasDomainName added in v0.125.0

func (o *DomainEntity) HasDomainName() bool

HasDomainName returns a boolean if a field has been set.

func (*DomainEntity) HasEdgeApplicationId added in v0.125.0

func (o *DomainEntity) HasEdgeApplicationId() bool

HasEdgeApplicationId returns a boolean if a field has been set.

func (*DomainEntity) HasEdgeFirewallId added in v0.127.0

func (o *DomainEntity) HasEdgeFirewallId() bool

HasEdgeFirewallId returns a boolean if a field has been set.

func (*DomainEntity) HasEnvironment added in v0.125.0

func (o *DomainEntity) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*DomainEntity) HasId added in v0.125.0

func (o *DomainEntity) HasId() bool

HasId returns a boolean if a field has been set.

func (*DomainEntity) HasIsActive added in v0.125.0

func (o *DomainEntity) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*DomainEntity) HasIsMtlsEnabled added in v0.125.0

func (o *DomainEntity) HasIsMtlsEnabled() bool

HasIsMtlsEnabled returns a boolean if a field has been set.

func (*DomainEntity) HasMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainEntity) HasMtlsTrustedCaCertificateId() bool

HasMtlsTrustedCaCertificateId returns a boolean if a field has been set.

func (*DomainEntity) HasMtlsVerification added in v0.125.0

func (o *DomainEntity) HasMtlsVerification() bool

HasMtlsVerification returns a boolean if a field has been set.

func (*DomainEntity) HasName added in v0.125.0

func (o *DomainEntity) HasName() bool

HasName returns a boolean if a field has been set.

func (DomainEntity) MarshalJSON added in v0.125.0

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

func (*DomainEntity) SetCnameAccessOnly added in v0.125.0

func (o *DomainEntity) SetCnameAccessOnly(v bool)

SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.

func (*DomainEntity) SetCnames added in v0.125.0

func (o *DomainEntity) SetCnames(v []string)

SetCnames gets a reference to the given []string and assigns it to the Cnames field.

func (*DomainEntity) SetCrlList added in v0.125.0

func (o *DomainEntity) SetCrlList(v []int64)

SetCrlList gets a reference to the given []int64 and assigns it to the CrlList field.

func (*DomainEntity) SetDigitalCertificateId added in v0.125.0

func (o *DomainEntity) SetDigitalCertificateId(v int64)

SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.

func (*DomainEntity) SetDigitalCertificateIdNil added in v0.125.0

func (o *DomainEntity) SetDigitalCertificateIdNil()

SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil

func (*DomainEntity) SetDomainName added in v0.125.0

func (o *DomainEntity) SetDomainName(v string)

SetDomainName gets a reference to the given string and assigns it to the DomainName field.

func (*DomainEntity) SetEdgeApplicationId added in v0.125.0

func (o *DomainEntity) SetEdgeApplicationId(v int64)

SetEdgeApplicationId gets a reference to the given int64 and assigns it to the EdgeApplicationId field.

func (*DomainEntity) SetEdgeFirewallId added in v0.127.0

func (o *DomainEntity) SetEdgeFirewallId(v int64)

SetEdgeFirewallId gets a reference to the given NullableInt64 and assigns it to the EdgeFirewallId field.

func (*DomainEntity) SetEdgeFirewallIdNil added in v0.127.0

func (o *DomainEntity) SetEdgeFirewallIdNil()

SetEdgeFirewallIdNil sets the value for EdgeFirewallId to be an explicit nil

func (*DomainEntity) SetEnvironment added in v0.125.0

func (o *DomainEntity) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*DomainEntity) SetId added in v0.125.0

func (o *DomainEntity) SetId(v int64)

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

func (*DomainEntity) SetIsActive added in v0.125.0

func (o *DomainEntity) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*DomainEntity) SetIsMtlsEnabled added in v0.125.0

func (o *DomainEntity) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled gets a reference to the given bool and assigns it to the IsMtlsEnabled field.

func (*DomainEntity) SetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainEntity) SetMtlsTrustedCaCertificateId(v int64)

SetMtlsTrustedCaCertificateId gets a reference to the given NullableInt64 and assigns it to the MtlsTrustedCaCertificateId field.

func (*DomainEntity) SetMtlsTrustedCaCertificateIdNil added in v0.125.0

func (o *DomainEntity) SetMtlsTrustedCaCertificateIdNil()

SetMtlsTrustedCaCertificateIdNil sets the value for MtlsTrustedCaCertificateId to be an explicit nil

func (*DomainEntity) SetMtlsVerification added in v0.125.0

func (o *DomainEntity) SetMtlsVerification(v string)

SetMtlsVerification gets a reference to the given string and assigns it to the MtlsVerification field.

func (*DomainEntity) SetName added in v0.125.0

func (o *DomainEntity) SetName(v string)

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

func (DomainEntity) ToMap added in v0.125.0

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

func (*DomainEntity) UnsetDigitalCertificateId added in v0.125.0

func (o *DomainEntity) UnsetDigitalCertificateId()

UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil

func (*DomainEntity) UnsetEdgeFirewallId added in v0.127.0

func (o *DomainEntity) UnsetEdgeFirewallId()

UnsetEdgeFirewallId ensures that no value is present for EdgeFirewallId, not even an explicit nil

func (*DomainEntity) UnsetMtlsTrustedCaCertificateId added in v0.125.0

func (o *DomainEntity) UnsetMtlsTrustedCaCertificateId()

UnsetMtlsTrustedCaCertificateId ensures that no value is present for MtlsTrustedCaCertificateId, not even an explicit nil

type DomainLinks struct {
	Previous NullableString `json:"previous"`
	Next     NullableString `json:"next"`
}

DomainLinks struct for DomainLinks

func NewDomainLinks(previous NullableString, next NullableString) *DomainLinks

NewDomainLinks instantiates a new DomainLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainLinksWithDefaults

func NewDomainLinksWithDefaults() *DomainLinks

NewDomainLinksWithDefaults instantiates a new DomainLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainLinks) GetNext

func (o *DomainLinks) GetNext() string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*DomainLinks) GetNextOk

func (o *DomainLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainLinks) GetPrevious

func (o *DomainLinks) GetPrevious() string

GetPrevious returns the Previous field value If the value is explicit nil, the zero value for string will be returned

func (*DomainLinks) GetPreviousOk

func (o *DomainLinks) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (DomainLinks) MarshalJSON

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

func (*DomainLinks) SetNext

func (o *DomainLinks) SetNext(v string)

SetNext sets field value

func (*DomainLinks) SetPrevious

func (o *DomainLinks) SetPrevious(v string)

SetPrevious sets field value

func (DomainLinks) ToMap added in v0.23.0

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

func (*DomainLinks) UnmarshalJSON added in v0.125.0

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

type DomainResponseWithResult

type DomainResponseWithResult struct {
	Count         *int64       `json:"count,omitempty"`
	Links         *DomainLinks `json:"links,omitempty"`
	Results       DomainEntity `json:"results"`
	TotalPages    *int64       `json:"total_pages,omitempty"`
	SchemaVersion int64        `json:"schema_version"`
}

DomainResponseWithResult struct for DomainResponseWithResult

func NewDomainResponseWithResult

func NewDomainResponseWithResult(results DomainEntity, schemaVersion int64) *DomainResponseWithResult

NewDomainResponseWithResult instantiates a new DomainResponseWithResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainResponseWithResultWithDefaults

func NewDomainResponseWithResultWithDefaults() *DomainResponseWithResult

NewDomainResponseWithResultWithDefaults instantiates a new DomainResponseWithResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainResponseWithResult) GetCount added in v0.125.0

func (o *DomainResponseWithResult) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*DomainResponseWithResult) GetCountOk added in v0.125.0

func (o *DomainResponseWithResult) GetCountOk() (*int64, bool)

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

func (o *DomainResponseWithResult) GetLinks() DomainLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*DomainResponseWithResult) GetLinksOk added in v0.125.0

func (o *DomainResponseWithResult) GetLinksOk() (*DomainLinks, bool)

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

func (*DomainResponseWithResult) GetResults

func (o *DomainResponseWithResult) GetResults() DomainEntity

GetResults returns the Results field value

func (*DomainResponseWithResult) GetResultsOk

func (o *DomainResponseWithResult) GetResultsOk() (*DomainEntity, bool)

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

func (*DomainResponseWithResult) GetSchemaVersion

func (o *DomainResponseWithResult) GetSchemaVersion() int64

GetSchemaVersion returns the SchemaVersion field value

func (*DomainResponseWithResult) GetSchemaVersionOk

func (o *DomainResponseWithResult) GetSchemaVersionOk() (*int64, bool)

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

func (*DomainResponseWithResult) GetTotalPages added in v0.125.0

func (o *DomainResponseWithResult) GetTotalPages() int64

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*DomainResponseWithResult) GetTotalPagesOk added in v0.125.0

func (o *DomainResponseWithResult) GetTotalPagesOk() (*int64, bool)

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

func (*DomainResponseWithResult) HasCount added in v0.125.0

func (o *DomainResponseWithResult) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *DomainResponseWithResult) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*DomainResponseWithResult) HasTotalPages added in v0.125.0

func (o *DomainResponseWithResult) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (DomainResponseWithResult) MarshalJSON

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

func (*DomainResponseWithResult) SetCount added in v0.125.0

func (o *DomainResponseWithResult) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (o *DomainResponseWithResult) SetLinks(v DomainLinks)

SetLinks gets a reference to the given DomainLinks and assigns it to the Links field.

func (*DomainResponseWithResult) SetResults

func (o *DomainResponseWithResult) SetResults(v DomainEntity)

SetResults sets field value

func (*DomainResponseWithResult) SetSchemaVersion

func (o *DomainResponseWithResult) SetSchemaVersion(v int64)

SetSchemaVersion sets field value

func (*DomainResponseWithResult) SetTotalPages added in v0.125.0

func (o *DomainResponseWithResult) SetTotalPages(v int64)

SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.

func (DomainResponseWithResult) ToMap added in v0.23.0

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

func (*DomainResponseWithResult) UnmarshalJSON added in v0.125.0

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

type DomainResponseWithResults

type DomainResponseWithResults struct {
	Count         int64          `json:"count"`
	TotalPages    int64          `json:"total_pages"`
	SchemaVersion int64          `json:"schema_version"`
	Links         DomainLinks    `json:"links"`
	Results       []DomainEntity `json:"results"`
}

DomainResponseWithResults struct for DomainResponseWithResults

func NewDomainResponseWithResults

func NewDomainResponseWithResults(count int64, totalPages int64, schemaVersion int64, links DomainLinks, results []DomainEntity) *DomainResponseWithResults

NewDomainResponseWithResults instantiates a new DomainResponseWithResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainResponseWithResultsWithDefaults

func NewDomainResponseWithResultsWithDefaults() *DomainResponseWithResults

NewDomainResponseWithResultsWithDefaults instantiates a new DomainResponseWithResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainResponseWithResults) GetCount

func (o *DomainResponseWithResults) GetCount() int64

GetCount returns the Count field value

func (*DomainResponseWithResults) GetCountOk

func (o *DomainResponseWithResults) GetCountOk() (*int64, bool)

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

func (o *DomainResponseWithResults) GetLinks() DomainLinks

GetLinks returns the Links field value

func (*DomainResponseWithResults) GetLinksOk

func (o *DomainResponseWithResults) GetLinksOk() (*DomainLinks, bool)

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

func (*DomainResponseWithResults) GetResults

func (o *DomainResponseWithResults) GetResults() []DomainEntity

GetResults returns the Results field value

func (*DomainResponseWithResults) GetResultsOk

func (o *DomainResponseWithResults) GetResultsOk() ([]DomainEntity, bool)

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

func (*DomainResponseWithResults) GetSchemaVersion

func (o *DomainResponseWithResults) GetSchemaVersion() int64

GetSchemaVersion returns the SchemaVersion field value

func (*DomainResponseWithResults) GetSchemaVersionOk

func (o *DomainResponseWithResults) GetSchemaVersionOk() (*int64, bool)

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

func (*DomainResponseWithResults) GetTotalPages

func (o *DomainResponseWithResults) GetTotalPages() int64

GetTotalPages returns the TotalPages field value

func (*DomainResponseWithResults) GetTotalPagesOk

func (o *DomainResponseWithResults) GetTotalPagesOk() (*int64, bool)

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

func (DomainResponseWithResults) MarshalJSON

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

func (*DomainResponseWithResults) SetCount

func (o *DomainResponseWithResults) SetCount(v int64)

SetCount sets field value

func (o *DomainResponseWithResults) SetLinks(v DomainLinks)

SetLinks sets field value

func (*DomainResponseWithResults) SetResults

func (o *DomainResponseWithResults) SetResults(v []DomainEntity)

SetResults sets field value

func (*DomainResponseWithResults) SetSchemaVersion

func (o *DomainResponseWithResults) SetSchemaVersion(v int64)

SetSchemaVersion sets field value

func (*DomainResponseWithResults) SetTotalPages

func (o *DomainResponseWithResults) SetTotalPages(v int64)

SetTotalPages sets field value

func (DomainResponseWithResults) ToMap added in v0.23.0

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

func (*DomainResponseWithResults) UnmarshalJSON added in v0.125.0

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

type DomainResults

type DomainResults struct {
	Id                         int64          `json:"id"`
	Name                       string         `json:"name"`
	Cnames                     []string       `json:"cnames"`
	CnameAccessOnly            bool           `json:"cname_access_only"`
	IsActive                   bool           `json:"is_active"`
	EdgeApplicationId          int64          `json:"edge_application_id"`
	DigitalCertificateId       NullableInt64  `json:"digital_certificate_id"`
	DomainName                 string         `json:"domain_name"`
	Environment                *string        `json:"environment,omitempty"`
	IsMtlsEnabled              bool           `json:"is_mtls_enabled"`
	MtlsTrustedCaCertificateId NullableString `json:"mtls_trusted_ca_certificate_id"`
	MtlsVerification           NullableString `json:"mtls_verification"`
}

DomainResults struct for DomainResults

func NewDomainResults

func NewDomainResults(id int64, name string, cnames []string, cnameAccessOnly bool, isActive bool, edgeApplicationId int64, digitalCertificateId NullableInt64, domainName string, isMtlsEnabled bool, mtlsTrustedCaCertificateId NullableString, mtlsVerification NullableString) *DomainResults

NewDomainResults instantiates a new DomainResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDomainResultsWithDefaults

func NewDomainResultsWithDefaults() *DomainResults

NewDomainResultsWithDefaults instantiates a new DomainResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DomainResults) GetCnameAccessOnly

func (o *DomainResults) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value

func (*DomainResults) GetCnameAccessOnlyOk

func (o *DomainResults) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*DomainResults) GetCnames

func (o *DomainResults) GetCnames() []string

GetCnames returns the Cnames field value

func (*DomainResults) GetCnamesOk

func (o *DomainResults) GetCnamesOk() ([]string, bool)

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

func (*DomainResults) GetDigitalCertificateId

func (o *DomainResults) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value If the value is explicit nil, the zero value for int64 will be returned

func (*DomainResults) GetDigitalCertificateIdOk

func (o *DomainResults) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainResults) GetDomainName

func (o *DomainResults) GetDomainName() string

GetDomainName returns the DomainName field value

func (*DomainResults) GetDomainNameOk

func (o *DomainResults) GetDomainNameOk() (*string, bool)

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

func (*DomainResults) GetEdgeApplicationId

func (o *DomainResults) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value

func (*DomainResults) GetEdgeApplicationIdOk

func (o *DomainResults) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*DomainResults) GetEnvironment

func (o *DomainResults) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*DomainResults) GetEnvironmentOk

func (o *DomainResults) GetEnvironmentOk() (*string, bool)

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

func (*DomainResults) GetId

func (o *DomainResults) GetId() int64

GetId returns the Id field value

func (*DomainResults) GetIdOk

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

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

func (*DomainResults) GetIsActive

func (o *DomainResults) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*DomainResults) GetIsActiveOk

func (o *DomainResults) GetIsActiveOk() (*bool, bool)

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

func (*DomainResults) GetIsMtlsEnabled added in v0.59.0

func (o *DomainResults) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value

func (*DomainResults) GetIsMtlsEnabledOk added in v0.59.0

func (o *DomainResults) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*DomainResults) GetMtlsTrustedCaCertificateId added in v0.59.0

func (o *DomainResults) GetMtlsTrustedCaCertificateId() string

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value If the value is explicit nil, the zero value for string will be returned

func (*DomainResults) GetMtlsTrustedCaCertificateIdOk added in v0.59.0

func (o *DomainResults) GetMtlsTrustedCaCertificateIdOk() (*string, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainResults) GetMtlsVerification added in v0.59.0

func (o *DomainResults) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value If the value is explicit nil, the zero value for string will be returned

func (*DomainResults) GetMtlsVerificationOk added in v0.59.0

func (o *DomainResults) GetMtlsVerificationOk() (*string, bool)

GetMtlsVerificationOk returns a tuple with the MtlsVerification field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DomainResults) GetName

func (o *DomainResults) GetName() string

GetName returns the Name field value

func (*DomainResults) GetNameOk

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

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

func (*DomainResults) HasEnvironment

func (o *DomainResults) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (DomainResults) MarshalJSON

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

func (*DomainResults) SetCnameAccessOnly

func (o *DomainResults) SetCnameAccessOnly(v bool)

SetCnameAccessOnly sets field value

func (*DomainResults) SetCnames

func (o *DomainResults) SetCnames(v []string)

SetCnames sets field value

func (*DomainResults) SetDigitalCertificateId

func (o *DomainResults) SetDigitalCertificateId(v int64)

SetDigitalCertificateId sets field value

func (*DomainResults) SetDomainName

func (o *DomainResults) SetDomainName(v string)

SetDomainName sets field value

func (*DomainResults) SetEdgeApplicationId

func (o *DomainResults) SetEdgeApplicationId(v int64)

SetEdgeApplicationId sets field value

func (*DomainResults) SetEnvironment

func (o *DomainResults) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*DomainResults) SetId

func (o *DomainResults) SetId(v int64)

SetId sets field value

func (*DomainResults) SetIsActive

func (o *DomainResults) SetIsActive(v bool)

SetIsActive sets field value

func (*DomainResults) SetIsMtlsEnabled added in v0.59.0

func (o *DomainResults) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled sets field value

func (*DomainResults) SetMtlsTrustedCaCertificateId added in v0.59.0

func (o *DomainResults) SetMtlsTrustedCaCertificateId(v string)

SetMtlsTrustedCaCertificateId sets field value

func (*DomainResults) SetMtlsVerification added in v0.59.0

func (o *DomainResults) SetMtlsVerification(v string)

SetMtlsVerification sets field value

func (*DomainResults) SetName

func (o *DomainResults) SetName(v string)

SetName sets field value

func (DomainResults) ToMap added in v0.23.0

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

type DomainsAPIService added in v0.125.0

type DomainsAPIService service

DomainsAPIService DomainsAPI service

func (*DomainsAPIService) CreateDomain added in v0.125.0

CreateDomain /domains

It enables you to include a new domain into an account.

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

func (*DomainsAPIService) CreateDomainExecute added in v0.125.0

Execute executes the request

@return DomainResponseWithResult

func (*DomainsAPIService) DelDomain added in v0.125.0

DelDomain /domains/:id

It enables you to delete a domain.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the domain to be deleted.
@return ApiDelDomainRequest

func (*DomainsAPIService) DelDomainExecute added in v0.125.0

func (a *DomainsAPIService) DelDomainExecute(r ApiDelDomainRequest) (*http.Response, error)

Execute executes the request

func (*DomainsAPIService) GetDomain added in v0.125.0

GetDomain /domains/:id

It returns details of a domain.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the domain to be consulted.
@return ApiGetDomainRequest

func (*DomainsAPIService) GetDomainExecute added in v0.125.0

Execute executes the request

@return DomainResponseWithResult

func (*DomainsAPIService) GetDomains added in v0.125.0

GetDomains /domains

It returns the list of domains of an account.

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

func (*DomainsAPIService) GetDomainsExecute added in v0.125.0

Execute executes the request

@return DomainResponseWithResults

func (*DomainsAPIService) PutDomain added in v0.125.0

PutDomain /domains:/:id

It overwrites all fields of a domain, while preserving the id. Optional fields not filled in will be replaced by the default values.

To update only some fields in a domain, consider using the PATCH method instead of PUT.

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

func (*DomainsAPIService) PutDomainExecute added in v0.125.0

Execute executes the request

@return DomainResponseWithResult

func (*DomainsAPIService) UpdateDomain added in v0.125.0

UpdateDomain /domains/:id

It updates one or more fields in a Domain, preserving the value of the fields not informed.

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

func (*DomainsAPIService) UpdateDomainExecute added in v0.125.0

Execute executes the request

@return DomainResponseWithResult

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 added in v0.23.0

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateDomainRequest

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

func NewNullableCreateDomainRequest

func NewNullableCreateDomainRequest(val *CreateDomainRequest) *NullableCreateDomainRequest

func (NullableCreateDomainRequest) Get

func (NullableCreateDomainRequest) IsSet

func (NullableCreateDomainRequest) MarshalJSON

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

func (*NullableCreateDomainRequest) Set

func (*NullableCreateDomainRequest) UnmarshalJSON

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

func (*NullableCreateDomainRequest) Unset

func (v *NullableCreateDomainRequest) Unset()

type NullableDomainData added in v0.125.0

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

func NewNullableDomainData added in v0.125.0

func NewNullableDomainData(val *DomainData) *NullableDomainData

func (NullableDomainData) Get added in v0.125.0

func (v NullableDomainData) Get() *DomainData

func (NullableDomainData) IsSet added in v0.125.0

func (v NullableDomainData) IsSet() bool

func (NullableDomainData) MarshalJSON added in v0.125.0

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

func (*NullableDomainData) Set added in v0.125.0

func (v *NullableDomainData) Set(val *DomainData)

func (*NullableDomainData) UnmarshalJSON added in v0.125.0

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

func (*NullableDomainData) Unset added in v0.125.0

func (v *NullableDomainData) Unset()

type NullableDomainEntity added in v0.125.0

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

func NewNullableDomainEntity added in v0.125.0

func NewNullableDomainEntity(val *DomainEntity) *NullableDomainEntity

func (NullableDomainEntity) Get added in v0.125.0

func (NullableDomainEntity) IsSet added in v0.125.0

func (v NullableDomainEntity) IsSet() bool

func (NullableDomainEntity) MarshalJSON added in v0.125.0

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

func (*NullableDomainEntity) Set added in v0.125.0

func (v *NullableDomainEntity) Set(val *DomainEntity)

func (*NullableDomainEntity) UnmarshalJSON added in v0.125.0

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

func (*NullableDomainEntity) Unset added in v0.125.0

func (v *NullableDomainEntity) Unset()
type NullableDomainLinks struct {
	// contains filtered or unexported fields
}
func NewNullableDomainLinks(val *DomainLinks) *NullableDomainLinks

func (NullableDomainLinks) Get

func (NullableDomainLinks) IsSet

func (v NullableDomainLinks) IsSet() bool

func (NullableDomainLinks) MarshalJSON

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

func (*NullableDomainLinks) Set

func (v *NullableDomainLinks) Set(val *DomainLinks)

func (*NullableDomainLinks) UnmarshalJSON

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

func (*NullableDomainLinks) Unset

func (v *NullableDomainLinks) Unset()

type NullableDomainResponseWithResult

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

func (NullableDomainResponseWithResult) Get

func (NullableDomainResponseWithResult) IsSet

func (NullableDomainResponseWithResult) MarshalJSON

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

func (*NullableDomainResponseWithResult) Set

func (*NullableDomainResponseWithResult) UnmarshalJSON

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

func (*NullableDomainResponseWithResult) Unset

type NullableDomainResponseWithResults

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

func (NullableDomainResponseWithResults) Get

func (NullableDomainResponseWithResults) IsSet

func (NullableDomainResponseWithResults) MarshalJSON

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

func (*NullableDomainResponseWithResults) Set

func (*NullableDomainResponseWithResults) UnmarshalJSON

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

func (*NullableDomainResponseWithResults) Unset

type NullableDomainResults

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

func NewNullableDomainResults

func NewNullableDomainResults(val *DomainResults) *NullableDomainResults

func (NullableDomainResults) Get

func (NullableDomainResults) IsSet

func (v NullableDomainResults) IsSet() bool

func (NullableDomainResults) MarshalJSON

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

func (*NullableDomainResults) Set

func (v *NullableDomainResults) Set(val *DomainResults)

func (*NullableDomainResults) UnmarshalJSON

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

func (*NullableDomainResults) Unset

func (v *NullableDomainResults) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullablePutDomainRequest

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

func NewNullablePutDomainRequest

func NewNullablePutDomainRequest(val *PutDomainRequest) *NullablePutDomainRequest

func (NullablePutDomainRequest) Get

func (NullablePutDomainRequest) IsSet

func (v NullablePutDomainRequest) IsSet() bool

func (NullablePutDomainRequest) MarshalJSON

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

func (*NullablePutDomainRequest) Set

func (*NullablePutDomainRequest) UnmarshalJSON

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

func (*NullablePutDomainRequest) Unset

func (v *NullablePutDomainRequest) 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 NullableUpdateDomainRequest

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

func NewNullableUpdateDomainRequest

func NewNullableUpdateDomainRequest(val *UpdateDomainRequest) *NullableUpdateDomainRequest

func (NullableUpdateDomainRequest) Get

func (NullableUpdateDomainRequest) IsSet

func (NullableUpdateDomainRequest) MarshalJSON

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

func (*NullableUpdateDomainRequest) Set

func (*NullableUpdateDomainRequest) UnmarshalJSON

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

func (*NullableUpdateDomainRequest) Unset

func (v *NullableUpdateDomainRequest) Unset()

type PutDomainRequest

type PutDomainRequest struct {
	Name                       string        `json:"name"`
	Cnames                     []string      `json:"cnames"`
	CnameAccessOnly            *bool         `json:"cname_access_only,omitempty"`
	IsActive                   *bool         `json:"is_active,omitempty"`
	EdgeApplicationId          int64         `json:"edge_application_id"`
	DigitalCertificateId       NullableInt64 `json:"digital_certificate_id,omitempty"`
	Environment                *string       `json:"environment,omitempty"`
	IsMtlsEnabled              *bool         `json:"is_mtls_enabled,omitempty"`
	MtlsTrustedCaCertificateId NullableInt64 `json:"mtls_trusted_ca_certificate_id,omitempty"`
	EdgeFirewallId             NullableInt64 `json:"edge_firewall_id,omitempty"`
	MtlsVerification           *string       `json:"mtls_verification,omitempty"`
	CrlList                    []int64       `json:"crl_list,omitempty"`
}

PutDomainRequest struct for PutDomainRequest

func NewPutDomainRequest

func NewPutDomainRequest(name string, cnames []string, edgeApplicationId int64) *PutDomainRequest

NewPutDomainRequest instantiates a new PutDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPutDomainRequestWithDefaults

func NewPutDomainRequestWithDefaults() *PutDomainRequest

NewPutDomainRequestWithDefaults instantiates a new PutDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PutDomainRequest) GetCnameAccessOnly

func (o *PutDomainRequest) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.

func (*PutDomainRequest) GetCnameAccessOnlyOk

func (o *PutDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*PutDomainRequest) GetCnames

func (o *PutDomainRequest) GetCnames() []string

GetCnames returns the Cnames field value

func (*PutDomainRequest) GetCnamesOk

func (o *PutDomainRequest) GetCnamesOk() ([]string, bool)

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

func (*PutDomainRequest) GetCrlList added in v0.125.0

func (o *PutDomainRequest) GetCrlList() []int64

GetCrlList returns the CrlList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PutDomainRequest) GetCrlListOk added in v0.125.0

func (o *PutDomainRequest) GetCrlListOk() ([]int64, bool)

GetCrlListOk returns a tuple with the CrlList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutDomainRequest) GetDigitalCertificateId

func (o *PutDomainRequest) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PutDomainRequest) GetDigitalCertificateIdOk

func (o *PutDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutDomainRequest) GetEdgeApplicationId

func (o *PutDomainRequest) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value

func (*PutDomainRequest) GetEdgeApplicationIdOk

func (o *PutDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*PutDomainRequest) GetEdgeFirewallId added in v0.127.0

func (o *PutDomainRequest) GetEdgeFirewallId() int64

GetEdgeFirewallId returns the EdgeFirewallId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PutDomainRequest) GetEdgeFirewallIdOk added in v0.127.0

func (o *PutDomainRequest) GetEdgeFirewallIdOk() (*int64, bool)

GetEdgeFirewallIdOk returns a tuple with the EdgeFirewallId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutDomainRequest) GetEnvironment added in v0.125.0

func (o *PutDomainRequest) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*PutDomainRequest) GetEnvironmentOk added in v0.125.0

func (o *PutDomainRequest) GetEnvironmentOk() (*string, bool)

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

func (*PutDomainRequest) GetIsActive

func (o *PutDomainRequest) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*PutDomainRequest) GetIsActiveOk

func (o *PutDomainRequest) GetIsActiveOk() (*bool, bool)

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

func (*PutDomainRequest) GetIsMtlsEnabled added in v0.125.0

func (o *PutDomainRequest) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value if set, zero value otherwise.

func (*PutDomainRequest) GetIsMtlsEnabledOk added in v0.125.0

func (o *PutDomainRequest) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*PutDomainRequest) GetMtlsTrustedCaCertificateId added in v0.125.0

func (o *PutDomainRequest) GetMtlsTrustedCaCertificateId() int64

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PutDomainRequest) GetMtlsTrustedCaCertificateIdOk added in v0.125.0

func (o *PutDomainRequest) GetMtlsTrustedCaCertificateIdOk() (*int64, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PutDomainRequest) GetMtlsVerification added in v0.125.0

func (o *PutDomainRequest) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value if set, zero value otherwise.

func (*PutDomainRequest) GetMtlsVerificationOk added in v0.125.0

func (o *PutDomainRequest) GetMtlsVerificationOk() (*string, bool)

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

func (*PutDomainRequest) GetName

func (o *PutDomainRequest) GetName() string

GetName returns the Name field value

func (*PutDomainRequest) GetNameOk

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

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

func (*PutDomainRequest) HasCnameAccessOnly added in v0.125.0

func (o *PutDomainRequest) HasCnameAccessOnly() bool

HasCnameAccessOnly returns a boolean if a field has been set.

func (*PutDomainRequest) HasCrlList added in v0.125.0

func (o *PutDomainRequest) HasCrlList() bool

HasCrlList returns a boolean if a field has been set.

func (*PutDomainRequest) HasDigitalCertificateId added in v0.125.0

func (o *PutDomainRequest) HasDigitalCertificateId() bool

HasDigitalCertificateId returns a boolean if a field has been set.

func (*PutDomainRequest) HasEdgeFirewallId added in v0.127.0

func (o *PutDomainRequest) HasEdgeFirewallId() bool

HasEdgeFirewallId returns a boolean if a field has been set.

func (*PutDomainRequest) HasEnvironment added in v0.125.0

func (o *PutDomainRequest) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*PutDomainRequest) HasIsActive added in v0.125.0

func (o *PutDomainRequest) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*PutDomainRequest) HasIsMtlsEnabled added in v0.125.0

func (o *PutDomainRequest) HasIsMtlsEnabled() bool

HasIsMtlsEnabled returns a boolean if a field has been set.

func (*PutDomainRequest) HasMtlsTrustedCaCertificateId added in v0.125.0

func (o *PutDomainRequest) HasMtlsTrustedCaCertificateId() bool

HasMtlsTrustedCaCertificateId returns a boolean if a field has been set.

func (*PutDomainRequest) HasMtlsVerification added in v0.125.0

func (o *PutDomainRequest) HasMtlsVerification() bool

HasMtlsVerification returns a boolean if a field has been set.

func (PutDomainRequest) MarshalJSON

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

func (*PutDomainRequest) SetCnameAccessOnly

func (o *PutDomainRequest) SetCnameAccessOnly(v bool)

SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.

func (*PutDomainRequest) SetCnames

func (o *PutDomainRequest) SetCnames(v []string)

SetCnames sets field value

func (*PutDomainRequest) SetCrlList added in v0.125.0

func (o *PutDomainRequest) SetCrlList(v []int64)

SetCrlList gets a reference to the given []int64 and assigns it to the CrlList field.

func (*PutDomainRequest) SetDigitalCertificateId

func (o *PutDomainRequest) SetDigitalCertificateId(v int64)

SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.

func (*PutDomainRequest) SetDigitalCertificateIdNil added in v0.125.0

func (o *PutDomainRequest) SetDigitalCertificateIdNil()

SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil

func (*PutDomainRequest) SetEdgeApplicationId

func (o *PutDomainRequest) SetEdgeApplicationId(v int64)

SetEdgeApplicationId sets field value

func (*PutDomainRequest) SetEdgeFirewallId added in v0.127.0

func (o *PutDomainRequest) SetEdgeFirewallId(v int64)

SetEdgeFirewallId gets a reference to the given NullableInt64 and assigns it to the EdgeFirewallId field.

func (*PutDomainRequest) SetEdgeFirewallIdNil added in v0.127.0

func (o *PutDomainRequest) SetEdgeFirewallIdNil()

SetEdgeFirewallIdNil sets the value for EdgeFirewallId to be an explicit nil

func (*PutDomainRequest) SetEnvironment added in v0.125.0

func (o *PutDomainRequest) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*PutDomainRequest) SetIsActive

func (o *PutDomainRequest) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*PutDomainRequest) SetIsMtlsEnabled added in v0.125.0

func (o *PutDomainRequest) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled gets a reference to the given bool and assigns it to the IsMtlsEnabled field.

func (*PutDomainRequest) SetMtlsTrustedCaCertificateId added in v0.125.0

func (o *PutDomainRequest) SetMtlsTrustedCaCertificateId(v int64)

SetMtlsTrustedCaCertificateId gets a reference to the given NullableInt64 and assigns it to the MtlsTrustedCaCertificateId field.

func (*PutDomainRequest) SetMtlsTrustedCaCertificateIdNil added in v0.125.0

func (o *PutDomainRequest) SetMtlsTrustedCaCertificateIdNil()

SetMtlsTrustedCaCertificateIdNil sets the value for MtlsTrustedCaCertificateId to be an explicit nil

func (*PutDomainRequest) SetMtlsVerification added in v0.125.0

func (o *PutDomainRequest) SetMtlsVerification(v string)

SetMtlsVerification gets a reference to the given string and assigns it to the MtlsVerification field.

func (*PutDomainRequest) SetName

func (o *PutDomainRequest) SetName(v string)

SetName sets field value

func (PutDomainRequest) ToMap added in v0.23.0

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

func (*PutDomainRequest) UnmarshalJSON added in v0.125.0

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

func (*PutDomainRequest) UnsetDigitalCertificateId added in v0.125.0

func (o *PutDomainRequest) UnsetDigitalCertificateId()

UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil

func (*PutDomainRequest) UnsetEdgeFirewallId added in v0.127.0

func (o *PutDomainRequest) UnsetEdgeFirewallId()

UnsetEdgeFirewallId ensures that no value is present for EdgeFirewallId, not even an explicit nil

func (*PutDomainRequest) UnsetMtlsTrustedCaCertificateId added in v0.125.0

func (o *PutDomainRequest) UnsetMtlsTrustedCaCertificateId()

UnsetMtlsTrustedCaCertificateId ensures that no value is present for MtlsTrustedCaCertificateId, not even an explicit nil

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type UpdateDomainRequest

type UpdateDomainRequest struct {
	Name                       *string       `json:"name,omitempty"`
	Cnames                     []string      `json:"cnames,omitempty"`
	CnameAccessOnly            *bool         `json:"cname_access_only,omitempty"`
	IsActive                   *bool         `json:"is_active,omitempty"`
	EdgeApplicationId          *int64        `json:"edge_application_id,omitempty"`
	DigitalCertificateId       NullableInt64 `json:"digital_certificate_id,omitempty"`
	Environment                *string       `json:"environment,omitempty"`
	IsMtlsEnabled              *bool         `json:"is_mtls_enabled,omitempty"`
	MtlsTrustedCaCertificateId NullableInt64 `json:"mtls_trusted_ca_certificate_id,omitempty"`
	EdgeFirewallId             NullableInt64 `json:"edge_firewall_id,omitempty"`
	MtlsVerification           *string       `json:"mtls_verification,omitempty"`
	CrlList                    []int64       `json:"crl_list,omitempty"`
}

UpdateDomainRequest struct for UpdateDomainRequest

func NewUpdateDomainRequest

func NewUpdateDomainRequest() *UpdateDomainRequest

NewUpdateDomainRequest instantiates a new UpdateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateDomainRequestWithDefaults

func NewUpdateDomainRequestWithDefaults() *UpdateDomainRequest

NewUpdateDomainRequestWithDefaults instantiates a new UpdateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateDomainRequest) GetCnameAccessOnly

func (o *UpdateDomainRequest) GetCnameAccessOnly() bool

GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetCnameAccessOnlyOk

func (o *UpdateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)

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

func (*UpdateDomainRequest) GetCnames

func (o *UpdateDomainRequest) GetCnames() []string

GetCnames returns the Cnames field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetCnamesOk

func (o *UpdateDomainRequest) GetCnamesOk() ([]string, bool)

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

func (*UpdateDomainRequest) GetCrlList added in v0.125.0

func (o *UpdateDomainRequest) GetCrlList() []int64

GetCrlList returns the CrlList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateDomainRequest) GetCrlListOk added in v0.125.0

func (o *UpdateDomainRequest) GetCrlListOk() ([]int64, bool)

GetCrlListOk returns a tuple with the CrlList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateDomainRequest) GetDigitalCertificateId

func (o *UpdateDomainRequest) GetDigitalCertificateId() int64

GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateDomainRequest) GetDigitalCertificateIdOk

func (o *UpdateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)

GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateDomainRequest) GetEdgeApplicationId

func (o *UpdateDomainRequest) GetEdgeApplicationId() int64

GetEdgeApplicationId returns the EdgeApplicationId field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetEdgeApplicationIdOk

func (o *UpdateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)

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

func (*UpdateDomainRequest) GetEdgeFirewallId added in v0.127.0

func (o *UpdateDomainRequest) GetEdgeFirewallId() int64

GetEdgeFirewallId returns the EdgeFirewallId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateDomainRequest) GetEdgeFirewallIdOk added in v0.127.0

func (o *UpdateDomainRequest) GetEdgeFirewallIdOk() (*int64, bool)

GetEdgeFirewallIdOk returns a tuple with the EdgeFirewallId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateDomainRequest) GetEnvironment added in v0.125.0

func (o *UpdateDomainRequest) GetEnvironment() string

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetEnvironmentOk added in v0.125.0

func (o *UpdateDomainRequest) GetEnvironmentOk() (*string, bool)

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

func (*UpdateDomainRequest) GetIsActive

func (o *UpdateDomainRequest) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetIsActiveOk

func (o *UpdateDomainRequest) GetIsActiveOk() (*bool, bool)

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

func (*UpdateDomainRequest) GetIsMtlsEnabled added in v0.125.0

func (o *UpdateDomainRequest) GetIsMtlsEnabled() bool

GetIsMtlsEnabled returns the IsMtlsEnabled field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetIsMtlsEnabledOk added in v0.125.0

func (o *UpdateDomainRequest) GetIsMtlsEnabledOk() (*bool, bool)

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

func (*UpdateDomainRequest) GetMtlsTrustedCaCertificateId added in v0.125.0

func (o *UpdateDomainRequest) GetMtlsTrustedCaCertificateId() int64

GetMtlsTrustedCaCertificateId returns the MtlsTrustedCaCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateDomainRequest) GetMtlsTrustedCaCertificateIdOk added in v0.125.0

func (o *UpdateDomainRequest) GetMtlsTrustedCaCertificateIdOk() (*int64, bool)

GetMtlsTrustedCaCertificateIdOk returns a tuple with the MtlsTrustedCaCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateDomainRequest) GetMtlsVerification added in v0.125.0

func (o *UpdateDomainRequest) GetMtlsVerification() string

GetMtlsVerification returns the MtlsVerification field value if set, zero value otherwise.

func (*UpdateDomainRequest) GetMtlsVerificationOk added in v0.125.0

func (o *UpdateDomainRequest) GetMtlsVerificationOk() (*string, bool)

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

func (*UpdateDomainRequest) GetName

func (o *UpdateDomainRequest) GetName() string

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

func (*UpdateDomainRequest) GetNameOk

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

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

func (*UpdateDomainRequest) HasCnameAccessOnly

func (o *UpdateDomainRequest) HasCnameAccessOnly() bool

HasCnameAccessOnly returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasCnames

func (o *UpdateDomainRequest) HasCnames() bool

HasCnames returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasCrlList added in v0.125.0

func (o *UpdateDomainRequest) HasCrlList() bool

HasCrlList returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasDigitalCertificateId

func (o *UpdateDomainRequest) HasDigitalCertificateId() bool

HasDigitalCertificateId returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasEdgeApplicationId

func (o *UpdateDomainRequest) HasEdgeApplicationId() bool

HasEdgeApplicationId returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasEdgeFirewallId added in v0.127.0

func (o *UpdateDomainRequest) HasEdgeFirewallId() bool

HasEdgeFirewallId returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasEnvironment added in v0.125.0

func (o *UpdateDomainRequest) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasIsActive

func (o *UpdateDomainRequest) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasIsMtlsEnabled added in v0.125.0

func (o *UpdateDomainRequest) HasIsMtlsEnabled() bool

HasIsMtlsEnabled returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasMtlsTrustedCaCertificateId added in v0.125.0

func (o *UpdateDomainRequest) HasMtlsTrustedCaCertificateId() bool

HasMtlsTrustedCaCertificateId returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasMtlsVerification added in v0.125.0

func (o *UpdateDomainRequest) HasMtlsVerification() bool

HasMtlsVerification returns a boolean if a field has been set.

func (*UpdateDomainRequest) HasName

func (o *UpdateDomainRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateDomainRequest) MarshalJSON

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

func (*UpdateDomainRequest) SetCnameAccessOnly

func (o *UpdateDomainRequest) SetCnameAccessOnly(v bool)

SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.

func (*UpdateDomainRequest) SetCnames

func (o *UpdateDomainRequest) SetCnames(v []string)

SetCnames gets a reference to the given []string and assigns it to the Cnames field.

func (*UpdateDomainRequest) SetCrlList added in v0.125.0

func (o *UpdateDomainRequest) SetCrlList(v []int64)

SetCrlList gets a reference to the given []int64 and assigns it to the CrlList field.

func (*UpdateDomainRequest) SetDigitalCertificateId

func (o *UpdateDomainRequest) SetDigitalCertificateId(v int64)

SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.

func (*UpdateDomainRequest) SetDigitalCertificateIdNil

func (o *UpdateDomainRequest) SetDigitalCertificateIdNil()

SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil

func (*UpdateDomainRequest) SetEdgeApplicationId

func (o *UpdateDomainRequest) SetEdgeApplicationId(v int64)

SetEdgeApplicationId gets a reference to the given int64 and assigns it to the EdgeApplicationId field.

func (*UpdateDomainRequest) SetEdgeFirewallId added in v0.127.0

func (o *UpdateDomainRequest) SetEdgeFirewallId(v int64)

SetEdgeFirewallId gets a reference to the given NullableInt64 and assigns it to the EdgeFirewallId field.

func (*UpdateDomainRequest) SetEdgeFirewallIdNil added in v0.127.0

func (o *UpdateDomainRequest) SetEdgeFirewallIdNil()

SetEdgeFirewallIdNil sets the value for EdgeFirewallId to be an explicit nil

func (*UpdateDomainRequest) SetEnvironment added in v0.125.0

func (o *UpdateDomainRequest) SetEnvironment(v string)

SetEnvironment gets a reference to the given string and assigns it to the Environment field.

func (*UpdateDomainRequest) SetIsActive

func (o *UpdateDomainRequest) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*UpdateDomainRequest) SetIsMtlsEnabled added in v0.125.0

func (o *UpdateDomainRequest) SetIsMtlsEnabled(v bool)

SetIsMtlsEnabled gets a reference to the given bool and assigns it to the IsMtlsEnabled field.

func (*UpdateDomainRequest) SetMtlsTrustedCaCertificateId added in v0.125.0

func (o *UpdateDomainRequest) SetMtlsTrustedCaCertificateId(v int64)

SetMtlsTrustedCaCertificateId gets a reference to the given NullableInt64 and assigns it to the MtlsTrustedCaCertificateId field.

func (*UpdateDomainRequest) SetMtlsTrustedCaCertificateIdNil added in v0.125.0

func (o *UpdateDomainRequest) SetMtlsTrustedCaCertificateIdNil()

SetMtlsTrustedCaCertificateIdNil sets the value for MtlsTrustedCaCertificateId to be an explicit nil

func (*UpdateDomainRequest) SetMtlsVerification added in v0.125.0

func (o *UpdateDomainRequest) SetMtlsVerification(v string)

SetMtlsVerification gets a reference to the given string and assigns it to the MtlsVerification field.

func (*UpdateDomainRequest) SetName

func (o *UpdateDomainRequest) SetName(v string)

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

func (UpdateDomainRequest) ToMap added in v0.23.0

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

func (*UpdateDomainRequest) UnsetDigitalCertificateId

func (o *UpdateDomainRequest) UnsetDigitalCertificateId()

UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil

func (*UpdateDomainRequest) UnsetEdgeFirewallId added in v0.127.0

func (o *UpdateDomainRequest) UnsetEdgeFirewallId()

UnsetEdgeFirewallId ensures that no value is present for EdgeFirewallId, not even an explicit nil

func (*UpdateDomainRequest) UnsetMtlsTrustedCaCertificateId added in v0.125.0

func (o *UpdateDomainRequest) UnsetMtlsTrustedCaCertificateId()

UnsetMtlsTrustedCaCertificateId ensures that no value is present for MtlsTrustedCaCertificateId, not even an explicit nil

Jump to

Keyboard shortcuts

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