dfp

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Go API client for DFP API

BloxOne Cloud is a SaaS offering designed to provide protection to devices on and off-premises, including roaming, remote, and branch offices. It provides visibility into infected and compromised devices, prevents DNS-based data exfiltration, and automatically stops device communications with command-and-control servers (C&Cs) and botnets, in addition to providing recursive DNS services in the cloud. You can access the services by deploying the BloxOne Endpoint agent or the DNS forwarding proxy.

For remote office deployments or in cases where installing an endpoint agent is not desirable or possible, you can use the DNS forwarding proxy. It is a software that runs on bare-metal, VM infrastructures, or Infoblox NIOS appliances; and it embeds the client IPs in DNS queries before forwarding them to BloxOne Cloud. The communications are encrypted and client visibility is maintained. The proxy also provides DNS resolution to local DNS zones when you configure local resolvers. Once you set up a DNS forwarding proxy, it becomes the main DNS server for your remote site. It will also cache responses to speed resolution of future queries.

By implementing the DNS forwarding proxy, you can rest assured that BloxOne Cloud effectively enforces DNS client-based security policies at your remote sites. On-premises devices that send DNS queries reveal their actual client IP addresses (instead of their NAT IP address), which allows BloxOne Cloud to apply the security policies applicable to the respective endpoints and identify infected clients.

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: v1
  • Generator version: 7.5.0
  • Build package: com.infoblox.codegen.BloxoneGoClientCodegen

Installation

Install the package using go get:

go get github.com/infobloxopen/bloxone-go-client/dfp

Import the package into your code:

import "github.com/infobloxopen/bloxone-go-client/dfp"

To use a proxy, set the environment variable HTTP_PROXY:

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

To create a new API client, you can use the NewAPIClient function as shown below

client := dfp.NewAPIClient()

Configuration

The NewAPIClient function accepts a variadic list of option.ClientOption functions that can be used to configure the client. It requires the option package to be imported. You can import the package using:

import "github.com/infobloxopen/bloxone-go-client/option"
Client Name

The client name is used to identify the client in the logs. By default, the client name is set to bloxone-go-client. You can change this using the option.WithClientName option. For example:

client := dfp.NewAPIClient(option.WithClientName("my-client"))
Server URL

The default URL for the Cloud Services Portal is https://csp.infoblox.com. If you need to change this, you can use option.WithCSPUrl to set the URL. For example:

client := dfp.NewAPIClient(option.WithCSPUrl("https://csp.eu.infoblox.com"))

You can also set the URL using the environment variable BLOXONE_CSP_URL

Authorization

An API key is required to access DFP API. You can obtain an API key by following the instructions in the guide for Configuring User API Keys.

To use an API key with DFP API, you can use the option.WithAPIKey option. For example:

client := dfp.NewAPIClient(option.WithAPIKey("YOUR_API_KEY"))

You can also set the API key using the environment variable BLOXONE_API_KEY

Note: The API key is a secret and should be handled securely. Hardcoding the API key in your code is not recommended.

Default Tags

You can set default tags for all API requests using the option.WithDefaultTags option. For example:

client := dfp.NewAPIClient(option.WithDefaultTags(map[string]string{"tag1": "value1", "tag2": "value2"}))

This will add the tags tag1=value1 and tag2=value2 to all API requests that support tags in the request body.

Documentation for API Endpoints

All URIs are relative to https://csp.infoblox.com/api/atcdfp/v1

Class Method HTTP request Description
AccountsAPI CheckConfig Post /config/check Check Config.
InfraServicesAPI CreateOrUpdateDfpService Put /dfp_services/{payload.service_id} Update DNS Forwarding Proxy services.
InfraServicesAPI ListDfpServices Get /dfp_services List DNS Forwarding Proxy services.
InfraServicesAPI ReadDfpService Get /dfp_services/{service_id} Read DNS Forwarding Proxy services.

Documentation For Models

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedDNSProtocolEnumValues = []DNSProtocol{
	"DO53",
	"DOT",
}

All allowed values of DNSProtocol enum

Functions

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	*internal.APIClient

	// API Services
	AccountsAPI      AccountsAPI
	InfraServicesAPI InfraServicesAPI
}

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

func NewAPIClient

func NewAPIClient(options ...option.ClientOption) *APIClient

NewAPIClient creates a new API client. The client can be configured with a variadic option. The following options are available: - WithClientName(string) sets the name of the client using the SDK. - WithCSPUrl(string) sets the URL for BloxOne Cloud Services Portal. - WithAPIKey(string) sets the APIKey for accessing the BloxOne API. - WithHTTPClient(*http.Client) sets the HTTPClient to use for the SDK. - WithDefaultTags(map[string]string) sets the tags the client can set by default for objects that has tags support. - WithDebug() sets the debug mode.

type AccountsAPI

