inframgmt

package
v0.3.0 Latest Latest
Warning

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

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

README

Go API client for Infrastructure Management API

The Infrastructure Management API provides a RESTful interface to manage Infrastructure Hosts and Services objects.

The following is a list of the different Services and their string types (the string types are to be used with the APIs for the service_type field):

Service name Service type
Access Authentication authn
Anycast anycast
Data Connector cdc
DHCP dhcp
DNS dns
DNS Forwarding Proxy dfp
NIOS Grid Connector orpheus
MS AD Sync msad
NTP ntp
BGP bgp
RIP rip
OSPF ospf

Hosts API

The Hosts API is used to manage the Infrastructure Host resources. These include various operations related to hosts such as viewing, creating, updating, replacing, disconnecting, and deleting Hosts. Management of Hosts is done from the Cloud Services Portal (CSP) by navigating to the Manage -> Infrastructure -> Hosts tab.


Services API

The Services API is used to manage the Infrastructure Service resources (a.k.a. BloxOne applications). These include various operations related to hosts such as viewing, creating, updating, starting/stopping, configuring, and deleting Services. Management of Services is done from the Cloud Services Portal (CSP) by navigating to the Manage -> Infrastructure -> Services tab.


Detail APIs

The Detail APIs are read-only APIs used to list all the Infrastructure resources (Hosts and Services). Each resource record returned also contains information about its other associated resources and the status information for itself and the associated resource(s) (i.e., Host/Service status).


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/inframgmt

Import the package into your code:

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

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 := inframgmt.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 := inframgmt.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 := inframgmt.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 Infrastructure Management 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 Infrastructure Management API, you can use the option.WithAPIKey option. For example:

client := inframgmt.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 := inframgmt.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 http://csp.infoblox.com/api/infra/v1

Class Method HTTP request Description
DetailAPI HostsList Get /detail_hosts List all the Hosts along with its associated Services (applications).
DetailAPI ServicesList Get /detail_services List all the Services (applications) along with its associated Hosts.
HostsAPI AssignTags Post /hosts/assign_tags Assign tags for list of hosts.
HostsAPI Create Post /hosts Create a Host resource.
HostsAPI Delete Delete /hosts/{id} Delete a Host resource.
HostsAPI Disconnect Post /hosts/{id}/disconnect Disconnect a Host by resource ID.
HostsAPI List Get /hosts List all the Host resources for an account.
HostsAPI Read Get /hosts/{id} Get a Host resource.
HostsAPI Replace Post /hosts/{from.resource_id}/replace/{to.resource_id} Migrate a Host's configuration from one to another.
HostsAPI UnassignTags Post /hosts/unassign_tags Unassign tag for the list hosts.
HostsAPI Update Put /hosts/{id} Update a Host resource.
ServicesAPI Applications Get /applications List applications (Service types) for a particular account.
ServicesAPI Create Post /services Create a Service resource.
ServicesAPI Delete Delete /services/{id} Delete a Service resource.
ServicesAPI List Get /services List all the Service resources for an account.
ServicesAPI Read Get /services/{id} Read a Service resource.
ServicesAPI Update Put /services/{id} Update a Service resource.

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

This section is empty.

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
	DetailAPI   DetailAPI
	HostsAPI    HostsAPI
	ServicesAPI ServicesAPI
}

APIClient manages communication with the Infrastructure Management 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 ApiPageInfo

type ApiPageInfo struct {
	// The service may optionally include the offset of the next page of resources. A null value indicates no more pages.
	Offset *int32 `json:"offset,omitempty"`
	// The service response should contain a string to indicate the next page of resources. A null value indicates no more pages.
	PageToken *string `json:"page_token,omitempty"`
	// The service may optionally include the total number of resources being paged.
	Size                 *int32 `json:"size,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApiPageInfo PageInfo represents both server-driven and client-driven pagination response. Server-driven pagination is a model in which the server returns some amount of data along with an token indicating there is more data and where subsequent queries can get the next page of data. Client-driven pagination is a model in which rows are addressable by offset and page size (limit).

func NewApiPageInfo

func NewApiPageInfo() *ApiPageInfo

NewApiPageInfo instantiates a new ApiPageInfo 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 NewApiPageInfoWithDefaults

func NewApiPageInfoWithDefaults() *ApiPageInfo

NewApiPageInfoWithDefaults instantiates a new ApiPageInfo 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 (*ApiPageInfo) GetOffset

func (o *ApiPageInfo) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*ApiPageInfo) GetOffsetOk

func (o *ApiPageInfo) GetOffsetOk() (*int32, bool)

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

func (*ApiPageInfo) GetPageToken

func (o *ApiPageInfo) GetPageToken() string

GetPageToken returns the PageToken field value if set, zero value otherwise.

func (*ApiPageInfo) GetPageTokenOk

func (o *ApiPageInfo) GetPageTokenOk() (*string, bool)

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

func (*ApiPageInfo) GetSize

func (o *ApiPageInfo) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*ApiPageInfo) GetSizeOk

func (o *ApiPageInfo) GetSizeOk() (*int32, bool)

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

func (*ApiPageInfo) HasOffset

func (o *ApiPageInfo) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*ApiPageInfo) HasPageToken

func (o *ApiPageInfo) HasPageToken() bool

HasPageToken returns a boolean if a field has been set.

func (*ApiPageInfo) HasSize

func (o *ApiPageInfo) HasSize() bool

HasSize returns a boolean if a field has been set.

func (ApiPageInfo) MarshalJSON

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

func (*ApiPageInfo) SetOffset

func (o *ApiPageInfo) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*ApiPageInfo) SetPageToken

func (o *ApiPageInfo) SetPageToken(v string)

SetPageToken gets a reference to the given string and assigns it to the PageToken field.

func (*ApiPageInfo) SetSize

func (o *ApiPageInfo) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (ApiPageInfo) ToMap

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

func (*ApiPageInfo) UnmarshalJSON

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

type Applications

type Applications struct {
	Applications         []string `json:"applications,omitempty"`
	AdditionalProperties map[string]interface{}
}

Applications struct for Applications

func NewApplications

func NewApplications() *Applications

NewApplications instantiates a new Applications 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 NewApplicationsWithDefaults

func NewApplicationsWithDefaults() *Applications

NewApplicationsWithDefaults instantiates a new Applications 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 (*Applications) GetApplications

func (o *Applications) GetApplications() []string

GetApplications returns the Applications field value if set, zero value otherwise.

func (*Applications) GetApplicationsOk

func (o *Applications) GetApplicationsOk() ([]string, bool)

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

func (*Applications) HasApplications

func (o *Applications) HasApplications() bool

HasApplications returns a boolean if a field has been set.

func (Applications) MarshalJSON

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

func (*Applications) SetApplications

func (o *Applications) SetApplications(v []string)

SetApplications gets a reference to the given []string and assigns it to the Applications field.

func (Applications) ToMap

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

func (*Applications) UnmarshalJSON

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

type ApplicationsResponse

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

ApplicationsResponse Applications response.

func NewApplicationsResponse

func NewApplicationsResponse() *ApplicationsResponse

NewApplicationsResponse instantiates a new ApplicationsResponse 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 NewApplicationsResponseWithDefaults

func NewApplicationsResponseWithDefaults() *ApplicationsResponse

NewApplicationsResponseWithDefaults instantiates a new ApplicationsResponse 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 (*ApplicationsResponse) GetResults

func (o *ApplicationsResponse) GetResults() Applications

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

func (*ApplicationsResponse) GetResultsOk

func (o *ApplicationsResponse) GetResultsOk() (*Applications, 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 (*ApplicationsResponse) HasResults

func (o *ApplicationsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ApplicationsResponse) MarshalJSON

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

func (*ApplicationsResponse) SetResults

func (o *ApplicationsResponse) SetResults(v Applications)

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

func (ApplicationsResponse) ToMap

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

func (*ApplicationsResponse) UnmarshalJSON

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

type AssignTagsRequest

type AssignTagsRequest struct {
	// The resource identifier.
	Ids                  []string               `json:"ids,omitempty"`
	Override             *bool                  `json:"override,omitempty"`
	Tags                 map[string]interface{} `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

AssignTagsRequest struct for AssignTagsRequest

func NewAssignTagsRequest

func NewAssignTagsRequest() *AssignTagsRequest

NewAssignTagsRequest instantiates a new AssignTagsRequest 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 NewAssignTagsRequestWithDefaults

func NewAssignTagsRequestWithDefaults() *AssignTagsRequest

NewAssignTagsRequestWithDefaults instantiates a new AssignTagsRequest 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 (*AssignTagsRequest) GetIds

func (o *AssignTagsRequest) GetIds() []string

GetIds returns the Ids field value if set, zero value otherwise.

func (*AssignTagsRequest) GetIdsOk

func (o *AssignTagsRequest) GetIdsOk() ([]string, bool)

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

func (*AssignTagsRequest) GetOverride

func (o *AssignTagsRequest) GetOverride() bool

GetOverride returns the Override field value if set, zero value otherwise.

func (*AssignTagsRequest) GetOverrideOk

func (o *AssignTagsRequest) GetOverrideOk() (*bool, bool)

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

func (*AssignTagsRequest) GetTags

func (o *AssignTagsRequest) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*AssignTagsRequest) GetTagsOk

func (o *AssignTagsRequest) GetTagsOk() (map[string]interface{}, bool)

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

func (*AssignTagsRequest) HasIds

func (o *AssignTagsRequest) HasIds() bool

HasIds returns a boolean if a field has been set.

func (*AssignTagsRequest) HasOverride

func (o *AssignTagsRequest) HasOverride() bool

HasOverride returns a boolean if a field has been set.

func (*AssignTagsRequest) HasTags