type AccountsAPI interface {
	/*
		CheckConfig Check Config.

		Use this method to check configuration

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

	// CheckConfigExecute executes the request
	//  @return TypesConfigCheckResponse
	CheckConfigExecute(r AccountsAPICheckConfigRequest) (*TypesConfigCheckResponse, *http.Response, error)
}

type AccountsAPICheckConfigRequest

type AccountsAPICheckConfigRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPICheckConfigRequest) Body

func (AccountsAPICheckConfigRequest) Execute

type AccountsAPIService

type AccountsAPIService internal.Service

AccountsAPIService AccountsAPI service

func (*AccountsAPIService) CheckConfig

CheckConfig Check Config.

Use this method to check configuration

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

func (*AccountsAPIService) CheckConfigExecute

Execute executes the request

@return TypesConfigCheckResponse

type DNSProtocol

type DNSProtocol string

DNSProtocol the model 'DNSProtocol'

const (
	DNSPROTOCOL_DO53 DNSProtocol = "DO53"
	DNSPROTOCOL_DOT  DNSProtocol = "DOT"
)

List of atcdfpDNSProtocol

func NewDNSProtocolFromValue

func NewDNSProtocolFromValue(v string) (*DNSProtocol, error)

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

func (DNSProtocol) IsValid

func (v DNSProtocol) IsValid() bool

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

func (DNSProtocol) Ptr

func (v DNSProtocol) Ptr() *DNSProtocol

Ptr returns reference to atcdfpDNSProtocol value

func (*DNSProtocol) UnmarshalJSON

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

type Dfp

type Dfp struct {
	// The time when this DNS Forwarding Proxy object was created.
	CreatedTime *time.Time `json:"created_time,omitempty"`
	// The list of internal or local DNS servers' IPv4 or IPv6 addresses that are used as ELB IPs.
	ElbIpList        []string `json:"elb_ip_list,omitempty"`
	ForwardingPolicy *string  `json:"forwarding_policy,omitempty"`
	// host information. For internal Use only.
	Host []DfpHost `json:"host,omitempty"`
	// The DNS Forwarding Proxy object identifier.
	Id *int32 `json:"id,omitempty"`
	// The list of internal domains list IDs that are associated with this DFP
	InternalDomainLists []int32 `json:"internal_domain_lists,omitempty"`
	// The name of the DNS Forwarding Proxy.
	Name *string `json:"name,omitempty"`
	// List of network-address-scoped security policy assignments
	NetAddrPolicyIds []NetAddrPolicyAssignment `json:"net_addr_policy_ids,omitempty"`
	// The On-Prem Host identifier.
	Ophid *string `json:"ophid,omitempty"`
	// The identifier of the security policy with which the DNS Forwarding Proxy is associated.
	PolicyId *int32 `json:"policy_id,omitempty"`
	// Point of Presence (PoP) region
	PopRegionId  *int32     `json:"pop_region_id,omitempty"`
	ResolversAll []Resolver `json:"resolvers_all,omitempty"`
	// The On-Prem Application Service identifier. For internal Use only
	ServiceId *string `json:"service_id,omitempty"`
	// The On-Prem Application Service name. For internal Use only
	ServiceName *string `json:"service_name,omitempty"`
	// The DNS Forwarding Proxy site identifier that is appended to DNS queries originating from this DNS Forwarding Proxy and subsequently used for policy lookup purposes.
	SiteId *string `json:"site_id,omitempty"`
	// The time when this DNS Forwarding Proxy object was last updated.
	UpdatedTime          *time.Time `json:"updated_time,omitempty"`
	AdditionalProperties map[string]interface{}
}

Dfp struct for Dfp

func NewDfp

func NewDfp() *Dfp

NewDfp instantiates a new Dfp 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 NewDfpWithDefaults

func NewDfpWithDefaults() *Dfp

NewDfpWithDefaults instantiates a new Dfp 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 (*Dfp) GetCreatedTime

func (o *Dfp) GetCreatedTime() time.Time

GetCreatedTime returns the CreatedTime field value if set, zero value otherwise.

func (*Dfp) GetCreatedTimeOk

func (o *Dfp) GetCreatedTimeOk() (*time.Time, bool)

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

func (*Dfp) GetElbIpList

func (o *Dfp) GetElbIpList() []string

GetElbIpList returns the ElbIpList field value if set, zero value otherwise.

func (*Dfp) GetElbIpListOk

func (o *Dfp) GetElbIpListOk() ([]string, bool)

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

func (*Dfp) GetForwardingPolicy

func (o *Dfp) GetForwardingPolicy() string

GetForwardingPolicy returns the ForwardingPolicy field value if set, zero value otherwise.

func (*Dfp) GetForwardingPolicyOk

func (o *Dfp) GetForwardingPolicyOk() (*string, bool)

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

func (*Dfp) GetHost

func (o *Dfp) GetHost() []DfpHost

GetHost returns the Host field value if set, zero value otherwise.

func (*Dfp) GetHostOk

func (o *Dfp) GetHostOk() ([]DfpHost, bool)

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

func (*Dfp) GetId

func (o *Dfp) GetId() int32

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

func (*Dfp) GetIdOk

func (o *Dfp) GetIdOk() (*int32, bool)

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

func (*Dfp) GetInternalDomainLists

func (o *Dfp) GetInternalDomainLists() []int32

GetInternalDomainLists returns the InternalDomainLists field value if set, zero value otherwise.

func (*Dfp) GetInternalDomainListsOk

func (o *Dfp) GetInternalDomainListsOk() ([]int32, bool)

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

func (*Dfp) GetName

func (o *Dfp) GetName() string

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

func (*Dfp) GetNameOk

func (o *Dfp) 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 (*Dfp) GetNetAddrPolicyIds

func (o *Dfp) GetNetAddrPolicyIds() []NetAddrPolicyAssignment

GetNetAddrPolicyIds returns the NetAddrPolicyIds field value if set, zero value otherwise.

func (*Dfp) GetNetAddrPolicyIdsOk

func (o *Dfp) GetNetAddrPolicyIdsOk() ([]NetAddrPolicyAssignment, bool)

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

func (*Dfp) GetOphid

func (o *Dfp) GetOphid() string

GetOphid returns the Ophid field value if set, zero value otherwise.

func (*Dfp) GetOphidOk

func (o *Dfp) GetOphidOk() (*string, bool)

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

func (*Dfp) GetPolicyId

func (o *Dfp) GetPolicyId() int32

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*Dfp) GetPolicyIdOk

func (o *Dfp) GetPolicyIdOk() (*int32, bool)

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

func (*Dfp) GetPopRegionId

func (o *Dfp) GetPopRegionId() int32

GetPopRegionId returns the PopRegionId field value if set, zero value otherwise.

func (*Dfp) GetPopRegionIdOk

func (o *Dfp) GetPopRegionIdOk() (*int32, bool)

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

func (*Dfp) GetResolversAll

func (o *Dfp) GetResolversAll() []Resolver

GetResolversAll returns the ResolversAll field value if set, zero value otherwise.

func (*Dfp) GetResolversAllOk

func (o *Dfp) GetResolversAllOk() ([]Resolver, bool)

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

func (*Dfp) GetServiceId

func (o *Dfp) GetServiceId() string

GetServiceId returns the ServiceId field value if set, zero value otherwise.

func (*Dfp) GetServiceIdOk

func (o *Dfp) GetServiceIdOk() (*string, bool)

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

func (*Dfp) GetServiceName

func (o *Dfp) GetServiceName() string

GetServiceName returns the ServiceName field value if set, zero value otherwise.

func (*Dfp) GetServiceNameOk

func (o *Dfp) GetServiceNameOk() (*string, bool)

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

func (*Dfp) GetSiteId

func (o *Dfp) GetSiteId() string

GetSiteId returns the SiteId field value if set, zero value otherwise.

func (*Dfp) GetSiteIdOk

func (o *Dfp) GetSiteIdOk() (*string, bool)

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

func (*Dfp) GetUpdatedTime

func (o *Dfp) GetUpdatedTime() time.Time

GetUpdatedTime returns the UpdatedTime field value if set, zero value otherwise.

func (*Dfp) GetUpdatedTimeOk

func (o *Dfp) GetUpdatedTimeOk() (*time.Time, bool)

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

func (*Dfp) HasCreatedTime

func (o *Dfp) HasCreatedTime() bool

HasCreatedTime returns a boolean if a field has been set.

func (*Dfp) HasElbIpList

func (o *Dfp) HasElbIpList() bool

HasElbIpList returns a boolean if a field has been set.

func (*Dfp) HasForwardingPolicy

func (o *Dfp) HasForwardingPolicy() bool

HasForwardingPolicy returns a boolean if a field has been set.

func (*Dfp) HasHost

func (o *Dfp) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Dfp) HasId

func (o *Dfp) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dfp) HasInternalDomainLists

func (o *Dfp) HasInternalDomainLists() bool

HasInternalDomainLists returns a boolean if a field has been set.

func (*Dfp) HasName

func (o *Dfp) HasName() bool

HasName returns a boolean if a field has been set.

func (*Dfp) HasNetAddrPolicyIds

func (o *Dfp) HasNetAddrPolicyIds() bool

HasNetAddrPolicyIds returns a boolean if a field has been set.

func (*Dfp) HasOphid

func (o *Dfp) HasOphid() bool

HasOphid returns a boolean if a field has been set.

func (*Dfp) HasPolicyId

func (o *Dfp) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (*Dfp) HasPopRegionId

func (o *Dfp) HasPopRegionId() bool

HasPopRegionId returns a boolean if a field has been set.

func (*Dfp) HasResolversAll

func (o *Dfp) HasResolversAll() bool

HasResolversAll returns a boolean if a field has been set.

func (*Dfp) HasServiceId

func (o *Dfp) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*Dfp) HasServiceName

func (o *Dfp) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*Dfp) HasSiteId

func (o *Dfp) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (*Dfp) HasUpdatedTime

func (o *Dfp) HasUpdatedTime() bool

HasUpdatedTime returns a boolean if a field has been set.

func (Dfp) MarshalJSON

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

func (*Dfp) SetCreatedTime

func (o *Dfp) SetCreatedTime(v time.Time)

SetCreatedTime gets a reference to the given time.Time and assigns it to the CreatedTime field.

func (*Dfp) SetElbIpList

func (o *Dfp) SetElbIpList(v []string)

SetElbIpList gets a reference to the given []string and assigns it to the ElbIpList field.

func (*Dfp) SetForwardingPolicy

func (o *Dfp) SetForwardingPolicy(v string)

SetForwardingPolicy gets a reference to the given string and assigns it to the ForwardingPolicy field.

func (*Dfp) SetHost

func (o *Dfp) SetHost(v []DfpHost)

SetHost gets a reference to the given []DfpHost and assigns it to the Host field.

func (*Dfp) SetId

func (o *Dfp) SetId(v int32)

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

func (*Dfp) SetInternalDomainLists

func (o *Dfp) SetInternalDomainLists(v []int32)

SetInternalDomainLists gets a reference to the given []int32 and assigns it to the InternalDomainLists field.

func (*Dfp) SetName

func (o *Dfp) SetName(v string)

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

func (*Dfp) SetNetAddrPolicyIds

func (o *Dfp) SetNetAddrPolicyIds(v []NetAddrPolicyAssignment)

SetNetAddrPolicyIds gets a reference to the given []NetAddrPolicyAssignment and assigns it to the NetAddrPolicyIds field.

func (*Dfp) SetOphid

func (o *Dfp) SetOphid(v string)

SetOphid gets a reference to the given string and assigns it to the Ophid field.

func (*Dfp) SetPolicyId

func (o *Dfp) SetPolicyId(v int32)

SetPolicyId gets a reference to the given int32 and assigns it to the PolicyId field.

func (*Dfp) SetPopRegionId

func (o *Dfp) SetPopRegionId(v int32)

SetPopRegionId gets a reference to the given int32 and assigns it to the PopRegionId field.

func (*Dfp) SetResolversAll

func (o *Dfp) SetResolversAll(v []Resolver)

SetResolversAll gets a reference to the given []Resolver and assigns it to the ResolversAll field.

func (*Dfp) SetServiceId

func (o *Dfp) SetServiceId(v string)

SetServiceId gets a reference to the given string and assigns it to the ServiceId field.

func (*Dfp) SetServiceName

func (o *Dfp) SetServiceName(v string)

SetServiceName gets a reference to the given string and assigns it to the ServiceName field.

func (*Dfp) SetSiteId

func (o *Dfp) SetSiteId(v string)

SetSiteId gets a reference to the given string and assigns it to the SiteId field.

func (*Dfp) SetUpdatedTime

func (o *Dfp) SetUpdatedTime(v time.Time)

SetUpdatedTime gets a reference to the given time.Time and assigns it to the UpdatedTime field.

func (Dfp) ToMap

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

func (*Dfp) UnmarshalJSON

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

type DfpCreateOrUpdatePayload

type DfpCreateOrUpdatePayload struct {
	// The type of DNS resolver as Forwarding Policy. It can hold values as ib_cloud_first, external_first or external_only The default value is ib_cloud_first. If empty string is sent then ib_cloud_first will be considered.
	ForwardingPolicy *string `json:"forwarding_policy,omitempty"`
	// host information. For internal Use only.
	Host []DfpHost `json:"host,omitempty"`
	// The DNS Forwarding Proxy object identifier.
	Id *int32 `json:"id,omitempty"`
	// The list of internal domain list ids associated with this DFP (or resolvers)
	InternalDomainLists []int32 `json:"internal_domain_lists,omitempty"`
	// The name of the DNS Forwarding Proxy.
	Name *string `json:"name,omitempty"`
	// Point of Presence (PoP) region
	PopRegionId *int32 `json:"pop_region_id,omitempty"`
	// The DNS forwarding proxy additional resolvers used for fallback and local resolution. This field replaces resolvers and default_resolvers fields which are deprecated. Either deprecated fields or new field can be used, both can not be used at same time.
	ResolversAll []Resolver `json:"resolvers_all,omitempty"`
	// The DNS Forwarding Proxy Service ID object identifier.
	ServiceId *string `json:"service_id,omitempty"`
	// The name of the DNS Forwarding Proxy Service.
	ServiceName *string `json:"service_name,omitempty"`
	// The DNS Forwarding Proxy site identifier that is appended to DNS queries originating from this DNS Forwarding Proxy and subsequently used for policy lookup purposes.
	SiteId               *string `json:"site_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

DfpCreateOrUpdatePayload DNS Forwarding Proxy object. For remote office deployments or in cases where installing an endpoint agent is not desirable or possible, you can use the DNS forwarding proxy. It is a software that runs on bare-metal, VM infrastructures, or Infoblox NIOS appliances; and it embeds the client IPs in DNS queries before forwarding them to BloxOne Cloud. The communications are encrypted and client visibility is maintained. The proxy also provides DNS resolution to local DNS zones when you configure local resolvers. Once you set up a DNS forwarding proxy, it becomes the main DNS server for your remote site. It will also cache responses to speed resolution of future queries. Note that DNS Forwarding Proxy cannot be created (all information regarding DFP is synchronized from hostapp service).

func NewDfpCreateOrUpdatePayload

func NewDfpCreateOrUpdatePayload() *DfpCreateOrUpdatePayload

NewDfpCreateOrUpdatePayload instantiates a new DfpCreateOrUpdatePayload 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 NewDfpCreateOrUpdatePayloadWithDefaults

func NewDfpCreateOrUpdatePayloadWithDefaults() *DfpCreateOrUpdatePayload

NewDfpCreateOrUpdatePayloadWithDefaults instantiates a new DfpCreateOrUpdatePayload 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 (*DfpCreateOrUpdatePayload) GetForwardingPolicy

func (o *DfpCreateOrUpdatePayload) GetForwardingPolicy() string

GetForwardingPolicy returns the ForwardingPolicy field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetForwardingPolicyOk

func (o *DfpCreateOrUpdatePayload) GetForwardingPolicyOk() (*string, bool)

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

func (*DfpCreateOrUpdatePayload) GetHost

func (o *DfpCreateOrUpdatePayload) GetHost() []DfpHost

GetHost returns the Host field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetHostOk

func (o *DfpCreateOrUpdatePayload) GetHostOk() ([]DfpHost, bool)

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

func (*DfpCreateOrUpdatePayload) GetId

func (o *DfpCreateOrUpdatePayload) GetId() int32

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

func (*DfpCreateOrUpdatePayload) GetIdOk

func (o *DfpCreateOrUpdatePayload) GetIdOk() (*int32, bool)

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

func (*DfpCreateOrUpdatePayload) GetInternalDomainLists

func (o *DfpCreateOrUpdatePayload) GetInternalDomainLists() []int32

GetInternalDomainLists returns the InternalDomainLists field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetInternalDomainListsOk

func (o *DfpCreateOrUpdatePayload) GetInternalDomainListsOk() ([]int32, bool)

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

func (*DfpCreateOrUpdatePayload) GetName

func (o *DfpCreateOrUpdatePayload) GetName() string

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

func (*DfpCreateOrUpdatePayload) GetNameOk

func (o *DfpCreateOrUpdatePayload) 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 (*DfpCreateOrUpdatePayload) GetPopRegionId

func (o *DfpCreateOrUpdatePayload) GetPopRegionId() int32

GetPopRegionId returns the PopRegionId field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetPopRegionIdOk

func (o *DfpCreateOrUpdatePayload) GetPopRegionIdOk() (*int32, bool)

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

func (*DfpCreateOrUpdatePayload) GetResolversAll

func (o *DfpCreateOrUpdatePayload) GetResolversAll() []Resolver

GetResolversAll returns the ResolversAll field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetResolversAllOk

func (o *DfpCreateOrUpdatePayload) GetResolversAllOk() ([]Resolver, bool)

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

func (*DfpCreateOrUpdatePayload) GetServiceId

func (o *DfpCreateOrUpdatePayload) GetServiceId() string

GetServiceId returns the ServiceId field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetServiceIdOk

func (o *DfpCreateOrUpdatePayload) GetServiceIdOk() (*string, bool)

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

func (*DfpCreateOrUpdatePayload) GetServiceName

func (o *DfpCreateOrUpdatePayload) GetServiceName() string

GetServiceName returns the ServiceName field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetServiceNameOk

func (o *DfpCreateOrUpdatePayload) GetServiceNameOk() (*string, bool)

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

func (*DfpCreateOrUpdatePayload) GetSiteId

func (o *DfpCreateOrUpdatePayload) GetSiteId() string

GetSiteId returns the SiteId field value if set, zero value otherwise.

func (*DfpCreateOrUpdatePayload) GetSiteIdOk

func (o *DfpCreateOrUpdatePayload) GetSiteIdOk() (*string, bool)

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

func (*DfpCreateOrUpdatePayload) HasForwardingPolicy

func (o *DfpCreateOrUpdatePayload) HasForwardingPolicy() bool

HasForwardingPolicy returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasHost

func (o *DfpCreateOrUpdatePayload) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasId

func (o *DfpCreateOrUpdatePayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasInternalDomainLists

func (o *DfpCreateOrUpdatePayload) HasInternalDomainLists() bool

HasInternalDomainLists returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasName

func (o *DfpCreateOrUpdatePayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasPopRegionId

func (o *DfpCreateOrUpdatePayload) HasPopRegionId() bool

HasPopRegionId returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasResolversAll

func (o *DfpCreateOrUpdatePayload) HasResolversAll() bool

HasResolversAll returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasServiceId

func (o *DfpCreateOrUpdatePayload) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasServiceName

func (o *DfpCreateOrUpdatePayload) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*DfpCreateOrUpdatePayload) HasSiteId

func (o *DfpCreateOrUpdatePayload) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (DfpCreateOrUpdatePayload) MarshalJSON

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

func (*DfpCreateOrUpdatePayload) SetForwardingPolicy

func (o *DfpCreateOrUpdatePayload) SetForwardingPolicy(v string)

SetForwardingPolicy gets a reference to the given string and assigns it to the ForwardingPolicy field.

func (*DfpCreateOrUpdatePayload) SetHost

func (o *DfpCreateOrUpdatePayload) SetHost(v []DfpHost)

SetHost gets a reference to the given []DfpHost and assigns it to the Host field.

func (*DfpCreateOrUpdatePayload) SetId

func (o *DfpCreateOrUpdatePayload) SetId(v int32)

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

func (*DfpCreateOrUpdatePayload) SetInternalDomainLists

func (o *DfpCreateOrUpdatePayload) SetInternalDomainLists(v []int32)

SetInternalDomainLists gets a reference to the given []int32 and assigns it to the InternalDomainLists field.

func (*DfpCreateOrUpdatePayload) SetName

func (o *DfpCreateOrUpdatePayload) SetName(v string)

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

func (*DfpCreateOrUpdatePayload) SetPopRegionId

func (o *DfpCreateOrUpdatePayload) SetPopRegionId(v int32)

SetPopRegionId gets a reference to the given int32 and assigns it to the PopRegionId field.

func (*DfpCreateOrUpdatePayload) SetResolversAll

func (o *DfpCreateOrUpdatePayload) SetResolversAll(v []Resolver)

SetResolversAll gets a reference to the given []Resolver and assigns it to the ResolversAll field.

func (*DfpCreateOrUpdatePayload) SetServiceId

func (o *DfpCreateOrUpdatePayload) SetServiceId(v string)

SetServiceId gets a reference to the given string and assigns it to the ServiceId field.

func (*DfpCreateOrUpdatePayload) SetServiceName

func (o *DfpCreateOrUpdatePayload) SetServiceName(v string)

SetServiceName gets a reference to the given string and assigns it to the ServiceName field.

func (*DfpCreateOrUpdatePayload) SetSiteId

func (o *DfpCreateOrUpdatePayload) SetSiteId(v string)

SetSiteId gets a reference to the given string and assigns it to the SiteId field.

func (DfpCreateOrUpdatePayload) ToMap

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

func (*DfpCreateOrUpdatePayload) UnmarshalJSON

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

type DfpCreateOrUpdateResponse

type DfpCreateOrUpdateResponse struct {
	Results              *Dfp `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

DfpCreateOrUpdateResponse The DNS Forwarding Proxy update response.

func NewDfpCreateOrUpdateResponse

func NewDfpCreateOrUpdateResponse() *DfpCreateOrUpdateResponse

NewDfpCreateOrUpdateResponse instantiates a new DfpCreateOrUpdateResponse 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 NewDfpCreateOrUpdateResponseWithDefaults

func NewDfpCreateOrUpdateResponseWithDefaults() *DfpCreateOrUpdateResponse

NewDfpCreateOrUpdateResponseWithDefaults instantiates a new DfpCreateOrUpdateResponse 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 (*DfpCreateOrUpdateResponse) GetResults

func (o *DfpCreateOrUpdateResponse) GetResults() Dfp

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

func (*DfpCreateOrUpdateResponse) GetResultsOk

func (o *DfpCreateOrUpdateResponse) GetResultsOk() (*Dfp, bool)

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

func (*DfpCreateOrUpdateResponse) HasResults

func (o *DfpCreateOrUpdateResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (DfpCreateOrUpdateResponse) MarshalJSON

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

func (*DfpCreateOrUpdateResponse) SetResults

func (o *DfpCreateOrUpdateResponse) SetResults(v Dfp)

SetResults gets a reference to the given Dfp and assigns it to the Results field.

func (DfpCreateOrUpdateResponse) ToMap

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

func (*DfpCreateOrUpdateResponse) UnmarshalJSON

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

type DfpHost

type DfpHost struct {
	// // The DNS Forwarding Proxy legacy ID object identifier.
	LegacyHostId *int32 `json:"legacy_host_id,omitempty"`
	// The name of the DNS Forwarding Proxy.
	Name *string `json:"name,omitempty"`
	// The On-Prem Host identifier.
	Ophid *string `json:"ophid,omitempty"`
	// The DNS Forwarding Proxy site identifier that is appended to DNS queries originating from this DNS Forwarding Proxy and subsequently used for policy lookup purposes.
	SiteId               *string `json:"site_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

DfpHost struct for DfpHost

func NewDfpHost

func NewDfpHost() *DfpHost

NewDfpHost instantiates a new DfpHost 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 NewDfpHostWithDefaults

func NewDfpHostWithDefaults() *DfpHost

NewDfpHostWithDefaults instantiates a new DfpHost 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 (*DfpHost) GetLegacyHostId

func (o *DfpHost) GetLegacyHostId() int32

GetLegacyHostId returns the LegacyHostId field value if set, zero value otherwise.

func (*DfpHost) GetLegacyHostIdOk

func (o *DfpHost) GetLegacyHostIdOk() (*int32, bool)

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

func (*DfpHost) GetName

func (o *DfpHost) GetName() string

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

func (*DfpHost) GetNameOk

func (o *DfpHost) 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 (*DfpHost) GetOphid

func (o *DfpHost) GetOphid() string

GetOphid returns the Ophid field value if set, zero value otherwise.

func (*DfpHost) GetOphidOk

func (o *DfpHost) GetOphidOk() (*string, bool)

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

func (*DfpHost) GetSiteId

func (o *DfpHost) GetSiteId() string

GetSiteId returns the SiteId field value if set, zero value otherwise.

func (*DfpHost) GetSiteIdOk

func (o *DfpHost) GetSiteIdOk() (*string, bool)

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

func (*DfpHost) HasLegacyHostId

func (o *DfpHost) HasLegacyHostId() bool

HasLegacyHostId returns a boolean if a field has been set.

func (*DfpHost) HasName

func (o *DfpHost) HasName() bool

HasName returns a boolean if a field has been set.

func (*DfpHost) HasOphid

func (o *DfpHost) HasOphid() bool

HasOphid returns a boolean if a field has been set.

func (*DfpHost) HasSiteId

func (o *DfpHost) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (DfpHost) MarshalJSON

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

func (*DfpHost) SetLegacyHostId

func (o *DfpHost) SetLegacyHostId(v int32)

SetLegacyHostId gets a reference to the given int32 and assigns it to the LegacyHostId field.

func (*DfpHost) SetName

func (o *DfpHost) SetName(v string)

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

func (*DfpHost) SetOphid

func (o *DfpHost) SetOphid(v string)

SetOphid gets a reference to the given string and assigns it to the Ophid field.

func (*DfpHost) SetSiteId

func (o *DfpHost) SetSiteId(v string)

SetSiteId gets a reference to the given string and assigns it to the SiteId field.

func (DfpHost) ToMap

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

func (*DfpHost) UnmarshalJSON

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

type DfpListResponse

type DfpListResponse struct {
	// The list of DNS Forwarding Proxy objects.
	Results              []Dfp `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

DfpListResponse The DNS Forwarding Proxy list response.

func NewDfpListResponse

func NewDfpListResponse() *DfpListResponse

NewDfpListResponse instantiates a new DfpListResponse 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 NewDfpListResponseWithDefaults

func NewDfpListResponseWithDefaults() *DfpListResponse

NewDfpListResponseWithDefaults instantiates a new DfpListResponse 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 (*DfpListResponse) GetResults

func (o *DfpListResponse) GetResults() []Dfp

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

func (*DfpListResponse) GetResultsOk

func (o *DfpListResponse) GetResultsOk() ([]Dfp, bool)

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

func (*DfpListResponse) HasResults

func (o *DfpListResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (DfpListResponse) MarshalJSON

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

func (*DfpListResponse) SetResults

func (o *DfpListResponse) SetResults(v []Dfp)

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

func (DfpListResponse) ToMap

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

func (*DfpListResponse) UnmarshalJSON

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

type DfpReadResponse

type DfpReadResponse struct {
	Results              *Dfp `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

DfpReadResponse The DNS Forwarding Proxy read response.

func NewDfpReadResponse

func NewDfpReadResponse() *DfpReadResponse

NewDfpReadResponse instantiates a new DfpReadResponse 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 NewDfpReadResponseWithDefaults

func NewDfpReadResponseWithDefaults() *DfpReadResponse

NewDfpReadResponseWithDefaults instantiates a new DfpReadResponse 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 (*DfpReadResponse) GetResults

func (o *DfpReadResponse) GetResults() Dfp

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

func (*DfpReadResponse) GetResultsOk

func (o *DfpReadResponse) GetResultsOk() (*Dfp, bool)

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

func (*DfpReadResponse) HasResults

func (o *DfpReadResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (DfpReadResponse) MarshalJSON

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

func (*DfpReadResponse) SetResults

func (o *DfpReadResponse) SetResults(v Dfp)

SetResults gets a reference to the given Dfp and assigns it to the Results field.

func (DfpReadResponse) ToMap

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

func (*DfpReadResponse) UnmarshalJSON

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

type InfraServicesAPI

type InfraServicesAPI interface {
	/*
		CreateOrUpdateDfpService Update DNS Forwarding Proxy services.

		Use this method to update resolvers for the specified DNS Forwarding Proxy Service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param payloadServiceId The DNS Forwarding Proxy Service ID object identifier.
		@return InfraServicesAPICreateOrUpdateDfpServiceRequest
	*/
	CreateOrUpdateDfpService(ctx context.Context, payloadServiceId string) InfraServicesAPICreateOrUpdateDfpServiceRequest

	// CreateOrUpdateDfpServiceExecute executes the request
	//  @return DfpCreateOrUpdateResponse
	CreateOrUpdateDfpServiceExecute(r InfraServicesAPICreateOrUpdateDfpServiceRequest) (*DfpCreateOrUpdateResponse, *http.Response, error)
	/*
		ListDfpServices List DNS Forwarding Proxy services.

		Use this method to retrieve information on all DNS Forwarding Proxy services.



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

	// ListDfpServicesExecute executes the request
	//  @return DfpListResponse
	ListDfpServicesExecute(r InfraServicesAPIListDfpServicesRequest) (*DfpListResponse, *http.Response, error)
	/*
		ReadDfpService Read DNS Forwarding Proxy services.

		Use this method to retrieve information on the specified DNS Forwarding Proxy service.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serviceId The On-Prem Application Service identifier. For internal Use only
		@return InfraServicesAPIReadDfpServiceRequest
	*/
	ReadDfpService(ctx context.Context, serviceId string) InfraServicesAPIReadDfpServiceRequest

	// ReadDfpServiceExecute executes the request
	//  @return DfpReadResponse
	ReadDfpServiceExecute(r InfraServicesAPIReadDfpServiceRequest) (*DfpReadResponse, *http.Response, error)
}