func (o *AssignTagsRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (AssignTagsRequest) MarshalJSON

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

func (*AssignTagsRequest) SetIds

func (o *AssignTagsRequest) SetIds(v []string)

SetIds gets a reference to the given []string and assigns it to the Ids field.

func (*AssignTagsRequest) SetOverride

func (o *AssignTagsRequest) SetOverride(v bool)

SetOverride gets a reference to the given bool and assigns it to the Override field.

func (*AssignTagsRequest) SetTags

func (o *AssignTagsRequest) SetTags(v map[string]interface{})

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

func (AssignTagsRequest) ToMap

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

func (*AssignTagsRequest) UnmarshalJSON

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

type CreateHostResponse

type CreateHostResponse struct {
	Result               *Host `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateHostResponse struct for CreateHostResponse

func NewCreateHostResponse

func NewCreateHostResponse() *CreateHostResponse

NewCreateHostResponse instantiates a new CreateHostResponse 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 NewCreateHostResponseWithDefaults

func NewCreateHostResponseWithDefaults() *CreateHostResponse

NewCreateHostResponseWithDefaults instantiates a new CreateHostResponse 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 (*CreateHostResponse) GetResult

func (o *CreateHostResponse) GetResult() Host

GetResult returns the Result field value if set, zero value otherwise.

func (*CreateHostResponse) GetResultOk

func (o *CreateHostResponse) GetResultOk() (*Host, bool)

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

func (*CreateHostResponse) HasResult

func (o *CreateHostResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (CreateHostResponse) MarshalJSON

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

func (*CreateHostResponse) SetResult

func (o *CreateHostResponse) SetResult(v Host)

SetResult gets a reference to the given Host and assigns it to the Result field.

func (CreateHostResponse) ToMap

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

func (*CreateHostResponse) UnmarshalJSON

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

type CreateServiceResponse

type CreateServiceResponse struct {
	Result               *Service `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateServiceResponse struct for CreateServiceResponse

func NewCreateServiceResponse

func NewCreateServiceResponse() *CreateServiceResponse

NewCreateServiceResponse instantiates a new CreateServiceResponse 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 NewCreateServiceResponseWithDefaults

func NewCreateServiceResponseWithDefaults() *CreateServiceResponse

NewCreateServiceResponseWithDefaults instantiates a new CreateServiceResponse 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 (*CreateServiceResponse) GetResult

func (o *CreateServiceResponse) GetResult() Service

GetResult returns the Result field value if set, zero value otherwise.

func (*CreateServiceResponse) GetResultOk

func (o *CreateServiceResponse) GetResultOk() (*Service, bool)

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

func (*CreateServiceResponse) HasResult

func (o *CreateServiceResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (CreateServiceResponse) MarshalJSON

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

func (*CreateServiceResponse) SetResult

func (o *CreateServiceResponse) SetResult(v Service)

SetResult gets a reference to the given Service and assigns it to the Result field.

func (CreateServiceResponse) ToMap

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

func (*CreateServiceResponse) UnmarshalJSON

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

type DetailAPI

type DetailAPI interface {
	/*
		HostsList List all the Hosts along with its associated Services (applications).

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

	// HostsListExecute executes the request
	//  @return ListDetailHostsResponse
	HostsListExecute(r DetailAPIHostsListRequest) (*ListDetailHostsResponse, *http.Response, error)
	/*
		ServicesList List all the Services (applications) along with its associated Hosts.

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

	// ServicesListExecute executes the request
	//  @return ListDetailServicesResponse
	ServicesListExecute(r DetailAPIServicesListRequest) (*ListDetailServicesResponse, *http.Response, error)
}

type DetailAPIHostsListRequest

type DetailAPIHostsListRequest struct {
	ApiService DetailAPI
	// contains filtered or unexported fields
}

func (DetailAPIHostsListRequest) Execute

func (DetailAPIHostsListRequest) 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 (DetailAPIHostsListRequest) 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'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (DetailAPIHostsListRequest) 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 (DetailAPIHostsListRequest) 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 (DetailAPIHostsListRequest) OrderBy

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting 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, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (DetailAPIHostsListRequest) PageToken

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

func (DetailAPIHostsListRequest) Tfilter

This parameter is used for filtering by tags.

func (DetailAPIHostsListRequest) TorderBy

This parameter is used for sorting by tags.

type DetailAPIService

type DetailAPIService internal.Service

DetailAPIService DetailAPI service

func (*DetailAPIService) HostsList

HostsList List all the Hosts along with its associated Services (applications).

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

func (*DetailAPIService) HostsListExecute

Execute executes the request

@return ListDetailHostsResponse

func (*DetailAPIService) ServicesList

ServicesList List all the Services (applications) along with its associated Hosts.

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

func (*DetailAPIService) ServicesListExecute

Execute executes the request

@return ListDetailServicesResponse

type DetailAPIServicesListRequest

type DetailAPIServicesListRequest struct {
	ApiService DetailAPI
	// contains filtered or unexported fields
}

func (DetailAPIServicesListRequest) Execute

func (DetailAPIServicesListRequest) 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 (DetailAPIServicesListRequest) 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'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (DetailAPIServicesListRequest) 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 (DetailAPIServicesListRequest) 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 (DetailAPIServicesListRequest) OrderBy

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting 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, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (DetailAPIServicesListRequest) PageToken

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

func (DetailAPIServicesListRequest) Tfilter

This parameter is used for filtering by tags.

func (DetailAPIServicesListRequest) TorderBy

This parameter is used for sorting by tags.

type DetailHost

type DetailHost struct {
	// Composite Status of this Host (`online`, `degraded`, `error`, `offline`, `pending`, `awaiting approval`).
	CompositeStatus *string `json:"composite_status,omitempty"`
	// The list of Host-specific configurations for each Service deployed on this Host.
	Configs             []DetailHostServiceConfig `json:"configs,omitempty"`
	ConnectivityMonitor map[string]interface{}    `json:"connectivity_monitor,omitempty"`
	// The timestamp of creation of Host.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The description of the Host.
	Description *string `json:"description,omitempty"`
	// The name of the Host.
	DisplayName *string `json:"display_name,omitempty"`
	// The sub-type of a specific Host type.  Example: For Host type BloxOne Appliance, sub-type could be \"B105\" or \"VEP1425\"
	HostSubtype *string `json:"host_subtype,omitempty"`
	HostType    *string `json:"host_type,omitempty"`
	// The version of the Host platform services.
	HostVersion *string `json:"host_version,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// The IP address of the Host.
	IpAddress *string `json:"ip_address,omitempty"`
	// The IP Space of the Host.
	IpSpace *string `json:"ip_space,omitempty"`
	// The legacy Host object identifier.
	LegacyId *string `json:"legacy_id,omitempty"`
	// Location that this Host is associated with.
	Location *DetailLocation `json:"location,omitempty"`
	// The MAC address of the Host.
	MacAddress      *string `json:"mac_address,omitempty"`
	MaintenanceMode *string `json:"maintenance_mode,omitempty"`
	// The NAT IP address of the Host.
	NatIp *string `json:"nat_ip,omitempty"`
	// The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud.
	Ophid *string `json:"ophid,omitempty"`
	// Pool information for this Host (internal).
	Pool *PoolInfo `json:"pool,omitempty"`
	// The unique serial number of the Host.
	SerialNumber *string `json:"serial_number,omitempty"`
	// The list of Services deployed on this Host.
	Services []DetailHostServiceConfig `json:"services,omitempty"`
	// The Site ID of the Host.
	SiteId *string `json:"site_id,omitempty"`
	// Tags associated with this Host.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// The timezone of the Host.
	Timezone *string `json:"timezone,omitempty"`
	// The timestamp of the latest update on Host.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailHost struct for DetailHost

func NewDetailHost

func NewDetailHost() *DetailHost

NewDetailHost instantiates a new DetailHost 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 NewDetailHostWithDefaults

func NewDetailHostWithDefaults() *DetailHost

NewDetailHostWithDefaults instantiates a new DetailHost 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 (*DetailHost) GetCompositeStatus

func (o *DetailHost) GetCompositeStatus() string

GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.

func (*DetailHost) GetCompositeStatusOk

func (o *DetailHost) GetCompositeStatusOk() (*string, bool)

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

func (*DetailHost) GetConfigs

func (o *DetailHost) GetConfigs() []DetailHostServiceConfig

GetConfigs returns the Configs field value if set, zero value otherwise.

func (*DetailHost) GetConfigsOk

func (o *DetailHost) GetConfigsOk() ([]DetailHostServiceConfig, bool)

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

func (*DetailHost) GetConnectivityMonitor

func (o *DetailHost) GetConnectivityMonitor() map[string]interface{}

GetConnectivityMonitor returns the ConnectivityMonitor field value if set, zero value otherwise.

func (*DetailHost) GetConnectivityMonitorOk

func (o *DetailHost) GetConnectivityMonitorOk() (map[string]interface{}, bool)

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

func (*DetailHost) GetCreatedAt

func (o *DetailHost) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DetailHost) GetCreatedAtOk

func (o *DetailHost) GetCreatedAtOk() (*time.Time, bool)

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

func (*DetailHost) GetDescription

func (o *DetailHost) GetDescription() string

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

func (*DetailHost) GetDescriptionOk

func (o *DetailHost) GetDescriptionOk() (*string, bool)

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

func (*DetailHost) GetDisplayName

func (o *DetailHost) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*DetailHost) GetDisplayNameOk

func (o *DetailHost) GetDisplayNameOk() (*string, bool)

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

func (*DetailHost) GetHostSubtype

func (o *DetailHost) GetHostSubtype() string

GetHostSubtype returns the HostSubtype field value if set, zero value otherwise.

func (*DetailHost) GetHostSubtypeOk

func (o *DetailHost) GetHostSubtypeOk() (*string, bool)

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

func (*DetailHost) GetHostType

func (o *DetailHost) GetHostType() string

GetHostType returns the HostType field value if set, zero value otherwise.

func (*DetailHost) GetHostTypeOk

func (o *DetailHost) GetHostTypeOk() (*string, bool)

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

func (*DetailHost) GetHostVersion

func (o *DetailHost) GetHostVersion() string

GetHostVersion returns the HostVersion field value if set, zero value otherwise.

func (*DetailHost) GetHostVersionOk

func (o *DetailHost) GetHostVersionOk() (*string, bool)

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

func (*DetailHost) GetId

func (o *DetailHost) GetId() string

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

func (*DetailHost) GetIdOk

func (o *DetailHost) GetIdOk() (*string, 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 (*DetailHost) GetIpAddress

func (o *DetailHost) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*DetailHost) GetIpAddressOk

func (o *DetailHost) GetIpAddressOk() (*string, bool)

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

func (*DetailHost) GetIpSpace

func (o *DetailHost) GetIpSpace() string

GetIpSpace returns the IpSpace field value if set, zero value otherwise.

func (*DetailHost) GetIpSpaceOk

func (o *DetailHost) GetIpSpaceOk() (*string, bool)

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

func (*DetailHost) GetLegacyId

func (o *DetailHost) GetLegacyId() string

GetLegacyId returns the LegacyId field value if set, zero value otherwise.

func (*DetailHost) GetLegacyIdOk

func (o *DetailHost) GetLegacyIdOk() (*string, bool)

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

func (*DetailHost) GetLocation

func (o *DetailHost) GetLocation() DetailLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*DetailHost) GetLocationOk

func (o *DetailHost) GetLocationOk() (*DetailLocation, bool)

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

func (*DetailHost) GetMacAddress

func (o *DetailHost) GetMacAddress() string

GetMacAddress returns the MacAddress field value if set, zero value otherwise.

func (*DetailHost) GetMacAddressOk

func (o *DetailHost) GetMacAddressOk() (*string, bool)

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

func (*DetailHost) GetMaintenanceMode

func (o *DetailHost) GetMaintenanceMode() string

GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.

func (*DetailHost) GetMaintenanceModeOk

func (o *DetailHost) GetMaintenanceModeOk() (*string, bool)

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

func (*DetailHost) GetNatIp

func (o *DetailHost) GetNatIp() string

GetNatIp returns the NatIp field value if set, zero value otherwise.

func (*DetailHost) GetNatIpOk

func (o *DetailHost) GetNatIpOk() (*string, bool)

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

func (*DetailHost) GetOphid

func (o *DetailHost) GetOphid() string

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

func (*DetailHost) GetOphidOk

func (o *DetailHost) 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 (*DetailHost) GetPool

func (o *DetailHost) GetPool() PoolInfo

GetPool returns the Pool field value if set, zero value otherwise.

func (*DetailHost) GetPoolOk

func (o *DetailHost) GetPoolOk() (*PoolInfo, bool)

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

func (*DetailHost) GetSerialNumber

func (o *DetailHost) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.

func (*DetailHost) GetSerialNumberOk

func (o *DetailHost) GetSerialNumberOk() (*string, bool)

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

func (*DetailHost) GetServices

func (o *DetailHost) GetServices() []DetailHostServiceConfig

GetServices returns the Services field value if set, zero value otherwise.

func (*DetailHost) GetServicesOk

func (o *DetailHost) GetServicesOk() ([]DetailHostServiceConfig, bool)

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

func (*DetailHost) GetSiteId

func (o *DetailHost) GetSiteId() string

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

func (*DetailHost) GetSiteIdOk

func (o *DetailHost) 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 (*DetailHost) GetTags

func (o *DetailHost) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*DetailHost) GetTagsOk

func (o *DetailHost) GetTagsOk() (map[string]interface{}, bool)

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

func (*DetailHost) GetTimezone

func (o *DetailHost) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*DetailHost) GetTimezoneOk

func (o *DetailHost) GetTimezoneOk() (*string, bool)

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

func (*DetailHost) GetUpdatedAt

func (o *DetailHost) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DetailHost) GetUpdatedAtOk

func (o *DetailHost) GetUpdatedAtOk() (*time.Time, bool)

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

func (*DetailHost) HasCompositeStatus

func (o *DetailHost) HasCompositeStatus() bool

HasCompositeStatus returns a boolean if a field has been set.

func (*DetailHost) HasConfigs

func (o *DetailHost) HasConfigs() bool

HasConfigs returns a boolean if a field has been set.

func (*DetailHost) HasConnectivityMonitor

func (o *DetailHost) HasConnectivityMonitor() bool

HasConnectivityMonitor returns a boolean if a field has been set.

func (*DetailHost) HasCreatedAt

func (o *DetailHost) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DetailHost) HasDescription

func (o *DetailHost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DetailHost) HasDisplayName

func (o *DetailHost) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DetailHost) HasHostSubtype

func (o *DetailHost) HasHostSubtype() bool

HasHostSubtype returns a boolean if a field has been set.

func (*DetailHost) HasHostType

func (o *DetailHost) HasHostType() bool

HasHostType returns a boolean if a field has been set.

func (*DetailHost) HasHostVersion

func (o *DetailHost) HasHostVersion() bool

HasHostVersion returns a boolean if a field has been set.

func (*DetailHost) HasId

func (o *DetailHost) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailHost) HasIpAddress

func (o *DetailHost) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*DetailHost) HasIpSpace

func (o *DetailHost) HasIpSpace() bool

HasIpSpace returns a boolean if a field has been set.

func (*DetailHost) HasLegacyId

func (o *DetailHost) HasLegacyId() bool

HasLegacyId returns a boolean if a field has been set.

func (*DetailHost) HasLocation

func (o *DetailHost) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*DetailHost) HasMacAddress

func (o *DetailHost) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (*DetailHost) HasMaintenanceMode

func (o *DetailHost) HasMaintenanceMode() bool

HasMaintenanceMode returns a boolean if a field has been set.

func (*DetailHost) HasNatIp

func (o *DetailHost) HasNatIp() bool

HasNatIp returns a boolean if a field has been set.

func (*DetailHost) HasOphid

func (o *DetailHost) HasOphid() bool

HasOphid returns a boolean if a field has been set.

func (*DetailHost) HasPool

func (o *DetailHost) HasPool() bool

HasPool returns a boolean if a field has been set.

func (*DetailHost) HasSerialNumber

func (o *DetailHost) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*DetailHost) HasServices

func (o *DetailHost) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*DetailHost) HasSiteId

func (o *DetailHost) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (*DetailHost) HasTags

func (o *DetailHost) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DetailHost) HasTimezone

func (o *DetailHost) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*DetailHost) HasUpdatedAt

func (o *DetailHost) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DetailHost) MarshalJSON

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

func (*DetailHost) SetCompositeStatus

func (o *DetailHost) SetCompositeStatus(v string)

SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.

func (*DetailHost) SetConfigs

func (o *DetailHost) SetConfigs(v []DetailHostServiceConfig)

SetConfigs gets a reference to the given []DetailHostServiceConfig and assigns it to the Configs field.

func (*DetailHost) SetConnectivityMonitor

func (o *DetailHost) SetConnectivityMonitor(v map[string]interface{})

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

func (*DetailHost) SetCreatedAt

func (o *DetailHost) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DetailHost) SetDescription

func (o *DetailHost) SetDescription(v string)

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

func (*DetailHost) SetDisplayName

func (o *DetailHost) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*DetailHost) SetHostSubtype

func (o *DetailHost) SetHostSubtype(v string)

SetHostSubtype gets a reference to the given string and assigns it to the HostSubtype field.

func (*DetailHost) SetHostType

func (o *DetailHost) SetHostType(v string)

SetHostType gets a reference to the given string and assigns it to the HostType field.

func (*DetailHost) SetHostVersion

func (o *DetailHost) SetHostVersion(v string)

SetHostVersion gets a reference to the given string and assigns it to the HostVersion field.

func (*DetailHost) SetId

func (o *DetailHost) SetId(v string)

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

func (*DetailHost) SetIpAddress

func (o *DetailHost) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*DetailHost) SetIpSpace

func (o *DetailHost) SetIpSpace(v string)

SetIpSpace gets a reference to the given string and assigns it to the IpSpace field.

func (*DetailHost) SetLegacyId

func (o *DetailHost) SetLegacyId(v string)

SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.

func (*DetailHost) SetLocation

func (o *DetailHost) SetLocation(v DetailLocation)

SetLocation gets a reference to the given DetailLocation and assigns it to the Location field.

func (*DetailHost) SetMacAddress

func (o *DetailHost) SetMacAddress(v string)

SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.

func (*DetailHost) SetMaintenanceMode

func (o *DetailHost) SetMaintenanceMode(v string)

SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.

func (*DetailHost) SetNatIp

func (o *DetailHost) SetNatIp(v string)

SetNatIp gets a reference to the given string and assigns it to the NatIp field.

func (*DetailHost) SetOphid

func (o *DetailHost) SetOphid(v string)

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

func (*DetailHost) SetPool

func (o *DetailHost) SetPool(v PoolInfo)

SetPool gets a reference to the given PoolInfo and assigns it to the Pool field.

func (*DetailHost) SetSerialNumber

func (o *DetailHost) SetSerialNumber(v string)

SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.

func (*DetailHost) SetServices

func (o *DetailHost) SetServices(v []DetailHostServiceConfig)

SetServices gets a reference to the given []DetailHostServiceConfig and assigns it to the Services field.

func (*DetailHost) SetSiteId

func (o *DetailHost) SetSiteId(v string)

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

func (*DetailHost) SetTags

func (o *DetailHost) SetTags(v map[string]interface{})

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

func (*DetailHost) SetTimezone

func (o *DetailHost) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*DetailHost) SetUpdatedAt

func (o *DetailHost) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (DetailHost) ToMap

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

func (*DetailHost) UnmarshalJSON

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

type DetailHostServiceConfig

type DetailHostServiceConfig struct {
	// The current version of the Service deployed on the Host.
	CurrentVersion *string `json:"current_version,omitempty"`
	// The resource identifier.
	ServiceId *string `json:"service_id,omitempty"`
	// The name of the Service.
	ServiceName *string `json:"service_name,omitempty"`
	// The type of the Service deployed on the Host (`dns`, `cdc`, etc.).
	ServiceType *string `json:"service_type,omitempty"`
	// Service status information.
	Status *ShortServiceStatus `json:"status,omitempty"`
	// The timestamp of the latest upgrade of the Host-specific Service configuration.
	UpgradedAt           *time.Time `json:"upgraded_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailHostServiceConfig struct for DetailHostServiceConfig

func NewDetailHostServiceConfig

func NewDetailHostServiceConfig() *DetailHostServiceConfig

NewDetailHostServiceConfig instantiates a new DetailHostServiceConfig 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 NewDetailHostServiceConfigWithDefaults

func NewDetailHostServiceConfigWithDefaults() *DetailHostServiceConfig

NewDetailHostServiceConfigWithDefaults instantiates a new DetailHostServiceConfig 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 (*DetailHostServiceConfig) GetCurrentVersion

func (o *DetailHostServiceConfig) GetCurrentVersion() string

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*DetailHostServiceConfig) GetCurrentVersionOk

func (o *DetailHostServiceConfig) GetCurrentVersionOk() (*string, bool)

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

func (*DetailHostServiceConfig) GetServiceId

func (o *DetailHostServiceConfig) GetServiceId() string

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

func (*DetailHostServiceConfig) GetServiceIdOk

func (o *DetailHostServiceConfig) 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 (*DetailHostServiceConfig) GetServiceName

func (o *DetailHostServiceConfig) GetServiceName() string

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

func (*DetailHostServiceConfig) GetServiceNameOk

func (o *DetailHostServiceConfig) 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 (*DetailHostServiceConfig) GetServiceType

func (o *DetailHostServiceConfig) GetServiceType() string

GetServiceType returns the ServiceType field value if set, zero value otherwise.

func (*DetailHostServiceConfig) GetServiceTypeOk

func (o *DetailHostServiceConfig) GetServiceTypeOk() (*string, bool)

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

func (*DetailHostServiceConfig) GetStatus

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

func (*DetailHostServiceConfig) GetStatusOk

func (o *DetailHostServiceConfig) GetStatusOk() (*ShortServiceStatus, bool)

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

func (*DetailHostServiceConfig) GetUpgradedAt

func (o *DetailHostServiceConfig) GetUpgradedAt() time.Time

GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.

func (*DetailHostServiceConfig) GetUpgradedAtOk

func (o *DetailHostServiceConfig) GetUpgradedAtOk() (*time.Time, bool)

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

func (*DetailHostServiceConfig) HasCurrentVersion

func (o *DetailHostServiceConfig) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*DetailHostServiceConfig) HasServiceId

func (o *DetailHostServiceConfig) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*DetailHostServiceConfig) HasServiceName

func (o *DetailHostServiceConfig) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*DetailHostServiceConfig) HasServiceType

func (o *DetailHostServiceConfig) HasServiceType() bool

HasServiceType returns a boolean if a field has been set.

func (*DetailHostServiceConfig) HasStatus

func (o *DetailHostServiceConfig) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DetailHostServiceConfig) HasUpgradedAt

func (o *DetailHostServiceConfig) HasUpgradedAt() bool

HasUpgradedAt returns a boolean if a field has been set.

func (DetailHostServiceConfig) MarshalJSON

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

func (*DetailHostServiceConfig) SetCurrentVersion

func (o *DetailHostServiceConfig) SetCurrentVersion(v string)

SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.

func (*DetailHostServiceConfig) SetServiceId

func (o *DetailHostServiceConfig) SetServiceId(v string)

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

func (*DetailHostServiceConfig) SetServiceName

func (o *DetailHostServiceConfig) SetServiceName(v string)

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

func (*DetailHostServiceConfig) SetServiceType

func (o *DetailHostServiceConfig) SetServiceType(v string)

SetServiceType gets a reference to the given string and assigns it to the ServiceType field.

func (*DetailHostServiceConfig) SetStatus

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

func (*DetailHostServiceConfig) SetUpgradedAt

func (o *DetailHostServiceConfig) SetUpgradedAt(v time.Time)

SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.

func (DetailHostServiceConfig) ToMap

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

func (*DetailHostServiceConfig) UnmarshalJSON

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

type DetailLocation

type DetailLocation struct {
	// The address of the Location containing address, postal_code, city, state, and country.
	Address map[string]interface{} `json:"address,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// Latitude of the Location.
	Latitude *float64 `json:"latitude,omitempty"`
	// Longitude of the Location.
	Longitude *float64 `json:"longitude,omitempty"`
	// The metadata of the Location which could contain other info such as attributions.
	Metadata             map[string]interface{} `json:"metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailLocation struct for DetailLocation

func NewDetailLocation

func NewDetailLocation() *DetailLocation

NewDetailLocation instantiates a new DetailLocation 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 NewDetailLocationWithDefaults

func NewDetailLocationWithDefaults() *DetailLocation

NewDetailLocationWithDefaults instantiates a new DetailLocation 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 (*DetailLocation) GetAddress

func (o *DetailLocation) GetAddress() map[string]interface{}

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

func (*DetailLocation) GetAddressOk

func (o *DetailLocation) GetAddressOk() (map[string]interface{}, 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 (*DetailLocation) GetId

func (o *DetailLocation) GetId() string

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

func (*DetailLocation) GetIdOk

func (o *DetailLocation) GetIdOk() (*string, 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 (*DetailLocation) GetLatitude

func (o *DetailLocation) GetLatitude() float64

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*DetailLocation) GetLatitudeOk

func (o *DetailLocation) GetLatitudeOk() (*float64, bool)

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

func (*DetailLocation) GetLongitude

func (o *DetailLocation) GetLongitude() float64

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*DetailLocation) GetLongitudeOk

func (o *DetailLocation) GetLongitudeOk() (*float64, bool)

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

func (*DetailLocation) GetMetadata

func (o *DetailLocation) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*DetailLocation) GetMetadataOk

func (o *DetailLocation) GetMetadataOk() (map[string]interface{}, bool)

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

func (*DetailLocation) HasAddress

func (o *DetailLocation) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*DetailLocation) HasId

func (o *DetailLocation) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailLocation) HasLatitude

func (o *DetailLocation) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*DetailLocation) HasLongitude

func (o *DetailLocation) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*DetailLocation) HasMetadata

func (o *DetailLocation) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (DetailLocation) MarshalJSON

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

func (*DetailLocation) SetAddress

func (o *DetailLocation) SetAddress(v map[string]interface{})

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

func (*DetailLocation) SetId

func (o *DetailLocation) SetId(v string)

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

func (*DetailLocation) SetLatitude

func (o *DetailLocation) SetLatitude(v float64)

SetLatitude gets a reference to the given float64 and assigns it to the Latitude field.

func (*DetailLocation) SetLongitude

func (o *DetailLocation) SetLongitude(v float64)

SetLongitude gets a reference to the given float64 and assigns it to the Longitude field.

func (*DetailLocation) SetMetadata

func (o *DetailLocation) SetMetadata(v map[string]interface{})

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

func (DetailLocation) ToMap

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

func (*DetailLocation) UnmarshalJSON

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

type DetailService

type DetailService struct {
	// Composite State of this Service (`started`, `stopped`, `stopping`, `starting`, `error`).
	CompositeState *string `json:"composite_state,omitempty"`
	// Composite Status of this Service (`online`, `stopped`, `degraded`, `error`).
	CompositeStatus *string `json:"composite_status,omitempty"`
	// Timestamp of creation of Service.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Current version of this Service.
	CurrentVersion *string `json:"current_version,omitempty"`
	// The description of the Service.
	Description *string `json:"description,omitempty"`
	// The desired state of the Service (`\"start\"` or `\"stop\"`).
	DesiredState *string `json:"desired_state,omitempty"`
	// The desired version of the Service.
	DesiredVersion *string `json:"desired_version,omitempty"`
	// List of Hosts on which this Service is deployed.
	Hosts []DetailServiceHost `json:"hosts,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// List of interfaces on which this Service can operate.
	InterfaceLabels []string `json:"interface_labels,omitempty"`
	// Location that this Host is associated with.
	Location *DetailLocation `json:"location,omitempty"`
	// The name of the Service.
	Name *string `json:"name,omitempty"`
	// Pool information for this Service (internal).
	Pool *PoolInfo `json:"pool,omitempty"`
	// The type of the Service deployed on the Host (`dns`, `cdc`, etc.).
	ServiceType *string `json:"service_type,omitempty"`
	// Tags associated with this Service.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// Timestamp of the latest update on Service.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailService struct for DetailService

func NewDetailService

func NewDetailService() *DetailService

NewDetailService instantiates a new DetailService 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 NewDetailServiceWithDefaults

func NewDetailServiceWithDefaults() *DetailService

NewDetailServiceWithDefaults instantiates a new DetailService 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 (*DetailService) GetCompositeState

func (o *DetailService) GetCompositeState() string

GetCompositeState returns the CompositeState field value if set, zero value otherwise.

func (*DetailService) GetCompositeStateOk

func (o *DetailService) GetCompositeStateOk() (*string, bool)

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

func (*DetailService) GetCompositeStatus

func (o *DetailService) GetCompositeStatus() string

GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.

func (*DetailService) GetCompositeStatusOk

func (o *DetailService) GetCompositeStatusOk() (*string, bool)

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

func (*DetailService) GetCreatedAt

func (o *DetailService) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DetailService) GetCreatedAtOk

func (o *DetailService) GetCreatedAtOk() (*time.Time, bool)

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

func (*DetailService) GetCurrentVersion

func (o *DetailService) GetCurrentVersion() string

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*DetailService) GetCurrentVersionOk

func (o *DetailService) GetCurrentVersionOk() (*string, bool)

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

func (*DetailService) GetDescription

func (o *DetailService) GetDescription() string

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

func (*DetailService) GetDescriptionOk

func (o *DetailService) GetDescriptionOk() (*string, bool)

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

func (*DetailService) GetDesiredState

func (o *DetailService) GetDesiredState() string

GetDesiredState returns the DesiredState field value if set, zero value otherwise.

func (*DetailService) GetDesiredStateOk

func (o *DetailService) GetDesiredStateOk() (*string, bool)

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

func (*DetailService) GetDesiredVersion

func (o *DetailService) GetDesiredVersion() string

GetDesiredVersion returns the DesiredVersion field value if set, zero value otherwise.

func (*DetailService) GetDesiredVersionOk

func (o *DetailService) GetDesiredVersionOk() (*string, bool)

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

func (*DetailService) GetHosts

func (o *DetailService) GetHosts() []DetailServiceHost

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*DetailService) GetHostsOk

func (o *DetailService) GetHostsOk() ([]DetailServiceHost, bool)

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

func (*DetailService) GetId

func (o *DetailService) GetId() string

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

func (*DetailService) GetIdOk

func (o *DetailService) GetIdOk() (*string, 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 (*DetailService) GetInterfaceLabels

func (o *DetailService) GetInterfaceLabels() []string

GetInterfaceLabels returns the InterfaceLabels field value if set, zero value otherwise.

func (*DetailService) GetInterfaceLabelsOk

func (o *DetailService) GetInterfaceLabelsOk() ([]string, bool)

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

func (*DetailService) GetLocation

func (o *DetailService) GetLocation() DetailLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*DetailService) GetLocationOk

func (o *DetailService) GetLocationOk() (*DetailLocation, bool)

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

func (*DetailService) GetName

func (o *DetailService) GetName() string

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

func (*DetailService) GetNameOk

func (o *DetailService) 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 (*DetailService) GetPool

func (o *DetailService) GetPool() PoolInfo

GetPool returns the Pool field value if set, zero value otherwise.

func (*DetailService) GetPoolOk

func (o *DetailService) GetPoolOk() (*PoolInfo, bool)

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

func (*DetailService) GetServiceType

func (o *DetailService) GetServiceType() string

GetServiceType returns the ServiceType field value if set, zero value otherwise.

func (*DetailService) GetServiceTypeOk

func (o *DetailService) GetServiceTypeOk() (*string, bool)

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

func (*DetailService) GetTags

func (o *DetailService) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*DetailService) GetTagsOk

func (o *DetailService) GetTagsOk() (map[string]interface{}, bool)

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

func (*DetailService) GetUpdatedAt

func (o *DetailService) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DetailService) GetUpdatedAtOk

func (o *DetailService) GetUpdatedAtOk() (*time.Time, bool)

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

func (*DetailService) HasCompositeState

func (o *DetailService) HasCompositeState() bool

HasCompositeState returns a boolean if a field has been set.

func (*DetailService) HasCompositeStatus

func (o *DetailService) HasCompositeStatus() bool

HasCompositeStatus returns a boolean if a field has been set.

func (*DetailService) HasCreatedAt

func (o *DetailService) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DetailService) HasCurrentVersion

func (o *DetailService) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*DetailService) HasDescription

func (o *DetailService) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DetailService) HasDesiredState

func (o *DetailService) HasDesiredState() bool

HasDesiredState returns a boolean if a field has been set.

func (*DetailService) HasDesiredVersion

func (o *DetailService) HasDesiredVersion() bool

HasDesiredVersion returns a boolean if a field has been set.

func (*DetailService) HasHosts

func (o *DetailService) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*DetailService) HasId

func (o *DetailService) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailService) HasInterfaceLabels

func (o *DetailService) HasInterfaceLabels() bool

HasInterfaceLabels returns a boolean if a field has been set.

func (*DetailService) HasLocation

func (o *DetailService) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*DetailService) HasName

func (o *DetailService) HasName() bool

HasName returns a boolean if a field has been set.

func (*DetailService) HasPool

func (o *DetailService) HasPool() bool

HasPool returns a boolean if a field has been set.

func (*DetailService) HasServiceType

func (o *DetailService) HasServiceType() bool

HasServiceType returns a boolean if a field has been set.

func (*DetailService) HasTags

func (o *DetailService) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DetailService) HasUpdatedAt

func (o *DetailService) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DetailService) MarshalJSON

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

func (*DetailService) SetCompositeState

func (o *DetailService) SetCompositeState(v string)

SetCompositeState gets a reference to the given string and assigns it to the CompositeState field.

func (*DetailService) SetCompositeStatus

func (o *DetailService) SetCompositeStatus(v string)

SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.

func (*DetailService) SetCreatedAt

func (o *DetailService) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DetailService) SetCurrentVersion

func (o *DetailService) SetCurrentVersion(v string)

SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.

func (*DetailService) SetDescription

func (o *DetailService) SetDescription(v string)

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

func (*DetailService) SetDesiredState

func (o *DetailService) SetDesiredState(v string)

SetDesiredState gets a reference to the given string and assigns it to the DesiredState field.

func (*DetailService) SetDesiredVersion

func (o *DetailService) SetDesiredVersion(v string)

SetDesiredVersion gets a reference to the given string and assigns it to the DesiredVersion field.

func (*DetailService) SetHosts

func (o *DetailService) SetHosts(v []DetailServiceHost)

SetHosts gets a reference to the given []DetailServiceHost and assigns it to the Hosts field.

func (*DetailService) SetId

func (o *DetailService) SetId(v string)

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

func (*DetailService) SetInterfaceLabels

func (o *DetailService) SetInterfaceLabels(v []string)

SetInterfaceLabels gets a reference to the given []string and assigns it to the InterfaceLabels field.

func (*DetailService) SetLocation

func (o *DetailService) SetLocation(v DetailLocation)

SetLocation gets a reference to the given DetailLocation and assigns it to the Location field.

func (*DetailService) SetName

func (o *DetailService) SetName(v string)

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

func (*DetailService) SetPool

func (o *DetailService) SetPool(v PoolInfo)

SetPool gets a reference to the given PoolInfo and assigns it to the Pool field.

func (*DetailService) SetServiceType

func (o *DetailService) SetServiceType(v string)

SetServiceType gets a reference to the given string and assigns it to the ServiceType field.

func (*DetailService) SetTags

func (o *DetailService) SetTags(v map[string]interface{})

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

func (*DetailService) SetUpdatedAt

func (o *DetailService) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (DetailService) ToMap

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

func (*DetailService) UnmarshalJSON

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

type DetailServiceHost

type DetailServiceHost struct {
	// Composite Status of the Host (`online`, `degraded`, `error`, `offline`, `pending`, `awaiting approval`).
	CompositeStatus *string `json:"composite_status,omitempty"`
	// List of Host-specific configurations of this Service.
	Config *DetailServiceHostConfig `json:"config,omitempty"`
	// The name of the Host (unique).
	DisplayName *string `json:"display_name,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// The IP address of the Host.
	IpAddress *string `json:"ip_address,omitempty"`
	// The legacy Host object identifier.
	LegacyId        *string `json:"legacy_id,omitempty"`
	MaintenanceMode *string `json:"maintenance_mode,omitempty"`
	// The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud.
	Ophid                *string `json:"ophid,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailServiceHost struct for DetailServiceHost

func NewDetailServiceHost

func NewDetailServiceHost() *DetailServiceHost

NewDetailServiceHost instantiates a new DetailServiceHost 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 NewDetailServiceHostWithDefaults

func NewDetailServiceHostWithDefaults() *DetailServiceHost

NewDetailServiceHostWithDefaults instantiates a new DetailServiceHost 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 (*DetailServiceHost) GetCompositeStatus

func (o *DetailServiceHost) GetCompositeStatus() string

GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.

func (*DetailServiceHost) GetCompositeStatusOk

func (o *DetailServiceHost) GetCompositeStatusOk() (*string, bool)

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

func (*DetailServiceHost) GetConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*DetailServiceHost) GetConfigOk

func (o *DetailServiceHost) GetConfigOk() (*DetailServiceHostConfig, bool)

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

func (*DetailServiceHost) GetDisplayName

func (o *DetailServiceHost) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*DetailServiceHost) GetDisplayNameOk

func (o *DetailServiceHost) GetDisplayNameOk() (*string, bool)

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

func (*DetailServiceHost) GetId

func (o *DetailServiceHost) GetId() string

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

func (*DetailServiceHost) GetIdOk

func (o *DetailServiceHost) GetIdOk() (*string, 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 (*DetailServiceHost) GetIpAddress

func (o *DetailServiceHost) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*DetailServiceHost) GetIpAddressOk

func (o *DetailServiceHost) GetIpAddressOk() (*string, bool)

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

func (*DetailServiceHost) GetLegacyId

func (o *DetailServiceHost) GetLegacyId() string

GetLegacyId returns the LegacyId field value if set, zero value otherwise.

func (*DetailServiceHost) GetLegacyIdOk

func (o *DetailServiceHost) GetLegacyIdOk() (*string, bool)

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

func (*DetailServiceHost) GetMaintenanceMode

func (o *DetailServiceHost) GetMaintenanceMode() string

GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.

func (*DetailServiceHost) GetMaintenanceModeOk

func (o *DetailServiceHost) GetMaintenanceModeOk() (*string, bool)

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

func (*DetailServiceHost) GetOphid

func (o *DetailServiceHost) GetOphid() string

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

func (*DetailServiceHost) GetOphidOk

func (o *DetailServiceHost) 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 (*DetailServiceHost) HasCompositeStatus

func (o *DetailServiceHost) HasCompositeStatus() bool

HasCompositeStatus returns a boolean if a field has been set.

func (*DetailServiceHost) HasConfig

func (o *DetailServiceHost) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*DetailServiceHost) HasDisplayName

func (o *DetailServiceHost) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*DetailServiceHost) HasId

func (o *DetailServiceHost) HasId() bool

HasId returns a boolean if a field has been set.

func (*DetailServiceHost) HasIpAddress

func (o *DetailServiceHost) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*DetailServiceHost) HasLegacyId

func (o *DetailServiceHost) HasLegacyId() bool

HasLegacyId returns a boolean if a field has been set.

func (*DetailServiceHost) HasMaintenanceMode

func (o *DetailServiceHost) HasMaintenanceMode() bool

HasMaintenanceMode returns a boolean if a field has been set.

func (*DetailServiceHost) HasOphid

func (o *DetailServiceHost) HasOphid() bool

HasOphid returns a boolean if a field has been set.

func (DetailServiceHost) MarshalJSON

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

func (*DetailServiceHost) SetCompositeStatus

func (o *DetailServiceHost) SetCompositeStatus(v string)

SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.

func (*DetailServiceHost) SetConfig

SetConfig gets a reference to the given DetailServiceHostConfig and assigns it to the Config field.

func (*DetailServiceHost) SetDisplayName

func (o *DetailServiceHost) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*DetailServiceHost) SetId

func (o *DetailServiceHost) SetId(v string)

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

func (*DetailServiceHost) SetIpAddress

func (o *DetailServiceHost) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*DetailServiceHost) SetLegacyId

func (o *DetailServiceHost) SetLegacyId(v string)

SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.

func (*DetailServiceHost) SetMaintenanceMode

func (o *DetailServiceHost) SetMaintenanceMode(v string)

SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.

func (*DetailServiceHost) SetOphid

func (o *DetailServiceHost) SetOphid(v string)

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

func (DetailServiceHost) ToMap

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

func (*DetailServiceHost) UnmarshalJSON

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

type DetailServiceHostConfig

type DetailServiceHostConfig struct {
	// The current version of the Service deployed on the Host.
	CurrentVersion *string `json:"current_version,omitempty"`
	// Service status information.
	Status               *ShortServiceStatus `json:"status,omitempty"`
	UpgradedAt           *time.Time          `json:"upgraded_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DetailServiceHostConfig struct for DetailServiceHostConfig

func NewDetailServiceHostConfig

func NewDetailServiceHostConfig() *DetailServiceHostConfig

NewDetailServiceHostConfig instantiates a new DetailServiceHostConfig 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 NewDetailServiceHostConfigWithDefaults

func NewDetailServiceHostConfigWithDefaults() *DetailServiceHostConfig

NewDetailServiceHostConfigWithDefaults instantiates a new DetailServiceHostConfig 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 (*DetailServiceHostConfig) GetCurrentVersion

func (o *DetailServiceHostConfig) GetCurrentVersion() string

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*DetailServiceHostConfig) GetCurrentVersionOk

func (o *DetailServiceHostConfig) GetCurrentVersionOk() (*string, bool)

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

func (*DetailServiceHostConfig) GetStatus

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

func (*DetailServiceHostConfig) GetStatusOk

func (o *DetailServiceHostConfig) GetStatusOk() (*ShortServiceStatus, bool)

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

func (*DetailServiceHostConfig) GetUpgradedAt

func (o *DetailServiceHostConfig) GetUpgradedAt() time.Time

GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.

func (*DetailServiceHostConfig) GetUpgradedAtOk

func (o *DetailServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)

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

func (*DetailServiceHostConfig) HasCurrentVersion

func (o *DetailServiceHostConfig) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*DetailServiceHostConfig) HasStatus

func (o *DetailServiceHostConfig) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DetailServiceHostConfig) HasUpgradedAt

func (o *DetailServiceHostConfig) HasUpgradedAt() bool

HasUpgradedAt returns a boolean if a field has been set.

func (DetailServiceHostConfig) MarshalJSON

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

func (*DetailServiceHostConfig) SetCurrentVersion

func (o *DetailServiceHostConfig) SetCurrentVersion(v string)

SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.

func (*DetailServiceHostConfig) SetStatus

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

func (*DetailServiceHostConfig) SetUpgradedAt

func (o *DetailServiceHostConfig) SetUpgradedAt(v time.Time)

SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.

func (DetailServiceHostConfig) ToMap

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

func (*DetailServiceHostConfig) UnmarshalJSON

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

type DisconnectRequest

type DisconnectRequest struct {
	// The resource identifier.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

DisconnectRequest struct for DisconnectRequest

func NewDisconnectRequest

func NewDisconnectRequest() *DisconnectRequest

NewDisconnectRequest instantiates a new DisconnectRequest 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 NewDisconnectRequestWithDefaults

func NewDisconnectRequestWithDefaults() *DisconnectRequest

NewDisconnectRequestWithDefaults instantiates a new DisconnectRequest 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 (*DisconnectRequest) GetId

func (o *DisconnectRequest) GetId() string

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

func (*DisconnectRequest) GetIdOk

func (o *DisconnectRequest) GetIdOk() (*string, 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 (*DisconnectRequest) HasId

func (o *DisconnectRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (DisconnectRequest) MarshalJSON

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

func (*DisconnectRequest) SetId

func (o *DisconnectRequest) SetId(v string)

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

func (DisconnectRequest) ToMap

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

func (*DisconnectRequest) UnmarshalJSON

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

type GetHostResponse

type GetHostResponse struct {
	Result               *Host `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetHostResponse struct for GetHostResponse

func NewGetHostResponse

func NewGetHostResponse() *GetHostResponse

NewGetHostResponse instantiates a new GetHostResponse 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 NewGetHostResponseWithDefaults

func NewGetHostResponseWithDefaults() *GetHostResponse

NewGetHostResponseWithDefaults instantiates a new GetHostResponse 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 (*GetHostResponse) GetResult

func (o *GetHostResponse) GetResult() Host

GetResult returns the Result field value if set, zero value otherwise.

func (*GetHostResponse) GetResultOk

func (o *GetHostResponse) GetResultOk() (*Host, bool)

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

func (*GetHostResponse) HasResult

func (o *GetHostResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (GetHostResponse) MarshalJSON

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

func (*GetHostResponse) SetResult

func (o *GetHostResponse) SetResult(v Host)

SetResult gets a reference to the given Host and assigns it to the Result field.

func (GetHostResponse) ToMap

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

func (*GetHostResponse) UnmarshalJSON

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

type GetServiceResponse

type GetServiceResponse struct {
	Result               *Service `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServiceResponse struct for GetServiceResponse

func NewGetServiceResponse

func NewGetServiceResponse() *GetServiceResponse

NewGetServiceResponse instantiates a new GetServiceResponse 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 NewGetServiceResponseWithDefaults

func NewGetServiceResponseWithDefaults() *GetServiceResponse

NewGetServiceResponseWithDefaults instantiates a new GetServiceResponse 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 (*GetServiceResponse) GetResult

func (o *GetServiceResponse) GetResult() Service

GetResult returns the Result field value if set, zero value otherwise.

func (*GetServiceResponse) GetResultOk

func (o *GetServiceResponse) GetResultOk() (*Service, bool)

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

func (*GetServiceResponse) HasResult

func (o *GetServiceResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (GetServiceResponse) MarshalJSON

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

func (*GetServiceResponse) SetResult

func (o *GetServiceResponse) SetResult(v Service)

SetResult gets a reference to the given Service and assigns it to the Result field.

func (GetServiceResponse) ToMap

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

func (*GetServiceResponse) UnmarshalJSON

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

type Host

type Host struct {
	// The list of Host-specific configurations for each Service deployed on this Host.
	Configs []ServiceHostConfig `json:"configs,omitempty"`
	// Represents the connectivity monitor properties of a Host, to enable/disable connectivity monitoring for redundant network interfaces.  The \"endpoint_type\" is: - `\"csp\"` for enabling monitoring - `\"\"` for disabling monitoring (default)  Note: Currently, all fields except \"endpoint_type\" are read-only, and will be overridden to default values in case they are edited.  Example: “` {   \"connectivity_monitor\": {     \"cost\":1000000,     \"endpoint_type\":\"csp\",     \"endpoint\":\"http://csp.infoblox.com\",     \"interval\":15,     \"failure_threshold\":1,     \"success_threshold\":2   } } “`
	ConnectivityMonitor map[string]interface{} `json:"connectivity_monitor,omitempty"`
	// The timestamp of creation of Host.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The creator of the Host (internal use only).
	CreatedBy *string `json:"created_by,omitempty"`
	// The description of the Host (optional).
	Description *string `json:"description,omitempty"`
	// The name of the Host (unique).
	DisplayName string `json:"display_name"`
	// The sub-type of a specific Host type.  Example: For Host type BloxOne Appliance, sub-type could be \"B105\" or \"VEP1425\"
	HostSubtype *string `json:"host_subtype,omitempty"`
	// The type of Host.  Should be one of: 1. NIOS , 2. NIOS HA, 3. BloxOne VM , 4. BloxOne Appliance, 5. BloxOne Container, 6. CNIOS
	HostType *string `json:"host_type,omitempty"`
	// The version of the Host platform services.
	HostVersion *string `json:"host_version,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// The IP address of the Host.
	IpAddress *string `json:"ip_address,omitempty"`
	// The IP Space of the Host.
	IpSpace *string `json:"ip_space,omitempty"`
	// The legacy Host object identifier.
	LegacyId *string `json:"legacy_id,omitempty"`
	// The resource identifier.
	LocationId *string `json:"location_id,omitempty"`
	// The MAC address of the Host.
	MacAddress      *string `json:"mac_address,omitempty"`
	MaintenanceMode *string `json:"maintenance_mode,omitempty"`
	// The NAT IP address of the Host.
	NatIp *string `json:"nat_ip,omitempty"`
	// The CSP cluster identifier (internal use only).
	NoaCluster *string `json:"noa_cluster,omitempty"`
	// The unique On-Prem Host ID generated by the On-Prem device and assigned to the Host once it is registered and logged into the Infoblox Cloud.
	Ophid *string `json:"ophid,omitempty"`
	// The resource identifier.
	PoolId *string `json:"pool_id,omitempty"`
	// The unique serial number of the Host.
	SerialNumber *string `json:"serial_number,omitempty"`
	// Tags associated with this Host.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// The timezone of the Host.
	Timezone *string `json:"timezone,omitempty"`
	// The timestamp of the latest update on Host.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

Host Infrastructure Service

func NewHost

func NewHost(displayName string) *Host

NewHost instantiates a new Host 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 NewHostWithDefaults

func NewHostWithDefaults() *Host

NewHostWithDefaults instantiates a new Host 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 (*Host) GetConfigs

func (o *Host) GetConfigs() []ServiceHostConfig

GetConfigs returns the Configs field value if set, zero value otherwise.

func (*Host) GetConfigsOk

func (o *Host) GetConfigsOk() ([]ServiceHostConfig, bool)

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

func (*Host) GetConnectivityMonitor

func (o *Host) GetConnectivityMonitor() map[string]interface{}

GetConnectivityMonitor returns the ConnectivityMonitor field value if set, zero value otherwise.

func (*Host) GetConnectivityMonitorOk

func (o *Host) GetConnectivityMonitorOk() (map[string]interface{}, bool)

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

func (*Host) GetCreatedAt

func (o *Host) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Host) GetCreatedAtOk

func (o *Host) GetCreatedAtOk() (*time.Time, bool)

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

func (*Host) GetCreatedBy

func (o *Host) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Host) GetCreatedByOk

func (o *Host) GetCreatedByOk() (*string, bool)

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

func (*Host) GetDescription

func (o *Host) GetDescription() string

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

func (*Host) GetDescriptionOk

func (o *Host) GetDescriptionOk() (*string, bool)

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

func (*Host) GetDisplayName

func (o *Host) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Host) GetDisplayNameOk

func (o *Host) GetDisplayNameOk() (*string, bool)

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

func (*Host) GetHostSubtype

func (o *Host) GetHostSubtype() string

GetHostSubtype returns the HostSubtype field value if set, zero value otherwise.

func (*Host) GetHostSubtypeOk

func (o *Host) GetHostSubtypeOk() (*string, bool)

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

func (*Host) GetHostType

func (o *Host) GetHostType() string

GetHostType returns the HostType field value if set, zero value otherwise.

func (*Host) GetHostTypeOk

func (o *Host) GetHostTypeOk() (*string, bool)

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

func (*Host) GetHostVersion

func (o *Host) GetHostVersion() string

GetHostVersion returns the HostVersion field value if set, zero value otherwise.

func (*Host) GetHostVersionOk

func (o *Host) GetHostVersionOk() (*string, bool)

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

func (*Host) GetId

func (o *Host) GetId() string

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

func (*Host) GetIdOk

func (o *Host) GetIdOk() (*string, 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 (*Host) GetIpAddress

func (o *Host) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*Host) GetIpAddressOk

func (o *Host) GetIpAddressOk() (*string, bool)

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

func (*Host) GetIpSpace

func (o *Host) GetIpSpace() string

GetIpSpace returns the IpSpace field value if set, zero value otherwise.

func (*Host) GetIpSpaceOk

func (o *Host) GetIpSpaceOk() (*string, bool)

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

func (*Host) GetLegacyId

func (o *Host) GetLegacyId() string

GetLegacyId returns the LegacyId field value if set, zero value otherwise.

func (*Host) GetLegacyIdOk

func (o *Host) GetLegacyIdOk() (*string, bool)

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

func (*Host) GetLocationId

func (o *Host) GetLocationId() string

GetLocationId returns the LocationId field value if set, zero value otherwise.

func (*Host) GetLocationIdOk

func (o *Host) GetLocationIdOk() (*string, bool)

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

func (*Host) GetMacAddress

func (o *Host) GetMacAddress() string

GetMacAddress returns the MacAddress field value if set, zero value otherwise.

func (*Host) GetMacAddressOk

func (o *Host) GetMacAddressOk() (*string, bool)

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

func (*Host) GetMaintenanceMode

func (o *Host) GetMaintenanceMode() string

GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.

func (*Host) GetMaintenanceModeOk

func (o *Host) GetMaintenanceModeOk() (*string, bool)

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

func (*Host) GetNatIp

func (o *Host) GetNatIp() string

GetNatIp returns the NatIp field value if set, zero value otherwise.

func (*Host) GetNatIpOk

func (o *Host) GetNatIpOk() (*string, bool)

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

func (*Host) GetNoaCluster

func (o *Host) GetNoaCluster() string

GetNoaCluster returns the NoaCluster field value if set, zero value otherwise.

func (*Host) GetNoaClusterOk

func (o *Host) GetNoaClusterOk() (*string, bool)

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

func (*Host) GetOphid

func (o *Host) GetOphid() string

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

func (*Host) GetOphidOk

func (o *Host) 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 (*Host) GetPoolId

func (o *Host) GetPoolId() string

GetPoolId returns the PoolId field value if set, zero value otherwise.

func (*Host) GetPoolIdOk

func (o *Host) GetPoolIdOk() (*string, bool)

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

func (*Host) GetSerialNumber

func (o *Host) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.

func (*Host) GetSerialNumberOk

func (o *Host) GetSerialNumberOk() (*string, bool)

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

func (*Host) GetTags

func (o *Host) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*Host) GetTagsOk

func (o *Host) GetTagsOk() (map[string]interface{}, bool)

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

func (*Host) GetTimezone

func (o *Host) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*Host) GetTimezoneOk

func (o *Host) GetTimezoneOk() (*string, bool)

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

func (*Host) GetUpdatedAt

func (o *Host) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Host) GetUpdatedAtOk

func (o *Host) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Host) HasConfigs

func (o *Host) HasConfigs() bool

HasConfigs returns a boolean if a field has been set.

func (*Host) HasConnectivityMonitor

func (o *Host) HasConnectivityMonitor() bool

HasConnectivityMonitor returns a boolean if a field has been set.

func (*Host) HasCreatedAt

func (o *Host) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Host) HasCreatedBy

func (o *Host) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Host) HasDescription

func (o *Host) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Host) HasHostSubtype

func (o *Host) HasHostSubtype() bool

HasHostSubtype returns a boolean if a field has been set.

func (*Host) HasHostType

func (o *Host) HasHostType() bool

HasHostType returns a boolean if a field has been set.

func (*Host) HasHostVersion

func (o *Host) HasHostVersion() bool

HasHostVersion returns a boolean if a field has been set.

func (*Host) HasId

func (o *Host) HasId() bool

HasId returns a boolean if a field has been set.

func (*Host) HasIpAddress

func (o *Host) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (*Host) HasIpSpace

func (o *Host) HasIpSpace() bool

HasIpSpace returns a boolean if a field has been set.

func (*Host) HasLegacyId

func (o *Host) HasLegacyId() bool

HasLegacyId returns a boolean if a field has been set.

func (*Host) HasLocationId

func (o *Host) HasLocationId() bool

HasLocationId returns a boolean if a field has been set.

func (*Host) HasMacAddress

func (o *Host) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (*Host) HasMaintenanceMode

func (o *Host) HasMaintenanceMode() bool

HasMaintenanceMode returns a boolean if a field has been set.

func (*Host) HasNatIp

func (o *Host) HasNatIp() bool

HasNatIp returns a boolean if a field has been set.

func (*Host) HasNoaCluster

func (o *Host) HasNoaCluster() bool

HasNoaCluster returns a boolean if a field has been set.

func (*Host) HasOphid

func (o *Host) HasOphid() bool

HasOphid returns a boolean if a field has been set.

func (*Host) HasPoolId

func (o *Host) HasPoolId() bool

HasPoolId returns a boolean if a field has been set.

func (*Host) HasSerialNumber

func (o *Host) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*Host) HasTags

func (o *Host) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Host) HasTimezone

func (o *Host) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*Host) HasUpdatedAt

func (o *Host) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Host) MarshalJSON

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

func (*Host) SetConfigs

func (o *Host) SetConfigs(v []ServiceHostConfig)

SetConfigs gets a reference to the given []ServiceHostConfig and assigns it to the Configs field.

func (*Host) SetConnectivityMonitor

func (o *Host) SetConnectivityMonitor(v map[string]interface{})

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

func (*Host) SetCreatedAt

func (o *Host) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Host) SetCreatedBy

func (o *Host) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Host) SetDescription

func (o *Host) SetDescription(v string)

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

func (*Host) SetDisplayName

func (o *Host) SetDisplayName(v string)

SetDisplayName sets field value

func (*Host) SetHostSubtype

func (o *Host) SetHostSubtype(v string)

SetHostSubtype gets a reference to the given string and assigns it to the HostSubtype field.

func (*Host) SetHostType

func (o *Host) SetHostType(v string)

SetHostType gets a reference to the given string and assigns it to the HostType field.

func (*Host) SetHostVersion

func (o *Host) SetHostVersion(v string)

SetHostVersion gets a reference to the given string and assigns it to the HostVersion field.

func (*Host) SetId

func (o *Host) SetId(v string)

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

func (*Host) SetIpAddress

func (o *Host) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

func (*Host) SetIpSpace

func (o *Host) SetIpSpace(v string)

SetIpSpace gets a reference to the given string and assigns it to the IpSpace field.

func (*Host) SetLegacyId

func (o *Host) SetLegacyId(v string)

SetLegacyId gets a reference to the given string and assigns it to the LegacyId field.

func (*Host) SetLocationId

func (o *Host) SetLocationId(v string)

SetLocationId gets a reference to the given string and assigns it to the LocationId field.

func (*Host) SetMacAddress

func (o *Host) SetMacAddress(v string)

SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.

func (*Host) SetMaintenanceMode

func (o *Host) SetMaintenanceMode(v string)

SetMaintenanceMode gets a reference to the given string and assigns it to the MaintenanceMode field.

func (*Host) SetNatIp

func (o *Host) SetNatIp(v string)

SetNatIp gets a reference to the given string and assigns it to the NatIp field.

func (*Host) SetNoaCluster

func (o *Host) SetNoaCluster(v string)

SetNoaCluster gets a reference to the given string and assigns it to the NoaCluster field.

func (*Host) SetOphid

func (o *Host) SetOphid(v string)

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

func (*Host) SetPoolId

func (o *Host) SetPoolId(v string)

SetPoolId gets a reference to the given string and assigns it to the PoolId field.

func (*Host) SetSerialNumber

func (o *Host) SetSerialNumber(v string)

SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.

func (*Host) SetTags

func (o *Host) SetTags(v map[string]interface{})

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

func (*Host) SetTimezone

func (o *Host) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*Host) SetUpdatedAt

func (o *Host) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Host) ToMap

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

func (*Host) UnmarshalJSON

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

type HostsAPI

type HostsAPI interface {
	/*
			AssignTags Assign tags for list of hosts.

			Validation:
		- "ids" is required.
		- "tags" is required.

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

	// AssignTagsExecute executes the request
	//  @return map[string]interface{}
	AssignTagsExecute(r HostsAPIAssignTagsRequest) (map[string]interface{}, *http.Response, error)
	/*
			Create Create a Host resource.

			Validation:
		- "display_name" is required and should be unique.

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

	// CreateExecute executes the request
	//  @return CreateHostResponse
	CreateExecute(r HostsAPICreateRequest) (*CreateHostResponse, *http.Response, error)
	/*
			Delete Delete a Host resource.

			Validation:
		- "id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return HostsAPIDeleteRequest
	*/
	Delete(ctx context.Context, id string) HostsAPIDeleteRequest

	// DeleteExecute executes the request
	DeleteExecute(r HostsAPIDeleteRequest) (*http.Response, error)
	/*
		Disconnect Disconnect a Host by resource ID.

		The user can disconnect the host from the cloud (for example, if in case a host is compromised).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param id An application specific resource identity of a resource
		@return HostsAPIDisconnectRequest
	*/
	Disconnect(ctx context.Context, id string) HostsAPIDisconnectRequest

	// DisconnectExecute executes the request
	//  @return map[string]interface{}
	DisconnectExecute(r HostsAPIDisconnectRequest) (map[string]interface{}, *http.Response, error)
	/*
		List List all the Host resources for an account.

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

	// ListExecute executes the request
	//  @return ListHostResponse
	ListExecute(r HostsAPIListRequest) (*ListHostResponse, *http.Response, error)
	/*
			Read Get a Host resource.

			Validation:
		- "id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return HostsAPIReadRequest
	*/
	Read(ctx context.Context, id string) HostsAPIReadRequest

	// ReadExecute executes the request
	//  @return GetHostResponse
	ReadExecute(r HostsAPIReadRequest) (*GetHostResponse, *http.Response, error)
	/*
		Replace Migrate a Host's configuration from one to another.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param fromResourceId An application specific resource identity of a resource
		@param toResourceId An application specific resource identity of a resource
		@return HostsAPIReplaceRequest
	*/
	Replace(ctx context.Context, fromResourceId string, toResourceId string) HostsAPIReplaceRequest

	// ReplaceExecute executes the request
	//  @return map[string]interface{}
	ReplaceExecute(r HostsAPIReplaceRequest) (map[string]interface{}, *http.Response, error)
	/*
			UnassignTags Unassign tag for the list hosts.

			Validation:
		- "ids" is required.
		- "keys" is required.

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

	// UnassignTagsExecute executes the request
	//  @return map[string]interface{}
	UnassignTagsExecute(r HostsAPIUnassignTagsRequest) (map[string]interface{}, *http.Response, error)
	/*
			Update Update a Host resource.

			Validation:
		- "id" is required.
		- "display_name" is required and should be unique.
		- "pool_id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return HostsAPIUpdateRequest
	*/
	Update(ctx context.Context, id string) HostsAPIUpdateRequest

	// UpdateExecute executes the request
	//  @return UpdateHostResponse
	UpdateExecute(r HostsAPIUpdateRequest) (*UpdateHostResponse, *http.Response, error)
}

type HostsAPIAssignTagsRequest

type HostsAPIAssignTagsRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIAssignTagsRequest) Body

func (HostsAPIAssignTagsRequest) Execute

func (r HostsAPIAssignTagsRequest) Execute() (map[string]interface{}, *http.Response, error)

type HostsAPICreateRequest

type HostsAPICreateRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPICreateRequest) Body

func (HostsAPICreateRequest) Execute

type HostsAPIDeleteRequest

type HostsAPIDeleteRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIDeleteRequest) Execute

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