type InfraServicesAPICreateOrUpdateDfpServiceRequest

type InfraServicesAPICreateOrUpdateDfpServiceRequest struct {
	ApiService InfraServicesAPI
	// contains filtered or unexported fields
}

func (InfraServicesAPICreateOrUpdateDfpServiceRequest) Body

The DNS Forwarding Proxy object.

func (InfraServicesAPICreateOrUpdateDfpServiceRequest) Execute

type InfraServicesAPIListDfpServicesRequest

type InfraServicesAPIListDfpServicesRequest struct {
	ApiService InfraServicesAPI
	// contains filtered or unexported fields
}

func (InfraServicesAPIListDfpServicesRequest) Execute

func (InfraServicesAPIListDfpServicesRequest) Fields

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

func (InfraServicesAPIListDfpServicesRequest) Filter

A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. You can filter by following fields: | Name | type | Supported Op | | ----------------------- | -------- | --------------------------- | | service_name | string | !=, ==, ~, !~, >, <, <=, >= | | internal_domain_lists | [int32] | !=, ==, ~, !~, >, <, <=, >= | | policy_id | int32 | !=, ==, >, <, <=, >= | | default_security_policy | bool | !=, == | In addition groupping operators are supported: | Op | Description | | --- | -------------------- | | and | Logical AND | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | Example: ``` ?_filter=\"((service_name=='dfp1')or(policy_id~'oph'))and(default_security_policy!='true')\" ```