type HostsAPIDisconnectRequest

type HostsAPIDisconnectRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIDisconnectRequest) Body

func (HostsAPIDisconnectRequest) Execute

func (r HostsAPIDisconnectRequest) Execute() (map[string]interface{}, *http.Response, error)

type HostsAPIListRequest

type HostsAPIListRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIListRequest) Execute

func (HostsAPIListRequest) 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 (HostsAPIListRequest) 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'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (HostsAPIListRequest) 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 (HostsAPIListRequest) 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 (HostsAPIListRequest) OrderBy

func (r HostsAPIListRequest) OrderBy(orderBy string) HostsAPIListRequest

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting 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, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (HostsAPIListRequest) PageToken

func (r HostsAPIListRequest) PageToken(pageToken string) HostsAPIListRequest

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

func (HostsAPIListRequest) Tfilter

func (r HostsAPIListRequest) Tfilter(tfilter string) HostsAPIListRequest

This parameter is used for filtering by tags.

func (HostsAPIListRequest) TorderBy

func (r HostsAPIListRequest) TorderBy(torderBy string) HostsAPIListRequest

This parameter is used for sorting by tags.

type HostsAPIReadRequest

type HostsAPIReadRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIReadRequest) Execute

type HostsAPIReplaceRequest

type HostsAPIReplaceRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIReplaceRequest) Body

func (HostsAPIReplaceRequest) Execute

func (r HostsAPIReplaceRequest) Execute() (map[string]interface{}, *http.Response, error)

type HostsAPIService

type HostsAPIService internal.Service

HostsAPIService HostsAPI service

func (*HostsAPIService) AssignTags

AssignTags Assign tags for list of hosts.

Validation: - "ids" is required. - "tags" is required.

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

func (*HostsAPIService) AssignTagsExecute

func (a *HostsAPIService) AssignTagsExecute(r HostsAPIAssignTagsRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*HostsAPIService) Create

Create Create a Host resource.

Validation: - "display_name" is required and should be unique.

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

func (*HostsAPIService) CreateExecute

Execute executes the request

@return CreateHostResponse

func (*HostsAPIService) Delete

Delete Delete a Host resource.

Validation: - "id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return HostsAPIDeleteRequest

func (*HostsAPIService) DeleteExecute

func (a *HostsAPIService) DeleteExecute(r HostsAPIDeleteRequest) (*http.Response, error)

Execute executes the request

func (*HostsAPIService) Disconnect

Disconnect Disconnect a Host by resource ID.

The user can disconnect the host from the cloud (for example, if in case a host is compromised).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return HostsAPIDisconnectRequest

func (*HostsAPIService) DisconnectExecute