func (InfraServicesAPIListDfpServicesRequest) Limit

The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.

func (InfraServicesAPIListDfpServicesRequest) Offset

The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.

func (InfraServicesAPIListDfpServicesRequest) PageToken

The service-defined string used to identify a page of resources. A null value indicates the first page.

type InfraServicesAPIReadDfpServiceRequest

type InfraServicesAPIReadDfpServiceRequest struct {
	ApiService InfraServicesAPI
	// contains filtered or unexported fields
}

func (InfraServicesAPIReadDfpServiceRequest) Execute

func (InfraServicesAPIReadDfpServiceRequest) Fields

A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names.

func (InfraServicesAPIReadDfpServiceRequest) Id

The DNS Forwarding Proxy object identifier.

func (InfraServicesAPIReadDfpServiceRequest) Name

The name of the DNS Forwarding Proxy. Used only if the 'id' field is empty.

type InfraServicesAPIService

type InfraServicesAPIService internal.Service

InfraServicesAPIService InfraServicesAPI service

func (*InfraServicesAPIService) CreateOrUpdateDfpService

func (a *InfraServicesAPIService) CreateOrUpdateDfpService(ctx context.Context, payloadServiceId string) InfraServicesAPICreateOrUpdateDfpServiceRequest

CreateOrUpdateDfpService Update DNS Forwarding Proxy services.