func (a *HostsAPIService) DisconnectExecute(r HostsAPIDisconnectRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*HostsAPIService) List

List List all the Host resources for an account.

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

func (*HostsAPIService) ListExecute

Execute executes the request

@return ListHostResponse

func (*HostsAPIService) Read

Read Get a Host resource.

Validation: - "id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return HostsAPIReadRequest

func (*HostsAPIService) ReadExecute

Execute executes the request

@return GetHostResponse

func (*HostsAPIService) Replace

func (a *HostsAPIService) Replace(ctx context.Context, fromResourceId string, toResourceId string) HostsAPIReplaceRequest

Replace Migrate a Host's configuration from one to another.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fromResourceId An application specific resource identity of a resource
@param toResourceId An application specific resource identity of a resource
@return HostsAPIReplaceRequest

func (*HostsAPIService) ReplaceExecute

func (a *HostsAPIService) ReplaceExecute(r HostsAPIReplaceRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*HostsAPIService) UnassignTags

UnassignTags Unassign tag for the list hosts.

Validation: - "ids" is required. - "keys" is required.

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

func (*HostsAPIService) UnassignTagsExecute

func (a *HostsAPIService) UnassignTagsExecute(r HostsAPIUnassignTagsRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*HostsAPIService) Update

Update Update a Host resource.

Validation: - "id" is required. - "display_name" is required and should be unique. - "pool_id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return HostsAPIUpdateRequest

func (*HostsAPIService) UpdateExecute

Execute executes the request

@return UpdateHostResponse

type HostsAPIUnassignTagsRequest

type HostsAPIUnassignTagsRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIUnassignTagsRequest) Body

func (HostsAPIUnassignTagsRequest) Execute

func (r HostsAPIUnassignTagsRequest) Execute() (map[string]interface{}, *http.Response, error)

type HostsAPIUpdateRequest

type HostsAPIUpdateRequest struct {
	ApiService HostsAPI
	// contains filtered or unexported fields
}

func (HostsAPIUpdateRequest) Body

func (HostsAPIUpdateRequest) Execute

type ListDetailHostsResponse