Use this method to update resolvers for the specified DNS Forwarding Proxy Service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param payloadServiceId The DNS Forwarding Proxy Service ID object identifier.
@return InfraServicesAPICreateOrUpdateDfpServiceRequest

func (*InfraServicesAPIService) CreateOrUpdateDfpServiceExecute

Execute executes the request

@return DfpCreateOrUpdateResponse

func (*InfraServicesAPIService) ListDfpServices

ListDfpServices List DNS Forwarding Proxy services.

Use this method to retrieve information on all DNS Forwarding Proxy services.

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

func (*InfraServicesAPIService) ListDfpServicesExecute

Execute executes the request

@return DfpListResponse

func (*InfraServicesAPIService) ReadDfpService

ReadDfpService Read DNS Forwarding Proxy services.

Use this method to retrieve information on the specified DNS Forwarding Proxy service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceId The On-Prem Application Service identifier. For internal Use only
@return InfraServicesAPIReadDfpServiceRequest

func (*InfraServicesAPIService) ReadDfpServiceExecute

Execute executes the request

@return DfpReadResponse

type InfraServicesCreateOrUpdateDfpService400Response

type InfraServicesCreateOrUpdateDfpService400Response struct {
	Error                *InfraServicesCreateOrUpdateDfpService400ResponseError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesCreateOrUpdateDfpService400Response struct for InfraServicesCreateOrUpdateDfpService400Response

func NewInfraServicesCreateOrUpdateDfpService400Response

func NewInfraServicesCreateOrUpdateDfpService400Response() *InfraServicesCreateOrUpdateDfpService400Response

NewInfraServicesCreateOrUpdateDfpService400Response instantiates a new InfraServicesCreateOrUpdateDfpService400Response 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 NewInfraServicesCreateOrUpdateDfpService400ResponseWithDefaults

func NewInfraServicesCreateOrUpdateDfpService400ResponseWithDefaults() *InfraServicesCreateOrUpdateDfpService400Response

NewInfraServicesCreateOrUpdateDfpService400ResponseWithDefaults instantiates a new InfraServicesCreateOrUpdateDfpService400Response 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 (*InfraServicesCreateOrUpdateDfpService400Response) GetError

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

func (*InfraServicesCreateOrUpdateDfpService400Response) GetErrorOk

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

func (*InfraServicesCreateOrUpdateDfpService400Response) HasError

HasError returns a boolean if a field has been set.

func (InfraServicesCreateOrUpdateDfpService400Response) MarshalJSON

func (*InfraServicesCreateOrUpdateDfpService400Response) SetError

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

func (InfraServicesCreateOrUpdateDfpService400Response) ToMap

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

func (*InfraServicesCreateOrUpdateDfpService400Response) UnmarshalJSON

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

type InfraServicesCreateOrUpdateDfpService400ResponseError

type InfraServicesCreateOrUpdateDfpService400ResponseError struct {
	Code                 *string `json:"code,omitempty"`
	Message              *string `json:"message,omitempty"`
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesCreateOrUpdateDfpService400ResponseError struct for InfraServicesCreateOrUpdateDfpService400ResponseError

func NewInfraServicesCreateOrUpdateDfpService400ResponseError

func NewInfraServicesCreateOrUpdateDfpService400ResponseError() *InfraServicesCreateOrUpdateDfpService400ResponseError

NewInfraServicesCreateOrUpdateDfpService400ResponseError instantiates a new InfraServicesCreateOrUpdateDfpService400ResponseError 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 NewInfraServicesCreateOrUpdateDfpService400ResponseErrorWithDefaults

func NewInfraServicesCreateOrUpdateDfpService400ResponseErrorWithDefaults() *InfraServicesCreateOrUpdateDfpService400ResponseError

NewInfraServicesCreateOrUpdateDfpService400ResponseErrorWithDefaults instantiates a new InfraServicesCreateOrUpdateDfpService400ResponseError 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 (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetCodeOk

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetMessage

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetMessageOk

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetStatus

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) GetStatusOk

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) HasMessage

HasMessage returns a boolean if a field has been set.

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) HasStatus

HasStatus returns a boolean if a field has been set.

func (InfraServicesCreateOrUpdateDfpService400ResponseError) MarshalJSON

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) SetMessage

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

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) SetStatus

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

func (InfraServicesCreateOrUpdateDfpService400ResponseError) ToMap

func (*InfraServicesCreateOrUpdateDfpService400ResponseError) UnmarshalJSON

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

type InfraServicesCreateOrUpdateDfpService404Response

type InfraServicesCreateOrUpdateDfpService404Response struct {
	Error                *InfraServicesCreateOrUpdateDfpService404ResponseError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesCreateOrUpdateDfpService404Response struct for InfraServicesCreateOrUpdateDfpService404Response

func NewInfraServicesCreateOrUpdateDfpService404Response

func NewInfraServicesCreateOrUpdateDfpService404Response() *InfraServicesCreateOrUpdateDfpService404Response

NewInfraServicesCreateOrUpdateDfpService404Response instantiates a new InfraServicesCreateOrUpdateDfpService404Response 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 NewInfraServicesCreateOrUpdateDfpService404ResponseWithDefaults

func NewInfraServicesCreateOrUpdateDfpService404ResponseWithDefaults() *InfraServicesCreateOrUpdateDfpService404Response

NewInfraServicesCreateOrUpdateDfpService404ResponseWithDefaults instantiates a new InfraServicesCreateOrUpdateDfpService404Response 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 (*InfraServicesCreateOrUpdateDfpService404Response) GetError

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

func (*InfraServicesCreateOrUpdateDfpService404Response) GetErrorOk

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

func (*InfraServicesCreateOrUpdateDfpService404Response) HasError

HasError returns a boolean if a field has been set.

func (InfraServicesCreateOrUpdateDfpService404Response) MarshalJSON

func (*InfraServicesCreateOrUpdateDfpService404Response) SetError

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

func (InfraServicesCreateOrUpdateDfpService404Response) ToMap

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

func (*InfraServicesCreateOrUpdateDfpService404Response) UnmarshalJSON

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

type InfraServicesCreateOrUpdateDfpService404ResponseError

type InfraServicesCreateOrUpdateDfpService404ResponseError struct {
	Code                 *string `json:"code,omitempty"`
	Message              *string `json:"message,omitempty"`
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesCreateOrUpdateDfpService404ResponseError struct for InfraServicesCreateOrUpdateDfpService404ResponseError

func NewInfraServicesCreateOrUpdateDfpService404ResponseError

func NewInfraServicesCreateOrUpdateDfpService404ResponseError() *InfraServicesCreateOrUpdateDfpService404ResponseError

NewInfraServicesCreateOrUpdateDfpService404ResponseError instantiates a new InfraServicesCreateOrUpdateDfpService404ResponseError 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 NewInfraServicesCreateOrUpdateDfpService404ResponseErrorWithDefaults

func NewInfraServicesCreateOrUpdateDfpService404ResponseErrorWithDefaults() *InfraServicesCreateOrUpdateDfpService404ResponseError

NewInfraServicesCreateOrUpdateDfpService404ResponseErrorWithDefaults instantiates a new InfraServicesCreateOrUpdateDfpService404ResponseError 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 (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetCodeOk

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetMessage

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetMessageOk

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetStatus

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) GetStatusOk

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) HasMessage

HasMessage returns a boolean if a field has been set.

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) HasStatus