type ListDetailHostsResponse struct {
	Page                 *ApiPageInfo `json:"page,omitempty"`
	Results              []DetailHost `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListDetailHostsResponse struct for ListDetailHostsResponse

func NewListDetailHostsResponse

func NewListDetailHostsResponse() *ListDetailHostsResponse

NewListDetailHostsResponse instantiates a new ListDetailHostsResponse 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 NewListDetailHostsResponseWithDefaults

func NewListDetailHostsResponseWithDefaults() *ListDetailHostsResponse

NewListDetailHostsResponseWithDefaults instantiates a new ListDetailHostsResponse 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 (*ListDetailHostsResponse) GetPage

func (o *ListDetailHostsResponse) GetPage() ApiPageInfo

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

func (*ListDetailHostsResponse) GetPageOk

func (o *ListDetailHostsResponse) GetPageOk() (*ApiPageInfo, bool)

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

func (*ListDetailHostsResponse) GetResults

func (o *ListDetailHostsResponse) GetResults() []DetailHost

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

func (*ListDetailHostsResponse) GetResultsOk

func (o *ListDetailHostsResponse) GetResultsOk() ([]DetailHost, 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 (*ListDetailHostsResponse) HasPage

func (o *ListDetailHostsResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*ListDetailHostsResponse) HasResults

func (o *ListDetailHostsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListDetailHostsResponse) MarshalJSON

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

func (*ListDetailHostsResponse) SetPage

func (o *ListDetailHostsResponse) SetPage(v ApiPageInfo)

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

func (*ListDetailHostsResponse) SetResults

func (o *ListDetailHostsResponse) SetResults(v []DetailHost)

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

func (ListDetailHostsResponse) ToMap

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

func (*ListDetailHostsResponse) UnmarshalJSON

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

type ListDetailServicesResponse

type ListDetailServicesResponse struct {
	Page                 *ApiPageInfo    `json:"page,omitempty"`
	Results              []DetailService `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListDetailServicesResponse struct for ListDetailServicesResponse

func NewListDetailServicesResponse

func NewListDetailServicesResponse() *ListDetailServicesResponse

NewListDetailServicesResponse instantiates a new ListDetailServicesResponse 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 NewListDetailServicesResponseWithDefaults

func NewListDetailServicesResponseWithDefaults() *ListDetailServicesResponse

NewListDetailServicesResponseWithDefaults instantiates a new ListDetailServicesResponse 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 (*ListDetailServicesResponse) GetPage

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

func (*ListDetailServicesResponse) GetPageOk

func (o *ListDetailServicesResponse) GetPageOk() (*ApiPageInfo, bool)

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

func (*ListDetailServicesResponse) GetResults

func (o *ListDetailServicesResponse) GetResults() []DetailService

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

func (*ListDetailServicesResponse) GetResultsOk

func (o *ListDetailServicesResponse) GetResultsOk() ([]DetailService, 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 (*ListDetailServicesResponse) HasPage

func (o *ListDetailServicesResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*ListDetailServicesResponse) HasResults

func (o *ListDetailServicesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListDetailServicesResponse) MarshalJSON

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

func (*ListDetailServicesResponse) SetPage

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

func (*ListDetailServicesResponse) SetResults

func (o *ListDetailServicesResponse) SetResults(v []DetailService)

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

func (ListDetailServicesResponse) ToMap

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

func (*ListDetailServicesResponse) UnmarshalJSON

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

type ListHostResponse

type ListHostResponse struct {
	Page                 *ApiPageInfo `json:"page,omitempty"`
	Results              []Host       `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListHostResponse struct for ListHostResponse

func NewListHostResponse

func NewListHostResponse() *ListHostResponse

NewListHostResponse instantiates a new ListHostResponse 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 NewListHostResponseWithDefaults

func NewListHostResponseWithDefaults() *ListHostResponse

NewListHostResponseWithDefaults instantiates a new ListHostResponse 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 (*ListHostResponse) GetPage

func (o *ListHostResponse) GetPage() ApiPageInfo

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

func (*ListHostResponse) GetPageOk

func (o *ListHostResponse) GetPageOk() (*ApiPageInfo, bool)

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

func (*ListHostResponse) GetResults

func (o *ListHostResponse) GetResults() []Host

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

func (*ListHostResponse) GetResultsOk

func (o *ListHostResponse) GetResultsOk() ([]Host, 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 (*ListHostResponse) HasPage

func (o *ListHostResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*ListHostResponse) HasResults

func (o *ListHostResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListHostResponse) MarshalJSON

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

func (*ListHostResponse) SetPage

func (o *ListHostResponse) SetPage(v ApiPageInfo)

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

func (*ListHostResponse) SetResults

func (o *ListHostResponse) SetResults(v []Host)

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

func (ListHostResponse) ToMap

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

func (*ListHostResponse) UnmarshalJSON

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

type ListServiceResponse

type ListServiceResponse struct {
	Page                 *ApiPageInfo `json:"page,omitempty"`
	Results              []Service    `json:"results,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListServiceResponse struct for ListServiceResponse

func NewListServiceResponse

func NewListServiceResponse() *ListServiceResponse

NewListServiceResponse instantiates a new ListServiceResponse 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 NewListServiceResponseWithDefaults

func NewListServiceResponseWithDefaults() *ListServiceResponse

NewListServiceResponseWithDefaults instantiates a new ListServiceResponse 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 (*ListServiceResponse) GetPage

func (o *ListServiceResponse) GetPage() ApiPageInfo

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

func (*ListServiceResponse) GetPageOk

func (o *ListServiceResponse) GetPageOk() (*ApiPageInfo, bool)

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

func (*ListServiceResponse) GetResults

func (o *ListServiceResponse) GetResults() []Service

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

func (*ListServiceResponse) GetResultsOk

func (o *ListServiceResponse) GetResultsOk() ([]Service, 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 (*ListServiceResponse) HasPage

func (o *ListServiceResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*ListServiceResponse) HasResults

func (o *ListServiceResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (ListServiceResponse) MarshalJSON

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

func (*ListServiceResponse) SetPage

func (o *ListServiceResponse) SetPage(v ApiPageInfo)

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

func (*ListServiceResponse) SetResults

func (o *ListServiceResponse) SetResults(v []Service)

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

func (ListServiceResponse) ToMap

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

func (*ListServiceResponse) UnmarshalJSON

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

type MappedNullable

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

type NullableApiPageInfo

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

func NewNullableApiPageInfo

func NewNullableApiPageInfo(val *ApiPageInfo) *NullableApiPageInfo

func (NullableApiPageInfo) Get

func (NullableApiPageInfo) IsSet

func (v NullableApiPageInfo) IsSet() bool

func (NullableApiPageInfo) MarshalJSON

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

func (*NullableApiPageInfo) Set

func (v *NullableApiPageInfo) Set(val *ApiPageInfo)

func (*NullableApiPageInfo) UnmarshalJSON

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

func (*NullableApiPageInfo) Unset

func (v *NullableApiPageInfo) Unset()

type NullableApplications

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

func NewNullableApplications

func NewNullableApplications(val *Applications) *NullableApplications

func (NullableApplications) Get

func (NullableApplications) IsSet

func (v NullableApplications) IsSet() bool

func (NullableApplications) MarshalJSON

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

func (*NullableApplications) Set

func (v *NullableApplications) Set(val *Applications)

func (*NullableApplications) UnmarshalJSON

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

func (*NullableApplications) Unset

func (v *NullableApplications) Unset()

type NullableApplicationsResponse

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

func NewNullableApplicationsResponse

func NewNullableApplicationsResponse(val *ApplicationsResponse) *NullableApplicationsResponse

func (NullableApplicationsResponse) Get

func (NullableApplicationsResponse) IsSet

func (NullableApplicationsResponse) MarshalJSON

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

func (*NullableApplicationsResponse) Set

func (*NullableApplicationsResponse) UnmarshalJSON

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

func (*NullableApplicationsResponse) Unset

func (v *NullableApplicationsResponse) Unset()

type NullableAssignTagsRequest

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

func NewNullableAssignTagsRequest

func NewNullableAssignTagsRequest(val *AssignTagsRequest) *NullableAssignTagsRequest

func (NullableAssignTagsRequest) Get

func (NullableAssignTagsRequest) IsSet

func (v NullableAssignTagsRequest) IsSet() bool

func (NullableAssignTagsRequest) MarshalJSON

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

func (*NullableAssignTagsRequest) Set

func (*NullableAssignTagsRequest) UnmarshalJSON

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

func (*NullableAssignTagsRequest) Unset

func (v *NullableAssignTagsRequest) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateHostResponse

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

func NewNullableCreateHostResponse

func NewNullableCreateHostResponse(val *CreateHostResponse) *NullableCreateHostResponse

func (NullableCreateHostResponse) Get

func (NullableCreateHostResponse) IsSet

func (v NullableCreateHostResponse) IsSet() bool

func (NullableCreateHostResponse) MarshalJSON

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

func (*NullableCreateHostResponse) Set

func (*NullableCreateHostResponse) UnmarshalJSON

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

func (*NullableCreateHostResponse) Unset

func (v *NullableCreateHostResponse) Unset()

type NullableCreateServiceResponse

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

func (NullableCreateServiceResponse) Get

func (NullableCreateServiceResponse) IsSet

func (NullableCreateServiceResponse) MarshalJSON

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

func (*NullableCreateServiceResponse) Set

func (*NullableCreateServiceResponse) UnmarshalJSON

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

func (*NullableCreateServiceResponse) Unset

func (v *NullableCreateServiceResponse) Unset()

type NullableDetailHost

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

func NewNullableDetailHost

func NewNullableDetailHost(val *DetailHost) *NullableDetailHost

func (NullableDetailHost) Get

func (v NullableDetailHost) Get() *DetailHost

func (NullableDetailHost) IsSet

func (v NullableDetailHost) IsSet() bool

func (NullableDetailHost) MarshalJSON

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

func (*NullableDetailHost) Set

func (v *NullableDetailHost) Set(val *DetailHost)

func (*NullableDetailHost) UnmarshalJSON

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

func (*NullableDetailHost) Unset

func (v *NullableDetailHost) Unset()

type NullableDetailHostServiceConfig

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

func (NullableDetailHostServiceConfig) Get

func (NullableDetailHostServiceConfig) IsSet

func (NullableDetailHostServiceConfig) MarshalJSON

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

func (*NullableDetailHostServiceConfig) Set

func (*NullableDetailHostServiceConfig) UnmarshalJSON

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

func (*NullableDetailHostServiceConfig) Unset

type NullableDetailLocation

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

func NewNullableDetailLocation

func NewNullableDetailLocation(val *DetailLocation) *NullableDetailLocation

func (NullableDetailLocation) Get

func (NullableDetailLocation) IsSet

func (v NullableDetailLocation) IsSet() bool

func (NullableDetailLocation) MarshalJSON

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

func (*NullableDetailLocation) Set

func (*NullableDetailLocation) UnmarshalJSON

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

func (*NullableDetailLocation) Unset

func (v *NullableDetailLocation) Unset()

type NullableDetailService

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

func NewNullableDetailService

func NewNullableDetailService(val *DetailService) *NullableDetailService

func (NullableDetailService) Get

func (NullableDetailService) IsSet

func (v NullableDetailService) IsSet() bool

func (NullableDetailService) MarshalJSON

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

func (*NullableDetailService) Set

func (v *NullableDetailService) Set(val *DetailService)

func (*NullableDetailService) UnmarshalJSON

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

func (*NullableDetailService) Unset

func (v *NullableDetailService) Unset()

type NullableDetailServiceHost

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

func NewNullableDetailServiceHost

func NewNullableDetailServiceHost(val *DetailServiceHost) *NullableDetailServiceHost

func (NullableDetailServiceHost) Get

func (NullableDetailServiceHost) IsSet

func (v NullableDetailServiceHost) IsSet() bool

func (NullableDetailServiceHost) MarshalJSON

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

func (*NullableDetailServiceHost) Set

func (*NullableDetailServiceHost) UnmarshalJSON

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

func (*NullableDetailServiceHost) Unset

func (v *NullableDetailServiceHost) Unset()

type NullableDetailServiceHostConfig

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

func (NullableDetailServiceHostConfig) Get

func (NullableDetailServiceHostConfig) IsSet

func (NullableDetailServiceHostConfig) MarshalJSON

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

func (*NullableDetailServiceHostConfig) Set

func (*NullableDetailServiceHostConfig) UnmarshalJSON

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

func (*NullableDetailServiceHostConfig) Unset

type NullableDisconnectRequest

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

func NewNullableDisconnectRequest

func NewNullableDisconnectRequest(val *DisconnectRequest) *NullableDisconnectRequest

func (NullableDisconnectRequest) Get

func (NullableDisconnectRequest) IsSet

func (v NullableDisconnectRequest) IsSet() bool

func (NullableDisconnectRequest) MarshalJSON

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

func (*NullableDisconnectRequest) Set

func (*NullableDisconnectRequest) UnmarshalJSON

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

func (*NullableDisconnectRequest) Unset

func (v *NullableDisconnectRequest) 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 NullableGetHostResponse

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

func NewNullableGetHostResponse

func NewNullableGetHostResponse(val *GetHostResponse) *NullableGetHostResponse

func (NullableGetHostResponse) Get

func (NullableGetHostResponse) IsSet

func (v NullableGetHostResponse) IsSet() bool

func (NullableGetHostResponse) MarshalJSON

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

func (*NullableGetHostResponse) Set

func (*NullableGetHostResponse) UnmarshalJSON

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

func (*NullableGetHostResponse) Unset

func (v *NullableGetHostResponse) Unset()

type NullableGetServiceResponse

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

func NewNullableGetServiceResponse

func NewNullableGetServiceResponse(val *GetServiceResponse) *NullableGetServiceResponse

func (NullableGetServiceResponse) Get

func (NullableGetServiceResponse) IsSet

func (v NullableGetServiceResponse) IsSet() bool

func (NullableGetServiceResponse) MarshalJSON

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

func (*NullableGetServiceResponse) Set

func (*NullableGetServiceResponse) UnmarshalJSON

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

func (*NullableGetServiceResponse) Unset

func (v *NullableGetServiceResponse) Unset()

type NullableHost

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

func NewNullableHost

func NewNullableHost(val *Host) *NullableHost

func (NullableHost) Get

func (v NullableHost) Get() *Host

func (NullableHost) IsSet

func (v NullableHost) IsSet() bool

func (NullableHost) MarshalJSON

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

func (*NullableHost) Set

func (v *NullableHost) Set(val *Host)

func (*NullableHost) UnmarshalJSON

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

func (*NullableHost) Unset

func (v *NullableHost) 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 NullableListDetailHostsResponse

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

func (NullableListDetailHostsResponse) Get

func (NullableListDetailHostsResponse) IsSet

func (NullableListDetailHostsResponse) MarshalJSON

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

func (*NullableListDetailHostsResponse) Set

func (*NullableListDetailHostsResponse) UnmarshalJSON

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

func (*NullableListDetailHostsResponse) Unset

type NullableListDetailServicesResponse

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

func (NullableListDetailServicesResponse) Get

func (NullableListDetailServicesResponse) IsSet

func (NullableListDetailServicesResponse) MarshalJSON

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

func (*NullableListDetailServicesResponse) Set

func (*NullableListDetailServicesResponse) UnmarshalJSON

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

func (*NullableListDetailServicesResponse) Unset

type NullableListHostResponse

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

func NewNullableListHostResponse

func NewNullableListHostResponse(val *ListHostResponse) *NullableListHostResponse

func (NullableListHostResponse) Get

func (NullableListHostResponse) IsSet

func (v NullableListHostResponse) IsSet() bool

func (NullableListHostResponse) MarshalJSON

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

func (*NullableListHostResponse) Set

func (*NullableListHostResponse) UnmarshalJSON

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

func (*NullableListHostResponse) Unset

func (v *NullableListHostResponse) Unset()

type NullableListServiceResponse

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

func NewNullableListServiceResponse

func NewNullableListServiceResponse(val *ListServiceResponse) *NullableListServiceResponse

func (NullableListServiceResponse) Get

func (NullableListServiceResponse) IsSet

func (NullableListServiceResponse) MarshalJSON

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

func (*NullableListServiceResponse) Set

func (*NullableListServiceResponse) UnmarshalJSON

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

func (*NullableListServiceResponse) Unset

func (v *NullableListServiceResponse) Unset()

type NullablePoolInfo

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

func NewNullablePoolInfo

func NewNullablePoolInfo(val *PoolInfo) *NullablePoolInfo

func (NullablePoolInfo) Get

func (v NullablePoolInfo) Get() *PoolInfo

func (NullablePoolInfo) IsSet

func (v NullablePoolInfo) IsSet() bool

func (NullablePoolInfo) MarshalJSON

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

func (*NullablePoolInfo) Set

func (v *NullablePoolInfo) Set(val *PoolInfo)

func (*NullablePoolInfo) UnmarshalJSON

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

func (*NullablePoolInfo) Unset

func (v *NullablePoolInfo) Unset()

type NullableReplaceHostRequest

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

func NewNullableReplaceHostRequest

func NewNullableReplaceHostRequest(val *ReplaceHostRequest) *NullableReplaceHostRequest

func (NullableReplaceHostRequest) Get

func (NullableReplaceHostRequest) IsSet

func (v NullableReplaceHostRequest) IsSet() bool

func (NullableReplaceHostRequest) MarshalJSON

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

func (*NullableReplaceHostRequest) Set

func (*NullableReplaceHostRequest) UnmarshalJSON

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

func (*NullableReplaceHostRequest) Unset

func (v *NullableReplaceHostRequest) Unset()

type NullableService

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

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

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

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

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

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceHostConfig

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

func NewNullableServiceHostConfig

func NewNullableServiceHostConfig(val *ServiceHostConfig) *NullableServiceHostConfig

func (NullableServiceHostConfig) Get

func (NullableServiceHostConfig) IsSet

func (v NullableServiceHostConfig) IsSet() bool

func (NullableServiceHostConfig) MarshalJSON

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

func (*NullableServiceHostConfig) Set

func (*NullableServiceHostConfig) UnmarshalJSON

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

func (*NullableServiceHostConfig) Unset

func (v *NullableServiceHostConfig) Unset()

type NullableShortServiceStatus

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

func NewNullableShortServiceStatus

func NewNullableShortServiceStatus(val *ShortServiceStatus) *NullableShortServiceStatus

func (NullableShortServiceStatus) Get

func (NullableShortServiceStatus) IsSet

func (v NullableShortServiceStatus) IsSet() bool

func (NullableShortServiceStatus) MarshalJSON

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

func (*NullableShortServiceStatus) Set

func (*NullableShortServiceStatus) UnmarshalJSON

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

func (*NullableShortServiceStatus) Unset

func (v *NullableShortServiceStatus) 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 NullableUnassignTagsRequest

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

func NewNullableUnassignTagsRequest

func NewNullableUnassignTagsRequest(val *UnassignTagsRequest) *NullableUnassignTagsRequest

func (NullableUnassignTagsRequest) Get

func (NullableUnassignTagsRequest) IsSet

func (NullableUnassignTagsRequest) MarshalJSON

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

func (*NullableUnassignTagsRequest) Set

func (*NullableUnassignTagsRequest) UnmarshalJSON

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

func (*NullableUnassignTagsRequest) Unset

func (v *NullableUnassignTagsRequest) Unset()

type NullableUpdateHostResponse

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

func NewNullableUpdateHostResponse

func NewNullableUpdateHostResponse(val *UpdateHostResponse) *NullableUpdateHostResponse

func (NullableUpdateHostResponse) Get

func (NullableUpdateHostResponse) IsSet

func (v NullableUpdateHostResponse) IsSet() bool

func (NullableUpdateHostResponse) MarshalJSON

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

func (*NullableUpdateHostResponse) Set

func (*NullableUpdateHostResponse) UnmarshalJSON

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

func (*NullableUpdateHostResponse) Unset

func (v *NullableUpdateHostResponse) Unset()

type NullableUpdateServiceResponse

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

func (NullableUpdateServiceResponse) Get

func (NullableUpdateServiceResponse) IsSet

func (NullableUpdateServiceResponse) MarshalJSON

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

func (*NullableUpdateServiceResponse) Set

func (*NullableUpdateServiceResponse) UnmarshalJSON

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

func (*NullableUpdateServiceResponse) Unset

func (v *NullableUpdateServiceResponse) Unset()

type PoolInfo

type PoolInfo struct {
	// Composite Status of the Pool that this resource belongs to (`online`, `degraded`, `error`, `unavailable`).
	CompositeStatus *string `json:"composite_status,omitempty"`
	// The resource identifier.
	PoolId *string `json:"pool_id,omitempty"`
	// Name of the Pool that this resource belongs to.
	PoolName             *string `json:"pool_name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PoolInfo struct for PoolInfo

func NewPoolInfo

func NewPoolInfo() *PoolInfo

NewPoolInfo instantiates a new PoolInfo 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 NewPoolInfoWithDefaults

func NewPoolInfoWithDefaults() *PoolInfo

NewPoolInfoWithDefaults instantiates a new PoolInfo 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 (*PoolInfo) GetCompositeStatus

func (o *PoolInfo) GetCompositeStatus() string

GetCompositeStatus returns the CompositeStatus field value if set, zero value otherwise.

func (*PoolInfo) GetCompositeStatusOk

func (o *PoolInfo) GetCompositeStatusOk() (*string, bool)

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

func (*PoolInfo) GetPoolId

func (o *PoolInfo) GetPoolId() string

GetPoolId returns the PoolId field value if set, zero value otherwise.

func (*PoolInfo) GetPoolIdOk

func (o *PoolInfo) GetPoolIdOk() (*string, bool)

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

func (*PoolInfo) GetPoolName

func (o *PoolInfo) GetPoolName() string

GetPoolName returns the PoolName field value if set, zero value otherwise.

func (*PoolInfo) GetPoolNameOk

func (o *PoolInfo) GetPoolNameOk() (*string, bool)

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

func (*PoolInfo) HasCompositeStatus

func (o *PoolInfo) HasCompositeStatus() bool

HasCompositeStatus returns a boolean if a field has been set.

func (*PoolInfo) HasPoolId

func (o *PoolInfo) HasPoolId() bool

HasPoolId returns a boolean if a field has been set.

func (*PoolInfo) HasPoolName

func (o *PoolInfo) HasPoolName() bool

HasPoolName returns a boolean if a field has been set.

func (PoolInfo) MarshalJSON

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

func (*PoolInfo) SetCompositeStatus

func (o *PoolInfo) SetCompositeStatus(v string)

SetCompositeStatus gets a reference to the given string and assigns it to the CompositeStatus field.

func (*PoolInfo) SetPoolId

func (o *PoolInfo) SetPoolId(v string)

SetPoolId gets a reference to the given string and assigns it to the PoolId field.

func (*PoolInfo) SetPoolName

func (o *PoolInfo) SetPoolName(v string)

SetPoolName gets a reference to the given string and assigns it to the PoolName field.

func (PoolInfo) ToMap

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

func (*PoolInfo) UnmarshalJSON

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

type ReplaceHostRequest

type ReplaceHostRequest struct {
	// The resource identifier.
	From *string `json:"from,omitempty"`
	// The resource identifier.
	To                   *string `json:"to,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReplaceHostRequest struct for ReplaceHostRequest

func NewReplaceHostRequest

func NewReplaceHostRequest() *ReplaceHostRequest

NewReplaceHostRequest instantiates a new ReplaceHostRequest 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 NewReplaceHostRequestWithDefaults

func NewReplaceHostRequestWithDefaults() *ReplaceHostRequest

NewReplaceHostRequestWithDefaults instantiates a new ReplaceHostRequest 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 (*ReplaceHostRequest) GetFrom

func (o *ReplaceHostRequest) GetFrom() string

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

func (*ReplaceHostRequest) GetFromOk

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

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

func (*ReplaceHostRequest) GetTo

func (o *ReplaceHostRequest) GetTo() string

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

func (*ReplaceHostRequest) GetToOk

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

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

func (*ReplaceHostRequest) HasFrom

func (o *ReplaceHostRequest) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*ReplaceHostRequest) HasTo

func (o *ReplaceHostRequest) HasTo() bool

HasTo returns a boolean if a field has been set.

func (ReplaceHostRequest) MarshalJSON

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

func (*ReplaceHostRequest) SetFrom

func (o *ReplaceHostRequest) SetFrom(v string)

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

func (*ReplaceHostRequest) SetTo

func (o *ReplaceHostRequest) SetTo(v string)

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

func (ReplaceHostRequest) ToMap

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

func (*ReplaceHostRequest) UnmarshalJSON

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

type Service

type Service struct {
	// List of Host-specific configurations of this Service.
	Configs []ServiceHostConfig `json:"configs,omitempty"`
	// Timestamp of creation of Service.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The description of the Service (optional).
	Description *string `json:"description,omitempty"`
	// The desired state of the Service. Should either be `\"start\"` or `\"stop\"`.
	DesiredState *string `json:"desired_state,omitempty"`
	// The desired version of the Service.
	DesiredVersion *string `json:"desired_version,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// List of interfaces on which this Service can operate. Note: The list can contain custom interface labels (Example: `[\"WAN\",\"LAN\",\"label1\",\"label2\"]`)
	InterfaceLabels []string `json:"interface_labels,omitempty"`
	// The name of the Service (unique).
	Name string `json:"name"`
	// The resource identifier.
	PoolId string `json:"pool_id"`
	// The type of the Service deployed on the Host (`dns`, `cdc`, etc.).
	ServiceType string `json:"service_type"`
	// Tags associated with this Service.
	Tags map[string]interface{} `json:"tags,omitempty"`
	// Timestamp of the latest update on Service.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

Service Infrastructure Service

func NewService

func NewService(name string, poolId string, serviceType string) *Service

NewService instantiates a new Service 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 NewServiceWithDefaults

func NewServiceWithDefaults() *Service

NewServiceWithDefaults instantiates a new Service 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 (*Service) GetConfigs

func (o *Service) GetConfigs() []ServiceHostConfig

GetConfigs returns the Configs field value if set, zero value otherwise.

func (*Service) GetConfigsOk

func (o *Service) GetConfigsOk() ([]ServiceHostConfig, bool)

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

func (*Service) GetCreatedAt

func (o *Service) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Service) GetCreatedAtOk

func (o *Service) GetCreatedAtOk() (*time.Time, bool)

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

func (*Service) GetDescription

func (o *Service) GetDescription() string

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

func (*Service) GetDescriptionOk

func (o *Service) GetDescriptionOk() (*string, bool)

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

func (*Service) GetDesiredState

func (o *Service) GetDesiredState() string

GetDesiredState returns the DesiredState field value if set, zero value otherwise.

func (*Service) GetDesiredStateOk

func (o *Service) GetDesiredStateOk() (*string, bool)

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

func (*Service) GetDesiredVersion

func (o *Service) GetDesiredVersion() string

GetDesiredVersion returns the DesiredVersion field value if set, zero value otherwise.

func (*Service) GetDesiredVersionOk

func (o *Service) GetDesiredVersionOk() (*string, bool)

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

func (*Service) GetId

func (o *Service) GetId() string

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

func (*Service) GetIdOk

func (o *Service) GetIdOk() (*string, 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 (*Service) GetInterfaceLabels

func (o *Service) GetInterfaceLabels() []string

GetInterfaceLabels returns the InterfaceLabels field value if set, zero value otherwise.

func (*Service) GetInterfaceLabelsOk

func (o *Service) GetInterfaceLabelsOk() ([]string, bool)

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

func (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name field value

func (*Service) GetNameOk

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

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

func (*Service) GetPoolId

func (o *Service) GetPoolId() string

GetPoolId returns the PoolId field value

func (*Service) GetPoolIdOk

func (o *Service) GetPoolIdOk() (*string, bool)

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

func (*Service) GetServiceType

func (o *Service) GetServiceType() string

GetServiceType returns the ServiceType field value

func (*Service) GetServiceTypeOk

func (o *Service) GetServiceTypeOk() (*string, bool)

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

func (*Service) GetTags

func (o *Service) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*Service) GetTagsOk

func (o *Service) GetTagsOk() (map[string]interface{}, bool)

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

func (*Service) GetUpdatedAt

func (o *Service) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Service) GetUpdatedAtOk

func (o *Service) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Service) HasConfigs

func (o *Service) HasConfigs() bool

HasConfigs returns a boolean if a field has been set.

func (*Service) HasCreatedAt

func (o *Service) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Service) HasDescription

func (o *Service) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Service) HasDesiredState

func (o *Service) HasDesiredState() bool

HasDesiredState returns a boolean if a field has been set.

func (*Service) HasDesiredVersion

func (o *Service) HasDesiredVersion() bool

HasDesiredVersion returns a boolean if a field has been set.

func (*Service) HasId

func (o *Service) HasId() bool

HasId returns a boolean if a field has been set.

func (*Service) HasInterfaceLabels

func (o *Service) HasInterfaceLabels() bool

HasInterfaceLabels returns a boolean if a field has been set.

func (*Service) HasTags

func (o *Service) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Service) HasUpdatedAt

func (o *Service) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Service) MarshalJSON

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

func (*Service) SetConfigs

func (o *Service) SetConfigs(v []ServiceHostConfig)

SetConfigs gets a reference to the given []ServiceHostConfig and assigns it to the Configs field.

func (*Service) SetCreatedAt

func (o *Service) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Service) SetDescription