HasStatus returns a boolean if a field has been set.

func (InfraServicesCreateOrUpdateDfpService404ResponseError) MarshalJSON

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) SetMessage

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

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) SetStatus

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

func (InfraServicesCreateOrUpdateDfpService404ResponseError) ToMap

func (*InfraServicesCreateOrUpdateDfpService404ResponseError) UnmarshalJSON

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

type InfraServicesListDfpServices500Response

type InfraServicesListDfpServices500Response struct {
	Error                *InfraServicesListDfpServices500ResponseError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesListDfpServices500Response struct for InfraServicesListDfpServices500Response

func NewInfraServicesListDfpServices500Response

func NewInfraServicesListDfpServices500Response() *InfraServicesListDfpServices500Response

NewInfraServicesListDfpServices500Response instantiates a new InfraServicesListDfpServices500Response 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 NewInfraServicesListDfpServices500ResponseWithDefaults

func NewInfraServicesListDfpServices500ResponseWithDefaults() *InfraServicesListDfpServices500Response

NewInfraServicesListDfpServices500ResponseWithDefaults instantiates a new InfraServicesListDfpServices500Response 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 (*InfraServicesListDfpServices500Response) GetError

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

func (*InfraServicesListDfpServices500Response) GetErrorOk

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

func (*InfraServicesListDfpServices500Response) HasError

HasError returns a boolean if a field has been set.

func (InfraServicesListDfpServices500Response) MarshalJSON

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

func (*InfraServicesListDfpServices500Response) SetError

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

func (InfraServicesListDfpServices500Response) ToMap

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

func (*InfraServicesListDfpServices500Response) UnmarshalJSON

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

type InfraServicesListDfpServices500ResponseError

type InfraServicesListDfpServices500ResponseError struct {
	Code                 *string `json:"code,omitempty"`
	Message              *string `json:"message,omitempty"`
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

InfraServicesListDfpServices500ResponseError struct for InfraServicesListDfpServices500ResponseError

func NewInfraServicesListDfpServices500ResponseError

func NewInfraServicesListDfpServices500ResponseError() *InfraServicesListDfpServices500ResponseError

NewInfraServicesListDfpServices500ResponseError instantiates a new InfraServicesListDfpServices500ResponseError 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 NewInfraServicesListDfpServices500ResponseErrorWithDefaults

func NewInfraServicesListDfpServices500ResponseErrorWithDefaults() *InfraServicesListDfpServices500ResponseError

NewInfraServicesListDfpServices500ResponseErrorWithDefaults instantiates a new InfraServicesListDfpServices500ResponseError 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 (*InfraServicesListDfpServices500ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*InfraServicesListDfpServices500ResponseError) GetCodeOk

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

func (*InfraServicesListDfpServices500ResponseError) GetMessage

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

func (*InfraServicesListDfpServices500ResponseError) GetMessageOk

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

func (*InfraServicesListDfpServices500ResponseError) GetStatus

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

func (*InfraServicesListDfpServices500ResponseError) GetStatusOk

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

func (*InfraServicesListDfpServices500ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*InfraServicesListDfpServices500ResponseError) HasMessage

HasMessage returns a boolean if a field has been set.

func (*InfraServicesListDfpServices500ResponseError) HasStatus

HasStatus returns a boolean if a field has been set.

func (InfraServicesListDfpServices500ResponseError) MarshalJSON

func (*InfraServicesListDfpServices500ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*InfraServicesListDfpServices500ResponseError) SetMessage

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

func (*InfraServicesListDfpServices500ResponseError) SetStatus

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

func (InfraServicesListDfpServices500ResponseError) ToMap

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

func (*InfraServicesListDfpServices500ResponseError) UnmarshalJSON

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

type MappedNullable

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

type NetAddrPolicyAssignment

type NetAddrPolicyAssignment struct {
	// network address in IPv4 CIDR (address/bitmask length) string format
	AddrNet *string `json:"addr_net,omitempty"`
	// Identifier of the security policy associated with this address block
	PolicyId             *int32 `json:"policy_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetAddrPolicyAssignment network address with the assigned policy

func NewNetAddrPolicyAssignment

func NewNetAddrPolicyAssignment() *NetAddrPolicyAssignment

NewNetAddrPolicyAssignment instantiates a new NetAddrPolicyAssignment 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 NewNetAddrPolicyAssignmentWithDefaults

func NewNetAddrPolicyAssignmentWithDefaults() *NetAddrPolicyAssignment

NewNetAddrPolicyAssignmentWithDefaults instantiates a new NetAddrPolicyAssignment 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 (*NetAddrPolicyAssignment) GetAddrNet

func (o *NetAddrPolicyAssignment) GetAddrNet() string

GetAddrNet returns the AddrNet field value if set, zero value otherwise.

func (*NetAddrPolicyAssignment) GetAddrNetOk

func (o *NetAddrPolicyAssignment) GetAddrNetOk() (*string, bool)

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

func (*NetAddrPolicyAssignment) GetPolicyId

func (o *NetAddrPolicyAssignment) GetPolicyId() int32

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*NetAddrPolicyAssignment) GetPolicyIdOk

func (o *NetAddrPolicyAssignment) GetPolicyIdOk() (*int32, bool)

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

func (*NetAddrPolicyAssignment) HasAddrNet

func (o *NetAddrPolicyAssignment) HasAddrNet() bool

HasAddrNet returns a boolean if a field has been set.

func (*NetAddrPolicyAssignment) HasPolicyId

func (o *NetAddrPolicyAssignment) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (NetAddrPolicyAssignment) MarshalJSON

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

func (*NetAddrPolicyAssignment) SetAddrNet

func (o *NetAddrPolicyAssignment) SetAddrNet(v string)

SetAddrNet gets a reference to the given string and assigns it to the AddrNet field.

func (*NetAddrPolicyAssignment) SetPolicyId

func (o *NetAddrPolicyAssignment) SetPolicyId(v int32)

SetPolicyId gets a reference to the given int32 and assigns it to the PolicyId field.

func (NetAddrPolicyAssignment) ToMap

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

func (*NetAddrPolicyAssignment) UnmarshalJSON

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

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

func NewNullableDNSProtocol

func NewNullableDNSProtocol(val *DNSProtocol) *NullableDNSProtocol

func (NullableDNSProtocol) Get

func (NullableDNSProtocol) IsSet

func (v NullableDNSProtocol) IsSet() bool

func (NullableDNSProtocol) MarshalJSON

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

func (*NullableDNSProtocol) Set

func (v *NullableDNSProtocol) Set(val *DNSProtocol)

func (*NullableDNSProtocol) UnmarshalJSON

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

func (*NullableDNSProtocol) Unset

func (v *NullableDNSProtocol) Unset()

type NullableDfp

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

func NewNullableDfp

func NewNullableDfp(val *Dfp) *NullableDfp

func (NullableDfp) Get

func (v NullableDfp) Get() *Dfp

func (NullableDfp) IsSet

func (v NullableDfp) IsSet() bool

func (NullableDfp) MarshalJSON

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

func (*NullableDfp) Set

func (v *NullableDfp) Set(val *Dfp)

func (*NullableDfp) UnmarshalJSON

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

func (*NullableDfp) Unset

func (v *NullableDfp) Unset()

type NullableDfpCreateOrUpdatePayload

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

func (NullableDfpCreateOrUpdatePayload) Get

func (NullableDfpCreateOrUpdatePayload) IsSet

func (NullableDfpCreateOrUpdatePayload) MarshalJSON

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

func (*NullableDfpCreateOrUpdatePayload) Set

func (*NullableDfpCreateOrUpdatePayload) UnmarshalJSON

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

func (*NullableDfpCreateOrUpdatePayload) Unset

type NullableDfpCreateOrUpdateResponse

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

func (NullableDfpCreateOrUpdateResponse) Get

func (NullableDfpCreateOrUpdateResponse) IsSet

func (NullableDfpCreateOrUpdateResponse) MarshalJSON

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

func (*NullableDfpCreateOrUpdateResponse) Set

func (*NullableDfpCreateOrUpdateResponse) UnmarshalJSON

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

func (*NullableDfpCreateOrUpdateResponse) Unset

type NullableDfpHost

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

func NewNullableDfpHost

func NewNullableDfpHost(val *DfpHost) *NullableDfpHost

func (NullableDfpHost) Get

func (v NullableDfpHost) Get() *DfpHost

func (NullableDfpHost) IsSet

func (v NullableDfpHost) IsSet() bool

func (NullableDfpHost) MarshalJSON

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

func (*NullableDfpHost) Set

func (v *NullableDfpHost) Set(val *DfpHost)

func (*NullableDfpHost) UnmarshalJSON

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

func (*NullableDfpHost) Unset

func (v *NullableDfpHost) Unset()

type NullableDfpListResponse

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

func NewNullableDfpListResponse

func NewNullableDfpListResponse(val *DfpListResponse) *NullableDfpListResponse

func (NullableDfpListResponse) Get

func (NullableDfpListResponse) IsSet

func (v NullableDfpListResponse) IsSet() bool

func (NullableDfpListResponse) MarshalJSON

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

func (*NullableDfpListResponse) Set

func (*NullableDfpListResponse) UnmarshalJSON

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

func (*NullableDfpListResponse) Unset

func (v *NullableDfpListResponse) Unset()

type NullableDfpReadResponse

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

func NewNullableDfpReadResponse

func NewNullableDfpReadResponse(val *DfpReadResponse) *NullableDfpReadResponse

func (NullableDfpReadResponse) Get

func (NullableDfpReadResponse) IsSet

func (v NullableDfpReadResponse) IsSet() bool

func (NullableDfpReadResponse) MarshalJSON

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

func (*NullableDfpReadResponse) Set

func (*NullableDfpReadResponse) UnmarshalJSON

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

func (*NullableDfpReadResponse) Unset

func (v *NullableDfpReadResponse) 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 NullableInfraServicesCreateOrUpdateDfpService400Response

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

func (NullableInfraServicesCreateOrUpdateDfpService400Response) Get

func (NullableInfraServicesCreateOrUpdateDfpService400Response) IsSet

func (NullableInfraServicesCreateOrUpdateDfpService400Response) MarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService400Response) Set

func (*NullableInfraServicesCreateOrUpdateDfpService400Response) UnmarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService400Response) Unset

type NullableInfraServicesCreateOrUpdateDfpService400ResponseError

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

func (NullableInfraServicesCreateOrUpdateDfpService400ResponseError) Get

func (NullableInfraServicesCreateOrUpdateDfpService400ResponseError) IsSet

func (NullableInfraServicesCreateOrUpdateDfpService400ResponseError) MarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService400ResponseError) Set

func (*NullableInfraServicesCreateOrUpdateDfpService400ResponseError) UnmarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService400ResponseError) Unset

type NullableInfraServicesCreateOrUpdateDfpService404Response

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

func (NullableInfraServicesCreateOrUpdateDfpService404Response) Get

func (NullableInfraServicesCreateOrUpdateDfpService404Response) IsSet

func (NullableInfraServicesCreateOrUpdateDfpService404Response) MarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService404Response) Set

func (*NullableInfraServicesCreateOrUpdateDfpService404Response) UnmarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService404Response) Unset

type NullableInfraServicesCreateOrUpdateDfpService404ResponseError

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

func (NullableInfraServicesCreateOrUpdateDfpService404ResponseError) Get

func (NullableInfraServicesCreateOrUpdateDfpService404ResponseError) IsSet

func (NullableInfraServicesCreateOrUpdateDfpService404ResponseError) MarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService404ResponseError) Set

func (*NullableInfraServicesCreateOrUpdateDfpService404ResponseError) UnmarshalJSON

func (*NullableInfraServicesCreateOrUpdateDfpService404ResponseError) Unset

type NullableInfraServicesListDfpServices500Response

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

func (NullableInfraServicesListDfpServices500Response) Get

func (NullableInfraServicesListDfpServices500Response) IsSet

func (NullableInfraServicesListDfpServices500Response) MarshalJSON

func (*NullableInfraServicesListDfpServices500Response) Set

func (*NullableInfraServicesListDfpServices500Response) UnmarshalJSON

func (*NullableInfraServicesListDfpServices500Response) Unset

type NullableInfraServicesListDfpServices500ResponseError

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

func (NullableInfraServicesListDfpServices500ResponseError) Get

func (NullableInfraServicesListDfpServices500ResponseError) IsSet

func (NullableInfraServicesListDfpServices500ResponseError) MarshalJSON

func (*NullableInfraServicesListDfpServices500ResponseError) Set

func (*NullableInfraServicesListDfpServices500ResponseError) UnmarshalJSON

func (*NullableInfraServicesListDfpServices500ResponseError) 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 NullableNetAddrPolicyAssignment

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

func (NullableNetAddrPolicyAssignment) Get

func (NullableNetAddrPolicyAssignment) IsSet

func (NullableNetAddrPolicyAssignment) MarshalJSON

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

func (*NullableNetAddrPolicyAssignment) Set

func (*NullableNetAddrPolicyAssignment) UnmarshalJSON

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

func (*NullableNetAddrPolicyAssignment) Unset

type NullableResolver

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

func NewNullableResolver

func NewNullableResolver(val *Resolver) *NullableResolver

func (NullableResolver) Get

func (v NullableResolver) Get() *Resolver

func (NullableResolver) IsSet

func (v NullableResolver) IsSet() bool

func (NullableResolver) MarshalJSON

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

func (*NullableResolver) Set

func (v *NullableResolver) Set(val *Resolver)

func (*NullableResolver) UnmarshalJSON

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

func (*NullableResolver) Unset

func (v *NullableResolver) 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 NullableTypesConfigCheckRequest

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

func (NullableTypesConfigCheckRequest) Get

func (NullableTypesConfigCheckRequest) IsSet

func (NullableTypesConfigCheckRequest) MarshalJSON

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

func (*NullableTypesConfigCheckRequest) Set

func (*NullableTypesConfigCheckRequest) UnmarshalJSON

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

func (*NullableTypesConfigCheckRequest) Unset

type NullableTypesConfigCheckResponse

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

func (NullableTypesConfigCheckResponse) Get

func (NullableTypesConfigCheckResponse) IsSet

func (NullableTypesConfigCheckResponse) MarshalJSON

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

func (*NullableTypesConfigCheckResponse) Set

func (*NullableTypesConfigCheckResponse) UnmarshalJSON

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

func (*NullableTypesConfigCheckResponse) Unset

type NullableTypesConfigCheckResult

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

func (NullableTypesConfigCheckResult) Get

func (NullableTypesConfigCheckResult) IsSet

func (NullableTypesConfigCheckResult) MarshalJSON

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

func (*NullableTypesConfigCheckResult) Set

func (*NullableTypesConfigCheckResult) UnmarshalJSON

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

func (*NullableTypesConfigCheckResult) Unset

func (v *NullableTypesConfigCheckResult) Unset()

type Resolver

type Resolver struct {
	// address that can be used as resolver
	Address *string `json:"address,omitempty"`
	// Mark it true to set default DNS resolvers that will be used in case if the BloxOne Cloud is unreachable.
	IsFallback *bool `json:"is_fallback,omitempty"`
	// Mark it true to set internal or local DNS servers' IPv4 or IPv6 addresses that are used as DNS resolvers
	IsLocal *bool `json:"is_local,omitempty"`
	// The list of DNS resolver communication protocols.
	Protocols            []DNSProtocol `json:"protocols,omitempty"`
	AdditionalProperties map[string]interface{}
}

Resolver struct for Resolver

func NewResolver

func NewResolver() *Resolver

NewResolver instantiates a new Resolver 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 NewResolverWithDefaults

func NewResolverWithDefaults() *Resolver

NewResolverWithDefaults instantiates a new Resolver 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 (*Resolver) GetAddress

func (o *Resolver) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*Resolver) GetAddressOk

func (o *Resolver) GetAddressOk() (*string, bool)

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

func (*Resolver) GetIsFallback

func (o *Resolver) GetIsFallback() bool

GetIsFallback returns the IsFallback field value if set, zero value otherwise.

func (*Resolver) GetIsFallbackOk

func (o *Resolver) GetIsFallbackOk() (*bool, bool)

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

func (*Resolver) GetIsLocal

func (o *Resolver) GetIsLocal() bool

GetIsLocal returns the IsLocal field value if set, zero value otherwise.

func (*Resolver) GetIsLocalOk

func (o *Resolver) GetIsLocalOk() (*bool, bool)

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

func (*Resolver) GetProtocols

func (o *Resolver) GetProtocols() []DNSProtocol

GetProtocols returns the Protocols field value if set, zero value otherwise.

func (*Resolver) GetProtocolsOk

func (o *Resolver) GetProtocolsOk() ([]DNSProtocol, bool)

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

func (*Resolver) HasAddress

func (o *Resolver) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Resolver) HasIsFallback

func (o *Resolver) HasIsFallback() bool

HasIsFallback returns a boolean if a field has been set.

func (*Resolver) HasIsLocal

func (o *Resolver) HasIsLocal() bool

HasIsLocal returns a boolean if a field has been set.

func (*Resolver) HasProtocols

func (o *Resolver) HasProtocols() bool

HasProtocols returns a boolean if a field has been set.

func (Resolver) MarshalJSON

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

func (*Resolver) SetAddress

func (o *Resolver) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*Resolver) SetIsFallback

func (o *Resolver) SetIsFallback(v bool)

SetIsFallback gets a reference to the given bool and assigns it to the IsFallback field.

func (*Resolver) SetIsLocal

func (o *Resolver) SetIsLocal(v bool)

SetIsLocal gets a reference to the given bool and assigns it to the IsLocal field.

func (*Resolver) SetProtocols

func (o *Resolver) SetProtocols(v []DNSProtocol)

SetProtocols gets a reference to the given []DNSProtocol and assigns it to the Protocols field.

func (Resolver) ToMap

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

func (*Resolver) UnmarshalJSON

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

type TypesConfigCheckRequest

type TypesConfigCheckRequest struct {
	AccountId       *int32  `json:"account_id,omitempty"`
	ConfigCheckType *string `json:"config_check_type,omitempty"`
	// Caller sets to false if wants to suppress notification.
	Notify               *bool `json:"notify,omitempty"`
	AdditionalProperties map[string]interface{}
}

TypesConfigCheckRequest The Config Check request.

func NewTypesConfigCheckRequest

func NewTypesConfigCheckRequest() *TypesConfigCheckRequest

NewTypesConfigCheckRequest instantiates a new TypesConfigCheckRequest 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 NewTypesConfigCheckRequestWithDefaults

func NewTypesConfigCheckRequestWithDefaults() *TypesConfigCheckRequest

NewTypesConfigCheckRequestWithDefaults instantiates a new TypesConfigCheckRequest 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 (*TypesConfigCheckRequest) GetAccountId

func (o *TypesConfigCheckRequest) GetAccountId() int32

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*TypesConfigCheckRequest) GetAccountIdOk

func (o *TypesConfigCheckRequest) GetAccountIdOk() (*int32, bool)

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

func (*TypesConfigCheckRequest) GetConfigCheckType

func (o *TypesConfigCheckRequest) GetConfigCheckType() string

GetConfigCheckType returns the ConfigCheckType field value if set, zero value otherwise.

func (*TypesConfigCheckRequest) GetConfigCheckTypeOk

func (o *TypesConfigCheckRequest) GetConfigCheckTypeOk() (*string, bool)

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

func (*TypesConfigCheckRequest) GetNotify

func (o *TypesConfigCheckRequest) GetNotify() bool

GetNotify returns the Notify field value if set, zero value otherwise.

func (*TypesConfigCheckRequest) GetNotifyOk

func (o *TypesConfigCheckRequest) GetNotifyOk() (*bool, bool)

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

func (*TypesConfigCheckRequest) HasAccountId

func (o *TypesConfigCheckRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*TypesConfigCheckRequest) HasConfigCheckType

func (o *TypesConfigCheckRequest) HasConfigCheckType() bool

HasConfigCheckType returns a boolean if a field has been set.

func (*TypesConfigCheckRequest) HasNotify

func (o *TypesConfigCheckRequest) HasNotify() bool

HasNotify returns a boolean if a field has been set.

func (TypesConfigCheckRequest) MarshalJSON

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

func (*TypesConfigCheckRequest) SetAccountId

func (o *TypesConfigCheckRequest) SetAccountId(v int32)

SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.

func (*TypesConfigCheckRequest) SetConfigCheckType

func (o *TypesConfigCheckRequest) SetConfigCheckType(v string)

SetConfigCheckType gets a reference to the given string and assigns it to the ConfigCheckType field.

func (*TypesConfigCheckRequest) SetNotify

func (o *TypesConfigCheckRequest) SetNotify(v bool)

SetNotify gets a reference to the given bool and assigns it to the Notify field.

func (TypesConfigCheckRequest) ToMap

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

func (*TypesConfigCheckRequest) UnmarshalJSON

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

type TypesConfigCheckResponse

type TypesConfigCheckResponse struct {
	// The list of check result.
	Results              []TypesConfigCheckResult `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

TypesConfigCheckResponse The Config Check response.

func NewTypesConfigCheckResponse

func NewTypesConfigCheckResponse() *TypesConfigCheckResponse

NewTypesConfigCheckResponse instantiates a new TypesConfigCheckResponse 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 NewTypesConfigCheckResponseWithDefaults

func NewTypesConfigCheckResponseWithDefaults() *TypesConfigCheckResponse

NewTypesConfigCheckResponseWithDefaults instantiates a new TypesConfigCheckResponse 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 (*TypesConfigCheckResponse) GetResults

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

func (*TypesConfigCheckResponse) GetResultsOk

func (o *TypesConfigCheckResponse) GetResultsOk() ([]TypesConfigCheckResult, bool)

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

func (*TypesConfigCheckResponse) HasResults

func (o *TypesConfigCheckResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (TypesConfigCheckResponse) MarshalJSON

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

func (*TypesConfigCheckResponse) SetResults

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

func (TypesConfigCheckResponse) ToMap

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

func (*TypesConfigCheckResponse) UnmarshalJSON

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

type TypesConfigCheckResult

type TypesConfigCheckResult struct {
	// Provides more info about the potential problem.
	AdditionalInfo *string `json:"additional_info,omitempty"`
	// Service check type.
	ConfigCheckType *string `json:"config_check_type,omitempty"`
	// URI of the resource that was checked.
	ResourceUri *string `json:"resource_uri,omitempty"`
	// The check result.
	ResultCode           *string `json:"result_code,omitempty"`
	AdditionalProperties map[string]interface{}
}

TypesConfigCheckResult The ConfigCheckResult object.

func NewTypesConfigCheckResult

func NewTypesConfigCheckResult() *TypesConfigCheckResult

NewTypesConfigCheckResult instantiates a new TypesConfigCheckResult 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 NewTypesConfigCheckResultWithDefaults

func NewTypesConfigCheckResultWithDefaults() *TypesConfigCheckResult

NewTypesConfigCheckResultWithDefaults instantiates a new TypesConfigCheckResult 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 (*TypesConfigCheckResult) GetAdditionalInfo

func (o *TypesConfigCheckResult) GetAdditionalInfo() string

GetAdditionalInfo returns the AdditionalInfo field value if set, zero value otherwise.

func (*TypesConfigCheckResult) GetAdditionalInfoOk

func (o *TypesConfigCheckResult) GetAdditionalInfoOk() (*string, bool)

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

func (*TypesConfigCheckResult) GetConfigCheckType

func (o *TypesConfigCheckResult) GetConfigCheckType() string

GetConfigCheckType returns the ConfigCheckType field value if set, zero value otherwise.

func (*TypesConfigCheckResult) GetConfigCheckTypeOk

func (o *TypesConfigCheckResult) GetConfigCheckTypeOk() (*string, bool)

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

func (*TypesConfigCheckResult) GetResourceUri

func (o *TypesConfigCheckResult) GetResourceUri() string

GetResourceUri returns the ResourceUri field value if set, zero value otherwise.

func (*TypesConfigCheckResult) GetResourceUriOk

func (o *TypesConfigCheckResult) GetResourceUriOk() (*string, bool)

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

func (*TypesConfigCheckResult) GetResultCode

func (o *TypesConfigCheckResult) GetResultCode() string

GetResultCode returns the ResultCode field value if set, zero value otherwise.

func (*TypesConfigCheckResult) GetResultCodeOk

func (o *TypesConfigCheckResult) GetResultCodeOk() (*string, bool)

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

func (*TypesConfigCheckResult) HasAdditionalInfo

func (o *TypesConfigCheckResult) HasAdditionalInfo() bool

HasAdditionalInfo returns a boolean if a field has been set.

func (*TypesConfigCheckResult) HasConfigCheckType

func (o *TypesConfigCheckResult) HasConfigCheckType() bool

HasConfigCheckType returns a boolean if a field has been set.

func (*TypesConfigCheckResult) HasResourceUri

func (o *TypesConfigCheckResult) HasResourceUri() bool

HasResourceUri returns a boolean if a field has been set.

func (*TypesConfigCheckResult) HasResultCode

func (o *TypesConfigCheckResult) HasResultCode() bool

HasResultCode returns a boolean if a field has been set.

func (TypesConfigCheckResult) MarshalJSON

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

func (*TypesConfigCheckResult) SetAdditionalInfo

func (o *TypesConfigCheckResult) SetAdditionalInfo(v string)

SetAdditionalInfo gets a reference to the given string and assigns it to the AdditionalInfo field.

func (*TypesConfigCheckResult) SetConfigCheckType

func (o *TypesConfigCheckResult) SetConfigCheckType(v string)

SetConfigCheckType gets a reference to the given string and assigns it to the ConfigCheckType field.

func (*TypesConfigCheckResult) SetResourceUri

func (o *TypesConfigCheckResult) SetResourceUri(v string)

SetResourceUri gets a reference to the given string and assigns it to the ResourceUri field.

func (*TypesConfigCheckResult) SetResultCode

func (o *TypesConfigCheckResult) SetResultCode(v string)

SetResultCode gets a reference to the given string and assigns it to the ResultCode field.

func (TypesConfigCheckResult) ToMap

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

func (*TypesConfigCheckResult) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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