func (o *Service) SetDescription(v string)

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

func (*Service) SetDesiredState

func (o *Service) SetDesiredState(v string)

SetDesiredState gets a reference to the given string and assigns it to the DesiredState field.

func (*Service) SetDesiredVersion

func (o *Service) SetDesiredVersion(v string)

SetDesiredVersion gets a reference to the given string and assigns it to the DesiredVersion field.

func (*Service) SetId

func (o *Service) SetId(v string)

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

func (*Service) SetInterfaceLabels

func (o *Service) SetInterfaceLabels(v []string)

SetInterfaceLabels gets a reference to the given []string and assigns it to the InterfaceLabels field.

func (*Service) SetName

func (o *Service) SetName(v string)

SetName sets field value

func (*Service) SetPoolId

func (o *Service) SetPoolId(v string)

SetPoolId sets field value

func (*Service) SetServiceType

func (o *Service) SetServiceType(v string)

SetServiceType sets field value

func (*Service) SetTags

func (o *Service) SetTags(v map[string]interface{})

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

func (*Service) SetUpdatedAt

func (o *Service) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Service) ToMap

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

func (*Service) UnmarshalJSON

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

type ServiceHostConfig

type ServiceHostConfig struct {
	// The current version of the Service deployed on the Host.
	CurrentVersion *string `json:"current_version,omitempty"`
	// The field to carry any extra data specific to this configuration.
	ExtraData *string `json:"extra_data,omitempty"`
	// The resource identifier.
	HostId *string `json:"host_id,omitempty"`
	// The resource identifier.
	Id *string `json:"id,omitempty"`
	// The resource identifier.
	ServiceId *string `json:"service_id,omitempty"`
	// The type of the Service deployed on the Host (`dns`, `cdc`, etc.).
	ServiceType *string `json:"service_type,omitempty"`
	// The timestamp of the latest upgrade of the Host-specific Service configuration.
	UpgradedAt           *time.Time `json:"upgraded_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

ServiceHostConfig ServiceHostConfig is the specific configuration for each Service deployed on a Host

func NewServiceHostConfig

func NewServiceHostConfig() *ServiceHostConfig

NewServiceHostConfig instantiates a new ServiceHostConfig 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 NewServiceHostConfigWithDefaults

func NewServiceHostConfigWithDefaults() *ServiceHostConfig

NewServiceHostConfigWithDefaults instantiates a new ServiceHostConfig 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 (*ServiceHostConfig) GetCurrentVersion

func (o *ServiceHostConfig) GetCurrentVersion() string

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*ServiceHostConfig) GetCurrentVersionOk

func (o *ServiceHostConfig) GetCurrentVersionOk() (*string, bool)

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

func (*ServiceHostConfig) GetExtraData

func (o *ServiceHostConfig) GetExtraData() string

GetExtraData returns the ExtraData field value if set, zero value otherwise.

func (*ServiceHostConfig) GetExtraDataOk

func (o *ServiceHostConfig) GetExtraDataOk() (*string, bool)

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

func (*ServiceHostConfig) GetHostId

func (o *ServiceHostConfig) GetHostId() string

GetHostId returns the HostId field value if set, zero value otherwise.

func (*ServiceHostConfig) GetHostIdOk

func (o *ServiceHostConfig) GetHostIdOk() (*string, bool)

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

func (*ServiceHostConfig) GetId

func (o *ServiceHostConfig) GetId() string

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

func (*ServiceHostConfig) GetIdOk

func (o *ServiceHostConfig) GetIdOk() (*string, 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 (*ServiceHostConfig) GetServiceId

func (o *ServiceHostConfig) GetServiceId() string

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

func (*ServiceHostConfig) GetServiceIdOk

func (o *ServiceHostConfig) 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 (*ServiceHostConfig) GetServiceType

func (o *ServiceHostConfig) GetServiceType() string

GetServiceType returns the ServiceType field value if set, zero value otherwise.

func (*ServiceHostConfig) GetServiceTypeOk

func (o *ServiceHostConfig) GetServiceTypeOk() (*string, bool)

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

func (*ServiceHostConfig) GetUpgradedAt

func (o *ServiceHostConfig) GetUpgradedAt() time.Time

GetUpgradedAt returns the UpgradedAt field value if set, zero value otherwise.

func (*ServiceHostConfig) GetUpgradedAtOk

func (o *ServiceHostConfig) GetUpgradedAtOk() (*time.Time, bool)

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

func (*ServiceHostConfig) HasCurrentVersion

func (o *ServiceHostConfig) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*ServiceHostConfig) HasExtraData

func (o *ServiceHostConfig) HasExtraData() bool

HasExtraData returns a boolean if a field has been set.

func (*ServiceHostConfig) HasHostId

func (o *ServiceHostConfig) HasHostId() bool

HasHostId returns a boolean if a field has been set.

func (*ServiceHostConfig) HasId

func (o *ServiceHostConfig) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServiceHostConfig) HasServiceId

func (o *ServiceHostConfig) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

func (*ServiceHostConfig) HasServiceType

func (o *ServiceHostConfig) HasServiceType() bool

HasServiceType returns a boolean if a field has been set.

func (*ServiceHostConfig) HasUpgradedAt

func (o *ServiceHostConfig) HasUpgradedAt() bool

HasUpgradedAt returns a boolean if a field has been set.

func (ServiceHostConfig) MarshalJSON

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

func (*ServiceHostConfig) SetCurrentVersion

func (o *ServiceHostConfig) SetCurrentVersion(v string)

SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.

func (*ServiceHostConfig) SetExtraData

func (o *ServiceHostConfig) SetExtraData(v string)

SetExtraData gets a reference to the given string and assigns it to the ExtraData field.

func (*ServiceHostConfig) SetHostId

func (o *ServiceHostConfig) SetHostId(v string)

SetHostId gets a reference to the given string and assigns it to the HostId field.

func (*ServiceHostConfig) SetId

func (o *ServiceHostConfig) SetId(v string)

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

func (*ServiceHostConfig) SetServiceId

func (o *ServiceHostConfig) SetServiceId(v string)

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

func (*ServiceHostConfig) SetServiceType

func (o *ServiceHostConfig) SetServiceType(v string)

SetServiceType gets a reference to the given string and assigns it to the ServiceType field.

func (*ServiceHostConfig) SetUpgradedAt

func (o *ServiceHostConfig) SetUpgradedAt(v time.Time)

SetUpgradedAt gets a reference to the given time.Time and assigns it to the UpgradedAt field.

func (ServiceHostConfig) ToMap

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

func (*ServiceHostConfig) UnmarshalJSON

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

type ServicesAPI

type ServicesAPI interface {
	/*
		Applications List applications (Service types) for a particular account.

		Used in order to retrieve available applications (Service types) for a particular account.

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

	// ApplicationsExecute executes the request
	//  @return ApplicationsResponse
	ApplicationsExecute(r ServicesAPIApplicationsRequest) (*ApplicationsResponse, *http.Response, error)
	/*
			Create Create a Service resource.

			Validation:
		- "name" is required and should be unique.
		- "service_type" is required.
		- "pool_id" is required.

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

	// CreateExecute executes the request
	//  @return CreateServiceResponse
	CreateExecute(r ServicesAPICreateRequest) (*CreateServiceResponse, *http.Response, error)
	/*
			Delete Delete a Service resource.

			Validation:
		- "id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return ServicesAPIDeleteRequest
	*/
	Delete(ctx context.Context, id string) ServicesAPIDeleteRequest

	// DeleteExecute executes the request
	DeleteExecute(r ServicesAPIDeleteRequest) (*http.Response, error)
	/*
		List List all the Service resources for an account.

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

	// ListExecute executes the request
	//  @return ListServiceResponse
	ListExecute(r ServicesAPIListRequest) (*ListServiceResponse, *http.Response, error)
	/*
			Read Read a Service resource.

			Validation:
		- "id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return ServicesAPIReadRequest
	*/
	Read(ctx context.Context, id string) ServicesAPIReadRequest

	// ReadExecute executes the request
	//  @return GetServiceResponse
	ReadExecute(r ServicesAPIReadRequest) (*GetServiceResponse, *http.Response, error)
	/*
			Update Update a Service resource.

			Validation:
		- "id" is required.
		- "name" is required and should be unique.
		- "service_type" is required.
		- "pool_id" is required.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param id An application specific resource identity of a resource
			@return ServicesAPIUpdateRequest
	*/
	Update(ctx context.Context, id string) ServicesAPIUpdateRequest

	// UpdateExecute executes the request
	//  @return UpdateServiceResponse
	UpdateExecute(r ServicesAPIUpdateRequest) (*UpdateServiceResponse, *http.Response, error)
}

type ServicesAPIApplicationsRequest

type ServicesAPIApplicationsRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPIApplicationsRequest) AccountId

Account ID.

func (ServicesAPIApplicationsRequest) Execute

type ServicesAPICreateRequest

type ServicesAPICreateRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPICreateRequest) Body

func (ServicesAPICreateRequest) Execute

type ServicesAPIDeleteRequest

type ServicesAPIDeleteRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPIDeleteRequest) Execute

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

type ServicesAPIListRequest

type ServicesAPIListRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPIListRequest) Execute

func (ServicesAPIListRequest) 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 (ServicesAPIListRequest) 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'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators |

func (ServicesAPIListRequest) 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 (ServicesAPIListRequest) 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 (ServicesAPIListRequest) OrderBy

A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting 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, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.

func (ServicesAPIListRequest) PageToken

func (r ServicesAPIListRequest) PageToken(pageToken string) ServicesAPIListRequest

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

func (ServicesAPIListRequest) Tfilter

This parameter is used for filtering by tags.

func (ServicesAPIListRequest) TorderBy

This parameter is used for sorting by tags.

type ServicesAPIReadRequest

type ServicesAPIReadRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPIReadRequest) Execute

type ServicesAPIService

type ServicesAPIService internal.Service

ServicesAPIService ServicesAPI service

func (*ServicesAPIService) Applications

Applications List applications (Service types) for a particular account.

Used in order to retrieve available applications (Service types) for a particular account.

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

func (*ServicesAPIService) ApplicationsExecute

Execute executes the request

@return ApplicationsResponse

func (*ServicesAPIService) Create

Create Create a Service resource.

Validation: - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required.

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

func (*ServicesAPIService) CreateExecute

Execute executes the request

@return CreateServiceResponse

func (*ServicesAPIService) Delete

Delete Delete a Service resource.

Validation: - "id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return ServicesAPIDeleteRequest

func (*ServicesAPIService) DeleteExecute

Execute executes the request

func (*ServicesAPIService) List

List List all the Service resources for an account.

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

func (*ServicesAPIService) ListExecute

Execute executes the request

@return ListServiceResponse

func (*ServicesAPIService) Read

Read Read a Service resource.

Validation: - "id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return ServicesAPIReadRequest

func (*ServicesAPIService) ReadExecute

Execute executes the request

@return GetServiceResponse

func (*ServicesAPIService) Update

Update Update a Service resource.

Validation: - "id" is required. - "name" is required and should be unique. - "service_type" is required. - "pool_id" is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id An application specific resource identity of a resource
@return ServicesAPIUpdateRequest

func (*ServicesAPIService) UpdateExecute

Execute executes the request

@return UpdateServiceResponse

type ServicesAPIUpdateRequest

type ServicesAPIUpdateRequest struct {
	ApiService ServicesAPI
	// contains filtered or unexported fields
}

func (ServicesAPIUpdateRequest) Body

func (ServicesAPIUpdateRequest) Execute

type ShortServiceStatus

type ShortServiceStatus struct {
	// Status message text for the Service.
	Message *string `json:"message,omitempty"`
	// Status of the Service (`started`, `starting`, `stopping`, `stopped`, `error`).
	Status *string `json:"status,omitempty"`
	// Timestamp of the latest status update of Service.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

ShortServiceStatus struct for ShortServiceStatus

func NewShortServiceStatus

func NewShortServiceStatus() *ShortServiceStatus

NewShortServiceStatus instantiates a new ShortServiceStatus 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 NewShortServiceStatusWithDefaults

func NewShortServiceStatusWithDefaults() *ShortServiceStatus

NewShortServiceStatusWithDefaults instantiates a new ShortServiceStatus 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 (*ShortServiceStatus) GetMessage

func (o *ShortServiceStatus) GetMessage() string

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

func (*ShortServiceStatus) GetMessageOk

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

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

func (*ShortServiceStatus) GetStatus

func (o *ShortServiceStatus) GetStatus() string

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

func (*ShortServiceStatus) GetStatusOk

func (o *ShortServiceStatus) GetStatusOk() (*string, bool)

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

func (*ShortServiceStatus) GetUpdatedAt

func (o *ShortServiceStatus) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ShortServiceStatus) GetUpdatedAtOk

func (o *ShortServiceStatus) GetUpdatedAtOk() (*time.Time, bool)

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

func (*ShortServiceStatus) HasMessage

func (o *ShortServiceStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ShortServiceStatus) HasStatus

func (o *ShortServiceStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ShortServiceStatus) HasUpdatedAt

func (o *ShortServiceStatus) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ShortServiceStatus) MarshalJSON

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

func (*ShortServiceStatus) SetMessage

func (o *ShortServiceStatus) SetMessage(v string)

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

func (*ShortServiceStatus) SetStatus

func (o *ShortServiceStatus) SetStatus(v string)

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

func (*ShortServiceStatus) SetUpdatedAt

func (o *ShortServiceStatus) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ShortServiceStatus) ToMap

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

func (*ShortServiceStatus) UnmarshalJSON

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

type UnassignTagsRequest

type UnassignTagsRequest struct {
	// The resource identifier.
	Ids                  []string `json:"ids,omitempty"`
	Keys                 []string `json:"keys,omitempty"`
	AdditionalProperties map[string]interface{}
}

UnassignTagsRequest struct for UnassignTagsRequest

func NewUnassignTagsRequest

func NewUnassignTagsRequest() *UnassignTagsRequest

NewUnassignTagsRequest instantiates a new UnassignTagsRequest 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 NewUnassignTagsRequestWithDefaults

func NewUnassignTagsRequestWithDefaults() *UnassignTagsRequest

NewUnassignTagsRequestWithDefaults instantiates a new UnassignTagsRequest 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 (*UnassignTagsRequest) GetIds

func (o *UnassignTagsRequest) GetIds() []string

GetIds returns the Ids field value if set, zero value otherwise.

func (*UnassignTagsRequest) GetIdsOk

func (o *UnassignTagsRequest) GetIdsOk() ([]string, bool)

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

func (*UnassignTagsRequest) GetKeys

func (o *UnassignTagsRequest) GetKeys() []string

GetKeys returns the Keys field value if set, zero value otherwise.

func (*UnassignTagsRequest) GetKeysOk

func (o *UnassignTagsRequest) GetKeysOk() ([]string, bool)

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

func (*UnassignTagsRequest) HasIds

func (o *UnassignTagsRequest) HasIds() bool

HasIds returns a boolean if a field has been set.

func (*UnassignTagsRequest) HasKeys

func (o *UnassignTagsRequest) HasKeys() bool

HasKeys returns a boolean if a field has been set.

func (UnassignTagsRequest) MarshalJSON

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

func (*UnassignTagsRequest) SetIds

func (o *UnassignTagsRequest) SetIds(v []string)

SetIds gets a reference to the given []string and assigns it to the Ids field.

func (*UnassignTagsRequest) SetKeys

func (o *UnassignTagsRequest) SetKeys(v []string)

SetKeys gets a reference to the given []string and assigns it to the Keys field.

func (UnassignTagsRequest) ToMap

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

func (*UnassignTagsRequest) UnmarshalJSON

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

type UpdateHostResponse

type UpdateHostResponse struct {
	Result               *Host `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateHostResponse struct for UpdateHostResponse

func NewUpdateHostResponse

func NewUpdateHostResponse() *UpdateHostResponse

NewUpdateHostResponse instantiates a new UpdateHostResponse 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 NewUpdateHostResponseWithDefaults

func NewUpdateHostResponseWithDefaults() *UpdateHostResponse

NewUpdateHostResponseWithDefaults instantiates a new UpdateHostResponse 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 (*UpdateHostResponse) GetResult

func (o *UpdateHostResponse) GetResult() Host

GetResult returns the Result field value if set, zero value otherwise.

func (*UpdateHostResponse) GetResultOk

func (o *UpdateHostResponse) GetResultOk() (*Host, bool)

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

func (*UpdateHostResponse) HasResult

func (o *UpdateHostResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (UpdateHostResponse) MarshalJSON

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

func (*UpdateHostResponse) SetResult

func (o *UpdateHostResponse) SetResult(v Host)

SetResult gets a reference to the given Host and assigns it to the Result field.

func (UpdateHostResponse) ToMap

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

func (*UpdateHostResponse) UnmarshalJSON

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

type UpdateServiceResponse

type UpdateServiceResponse struct {
	Result               *Service `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateServiceResponse struct for UpdateServiceResponse

func NewUpdateServiceResponse

func NewUpdateServiceResponse() *UpdateServiceResponse

NewUpdateServiceResponse instantiates a new UpdateServiceResponse 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 NewUpdateServiceResponseWithDefaults

func NewUpdateServiceResponseWithDefaults() *UpdateServiceResponse

NewUpdateServiceResponseWithDefaults instantiates a new UpdateServiceResponse 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 (*UpdateServiceResponse) GetResult

func (o *UpdateServiceResponse) GetResult() Service

GetResult returns the Result field value if set, zero value otherwise.

func (*UpdateServiceResponse) GetResultOk

func (o *UpdateServiceResponse) GetResultOk() (*Service, bool)

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

func (*UpdateServiceResponse) HasResult

func (o *UpdateServiceResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

func (UpdateServiceResponse) MarshalJSON

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

func (*UpdateServiceResponse) SetResult

func (o *UpdateServiceResponse) SetResult(v Service)

SetResult gets a reference to the given Service and assigns it to the Result field.

func (UpdateServiceResponse) ToMap

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

func (*UpdateServiceResponse) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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