dedicatedServer

package module
v0.0.0-...-eeb6e22 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for dedicatedServer

This documents the rest api dedicatedserver provides.

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: v2
  • Package version: 1.0.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import dedicatedServer "github.com/leaseweb/leaseweb-go-sdk/dedicatedServer"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.leaseweb.com/bareMetals/v2

Class Method HTTP request Description
DedicatedServerAPI AddServerToPrivateNetwork Put /servers/{serverId}/privateNetworks/{privateNetworkId} Add a server to private network
DedicatedServerAPI CancelActiveJob Post /servers/{serverId}/cancelActiveJob Cancel active job
DedicatedServerAPI CloseNetworkInterface Post /servers/{serverId}/networkInterfaces/{networkTypeURL}/close Close network interface
DedicatedServerAPI CloseNetworkInterfaces Post /servers/{serverId}/networkInterfaces/close Close all network interfaces
DedicatedServerAPI CreateNetworkEquipmentCredential Post /networkEquipments/{networkEquipmentId}/credentials Create new network equipment credentials
DedicatedServerAPI CreateServerBandwidthNotificationSetting Post /servers/{serverId}/notificationSettings/bandwidth Create a bandwidth notification setting
DedicatedServerAPI CreateServerCredential Post /servers/{serverId}/credentials Create new server credentials
DedicatedServerAPI CreateServerDataTrafficNotificationSetting Post /servers/{serverId}/notificationSettings/datatraffic Create a data traffic notification setting
DedicatedServerAPI CreateServerDhcpReservation Post /servers/{serverId}/leases Create a DHCP reservation
DedicatedServerAPI DeleteNetworkEquipmentCredential Delete /networkEquipments/{networkEquipmentId}/credentials/{type}/{username} Delete network equipment credentials
DedicatedServerAPI DeleteServerBandwidthNotificationSetting Delete /servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId} Delete a bandwidth notification setting
DedicatedServerAPI DeleteServerCredential Delete /servers/{serverId}/credentials/{type}/{username} Delete server credentials
DedicatedServerAPI DeleteServerDataTrafficNotificationSetting Delete /servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId} Delete a data traffic notification setting
DedicatedServerAPI DeleteServerDhcpReservation Delete /servers/{serverId}/leases Delete a DHCP reservation
DedicatedServerAPI DeleteServerFromPrivateNetwork Delete /servers/{serverId}/privateNetworks/{privateNetworkId} Delete a server from a private network
DedicatedServerAPI EnableServerRescueMode Post /servers/{serverId}/rescueMode Launch rescue mode
DedicatedServerAPI ExpireActiveJob Post /servers/{serverId}/expireActiveJob Expire active job
DedicatedServerAPI GetControlPanelList Get /controlPanels List control panels
DedicatedServerAPI GetControlPanelListByOperatingSystemId Get /operatingSystems/{operatingSystemId}/controlPanels List control panels by Operating System
DedicatedServerAPI GetDdosNotificationSetting Get /servers/{serverId}/notificationSettings/ddos Inspect DDoS notification settings
DedicatedServerAPI GetNetworkEquipment Get /networkEquipments/{networkEquipmentId} Get network equipment
DedicatedServerAPI GetNetworkEquipmentCredential Get /networkEquipments/{networkEquipmentId}/credentials/{type}/{username} Show network equipment credentials
DedicatedServerAPI GetNetworkEquipmentCredentialList Get /networkEquipments/{networkEquipmentId}/credentials List network equipment credentials
DedicatedServerAPI GetNetworkEquipmentCredentialListByType Get /networkEquipments/{networkEquipmentId}/credentials/{type} List network equipment credentials by type
DedicatedServerAPI GetNetworkEquipmentIp Get /networkEquipments/{networkEquipmentId}/ips/{ip} Show a network equipment IP
DedicatedServerAPI GetNetworkEquipmentIpList Get /networkEquipments/{networkEquipmentId}/ips List IPs
DedicatedServerAPI GetNetworkEquipmentList Get /networkEquipments List network equipment
DedicatedServerAPI GetNetworkEquipmentNullRouteHistory Get /networkEquipments/{networkEquipmentId}/nullRouteHistory Show null route history
DedicatedServerAPI GetNetworkEquipmentPowerStatus Get /networkEquipments/{networkEquipmentId}/powerInfo Show power status
DedicatedServerAPI GetNetworkInterface Get /servers/{serverId}/networkInterfaces/{networkTypeURL} Show a network interface
DedicatedServerAPI GetNetworkInterfaceList Get /servers/{serverId}/networkInterfaces List network interfaces
DedicatedServerAPI GetOperatingSystem Get /operatingSystems/{operatingSystemId} Show an operating system
DedicatedServerAPI GetOperatingSystemList Get /operatingSystems List Operating Systems
DedicatedServerAPI GetRescueImageList Get /rescueImages Rescue Images
DedicatedServerAPI GetServer Get /servers/{serverId} Get server
DedicatedServerAPI GetServerBandwidthMetrics Get /servers/{serverId}/metrics/bandwidth Show bandwidth metrics
DedicatedServerAPI GetServerBandwidthNotificationSetting Get /servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId} Show a bandwidth notification setting
DedicatedServerAPI GetServerBandwidthNotificationSettingList Get /servers/{serverId}/notificationSettings/bandwidth List bandwidth notification settings
DedicatedServerAPI GetServerCredential Get /servers/{serverId}/credentials/{type}/{username} Show server credentials
DedicatedServerAPI GetServerCredentialList Get /servers/{serverId}/credentials List server credentials
DedicatedServerAPI GetServerCredentialListByType Get /servers/{serverId}/credentials/{type} List server credentials by type
DedicatedServerAPI GetServerDataTrafficMetrics Get /servers/{serverId}/metrics/datatraffic Show datatraffic metrics
DedicatedServerAPI GetServerDataTrafficNotificationSetting Get /servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId} Show a data traffic notification setting
DedicatedServerAPI GetServerDataTrafficNotificationSettingList Get /servers/{serverId}/notificationSettings/datatraffic List data traffic notification settings
DedicatedServerAPI GetServerDhcpReservationList Get /servers/{serverId}/leases List DHCP reservations
DedicatedServerAPI GetServerHardware Get /servers/{serverId}/hardwareInfo Show hardware information
DedicatedServerAPI GetServerIp Get /servers/{serverId}/ips/{ip} Show a server IP
DedicatedServerAPI GetServerIpList Get /servers/{serverId}/ips List IPs
DedicatedServerAPI GetServerJob Get /servers/{serverId}/jobs/{jobId} Show a job
DedicatedServerAPI GetServerJobList Get /servers/{serverId}/jobs List jobs
DedicatedServerAPI GetServerList Get /servers List servers
DedicatedServerAPI GetServerNullRouteHistory Get /servers/{serverId}/nullRouteHistory Show null route history
DedicatedServerAPI GetServerPowerStatus Get /servers/{serverId}/powerInfo Show power status
DedicatedServerAPI InstallOperatingSystem Post /servers/{serverId}/install Launch installation
DedicatedServerAPI IpmiResetServer Post /servers/{serverId}/ipmiReset Launch IPMI reset
DedicatedServerAPI NullIpRoute Post /servers/{serverId}/ips/{ip}/null Null route an IP
DedicatedServerAPI NullNetworkEquipmentIpRoute Post /networkEquipments/{networkEquipmentId}/ips/{ip}/null Null route an IP
DedicatedServerAPI OpenNetworkInterface Post /servers/{serverId}/networkInterfaces/{networkTypeURL}/open Open network interface
DedicatedServerAPI OpenNetworkInterfaces Post /servers/{serverId}/networkInterfaces/open Open all network interfaces
DedicatedServerAPI PowerCycleNetworkEquipment Post /networkEquipments/{networkEquipmentId}/powerCycle Power cycle a network equipment
DedicatedServerAPI PowerCycleServer Post /servers/{serverId}/powerCycle Power cycle a server
DedicatedServerAPI PowerNetworkEquipmentOff Post /networkEquipments/{networkEquipmentId}/powerOff Power off network equipment
DedicatedServerAPI PowerNetworkEquipmentOn Post /networkEquipments/{networkEquipmentId}/powerOn Power on network equipment
DedicatedServerAPI PowerServerOff Post /servers/{serverId}/powerOff Power off server
DedicatedServerAPI PowerServerOn Post /servers/{serverId}/powerOn Power on server
DedicatedServerAPI RemoveNullIpRoute Post /servers/{serverId}/ips/{ip}/unnull Remove a null route
DedicatedServerAPI RetryServerJob Post /servers/{serverId}/jobs/{jobId}/retry Retry a job
DedicatedServerAPI ScanHardware Post /servers/{serverId}/hardwareScan Launch hardware scan
DedicatedServerAPI UnNullNetworkEquipmentIpRoute Post /networkEquipments/{networkEquipmentId}/ips/{ip}/unnull Remove a null route
DedicatedServerAPI UpdateDdosNotificationSetting Put /servers/{serverId}/notificationSettings/ddos Update DDoS notification settings
DedicatedServerAPI UpdateIpProfile Put /servers/{serverId}/ips/{ip} Update an IP
DedicatedServerAPI UpdateNetworkEquipmentCredential Put /networkEquipments/{networkEquipmentId}/credentials/{type}/{username} Update network equipment credentials
DedicatedServerAPI UpdateNetworkEquipmentIp Put /networkEquipments/{networkEquipmentId}/ips/{ip} Update an IP
DedicatedServerAPI UpdateNetworkEquipmentReference Put /networkEquipments/{networkEquipmentId} Update network equipment
DedicatedServerAPI UpdateServerBandwidthNotificationSetting Put /servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId} Update a bandwidth notification setting
DedicatedServerAPI UpdateServerCredential Put /servers/{serverId}/credentials/{type}/{username} Update server credentials
DedicatedServerAPI UpdateServerDataTrafficNotificationSetting Put /servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId} Update a data traffic notification setting
DedicatedServerAPI UpdateServerReference Put /servers/{serverId} Update server

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), dedicatedServer.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
X-LSW-Auth
  • Type: API key
  • API key parameter name: X-LSW-Auth
  • Location: HTTP header

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

Example

auth := context.WithValue(
		context.Background(),
		dedicatedServer.ContextAPIKeys,
		map[string]dedicatedServer.APIKey{
			"X-LSW-Auth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedCredentialTypeEnumValues = []CredentialType{
	"OPERATING_SYSTEM",
	"RESCUE_MODE",
	"REMOTE_MANAGEMENT",
	"CONTROL_PANEL",
	"SWITCH",
	"PDU",
	"FIREWALL",
	"LOAD_BALANCER",
	"VNC",
	"TEMPORARY_OPERATING_SYSTEM",
	"VPN_USER",
	"COMBINATION_LOCK",
	"DATABASE",
}

All allowed values of CredentialType enum

View Source
var AllowedJobTypeEnumValues = []JobType{
	"install",
	"rescueMode",
	"hardwareScan",
	"ipmiReset",
}

All allowed values of JobType enum

View Source
var AllowedLinkSpeedEnumValues = []LinkSpeed{
	100,
	1000,
	10000,
}

All allowed values of LinkSpeed enum

View Source
var AllowedNetworkTypeEnumValues = []NetworkType{
	"INTERNAL",
	"PUBLIC",
	"REMOTE_MANAGEMENT",
}

All allowed values of NetworkType enum

View Source
var AllowedNetworkTypeURLEnumValues = []NetworkTypeURL{
	"internal",
	"public",
	"remoteManagement",
}

All allowed values of NetworkTypeURL enum

View Source
var AllowedRackTypeEnumValues = []RackType{
	"SHARED",
	"DEDICATED",
}

All allowed values of RackType enum

View Source
var AllowedRaidLevelEnumValues = []RaidLevel{
	0,
	1,
	5,
	10,
}

All allowed values of RaidLevel enum

View Source
var AllowedRaidTypeEnumValues = []RaidType{
	"HW",
	"SW",
	"NONE",
}

All allowed values of RaidType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DedicatedServerAPI DedicatedServerAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Leaseweb API for dedicated servers API vv2 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type Actions

type Actions struct {
	// Date timestamp when the last notification email triggered
	LastTriggeredAt NullableString `json:"lastTriggeredAt,omitempty"`
	// Type of action
	Type                 *string `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

Actions struct for Actions

func NewActions

func NewActions() *Actions

NewActions instantiates a new Actions 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 NewActionsWithDefaults

func NewActionsWithDefaults() *Actions

NewActionsWithDefaults instantiates a new Actions 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 (*Actions) GetLastTriggeredAt

func (o *Actions) GetLastTriggeredAt() string

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

func (*Actions) GetLastTriggeredAtOk

func (o *Actions) GetLastTriggeredAtOk() (*string, bool)

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

func (*Actions) GetType

func (o *Actions) GetType() string

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

func (*Actions) GetTypeOk

func (o *Actions) GetTypeOk() (*string, bool)

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

func (*Actions) HasLastTriggeredAt

func (o *Actions) HasLastTriggeredAt() bool

HasLastTriggeredAt returns a boolean if a field has been set.

func (*Actions) HasType

func (o *Actions) HasType() bool

HasType returns a boolean if a field has been set.

func (Actions) MarshalJSON

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

func (*Actions) SetLastTriggeredAt

func (o *Actions) SetLastTriggeredAt(v string)

SetLastTriggeredAt gets a reference to the given NullableString and assigns it to the LastTriggeredAt field.

func (*Actions) SetLastTriggeredAtNil

func (o *Actions) SetLastTriggeredAtNil()

SetLastTriggeredAtNil sets the value for LastTriggeredAt to be an explicit nil

func (*Actions) SetType

func (o *Actions) SetType(v string)

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

func (Actions) ToMap

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

func (*Actions) UnmarshalJSON

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

func (*Actions) UnsetLastTriggeredAt

func (o *Actions) UnsetLastTriggeredAt()

UnsetLastTriggeredAt ensures that no value is present for LastTriggeredAt, not even an explicit nil

type AddServerToPrivateNetworkOpts

type AddServerToPrivateNetworkOpts struct {
	LinkSpeed            LinkSpeed `json:"linkSpeed"`
	AdditionalProperties map[string]interface{}
}

AddServerToPrivateNetworkOpts struct for AddServerToPrivateNetworkOpts

func NewAddServerToPrivateNetworkOpts

func NewAddServerToPrivateNetworkOpts(linkSpeed LinkSpeed) *AddServerToPrivateNetworkOpts

NewAddServerToPrivateNetworkOpts instantiates a new AddServerToPrivateNetworkOpts 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 NewAddServerToPrivateNetworkOptsWithDefaults

func NewAddServerToPrivateNetworkOptsWithDefaults() *AddServerToPrivateNetworkOpts

NewAddServerToPrivateNetworkOptsWithDefaults instantiates a new AddServerToPrivateNetworkOpts 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 (*AddServerToPrivateNetworkOpts) GetLinkSpeed

func (o *AddServerToPrivateNetworkOpts) GetLinkSpeed() LinkSpeed

GetLinkSpeed returns the LinkSpeed field value

func (*AddServerToPrivateNetworkOpts) GetLinkSpeedOk

func (o *AddServerToPrivateNetworkOpts) GetLinkSpeedOk() (*LinkSpeed, bool)

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

func (AddServerToPrivateNetworkOpts) MarshalJSON

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

func (*AddServerToPrivateNetworkOpts) SetLinkSpeed

func (o *AddServerToPrivateNetworkOpts) SetLinkSpeed(v LinkSpeed)

SetLinkSpeed sets field value

func (AddServerToPrivateNetworkOpts) ToMap

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

func (*AddServerToPrivateNetworkOpts) UnmarshalJSON

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

type ApiAddServerToPrivateNetworkRequest

type ApiAddServerToPrivateNetworkRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiAddServerToPrivateNetworkRequest) AddServerToPrivateNetworkOpts

func (r ApiAddServerToPrivateNetworkRequest) AddServerToPrivateNetworkOpts(addServerToPrivateNetworkOpts AddServerToPrivateNetworkOpts) ApiAddServerToPrivateNetworkRequest

func (ApiAddServerToPrivateNetworkRequest) Execute

type ApiCancelActiveJobRequest

type ApiCancelActiveJobRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCancelActiveJobRequest) Execute

type ApiCloseNetworkInterfaceRequest

type ApiCloseNetworkInterfaceRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCloseNetworkInterfaceRequest) Execute

type ApiCloseNetworkInterfacesRequest

type ApiCloseNetworkInterfacesRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCloseNetworkInterfacesRequest) Execute

type ApiCreateNetworkEquipmentCredentialRequest

type ApiCreateNetworkEquipmentCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCreateNetworkEquipmentCredentialRequest) CreateNetworkEquipmentCredentialOpts

func (r ApiCreateNetworkEquipmentCredentialRequest) CreateNetworkEquipmentCredentialOpts(createNetworkEquipmentCredentialOpts CreateNetworkEquipmentCredentialOpts) ApiCreateNetworkEquipmentCredentialRequest

func (ApiCreateNetworkEquipmentCredentialRequest) Execute

type ApiCreateServerBandwidthNotificationSettingRequest

type ApiCreateServerBandwidthNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCreateServerBandwidthNotificationSettingRequest) BandwidthNotificationSettingOpts

func (ApiCreateServerBandwidthNotificationSettingRequest) Execute

type ApiCreateServerCredentialRequest

type ApiCreateServerCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCreateServerCredentialRequest) CreateServerCredentialOpts

func (r ApiCreateServerCredentialRequest) CreateServerCredentialOpts(createServerCredentialOpts CreateServerCredentialOpts) ApiCreateServerCredentialRequest

func (ApiCreateServerCredentialRequest) Execute

type ApiCreateServerDataTrafficNotificationSettingRequest

type ApiCreateServerDataTrafficNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCreateServerDataTrafficNotificationSettingRequest) DataTrafficNotificationSettingOpts

func (ApiCreateServerDataTrafficNotificationSettingRequest) Execute

type ApiCreateServerDhcpReservationRequest

type ApiCreateServerDhcpReservationRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiCreateServerDhcpReservationRequest) CreateServerDhcpReservationOpts

func (r ApiCreateServerDhcpReservationRequest) CreateServerDhcpReservationOpts(createServerDhcpReservationOpts CreateServerDhcpReservationOpts) ApiCreateServerDhcpReservationRequest

func (ApiCreateServerDhcpReservationRequest) Execute

type ApiDeleteNetworkEquipmentCredentialRequest

type ApiDeleteNetworkEquipmentCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteNetworkEquipmentCredentialRequest) Execute

type ApiDeleteServerBandwidthNotificationSettingRequest

type ApiDeleteServerBandwidthNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerBandwidthNotificationSettingRequest) Execute

type ApiDeleteServerCredentialRequest

type ApiDeleteServerCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerCredentialRequest) Execute

type ApiDeleteServerDataTrafficNotificationSettingRequest

type ApiDeleteServerDataTrafficNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerDataTrafficNotificationSettingRequest) Execute

type ApiDeleteServerDhcpReservationRequest

type ApiDeleteServerDhcpReservationRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerDhcpReservationRequest) Execute

type ApiDeleteServerFromPrivateNetworkRequest

type ApiDeleteServerFromPrivateNetworkRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServerFromPrivateNetworkRequest) Execute

type ApiEnableServerRescueModeRequest

type ApiEnableServerRescueModeRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiEnableServerRescueModeRequest) EnableServerRescueModeOpts

func (r ApiEnableServerRescueModeRequest) EnableServerRescueModeOpts(enableServerRescueModeOpts EnableServerRescueModeOpts) ApiEnableServerRescueModeRequest

func (ApiEnableServerRescueModeRequest) Execute

type ApiExpireActiveJobRequest

type ApiExpireActiveJobRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiExpireActiveJobRequest) Execute

type ApiGetControlPanelListByOperatingSystemIdRequest

type ApiGetControlPanelListByOperatingSystemIdRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetControlPanelListByOperatingSystemIdRequest) Execute

func (ApiGetControlPanelListByOperatingSystemIdRequest) Limit

Limit the number of results returned.

func (ApiGetControlPanelListByOperatingSystemIdRequest) Offset

Return results starting from the given offset.

type ApiGetControlPanelListRequest

type ApiGetControlPanelListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetControlPanelListRequest) Execute

func (ApiGetControlPanelListRequest) Limit

Limit the number of results returned.

func (ApiGetControlPanelListRequest) Offset

Return results starting from the given offset.

type ApiGetDdosNotificationSettingRequest

type ApiGetDdosNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetDdosNotificationSettingRequest) Execute

type ApiGetNetworkEquipmentCredentialListByTypeRequest

type ApiGetNetworkEquipmentCredentialListByTypeRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentCredentialListByTypeRequest) Execute

func (ApiGetNetworkEquipmentCredentialListByTypeRequest) Limit

Limit the number of results returned.

func (ApiGetNetworkEquipmentCredentialListByTypeRequest) Offset

Return results starting from the given offset.

type ApiGetNetworkEquipmentCredentialListRequest

type ApiGetNetworkEquipmentCredentialListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentCredentialListRequest) Execute

func (ApiGetNetworkEquipmentCredentialListRequest) Limit

Limit the number of results returned.

func (ApiGetNetworkEquipmentCredentialListRequest) Offset

Return results starting from the given offset.

type ApiGetNetworkEquipmentCredentialRequest

type ApiGetNetworkEquipmentCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentCredentialRequest) Execute

type ApiGetNetworkEquipmentIpListRequest

type ApiGetNetworkEquipmentIpListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentIpListRequest) Execute

func (ApiGetNetworkEquipmentIpListRequest) Ips

Filter the collection of Ips for the comma separated list of Ips

func (ApiGetNetworkEquipmentIpListRequest) Limit

Limit the number of results returned.

func (ApiGetNetworkEquipmentIpListRequest) NetworkType

Filter the collection of ip addresses by network type

func (ApiGetNetworkEquipmentIpListRequest) NullRouted

Filter Ips by Nulled-Status

func (ApiGetNetworkEquipmentIpListRequest) Offset

Return results starting from the given offset.

func (ApiGetNetworkEquipmentIpListRequest) Version

Filter the collection by ip version

type ApiGetNetworkEquipmentIpRequest

type ApiGetNetworkEquipmentIpRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentIpRequest) Execute

type ApiGetNetworkEquipmentListRequest

type ApiGetNetworkEquipmentListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentListRequest) Execute

func (ApiGetNetworkEquipmentListRequest) Ip

Filter the list of network equipment by ip address.

func (ApiGetNetworkEquipmentListRequest) Limit

Limit the number of results returned.

func (ApiGetNetworkEquipmentListRequest) MacAddress

Filter the list of network equipment by mac address.

func (ApiGetNetworkEquipmentListRequest) Offset

Return results starting from the given offset.

func (ApiGetNetworkEquipmentListRequest) PrivateNetworkCapable

func (r ApiGetNetworkEquipmentListRequest) PrivateNetworkCapable(privateNetworkCapable string) ApiGetNetworkEquipmentListRequest

Filter the list for private network capable network equipment

func (ApiGetNetworkEquipmentListRequest) PrivateNetworkEnabled

func (r ApiGetNetworkEquipmentListRequest) PrivateNetworkEnabled(privateNetworkEnabled string) ApiGetNetworkEquipmentListRequest

Filter the list for private network enabled network equipment

func (ApiGetNetworkEquipmentListRequest) PrivateRackId

Filter the list of network equipment by dedicated rack id.

func (ApiGetNetworkEquipmentListRequest) Reference

Filter the list of network equipment by reference.

func (ApiGetNetworkEquipmentListRequest) Site

Filter the list of network equipment by site (location).

type ApiGetNetworkEquipmentNullRouteHistoryRequest

type ApiGetNetworkEquipmentNullRouteHistoryRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentNullRouteHistoryRequest) Execute

func (ApiGetNetworkEquipmentNullRouteHistoryRequest) Limit

Limit the number of results returned.

func (ApiGetNetworkEquipmentNullRouteHistoryRequest) Offset

Return results starting from the given offset.

type ApiGetNetworkEquipmentPowerStatusRequest

type ApiGetNetworkEquipmentPowerStatusRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentPowerStatusRequest) Execute

type ApiGetNetworkEquipmentRequest

type ApiGetNetworkEquipmentRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkEquipmentRequest) Execute

type ApiGetNetworkInterfaceListRequest

type ApiGetNetworkInterfaceListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkInterfaceListRequest) Execute

type ApiGetNetworkInterfaceRequest

type ApiGetNetworkInterfaceRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkInterfaceRequest) Execute

type ApiGetOperatingSystemListRequest

type ApiGetOperatingSystemListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetOperatingSystemListRequest) ControlPanelId

Filter operating systems by control panel id

func (ApiGetOperatingSystemListRequest) Execute

func (ApiGetOperatingSystemListRequest) Limit

Limit the number of results returned.

func (ApiGetOperatingSystemListRequest) Offset

Return results starting from the given offset.

type ApiGetOperatingSystemRequest

type ApiGetOperatingSystemRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetOperatingSystemRequest) ControlPanelId

func (r ApiGetOperatingSystemRequest) ControlPanelId(controlPanelId string) ApiGetOperatingSystemRequest

The Control Panel ID

func (ApiGetOperatingSystemRequest) Execute

type ApiGetRescueImageListRequest

type ApiGetRescueImageListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetRescueImageListRequest) Execute

func (ApiGetRescueImageListRequest) Limit

Limit the number of results returned.

func (ApiGetRescueImageListRequest) Offset

Return results starting from the given offset.

type ApiGetServerBandwidthMetricsRequest

type ApiGetServerBandwidthMetricsRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerBandwidthMetricsRequest) Aggregation

Aggregate each metric using the given aggregation function. When the aggregation type `95TH` is specified the granularity parameter should be omitted from the request.

func (ApiGetServerBandwidthMetricsRequest) Execute

func (ApiGetServerBandwidthMetricsRequest) From

Start of date interval in ISO-8601 format. The returned data will include everything up from - and including - the specified date time.

func (ApiGetServerBandwidthMetricsRequest) Granularity

Specify the preferred interval for each metric. If granularity is omitted from the request, only one metric is returned.

func (ApiGetServerBandwidthMetricsRequest) To

End of date interval in ISO-8601 format. The returned data will include everything up until - but not including - the specified date time.

type ApiGetServerBandwidthNotificationSettingListRequest

type ApiGetServerBandwidthNotificationSettingListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerBandwidthNotificationSettingListRequest) Execute

func (ApiGetServerBandwidthNotificationSettingListRequest) Limit

Limit the number of results returned.

func (ApiGetServerBandwidthNotificationSettingListRequest) Offset

Return results starting from the given offset.

type ApiGetServerBandwidthNotificationSettingRequest

type ApiGetServerBandwidthNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerBandwidthNotificationSettingRequest) Execute

type ApiGetServerCredentialListByTypeRequest

type ApiGetServerCredentialListByTypeRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerCredentialListByTypeRequest) Execute

func (ApiGetServerCredentialListByTypeRequest) Limit

Limit the number of results returned.

func (ApiGetServerCredentialListByTypeRequest) Offset

Return results starting from the given offset.

type ApiGetServerCredentialListRequest

type ApiGetServerCredentialListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerCredentialListRequest) Execute

func (ApiGetServerCredentialListRequest) Limit

Limit the number of results returned.

func (ApiGetServerCredentialListRequest) Offset

Return results starting from the given offset.

type ApiGetServerCredentialRequest

type ApiGetServerCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerCredentialRequest) Execute

type ApiGetServerDataTrafficMetricsRequest

type ApiGetServerDataTrafficMetricsRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerDataTrafficMetricsRequest) Aggregation

Aggregate each metric using the given aggregation function.

func (ApiGetServerDataTrafficMetricsRequest) Execute

func (ApiGetServerDataTrafficMetricsRequest) From

Start of date interval in ISO-8601 format. The returned data will include everything up from - and including - the specified date time.

func (ApiGetServerDataTrafficMetricsRequest) Granularity

Specify the preferred interval for each metric. If granularity is omitted from the request, only one metric is returned.

func (ApiGetServerDataTrafficMetricsRequest) To

End of date interval in ISO-8601 format. The returned data will include everything up until - but not including - the specified date time.

type ApiGetServerDataTrafficNotificationSettingListRequest

type ApiGetServerDataTrafficNotificationSettingListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerDataTrafficNotificationSettingListRequest) Execute

func (ApiGetServerDataTrafficNotificationSettingListRequest) Limit

Limit the number of results returned.

func (ApiGetServerDataTrafficNotificationSettingListRequest) Offset

Return results starting from the given offset.

type ApiGetServerDataTrafficNotificationSettingRequest

type ApiGetServerDataTrafficNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerDataTrafficNotificationSettingRequest) Execute

type ApiGetServerDhcpReservationListRequest

type ApiGetServerDhcpReservationListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerDhcpReservationListRequest) Execute

type ApiGetServerHardwareRequest

type ApiGetServerHardwareRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerHardwareRequest) Execute

type ApiGetServerIpListRequest

type ApiGetServerIpListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerIpListRequest) Execute

func (r ApiGetServerIpListRequest) Execute() (*Ip, *http.Response, error)

func (ApiGetServerIpListRequest) Ips

Filter the collection of Ips for the comma separated list of Ips

func (ApiGetServerIpListRequest) Limit

Limit the number of results returned.

func (ApiGetServerIpListRequest) NetworkType

Filter the collection of ip addresses by network type

func (ApiGetServerIpListRequest) NullRouted

Filter Ips by Nulled-Status

func (ApiGetServerIpListRequest) Offset

Return results starting from the given offset.

func (ApiGetServerIpListRequest) Version

Filter the collection by ip version

type ApiGetServerIpRequest

type ApiGetServerIpRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerIpRequest) Execute

func (r ApiGetServerIpRequest) Execute() (*Ip, *http.Response, error)

type ApiGetServerJobListRequest

type ApiGetServerJobListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerJobListRequest) Execute

func (ApiGetServerJobListRequest) IsRunning

Filter the list for running jobs

func (ApiGetServerJobListRequest) Limit

Limit the number of results returned.

func (ApiGetServerJobListRequest) Offset

Return results starting from the given offset.

func (ApiGetServerJobListRequest) Status

Filter the list of jobs by status.

func (ApiGetServerJobListRequest) Type_

Filter the list of jobs by type.

type ApiGetServerJobRequest

type ApiGetServerJobRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerJobRequest) Execute

type ApiGetServerListRequest

type ApiGetServerListRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerListRequest) Execute

func (ApiGetServerListRequest) Ip

Filter the list of servers by ip address.

func (ApiGetServerListRequest) Limit

Limit the number of results returned.

func (ApiGetServerListRequest) MacAddress

func (r ApiGetServerListRequest) MacAddress(macAddress string) ApiGetServerListRequest

Filter the list of servers by mac address.

func (ApiGetServerListRequest) Offset

Return results starting from the given offset.

func (ApiGetServerListRequest) PrivateNetworkCapable

func (r ApiGetServerListRequest) PrivateNetworkCapable(privateNetworkCapable string) ApiGetServerListRequest

Filter the list for private network capable servers

func (ApiGetServerListRequest) PrivateNetworkEnabled

func (r ApiGetServerListRequest) PrivateNetworkEnabled(privateNetworkEnabled string) ApiGetServerListRequest

Filter the list for private network enabled servers

func (ApiGetServerListRequest) PrivateRackId

func (r ApiGetServerListRequest) PrivateRackId(privateRackId string) ApiGetServerListRequest

Filter the list of servers by dedicated rack id.

func (ApiGetServerListRequest) Reference

Filter the list of servers by reference.

func (ApiGetServerListRequest) Site

Filter the list of servers by site (location).

type ApiGetServerNullRouteHistoryRequest

type ApiGetServerNullRouteHistoryRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerNullRouteHistoryRequest) Execute

func (ApiGetServerNullRouteHistoryRequest) Limit

Limit the number of results returned.

func (ApiGetServerNullRouteHistoryRequest) Offset

Return results starting from the given offset.

type ApiGetServerPowerStatusRequest

type ApiGetServerPowerStatusRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerPowerStatusRequest) Execute

type ApiGetServerRequest

type ApiGetServerRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiGetServerRequest) Execute

func (r ApiGetServerRequest) Execute() (*Server, *http.Response, error)

type ApiInstallOperatingSystemRequest

type ApiInstallOperatingSystemRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiInstallOperatingSystemRequest) Execute

func (ApiInstallOperatingSystemRequest) InstallOperatingSystemOpts

func (r ApiInstallOperatingSystemRequest) InstallOperatingSystemOpts(installOperatingSystemOpts InstallOperatingSystemOpts) ApiInstallOperatingSystemRequest

type ApiIpmiResetServerRequest

type ApiIpmiResetServerRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiIpmiResetServerRequest) Execute

func (ApiIpmiResetServerRequest) IpmiResetServerOpts

func (r ApiIpmiResetServerRequest) IpmiResetServerOpts(ipmiResetServerOpts IpmiResetServerOpts) ApiIpmiResetServerRequest

type ApiNullIpRouteRequest

type ApiNullIpRouteRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiNullIpRouteRequest) Execute

func (r ApiNullIpRouteRequest) Execute() (*Ip, *http.Response, error)

type ApiNullNetworkEquipmentIpRouteRequest

type ApiNullNetworkEquipmentIpRouteRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiNullNetworkEquipmentIpRouteRequest) Execute

type ApiOpenNetworkInterfaceRequest

type ApiOpenNetworkInterfaceRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiOpenNetworkInterfaceRequest) Execute

type ApiOpenNetworkInterfacesRequest

type ApiOpenNetworkInterfacesRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiOpenNetworkInterfacesRequest) Execute

type ApiPowerCycleNetworkEquipmentRequest

type ApiPowerCycleNetworkEquipmentRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerCycleNetworkEquipmentRequest) Execute

type ApiPowerCycleServerRequest

type ApiPowerCycleServerRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerCycleServerRequest) Execute

type ApiPowerNetworkEquipmentOffRequest

type ApiPowerNetworkEquipmentOffRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerNetworkEquipmentOffRequest) Execute

type ApiPowerNetworkEquipmentOnRequest

type ApiPowerNetworkEquipmentOnRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerNetworkEquipmentOnRequest) Execute

type ApiPowerServerOffRequest

type ApiPowerServerOffRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerServerOffRequest) Execute

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

type ApiPowerServerOnRequest

type ApiPowerServerOnRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiPowerServerOnRequest) Execute

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

type ApiRemoveNullIpRouteRequest

type ApiRemoveNullIpRouteRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiRemoveNullIpRouteRequest) Execute

func (r ApiRemoveNullIpRouteRequest) Execute() (*Ip, *http.Response, error)

type ApiRetryServerJobRequest

type ApiRetryServerJobRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiRetryServerJobRequest) Execute

type ApiScanHardwareRequest

type ApiScanHardwareRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiScanHardwareRequest) Execute

func (ApiScanHardwareRequest) ScanHardwareOpts

func (r ApiScanHardwareRequest) ScanHardwareOpts(scanHardwareOpts ScanHardwareOpts) ApiScanHardwareRequest

type ApiUnNullNetworkEquipmentIpRouteRequest

type ApiUnNullNetworkEquipmentIpRouteRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUnNullNetworkEquipmentIpRouteRequest) Execute

type ApiUpdateDdosNotificationSettingRequest

type ApiUpdateDdosNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateDdosNotificationSettingRequest) Execute

func (ApiUpdateDdosNotificationSettingRequest) UpdateDdosNotificationSettingOpts

func (r ApiUpdateDdosNotificationSettingRequest) UpdateDdosNotificationSettingOpts(updateDdosNotificationSettingOpts UpdateDdosNotificationSettingOpts) ApiUpdateDdosNotificationSettingRequest

type ApiUpdateIpProfileRequest

type ApiUpdateIpProfileRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateIpProfileRequest) Execute

func (r ApiUpdateIpProfileRequest) Execute() (*Ip, *http.Response, error)

func (ApiUpdateIpProfileRequest) UpdateIpProfileOpts

func (r ApiUpdateIpProfileRequest) UpdateIpProfileOpts(updateIpProfileOpts UpdateIpProfileOpts) ApiUpdateIpProfileRequest

type ApiUpdateNetworkEquipmentCredentialRequest

type ApiUpdateNetworkEquipmentCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNetworkEquipmentCredentialRequest) Execute

func (ApiUpdateNetworkEquipmentCredentialRequest) UpdateNetworkEquipmentCredentialOpts

func (r ApiUpdateNetworkEquipmentCredentialRequest) UpdateNetworkEquipmentCredentialOpts(updateNetworkEquipmentCredentialOpts UpdateNetworkEquipmentCredentialOpts) ApiUpdateNetworkEquipmentCredentialRequest

type ApiUpdateNetworkEquipmentIpRequest

type ApiUpdateNetworkEquipmentIpRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNetworkEquipmentIpRequest) Execute

func (ApiUpdateNetworkEquipmentIpRequest) UpdateNetworkEquipmentIpOpts

func (r ApiUpdateNetworkEquipmentIpRequest) UpdateNetworkEquipmentIpOpts(updateNetworkEquipmentIpOpts UpdateNetworkEquipmentIpOpts) ApiUpdateNetworkEquipmentIpRequest

type ApiUpdateNetworkEquipmentReferenceRequest

type ApiUpdateNetworkEquipmentReferenceRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateNetworkEquipmentReferenceRequest) Execute

func (ApiUpdateNetworkEquipmentReferenceRequest) UpdateNetworkEquipmentReferenceOpts

func (r ApiUpdateNetworkEquipmentReferenceRequest) UpdateNetworkEquipmentReferenceOpts(updateNetworkEquipmentReferenceOpts UpdateNetworkEquipmentReferenceOpts) ApiUpdateNetworkEquipmentReferenceRequest

type ApiUpdateServerBandwidthNotificationSettingRequest

type ApiUpdateServerBandwidthNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateServerBandwidthNotificationSettingRequest) BandwidthNotificationSettingOpts

func (ApiUpdateServerBandwidthNotificationSettingRequest) Execute

type ApiUpdateServerCredentialRequest

type ApiUpdateServerCredentialRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateServerCredentialRequest) Execute

func (ApiUpdateServerCredentialRequest) UpdateServerCredentialOpts

func (r ApiUpdateServerCredentialRequest) UpdateServerCredentialOpts(updateServerCredentialOpts UpdateServerCredentialOpts) ApiUpdateServerCredentialRequest

type ApiUpdateServerDataTrafficNotificationSettingRequest

type ApiUpdateServerDataTrafficNotificationSettingRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateServerDataTrafficNotificationSettingRequest) DataTrafficNotificationSettingOpts

func (ApiUpdateServerDataTrafficNotificationSettingRequest) Execute

type ApiUpdateServerReferenceRequest

type ApiUpdateServerReferenceRequest struct {
	ApiService DedicatedServerAPI
	// contains filtered or unexported fields
}

func (ApiUpdateServerReferenceRequest) Execute

func (ApiUpdateServerReferenceRequest) UpdateServerReferenceOpts

func (r ApiUpdateServerReferenceRequest) UpdateServerReferenceOpts(updateServerReferenceOpts UpdateServerReferenceOpts) ApiUpdateServerReferenceRequest

type Attribute

type Attribute struct {
	Flag                 *string `json:"flag,omitempty"`
	Id                   *string `json:"id,omitempty"`
	RawValue             *string `json:"raw_value,omitempty"`
	Thresh               *string `json:"thresh,omitempty"`
	Type                 *string `json:"type,omitempty"`
	Updated              *string `json:"updated,omitempty"`
	Value                *string `json:"value,omitempty"`
	WhenFailed           *string `json:"when_failed,omitempty"`
	Worst                *string `json:"worst,omitempty"`
	AdditionalProperties map[string]interface{}
}

Attribute struct for Attribute

func NewAttribute

func NewAttribute() *Attribute

NewAttribute instantiates a new Attribute 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 NewAttributeWithDefaults

func NewAttributeWithDefaults() *Attribute

NewAttributeWithDefaults instantiates a new Attribute 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 (*Attribute) GetFlag

func (o *Attribute) GetFlag() string

GetFlag returns the Flag field value if set, zero value otherwise.

func (*Attribute) GetFlagOk

func (o *Attribute) GetFlagOk() (*string, bool)

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

func (*Attribute) GetId

func (o *Attribute) GetId() string

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

func (*Attribute) GetIdOk

func (o *Attribute) 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 (*Attribute) GetRawValue

func (o *Attribute) GetRawValue() string

GetRawValue returns the RawValue field value if set, zero value otherwise.

func (*Attribute) GetRawValueOk

func (o *Attribute) GetRawValueOk() (*string, bool)

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

func (*Attribute) GetThresh

func (o *Attribute) GetThresh() string

GetThresh returns the Thresh field value if set, zero value otherwise.

func (*Attribute) GetThreshOk

func (o *Attribute) GetThreshOk() (*string, bool)

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

func (*Attribute) GetType

func (o *Attribute) GetType() string

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

func (*Attribute) GetTypeOk

func (o *Attribute) GetTypeOk() (*string, bool)

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

func (*Attribute) GetUpdated

func (o *Attribute) GetUpdated() string

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

func (*Attribute) GetUpdatedOk

func (o *Attribute) GetUpdatedOk() (*string, bool)

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

func (*Attribute) GetValue

func (o *Attribute) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Attribute) GetValueOk

func (o *Attribute) GetValueOk() (*string, bool)

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

func (*Attribute) GetWhenFailed

func (o *Attribute) GetWhenFailed() string

GetWhenFailed returns the WhenFailed field value if set, zero value otherwise.

func (*Attribute) GetWhenFailedOk

func (o *Attribute) GetWhenFailedOk() (*string, bool)

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

func (*Attribute) GetWorst

func (o *Attribute) GetWorst() string

GetWorst returns the Worst field value if set, zero value otherwise.

func (*Attribute) GetWorstOk

func (o *Attribute) GetWorstOk() (*string, bool)

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

func (*Attribute) HasFlag

func (o *Attribute) HasFlag() bool

HasFlag returns a boolean if a field has been set.

func (*Attribute) HasId

func (o *Attribute) HasId() bool

HasId returns a boolean if a field has been set.

func (*Attribute) HasRawValue

func (o *Attribute) HasRawValue() bool

HasRawValue returns a boolean if a field has been set.

func (*Attribute) HasThresh

func (o *Attribute) HasThresh() bool

HasThresh returns a boolean if a field has been set.

func (*Attribute) HasType

func (o *Attribute) HasType() bool

HasType returns a boolean if a field has been set.

func (*Attribute) HasUpdated

func (o *Attribute) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*Attribute) HasValue

func (o *Attribute) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Attribute) HasWhenFailed

func (o *Attribute) HasWhenFailed() bool

HasWhenFailed returns a boolean if a field has been set.

func (*Attribute) HasWorst

func (o *Attribute) HasWorst() bool

HasWorst returns a boolean if a field has been set.

func (Attribute) MarshalJSON

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

func (*Attribute) SetFlag

func (o *Attribute) SetFlag(v string)

SetFlag gets a reference to the given string and assigns it to the Flag field.

func (*Attribute) SetId

func (o *Attribute) SetId(v string)

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

func (*Attribute) SetRawValue

func (o *Attribute) SetRawValue(v string)

SetRawValue gets a reference to the given string and assigns it to the RawValue field.

func (*Attribute) SetThresh

func (o *Attribute) SetThresh(v string)

SetThresh gets a reference to the given string and assigns it to the Thresh field.

func (*Attribute) SetType

func (o *Attribute) SetType(v string)

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

func (*Attribute) SetUpdated

func (o *Attribute) SetUpdated(v string)

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

func (*Attribute) SetValue

func (o *Attribute) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*Attribute) SetWhenFailed

func (o *Attribute) SetWhenFailed(v string)

SetWhenFailed gets a reference to the given string and assigns it to the WhenFailed field.

func (*Attribute) SetWorst

func (o *Attribute) SetWorst(v string)

SetWorst gets a reference to the given string and assigns it to the Worst field.

func (Attribute) ToMap

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

func (*Attribute) UnmarshalJSON

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

type Attributes

type Attributes struct {
	PowerOnHours         *Attribute `json:"Power_On_Hours,omitempty"`
	ReallocatedSectorCt  *Attribute `json:"Reallocated_Sector_Ct,omitempty"`
	AdditionalProperties map[string]interface{}
}

Attributes struct for Attributes

func NewAttributes

func NewAttributes() *Attributes

NewAttributes instantiates a new Attributes 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 NewAttributesWithDefaults

func NewAttributesWithDefaults() *Attributes

NewAttributesWithDefaults instantiates a new Attributes 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 (*Attributes) GetPowerOnHours

func (o *Attributes) GetPowerOnHours() Attribute

GetPowerOnHours returns the PowerOnHours field value if set, zero value otherwise.

func (*Attributes) GetPowerOnHoursOk

func (o *Attributes) GetPowerOnHoursOk() (*Attribute, bool)

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

func (*Attributes) GetReallocatedSectorCt

func (o *Attributes) GetReallocatedSectorCt() Attribute

GetReallocatedSectorCt returns the ReallocatedSectorCt field value if set, zero value otherwise.

func (*Attributes) GetReallocatedSectorCtOk

func (o *Attributes) GetReallocatedSectorCtOk() (*Attribute, bool)

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

func (*Attributes) HasPowerOnHours

func (o *Attributes) HasPowerOnHours() bool

HasPowerOnHours returns a boolean if a field has been set.

func (*Attributes) HasReallocatedSectorCt

func (o *Attributes) HasReallocatedSectorCt() bool

HasReallocatedSectorCt returns a boolean if a field has been set.

func (Attributes) MarshalJSON

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

func (*Attributes) SetPowerOnHours

func (o *Attributes) SetPowerOnHours(v Attribute)

SetPowerOnHours gets a reference to the given Attribute and assigns it to the PowerOnHours field.

func (*Attributes) SetReallocatedSectorCt

func (o *Attributes) SetReallocatedSectorCt(v Attribute)

SetReallocatedSectorCt gets a reference to the given Attribute and assigns it to the ReallocatedSectorCt field.

func (Attributes) ToMap

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

func (*Attributes) UnmarshalJSON

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

type AutoNegotiation

type AutoNegotiation struct {
	Enabled              *string `json:"enabled,omitempty"`
	Supported            *string `json:"supported,omitempty"`
	AdditionalProperties map[string]interface{}
}

AutoNegotiation struct for AutoNegotiation

func NewAutoNegotiation

func NewAutoNegotiation() *AutoNegotiation

NewAutoNegotiation instantiates a new AutoNegotiation 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 NewAutoNegotiationWithDefaults

func NewAutoNegotiationWithDefaults() *AutoNegotiation

NewAutoNegotiationWithDefaults instantiates a new AutoNegotiation 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 (*AutoNegotiation) GetEnabled

func (o *AutoNegotiation) GetEnabled() string

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

func (*AutoNegotiation) GetEnabledOk

func (o *AutoNegotiation) GetEnabledOk() (*string, bool)

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

func (*AutoNegotiation) GetSupported

func (o *AutoNegotiation) GetSupported() string

GetSupported returns the Supported field value if set, zero value otherwise.

func (*AutoNegotiation) GetSupportedOk

func (o *AutoNegotiation) GetSupportedOk() (*string, bool)

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

func (*AutoNegotiation) HasEnabled

func (o *AutoNegotiation) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*AutoNegotiation) HasSupported

func (o *AutoNegotiation) HasSupported() bool

HasSupported returns a boolean if a field has been set.

func (AutoNegotiation) MarshalJSON

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

func (*AutoNegotiation) SetEnabled

func (o *AutoNegotiation) SetEnabled(v string)

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

func (*AutoNegotiation) SetSupported

func (o *AutoNegotiation) SetSupported(v string)

SetSupported gets a reference to the given string and assigns it to the Supported field.

func (AutoNegotiation) ToMap

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

func (*AutoNegotiation) UnmarshalJSON

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

type BandwidthNotificationSetting

type BandwidthNotificationSetting struct {
	// An array of notification setting actions
	Actions []Actions `json:"actions,omitempty"`
	// Frequency
	Frequency string `json:"frequency"`
	// Identifier of the notification setting
	Id string `json:"id"`
	// Date timestamp when the system last checked the server for threshold limit
	LastCheckedAt NullableString `json:"lastCheckedAt,omitempty"`
	// Threshold Value
	Threshold string `json:"threshold"`
	// Date timestamp when the threshold exceeded the limit
	ThresholdExceededAt NullableString `json:"thresholdExceededAt,omitempty"`
	// Unit
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

BandwidthNotificationSetting struct for BandwidthNotificationSetting

func NewBandwidthNotificationSetting

func NewBandwidthNotificationSetting(frequency string, id string, threshold string, unit string) *BandwidthNotificationSetting

NewBandwidthNotificationSetting instantiates a new BandwidthNotificationSetting 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 NewBandwidthNotificationSettingWithDefaults

func NewBandwidthNotificationSettingWithDefaults() *BandwidthNotificationSetting

NewBandwidthNotificationSettingWithDefaults instantiates a new BandwidthNotificationSetting 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 (*BandwidthNotificationSetting) GetActions

func (o *BandwidthNotificationSetting) GetActions() []Actions

GetActions returns the Actions field value if set, zero value otherwise.

func (*BandwidthNotificationSetting) GetActionsOk

func (o *BandwidthNotificationSetting) GetActionsOk() ([]Actions, bool)

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

func (*BandwidthNotificationSetting) GetFrequency

func (o *BandwidthNotificationSetting) GetFrequency() string

GetFrequency returns the Frequency field value

func (*BandwidthNotificationSetting) GetFrequencyOk

func (o *BandwidthNotificationSetting) GetFrequencyOk() (*string, bool)

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

func (*BandwidthNotificationSetting) GetId

GetId returns the Id field value

func (*BandwidthNotificationSetting) GetIdOk

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

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

func (*BandwidthNotificationSetting) GetLastCheckedAt

func (o *BandwidthNotificationSetting) GetLastCheckedAt() string

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

func (*BandwidthNotificationSetting) GetLastCheckedAtOk

func (o *BandwidthNotificationSetting) GetLastCheckedAtOk() (*string, bool)

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

func (*BandwidthNotificationSetting) GetThreshold

func (o *BandwidthNotificationSetting) GetThreshold() string

GetThreshold returns the Threshold field value

func (*BandwidthNotificationSetting) GetThresholdExceededAt

func (o *BandwidthNotificationSetting) GetThresholdExceededAt() string

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

func (*BandwidthNotificationSetting) GetThresholdExceededAtOk

func (o *BandwidthNotificationSetting) GetThresholdExceededAtOk() (*string, bool)

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

func (*BandwidthNotificationSetting) GetThresholdOk

func (o *BandwidthNotificationSetting) GetThresholdOk() (*string, bool)

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

func (*BandwidthNotificationSetting) GetUnit

func (o *BandwidthNotificationSetting) GetUnit() string

GetUnit returns the Unit field value

func (*BandwidthNotificationSetting) GetUnitOk

func (o *BandwidthNotificationSetting) GetUnitOk() (*string, bool)

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

func (*BandwidthNotificationSetting) HasActions

func (o *BandwidthNotificationSetting) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*BandwidthNotificationSetting) HasLastCheckedAt

func (o *BandwidthNotificationSetting) HasLastCheckedAt() bool

HasLastCheckedAt returns a boolean if a field has been set.

func (*BandwidthNotificationSetting) HasThresholdExceededAt

func (o *BandwidthNotificationSetting) HasThresholdExceededAt() bool

HasThresholdExceededAt returns a boolean if a field has been set.

func (BandwidthNotificationSetting) MarshalJSON

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

func (*BandwidthNotificationSetting) SetActions

func (o *BandwidthNotificationSetting) SetActions(v []Actions)

SetActions gets a reference to the given []Actions and assigns it to the Actions field.

func (*BandwidthNotificationSetting) SetFrequency

func (o *BandwidthNotificationSetting) SetFrequency(v string)

SetFrequency sets field value

func (*BandwidthNotificationSetting) SetId

SetId sets field value

func (*BandwidthNotificationSetting) SetLastCheckedAt

func (o *BandwidthNotificationSetting) SetLastCheckedAt(v string)

SetLastCheckedAt gets a reference to the given NullableString and assigns it to the LastCheckedAt field.

func (*BandwidthNotificationSetting) SetLastCheckedAtNil

func (o *BandwidthNotificationSetting) SetLastCheckedAtNil()

SetLastCheckedAtNil sets the value for LastCheckedAt to be an explicit nil

func (*BandwidthNotificationSetting) SetThreshold

func (o *BandwidthNotificationSetting) SetThreshold(v string)

SetThreshold sets field value

func (*BandwidthNotificationSetting) SetThresholdExceededAt

func (o *BandwidthNotificationSetting) SetThresholdExceededAt(v string)

SetThresholdExceededAt gets a reference to the given NullableString and assigns it to the ThresholdExceededAt field.

func (*BandwidthNotificationSetting) SetThresholdExceededAtNil

func (o *BandwidthNotificationSetting) SetThresholdExceededAtNil()

SetThresholdExceededAtNil sets the value for ThresholdExceededAt to be an explicit nil

func (*BandwidthNotificationSetting) SetUnit

func (o *BandwidthNotificationSetting) SetUnit(v string)

SetUnit sets field value

func (BandwidthNotificationSetting) ToMap

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

func (*BandwidthNotificationSetting) UnmarshalJSON

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

func (*BandwidthNotificationSetting) UnsetLastCheckedAt

func (o *BandwidthNotificationSetting) UnsetLastCheckedAt()

UnsetLastCheckedAt ensures that no value is present for LastCheckedAt, not even an explicit nil

func (*BandwidthNotificationSetting) UnsetThresholdExceededAt

func (o *BandwidthNotificationSetting) UnsetThresholdExceededAt()

UnsetThresholdExceededAt ensures that no value is present for ThresholdExceededAt, not even an explicit nil

type BandwidthNotificationSettingOpts

type BandwidthNotificationSettingOpts struct {
	// Frequency for the Bandwidth Notification
	Frequency string `json:"frequency"`
	// Threshold Value for the Bandwidth Notification
	Threshold string `json:"threshold"`
	// Unit for the Bandwidth Notification
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

BandwidthNotificationSettingOpts struct for BandwidthNotificationSettingOpts

func NewBandwidthNotificationSettingOpts

func NewBandwidthNotificationSettingOpts(frequency string, threshold string, unit string) *BandwidthNotificationSettingOpts

NewBandwidthNotificationSettingOpts instantiates a new BandwidthNotificationSettingOpts 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 NewBandwidthNotificationSettingOptsWithDefaults

func NewBandwidthNotificationSettingOptsWithDefaults() *BandwidthNotificationSettingOpts

NewBandwidthNotificationSettingOptsWithDefaults instantiates a new BandwidthNotificationSettingOpts 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 (*BandwidthNotificationSettingOpts) GetFrequency

func (o *BandwidthNotificationSettingOpts) GetFrequency() string

GetFrequency returns the Frequency field value

func (*BandwidthNotificationSettingOpts) GetFrequencyOk

func (o *BandwidthNotificationSettingOpts) GetFrequencyOk() (*string, bool)

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

func (*BandwidthNotificationSettingOpts) GetThreshold

func (o *BandwidthNotificationSettingOpts) GetThreshold() string

GetThreshold returns the Threshold field value

func (*BandwidthNotificationSettingOpts) GetThresholdOk

func (o *BandwidthNotificationSettingOpts) GetThresholdOk() (*string, bool)

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

func (*BandwidthNotificationSettingOpts) GetUnit

GetUnit returns the Unit field value

func (*BandwidthNotificationSettingOpts) GetUnitOk

func (o *BandwidthNotificationSettingOpts) GetUnitOk() (*string, bool)

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

func (BandwidthNotificationSettingOpts) MarshalJSON

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

func (*BandwidthNotificationSettingOpts) SetFrequency

func (o *BandwidthNotificationSettingOpts) SetFrequency(v string)

SetFrequency sets field value

func (*BandwidthNotificationSettingOpts) SetThreshold

func (o *BandwidthNotificationSettingOpts) SetThreshold(v string)

SetThreshold sets field value

func (*BandwidthNotificationSettingOpts) SetUnit

SetUnit sets field value

func (BandwidthNotificationSettingOpts) ToMap

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

func (*BandwidthNotificationSettingOpts) UnmarshalJSON

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

type BasicAuth

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

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

type Chassis

type Chassis struct {
	Description          *string      `json:"description,omitempty"`
	Firmware             *Firmware    `json:"firmware,omitempty"`
	Motherboard          *Motherboard `json:"motherboard,omitempty"`
	Product              *string      `json:"product,omitempty"`
	Serial               *string      `json:"serial,omitempty"`
	Vendor               *string      `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Chassis struct for Chassis

func NewChassis

func NewChassis() *Chassis

NewChassis instantiates a new Chassis 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 NewChassisWithDefaults

func NewChassisWithDefaults() *Chassis

NewChassisWithDefaults instantiates a new Chassis 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 (*Chassis) GetDescription

func (o *Chassis) GetDescription() string

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

func (*Chassis) GetDescriptionOk

func (o *Chassis) 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 (*Chassis) GetFirmware

func (o *Chassis) GetFirmware() Firmware

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*Chassis) GetFirmwareOk

func (o *Chassis) GetFirmwareOk() (*Firmware, bool)

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

func (*Chassis) GetMotherboard

func (o *Chassis) GetMotherboard() Motherboard

GetMotherboard returns the Motherboard field value if set, zero value otherwise.

func (*Chassis) GetMotherboardOk

func (o *Chassis) GetMotherboardOk() (*Motherboard, bool)

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

func (*Chassis) GetProduct

func (o *Chassis) GetProduct() string

GetProduct returns the Product field value if set, zero value otherwise.

func (*Chassis) GetProductOk

func (o *Chassis) GetProductOk() (*string, bool)

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

func (*Chassis) GetSerial

func (o *Chassis) GetSerial() string

GetSerial returns the Serial field value if set, zero value otherwise.

func (*Chassis) GetSerialOk

func (o *Chassis) GetSerialOk() (*string, bool)

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

func (*Chassis) GetVendor

func (o *Chassis) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Chassis) GetVendorOk

func (o *Chassis) GetVendorOk() (*string, bool)

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

func (*Chassis) HasDescription

func (o *Chassis) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Chassis) HasFirmware

func (o *Chassis) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*Chassis) HasMotherboard

func (o *Chassis) HasMotherboard() bool

HasMotherboard returns a boolean if a field has been set.

func (*Chassis) HasProduct

func (o *Chassis) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*Chassis) HasSerial

func (o *Chassis) HasSerial() bool

HasSerial returns a boolean if a field has been set.

func (*Chassis) HasVendor

func (o *Chassis) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Chassis) MarshalJSON

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

func (*Chassis) SetDescription

func (o *Chassis) SetDescription(v string)

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

func (*Chassis) SetFirmware

func (o *Chassis) SetFirmware(v Firmware)

SetFirmware gets a reference to the given Firmware and assigns it to the Firmware field.

func (*Chassis) SetMotherboard

func (o *Chassis) SetMotherboard(v Motherboard)

SetMotherboard gets a reference to the given Motherboard and assigns it to the Motherboard field.

func (*Chassis) SetProduct

func (o *Chassis) SetProduct(v string)

SetProduct gets a reference to the given string and assigns it to the Product field.

func (*Chassis) SetSerial

func (o *Chassis) SetSerial(v string)

SetSerial gets a reference to the given string and assigns it to the Serial field.

func (*Chassis) SetVendor

func (o *Chassis) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Chassis) ToMap

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

func (*Chassis) UnmarshalJSON

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type Contract

type Contract struct {
	Id                      *string        `json:"id,omitempty"`
	CustomerId              *string        `json:"customerId,omitempty"`
	SalesOrgId              *string        `json:"salesOrgId,omitempty"`
	DeliveryStatus          *string        `json:"deliveryStatus,omitempty"`
	Reference               NullableString `json:"reference,omitempty"`
	PrivateNetworkPortSpeed NullableString `json:"privateNetworkPortSpeed,omitempty"`
	Subnets                 []Subnet       `json:"subnets,omitempty"`
	Status                  *string        `json:"status,omitempty"`
	StartsAt                *time.Time     `json:"startsAt,omitempty"`
	EndsAt                  NullableTime   `json:"endsAt,omitempty"`
	// Service Level Agreement
	Sla          *string `json:"sla,omitempty"`
	ContractTerm *int32  `json:"contractTerm,omitempty"`
	ContractType *string `json:"contractType,omitempty"`
	// Applied billing cycle
	BillingCycle *int32 `json:"billingCycle,omitempty"`
	// The interval for which billing will be done
	BillingFrequency *string `json:"billingFrequency,omitempty"`
	// Price per billing frequency
	PricePerFrequency    *string           `json:"pricePerFrequency,omitempty"`
	Currency             *string           `json:"currency,omitempty"`
	NetworkTraffic       *NetworkTraffic   `json:"networkTraffic,omitempty"`
	SoftwareLicenses     []SoftwareLicense `json:"softwareLicenses,omitempty"`
	ManagedServices      []string          `json:"managedServices,omitempty"`
	AggregationPackId    NullableString    `json:"aggregationPackId,omitempty"`
	Ipv4Quantity         NullableInt32     `json:"ipv4Quantity,omitempty"`
	AdditionalProperties map[string]interface{}
}

Contract Contract information

func NewContract

func NewContract() *Contract

NewContract instantiates a new Contract 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 NewContractWithDefaults

func NewContractWithDefaults() *Contract

NewContractWithDefaults instantiates a new Contract 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 (*Contract) GetAggregationPackId

func (o *Contract) GetAggregationPackId() string

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

func (*Contract) GetAggregationPackIdOk

func (o *Contract) GetAggregationPackIdOk() (*string, bool)

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

func (*Contract) GetBillingCycle

func (o *Contract) GetBillingCycle() int32

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*Contract) GetBillingCycleOk

func (o *Contract) GetBillingCycleOk() (*int32, bool)

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

func (*Contract) GetBillingFrequency

func (o *Contract) GetBillingFrequency() string

GetBillingFrequency returns the BillingFrequency field value if set, zero value otherwise.

func (*Contract) GetBillingFrequencyOk

func (o *Contract) GetBillingFrequencyOk() (*string, bool)

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

func (*Contract) GetContractTerm

func (o *Contract) GetContractTerm() int32

GetContractTerm returns the ContractTerm field value if set, zero value otherwise.

func (*Contract) GetContractTermOk

func (o *Contract) GetContractTermOk() (*int32, bool)

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

func (*Contract) GetContractType

func (o *Contract) GetContractType() string

GetContractType returns the ContractType field value if set, zero value otherwise.

func (*Contract) GetContractTypeOk

func (o *Contract) GetContractTypeOk() (*string, bool)

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

func (*Contract) GetCurrency

func (o *Contract) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*Contract) GetCurrencyOk

func (o *Contract) GetCurrencyOk() (*string, bool)

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

func (*Contract) GetCustomerId

func (o *Contract) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise.

func (*Contract) GetCustomerIdOk

func (o *Contract) GetCustomerIdOk() (*string, bool)

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

func (*Contract) GetDeliveryStatus

func (o *Contract) GetDeliveryStatus() string

GetDeliveryStatus returns the DeliveryStatus field value if set, zero value otherwise.

func (*Contract) GetDeliveryStatusOk

func (o *Contract) GetDeliveryStatusOk() (*string, bool)

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

func (*Contract) GetEndsAt

func (o *Contract) GetEndsAt() time.Time

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

func (*Contract) GetEndsAtOk

func (o *Contract) GetEndsAtOk() (*time.Time, bool)

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

func (*Contract) GetId

func (o *Contract) GetId() string

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

func (*Contract) GetIdOk

func (o *Contract) 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 (*Contract) GetIpv4Quantity

func (o *Contract) GetIpv4Quantity() int32

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

func (*Contract) GetIpv4QuantityOk

func (o *Contract) GetIpv4QuantityOk() (*int32, bool)

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

func (*Contract) GetManagedServices

func (o *Contract) GetManagedServices() []string

GetManagedServices returns the ManagedServices field value if set, zero value otherwise.

func (*Contract) GetManagedServicesOk

func (o *Contract) GetManagedServicesOk() ([]string, bool)

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

func (*Contract) GetNetworkTraffic

func (o *Contract) GetNetworkTraffic() NetworkTraffic

GetNetworkTraffic returns the NetworkTraffic field value if set, zero value otherwise.

func (*Contract) GetNetworkTrafficOk

func (o *Contract) GetNetworkTrafficOk() (*NetworkTraffic, bool)

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

func (*Contract) GetPricePerFrequency

func (o *Contract) GetPricePerFrequency() string

GetPricePerFrequency returns the PricePerFrequency field value if set, zero value otherwise.

func (*Contract) GetPricePerFrequencyOk

func (o *Contract) GetPricePerFrequencyOk() (*string, bool)

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

func (*Contract) GetPrivateNetworkPortSpeed

func (o *Contract) GetPrivateNetworkPortSpeed() string

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

func (*Contract) GetPrivateNetworkPortSpeedOk

func (o *Contract) GetPrivateNetworkPortSpeedOk() (*string, bool)

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

func (*Contract) GetReference

func (o *Contract) GetReference() string

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

func (*Contract) GetReferenceOk

func (o *Contract) GetReferenceOk() (*string, bool)

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

func (*Contract) GetSalesOrgId

func (o *Contract) GetSalesOrgId() string

GetSalesOrgId returns the SalesOrgId field value if set, zero value otherwise.

func (*Contract) GetSalesOrgIdOk

func (o *Contract) GetSalesOrgIdOk() (*string, bool)

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

func (*Contract) GetSla

func (o *Contract) GetSla() string

GetSla returns the Sla field value if set, zero value otherwise.

func (*Contract) GetSlaOk

func (o *Contract) GetSlaOk() (*string, bool)

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

func (*Contract) GetSoftwareLicenses

func (o *Contract) GetSoftwareLicenses() []SoftwareLicense

GetSoftwareLicenses returns the SoftwareLicenses field value if set, zero value otherwise.

func (*Contract) GetSoftwareLicensesOk

func (o *Contract) GetSoftwareLicensesOk() ([]SoftwareLicense, bool)

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

func (*Contract) GetStartsAt

func (o *Contract) GetStartsAt() time.Time

GetStartsAt returns the StartsAt field value if set, zero value otherwise.

func (*Contract) GetStartsAtOk

func (o *Contract) GetStartsAtOk() (*time.Time, bool)

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

func (*Contract) GetStatus

func (o *Contract) GetStatus() string

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

func (*Contract) GetStatusOk

func (o *Contract) 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 (*Contract) GetSubnets

func (o *Contract) GetSubnets() []Subnet

GetSubnets returns the Subnets field value if set, zero value otherwise.

func (*Contract) GetSubnetsOk

func (o *Contract) GetSubnetsOk() ([]Subnet, bool)

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

func (*Contract) HasAggregationPackId

func (o *Contract) HasAggregationPackId() bool

HasAggregationPackId returns a boolean if a field has been set.

func (*Contract) HasBillingCycle

func (o *Contract) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*Contract) HasBillingFrequency

func (o *Contract) HasBillingFrequency() bool

HasBillingFrequency returns a boolean if a field has been set.

func (*Contract) HasContractTerm

func (o *Contract) HasContractTerm() bool

HasContractTerm returns a boolean if a field has been set.

func (*Contract) HasContractType

func (o *Contract) HasContractType() bool

HasContractType returns a boolean if a field has been set.

func (*Contract) HasCurrency

func (o *Contract) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*Contract) HasCustomerId

func (o *Contract) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*Contract) HasDeliveryStatus

func (o *Contract) HasDeliveryStatus() bool

HasDeliveryStatus returns a boolean if a field has been set.

func (*Contract) HasEndsAt

func (o *Contract) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*Contract) HasId

func (o *Contract) HasId() bool

HasId returns a boolean if a field has been set.

func (*Contract) HasIpv4Quantity

func (o *Contract) HasIpv4Quantity() bool

HasIpv4Quantity returns a boolean if a field has been set.

func (*Contract) HasManagedServices

func (o *Contract) HasManagedServices() bool

HasManagedServices returns a boolean if a field has been set.

func (*Contract) HasNetworkTraffic

func (o *Contract) HasNetworkTraffic() bool

HasNetworkTraffic returns a boolean if a field has been set.

func (*Contract) HasPricePerFrequency

func (o *Contract) HasPricePerFrequency() bool

HasPricePerFrequency returns a boolean if a field has been set.

func (*Contract) HasPrivateNetworkPortSpeed

func (o *Contract) HasPrivateNetworkPortSpeed() bool

HasPrivateNetworkPortSpeed returns a boolean if a field has been set.

func (*Contract) HasReference

func (o *Contract) HasReference() bool

HasReference returns a boolean if a field has been set.

func (*Contract) HasSalesOrgId

func (o *Contract) HasSalesOrgId() bool

HasSalesOrgId returns a boolean if a field has been set.

func (*Contract) HasSla

func (o *Contract) HasSla() bool

HasSla returns a boolean if a field has been set.

func (*Contract) HasSoftwareLicenses

func (o *Contract) HasSoftwareLicenses() bool

HasSoftwareLicenses returns a boolean if a field has been set.

func (*Contract) HasStartsAt

func (o *Contract) HasStartsAt() bool

HasStartsAt returns a boolean if a field has been set.

func (*Contract) HasStatus

func (o *Contract) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Contract) HasSubnets

func (o *Contract) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (Contract) MarshalJSON

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

func (*Contract) SetAggregationPackId

func (o *Contract) SetAggregationPackId(v string)

SetAggregationPackId gets a reference to the given NullableString and assigns it to the AggregationPackId field.

func (*Contract) SetAggregationPackIdNil

func (o *Contract) SetAggregationPackIdNil()

SetAggregationPackIdNil sets the value for AggregationPackId to be an explicit nil

func (*Contract) SetBillingCycle

func (o *Contract) SetBillingCycle(v int32)

SetBillingCycle gets a reference to the given int32 and assigns it to the BillingCycle field.

func (*Contract) SetBillingFrequency

func (o *Contract) SetBillingFrequency(v string)

SetBillingFrequency gets a reference to the given string and assigns it to the BillingFrequency field.

func (*Contract) SetContractTerm

func (o *Contract) SetContractTerm(v int32)

SetContractTerm gets a reference to the given int32 and assigns it to the ContractTerm field.

func (*Contract) SetContractType

func (o *Contract) SetContractType(v string)

SetContractType gets a reference to the given string and assigns it to the ContractType field.

func (*Contract) SetCurrency

func (o *Contract) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*Contract) SetCustomerId

func (o *Contract) SetCustomerId(v string)

SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.

func (*Contract) SetDeliveryStatus

func (o *Contract) SetDeliveryStatus(v string)

SetDeliveryStatus gets a reference to the given string and assigns it to the DeliveryStatus field.

func (*Contract) SetEndsAt

func (o *Contract) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given NullableTime and assigns it to the EndsAt field.

func (*Contract) SetEndsAtNil

func (o *Contract) SetEndsAtNil()

SetEndsAtNil sets the value for EndsAt to be an explicit nil

func (*Contract) SetId

func (o *Contract) SetId(v string)

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

func (*Contract) SetIpv4Quantity

func (o *Contract) SetIpv4Quantity(v int32)

SetIpv4Quantity gets a reference to the given NullableInt32 and assigns it to the Ipv4Quantity field.

func (*Contract) SetIpv4QuantityNil

func (o *Contract) SetIpv4QuantityNil()

SetIpv4QuantityNil sets the value for Ipv4Quantity to be an explicit nil

func (*Contract) SetManagedServices

func (o *Contract) SetManagedServices(v []string)

SetManagedServices gets a reference to the given []string and assigns it to the ManagedServices field.

func (*Contract) SetNetworkTraffic

func (o *Contract) SetNetworkTraffic(v NetworkTraffic)

SetNetworkTraffic gets a reference to the given NetworkTraffic and assigns it to the NetworkTraffic field.

func (*Contract) SetPricePerFrequency

func (o *Contract) SetPricePerFrequency(v string)

SetPricePerFrequency gets a reference to the given string and assigns it to the PricePerFrequency field.

func (*Contract) SetPrivateNetworkPortSpeed

func (o *Contract) SetPrivateNetworkPortSpeed(v string)

SetPrivateNetworkPortSpeed gets a reference to the given NullableString and assigns it to the PrivateNetworkPortSpeed field.

func (*Contract) SetPrivateNetworkPortSpeedNil

func (o *Contract) SetPrivateNetworkPortSpeedNil()

SetPrivateNetworkPortSpeedNil sets the value for PrivateNetworkPortSpeed to be an explicit nil

func (*Contract) SetReference

func (o *Contract) SetReference(v string)

SetReference gets a reference to the given NullableString and assigns it to the Reference field.

func (*Contract) SetReferenceNil

func (o *Contract) SetReferenceNil()

SetReferenceNil sets the value for Reference to be an explicit nil

func (*Contract) SetSalesOrgId

func (o *Contract) SetSalesOrgId(v string)

SetSalesOrgId gets a reference to the given string and assigns it to the SalesOrgId field.

func (*Contract) SetSla

func (o *Contract) SetSla(v string)

SetSla gets a reference to the given string and assigns it to the Sla field.

func (*Contract) SetSoftwareLicenses

func (o *Contract) SetSoftwareLicenses(v []SoftwareLicense)

SetSoftwareLicenses gets a reference to the given []SoftwareLicense and assigns it to the SoftwareLicenses field.

func (*Contract) SetStartsAt

func (o *Contract) SetStartsAt(v time.Time)

SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.

func (*Contract) SetStatus

func (o *Contract) SetStatus(v string)

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

func (*Contract) SetSubnets

func (o *Contract) SetSubnets(v []Subnet)

SetSubnets gets a reference to the given []Subnet and assigns it to the Subnets field.

func (Contract) ToMap

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

func (*Contract) UnmarshalJSON

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

func (*Contract) UnsetAggregationPackId

func (o *Contract) UnsetAggregationPackId()

UnsetAggregationPackId ensures that no value is present for AggregationPackId, not even an explicit nil

func (*Contract) UnsetEndsAt

func (o *Contract) UnsetEndsAt()

UnsetEndsAt ensures that no value is present for EndsAt, not even an explicit nil

func (*Contract) UnsetIpv4Quantity

func (o *Contract) UnsetIpv4Quantity()

UnsetIpv4Quantity ensures that no value is present for Ipv4Quantity, not even an explicit nil

func (*Contract) UnsetPrivateNetworkPortSpeed

func (o *Contract) UnsetPrivateNetworkPortSpeed()

UnsetPrivateNetworkPortSpeed ensures that no value is present for PrivateNetworkPortSpeed, not even an explicit nil

func (*Contract) UnsetReference

func (o *Contract) UnsetReference()

UnsetReference ensures that no value is present for Reference, not even an explicit nil

type ControlPanel

type ControlPanel struct {
	// The unique ID of this control panel
	Id string `json:"id"`
	// A human readable name describing the control panel
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

ControlPanel A single control panel

func NewControlPanel

func NewControlPanel(id string, name string) *ControlPanel

NewControlPanel instantiates a new ControlPanel 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 NewControlPanelWithDefaults

func NewControlPanelWithDefaults() *ControlPanel

NewControlPanelWithDefaults instantiates a new ControlPanel 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 (*ControlPanel) GetId

func (o *ControlPanel) GetId() string

GetId returns the Id field value

func (*ControlPanel) GetIdOk

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

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

func (*ControlPanel) GetName

func (o *ControlPanel) GetName() string

GetName returns the Name field value

func (*ControlPanel) GetNameOk

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

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

func (ControlPanel) MarshalJSON

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

func (*ControlPanel) SetId

func (o *ControlPanel) SetId(v string)

SetId sets field value

func (*ControlPanel) SetName

func (o *ControlPanel) SetName(v string)

SetName sets field value

func (ControlPanel) ToMap

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

func (*ControlPanel) UnmarshalJSON

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

type ControlPanelList

type ControlPanelList struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// A list of control panels
	ControlPanels        []ControlPanel `json:"controlPanels,omitempty"`
	AdditionalProperties map[string]interface{}
}

ControlPanelList struct for ControlPanelList

func NewControlPanelList

func NewControlPanelList() *ControlPanelList

NewControlPanelList instantiates a new ControlPanelList 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 NewControlPanelListWithDefaults

func NewControlPanelListWithDefaults() *ControlPanelList

NewControlPanelListWithDefaults instantiates a new ControlPanelList 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 (*ControlPanelList) GetControlPanels

func (o *ControlPanelList) GetControlPanels() []ControlPanel

GetControlPanels returns the ControlPanels field value if set, zero value otherwise.

func (*ControlPanelList) GetControlPanelsOk

func (o *ControlPanelList) GetControlPanelsOk() ([]ControlPanel, bool)

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

func (*ControlPanelList) GetMetadata

func (o *ControlPanelList) GetMetadata() Metadata

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

func (*ControlPanelList) GetMetadataOk

func (o *ControlPanelList) GetMetadataOk() (*Metadata, 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 (*ControlPanelList) HasControlPanels

func (o *ControlPanelList) HasControlPanels() bool

HasControlPanels returns a boolean if a field has been set.

func (*ControlPanelList) HasMetadata

func (o *ControlPanelList) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (ControlPanelList) MarshalJSON

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

func (*ControlPanelList) SetControlPanels

func (o *ControlPanelList) SetControlPanels(v []ControlPanel)

SetControlPanels gets a reference to the given []ControlPanel and assigns it to the ControlPanels field.

func (*ControlPanelList) SetMetadata

func (o *ControlPanelList) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (ControlPanelList) ToMap

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

func (*ControlPanelList) UnmarshalJSON

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

type Cpu

type Cpu struct {
	// The quantity of CPUs in the server
	Quantity *int32 `json:"quantity,omitempty"`
	// The type of CPUs in the server
	Type                 *string `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

Cpu CPU of the server

func NewCpu

func NewCpu() *Cpu

NewCpu instantiates a new Cpu 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 NewCpuWithDefaults

func NewCpuWithDefaults() *Cpu

NewCpuWithDefaults instantiates a new Cpu 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 (*Cpu) GetQuantity

func (o *Cpu) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*Cpu) GetQuantityOk

func (o *Cpu) GetQuantityOk() (*int32, bool)

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

func (*Cpu) GetType

func (o *Cpu) GetType() string

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

func (*Cpu) GetTypeOk

func (o *Cpu) GetTypeOk() (*string, bool)

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

func (*Cpu) HasQuantity

func (o *Cpu) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*Cpu) HasType

func (o *Cpu) HasType() bool

HasType returns a boolean if a field has been set.

func (Cpu) MarshalJSON

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

func (*Cpu) SetQuantity

func (o *Cpu) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*Cpu) SetType

func (o *Cpu) SetType(v string)

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

func (Cpu) ToMap

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

func (*Cpu) UnmarshalJSON

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

type Cpu1

type Cpu1 struct {
	Capabilities         *CpuCapabilities `json:"capabilities,omitempty"`
	Description          *string          `json:"description,omitempty"`
	Hz                   *string          `json:"hz,omitempty"`
	SerialNumber         *string          `json:"serial_number,omitempty"`
	Settings             *CpuSettings     `json:"settings,omitempty"`
	Slot                 *string          `json:"slot,omitempty"`
	Vendor               *string          `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Cpu1 struct for Cpu1

func NewCpu1

func NewCpu1() *Cpu1

NewCpu1 instantiates a new Cpu1 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 NewCpu1WithDefaults

func NewCpu1WithDefaults() *Cpu1

NewCpu1WithDefaults instantiates a new Cpu1 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 (*Cpu1) GetCapabilities

func (o *Cpu1) GetCapabilities() CpuCapabilities

GetCapabilities returns the Capabilities field value if set, zero value otherwise.

func (*Cpu1) GetCapabilitiesOk

func (o *Cpu1) GetCapabilitiesOk() (*CpuCapabilities, bool)

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

func (*Cpu1) GetDescription

func (o *Cpu1) GetDescription() string

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

func (*Cpu1) GetDescriptionOk

func (o *Cpu1) 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 (*Cpu1) GetHz

func (o *Cpu1) GetHz() string

GetHz returns the Hz field value if set, zero value otherwise.

func (*Cpu1) GetHzOk

func (o *Cpu1) GetHzOk() (*string, bool)

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

func (*Cpu1) GetSerialNumber

func (o *Cpu1) GetSerialNumber() string

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

func (*Cpu1) GetSerialNumberOk

func (o *Cpu1) 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 (*Cpu1) GetSettings

func (o *Cpu1) GetSettings() CpuSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*Cpu1) GetSettingsOk

func (o *Cpu1) GetSettingsOk() (*CpuSettings, bool)

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

func (*Cpu1) GetSlot

func (o *Cpu1) GetSlot() string

GetSlot returns the Slot field value if set, zero value otherwise.

func (*Cpu1) GetSlotOk

func (o *Cpu1) GetSlotOk() (*string, bool)

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

func (*Cpu1) GetVendor

func (o *Cpu1) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Cpu1) GetVendorOk

func (o *Cpu1) GetVendorOk() (*string, bool)

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

func (*Cpu1) HasCapabilities

func (o *Cpu1) HasCapabilities() bool

HasCapabilities returns a boolean if a field has been set.

func (*Cpu1) HasDescription

func (o *Cpu1) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Cpu1) HasHz

func (o *Cpu1) HasHz() bool

HasHz returns a boolean if a field has been set.

func (*Cpu1) HasSerialNumber

func (o *Cpu1) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*Cpu1) HasSettings

func (o *Cpu1) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*Cpu1) HasSlot

func (o *Cpu1) HasSlot() bool

HasSlot returns a boolean if a field has been set.

func (*Cpu1) HasVendor

func (o *Cpu1) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Cpu1) MarshalJSON

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

func (*Cpu1) SetCapabilities

func (o *Cpu1) SetCapabilities(v CpuCapabilities)

SetCapabilities gets a reference to the given CpuCapabilities and assigns it to the Capabilities field.

func (*Cpu1) SetDescription

func (o *Cpu1) SetDescription(v string)

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

func (*Cpu1) SetHz

func (o *Cpu1) SetHz(v string)

SetHz gets a reference to the given string and assigns it to the Hz field.

func (*Cpu1) SetSerialNumber

func (o *Cpu1) SetSerialNumber(v string)

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

func (*Cpu1) SetSettings

func (o *Cpu1) SetSettings(v CpuSettings)

SetSettings gets a reference to the given CpuSettings and assigns it to the Settings field.

func (*Cpu1) SetSlot

func (o *Cpu1) SetSlot(v string)

SetSlot gets a reference to the given string and assigns it to the Slot field.

func (*Cpu1) SetVendor

func (o *Cpu1) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Cpu1) ToMap

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

func (*Cpu1) UnmarshalJSON

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

type CpuCapabilities

type CpuCapabilities struct {
	Cpufreq              *string `json:"cpufreq,omitempty"`
	Ht                   *string `json:"ht,omitempty"`
	Vmx                  *bool   `json:"vmx,omitempty"`
	X8664                *string `json:"x86-64,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuCapabilities struct for CpuCapabilities

func NewCpuCapabilities

func NewCpuCapabilities() *CpuCapabilities

NewCpuCapabilities instantiates a new CpuCapabilities 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 NewCpuCapabilitiesWithDefaults

func NewCpuCapabilitiesWithDefaults() *CpuCapabilities

NewCpuCapabilitiesWithDefaults instantiates a new CpuCapabilities 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 (*CpuCapabilities) GetCpufreq

func (o *CpuCapabilities) GetCpufreq() string

GetCpufreq returns the Cpufreq field value if set, zero value otherwise.

func (*CpuCapabilities) GetCpufreqOk

func (o *CpuCapabilities) GetCpufreqOk() (*string, bool)

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

func (*CpuCapabilities) GetHt

func (o *CpuCapabilities) GetHt() string

GetHt returns the Ht field value if set, zero value otherwise.

func (*CpuCapabilities) GetHtOk

func (o *CpuCapabilities) GetHtOk() (*string, bool)

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

func (*CpuCapabilities) GetVmx

func (o *CpuCapabilities) GetVmx() bool

GetVmx returns the Vmx field value if set, zero value otherwise.

func (*CpuCapabilities) GetVmxOk

func (o *CpuCapabilities) GetVmxOk() (*bool, bool)

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

func (*CpuCapabilities) GetX8664

func (o *CpuCapabilities) GetX8664() string

GetX8664 returns the X8664 field value if set, zero value otherwise.

func (*CpuCapabilities) GetX8664Ok

func (o *CpuCapabilities) GetX8664Ok() (*string, bool)

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

func (*CpuCapabilities) HasCpufreq

func (o *CpuCapabilities) HasCpufreq() bool

HasCpufreq returns a boolean if a field has been set.

func (*CpuCapabilities) HasHt

func (o *CpuCapabilities) HasHt() bool

HasHt returns a boolean if a field has been set.

func (*CpuCapabilities) HasVmx

func (o *CpuCapabilities) HasVmx() bool

HasVmx returns a boolean if a field has been set.

func (*CpuCapabilities) HasX8664

func (o *CpuCapabilities) HasX8664() bool

HasX8664 returns a boolean if a field has been set.

func (CpuCapabilities) MarshalJSON

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

func (*CpuCapabilities) SetCpufreq

func (o *CpuCapabilities) SetCpufreq(v string)

SetCpufreq gets a reference to the given string and assigns it to the Cpufreq field.

func (*CpuCapabilities) SetHt

func (o *CpuCapabilities) SetHt(v string)

SetHt gets a reference to the given string and assigns it to the Ht field.

func (*CpuCapabilities) SetVmx

func (o *CpuCapabilities) SetVmx(v bool)

SetVmx gets a reference to the given bool and assigns it to the Vmx field.

func (*CpuCapabilities) SetX8664

func (o *CpuCapabilities) SetX8664(v string)

SetX8664 gets a reference to the given string and assigns it to the X8664 field.

func (CpuCapabilities) ToMap

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

func (*CpuCapabilities) UnmarshalJSON

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

type CpuSettings

type CpuSettings struct {
	Cores                *string `json:"cores,omitempty"`
	Enabledcores         *string `json:"enabledcores,omitempty"`
	Threads              *string `json:"threads,omitempty"`
	AdditionalProperties map[string]interface{}
}

CpuSettings struct for CpuSettings

func NewCpuSettings

func NewCpuSettings() *CpuSettings

NewCpuSettings instantiates a new CpuSettings 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 NewCpuSettingsWithDefaults

func NewCpuSettingsWithDefaults() *CpuSettings

NewCpuSettingsWithDefaults instantiates a new CpuSettings 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 (*CpuSettings) GetCores

func (o *CpuSettings) GetCores() string

GetCores returns the Cores field value if set, zero value otherwise.

func (*CpuSettings) GetCoresOk

func (o *CpuSettings) GetCoresOk() (*string, bool)

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

func (*CpuSettings) GetEnabledcores

func (o *CpuSettings) GetEnabledcores() string

GetEnabledcores returns the Enabledcores field value if set, zero value otherwise.

func (*CpuSettings) GetEnabledcoresOk

func (o *CpuSettings) GetEnabledcoresOk() (*string, bool)

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

func (*CpuSettings) GetThreads

func (o *CpuSettings) GetThreads() string

GetThreads returns the Threads field value if set, zero value otherwise.

func (*CpuSettings) GetThreadsOk

func (o *CpuSettings) GetThreadsOk() (*string, bool)

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

func (*CpuSettings) HasCores

func (o *CpuSettings) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*CpuSettings) HasEnabledcores

func (o *CpuSettings) HasEnabledcores() bool

HasEnabledcores returns a boolean if a field has been set.

func (*CpuSettings) HasThreads

func (o *CpuSettings) HasThreads() bool

HasThreads returns a boolean if a field has been set.

func (CpuSettings) MarshalJSON

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

func (*CpuSettings) SetCores

func (o *CpuSettings) SetCores(v string)

SetCores gets a reference to the given string and assigns it to the Cores field.

func (*CpuSettings) SetEnabledcores

func (o *CpuSettings) SetEnabledcores(v string)

SetEnabledcores gets a reference to the given string and assigns it to the Enabledcores field.

func (*CpuSettings) SetThreads

func (o *CpuSettings) SetThreads(v string)

SetThreads gets a reference to the given string and assigns it to the Threads field.

func (CpuSettings) ToMap

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

func (*CpuSettings) UnmarshalJSON

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

type CreateNetworkEquipmentCredentialOpts

type CreateNetworkEquipmentCredentialOpts struct {
	// The password for the credentials
	Password string         `json:"password"`
	Type     CredentialType `json:"type"`
	// The username for the credentials
	Username             string `json:"username"`
	AdditionalProperties map[string]interface{}
}

CreateNetworkEquipmentCredentialOpts struct for CreateNetworkEquipmentCredentialOpts

func NewCreateNetworkEquipmentCredentialOpts

func NewCreateNetworkEquipmentCredentialOpts(password string, type_ CredentialType, username string) *CreateNetworkEquipmentCredentialOpts

NewCreateNetworkEquipmentCredentialOpts instantiates a new CreateNetworkEquipmentCredentialOpts 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 NewCreateNetworkEquipmentCredentialOptsWithDefaults

func NewCreateNetworkEquipmentCredentialOptsWithDefaults() *CreateNetworkEquipmentCredentialOpts

NewCreateNetworkEquipmentCredentialOptsWithDefaults instantiates a new CreateNetworkEquipmentCredentialOpts 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 (*CreateNetworkEquipmentCredentialOpts) GetPassword

GetPassword returns the Password field value

func (*CreateNetworkEquipmentCredentialOpts) GetPasswordOk

func (o *CreateNetworkEquipmentCredentialOpts) GetPasswordOk() (*string, bool)

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

func (*CreateNetworkEquipmentCredentialOpts) GetType

GetType returns the Type field value

func (*CreateNetworkEquipmentCredentialOpts) GetTypeOk

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

func (*CreateNetworkEquipmentCredentialOpts) GetUsername

GetUsername returns the Username field value

func (*CreateNetworkEquipmentCredentialOpts) GetUsernameOk

func (o *CreateNetworkEquipmentCredentialOpts) GetUsernameOk() (*string, bool)

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

func (CreateNetworkEquipmentCredentialOpts) MarshalJSON

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

func (*CreateNetworkEquipmentCredentialOpts) SetPassword

func (o *CreateNetworkEquipmentCredentialOpts) SetPassword(v string)

SetPassword sets field value

func (*CreateNetworkEquipmentCredentialOpts) SetType

SetType sets field value

func (*CreateNetworkEquipmentCredentialOpts) SetUsername

func (o *CreateNetworkEquipmentCredentialOpts) SetUsername(v string)

SetUsername sets field value

func (CreateNetworkEquipmentCredentialOpts) ToMap

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

func (*CreateNetworkEquipmentCredentialOpts) UnmarshalJSON

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

type CreateServerCredentialOpts

type CreateServerCredentialOpts struct {
	// The password for the credentials
	Password string         `json:"password"`
	Type     CredentialType `json:"type"`
	// The username for the credentials
	Username             string `json:"username"`
	AdditionalProperties map[string]interface{}
}

CreateServerCredentialOpts struct for CreateServerCredentialOpts

func NewCreateServerCredentialOpts

func NewCreateServerCredentialOpts(password string, type_ CredentialType, username string) *CreateServerCredentialOpts

NewCreateServerCredentialOpts instantiates a new CreateServerCredentialOpts 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 NewCreateServerCredentialOptsWithDefaults

func NewCreateServerCredentialOptsWithDefaults() *CreateServerCredentialOpts

NewCreateServerCredentialOptsWithDefaults instantiates a new CreateServerCredentialOpts 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 (*CreateServerCredentialOpts) GetPassword

func (o *CreateServerCredentialOpts) GetPassword() string

GetPassword returns the Password field value

func (*CreateServerCredentialOpts) GetPasswordOk

func (o *CreateServerCredentialOpts) GetPasswordOk() (*string, bool)

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

func (*CreateServerCredentialOpts) GetType

GetType returns the Type field value

func (*CreateServerCredentialOpts) GetTypeOk

func (o *CreateServerCredentialOpts) GetTypeOk() (*CredentialType, bool)

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

func (*CreateServerCredentialOpts) GetUsername

func (o *CreateServerCredentialOpts) GetUsername() string

GetUsername returns the Username field value

func (*CreateServerCredentialOpts) GetUsernameOk

func (o *CreateServerCredentialOpts) GetUsernameOk() (*string, bool)

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

func (CreateServerCredentialOpts) MarshalJSON

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

func (*CreateServerCredentialOpts) SetPassword

func (o *CreateServerCredentialOpts) SetPassword(v string)

SetPassword sets field value

func (*CreateServerCredentialOpts) SetType

SetType sets field value

func (*CreateServerCredentialOpts) SetUsername

func (o *CreateServerCredentialOpts) SetUsername(v string)

SetUsername sets field value

func (CreateServerCredentialOpts) ToMap

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

func (*CreateServerCredentialOpts) UnmarshalJSON

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

type CreateServerDhcpReservationOpts

type CreateServerDhcpReservationOpts struct {
	// The URL of PXE boot you want your server to boot from
	Bootfile string `json:"bootfile"`
	// The hostname for the server
	Hostname             *string `json:"hostname,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateServerDhcpReservationOpts struct for CreateServerDhcpReservationOpts

func NewCreateServerDhcpReservationOpts

func NewCreateServerDhcpReservationOpts(bootfile string) *CreateServerDhcpReservationOpts

NewCreateServerDhcpReservationOpts instantiates a new CreateServerDhcpReservationOpts 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 NewCreateServerDhcpReservationOptsWithDefaults

func NewCreateServerDhcpReservationOptsWithDefaults() *CreateServerDhcpReservationOpts

NewCreateServerDhcpReservationOptsWithDefaults instantiates a new CreateServerDhcpReservationOpts 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 (*CreateServerDhcpReservationOpts) GetBootfile

func (o *CreateServerDhcpReservationOpts) GetBootfile() string

GetBootfile returns the Bootfile field value

func (*CreateServerDhcpReservationOpts) GetBootfileOk

func (o *CreateServerDhcpReservationOpts) GetBootfileOk() (*string, bool)

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

func (*CreateServerDhcpReservationOpts) GetHostname

func (o *CreateServerDhcpReservationOpts) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateServerDhcpReservationOpts) GetHostnameOk

func (o *CreateServerDhcpReservationOpts) GetHostnameOk() (*string, bool)

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

func (*CreateServerDhcpReservationOpts) HasHostname

func (o *CreateServerDhcpReservationOpts) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (CreateServerDhcpReservationOpts) MarshalJSON

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

func (*CreateServerDhcpReservationOpts) SetBootfile

func (o *CreateServerDhcpReservationOpts) SetBootfile(v string)

SetBootfile sets field value

func (*CreateServerDhcpReservationOpts) SetHostname

func (o *CreateServerDhcpReservationOpts) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (CreateServerDhcpReservationOpts) ToMap

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

func (*CreateServerDhcpReservationOpts) UnmarshalJSON

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

type Credential

type Credential struct {
	// The password
	Password string         `json:"password"`
	Type     CredentialType `json:"type"`
	// The username
	Username             string `json:"username"`
	AdditionalProperties map[string]interface{}
}

Credential struct for Credential

func NewCredential

func NewCredential(password string, type_ CredentialType, username string) *Credential

NewCredential instantiates a new Credential 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 NewCredentialWithDefaults

func NewCredentialWithDefaults() *Credential

NewCredentialWithDefaults instantiates a new Credential 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 (*Credential) GetPassword

func (o *Credential) GetPassword() string

GetPassword returns the Password field value

func (*Credential) GetPasswordOk

func (o *Credential) GetPasswordOk() (*string, bool)

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

func (*Credential) GetType

func (o *Credential) GetType() CredentialType

GetType returns the Type field value

func (*Credential) GetTypeOk

func (o *Credential) GetTypeOk() (*CredentialType, bool)

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

func (*Credential) GetUsername

func (o *Credential) GetUsername() string

GetUsername returns the Username field value

func (*Credential) GetUsernameOk

func (o *Credential) GetUsernameOk() (*string, bool)

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

func (Credential) MarshalJSON

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

func (*Credential) SetPassword

func (o *Credential) SetPassword(v string)

SetPassword sets field value

func (*Credential) SetType

func (o *Credential) SetType(v CredentialType)

SetType sets field value

func (*Credential) SetUsername

func (o *Credential) SetUsername(v string)

SetUsername sets field value

func (Credential) ToMap

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

func (*Credential) UnmarshalJSON

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

type CredentialList

type CredentialList struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of credentials
	Credentials          []CredentialWithoutPassword `json:"credentials,omitempty"`
	AdditionalProperties map[string]interface{}
}

CredentialList struct for CredentialList

func NewCredentialList

func NewCredentialList() *CredentialList

NewCredentialList instantiates a new CredentialList 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 NewCredentialListWithDefaults

func NewCredentialListWithDefaults() *CredentialList

NewCredentialListWithDefaults instantiates a new CredentialList 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 (*CredentialList) GetCredentials

func (o *CredentialList) GetCredentials() []CredentialWithoutPassword

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*CredentialList) GetCredentialsOk

func (o *CredentialList) GetCredentialsOk() ([]CredentialWithoutPassword, bool)

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

func (*CredentialList) GetMetadata

func (o *CredentialList) GetMetadata() Metadata

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

func (*CredentialList) GetMetadataOk

func (o *CredentialList) GetMetadataOk() (*Metadata, 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 (*CredentialList) HasCredentials

func (o *CredentialList) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*CredentialList) HasMetadata

func (o *CredentialList) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (CredentialList) MarshalJSON

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

func (*CredentialList) SetCredentials

func (o *CredentialList) SetCredentials(v []CredentialWithoutPassword)

SetCredentials gets a reference to the given []CredentialWithoutPassword and assigns it to the Credentials field.

func (*CredentialList) SetMetadata

func (o *CredentialList) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (CredentialList) ToMap

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

func (*CredentialList) UnmarshalJSON

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

type CredentialType

type CredentialType string

CredentialType The type of the credential.

const (
	CREDENTIALTYPE_OPERATING_SYSTEM           CredentialType = "OPERATING_SYSTEM"
	CREDENTIALTYPE_RESCUE_MODE                CredentialType = "RESCUE_MODE"
	CREDENTIALTYPE_REMOTE_MANAGEMENT          CredentialType = "REMOTE_MANAGEMENT"
	CREDENTIALTYPE_CONTROL_PANEL              CredentialType = "CONTROL_PANEL"
	CREDENTIALTYPE_SWITCH                     CredentialType = "SWITCH"
	CREDENTIALTYPE_PDU                        CredentialType = "PDU"
	CREDENTIALTYPE_FIREWALL                   CredentialType = "FIREWALL"
	CREDENTIALTYPE_LOAD_BALANCER              CredentialType = "LOAD_BALANCER"
	CREDENTIALTYPE_VNC                        CredentialType = "VNC"
	CREDENTIALTYPE_TEMPORARY_OPERATING_SYSTEM CredentialType = "TEMPORARY_OPERATING_SYSTEM"
	CREDENTIALTYPE_VPN_USER                   CredentialType = "VPN_USER"
	CREDENTIALTYPE_COMBINATION_LOCK           CredentialType = "COMBINATION_LOCK"
	CREDENTIALTYPE_DATABASE                   CredentialType = "DATABASE"
)

List of credentialType

func NewCredentialTypeFromValue

func NewCredentialTypeFromValue(v string) (*CredentialType, error)

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

func (CredentialType) IsValid

func (v CredentialType) IsValid() bool

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

func (CredentialType) Ptr

func (v CredentialType) Ptr() *CredentialType

Ptr returns reference to credentialType value

func (*CredentialType) UnmarshalJSON

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

type CredentialWithoutPassword

type CredentialWithoutPassword struct {
	Type CredentialType `json:"type"`
	// The username
	Username             string `json:"username"`
	AdditionalProperties map[string]interface{}
}

CredentialWithoutPassword struct for CredentialWithoutPassword

func NewCredentialWithoutPassword

func NewCredentialWithoutPassword(type_ CredentialType, username string) *CredentialWithoutPassword

NewCredentialWithoutPassword instantiates a new CredentialWithoutPassword 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 NewCredentialWithoutPasswordWithDefaults

func NewCredentialWithoutPasswordWithDefaults() *CredentialWithoutPassword

NewCredentialWithoutPasswordWithDefaults instantiates a new CredentialWithoutPassword 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 (*CredentialWithoutPassword) GetType

GetType returns the Type field value

func (*CredentialWithoutPassword) GetTypeOk

func (o *CredentialWithoutPassword) GetTypeOk() (*CredentialType, bool)

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

func (*CredentialWithoutPassword) GetUsername

func (o *CredentialWithoutPassword) GetUsername() string

GetUsername returns the Username field value

func (*CredentialWithoutPassword) GetUsernameOk

func (o *CredentialWithoutPassword) GetUsernameOk() (*string, bool)

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

func (CredentialWithoutPassword) MarshalJSON

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

func (*CredentialWithoutPassword) SetType

SetType sets field value

func (*CredentialWithoutPassword) SetUsername

func (o *CredentialWithoutPassword) SetUsername(v string)

SetUsername sets field value

func (CredentialWithoutPassword) ToMap

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

func (*CredentialWithoutPassword) UnmarshalJSON

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

type CurrentServerJob

type CurrentServerJob struct {
	// Id of the server (deprecated, use serverId instead)
	// Deprecated
	BareMetalId *string `json:"bareMetalId,omitempty"`
	// Creation timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Job flow
	Flow *string `json:"flow,omitempty"`
	// Describes whether the job is running
	IsRunning *bool `json:"isRunning,omitempty"`
	// Node ID for this server
	Node     *string           `json:"node,omitempty"`
	Payload  *ServerJobPayload `json:"payload,omitempty"`
	Progress *Progress         `json:"progress,omitempty"`
	// Id of the server
	ServerId *string `json:"serverId,omitempty"`
	// Status of the job
	Status *string `json:"status,omitempty"`
	// List of tasks in the job
	Tasks []Task   `json:"tasks,omitempty"`
	Type  *JobType `json:"type,omitempty"`
	// Update timestamp
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Unique identifier of the job
	Uuid                 *string      `json:"uuid,omitempty"`
	Metadata             *JobMetadata `json:"metadata,omitempty"`
	AdditionalProperties map[string]interface{}
}

CurrentServerJob struct for CurrentServerJob

func NewCurrentServerJob

func NewCurrentServerJob() *CurrentServerJob

NewCurrentServerJob instantiates a new CurrentServerJob 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 NewCurrentServerJobWithDefaults

func NewCurrentServerJobWithDefaults() *CurrentServerJob

NewCurrentServerJobWithDefaults instantiates a new CurrentServerJob 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 (*CurrentServerJob) GetBareMetalId

func (o *CurrentServerJob) GetBareMetalId() string

GetBareMetalId returns the BareMetalId field value if set, zero value otherwise. Deprecated

func (*CurrentServerJob) GetBareMetalIdOk

func (o *CurrentServerJob) GetBareMetalIdOk() (*string, bool)

GetBareMetalIdOk returns a tuple with the BareMetalId field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*CurrentServerJob) GetCreatedAt

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

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

func (*CurrentServerJob) GetCreatedAtOk

func (o *CurrentServerJob) 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 (*CurrentServerJob) GetFlow

func (o *CurrentServerJob) GetFlow() string

GetFlow returns the Flow field value if set, zero value otherwise.

func (*CurrentServerJob) GetFlowOk

func (o *CurrentServerJob) GetFlowOk() (*string, bool)

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

func (*CurrentServerJob) GetIsRunning

func (o *CurrentServerJob) GetIsRunning() bool

GetIsRunning returns the IsRunning field value if set, zero value otherwise.

func (*CurrentServerJob) GetIsRunningOk

func (o *CurrentServerJob) GetIsRunningOk() (*bool, bool)

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

func (*CurrentServerJob) GetMetadata

func (o *CurrentServerJob) GetMetadata() JobMetadata

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

func (*CurrentServerJob) GetMetadataOk

func (o *CurrentServerJob) GetMetadataOk() (*JobMetadata, 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 (*CurrentServerJob) GetNode

func (o *CurrentServerJob) GetNode() string

GetNode returns the Node field value if set, zero value otherwise.

func (*CurrentServerJob) GetNodeOk

func (o *CurrentServerJob) GetNodeOk() (*string, bool)

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

func (*CurrentServerJob) GetPayload

func (o *CurrentServerJob) GetPayload() ServerJobPayload

GetPayload returns the Payload field value if set, zero value otherwise.

func (*CurrentServerJob) GetPayloadOk

func (o *CurrentServerJob) GetPayloadOk() (*ServerJobPayload, bool)

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

func (*CurrentServerJob) GetProgress

func (o *CurrentServerJob) GetProgress() Progress

GetProgress returns the Progress field value if set, zero value otherwise.

func (*CurrentServerJob) GetProgressOk

func (o *CurrentServerJob) GetProgressOk() (*Progress, bool)

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

func (*CurrentServerJob) GetServerId

func (o *CurrentServerJob) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*CurrentServerJob) GetServerIdOk

func (o *CurrentServerJob) GetServerIdOk() (*string, bool)

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

func (*CurrentServerJob) GetStatus

func (o *CurrentServerJob) GetStatus() string

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

func (*CurrentServerJob) GetStatusOk

func (o *CurrentServerJob) 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 (*CurrentServerJob) GetTasks

func (o *CurrentServerJob) GetTasks() []Task

GetTasks returns the Tasks field value if set, zero value otherwise.

func (*CurrentServerJob) GetTasksOk

func (o *CurrentServerJob) GetTasksOk() ([]Task, bool)

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

func (*CurrentServerJob) GetType

func (o *CurrentServerJob) GetType() JobType

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

func (*CurrentServerJob) GetTypeOk

func (o *CurrentServerJob) GetTypeOk() (*JobType, bool)

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

func (*CurrentServerJob) GetUpdatedAt

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

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

func (*CurrentServerJob) GetUpdatedAtOk

func (o *CurrentServerJob) 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 (*CurrentServerJob) GetUuid

func (o *CurrentServerJob) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*CurrentServerJob) GetUuidOk

func (o *CurrentServerJob) GetUuidOk() (*string, bool)

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

func (*CurrentServerJob) HasBareMetalId

func (o *CurrentServerJob) HasBareMetalId() bool

HasBareMetalId returns a boolean if a field has been set.

func (*CurrentServerJob) HasCreatedAt

func (o *CurrentServerJob) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CurrentServerJob) HasFlow

func (o *CurrentServerJob) HasFlow() bool

HasFlow returns a boolean if a field has been set.

func (*CurrentServerJob) HasIsRunning

func (o *CurrentServerJob) HasIsRunning() bool

HasIsRunning returns a boolean if a field has been set.

func (*CurrentServerJob) HasMetadata

func (o *CurrentServerJob) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*CurrentServerJob) HasNode

func (o *CurrentServerJob) HasNode() bool

HasNode returns a boolean if a field has been set.

func (*CurrentServerJob) HasPayload

func (o *CurrentServerJob) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*CurrentServerJob) HasProgress

func (o *CurrentServerJob) HasProgress() bool

HasProgress returns a boolean if a field has been set.

func (*CurrentServerJob) HasServerId

func (o *CurrentServerJob) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*CurrentServerJob) HasStatus

func (o *CurrentServerJob) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CurrentServerJob) HasTasks

func (o *CurrentServerJob) HasTasks() bool

HasTasks returns a boolean if a field has been set.

func (*CurrentServerJob) HasType

func (o *CurrentServerJob) HasType() bool

HasType returns a boolean if a field has been set.

func (*CurrentServerJob) HasUpdatedAt

func (o *CurrentServerJob) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*CurrentServerJob) HasUuid

func (o *CurrentServerJob) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (CurrentServerJob) MarshalJSON

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

func (*CurrentServerJob) SetBareMetalId

func (o *CurrentServerJob) SetBareMetalId(v string)

SetBareMetalId gets a reference to the given string and assigns it to the BareMetalId field. Deprecated

func (*CurrentServerJob) SetCreatedAt

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

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

func (*CurrentServerJob) SetFlow

func (o *CurrentServerJob) SetFlow(v string)

SetFlow gets a reference to the given string and assigns it to the Flow field.

func (*CurrentServerJob) SetIsRunning

func (o *CurrentServerJob) SetIsRunning(v bool)

SetIsRunning gets a reference to the given bool and assigns it to the IsRunning field.

func (*CurrentServerJob) SetMetadata

func (o *CurrentServerJob) SetMetadata(v JobMetadata)

SetMetadata gets a reference to the given JobMetadata and assigns it to the Metadata field.

func (*CurrentServerJob) SetNode

func (o *CurrentServerJob) SetNode(v string)

SetNode gets a reference to the given string and assigns it to the Node field.

func (*CurrentServerJob) SetPayload

func (o *CurrentServerJob) SetPayload(v ServerJobPayload)

SetPayload gets a reference to the given ServerJobPayload and assigns it to the Payload field.

func (*CurrentServerJob) SetProgress

func (o *CurrentServerJob) SetProgress(v Progress)

SetProgress gets a reference to the given Progress and assigns it to the Progress field.

func (*CurrentServerJob) SetServerId

func (o *CurrentServerJob) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*CurrentServerJob) SetStatus

func (o *CurrentServerJob) SetStatus(v string)

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

func (*CurrentServerJob) SetTasks

func (o *CurrentServerJob) SetTasks(v []Task)

SetTasks gets a reference to the given []Task and assigns it to the Tasks field.

func (*CurrentServerJob) SetType

func (o *CurrentServerJob) SetType(v JobType)

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

func (*CurrentServerJob) SetUpdatedAt

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

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

func (*CurrentServerJob) SetUuid

func (o *CurrentServerJob) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (CurrentServerJob) ToMap

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

func (*CurrentServerJob) UnmarshalJSON

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

type DDos

type DDos struct {
	// The applied detection profile
	DetectionProfile *string `json:"detectionProfile,omitempty"`
	// The type of DDoS protection
	ProtectionType       *string `json:"protectionType,omitempty"`
	AdditionalProperties map[string]interface{}
}

DDos DDoS IP Protection Details

func NewDDos

func NewDDos() *DDos

NewDDos instantiates a new DDos 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 NewDDosWithDefaults

func NewDDosWithDefaults() *DDos

NewDDosWithDefaults instantiates a new DDos 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 (*DDos) GetDetectionProfile

func (o *DDos) GetDetectionProfile() string

GetDetectionProfile returns the DetectionProfile field value if set, zero value otherwise.

func (*DDos) GetDetectionProfileOk

func (o *DDos) GetDetectionProfileOk() (*string, bool)

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

func (*DDos) GetProtectionType

func (o *DDos) GetProtectionType() string

GetProtectionType returns the ProtectionType field value if set, zero value otherwise.

func (*DDos) GetProtectionTypeOk

func (o *DDos) GetProtectionTypeOk() (*string, bool)

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

func (*DDos) HasDetectionProfile

func (o *DDos) HasDetectionProfile() bool

HasDetectionProfile returns a boolean if a field has been set.

func (*DDos) HasProtectionType

func (o *DDos) HasProtectionType() bool

HasProtectionType returns a boolean if a field has been set.

func (DDos) MarshalJSON

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

func (*DDos) SetDetectionProfile

func (o *DDos) SetDetectionProfile(v string)

SetDetectionProfile gets a reference to the given string and assigns it to the DetectionProfile field.

func (*DDos) SetProtectionType

func (o *DDos) SetProtectionType(v string)

SetProtectionType gets a reference to the given string and assigns it to the ProtectionType field.

func (DDos) ToMap

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

func (*DDos) UnmarshalJSON

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

type DataTrafficNotificationSetting

type DataTrafficNotificationSetting struct {
	// An array of notification setting actions
	Actions []Actions `json:"actions,omitempty"`
	// Frequency
	Frequency string `json:"frequency"`
	// Identifier of the notification setting
	Id string `json:"id"`
	// Date timestamp when the system last checked the server for threshold limit
	LastCheckedAt NullableString `json:"lastCheckedAt,omitempty"`
	// Threshold Value
	Threshold string `json:"threshold"`
	// Date timestamp when the threshold exceeded the limit
	ThresholdExceededAt NullableString `json:"thresholdExceededAt,omitempty"`
	// Unit
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

DataTrafficNotificationSetting struct for DataTrafficNotificationSetting

func NewDataTrafficNotificationSetting

func NewDataTrafficNotificationSetting(frequency string, id string, threshold string, unit string) *DataTrafficNotificationSetting

NewDataTrafficNotificationSetting instantiates a new DataTrafficNotificationSetting 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 NewDataTrafficNotificationSettingWithDefaults

func NewDataTrafficNotificationSettingWithDefaults() *DataTrafficNotificationSetting

NewDataTrafficNotificationSettingWithDefaults instantiates a new DataTrafficNotificationSetting 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 (*DataTrafficNotificationSetting) GetActions

func (o *DataTrafficNotificationSetting) GetActions() []Actions

GetActions returns the Actions field value if set, zero value otherwise.

func (*DataTrafficNotificationSetting) GetActionsOk

func (o *DataTrafficNotificationSetting) GetActionsOk() ([]Actions, bool)

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

func (*DataTrafficNotificationSetting) GetFrequency

func (o *DataTrafficNotificationSetting) GetFrequency() string

GetFrequency returns the Frequency field value

func (*DataTrafficNotificationSetting) GetFrequencyOk

func (o *DataTrafficNotificationSetting) GetFrequencyOk() (*string, bool)

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

func (*DataTrafficNotificationSetting) GetId

GetId returns the Id field value

func (*DataTrafficNotificationSetting) GetIdOk

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

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

func (*DataTrafficNotificationSetting) GetLastCheckedAt

func (o *DataTrafficNotificationSetting) GetLastCheckedAt() string

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

func (*DataTrafficNotificationSetting) GetLastCheckedAtOk

func (o *DataTrafficNotificationSetting) GetLastCheckedAtOk() (*string, bool)

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

func (*DataTrafficNotificationSetting) GetThreshold

func (o *DataTrafficNotificationSetting) GetThreshold() string

GetThreshold returns the Threshold field value

func (*DataTrafficNotificationSetting) GetThresholdExceededAt

func (o *DataTrafficNotificationSetting) GetThresholdExceededAt() string

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

func (*DataTrafficNotificationSetting) GetThresholdExceededAtOk

func (o *DataTrafficNotificationSetting) GetThresholdExceededAtOk() (*string, bool)

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

func (*DataTrafficNotificationSetting) GetThresholdOk

func (o *DataTrafficNotificationSetting) GetThresholdOk() (*string, bool)

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

func (*DataTrafficNotificationSetting) GetUnit

GetUnit returns the Unit field value

func (*DataTrafficNotificationSetting) GetUnitOk

func (o *DataTrafficNotificationSetting) GetUnitOk() (*string, bool)

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

func (*DataTrafficNotificationSetting) HasActions

func (o *DataTrafficNotificationSetting) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*DataTrafficNotificationSetting) HasLastCheckedAt

func (o *DataTrafficNotificationSetting) HasLastCheckedAt() bool

HasLastCheckedAt returns a boolean if a field has been set.

func (*DataTrafficNotificationSetting) HasThresholdExceededAt

func (o *DataTrafficNotificationSetting) HasThresholdExceededAt() bool

HasThresholdExceededAt returns a boolean if a field has been set.

func (DataTrafficNotificationSetting) MarshalJSON

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

func (*DataTrafficNotificationSetting) SetActions

func (o *DataTrafficNotificationSetting) SetActions(v []Actions)

SetActions gets a reference to the given []Actions and assigns it to the Actions field.

func (*DataTrafficNotificationSetting) SetFrequency

func (o *DataTrafficNotificationSetting) SetFrequency(v string)

SetFrequency sets field value

func (*DataTrafficNotificationSetting) SetId

SetId sets field value

func (*DataTrafficNotificationSetting) SetLastCheckedAt

func (o *DataTrafficNotificationSetting) SetLastCheckedAt(v string)

SetLastCheckedAt gets a reference to the given NullableString and assigns it to the LastCheckedAt field.

func (*DataTrafficNotificationSetting) SetLastCheckedAtNil

func (o *DataTrafficNotificationSetting) SetLastCheckedAtNil()

SetLastCheckedAtNil sets the value for LastCheckedAt to be an explicit nil

func (*DataTrafficNotificationSetting) SetThreshold

func (o *DataTrafficNotificationSetting) SetThreshold(v string)

SetThreshold sets field value

func (*DataTrafficNotificationSetting) SetThresholdExceededAt

func (o *DataTrafficNotificationSetting) SetThresholdExceededAt(v string)

SetThresholdExceededAt gets a reference to the given NullableString and assigns it to the ThresholdExceededAt field.

func (*DataTrafficNotificationSetting) SetThresholdExceededAtNil

func (o *DataTrafficNotificationSetting) SetThresholdExceededAtNil()

SetThresholdExceededAtNil sets the value for ThresholdExceededAt to be an explicit nil

func (*DataTrafficNotificationSetting) SetUnit

func (o *DataTrafficNotificationSetting) SetUnit(v string)

SetUnit sets field value

func (DataTrafficNotificationSetting) ToMap

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

func (*DataTrafficNotificationSetting) UnmarshalJSON

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

func (*DataTrafficNotificationSetting) UnsetLastCheckedAt

func (o *DataTrafficNotificationSetting) UnsetLastCheckedAt()

UnsetLastCheckedAt ensures that no value is present for LastCheckedAt, not even an explicit nil

func (*DataTrafficNotificationSetting) UnsetThresholdExceededAt

func (o *DataTrafficNotificationSetting) UnsetThresholdExceededAt()

UnsetThresholdExceededAt ensures that no value is present for ThresholdExceededAt, not even an explicit nil

type DataTrafficNotificationSettingOpts

type DataTrafficNotificationSettingOpts struct {
	// Frequency for the Data Traffic Notification
	Frequency string `json:"frequency"`
	// Threshold Value for the Data Traffic Notification
	Threshold string `json:"threshold"`
	// Unit for the Data Traffic Notification
	Unit                 string `json:"unit"`
	AdditionalProperties map[string]interface{}
}

DataTrafficNotificationSettingOpts struct for DataTrafficNotificationSettingOpts

func NewDataTrafficNotificationSettingOpts

func NewDataTrafficNotificationSettingOpts(frequency string, threshold string, unit string) *DataTrafficNotificationSettingOpts

NewDataTrafficNotificationSettingOpts instantiates a new DataTrafficNotificationSettingOpts 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 NewDataTrafficNotificationSettingOptsWithDefaults

func NewDataTrafficNotificationSettingOptsWithDefaults() *DataTrafficNotificationSettingOpts

NewDataTrafficNotificationSettingOptsWithDefaults instantiates a new DataTrafficNotificationSettingOpts 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 (*DataTrafficNotificationSettingOpts) GetFrequency

func (o *DataTrafficNotificationSettingOpts) GetFrequency() string

GetFrequency returns the Frequency field value

func (*DataTrafficNotificationSettingOpts) GetFrequencyOk

func (o *DataTrafficNotificationSettingOpts) GetFrequencyOk() (*string, bool)

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

func (*DataTrafficNotificationSettingOpts) GetThreshold

func (o *DataTrafficNotificationSettingOpts) GetThreshold() string

GetThreshold returns the Threshold field value

func (*DataTrafficNotificationSettingOpts) GetThresholdOk

func (o *DataTrafficNotificationSettingOpts) GetThresholdOk() (*string, bool)

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

func (*DataTrafficNotificationSettingOpts) GetUnit

GetUnit returns the Unit field value

func (*DataTrafficNotificationSettingOpts) GetUnitOk

func (o *DataTrafficNotificationSettingOpts) GetUnitOk() (*string, bool)

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

func (DataTrafficNotificationSettingOpts) MarshalJSON

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

func (*DataTrafficNotificationSettingOpts) SetFrequency

func (o *DataTrafficNotificationSettingOpts) SetFrequency(v string)

SetFrequency sets field value

func (*DataTrafficNotificationSettingOpts) SetThreshold

func (o *DataTrafficNotificationSettingOpts) SetThreshold(v string)

SetThreshold sets field value

func (*DataTrafficNotificationSettingOpts) SetUnit

SetUnit sets field value

func (DataTrafficNotificationSettingOpts) ToMap

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

func (*DataTrafficNotificationSettingOpts) UnmarshalJSON

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

type DedicatedServerAPI

type DedicatedServerAPI interface {

	/*
		AddServerToPrivateNetwork Add a server to private network

		It takes a few minutes before the server has access to the private network.

	To get the current status of the server you can call
	`/bareMetals/v2/servers/{serverId}`.

	Once the server is added to the private network the status changes from
	`CONFIGURING` to `CONFIGURED`.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param privateNetworkId The ID of a Private Network
		@return ApiAddServerToPrivateNetworkRequest
	*/
	AddServerToPrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiAddServerToPrivateNetworkRequest

	// AddServerToPrivateNetworkExecute executes the request
	AddServerToPrivateNetworkExecute(r ApiAddServerToPrivateNetworkRequest) (*http.Response, error)

	/*
		CancelActiveJob Cancel active job

		Canceling an active job will trigger the `onfail` flow of the current job
	often resulting in a server reboot. If you do not want the server state to
	change `expire` the active job instead.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCancelActiveJobRequest
	*/
	CancelActiveJob(ctx context.Context, serverId string) ApiCancelActiveJobRequest

	// CancelActiveJobExecute executes the request
	//  @return ServerJob
	CancelActiveJobExecute(r ApiCancelActiveJobRequest) (*ServerJob, *http.Response, error)

	/*
		CloseNetworkInterface Close network interface

		Close the network interface of this type of this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param networkTypeURL
		@return ApiCloseNetworkInterfaceRequest
	*/
	CloseNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiCloseNetworkInterfaceRequest

	// CloseNetworkInterfaceExecute executes the request
	CloseNetworkInterfaceExecute(r ApiCloseNetworkInterfaceRequest) (*http.Response, error)

	/*
		CloseNetworkInterfaces Close all network interfaces

		Close all network interfaces for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCloseNetworkInterfacesRequest
	*/
	CloseNetworkInterfaces(ctx context.Context, serverId string) ApiCloseNetworkInterfacesRequest

	// CloseNetworkInterfacesExecute executes the request
	CloseNetworkInterfacesExecute(r ApiCloseNetworkInterfacesRequest) (*http.Response, error)

	/*
		CreateNetworkEquipmentCredential Create new network equipment credentials

		Password will NOT be updated on the network equipment. The ability to update
	credentials is for convenience only. It provides a secure way to communicate
	passwords with Leaseweb engineers in case support is required.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiCreateNetworkEquipmentCredentialRequest
	*/
	CreateNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string) ApiCreateNetworkEquipmentCredentialRequest

	// CreateNetworkEquipmentCredentialExecute executes the request
	//  @return Credential
	CreateNetworkEquipmentCredentialExecute(r ApiCreateNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

	/*
		CreateServerBandwidthNotificationSetting Create a bandwidth notification setting

		Create a new bandwidth notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCreateServerBandwidthNotificationSettingRequest
	*/
	CreateServerBandwidthNotificationSetting(ctx context.Context, serverId string) ApiCreateServerBandwidthNotificationSettingRequest

	// CreateServerBandwidthNotificationSettingExecute executes the request
	//  @return BandwidthNotificationSetting
	CreateServerBandwidthNotificationSettingExecute(r ApiCreateServerBandwidthNotificationSettingRequest) (*BandwidthNotificationSetting, *http.Response, error)

	/*
		CreateServerCredential Create new server credentials

		Password will NOT be updated on the server. The ability to update credentials
	is for convenience only. It provides a secure way to communicate passwords
	with Leaseweb engineers in case support is required.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCreateServerCredentialRequest
	*/
	CreateServerCredential(ctx context.Context, serverId string) ApiCreateServerCredentialRequest

	// CreateServerCredentialExecute executes the request
	//  @return Credential
	CreateServerCredentialExecute(r ApiCreateServerCredentialRequest) (*Credential, *http.Response, error)

	/*
		CreateServerDataTrafficNotificationSetting Create a data traffic notification setting

		Create a new data traffic notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCreateServerDataTrafficNotificationSettingRequest
	*/
	CreateServerDataTrafficNotificationSetting(ctx context.Context, serverId string) ApiCreateServerDataTrafficNotificationSettingRequest

	// CreateServerDataTrafficNotificationSettingExecute executes the request
	//  @return DataTrafficNotificationSetting
	CreateServerDataTrafficNotificationSettingExecute(r ApiCreateServerDataTrafficNotificationSettingRequest) (*DataTrafficNotificationSetting, *http.Response, error)

	/*
		CreateServerDhcpReservation Create a DHCP reservation

		After rebooting your server it will acquire this DHCP reservation and boot
	from the specified `bootfile` url.

	Please note that this API call will not reboot or power cycle your server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiCreateServerDhcpReservationRequest
	*/
	CreateServerDhcpReservation(ctx context.Context, serverId string) ApiCreateServerDhcpReservationRequest

	// CreateServerDhcpReservationExecute executes the request
	CreateServerDhcpReservationExecute(r ApiCreateServerDhcpReservationRequest) (*http.Response, error)

	/*
		DeleteNetworkEquipmentCredential Delete network equipment credentials

		This action is purely administrative and will only remove the username and
	password associated with this resource from our database.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param type_ The type of the credential.
		@param username Username
		@return ApiDeleteNetworkEquipmentCredentialRequest
	*/
	DeleteNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiDeleteNetworkEquipmentCredentialRequest

	// DeleteNetworkEquipmentCredentialExecute executes the request
	DeleteNetworkEquipmentCredentialExecute(r ApiDeleteNetworkEquipmentCredentialRequest) (*http.Response, error)

	/*
		DeleteServerBandwidthNotificationSetting Delete a bandwidth notification setting

		Remove a Bandwidth Notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiDeleteServerBandwidthNotificationSettingRequest
	*/
	DeleteServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiDeleteServerBandwidthNotificationSettingRequest

	// DeleteServerBandwidthNotificationSettingExecute executes the request
	DeleteServerBandwidthNotificationSettingExecute(r ApiDeleteServerBandwidthNotificationSettingRequest) (*http.Response, error)

	/*
		DeleteServerCredential Delete server credentials

		This action is purely administrative and will only remove the username and
	password associated with this resource from our database.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param type_ The type of the credential.
		@param username Username
		@return ApiDeleteServerCredentialRequest
	*/
	DeleteServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiDeleteServerCredentialRequest

	// DeleteServerCredentialExecute executes the request
	DeleteServerCredentialExecute(r ApiDeleteServerCredentialRequest) (*http.Response, error)

	/*
		DeleteServerDataTrafficNotificationSetting Delete a data traffic notification setting

		Delete the given data traffic notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiDeleteServerDataTrafficNotificationSettingRequest
	*/
	DeleteServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiDeleteServerDataTrafficNotificationSettingRequest

	// DeleteServerDataTrafficNotificationSettingExecute executes the request
	DeleteServerDataTrafficNotificationSettingExecute(r ApiDeleteServerDataTrafficNotificationSettingRequest) (*http.Response, error)

	/*
		DeleteServerDhcpReservation Delete a DHCP reservation

		Delete a DHCP reservation for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiDeleteServerDhcpReservationRequest
	*/
	DeleteServerDhcpReservation(ctx context.Context, serverId string) ApiDeleteServerDhcpReservationRequest

	// DeleteServerDhcpReservationExecute executes the request
	DeleteServerDhcpReservationExecute(r ApiDeleteServerDhcpReservationRequest) (*http.Response, error)

	/*
		DeleteServerFromPrivateNetwork Delete a server from a private network

		This API call will remove the dedicated server from the private network.

	It takes a few minutes before the server has been removed from the private
	network.

	To get the current status of the server you can call
	`/bareMetals/v2/servers/{serverId}`.

	While the server is being removed the status changes to `REMOVING`.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param privateNetworkId The ID of a Private Network
		@return ApiDeleteServerFromPrivateNetworkRequest
	*/
	DeleteServerFromPrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiDeleteServerFromPrivateNetworkRequest

	// DeleteServerFromPrivateNetworkExecute executes the request
	DeleteServerFromPrivateNetworkExecute(r ApiDeleteServerFromPrivateNetworkRequest) (*http.Response, error)

	/*
		EnableServerRescueMode Launch rescue mode

		Rescue mode allows you to trouble shoot your server in case your installed
	operating system is no longer reachable.

	You can supply a `postInstallScript` key in the body of the request which
	should contain a base64 encoded string with a valid script. This script will
	be executed as soon as rescue mode is launched and can be used to further
	automate the process. A requirement for the post install script is that it
	starts with a shebang line like `#!/usr/bin/env bash`.

	After a rescue mode is launched you can manually reboot the server. After this
	reboot the server will boot into the existing operating system.

	To get a list of available rescue images, you could do so by sending a `GET`
	request to `/bareMetals/v2/rescueImages`.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiEnableServerRescueModeRequest
	*/
	EnableServerRescueMode(ctx context.Context, serverId string) ApiEnableServerRescueModeRequest

	// EnableServerRescueModeExecute executes the request
	//  @return ServerJob
	EnableServerRescueModeExecute(r ApiEnableServerRescueModeRequest) (*ServerJob, *http.Response, error)

	/*
		ExpireActiveJob Expire active job

		Expiring an active job will not have any influence on the current state of the
	server and is merely an administrative action.

	Often you want to `cancel` the job, resulting in a server reboot. In that
	case\nuse the `/cancelActiveJob` API call instead.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiExpireActiveJobRequest
	*/
	ExpireActiveJob(ctx context.Context, serverId string) ApiExpireActiveJobRequest

	// ExpireActiveJobExecute executes the request
	//  @return ServerJob
	ExpireActiveJobExecute(r ApiExpireActiveJobRequest) (*ServerJob, *http.Response, error)

	/*
		GetControlPanelList List control panels

		An `id` of a control panel can be supplied when (re)installing a dedicated
	server (for more information on how to install dedicated servers via the API
	refer to the API documentation).


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

	// GetControlPanelListExecute executes the request
	//  @return ControlPanelList
	GetControlPanelListExecute(r ApiGetControlPanelListRequest) (*ControlPanelList, *http.Response, error)

	/*
		GetControlPanelListByOperatingSystemId List control panels by Operating System

		An `id` of a control panel can be supplied when (re)installing a dedicated
	server (for more information on how to install dedicated servers via the API
	refer to the API documentation).

	Not all operating systems support all control panels. Some operating systems
	do not allow for installation of a control panel. To filter the list of
	control panels which are supported for an operating system use the
	`operatingSystemId` query string parameter to filter this list.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param operatingSystemId Operating system ID
		@return ApiGetControlPanelListByOperatingSystemIdRequest
	*/
	GetControlPanelListByOperatingSystemId(ctx context.Context, operatingSystemId string) ApiGetControlPanelListByOperatingSystemIdRequest

	// GetControlPanelListByOperatingSystemIdExecute executes the request
	//  @return ControlPanelList
	GetControlPanelListByOperatingSystemIdExecute(r ApiGetControlPanelListByOperatingSystemIdRequest) (*ControlPanelList, *http.Response, error)

	/*
		GetDdosNotificationSetting Inspect DDoS notification settings

		Show all DDoS Protection related notification settings for this server. These
	settings control if you want to be notified via email in case a DDoS was
	mitigated.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetDdosNotificationSettingRequest
	*/
	GetDdosNotificationSetting(ctx context.Context, serverId string) ApiGetDdosNotificationSettingRequest

	// GetDdosNotificationSettingExecute executes the request
	//  @return GetDdosNotificationSettingResult
	GetDdosNotificationSettingExecute(r ApiGetDdosNotificationSettingRequest) (*GetDdosNotificationSettingResult, *http.Response, error)

	/*
		GetNetworkEquipment Get network equipment

		Use this API to get information about a single network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiGetNetworkEquipmentRequest
	*/
	GetNetworkEquipment(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentRequest

	// GetNetworkEquipmentExecute executes the request
	//  @return NetworkEquipment
	GetNetworkEquipmentExecute(r ApiGetNetworkEquipmentRequest) (*NetworkEquipment, *http.Response, error)

	/*
		GetNetworkEquipmentCredential Show network equipment credentials

		View the password for the given credential, identified by `type` and
	`username`.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param type_ The type of the credential.
		@param username Username
		@return ApiGetNetworkEquipmentCredentialRequest
	*/
	GetNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiGetNetworkEquipmentCredentialRequest

	// GetNetworkEquipmentCredentialExecute executes the request
	//  @return Credential
	GetNetworkEquipmentCredentialExecute(r ApiGetNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

	/*
		GetNetworkEquipmentCredentialList List network equipment credentials

		The credentials API allows you to store usernames and passwords securely.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiGetNetworkEquipmentCredentialListRequest
	*/
	GetNetworkEquipmentCredentialList(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentCredentialListRequest

	// GetNetworkEquipmentCredentialListExecute executes the request
	//  @return CredentialList
	GetNetworkEquipmentCredentialListExecute(r ApiGetNetworkEquipmentCredentialListRequest) (*CredentialList, *http.Response, error)

	/*
		GetNetworkEquipmentCredentialListByType List network equipment credentials by type

		List all the credentials filtered by the specified type that are associated
	with this network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param type_ The type of the credential.
		@return ApiGetNetworkEquipmentCredentialListByTypeRequest
	*/
	GetNetworkEquipmentCredentialListByType(ctx context.Context, networkEquipmentId string, type_ CredentialType) ApiGetNetworkEquipmentCredentialListByTypeRequest

	// GetNetworkEquipmentCredentialListByTypeExecute executes the request
	//  @return CredentialList
	GetNetworkEquipmentCredentialListByTypeExecute(r ApiGetNetworkEquipmentCredentialListByTypeRequest) (*CredentialList, *http.Response, error)

	/*
		GetNetworkEquipmentIp Show a network equipment IP

		Get a single IP address associated with this network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param ip The IP Address
		@return ApiGetNetworkEquipmentIpRequest
	*/
	GetNetworkEquipmentIp(ctx context.Context, networkEquipmentId string, ip string) ApiGetNetworkEquipmentIpRequest

	// GetNetworkEquipmentIpExecute executes the request
	//  @return Ip
	GetNetworkEquipmentIpExecute(r ApiGetNetworkEquipmentIpRequest) (*Ip, *http.Response, error)

	/*
		GetNetworkEquipmentIpList List IPs

		List all IP Addresses associated with this network equipment. Optionally
	filtered.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiGetNetworkEquipmentIpListRequest
	*/
	GetNetworkEquipmentIpList(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentIpListRequest

	// GetNetworkEquipmentIpListExecute executes the request
	//  @return GetNetworkEquipmentIpListResult
	GetNetworkEquipmentIpListExecute(r ApiGetNetworkEquipmentIpListRequest) (*GetNetworkEquipmentIpListResult, *http.Response, error)

	/*
		GetNetworkEquipmentList List network equipment

		List your Dedicated Network Equipment. This api call supports pagination. Use
	the `limit` and `offset` query string parameters to paginate through all your
	dedicated network equipment.

	Every `network equipment` object in the json response lists a few properties
	of a network equipment. Use the single resource api call to get more details
	for a single network equipment.


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

	// GetNetworkEquipmentListExecute executes the request
	//  @return GetNetworkEquipmentListResult
	GetNetworkEquipmentListExecute(r ApiGetNetworkEquipmentListRequest) (*GetNetworkEquipmentListResult, *http.Response, error)

	/*
		GetNetworkEquipmentNullRouteHistory Show null route history

		Show all null route history for any ips associated with this a network
	equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiGetNetworkEquipmentNullRouteHistoryRequest
	*/
	GetNetworkEquipmentNullRouteHistory(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentNullRouteHistoryRequest

	// GetNetworkEquipmentNullRouteHistoryExecute executes the request
	//  @return GetNetworkEquipmentNullRouteHistoryResult
	GetNetworkEquipmentNullRouteHistoryExecute(r ApiGetNetworkEquipmentNullRouteHistoryRequest) (*GetNetworkEquipmentNullRouteHistoryResult, *http.Response, error)

	/*
		GetNetworkEquipmentPowerStatus Show power status

		The network equipment can either be `ON` or `OFF`. Network Equipment can be
	powered on or off by using the respective `/powerOn` and `/powerOff` API
	calls. In addition network equipment can also be rebooted using the
	`/powerCycle` API call.

	The `pdu` object describes the power status from the power distribution unit
	(PDU) point of view. If your network equipment is connected to multiple PDU
	ports the `status` property will report `on` if at least one PDU port has
	power.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiGetNetworkEquipmentPowerStatusRequest
	*/
	GetNetworkEquipmentPowerStatus(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentPowerStatusRequest

	// GetNetworkEquipmentPowerStatusExecute executes the request
	//  @return GetNetworkEquipmentPowerStatusResult
	GetNetworkEquipmentPowerStatusExecute(r ApiGetNetworkEquipmentPowerStatusRequest) (*GetNetworkEquipmentPowerStatusResult, *http.Response, error)

	/*
		GetNetworkInterface Show a network interface

		Show the network interface of the given type of this server, including its
	status.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param networkTypeURL
		@return ApiGetNetworkInterfaceRequest
	*/
	GetNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiGetNetworkInterfaceRequest

	// GetNetworkInterfaceExecute executes the request
	//  @return OperationNetworkInterface
	GetNetworkInterfaceExecute(r ApiGetNetworkInterfaceRequest) (*OperationNetworkInterface, *http.Response, error)

	/*
		GetNetworkInterfaceList List network interfaces

		List all network interfaces for this server, including their current status.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetNetworkInterfaceListRequest
	*/
	GetNetworkInterfaceList(ctx context.Context, serverId string) ApiGetNetworkInterfaceListRequest

	// GetNetworkInterfaceListExecute executes the request
	//  @return GetNetworkInterfaceListResult
	GetNetworkInterfaceListExecute(r ApiGetNetworkInterfaceListRequest) (*GetNetworkInterfaceListResult, *http.Response, error)

	/*
		GetOperatingSystem Show an operating system

		This detailed information shows default options when installing the given
	operating system on a dedicated server.

	For some operating systems these defaults can be adjusted when making the
	`POST` request to `/install`. If the `configurable` parameter is `true` these
	defaults can be adjusted by the client.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param operatingSystemId Operating system ID
		@return ApiGetOperatingSystemRequest
	*/
	GetOperatingSystem(ctx context.Context, operatingSystemId string) ApiGetOperatingSystemRequest

	// GetOperatingSystemExecute executes the request
	//  @return GetOperatingSystemResult
	GetOperatingSystemExecute(r ApiGetOperatingSystemRequest) (*GetOperatingSystemResult, *http.Response, error)

	/*
		GetOperatingSystemList List Operating Systems

		An `id` of a operating system can be supplied when (re)installing a dedicated
	server (for more information on how to install dedicated servers via the API
	refer to the API documentation).


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

	// GetOperatingSystemListExecute executes the request
	//  @return GetOperatingSystemListResult
	GetOperatingSystemListExecute(r ApiGetOperatingSystemListRequest) (*GetOperatingSystemListResult, *http.Response, error)

	/*
		GetRescueImageList Rescue Images

		Lists all Rescue Images which are available for launching a dedicated server
	into rescue mode.

	A `rescueImageId` can be supplied to the `POST /rescueMode` API call and will
	reboot your server into rescue mode.

	Launching rescue mode for a server is often used to troubleshoot an existing
	installation.

	Note that launching rescue mode does not modify any data on the disks of your
	server. It will require your server to be rebooted.


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

	// GetRescueImageListExecute executes the request
	//  @return GetRescueImageListResult
	GetRescueImageListExecute(r ApiGetRescueImageListRequest) (*GetRescueImageListResult, *http.Response, error)

	/*
		GetServer Get server

		Use this API to get information about a single server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerRequest
	*/
	GetServer(ctx context.Context, serverId string) ApiGetServerRequest

	// GetServerExecute executes the request
	//  @return Server
	GetServerExecute(r ApiGetServerRequest) (*Server, *http.Response, error)

	/*
		GetServerBandwidthMetrics Show bandwidth metrics

		At this moment only bandwidth information for the public interface is supported.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerBandwidthMetricsRequest
	*/
	GetServerBandwidthMetrics(ctx context.Context, serverId string) ApiGetServerBandwidthMetricsRequest

	// GetServerBandwidthMetricsExecute executes the request
	//  @return Metrics
	GetServerBandwidthMetricsExecute(r ApiGetServerBandwidthMetricsRequest) (*Metrics, *http.Response, error)

	/*
		GetServerBandwidthNotificationSetting Show a bandwidth notification setting

		Get a bandwidth notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiGetServerBandwidthNotificationSettingRequest
	*/
	GetServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiGetServerBandwidthNotificationSettingRequest

	// GetServerBandwidthNotificationSettingExecute executes the request
	//  @return BandwidthNotificationSetting
	GetServerBandwidthNotificationSettingExecute(r ApiGetServerBandwidthNotificationSettingRequest) (*BandwidthNotificationSetting, *http.Response, error)

	/*
		GetServerBandwidthNotificationSettingList List bandwidth notification settings

		List all bandwidth notification settings for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerBandwidthNotificationSettingListRequest
	*/
	GetServerBandwidthNotificationSettingList(ctx context.Context, serverId string) ApiGetServerBandwidthNotificationSettingListRequest

	// GetServerBandwidthNotificationSettingListExecute executes the request
	//  @return GetServerBandwidthNotificationSettingListResult
	GetServerBandwidthNotificationSettingListExecute(r ApiGetServerBandwidthNotificationSettingListRequest) (*GetServerBandwidthNotificationSettingListResult, *http.Response, error)

	/*
		GetServerCredential Show server credentials

		View the password for the given credential, identified by `type` and
	`username`. Auto generated credentials (during a re-install, rescue mode or
	ipmi reset can be found here).


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param type_ The type of the credential.
		@param username Username
		@return ApiGetServerCredentialRequest
	*/
	GetServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiGetServerCredentialRequest

	// GetServerCredentialExecute executes the request
	//  @return Credential
	GetServerCredentialExecute(r ApiGetServerCredentialRequest) (*Credential, *http.Response, error)

	/*
		GetServerCredentialList List server credentials

		The credentials API allows you to store usernames and passwords securely.

	During (re)installations, rescue modes and ipmi resets the newly generated
	passwords are stored and can be retrieved using this API.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerCredentialListRequest
	*/
	GetServerCredentialList(ctx context.Context, serverId string) ApiGetServerCredentialListRequest

	// GetServerCredentialListExecute executes the request
	//  @return CredentialList
	GetServerCredentialListExecute(r ApiGetServerCredentialListRequest) (*CredentialList, *http.Response, error)

	/*
		GetServerCredentialListByType List server credentials by type

		List all the credentials filtered by the specified type that are associated
	with this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param type_ The type of the credential.
		@return ApiGetServerCredentialListByTypeRequest
	*/
	GetServerCredentialListByType(ctx context.Context, serverId string, type_ CredentialType) ApiGetServerCredentialListByTypeRequest

	// GetServerCredentialListByTypeExecute executes the request
	//  @return CredentialList
	GetServerCredentialListByTypeExecute(r ApiGetServerCredentialListByTypeRequest) (*CredentialList, *http.Response, error)

	/*
		GetServerDataTrafficMetrics Show datatraffic metrics

		At this moment only bandwidth information for the public interface is supported.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerDataTrafficMetricsRequest
	*/
	GetServerDataTrafficMetrics(ctx context.Context, serverId string) ApiGetServerDataTrafficMetricsRequest

	// GetServerDataTrafficMetricsExecute executes the request
	//  @return Metrics
	GetServerDataTrafficMetricsExecute(r ApiGetServerDataTrafficMetricsRequest) (*Metrics, *http.Response, error)

	/*
		GetServerDataTrafficNotificationSetting Show a data traffic notification setting

		Get a datatraffic notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiGetServerDataTrafficNotificationSettingRequest
	*/
	GetServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiGetServerDataTrafficNotificationSettingRequest

	// GetServerDataTrafficNotificationSettingExecute executes the request
	//  @return DataTrafficNotificationSetting
	GetServerDataTrafficNotificationSettingExecute(r ApiGetServerDataTrafficNotificationSettingRequest) (*DataTrafficNotificationSetting, *http.Response, error)

	/*
		GetServerDataTrafficNotificationSettingList List data traffic notification settings

		List all datatraffic notification settings for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerDataTrafficNotificationSettingListRequest
	*/
	GetServerDataTrafficNotificationSettingList(ctx context.Context, serverId string) ApiGetServerDataTrafficNotificationSettingListRequest

	// GetServerDataTrafficNotificationSettingListExecute executes the request
	//  @return GetServerDataTrafficNotificationSettingListResult
	GetServerDataTrafficNotificationSettingListExecute(r ApiGetServerDataTrafficNotificationSettingListRequest) (*GetServerDataTrafficNotificationSettingListResult, *http.Response, error)

	/*
		GetServerDhcpReservationList List DHCP reservations

		Please note that this will only show reservations for the public network
	interface.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerDhcpReservationListRequest
	*/
	GetServerDhcpReservationList(ctx context.Context, serverId string) ApiGetServerDhcpReservationListRequest

	// GetServerDhcpReservationListExecute executes the request
	//  @return GetServerDhcpReservationListResult
	GetServerDhcpReservationListExecute(r ApiGetServerDhcpReservationListRequest) (*GetServerDhcpReservationListResult, *http.Response, error)

	/*
		GetServerHardware Show hardware information

		This information is generated when running a hardware scan for your server. A
	hardware scan collects hardware information about your system.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerHardwareRequest
	*/
	GetServerHardware(ctx context.Context, serverId string) ApiGetServerHardwareRequest

	// GetServerHardwareExecute executes the request
	//  @return GetServerHardwareResult
	GetServerHardwareExecute(r ApiGetServerHardwareRequest) (*GetServerHardwareResult, *http.Response, error)

	/*
		GetServerIp Show a server IP

		Get a single IP address associated with this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param ip The IP Address
		@return ApiGetServerIpRequest
	*/
	GetServerIp(ctx context.Context, serverId string, ip string) ApiGetServerIpRequest

	// GetServerIpExecute executes the request
	//  @return Ip
	GetServerIpExecute(r ApiGetServerIpRequest) (*Ip, *http.Response, error)

	/*
		GetServerIpList List IPs

		List all IP Addresses associated with this server. Optionally filtered.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerIpListRequest
	*/
	GetServerIpList(ctx context.Context, serverId string) ApiGetServerIpListRequest

	// GetServerIpListExecute executes the request
	//  @return Ip
	GetServerIpListExecute(r ApiGetServerIpListRequest) (*Ip, *http.Response, error)

	/*
		GetServerJob Show a job

		Get a single job for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param jobId The ID of a Job
		@return ApiGetServerJobRequest
	*/
	GetServerJob(ctx context.Context, serverId string, jobId string) ApiGetServerJobRequest

	// GetServerJobExecute executes the request
	//  @return CurrentServerJob
	GetServerJobExecute(r ApiGetServerJobRequest) (*CurrentServerJob, *http.Response, error)

	/*
		GetServerJobList List jobs

		List all jobs for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerJobListRequest
	*/
	GetServerJobList(ctx context.Context, serverId string) ApiGetServerJobListRequest

	// GetServerJobListExecute executes the request
	//  @return ServerJobList
	GetServerJobListExecute(r ApiGetServerJobListRequest) (*ServerJobList, *http.Response, error)

	/*
		GetServerList List servers

		List your Dedicated Servers. This api call supports pagination. Use the
	`limit` and `offset` query string parameters to paginate through all your
	dedicated servers.

	Every `server` object in the json response lists a few properties of a server.
	Use the single resource api call to get more details for a single server.


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

	// GetServerListExecute executes the request
	//  @return GetServerListResult
	GetServerListExecute(r ApiGetServerListRequest) (*GetServerListResult, *http.Response, error)

	/*
		GetServerNullRouteHistory Show null route history

		Show all null route history for any ips associated with this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerNullRouteHistoryRequest
	*/
	GetServerNullRouteHistory(ctx context.Context, serverId string) ApiGetServerNullRouteHistoryRequest

	// GetServerNullRouteHistoryExecute executes the request
	//  @return GetServerNullRouteHistoryResult
	GetServerNullRouteHistoryExecute(r ApiGetServerNullRouteHistoryRequest) (*GetServerNullRouteHistoryResult, *http.Response, error)

	/*
		GetServerPowerStatus Show power status

		The server can either be `ON` or `OFF`. Servers can be powered on or off by
	using the respective `/powerOn` and `/powerOff` API calls. In addition servers
	can also be rebooted using the `/powerCycle` API call.

	The `pdu` object describes the power status from the power distribution unit
	(PDU) point of view. If your server is connected to multiple PDU ports the
	`status` property will report `on` if at least one PDU port has power.

	The `ipmi` object describes the power status by quering the remote management
	interface of your server.

	Note that `pdu.status` can report `on` but your server can still be powered
	off if it was shutdown via `IPMI` for example.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiGetServerPowerStatusRequest
	*/
	GetServerPowerStatus(ctx context.Context, serverId string) ApiGetServerPowerStatusRequest

	// GetServerPowerStatusExecute executes the request
	//  @return GetServerPowerStatusResult
	GetServerPowerStatusExecute(r ApiGetServerPowerStatusRequest) (*GetServerPowerStatusResult, *http.Response, error)

	/*
		InstallOperatingSystem Launch installation

		Install your server with an Operating System and optional Control Panel.

	To retrieve a list of available operating systems use the
	`/v2/operatingSystems` endpoint.

	To retrieve a list of available control panels use the `/v2/controlPanels`
	endpoint.

	The default device / partitions to be used are operating system depended and
	can be retrieved via the `/v2/operatingSystems/{operatingSystemId}` endpoint.

	You are now able to target a specific diskset, like SATA1TB, SATA2TB, SSD256GB,
	etc. To see which disksets are available in your server check the `/v2/servers/{serverId}`
	endpoint and look for the corresponding diskset id from the hdd array.

	For more information about Dedicated Server installation, [click here](https://kb.leaseweb.com/products/dedicated-server/reinstalling-your-dedicated-server) for our related Knowledge Base article.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiInstallOperatingSystemRequest
	*/
	InstallOperatingSystem(ctx context.Context, serverId string) ApiInstallOperatingSystemRequest

	// InstallOperatingSystemExecute executes the request
	//  @return InstallationJob
	InstallOperatingSystemExecute(r ApiInstallOperatingSystemRequest) (*InstallationJob, *http.Response, error)

	/*
		IpmiResetServer Launch IPMI reset

		A reset makes sure that your IPMI interface of your server is compatible with
	Leaseweb automation.

	An IPMI reset will require a reboot of your server. The contents of your hard
	drive won't be altered in any way. After a successful IPMI reset your server
	is booted back into the original operating system.",


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiIpmiResetServerRequest
	*/
	IpmiResetServer(ctx context.Context, serverId string) ApiIpmiResetServerRequest

	// IpmiResetServerExecute executes the request
	//  @return ServerJob
	IpmiResetServerExecute(r ApiIpmiResetServerRequest) (*ServerJob, *http.Response, error)

	/*
		NullIpRoute Null route an IP

		Null the given IP address. It might take a few minutes before the change is
	propagated across the network.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param ip The IP Address
		@return ApiNullIpRouteRequest
	*/
	NullIpRoute(ctx context.Context, serverId string, ip string) ApiNullIpRouteRequest

	// NullIpRouteExecute executes the request
	//  @return Ip
	NullIpRouteExecute(r ApiNullIpRouteRequest) (*Ip, *http.Response, error)

	/*
		NullNetworkEquipmentIpRoute Null route an IP

		Null the given IP address. It might take a few minutes before the change is
	propagated across the network.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param ip The IP Address
		@return ApiNullNetworkEquipmentIpRouteRequest
	*/
	NullNetworkEquipmentIpRoute(ctx context.Context, networkEquipmentId string, ip string) ApiNullNetworkEquipmentIpRouteRequest

	// NullNetworkEquipmentIpRouteExecute executes the request
	//  @return Ip
	NullNetworkEquipmentIpRouteExecute(r ApiNullNetworkEquipmentIpRouteRequest) (*Ip, *http.Response, error)

	/*
		OpenNetworkInterface Open network interface

		Open all network interfaces of the given type for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param networkTypeURL
		@return ApiOpenNetworkInterfaceRequest
	*/
	OpenNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiOpenNetworkInterfaceRequest

	// OpenNetworkInterfaceExecute executes the request
	OpenNetworkInterfaceExecute(r ApiOpenNetworkInterfaceRequest) (*http.Response, error)

	/*
		OpenNetworkInterfaces Open all network interfaces

		Open all network interfaces of this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiOpenNetworkInterfacesRequest
	*/
	OpenNetworkInterfaces(ctx context.Context, serverId string) ApiOpenNetworkInterfacesRequest

	// OpenNetworkInterfacesExecute executes the request
	OpenNetworkInterfacesExecute(r ApiOpenNetworkInterfacesRequest) (*http.Response, error)

	/*
		PowerCycleNetworkEquipment Power cycle a network equipment

		Powercyle the network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiPowerCycleNetworkEquipmentRequest
	*/
	PowerCycleNetworkEquipment(ctx context.Context, networkEquipmentId string) ApiPowerCycleNetworkEquipmentRequest

	// PowerCycleNetworkEquipmentExecute executes the request
	PowerCycleNetworkEquipmentExecute(r ApiPowerCycleNetworkEquipmentRequest) (*http.Response, error)

	/*
		PowerCycleServer Power cycle a server

		Powercyle the server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiPowerCycleServerRequest
	*/
	PowerCycleServer(ctx context.Context, serverId string) ApiPowerCycleServerRequest

	// PowerCycleServerExecute executes the request
	PowerCycleServerExecute(r ApiPowerCycleServerRequest) (*http.Response, error)

	/*
		PowerNetworkEquipmentOff Power off network equipment

		Power off the given network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiPowerNetworkEquipmentOffRequest
	*/
	PowerNetworkEquipmentOff(ctx context.Context, networkEquipmentId string) ApiPowerNetworkEquipmentOffRequest

	// PowerNetworkEquipmentOffExecute executes the request
	PowerNetworkEquipmentOffExecute(r ApiPowerNetworkEquipmentOffRequest) (*http.Response, error)

	/*
		PowerNetworkEquipmentOn Power on network equipment

		Power on the given network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiPowerNetworkEquipmentOnRequest
	*/
	PowerNetworkEquipmentOn(ctx context.Context, networkEquipmentId string) ApiPowerNetworkEquipmentOnRequest

	// PowerNetworkEquipmentOnExecute executes the request
	PowerNetworkEquipmentOnExecute(r ApiPowerNetworkEquipmentOnRequest) (*http.Response, error)

	/*
		PowerServerOff Power off server

		Power off the given server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiPowerServerOffRequest
	*/
	PowerServerOff(ctx context.Context, serverId string) ApiPowerServerOffRequest

	// PowerServerOffExecute executes the request
	PowerServerOffExecute(r ApiPowerServerOffRequest) (*http.Response, error)

	/*
		PowerServerOn Power on server

		Power on the given server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiPowerServerOnRequest
	*/
	PowerServerOn(ctx context.Context, serverId string) ApiPowerServerOnRequest

	// PowerServerOnExecute executes the request
	PowerServerOnExecute(r ApiPowerServerOnRequest) (*http.Response, error)

	/*
		RemoveNullIpRoute Remove a null route

		Remove an existing null route for the given IP address. It might take a few
	minutes before the change is propagated across the network.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param ip The IP Address
		@return ApiRemoveNullIpRouteRequest
	*/
	RemoveNullIpRoute(ctx context.Context, serverId string, ip string) ApiRemoveNullIpRouteRequest

	// RemoveNullIpRouteExecute executes the request
	//  @return Ip
	RemoveNullIpRouteExecute(r ApiRemoveNullIpRouteRequest) (*Ip, *http.Response, error)

	/*
		RetryServerJob Retry a job

		Retry a job for a specific server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param jobId The ID of a Job
		@return ApiRetryServerJobRequest
	*/
	RetryServerJob(ctx context.Context, serverId string, jobId string) ApiRetryServerJobRequest

	// RetryServerJobExecute executes the request
	//  @return CurrentServerJob
	RetryServerJobExecute(r ApiRetryServerJobRequest) (*CurrentServerJob, *http.Response, error)

	/*
		ScanHardware Launch hardware scan

		A hardware scan collects hardware related information from your server.

	A hardware scan will require a reboot of your server. The contents of your
	hard drive won't be altered in any way. After a successful hardware scan your
	server is booted back into the original operating system.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiScanHardwareRequest
	*/
	ScanHardware(ctx context.Context, serverId string) ApiScanHardwareRequest

	// ScanHardwareExecute executes the request
	//  @return ServerJob
	ScanHardwareExecute(r ApiScanHardwareRequest) (*ServerJob, *http.Response, error)

	/*
		UnNullNetworkEquipmentIpRoute Remove a null route

		Remove an existing null route for the given IP address. It might take a few
	minutes before the change is propagated across the network.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param ip The IP Address
		@return ApiUnNullNetworkEquipmentIpRouteRequest
	*/
	UnNullNetworkEquipmentIpRoute(ctx context.Context, networkEquipmentId string, ip string) ApiUnNullNetworkEquipmentIpRouteRequest

	// UnNullNetworkEquipmentIpRouteExecute executes the request
	//  @return Ip
	UnNullNetworkEquipmentIpRouteExecute(r ApiUnNullNetworkEquipmentIpRouteRequest) (*Ip, *http.Response, error)

	/*
		UpdateDdosNotificationSetting Update DDoS notification settings

		Update your DDoS notification settings for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiUpdateDdosNotificationSettingRequest
	*/
	UpdateDdosNotificationSetting(ctx context.Context, serverId string) ApiUpdateDdosNotificationSettingRequest

	// UpdateDdosNotificationSettingExecute executes the request
	UpdateDdosNotificationSettingExecute(r ApiUpdateDdosNotificationSettingRequest) (*http.Response, error)

	/*
		UpdateIpProfile Update an IP

		Update the reverse lookup or DDoS detection profile for the ip address.

	DDoS detection profiles can only be changed if the IP address is protected
	using Advanced DDoS protection.

	For more information about DDoS detection profiles [click here](https://kb.leaseweb.com/products/cyber-security/ddos-ip-protection#DDOSIPProtection-DDoSIPProtectionAdvancedDetectionprofiles) for our KB related article.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param ip The IP Address
		@return ApiUpdateIpProfileRequest
	*/
	UpdateIpProfile(ctx context.Context, serverId string, ip string) ApiUpdateIpProfileRequest

	// UpdateIpProfileExecute executes the request
	//  @return Ip
	UpdateIpProfileExecute(r ApiUpdateIpProfileRequest) (*Ip, *http.Response, error)

	/*
		UpdateNetworkEquipmentCredential Update network equipment credentials

		The usernames or types cannot be changed. In order to change those remove this
	credentials and create a new one.

	This action is purely administrative and will only update the password
	associated with this resource in our database.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param type_ The type of the credential.
		@param username Username
		@return ApiUpdateNetworkEquipmentCredentialRequest
	*/
	UpdateNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiUpdateNetworkEquipmentCredentialRequest

	// UpdateNetworkEquipmentCredentialExecute executes the request
	//  @return Credential
	UpdateNetworkEquipmentCredentialExecute(r ApiUpdateNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

	/*
		UpdateNetworkEquipmentIp Update an IP

		Update the reverse lookup or DDoS detection profile for the ip address.

	DDoS detection profiles can only be changed if the IP address is protected
	using Advanced DDoS protection.

	For more information about DDoS detection profiles [click here](https://kb.leaseweb.com/products/cyber-security/ddos-ip-protection#DDOSIPProtection-DDoSIPProtectionAdvancedDetectionprofiles) for our KB related article.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@param ip The IP Address
		@return ApiUpdateNetworkEquipmentIpRequest
	*/
	UpdateNetworkEquipmentIp(ctx context.Context, networkEquipmentId string, ip string) ApiUpdateNetworkEquipmentIpRequest

	// UpdateNetworkEquipmentIpExecute executes the request
	//  @return Ip
	UpdateNetworkEquipmentIpExecute(r ApiUpdateNetworkEquipmentIpRequest) (*Ip, *http.Response, error)

	/*
		UpdateNetworkEquipmentReference Update network equipment

		Update the reference for a network equipment.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param networkEquipmentId The ID of a dedicated network equipment
		@return ApiUpdateNetworkEquipmentReferenceRequest
	*/
	UpdateNetworkEquipmentReference(ctx context.Context, networkEquipmentId string) ApiUpdateNetworkEquipmentReferenceRequest

	// UpdateNetworkEquipmentReferenceExecute executes the request
	UpdateNetworkEquipmentReferenceExecute(r ApiUpdateNetworkEquipmentReferenceRequest) (*http.Response, error)

	/*
		UpdateServerBandwidthNotificationSetting Update a bandwidth notification setting

		Update an existing bandwidth notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiUpdateServerBandwidthNotificationSettingRequest
	*/
	UpdateServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiUpdateServerBandwidthNotificationSettingRequest

	// UpdateServerBandwidthNotificationSettingExecute executes the request
	//  @return BandwidthNotificationSetting
	UpdateServerBandwidthNotificationSettingExecute(r ApiUpdateServerBandwidthNotificationSettingRequest) (*BandwidthNotificationSetting, *http.Response, error)

	/*
		UpdateServerCredential Update server credentials

		The usernames or types cannot be changed. In order to change those remove this
	credentials and create a new one.

	This action is purely administrative and will only update the password
	associated with this resource in our database.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param type_ The type of the credential.
		@param username Username
		@return ApiUpdateServerCredentialRequest
	*/
	UpdateServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiUpdateServerCredentialRequest

	// UpdateServerCredentialExecute executes the request
	//  @return Credential
	UpdateServerCredentialExecute(r ApiUpdateServerCredentialRequest) (*Credential, *http.Response, error)

	/*
		UpdateServerDataTrafficNotificationSetting Update a data traffic notification setting

		Update an existing data traffic notification setting for this server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@param notificationSettingId The ID of a notification setting
		@return ApiUpdateServerDataTrafficNotificationSettingRequest
	*/
	UpdateServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiUpdateServerDataTrafficNotificationSettingRequest

	// UpdateServerDataTrafficNotificationSettingExecute executes the request
	//  @return DataTrafficNotificationSettingOpts
	UpdateServerDataTrafficNotificationSettingExecute(r ApiUpdateServerDataTrafficNotificationSettingRequest) (*DataTrafficNotificationSettingOpts, *http.Response, error)

	/*
		UpdateServerReference Update server

		Update the reference for a server.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serverId The ID of a server
		@return ApiUpdateServerReferenceRequest
	*/
	UpdateServerReference(ctx context.Context, serverId string) ApiUpdateServerReferenceRequest

	// UpdateServerReferenceExecute executes the request
	UpdateServerReferenceExecute(r ApiUpdateServerReferenceRequest) (*http.Response, error)
}

type DedicatedServerAPIService

type DedicatedServerAPIService service

DedicatedServerAPIService DedicatedServerAPI service

func (*DedicatedServerAPIService) AddServerToPrivateNetwork

func (a *DedicatedServerAPIService) AddServerToPrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiAddServerToPrivateNetworkRequest

AddServerToPrivateNetwork Add a server to private network

It takes a few minutes before the server has access to the private network.

To get the current status of the server you can call `/bareMetals/v2/servers/{serverId}`.

Once the server is added to the private network the status changes from `CONFIGURING` to `CONFIGURED`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param privateNetworkId The ID of a Private Network
@return ApiAddServerToPrivateNetworkRequest

func (*DedicatedServerAPIService) AddServerToPrivateNetworkExecute

func (a *DedicatedServerAPIService) AddServerToPrivateNetworkExecute(r ApiAddServerToPrivateNetworkRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) CancelActiveJob

func (a *DedicatedServerAPIService) CancelActiveJob(ctx context.Context, serverId string) ApiCancelActiveJobRequest

CancelActiveJob Cancel active job

Canceling an active job will trigger the `onfail` flow of the current job often resulting in a server reboot. If you do not want the server state to change `expire` the active job instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCancelActiveJobRequest

func (*DedicatedServerAPIService) CancelActiveJobExecute

Execute executes the request

@return ServerJob

func (*DedicatedServerAPIService) CloseNetworkInterface

func (a *DedicatedServerAPIService) CloseNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiCloseNetworkInterfaceRequest

CloseNetworkInterface Close network interface

Close the network interface of this type of this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param networkTypeURL
@return ApiCloseNetworkInterfaceRequest

func (*DedicatedServerAPIService) CloseNetworkInterfaceExecute

func (a *DedicatedServerAPIService) CloseNetworkInterfaceExecute(r ApiCloseNetworkInterfaceRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) CloseNetworkInterfaces

func (a *DedicatedServerAPIService) CloseNetworkInterfaces(ctx context.Context, serverId string) ApiCloseNetworkInterfacesRequest

CloseNetworkInterfaces Close all network interfaces

Close all network interfaces for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCloseNetworkInterfacesRequest

func (*DedicatedServerAPIService) CloseNetworkInterfacesExecute

func (a *DedicatedServerAPIService) CloseNetworkInterfacesExecute(r ApiCloseNetworkInterfacesRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) CreateNetworkEquipmentCredential

func (a *DedicatedServerAPIService) CreateNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string) ApiCreateNetworkEquipmentCredentialRequest

CreateNetworkEquipmentCredential Create new network equipment credentials

Password will NOT be updated on the network equipment. The ability to update credentials is for convenience only. It provides a secure way to communicate passwords with Leaseweb engineers in case support is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiCreateNetworkEquipmentCredentialRequest

func (*DedicatedServerAPIService) CreateNetworkEquipmentCredentialExecute

func (a *DedicatedServerAPIService) CreateNetworkEquipmentCredentialExecute(r ApiCreateNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) CreateServerBandwidthNotificationSetting

func (a *DedicatedServerAPIService) CreateServerBandwidthNotificationSetting(ctx context.Context, serverId string) ApiCreateServerBandwidthNotificationSettingRequest

CreateServerBandwidthNotificationSetting Create a bandwidth notification setting

Create a new bandwidth notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCreateServerBandwidthNotificationSettingRequest

func (*DedicatedServerAPIService) CreateServerBandwidthNotificationSettingExecute

Execute executes the request

@return BandwidthNotificationSetting

func (*DedicatedServerAPIService) CreateServerCredential

func (a *DedicatedServerAPIService) CreateServerCredential(ctx context.Context, serverId string) ApiCreateServerCredentialRequest

CreateServerCredential Create new server credentials

Password will NOT be updated on the server. The ability to update credentials is for convenience only. It provides a secure way to communicate passwords with Leaseweb engineers in case support is required.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCreateServerCredentialRequest

func (*DedicatedServerAPIService) CreateServerCredentialExecute

func (a *DedicatedServerAPIService) CreateServerCredentialExecute(r ApiCreateServerCredentialRequest) (*Credential, *http.Response, error)

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) CreateServerDataTrafficNotificationSetting

func (a *DedicatedServerAPIService) CreateServerDataTrafficNotificationSetting(ctx context.Context, serverId string) ApiCreateServerDataTrafficNotificationSettingRequest

CreateServerDataTrafficNotificationSetting Create a data traffic notification setting

Create a new data traffic notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCreateServerDataTrafficNotificationSettingRequest

func (*DedicatedServerAPIService) CreateServerDataTrafficNotificationSettingExecute

Execute executes the request

@return DataTrafficNotificationSetting

func (*DedicatedServerAPIService) CreateServerDhcpReservation

func (a *DedicatedServerAPIService) CreateServerDhcpReservation(ctx context.Context, serverId string) ApiCreateServerDhcpReservationRequest

CreateServerDhcpReservation Create a DHCP reservation

After rebooting your server it will acquire this DHCP reservation and boot from the specified `bootfile` url.

Please note that this API call will not reboot or power cycle your server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiCreateServerDhcpReservationRequest

func (*DedicatedServerAPIService) CreateServerDhcpReservationExecute

func (a *DedicatedServerAPIService) CreateServerDhcpReservationExecute(r ApiCreateServerDhcpReservationRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteNetworkEquipmentCredential

func (a *DedicatedServerAPIService) DeleteNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiDeleteNetworkEquipmentCredentialRequest

DeleteNetworkEquipmentCredential Delete network equipment credentials

This action is purely administrative and will only remove the username and password associated with this resource from our database.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param type_ The type of the credential.
@param username Username
@return ApiDeleteNetworkEquipmentCredentialRequest

func (*DedicatedServerAPIService) DeleteNetworkEquipmentCredentialExecute

func (a *DedicatedServerAPIService) DeleteNetworkEquipmentCredentialExecute(r ApiDeleteNetworkEquipmentCredentialRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteServerBandwidthNotificationSetting

func (a *DedicatedServerAPIService) DeleteServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiDeleteServerBandwidthNotificationSettingRequest

DeleteServerBandwidthNotificationSetting Delete a bandwidth notification setting

Remove a Bandwidth Notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiDeleteServerBandwidthNotificationSettingRequest

func (*DedicatedServerAPIService) DeleteServerBandwidthNotificationSettingExecute

func (a *DedicatedServerAPIService) DeleteServerBandwidthNotificationSettingExecute(r ApiDeleteServerBandwidthNotificationSettingRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteServerCredential

func (a *DedicatedServerAPIService) DeleteServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiDeleteServerCredentialRequest

DeleteServerCredential Delete server credentials

This action is purely administrative and will only remove the username and password associated with this resource from our database.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param type_ The type of the credential.
@param username Username
@return ApiDeleteServerCredentialRequest

func (*DedicatedServerAPIService) DeleteServerCredentialExecute

func (a *DedicatedServerAPIService) DeleteServerCredentialExecute(r ApiDeleteServerCredentialRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteServerDataTrafficNotificationSetting

func (a *DedicatedServerAPIService) DeleteServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiDeleteServerDataTrafficNotificationSettingRequest

DeleteServerDataTrafficNotificationSetting Delete a data traffic notification setting

Delete the given data traffic notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiDeleteServerDataTrafficNotificationSettingRequest

func (*DedicatedServerAPIService) DeleteServerDataTrafficNotificationSettingExecute

func (a *DedicatedServerAPIService) DeleteServerDataTrafficNotificationSettingExecute(r ApiDeleteServerDataTrafficNotificationSettingRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteServerDhcpReservation

func (a *DedicatedServerAPIService) DeleteServerDhcpReservation(ctx context.Context, serverId string) ApiDeleteServerDhcpReservationRequest

DeleteServerDhcpReservation Delete a DHCP reservation

Delete a DHCP reservation for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiDeleteServerDhcpReservationRequest

func (*DedicatedServerAPIService) DeleteServerDhcpReservationExecute

func (a *DedicatedServerAPIService) DeleteServerDhcpReservationExecute(r ApiDeleteServerDhcpReservationRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) DeleteServerFromPrivateNetwork

func (a *DedicatedServerAPIService) DeleteServerFromPrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiDeleteServerFromPrivateNetworkRequest

DeleteServerFromPrivateNetwork Delete a server from a private network

This API call will remove the dedicated server from the private network.

It takes a few minutes before the server has been removed from the private network.

To get the current status of the server you can call `/bareMetals/v2/servers/{serverId}`.

While the server is being removed the status changes to `REMOVING`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param privateNetworkId The ID of a Private Network
@return ApiDeleteServerFromPrivateNetworkRequest

func (*DedicatedServerAPIService) DeleteServerFromPrivateNetworkExecute

func (a *DedicatedServerAPIService) DeleteServerFromPrivateNetworkExecute(r ApiDeleteServerFromPrivateNetworkRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) EnableServerRescueMode

func (a *DedicatedServerAPIService) EnableServerRescueMode(ctx context.Context, serverId string) ApiEnableServerRescueModeRequest

EnableServerRescueMode Launch rescue mode

Rescue mode allows you to trouble shoot your server in case your installed operating system is no longer reachable.

You can supply a `postInstallScript` key in the body of the request which should contain a base64 encoded string with a valid script. This script will be executed as soon as rescue mode is launched and can be used to further automate the process. A requirement for the post install script is that it starts with a shebang line like `#!/usr/bin/env bash`.

After a rescue mode is launched you can manually reboot the server. After this reboot the server will boot into the existing operating system.

To get a list of available rescue images, you could do so by sending a `GET` request to `/bareMetals/v2/rescueImages`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiEnableServerRescueModeRequest

func (*DedicatedServerAPIService) EnableServerRescueModeExecute

func (a *DedicatedServerAPIService) EnableServerRescueModeExecute(r ApiEnableServerRescueModeRequest) (*ServerJob, *http.Response, error)

Execute executes the request

@return ServerJob

func (*DedicatedServerAPIService) ExpireActiveJob

func (a *DedicatedServerAPIService) ExpireActiveJob(ctx context.Context, serverId string) ApiExpireActiveJobRequest

ExpireActiveJob Expire active job

Expiring an active job will not have any influence on the current state of the server and is merely an administrative action.

Often you want to `cancel` the job, resulting in a server reboot. In that case\nuse the `/cancelActiveJob` API call instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiExpireActiveJobRequest

func (*DedicatedServerAPIService) ExpireActiveJobExecute

Execute executes the request

@return ServerJob

func (*DedicatedServerAPIService) GetControlPanelList

GetControlPanelList List control panels

An `id` of a control panel can be supplied when (re)installing a dedicated server (for more information on how to install dedicated servers via the API refer to the API documentation).

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

func (*DedicatedServerAPIService) GetControlPanelListByOperatingSystemId

func (a *DedicatedServerAPIService) GetControlPanelListByOperatingSystemId(ctx context.Context, operatingSystemId string) ApiGetControlPanelListByOperatingSystemIdRequest

GetControlPanelListByOperatingSystemId List control panels by Operating System

An `id` of a control panel can be supplied when (re)installing a dedicated server (for more information on how to install dedicated servers via the API refer to the API documentation).

Not all operating systems support all control panels. Some operating systems do not allow for installation of a control panel. To filter the list of control panels which are supported for an operating system use the `operatingSystemId` query string parameter to filter this list.

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

func (*DedicatedServerAPIService) GetControlPanelListByOperatingSystemIdExecute

func (a *DedicatedServerAPIService) GetControlPanelListByOperatingSystemIdExecute(r ApiGetControlPanelListByOperatingSystemIdRequest) (*ControlPanelList, *http.Response, error)

Execute executes the request

@return ControlPanelList

func (*DedicatedServerAPIService) GetControlPanelListExecute

Execute executes the request

@return ControlPanelList

func (*DedicatedServerAPIService) GetDdosNotificationSetting

func (a *DedicatedServerAPIService) GetDdosNotificationSetting(ctx context.Context, serverId string) ApiGetDdosNotificationSettingRequest

GetDdosNotificationSetting Inspect DDoS notification settings

Show all DDoS Protection related notification settings for this server. These settings control if you want to be notified via email in case a DDoS was mitigated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetDdosNotificationSettingRequest

func (*DedicatedServerAPIService) GetDdosNotificationSettingExecute

Execute executes the request

@return GetDdosNotificationSettingResult

func (*DedicatedServerAPIService) GetNetworkEquipment

func (a *DedicatedServerAPIService) GetNetworkEquipment(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentRequest

GetNetworkEquipment Get network equipment

Use this API to get information about a single network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiGetNetworkEquipmentRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentCredential

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiGetNetworkEquipmentCredentialRequest

GetNetworkEquipmentCredential Show network equipment credentials

View the password for the given credential, identified by `type` and `username`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param type_ The type of the credential.
@param username Username
@return ApiGetNetworkEquipmentCredentialRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentCredentialExecute

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredentialExecute(r ApiGetNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) GetNetworkEquipmentCredentialList

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredentialList(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentCredentialListRequest

GetNetworkEquipmentCredentialList List network equipment credentials

The credentials API allows you to store usernames and passwords securely.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiGetNetworkEquipmentCredentialListRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentCredentialListByType

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredentialListByType(ctx context.Context, networkEquipmentId string, type_ CredentialType) ApiGetNetworkEquipmentCredentialListByTypeRequest

GetNetworkEquipmentCredentialListByType List network equipment credentials by type

List all the credentials filtered by the specified type that are associated with this network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param type_ The type of the credential.
@return ApiGetNetworkEquipmentCredentialListByTypeRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentCredentialListByTypeExecute

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredentialListByTypeExecute(r ApiGetNetworkEquipmentCredentialListByTypeRequest) (*CredentialList, *http.Response, error)

Execute executes the request

@return CredentialList

func (*DedicatedServerAPIService) GetNetworkEquipmentCredentialListExecute

func (a *DedicatedServerAPIService) GetNetworkEquipmentCredentialListExecute(r ApiGetNetworkEquipmentCredentialListRequest) (*CredentialList, *http.Response, error)

Execute executes the request

@return CredentialList

func (*DedicatedServerAPIService) GetNetworkEquipmentExecute

Execute executes the request

@return NetworkEquipment

func (*DedicatedServerAPIService) GetNetworkEquipmentIp

func (a *DedicatedServerAPIService) GetNetworkEquipmentIp(ctx context.Context, networkEquipmentId string, ip string) ApiGetNetworkEquipmentIpRequest

GetNetworkEquipmentIp Show a network equipment IP

Get a single IP address associated with this network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param ip The IP Address
@return ApiGetNetworkEquipmentIpRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentIpExecute

func (a *DedicatedServerAPIService) GetNetworkEquipmentIpExecute(r ApiGetNetworkEquipmentIpRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) GetNetworkEquipmentIpList

func (a *DedicatedServerAPIService) GetNetworkEquipmentIpList(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentIpListRequest

GetNetworkEquipmentIpList List IPs

List all IP Addresses associated with this network equipment. Optionally filtered.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiGetNetworkEquipmentIpListRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentIpListExecute

Execute executes the request

@return GetNetworkEquipmentIpListResult

func (*DedicatedServerAPIService) GetNetworkEquipmentList

GetNetworkEquipmentList List network equipment

List your Dedicated Network Equipment. This api call supports pagination. Use the `limit` and `offset` query string parameters to paginate through all your dedicated network equipment.

Every `network equipment` object in the json response lists a few properties of a network equipment. Use the single resource api call to get more details for a single network equipment.

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

func (*DedicatedServerAPIService) GetNetworkEquipmentListExecute

Execute executes the request

@return GetNetworkEquipmentListResult

func (*DedicatedServerAPIService) GetNetworkEquipmentNullRouteHistory

func (a *DedicatedServerAPIService) GetNetworkEquipmentNullRouteHistory(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentNullRouteHistoryRequest

GetNetworkEquipmentNullRouteHistory Show null route history

Show all null route history for any ips associated with this a network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiGetNetworkEquipmentNullRouteHistoryRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentNullRouteHistoryExecute

Execute executes the request

@return GetNetworkEquipmentNullRouteHistoryResult

func (*DedicatedServerAPIService) GetNetworkEquipmentPowerStatus

func (a *DedicatedServerAPIService) GetNetworkEquipmentPowerStatus(ctx context.Context, networkEquipmentId string) ApiGetNetworkEquipmentPowerStatusRequest

GetNetworkEquipmentPowerStatus Show power status

The network equipment can either be `ON` or `OFF`. Network Equipment can be powered on or off by using the respective `/powerOn` and `/powerOff` API calls. In addition network equipment can also be rebooted using the `/powerCycle` API call.

The `pdu` object describes the power status from the power distribution unit (PDU) point of view. If your network equipment is connected to multiple PDU ports the `status` property will report `on` if at least one PDU port has power.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiGetNetworkEquipmentPowerStatusRequest

func (*DedicatedServerAPIService) GetNetworkEquipmentPowerStatusExecute

Execute executes the request

@return GetNetworkEquipmentPowerStatusResult

func (*DedicatedServerAPIService) GetNetworkInterface

func (a *DedicatedServerAPIService) GetNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiGetNetworkInterfaceRequest

GetNetworkInterface Show a network interface

Show the network interface of the given type of this server, including its status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param networkTypeURL
@return ApiGetNetworkInterfaceRequest

func (*DedicatedServerAPIService) GetNetworkInterfaceExecute

Execute executes the request

@return OperationNetworkInterface

func (*DedicatedServerAPIService) GetNetworkInterfaceList

func (a *DedicatedServerAPIService) GetNetworkInterfaceList(ctx context.Context, serverId string) ApiGetNetworkInterfaceListRequest

GetNetworkInterfaceList List network interfaces

List all network interfaces for this server, including their current status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetNetworkInterfaceListRequest

func (*DedicatedServerAPIService) GetNetworkInterfaceListExecute

Execute executes the request

@return GetNetworkInterfaceListResult

func (*DedicatedServerAPIService) GetOperatingSystem

func (a *DedicatedServerAPIService) GetOperatingSystem(ctx context.Context, operatingSystemId string) ApiGetOperatingSystemRequest

GetOperatingSystem Show an operating system

This detailed information shows default options when installing the given operating system on a dedicated server.

For some operating systems these defaults can be adjusted when making the `POST` request to `/install`. If the `configurable` parameter is `true` these defaults can be adjusted by the client.

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

func (*DedicatedServerAPIService) GetOperatingSystemExecute

Execute executes the request

@return GetOperatingSystemResult

func (*DedicatedServerAPIService) GetOperatingSystemList

GetOperatingSystemList List Operating Systems

An `id` of a operating system can be supplied when (re)installing a dedicated server (for more information on how to install dedicated servers via the API refer to the API documentation).

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

func (*DedicatedServerAPIService) GetOperatingSystemListExecute

Execute executes the request

@return GetOperatingSystemListResult

func (*DedicatedServerAPIService) GetRescueImageList

GetRescueImageList Rescue Images

Lists all Rescue Images which are available for launching a dedicated server into rescue mode.

A `rescueImageId` can be supplied to the `POST /rescueMode` API call and will reboot your server into rescue mode.

Launching rescue mode for a server is often used to troubleshoot an existing installation.

Note that launching rescue mode does not modify any data on the disks of your server. It will require your server to be rebooted.

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

func (*DedicatedServerAPIService) GetRescueImageListExecute

Execute executes the request

@return GetRescueImageListResult

func (*DedicatedServerAPIService) GetServer

GetServer Get server

Use this API to get information about a single server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerRequest

func (*DedicatedServerAPIService) GetServerBandwidthMetrics

func (a *DedicatedServerAPIService) GetServerBandwidthMetrics(ctx context.Context, serverId string) ApiGetServerBandwidthMetricsRequest

GetServerBandwidthMetrics Show bandwidth metrics

At this moment only bandwidth information for the public interface is supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerBandwidthMetricsRequest

func (*DedicatedServerAPIService) GetServerBandwidthMetricsExecute

func (a *DedicatedServerAPIService) GetServerBandwidthMetricsExecute(r ApiGetServerBandwidthMetricsRequest) (*Metrics, *http.Response, error)

Execute executes the request

@return Metrics

func (*DedicatedServerAPIService) GetServerBandwidthNotificationSetting

func (a *DedicatedServerAPIService) GetServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiGetServerBandwidthNotificationSettingRequest

GetServerBandwidthNotificationSetting Show a bandwidth notification setting

Get a bandwidth notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiGetServerBandwidthNotificationSettingRequest

func (*DedicatedServerAPIService) GetServerBandwidthNotificationSettingExecute

Execute executes the request

@return BandwidthNotificationSetting

func (*DedicatedServerAPIService) GetServerBandwidthNotificationSettingList

func (a *DedicatedServerAPIService) GetServerBandwidthNotificationSettingList(ctx context.Context, serverId string) ApiGetServerBandwidthNotificationSettingListRequest

GetServerBandwidthNotificationSettingList List bandwidth notification settings

List all bandwidth notification settings for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerBandwidthNotificationSettingListRequest

func (*DedicatedServerAPIService) GetServerBandwidthNotificationSettingListExecute

Execute executes the request

@return GetServerBandwidthNotificationSettingListResult

func (*DedicatedServerAPIService) GetServerCredential

func (a *DedicatedServerAPIService) GetServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiGetServerCredentialRequest

GetServerCredential Show server credentials

View the password for the given credential, identified by `type` and `username`. Auto generated credentials (during a re-install, rescue mode or ipmi reset can be found here).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param type_ The type of the credential.
@param username Username
@return ApiGetServerCredentialRequest

func (*DedicatedServerAPIService) GetServerCredentialExecute

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) GetServerCredentialList

func (a *DedicatedServerAPIService) GetServerCredentialList(ctx context.Context, serverId string) ApiGetServerCredentialListRequest

GetServerCredentialList List server credentials

The credentials API allows you to store usernames and passwords securely.

During (re)installations, rescue modes and ipmi resets the newly generated passwords are stored and can be retrieved using this API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerCredentialListRequest

func (*DedicatedServerAPIService) GetServerCredentialListByType

func (a *DedicatedServerAPIService) GetServerCredentialListByType(ctx context.Context, serverId string, type_ CredentialType) ApiGetServerCredentialListByTypeRequest

GetServerCredentialListByType List server credentials by type

List all the credentials filtered by the specified type that are associated with this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param type_ The type of the credential.
@return ApiGetServerCredentialListByTypeRequest

func (*DedicatedServerAPIService) GetServerCredentialListByTypeExecute

Execute executes the request

@return CredentialList

func (*DedicatedServerAPIService) GetServerCredentialListExecute

Execute executes the request

@return CredentialList

func (*DedicatedServerAPIService) GetServerDataTrafficMetrics

func (a *DedicatedServerAPIService) GetServerDataTrafficMetrics(ctx context.Context, serverId string) ApiGetServerDataTrafficMetricsRequest

GetServerDataTrafficMetrics Show datatraffic metrics

At this moment only bandwidth information for the public interface is supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerDataTrafficMetricsRequest

func (*DedicatedServerAPIService) GetServerDataTrafficMetricsExecute

func (a *DedicatedServerAPIService) GetServerDataTrafficMetricsExecute(r ApiGetServerDataTrafficMetricsRequest) (*Metrics, *http.Response, error)

Execute executes the request

@return Metrics

func (*DedicatedServerAPIService) GetServerDataTrafficNotificationSetting

func (a *DedicatedServerAPIService) GetServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiGetServerDataTrafficNotificationSettingRequest

GetServerDataTrafficNotificationSetting Show a data traffic notification setting

Get a datatraffic notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiGetServerDataTrafficNotificationSettingRequest

func (*DedicatedServerAPIService) GetServerDataTrafficNotificationSettingExecute

Execute executes the request

@return DataTrafficNotificationSetting

func (*DedicatedServerAPIService) GetServerDataTrafficNotificationSettingList

func (a *DedicatedServerAPIService) GetServerDataTrafficNotificationSettingList(ctx context.Context, serverId string) ApiGetServerDataTrafficNotificationSettingListRequest

GetServerDataTrafficNotificationSettingList List data traffic notification settings

List all datatraffic notification settings for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerDataTrafficNotificationSettingListRequest

func (*DedicatedServerAPIService) GetServerDataTrafficNotificationSettingListExecute

Execute executes the request

@return GetServerDataTrafficNotificationSettingListResult

func (*DedicatedServerAPIService) GetServerDhcpReservationList

func (a *DedicatedServerAPIService) GetServerDhcpReservationList(ctx context.Context, serverId string) ApiGetServerDhcpReservationListRequest

GetServerDhcpReservationList List DHCP reservations

Please note that this will only show reservations for the public network interface.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerDhcpReservationListRequest

func (*DedicatedServerAPIService) GetServerDhcpReservationListExecute

Execute executes the request

@return GetServerDhcpReservationListResult

func (*DedicatedServerAPIService) GetServerExecute

Execute executes the request

@return Server

func (*DedicatedServerAPIService) GetServerHardware

func (a *DedicatedServerAPIService) GetServerHardware(ctx context.Context, serverId string) ApiGetServerHardwareRequest

GetServerHardware Show hardware information

This information is generated when running a hardware scan for your server. A hardware scan collects hardware information about your system.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerHardwareRequest

func (*DedicatedServerAPIService) GetServerHardwareExecute

Execute executes the request

@return GetServerHardwareResult

func (*DedicatedServerAPIService) GetServerIp

func (a *DedicatedServerAPIService) GetServerIp(ctx context.Context, serverId string, ip string) ApiGetServerIpRequest

GetServerIp Show a server IP

Get a single IP address associated with this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param ip The IP Address
@return ApiGetServerIpRequest

func (*DedicatedServerAPIService) GetServerIpExecute

func (a *DedicatedServerAPIService) GetServerIpExecute(r ApiGetServerIpRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) GetServerIpList

func (a *DedicatedServerAPIService) GetServerIpList(ctx context.Context, serverId string) ApiGetServerIpListRequest

GetServerIpList List IPs

List all IP Addresses associated with this server. Optionally filtered.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerIpListRequest

func (*DedicatedServerAPIService) GetServerIpListExecute

func (a *DedicatedServerAPIService) GetServerIpListExecute(r ApiGetServerIpListRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) GetServerJob

func (a *DedicatedServerAPIService) GetServerJob(ctx context.Context, serverId string, jobId string) ApiGetServerJobRequest

GetServerJob Show a job

Get a single job for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param jobId The ID of a Job
@return ApiGetServerJobRequest

func (*DedicatedServerAPIService) GetServerJobExecute

Execute executes the request

@return CurrentServerJob

func (*DedicatedServerAPIService) GetServerJobList

func (a *DedicatedServerAPIService) GetServerJobList(ctx context.Context, serverId string) ApiGetServerJobListRequest

GetServerJobList List jobs

List all jobs for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerJobListRequest

func (*DedicatedServerAPIService) GetServerJobListExecute

Execute executes the request

@return ServerJobList

func (*DedicatedServerAPIService) GetServerList

GetServerList List servers

List your Dedicated Servers. This api call supports pagination. Use the `limit` and `offset` query string parameters to paginate through all your dedicated servers.

Every `server` object in the json response lists a few properties of a server. Use the single resource api call to get more details for a single server.

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

func (*DedicatedServerAPIService) GetServerListExecute

Execute executes the request

@return GetServerListResult

func (*DedicatedServerAPIService) GetServerNullRouteHistory

func (a *DedicatedServerAPIService) GetServerNullRouteHistory(ctx context.Context, serverId string) ApiGetServerNullRouteHistoryRequest

GetServerNullRouteHistory Show null route history

Show all null route history for any ips associated with this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerNullRouteHistoryRequest

func (*DedicatedServerAPIService) GetServerNullRouteHistoryExecute

Execute executes the request

@return GetServerNullRouteHistoryResult

func (*DedicatedServerAPIService) GetServerPowerStatus

func (a *DedicatedServerAPIService) GetServerPowerStatus(ctx context.Context, serverId string) ApiGetServerPowerStatusRequest

GetServerPowerStatus Show power status

The server can either be `ON` or `OFF`. Servers can be powered on or off by using the respective `/powerOn` and `/powerOff` API calls. In addition servers can also be rebooted using the `/powerCycle` API call.

The `pdu` object describes the power status from the power distribution unit (PDU) point of view. If your server is connected to multiple PDU ports the `status` property will report `on` if at least one PDU port has power.

The `ipmi` object describes the power status by quering the remote management interface of your server.

Note that `pdu.status` can report `on` but your server can still be powered off if it was shutdown via `IPMI` for example.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiGetServerPowerStatusRequest

func (*DedicatedServerAPIService) GetServerPowerStatusExecute

Execute executes the request

@return GetServerPowerStatusResult

func (*DedicatedServerAPIService) InstallOperatingSystem

func (a *DedicatedServerAPIService) InstallOperatingSystem(ctx context.Context, serverId string) ApiInstallOperatingSystemRequest

InstallOperatingSystem Launch installation

Install your server with an Operating System and optional Control Panel.

To retrieve a list of available operating systems use the `/v2/operatingSystems` endpoint.

To retrieve a list of available control panels use the `/v2/controlPanels` endpoint.

The default device / partitions to be used are operating system depended and can be retrieved via the `/v2/operatingSystems/{operatingSystemId}` endpoint.

You are now able to target a specific diskset, like SATA1TB, SATA2TB, SSD256GB, etc. To see which disksets are available in your server check the `/v2/servers/{serverId}` endpoint and look for the corresponding diskset id from the hdd array.

For more information about Dedicated Server installation, [click here](https://kb.leaseweb.com/products/dedicated-server/reinstalling-your-dedicated-server) for our related Knowledge Base article.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiInstallOperatingSystemRequest

func (*DedicatedServerAPIService) InstallOperatingSystemExecute

Execute executes the request

@return InstallationJob

func (*DedicatedServerAPIService) IpmiResetServer

func (a *DedicatedServerAPIService) IpmiResetServer(ctx context.Context, serverId string) ApiIpmiResetServerRequest

IpmiResetServer Launch IPMI reset

A reset makes sure that your IPMI interface of your server is compatible with Leaseweb automation.

An IPMI reset will require a reboot of your server. The contents of your hard drive won't be altered in any way. After a successful IPMI reset your server is booted back into the original operating system.",

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiIpmiResetServerRequest

func (*DedicatedServerAPIService) IpmiResetServerExecute

Execute executes the request

@return ServerJob

func (*DedicatedServerAPIService) NullIpRoute

func (a *DedicatedServerAPIService) NullIpRoute(ctx context.Context, serverId string, ip string) ApiNullIpRouteRequest

NullIpRoute Null route an IP

Null the given IP address. It might take a few minutes before the change is propagated across the network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param ip The IP Address
@return ApiNullIpRouteRequest

func (*DedicatedServerAPIService) NullIpRouteExecute

func (a *DedicatedServerAPIService) NullIpRouteExecute(r ApiNullIpRouteRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) NullNetworkEquipmentIpRoute

func (a *DedicatedServerAPIService) NullNetworkEquipmentIpRoute(ctx context.Context, networkEquipmentId string, ip string) ApiNullNetworkEquipmentIpRouteRequest

NullNetworkEquipmentIpRoute Null route an IP

Null the given IP address. It might take a few minutes before the change is propagated across the network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param ip The IP Address
@return ApiNullNetworkEquipmentIpRouteRequest

func (*DedicatedServerAPIService) NullNetworkEquipmentIpRouteExecute

func (a *DedicatedServerAPIService) NullNetworkEquipmentIpRouteExecute(r ApiNullNetworkEquipmentIpRouteRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) OpenNetworkInterface

func (a *DedicatedServerAPIService) OpenNetworkInterface(ctx context.Context, serverId string, networkTypeURL NetworkTypeURL) ApiOpenNetworkInterfaceRequest

OpenNetworkInterface Open network interface

Open all network interfaces of the given type for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param networkTypeURL
@return ApiOpenNetworkInterfaceRequest

func (*DedicatedServerAPIService) OpenNetworkInterfaceExecute

func (a *DedicatedServerAPIService) OpenNetworkInterfaceExecute(r ApiOpenNetworkInterfaceRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) OpenNetworkInterfaces

func (a *DedicatedServerAPIService) OpenNetworkInterfaces(ctx context.Context, serverId string) ApiOpenNetworkInterfacesRequest

OpenNetworkInterfaces Open all network interfaces

Open all network interfaces of this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiOpenNetworkInterfacesRequest

func (*DedicatedServerAPIService) OpenNetworkInterfacesExecute

func (a *DedicatedServerAPIService) OpenNetworkInterfacesExecute(r ApiOpenNetworkInterfacesRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerCycleNetworkEquipment

func (a *DedicatedServerAPIService) PowerCycleNetworkEquipment(ctx context.Context, networkEquipmentId string) ApiPowerCycleNetworkEquipmentRequest

PowerCycleNetworkEquipment Power cycle a network equipment

Powercyle the network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiPowerCycleNetworkEquipmentRequest

func (*DedicatedServerAPIService) PowerCycleNetworkEquipmentExecute

func (a *DedicatedServerAPIService) PowerCycleNetworkEquipmentExecute(r ApiPowerCycleNetworkEquipmentRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerCycleServer

func (a *DedicatedServerAPIService) PowerCycleServer(ctx context.Context, serverId string) ApiPowerCycleServerRequest

PowerCycleServer Power cycle a server

Powercyle the server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiPowerCycleServerRequest

func (*DedicatedServerAPIService) PowerCycleServerExecute

func (a *DedicatedServerAPIService) PowerCycleServerExecute(r ApiPowerCycleServerRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerNetworkEquipmentOff

func (a *DedicatedServerAPIService) PowerNetworkEquipmentOff(ctx context.Context, networkEquipmentId string) ApiPowerNetworkEquipmentOffRequest

PowerNetworkEquipmentOff Power off network equipment

Power off the given network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiPowerNetworkEquipmentOffRequest

func (*DedicatedServerAPIService) PowerNetworkEquipmentOffExecute

func (a *DedicatedServerAPIService) PowerNetworkEquipmentOffExecute(r ApiPowerNetworkEquipmentOffRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerNetworkEquipmentOn

func (a *DedicatedServerAPIService) PowerNetworkEquipmentOn(ctx context.Context, networkEquipmentId string) ApiPowerNetworkEquipmentOnRequest

PowerNetworkEquipmentOn Power on network equipment

Power on the given network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiPowerNetworkEquipmentOnRequest

func (*DedicatedServerAPIService) PowerNetworkEquipmentOnExecute

func (a *DedicatedServerAPIService) PowerNetworkEquipmentOnExecute(r ApiPowerNetworkEquipmentOnRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerServerOff

func (a *DedicatedServerAPIService) PowerServerOff(ctx context.Context, serverId string) ApiPowerServerOffRequest

PowerServerOff Power off server

Power off the given server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiPowerServerOffRequest

func (*DedicatedServerAPIService) PowerServerOffExecute

func (a *DedicatedServerAPIService) PowerServerOffExecute(r ApiPowerServerOffRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) PowerServerOn

PowerServerOn Power on server

Power on the given server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiPowerServerOnRequest

func (*DedicatedServerAPIService) PowerServerOnExecute

func (a *DedicatedServerAPIService) PowerServerOnExecute(r ApiPowerServerOnRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) RemoveNullIpRoute

func (a *DedicatedServerAPIService) RemoveNullIpRoute(ctx context.Context, serverId string, ip string) ApiRemoveNullIpRouteRequest

RemoveNullIpRoute Remove a null route

Remove an existing null route for the given IP address. It might take a few minutes before the change is propagated across the network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param ip The IP Address
@return ApiRemoveNullIpRouteRequest

func (*DedicatedServerAPIService) RemoveNullIpRouteExecute

func (a *DedicatedServerAPIService) RemoveNullIpRouteExecute(r ApiRemoveNullIpRouteRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) RetryServerJob

func (a *DedicatedServerAPIService) RetryServerJob(ctx context.Context, serverId string, jobId string) ApiRetryServerJobRequest

RetryServerJob Retry a job

Retry a job for a specific server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param jobId The ID of a Job
@return ApiRetryServerJobRequest

func (*DedicatedServerAPIService) RetryServerJobExecute

Execute executes the request

@return CurrentServerJob

func (*DedicatedServerAPIService) ScanHardware

ScanHardware Launch hardware scan

A hardware scan collects hardware related information from your server.

A hardware scan will require a reboot of your server. The contents of your hard drive won't be altered in any way. After a successful hardware scan your server is booted back into the original operating system.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiScanHardwareRequest

func (*DedicatedServerAPIService) ScanHardwareExecute

Execute executes the request

@return ServerJob

func (*DedicatedServerAPIService) UnNullNetworkEquipmentIpRoute

func (a *DedicatedServerAPIService) UnNullNetworkEquipmentIpRoute(ctx context.Context, networkEquipmentId string, ip string) ApiUnNullNetworkEquipmentIpRouteRequest

UnNullNetworkEquipmentIpRoute Remove a null route

Remove an existing null route for the given IP address. It might take a few minutes before the change is propagated across the network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param ip The IP Address
@return ApiUnNullNetworkEquipmentIpRouteRequest

func (*DedicatedServerAPIService) UnNullNetworkEquipmentIpRouteExecute

func (a *DedicatedServerAPIService) UnNullNetworkEquipmentIpRouteExecute(r ApiUnNullNetworkEquipmentIpRouteRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) UpdateDdosNotificationSetting

func (a *DedicatedServerAPIService) UpdateDdosNotificationSetting(ctx context.Context, serverId string) ApiUpdateDdosNotificationSettingRequest

UpdateDdosNotificationSetting Update DDoS notification settings

Update your DDoS notification settings for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiUpdateDdosNotificationSettingRequest

func (*DedicatedServerAPIService) UpdateDdosNotificationSettingExecute

func (a *DedicatedServerAPIService) UpdateDdosNotificationSettingExecute(r ApiUpdateDdosNotificationSettingRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) UpdateIpProfile

func (a *DedicatedServerAPIService) UpdateIpProfile(ctx context.Context, serverId string, ip string) ApiUpdateIpProfileRequest

UpdateIpProfile Update an IP

Update the reverse lookup or DDoS detection profile for the ip address.

DDoS detection profiles can only be changed if the IP address is protected using Advanced DDoS protection.

For more information about DDoS detection profiles [click here](https://kb.leaseweb.com/products/cyber-security/ddos-ip-protection#DDOSIPProtection-DDoSIPProtectionAdvancedDetectionprofiles) for our KB related article.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param ip The IP Address
@return ApiUpdateIpProfileRequest

func (*DedicatedServerAPIService) UpdateIpProfileExecute

func (a *DedicatedServerAPIService) UpdateIpProfileExecute(r ApiUpdateIpProfileRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) UpdateNetworkEquipmentCredential

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentCredential(ctx context.Context, networkEquipmentId string, type_ CredentialType, username string) ApiUpdateNetworkEquipmentCredentialRequest

UpdateNetworkEquipmentCredential Update network equipment credentials

The usernames or types cannot be changed. In order to change those remove this credentials and create a new one.

This action is purely administrative and will only update the password associated with this resource in our database.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param type_ The type of the credential.
@param username Username
@return ApiUpdateNetworkEquipmentCredentialRequest

func (*DedicatedServerAPIService) UpdateNetworkEquipmentCredentialExecute

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentCredentialExecute(r ApiUpdateNetworkEquipmentCredentialRequest) (*Credential, *http.Response, error)

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) UpdateNetworkEquipmentIp

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentIp(ctx context.Context, networkEquipmentId string, ip string) ApiUpdateNetworkEquipmentIpRequest

UpdateNetworkEquipmentIp Update an IP

Update the reverse lookup or DDoS detection profile for the ip address.

DDoS detection profiles can only be changed if the IP address is protected using Advanced DDoS protection.

For more information about DDoS detection profiles [click here](https://kb.leaseweb.com/products/cyber-security/ddos-ip-protection#DDOSIPProtection-DDoSIPProtectionAdvancedDetectionprofiles) for our KB related article.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@param ip The IP Address
@return ApiUpdateNetworkEquipmentIpRequest

func (*DedicatedServerAPIService) UpdateNetworkEquipmentIpExecute

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentIpExecute(r ApiUpdateNetworkEquipmentIpRequest) (*Ip, *http.Response, error)

Execute executes the request

@return Ip

func (*DedicatedServerAPIService) UpdateNetworkEquipmentReference

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentReference(ctx context.Context, networkEquipmentId string) ApiUpdateNetworkEquipmentReferenceRequest

UpdateNetworkEquipmentReference Update network equipment

Update the reference for a network equipment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param networkEquipmentId The ID of a dedicated network equipment
@return ApiUpdateNetworkEquipmentReferenceRequest

func (*DedicatedServerAPIService) UpdateNetworkEquipmentReferenceExecute

func (a *DedicatedServerAPIService) UpdateNetworkEquipmentReferenceExecute(r ApiUpdateNetworkEquipmentReferenceRequest) (*http.Response, error)

Execute executes the request

func (*DedicatedServerAPIService) UpdateServerBandwidthNotificationSetting

func (a *DedicatedServerAPIService) UpdateServerBandwidthNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiUpdateServerBandwidthNotificationSettingRequest

UpdateServerBandwidthNotificationSetting Update a bandwidth notification setting

Update an existing bandwidth notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiUpdateServerBandwidthNotificationSettingRequest

func (*DedicatedServerAPIService) UpdateServerBandwidthNotificationSettingExecute

Execute executes the request

@return BandwidthNotificationSetting

func (*DedicatedServerAPIService) UpdateServerCredential

func (a *DedicatedServerAPIService) UpdateServerCredential(ctx context.Context, serverId string, type_ CredentialType, username string) ApiUpdateServerCredentialRequest

UpdateServerCredential Update server credentials

The usernames or types cannot be changed. In order to change those remove this credentials and create a new one.

This action is purely administrative and will only update the password associated with this resource in our database.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param type_ The type of the credential.
@param username Username
@return ApiUpdateServerCredentialRequest

func (*DedicatedServerAPIService) UpdateServerCredentialExecute

func (a *DedicatedServerAPIService) UpdateServerCredentialExecute(r ApiUpdateServerCredentialRequest) (*Credential, *http.Response, error)

Execute executes the request

@return Credential

func (*DedicatedServerAPIService) UpdateServerDataTrafficNotificationSetting

func (a *DedicatedServerAPIService) UpdateServerDataTrafficNotificationSetting(ctx context.Context, serverId string, notificationSettingId string) ApiUpdateServerDataTrafficNotificationSettingRequest

UpdateServerDataTrafficNotificationSetting Update a data traffic notification setting

Update an existing data traffic notification setting for this server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@param notificationSettingId The ID of a notification setting
@return ApiUpdateServerDataTrafficNotificationSettingRequest

func (*DedicatedServerAPIService) UpdateServerDataTrafficNotificationSettingExecute

Execute executes the request

@return DataTrafficNotificationSettingOpts

func (*DedicatedServerAPIService) UpdateServerReference

func (a *DedicatedServerAPIService) UpdateServerReference(ctx context.Context, serverId string) ApiUpdateServerReferenceRequest

UpdateServerReference Update server

Update the reference for a server.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serverId The ID of a server
@return ApiUpdateServerReferenceRequest

func (*DedicatedServerAPIService) UpdateServerReferenceExecute

func (a *DedicatedServerAPIService) UpdateServerReferenceExecute(r ApiUpdateServerReferenceRequest) (*http.Response, error)

Execute executes the request

type Defaults

type Defaults struct {
	// Device name
	Device               *string     `json:"device,omitempty"`
	Partitions           []Partition `json:"partitions,omitempty"`
	AdditionalProperties map[string]interface{}
}

Defaults An object containing defaults for this operating system

func NewDefaults

func NewDefaults() *Defaults

NewDefaults instantiates a new Defaults 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 NewDefaultsWithDefaults

func NewDefaultsWithDefaults() *Defaults

NewDefaultsWithDefaults instantiates a new Defaults 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 (*Defaults) GetDevice

func (o *Defaults) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*Defaults) GetDeviceOk

func (o *Defaults) GetDeviceOk() (*string, bool)

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

func (*Defaults) GetPartitions

func (o *Defaults) GetPartitions() []Partition

GetPartitions returns the Partitions field value if set, zero value otherwise.

func (*Defaults) GetPartitionsOk

func (o *Defaults) GetPartitionsOk() ([]Partition, bool)

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

func (*Defaults) HasDevice

func (o *Defaults) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*Defaults) HasPartitions

func (o *Defaults) HasPartitions() bool

HasPartitions returns a boolean if a field has been set.

func (Defaults) MarshalJSON

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

func (*Defaults) SetDevice

func (o *Defaults) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*Defaults) SetPartitions

func (o *Defaults) SetPartitions(v []Partition)

SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.

func (Defaults) ToMap

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

func (*Defaults) UnmarshalJSON

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

type Disk

type Disk struct {
	Description          *string   `json:"description,omitempty"`
	Id                   *string   `json:"id,omitempty"`
	Product              *string   `json:"product,omitempty"`
	SerialNumber         *string   `json:"serial_number,omitempty"`
	Size                 *string   `json:"size,omitempty"`
	Smartctl             *Smartctl `json:"smartctl,omitempty"`
	Vendor               *string   `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Disk struct for Disk

func NewDisk

func NewDisk() *Disk

NewDisk instantiates a new Disk 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 NewDiskWithDefaults

func NewDiskWithDefaults() *Disk

NewDiskWithDefaults instantiates a new Disk 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 (*Disk) GetDescription

func (o *Disk) GetDescription() string

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

func (*Disk) GetDescriptionOk

func (o *Disk) 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 (*Disk) GetId

func (o *Disk) GetId() string

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

func (*Disk) GetIdOk

func (o *Disk) 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 (*Disk) GetProduct

func (o *Disk) GetProduct() string

GetProduct returns the Product field value if set, zero value otherwise.

func (*Disk) GetProductOk

func (o *Disk) GetProductOk() (*string, bool)

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

func (*Disk) GetSerialNumber

func (o *Disk) GetSerialNumber() string

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

func (*Disk) GetSerialNumberOk

func (o *Disk) 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 (*Disk) GetSize

func (o *Disk) GetSize() string

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

func (*Disk) GetSizeOk

func (o *Disk) GetSizeOk() (*string, 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 (*Disk) GetSmartctl

func (o *Disk) GetSmartctl() Smartctl

GetSmartctl returns the Smartctl field value if set, zero value otherwise.

func (*Disk) GetSmartctlOk

func (o *Disk) GetSmartctlOk() (*Smartctl, bool)

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

func (*Disk) GetVendor

func (o *Disk) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Disk) GetVendorOk

func (o *Disk) GetVendorOk() (*string, bool)

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

func (*Disk) HasDescription

func (o *Disk) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Disk) HasId

func (o *Disk) HasId() bool

HasId returns a boolean if a field has been set.

func (*Disk) HasProduct

func (o *Disk) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*Disk) HasSerialNumber

func (o *Disk) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*Disk) HasSize

func (o *Disk) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Disk) HasSmartctl

func (o *Disk) HasSmartctl() bool

HasSmartctl returns a boolean if a field has been set.

func (*Disk) HasVendor

func (o *Disk) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Disk) MarshalJSON

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

func (*Disk) SetDescription

func (o *Disk) SetDescription(v string)

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

func (*Disk) SetId

func (o *Disk) SetId(v string)

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

func (*Disk) SetProduct

func (o *Disk) SetProduct(v string)

SetProduct gets a reference to the given string and assigns it to the Product field.

func (*Disk) SetSerialNumber

func (o *Disk) SetSerialNumber(v string)

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

func (*Disk) SetSize

func (o *Disk) SetSize(v string)

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

func (*Disk) SetSmartctl

func (o *Disk) SetSmartctl(v Smartctl)

SetSmartctl gets a reference to the given Smartctl and assigns it to the Smartctl field.

func (*Disk) SetVendor

func (o *Disk) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Disk) ToMap

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

func (*Disk) UnmarshalJSON

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

type EnableServerRescueModeOpts

type EnableServerRescueModeOpts struct {
	// Url which will receive callbacks
	CallbackUrl *string `json:"callbackUrl,omitempty"`
	// Rescue mode password. If not provided, it would be automatically generated
	Password *string `json:"password,omitempty"`
	// Base64 Encoded string containing a valid bash script to be run right after rescue mode is launched
	PostInstallScript *string `json:"postInstallScript,omitempty"`
	// If set to `true`, server will be power cycled in order to complete the operation
	PowerCycle *bool `json:"powerCycle,omitempty"`
	// Rescue image identifier
	RescueImageId string `json:"rescueImageId"`
	// User ssh keys
	SshKeys              *string `json:"sshKeys,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnableServerRescueModeOpts struct for EnableServerRescueModeOpts

func NewEnableServerRescueModeOpts

func NewEnableServerRescueModeOpts(rescueImageId string) *EnableServerRescueModeOpts

NewEnableServerRescueModeOpts instantiates a new EnableServerRescueModeOpts 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 NewEnableServerRescueModeOptsWithDefaults

func NewEnableServerRescueModeOptsWithDefaults() *EnableServerRescueModeOpts

NewEnableServerRescueModeOptsWithDefaults instantiates a new EnableServerRescueModeOpts 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 (*EnableServerRescueModeOpts) GetCallbackUrl

func (o *EnableServerRescueModeOpts) GetCallbackUrl() string

GetCallbackUrl returns the CallbackUrl field value if set, zero value otherwise.

func (*EnableServerRescueModeOpts) GetCallbackUrlOk

func (o *EnableServerRescueModeOpts) GetCallbackUrlOk() (*string, bool)

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

func (*EnableServerRescueModeOpts) GetPassword

func (o *EnableServerRescueModeOpts) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*EnableServerRescueModeOpts) GetPasswordOk

func (o *EnableServerRescueModeOpts) GetPasswordOk() (*string, bool)

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

func (*EnableServerRescueModeOpts) GetPostInstallScript

func (o *EnableServerRescueModeOpts) GetPostInstallScript() string

GetPostInstallScript returns the PostInstallScript field value if set, zero value otherwise.

func (*EnableServerRescueModeOpts) GetPostInstallScriptOk

func (o *EnableServerRescueModeOpts) GetPostInstallScriptOk() (*string, bool)

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

func (*EnableServerRescueModeOpts) GetPowerCycle

func (o *EnableServerRescueModeOpts) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*EnableServerRescueModeOpts) GetPowerCycleOk

func (o *EnableServerRescueModeOpts) GetPowerCycleOk() (*bool, bool)

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

func (*EnableServerRescueModeOpts) GetRescueImageId

func (o *EnableServerRescueModeOpts) GetRescueImageId() string

GetRescueImageId returns the RescueImageId field value

func (*EnableServerRescueModeOpts) GetRescueImageIdOk

func (o *EnableServerRescueModeOpts) GetRescueImageIdOk() (*string, bool)

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

func (*EnableServerRescueModeOpts) GetSshKeys

func (o *EnableServerRescueModeOpts) GetSshKeys() string

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*EnableServerRescueModeOpts) GetSshKeysOk

func (o *EnableServerRescueModeOpts) GetSshKeysOk() (*string, bool)

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

func (*EnableServerRescueModeOpts) HasCallbackUrl

func (o *EnableServerRescueModeOpts) HasCallbackUrl() bool

HasCallbackUrl returns a boolean if a field has been set.

func (*EnableServerRescueModeOpts) HasPassword

func (o *EnableServerRescueModeOpts) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*EnableServerRescueModeOpts) HasPostInstallScript

func (o *EnableServerRescueModeOpts) HasPostInstallScript() bool

HasPostInstallScript returns a boolean if a field has been set.

func (*EnableServerRescueModeOpts) HasPowerCycle

func (o *EnableServerRescueModeOpts) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (*EnableServerRescueModeOpts) HasSshKeys

func (o *EnableServerRescueModeOpts) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (EnableServerRescueModeOpts) MarshalJSON

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

func (*EnableServerRescueModeOpts) SetCallbackUrl

func (o *EnableServerRescueModeOpts) SetCallbackUrl(v string)

SetCallbackUrl gets a reference to the given string and assigns it to the CallbackUrl field.

func (*EnableServerRescueModeOpts) SetPassword

func (o *EnableServerRescueModeOpts) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*EnableServerRescueModeOpts) SetPostInstallScript

func (o *EnableServerRescueModeOpts) SetPostInstallScript(v string)

SetPostInstallScript gets a reference to the given string and assigns it to the PostInstallScript field.

func (*EnableServerRescueModeOpts) SetPowerCycle

func (o *EnableServerRescueModeOpts) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (*EnableServerRescueModeOpts) SetRescueImageId

func (o *EnableServerRescueModeOpts) SetRescueImageId(v string)

SetRescueImageId sets field value

func (*EnableServerRescueModeOpts) SetSshKeys

func (o *EnableServerRescueModeOpts) SetSshKeys(v string)

SetSshKeys gets a reference to the given string and assigns it to the SshKeys field.

func (EnableServerRescueModeOpts) ToMap

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

func (*EnableServerRescueModeOpts) UnmarshalJSON

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

type ErrorResult

type ErrorResult struct {
	// The correlation ID of the current request.
	CorrelationId *string `json:"correlationId,omitempty"`
	// The error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human friendly description of the error.
	ErrorMessage         *string              `json:"errorMessage,omitempty"`
	ErrorDetails         *map[string][]string `json:"errorDetails,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorResult struct for ErrorResult

func NewErrorResult

func NewErrorResult() *ErrorResult

NewErrorResult instantiates a new ErrorResult 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 NewErrorResultWithDefaults

func NewErrorResultWithDefaults() *ErrorResult

NewErrorResultWithDefaults instantiates a new ErrorResult 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 (*ErrorResult) GetCorrelationId

func (o *ErrorResult) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value if set, zero value otherwise.

func (*ErrorResult) GetCorrelationIdOk

func (o *ErrorResult) GetCorrelationIdOk() (*string, bool)

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

func (*ErrorResult) GetErrorCode

func (o *ErrorResult) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorResult) GetErrorCodeOk

func (o *ErrorResult) GetErrorCodeOk() (*string, bool)

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

func (*ErrorResult) GetErrorDetails

func (o *ErrorResult) GetErrorDetails() map[string][]string

GetErrorDetails returns the ErrorDetails field value if set, zero value otherwise.

func (*ErrorResult) GetErrorDetailsOk

func (o *ErrorResult) GetErrorDetailsOk() (*map[string][]string, bool)

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

func (*ErrorResult) GetErrorMessage

func (o *ErrorResult) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*ErrorResult) GetErrorMessageOk

func (o *ErrorResult) GetErrorMessageOk() (*string, bool)

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

func (*ErrorResult) HasCorrelationId

func (o *ErrorResult) HasCorrelationId() bool

HasCorrelationId returns a boolean if a field has been set.

func (*ErrorResult) HasErrorCode

func (o *ErrorResult) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorResult) HasErrorDetails

func (o *ErrorResult) HasErrorDetails() bool

HasErrorDetails returns a boolean if a field has been set.

func (*ErrorResult) HasErrorMessage

func (o *ErrorResult) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (ErrorResult) MarshalJSON

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

func (*ErrorResult) SetCorrelationId

func (o *ErrorResult) SetCorrelationId(v string)

SetCorrelationId gets a reference to the given string and assigns it to the CorrelationId field.

func (*ErrorResult) SetErrorCode

func (o *ErrorResult) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorResult) SetErrorDetails

func (o *ErrorResult) SetErrorDetails(v map[string][]string)

SetErrorDetails gets a reference to the given map[string][]string and assigns it to the ErrorDetails field.

func (*ErrorResult) SetErrorMessage

func (o *ErrorResult) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (ErrorResult) ToMap

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

func (*ErrorResult) UnmarshalJSON

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

type FeatureAvailability

type FeatureAvailability struct {
	Automation           *bool `json:"automation,omitempty"`
	PowerCycle           *bool `json:"powerCycle,omitempty"`
	IpmiReboot           *bool `json:"ipmiReboot,omitempty"`
	PrivateNetwork       *bool `json:"privateNetwork,omitempty"`
	RemoteManagement     *bool `json:"remoteManagement,omitempty"`
	AdditionalProperties map[string]interface{}
}

FeatureAvailability List of features that are available for this device

func NewFeatureAvailability

func NewFeatureAvailability() *FeatureAvailability

NewFeatureAvailability instantiates a new FeatureAvailability 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 NewFeatureAvailabilityWithDefaults

func NewFeatureAvailabilityWithDefaults() *FeatureAvailability

NewFeatureAvailabilityWithDefaults instantiates a new FeatureAvailability 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 (*FeatureAvailability) GetAutomation

func (o *FeatureAvailability) GetAutomation() bool

GetAutomation returns the Automation field value if set, zero value otherwise.

func (*FeatureAvailability) GetAutomationOk

func (o *FeatureAvailability) GetAutomationOk() (*bool, bool)

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

func (*FeatureAvailability) GetIpmiReboot

func (o *FeatureAvailability) GetIpmiReboot() bool

GetIpmiReboot returns the IpmiReboot field value if set, zero value otherwise.

func (*FeatureAvailability) GetIpmiRebootOk

func (o *FeatureAvailability) GetIpmiRebootOk() (*bool, bool)

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

func (*FeatureAvailability) GetPowerCycle

func (o *FeatureAvailability) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*FeatureAvailability) GetPowerCycleOk

func (o *FeatureAvailability) GetPowerCycleOk() (*bool, bool)

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

func (*FeatureAvailability) GetPrivateNetwork

func (o *FeatureAvailability) GetPrivateNetwork() bool

GetPrivateNetwork returns the PrivateNetwork field value if set, zero value otherwise.

func (*FeatureAvailability) GetPrivateNetworkOk

func (o *FeatureAvailability) GetPrivateNetworkOk() (*bool, bool)

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

func (*FeatureAvailability) GetRemoteManagement

func (o *FeatureAvailability) GetRemoteManagement() bool

GetRemoteManagement returns the RemoteManagement field value if set, zero value otherwise.

func (*FeatureAvailability) GetRemoteManagementOk

func (o *FeatureAvailability) GetRemoteManagementOk() (*bool, bool)

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

func (*FeatureAvailability) HasAutomation

func (o *FeatureAvailability) HasAutomation() bool

HasAutomation returns a boolean if a field has been set.

func (*FeatureAvailability) HasIpmiReboot

func (o *FeatureAvailability) HasIpmiReboot() bool

HasIpmiReboot returns a boolean if a field has been set.

func (*FeatureAvailability) HasPowerCycle

func (o *FeatureAvailability) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (*FeatureAvailability) HasPrivateNetwork

func (o *FeatureAvailability) HasPrivateNetwork() bool

HasPrivateNetwork returns a boolean if a field has been set.

func (*FeatureAvailability) HasRemoteManagement

func (o *FeatureAvailability) HasRemoteManagement() bool

HasRemoteManagement returns a boolean if a field has been set.

func (FeatureAvailability) MarshalJSON

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

func (*FeatureAvailability) SetAutomation

func (o *FeatureAvailability) SetAutomation(v bool)

SetAutomation gets a reference to the given bool and assigns it to the Automation field.

func (*FeatureAvailability) SetIpmiReboot

func (o *FeatureAvailability) SetIpmiReboot(v bool)

SetIpmiReboot gets a reference to the given bool and assigns it to the IpmiReboot field.

func (*FeatureAvailability) SetPowerCycle

func (o *FeatureAvailability) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (*FeatureAvailability) SetPrivateNetwork

func (o *FeatureAvailability) SetPrivateNetwork(v bool)

SetPrivateNetwork gets a reference to the given bool and assigns it to the PrivateNetwork field.

func (*FeatureAvailability) SetRemoteManagement

func (o *FeatureAvailability) SetRemoteManagement(v bool)

SetRemoteManagement gets a reference to the given bool and assigns it to the RemoteManagement field.

func (FeatureAvailability) ToMap

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

func (*FeatureAvailability) UnmarshalJSON

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

type Firmware

type Firmware struct {
	Date                 *string `json:"date,omitempty"`
	Description          *string `json:"description,omitempty"`
	Vendor               *string `json:"vendor,omitempty"`
	Version              *string `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

Firmware struct for Firmware

func NewFirmware

func NewFirmware() *Firmware

NewFirmware instantiates a new Firmware 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 NewFirmwareWithDefaults

func NewFirmwareWithDefaults() *Firmware

NewFirmwareWithDefaults instantiates a new Firmware 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 (*Firmware) GetDate

func (o *Firmware) GetDate() string

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

func (*Firmware) GetDateOk

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

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

func (*Firmware) GetDescription

func (o *Firmware) GetDescription() string

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

func (*Firmware) GetDescriptionOk

func (o *Firmware) 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 (*Firmware) GetVendor

func (o *Firmware) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Firmware) GetVendorOk

func (o *Firmware) GetVendorOk() (*string, bool)

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

func (*Firmware) GetVersion

func (o *Firmware) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Firmware) GetVersionOk

func (o *Firmware) GetVersionOk() (*string, bool)

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

func (*Firmware) HasDate

func (o *Firmware) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*Firmware) HasDescription

func (o *Firmware) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Firmware) HasVendor

func (o *Firmware) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (*Firmware) HasVersion

func (o *Firmware) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Firmware) MarshalJSON

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

func (*Firmware) SetDate

func (o *Firmware) SetDate(v string)

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

func (*Firmware) SetDescription

func (o *Firmware) SetDescription(v string)

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

func (*Firmware) SetVendor

func (o *Firmware) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (*Firmware) SetVersion

func (o *Firmware) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Firmware) ToMap

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

func (*Firmware) UnmarshalJSON

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetDdosNotificationSettingResult

type GetDdosNotificationSettingResult struct {
	// Email notifications for nulling events
	Nulling *string `json:"nulling,omitempty"`
	// Email notifications for scrubbing events
	Scrubbing            *string `json:"scrubbing,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetDdosNotificationSettingResult struct for GetDdosNotificationSettingResult

func NewGetDdosNotificationSettingResult

func NewGetDdosNotificationSettingResult() *GetDdosNotificationSettingResult

NewGetDdosNotificationSettingResult instantiates a new GetDdosNotificationSettingResult 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 NewGetDdosNotificationSettingResultWithDefaults

func NewGetDdosNotificationSettingResultWithDefaults() *GetDdosNotificationSettingResult

NewGetDdosNotificationSettingResultWithDefaults instantiates a new GetDdosNotificationSettingResult 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 (*GetDdosNotificationSettingResult) GetNulling

func (o *GetDdosNotificationSettingResult) GetNulling() string

GetNulling returns the Nulling field value if set, zero value otherwise.

func (*GetDdosNotificationSettingResult) GetNullingOk

func (o *GetDdosNotificationSettingResult) GetNullingOk() (*string, bool)

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

func (*GetDdosNotificationSettingResult) GetScrubbing

func (o *GetDdosNotificationSettingResult) GetScrubbing() string

GetScrubbing returns the Scrubbing field value if set, zero value otherwise.

func (*GetDdosNotificationSettingResult) GetScrubbingOk

func (o *GetDdosNotificationSettingResult) GetScrubbingOk() (*string, bool)

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

func (*GetDdosNotificationSettingResult) HasNulling

func (o *GetDdosNotificationSettingResult) HasNulling() bool

HasNulling returns a boolean if a field has been set.

func (*GetDdosNotificationSettingResult) HasScrubbing

func (o *GetDdosNotificationSettingResult) HasScrubbing() bool

HasScrubbing returns a boolean if a field has been set.

func (GetDdosNotificationSettingResult) MarshalJSON

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

func (*GetDdosNotificationSettingResult) SetNulling

func (o *GetDdosNotificationSettingResult) SetNulling(v string)

SetNulling gets a reference to the given string and assigns it to the Nulling field.

func (*GetDdosNotificationSettingResult) SetScrubbing

func (o *GetDdosNotificationSettingResult) SetScrubbing(v string)

SetScrubbing gets a reference to the given string and assigns it to the Scrubbing field.

func (GetDdosNotificationSettingResult) ToMap

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

func (*GetDdosNotificationSettingResult) UnmarshalJSON

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

type GetNetworkEquipmentIpListResult

type GetNetworkEquipmentIpListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of IP addresses
	Ips                  []Ip `json:"ips,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetNetworkEquipmentIpListResult struct for GetNetworkEquipmentIpListResult

func NewGetNetworkEquipmentIpListResult

func NewGetNetworkEquipmentIpListResult() *GetNetworkEquipmentIpListResult

NewGetNetworkEquipmentIpListResult instantiates a new GetNetworkEquipmentIpListResult 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 NewGetNetworkEquipmentIpListResultWithDefaults

func NewGetNetworkEquipmentIpListResultWithDefaults() *GetNetworkEquipmentIpListResult

NewGetNetworkEquipmentIpListResultWithDefaults instantiates a new GetNetworkEquipmentIpListResult 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 (*GetNetworkEquipmentIpListResult) GetIps

func (o *GetNetworkEquipmentIpListResult) GetIps() []Ip

GetIps returns the Ips field value if set, zero value otherwise.

func (*GetNetworkEquipmentIpListResult) GetIpsOk

func (o *GetNetworkEquipmentIpListResult) GetIpsOk() ([]Ip, bool)

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

func (*GetNetworkEquipmentIpListResult) GetMetadata

func (o *GetNetworkEquipmentIpListResult) GetMetadata() Metadata

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

func (*GetNetworkEquipmentIpListResult) GetMetadataOk

func (o *GetNetworkEquipmentIpListResult) GetMetadataOk() (*Metadata, 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 (*GetNetworkEquipmentIpListResult) HasIps

HasIps returns a boolean if a field has been set.

func (*GetNetworkEquipmentIpListResult) HasMetadata

func (o *GetNetworkEquipmentIpListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetNetworkEquipmentIpListResult) MarshalJSON

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

func (*GetNetworkEquipmentIpListResult) SetIps

func (o *GetNetworkEquipmentIpListResult) SetIps(v []Ip)

SetIps gets a reference to the given []Ip and assigns it to the Ips field.

func (*GetNetworkEquipmentIpListResult) SetMetadata

func (o *GetNetworkEquipmentIpListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetNetworkEquipmentIpListResult) ToMap

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

func (*GetNetworkEquipmentIpListResult) UnmarshalJSON

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

type GetNetworkEquipmentListResult

type GetNetworkEquipmentListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of network equipment
	NetworkEquipments    []NetworkEquipment `json:"networkEquipments,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetNetworkEquipmentListResult struct for GetNetworkEquipmentListResult

func NewGetNetworkEquipmentListResult

func NewGetNetworkEquipmentListResult() *GetNetworkEquipmentListResult

NewGetNetworkEquipmentListResult instantiates a new GetNetworkEquipmentListResult 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 NewGetNetworkEquipmentListResultWithDefaults

func NewGetNetworkEquipmentListResultWithDefaults() *GetNetworkEquipmentListResult

NewGetNetworkEquipmentListResultWithDefaults instantiates a new GetNetworkEquipmentListResult 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 (*GetNetworkEquipmentListResult) GetMetadata

func (o *GetNetworkEquipmentListResult) GetMetadata() Metadata

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

func (*GetNetworkEquipmentListResult) GetMetadataOk

func (o *GetNetworkEquipmentListResult) GetMetadataOk() (*Metadata, 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 (*GetNetworkEquipmentListResult) GetNetworkEquipments

func (o *GetNetworkEquipmentListResult) GetNetworkEquipments() []NetworkEquipment

GetNetworkEquipments returns the NetworkEquipments field value if set, zero value otherwise.

func (*GetNetworkEquipmentListResult) GetNetworkEquipmentsOk

func (o *GetNetworkEquipmentListResult) GetNetworkEquipmentsOk() ([]NetworkEquipment, bool)

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

func (*GetNetworkEquipmentListResult) HasMetadata

func (o *GetNetworkEquipmentListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetNetworkEquipmentListResult) HasNetworkEquipments

func (o *GetNetworkEquipmentListResult) HasNetworkEquipments() bool

HasNetworkEquipments returns a boolean if a field has been set.

func (GetNetworkEquipmentListResult) MarshalJSON

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

func (*GetNetworkEquipmentListResult) SetMetadata

func (o *GetNetworkEquipmentListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetNetworkEquipmentListResult) SetNetworkEquipments

func (o *GetNetworkEquipmentListResult) SetNetworkEquipments(v []NetworkEquipment)

SetNetworkEquipments gets a reference to the given []NetworkEquipment and assigns it to the NetworkEquipments field.

func (GetNetworkEquipmentListResult) ToMap

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

func (*GetNetworkEquipmentListResult) UnmarshalJSON

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

type GetNetworkEquipmentNullRouteHistoryResult

type GetNetworkEquipmentNullRouteHistoryResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of network equipment null route events
	NullRoutes           []NullRoute `json:"nullRoutes,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetNetworkEquipmentNullRouteHistoryResult struct for GetNetworkEquipmentNullRouteHistoryResult

func NewGetNetworkEquipmentNullRouteHistoryResult

func NewGetNetworkEquipmentNullRouteHistoryResult() *GetNetworkEquipmentNullRouteHistoryResult

NewGetNetworkEquipmentNullRouteHistoryResult instantiates a new GetNetworkEquipmentNullRouteHistoryResult 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 NewGetNetworkEquipmentNullRouteHistoryResultWithDefaults

func NewGetNetworkEquipmentNullRouteHistoryResultWithDefaults() *GetNetworkEquipmentNullRouteHistoryResult

NewGetNetworkEquipmentNullRouteHistoryResultWithDefaults instantiates a new GetNetworkEquipmentNullRouteHistoryResult 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 (*GetNetworkEquipmentNullRouteHistoryResult) GetMetadata

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

func (*GetNetworkEquipmentNullRouteHistoryResult) GetMetadataOk

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 (*GetNetworkEquipmentNullRouteHistoryResult) GetNullRoutes

GetNullRoutes returns the NullRoutes field value if set, zero value otherwise.

func (*GetNetworkEquipmentNullRouteHistoryResult) GetNullRoutesOk

func (o *GetNetworkEquipmentNullRouteHistoryResult) GetNullRoutesOk() ([]NullRoute, bool)

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

func (*GetNetworkEquipmentNullRouteHistoryResult) HasMetadata

HasMetadata returns a boolean if a field has been set.

func (*GetNetworkEquipmentNullRouteHistoryResult) HasNullRoutes

HasNullRoutes returns a boolean if a field has been set.

func (GetNetworkEquipmentNullRouteHistoryResult) MarshalJSON

func (*GetNetworkEquipmentNullRouteHistoryResult) SetMetadata

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetNetworkEquipmentNullRouteHistoryResult) SetNullRoutes

SetNullRoutes gets a reference to the given []NullRoute and assigns it to the NullRoutes field.

func (GetNetworkEquipmentNullRouteHistoryResult) ToMap

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

func (*GetNetworkEquipmentNullRouteHistoryResult) UnmarshalJSON

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

type GetNetworkEquipmentPowerStatusResult

type GetNetworkEquipmentPowerStatusResult struct {
	Pdu                  *Pdu `json:"pdu,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetNetworkEquipmentPowerStatusResult struct for GetNetworkEquipmentPowerStatusResult

func NewGetNetworkEquipmentPowerStatusResult

func NewGetNetworkEquipmentPowerStatusResult() *GetNetworkEquipmentPowerStatusResult

NewGetNetworkEquipmentPowerStatusResult instantiates a new GetNetworkEquipmentPowerStatusResult 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 NewGetNetworkEquipmentPowerStatusResultWithDefaults

func NewGetNetworkEquipmentPowerStatusResultWithDefaults() *GetNetworkEquipmentPowerStatusResult

NewGetNetworkEquipmentPowerStatusResultWithDefaults instantiates a new GetNetworkEquipmentPowerStatusResult 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 (*GetNetworkEquipmentPowerStatusResult) GetPdu

GetPdu returns the Pdu field value if set, zero value otherwise.

func (*GetNetworkEquipmentPowerStatusResult) GetPduOk

func (o *GetNetworkEquipmentPowerStatusResult) GetPduOk() (*Pdu, bool)

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

func (*GetNetworkEquipmentPowerStatusResult) HasPdu

HasPdu returns a boolean if a field has been set.

func (GetNetworkEquipmentPowerStatusResult) MarshalJSON

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

func (*GetNetworkEquipmentPowerStatusResult) SetPdu

SetPdu gets a reference to the given Pdu and assigns it to the Pdu field.

func (GetNetworkEquipmentPowerStatusResult) ToMap

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

func (*GetNetworkEquipmentPowerStatusResult) UnmarshalJSON

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

type GetNetworkInterfaceListResult

type GetNetworkInterfaceListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of network interfaces
	NetworkInterfaces    []OperationNetworkInterface `json:"networkInterfaces,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetNetworkInterfaceListResult struct for GetNetworkInterfaceListResult

func NewGetNetworkInterfaceListResult

func NewGetNetworkInterfaceListResult() *GetNetworkInterfaceListResult

NewGetNetworkInterfaceListResult instantiates a new GetNetworkInterfaceListResult 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 NewGetNetworkInterfaceListResultWithDefaults

func NewGetNetworkInterfaceListResultWithDefaults() *GetNetworkInterfaceListResult

NewGetNetworkInterfaceListResultWithDefaults instantiates a new GetNetworkInterfaceListResult 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 (*GetNetworkInterfaceListResult) GetMetadata

func (o *GetNetworkInterfaceListResult) GetMetadata() Metadata

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

func (*GetNetworkInterfaceListResult) GetMetadataOk

func (o *GetNetworkInterfaceListResult) GetMetadataOk() (*Metadata, 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 (*GetNetworkInterfaceListResult) GetNetworkInterfaces

func (o *GetNetworkInterfaceListResult) GetNetworkInterfaces() []OperationNetworkInterface

GetNetworkInterfaces returns the NetworkInterfaces field value if set, zero value otherwise.

func (*GetNetworkInterfaceListResult) GetNetworkInterfacesOk

func (o *GetNetworkInterfaceListResult) GetNetworkInterfacesOk() ([]OperationNetworkInterface, bool)

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

func (*GetNetworkInterfaceListResult) HasMetadata

func (o *GetNetworkInterfaceListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetNetworkInterfaceListResult) HasNetworkInterfaces

func (o *GetNetworkInterfaceListResult) HasNetworkInterfaces() bool

HasNetworkInterfaces returns a boolean if a field has been set.

func (GetNetworkInterfaceListResult) MarshalJSON

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

func (*GetNetworkInterfaceListResult) SetMetadata

func (o *GetNetworkInterfaceListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetNetworkInterfaceListResult) SetNetworkInterfaces

func (o *GetNetworkInterfaceListResult) SetNetworkInterfaces(v []OperationNetworkInterface)

SetNetworkInterfaces gets a reference to the given []OperationNetworkInterface and assigns it to the NetworkInterfaces field.

func (GetNetworkInterfaceListResult) ToMap

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

func (*GetNetworkInterfaceListResult) UnmarshalJSON

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

type GetOperatingSystemListResult

type GetOperatingSystemListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// A list of operating systems
	OperatingSystems     []OperatingSystem `json:"operatingSystems,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetOperatingSystemListResult struct for GetOperatingSystemListResult

func NewGetOperatingSystemListResult

func NewGetOperatingSystemListResult() *GetOperatingSystemListResult

NewGetOperatingSystemListResult instantiates a new GetOperatingSystemListResult 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 NewGetOperatingSystemListResultWithDefaults

func NewGetOperatingSystemListResultWithDefaults() *GetOperatingSystemListResult

NewGetOperatingSystemListResultWithDefaults instantiates a new GetOperatingSystemListResult 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 (*GetOperatingSystemListResult) GetMetadata

func (o *GetOperatingSystemListResult) GetMetadata() Metadata

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

func (*GetOperatingSystemListResult) GetMetadataOk

func (o *GetOperatingSystemListResult) GetMetadataOk() (*Metadata, 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 (*GetOperatingSystemListResult) GetOperatingSystems

func (o *GetOperatingSystemListResult) GetOperatingSystems() []OperatingSystem

GetOperatingSystems returns the OperatingSystems field value if set, zero value otherwise.

func (*GetOperatingSystemListResult) GetOperatingSystemsOk

func (o *GetOperatingSystemListResult) GetOperatingSystemsOk() ([]OperatingSystem, bool)

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

func (*GetOperatingSystemListResult) HasMetadata

func (o *GetOperatingSystemListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetOperatingSystemListResult) HasOperatingSystems

func (o *GetOperatingSystemListResult) HasOperatingSystems() bool

HasOperatingSystems returns a boolean if a field has been set.

func (GetOperatingSystemListResult) MarshalJSON

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

func (*GetOperatingSystemListResult) SetMetadata

func (o *GetOperatingSystemListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetOperatingSystemListResult) SetOperatingSystems

func (o *GetOperatingSystemListResult) SetOperatingSystems(v []OperatingSystem)

SetOperatingSystems gets a reference to the given []OperatingSystem and assigns it to the OperatingSystems field.

func (GetOperatingSystemListResult) ToMap

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

func (*GetOperatingSystemListResult) UnmarshalJSON

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

type GetOperatingSystemResult

type GetOperatingSystemResult struct {
	// The architecture of the operating system
	Architecture *string `json:"architecture,omitempty"`
	// If the default options are configurable or not
	Configurable *bool     `json:"configurable,omitempty"`
	Defaults     *Defaults `json:"defaults,omitempty"`
	// The operating system family
	Family *string `json:"family,omitempty"`
	// The operating system ID
	Id *string `json:"id,omitempty"`
	// A human readable name for the operating system
	Name *string `json:"name,omitempty"`
	// The type of operating system
	Type *string `json:"type,omitempty"`
	// The version of the operating system
	Version *string `json:"version,omitempty"`
	// Operating system features
	Features []string `json:"features,omitempty"`
	// Operating system supported file systems
	SupportedFileSystems []string `json:"supportedFileSystems,omitempty"`
	// Operating system supported boot devices
	SupportedBootDevices []string `json:"supportedBootDevices,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetOperatingSystemResult struct for GetOperatingSystemResult

func NewGetOperatingSystemResult

func NewGetOperatingSystemResult() *GetOperatingSystemResult

NewGetOperatingSystemResult instantiates a new GetOperatingSystemResult 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 NewGetOperatingSystemResultWithDefaults

func NewGetOperatingSystemResultWithDefaults() *GetOperatingSystemResult

NewGetOperatingSystemResultWithDefaults instantiates a new GetOperatingSystemResult 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 (*GetOperatingSystemResult) GetArchitecture

func (o *GetOperatingSystemResult) GetArchitecture() string

GetArchitecture returns the Architecture field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetArchitectureOk

func (o *GetOperatingSystemResult) GetArchitectureOk() (*string, bool)

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

func (*GetOperatingSystemResult) GetConfigurable

func (o *GetOperatingSystemResult) GetConfigurable() bool

GetConfigurable returns the Configurable field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetConfigurableOk

func (o *GetOperatingSystemResult) GetConfigurableOk() (*bool, bool)

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

func (*GetOperatingSystemResult) GetDefaults

func (o *GetOperatingSystemResult) GetDefaults() Defaults

GetDefaults returns the Defaults field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetDefaultsOk

func (o *GetOperatingSystemResult) GetDefaultsOk() (*Defaults, bool)

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

func (*GetOperatingSystemResult) GetFamily

func (o *GetOperatingSystemResult) GetFamily() string

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

func (*GetOperatingSystemResult) GetFamilyOk

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

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

func (*GetOperatingSystemResult) GetFeatures

func (o *GetOperatingSystemResult) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetFeaturesOk

func (o *GetOperatingSystemResult) GetFeaturesOk() ([]string, bool)

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

func (*GetOperatingSystemResult) GetId

func (o *GetOperatingSystemResult) GetId() string

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

func (*GetOperatingSystemResult) GetIdOk

func (o *GetOperatingSystemResult) 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 (*GetOperatingSystemResult) GetName

func (o *GetOperatingSystemResult) GetName() string

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

func (*GetOperatingSystemResult) GetNameOk

func (o *GetOperatingSystemResult) 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 (*GetOperatingSystemResult) GetSupportedBootDevices

func (o *GetOperatingSystemResult) GetSupportedBootDevices() []string

GetSupportedBootDevices returns the SupportedBootDevices field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetSupportedBootDevicesOk

func (o *GetOperatingSystemResult) GetSupportedBootDevicesOk() ([]string, bool)

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

func (*GetOperatingSystemResult) GetSupportedFileSystems

func (o *GetOperatingSystemResult) GetSupportedFileSystems() []string

GetSupportedFileSystems returns the SupportedFileSystems field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetSupportedFileSystemsOk

func (o *GetOperatingSystemResult) GetSupportedFileSystemsOk() ([]string, bool)

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

func (*GetOperatingSystemResult) GetType

func (o *GetOperatingSystemResult) GetType() string

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

func (*GetOperatingSystemResult) GetTypeOk

func (o *GetOperatingSystemResult) GetTypeOk() (*string, bool)

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

func (*GetOperatingSystemResult) GetVersion

func (o *GetOperatingSystemResult) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*GetOperatingSystemResult) GetVersionOk

func (o *GetOperatingSystemResult) GetVersionOk() (*string, bool)

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

func (*GetOperatingSystemResult) HasArchitecture

func (o *GetOperatingSystemResult) HasArchitecture() bool

HasArchitecture returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasConfigurable

func (o *GetOperatingSystemResult) HasConfigurable() bool

HasConfigurable returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasDefaults

func (o *GetOperatingSystemResult) HasDefaults() bool

HasDefaults returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasFamily

func (o *GetOperatingSystemResult) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasFeatures

func (o *GetOperatingSystemResult) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasId

func (o *GetOperatingSystemResult) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasName

func (o *GetOperatingSystemResult) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasSupportedBootDevices

func (o *GetOperatingSystemResult) HasSupportedBootDevices() bool

HasSupportedBootDevices returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasSupportedFileSystems

func (o *GetOperatingSystemResult) HasSupportedFileSystems() bool

HasSupportedFileSystems returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasType

func (o *GetOperatingSystemResult) HasType() bool

HasType returns a boolean if a field has been set.

func (*GetOperatingSystemResult) HasVersion

func (o *GetOperatingSystemResult) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetOperatingSystemResult) MarshalJSON

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

func (*GetOperatingSystemResult) SetArchitecture

func (o *GetOperatingSystemResult) SetArchitecture(v string)

SetArchitecture gets a reference to the given string and assigns it to the Architecture field.

func (*GetOperatingSystemResult) SetConfigurable

func (o *GetOperatingSystemResult) SetConfigurable(v bool)

SetConfigurable gets a reference to the given bool and assigns it to the Configurable field.

func (*GetOperatingSystemResult) SetDefaults

func (o *GetOperatingSystemResult) SetDefaults(v Defaults)

SetDefaults gets a reference to the given Defaults and assigns it to the Defaults field.

func (*GetOperatingSystemResult) SetFamily

func (o *GetOperatingSystemResult) SetFamily(v string)

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

func (*GetOperatingSystemResult) SetFeatures

func (o *GetOperatingSystemResult) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*GetOperatingSystemResult) SetId

func (o *GetOperatingSystemResult) SetId(v string)

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

func (*GetOperatingSystemResult) SetName

func (o *GetOperatingSystemResult) SetName(v string)

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

func (*GetOperatingSystemResult) SetSupportedBootDevices

func (o *GetOperatingSystemResult) SetSupportedBootDevices(v []string)

SetSupportedBootDevices gets a reference to the given []string and assigns it to the SupportedBootDevices field.

func (*GetOperatingSystemResult) SetSupportedFileSystems

func (o *GetOperatingSystemResult) SetSupportedFileSystems(v []string)

SetSupportedFileSystems gets a reference to the given []string and assigns it to the SupportedFileSystems field.

func (*GetOperatingSystemResult) SetType

func (o *GetOperatingSystemResult) SetType(v string)

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

func (*GetOperatingSystemResult) SetVersion

func (o *GetOperatingSystemResult) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (GetOperatingSystemResult) ToMap

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

func (*GetOperatingSystemResult) UnmarshalJSON

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

type GetRescueImageListResult

type GetRescueImageListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// A list of operating systems
	RescueImages         []RescueImage `json:"rescueImages,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetRescueImageListResult struct for GetRescueImageListResult

func NewGetRescueImageListResult

func NewGetRescueImageListResult() *GetRescueImageListResult

NewGetRescueImageListResult instantiates a new GetRescueImageListResult 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 NewGetRescueImageListResultWithDefaults

func NewGetRescueImageListResultWithDefaults() *GetRescueImageListResult

NewGetRescueImageListResultWithDefaults instantiates a new GetRescueImageListResult 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 (*GetRescueImageListResult) GetMetadata

func (o *GetRescueImageListResult) GetMetadata() Metadata

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

func (*GetRescueImageListResult) GetMetadataOk

func (o *GetRescueImageListResult) GetMetadataOk() (*Metadata, 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 (*GetRescueImageListResult) GetRescueImages

func (o *GetRescueImageListResult) GetRescueImages() []RescueImage

GetRescueImages returns the RescueImages field value if set, zero value otherwise.

func (*GetRescueImageListResult) GetRescueImagesOk

func (o *GetRescueImageListResult) GetRescueImagesOk() ([]RescueImage, bool)

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

func (*GetRescueImageListResult) HasMetadata

func (o *GetRescueImageListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetRescueImageListResult) HasRescueImages

func (o *GetRescueImageListResult) HasRescueImages() bool

HasRescueImages returns a boolean if a field has been set.

func (GetRescueImageListResult) MarshalJSON

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

func (*GetRescueImageListResult) SetMetadata

func (o *GetRescueImageListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetRescueImageListResult) SetRescueImages

func (o *GetRescueImageListResult) SetRescueImages(v []RescueImage)

SetRescueImages gets a reference to the given []RescueImage and assigns it to the RescueImages field.

func (GetRescueImageListResult) ToMap

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

func (*GetRescueImageListResult) UnmarshalJSON

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

type GetServerBandwidthNotificationSettingListResult

type GetServerBandwidthNotificationSettingListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of Bandwidth Notification Settings
	BandwidthNotificationSettings []BandwidthNotificationSetting `json:"bandwidthNotificationSettings,omitempty"`
	AdditionalProperties          map[string]interface{}
}

GetServerBandwidthNotificationSettingListResult struct for GetServerBandwidthNotificationSettingListResult

func NewGetServerBandwidthNotificationSettingListResult

func NewGetServerBandwidthNotificationSettingListResult() *GetServerBandwidthNotificationSettingListResult

NewGetServerBandwidthNotificationSettingListResult instantiates a new GetServerBandwidthNotificationSettingListResult 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 NewGetServerBandwidthNotificationSettingListResultWithDefaults

func NewGetServerBandwidthNotificationSettingListResultWithDefaults() *GetServerBandwidthNotificationSettingListResult

NewGetServerBandwidthNotificationSettingListResultWithDefaults instantiates a new GetServerBandwidthNotificationSettingListResult 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 (*GetServerBandwidthNotificationSettingListResult) GetBandwidthNotificationSettings

func (o *GetServerBandwidthNotificationSettingListResult) GetBandwidthNotificationSettings() []BandwidthNotificationSetting

GetBandwidthNotificationSettings returns the BandwidthNotificationSettings field value if set, zero value otherwise.

func (*GetServerBandwidthNotificationSettingListResult) GetBandwidthNotificationSettingsOk

func (o *GetServerBandwidthNotificationSettingListResult) GetBandwidthNotificationSettingsOk() ([]BandwidthNotificationSetting, bool)

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

func (*GetServerBandwidthNotificationSettingListResult) GetMetadata

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

func (*GetServerBandwidthNotificationSettingListResult) GetMetadataOk

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 (*GetServerBandwidthNotificationSettingListResult) HasBandwidthNotificationSettings

func (o *GetServerBandwidthNotificationSettingListResult) HasBandwidthNotificationSettings() bool

HasBandwidthNotificationSettings returns a boolean if a field has been set.

func (*GetServerBandwidthNotificationSettingListResult) HasMetadata

HasMetadata returns a boolean if a field has been set.

func (GetServerBandwidthNotificationSettingListResult) MarshalJSON

func (*GetServerBandwidthNotificationSettingListResult) SetBandwidthNotificationSettings

func (o *GetServerBandwidthNotificationSettingListResult) SetBandwidthNotificationSettings(v []BandwidthNotificationSetting)

SetBandwidthNotificationSettings gets a reference to the given []BandwidthNotificationSetting and assigns it to the BandwidthNotificationSettings field.

func (*GetServerBandwidthNotificationSettingListResult) SetMetadata

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetServerBandwidthNotificationSettingListResult) ToMap

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

func (*GetServerBandwidthNotificationSettingListResult) UnmarshalJSON

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

type GetServerDataTrafficNotificationSettingListResult

type GetServerDataTrafficNotificationSettingListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of Data traffic Notification Settings
	DatatrafficNotificationSettings []DataTrafficNotificationSetting `json:"datatrafficNotificationSettings,omitempty"`
	AdditionalProperties            map[string]interface{}
}

GetServerDataTrafficNotificationSettingListResult struct for GetServerDataTrafficNotificationSettingListResult

func NewGetServerDataTrafficNotificationSettingListResult

func NewGetServerDataTrafficNotificationSettingListResult() *GetServerDataTrafficNotificationSettingListResult

NewGetServerDataTrafficNotificationSettingListResult instantiates a new GetServerDataTrafficNotificationSettingListResult 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 NewGetServerDataTrafficNotificationSettingListResultWithDefaults

func NewGetServerDataTrafficNotificationSettingListResultWithDefaults() *GetServerDataTrafficNotificationSettingListResult

NewGetServerDataTrafficNotificationSettingListResultWithDefaults instantiates a new GetServerDataTrafficNotificationSettingListResult 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 (*GetServerDataTrafficNotificationSettingListResult) GetDatatrafficNotificationSettings

GetDatatrafficNotificationSettings returns the DatatrafficNotificationSettings field value if set, zero value otherwise.

func (*GetServerDataTrafficNotificationSettingListResult) GetDatatrafficNotificationSettingsOk

func (o *GetServerDataTrafficNotificationSettingListResult) GetDatatrafficNotificationSettingsOk() ([]DataTrafficNotificationSetting, bool)

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

func (*GetServerDataTrafficNotificationSettingListResult) GetMetadata

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

func (*GetServerDataTrafficNotificationSettingListResult) GetMetadataOk

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 (*GetServerDataTrafficNotificationSettingListResult) HasDatatrafficNotificationSettings

func (o *GetServerDataTrafficNotificationSettingListResult) HasDatatrafficNotificationSettings() bool

HasDatatrafficNotificationSettings returns a boolean if a field has been set.

func (*GetServerDataTrafficNotificationSettingListResult) HasMetadata

HasMetadata returns a boolean if a field has been set.

func (GetServerDataTrafficNotificationSettingListResult) MarshalJSON

func (*GetServerDataTrafficNotificationSettingListResult) SetDatatrafficNotificationSettings

func (o *GetServerDataTrafficNotificationSettingListResult) SetDatatrafficNotificationSettings(v []DataTrafficNotificationSetting)

SetDatatrafficNotificationSettings gets a reference to the given []DataTrafficNotificationSetting and assigns it to the DatatrafficNotificationSettings field.

func (*GetServerDataTrafficNotificationSettingListResult) SetMetadata

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetServerDataTrafficNotificationSettingListResult) ToMap

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

func (*GetServerDataTrafficNotificationSettingListResult) UnmarshalJSON

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

type GetServerDhcpReservationListResult

type GetServerDhcpReservationListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of active DHCP reservations
	Leases               []Lease `json:"leases,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServerDhcpReservationListResult struct for GetServerDhcpReservationListResult

func NewGetServerDhcpReservationListResult

func NewGetServerDhcpReservationListResult() *GetServerDhcpReservationListResult

NewGetServerDhcpReservationListResult instantiates a new GetServerDhcpReservationListResult 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 NewGetServerDhcpReservationListResultWithDefaults

func NewGetServerDhcpReservationListResultWithDefaults() *GetServerDhcpReservationListResult

NewGetServerDhcpReservationListResultWithDefaults instantiates a new GetServerDhcpReservationListResult 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 (*GetServerDhcpReservationListResult) GetLeases

func (o *GetServerDhcpReservationListResult) GetLeases() []Lease

GetLeases returns the Leases field value if set, zero value otherwise.

func (*GetServerDhcpReservationListResult) GetLeasesOk

func (o *GetServerDhcpReservationListResult) GetLeasesOk() ([]Lease, bool)

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

func (*GetServerDhcpReservationListResult) GetMetadata

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

func (*GetServerDhcpReservationListResult) GetMetadataOk

func (o *GetServerDhcpReservationListResult) GetMetadataOk() (*Metadata, 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 (*GetServerDhcpReservationListResult) HasLeases

HasLeases returns a boolean if a field has been set.

func (*GetServerDhcpReservationListResult) HasMetadata

func (o *GetServerDhcpReservationListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (GetServerDhcpReservationListResult) MarshalJSON

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

func (*GetServerDhcpReservationListResult) SetLeases

func (o *GetServerDhcpReservationListResult) SetLeases(v []Lease)

SetLeases gets a reference to the given []Lease and assigns it to the Leases field.

func (*GetServerDhcpReservationListResult) SetMetadata

func (o *GetServerDhcpReservationListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (GetServerDhcpReservationListResult) ToMap

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

func (*GetServerDhcpReservationListResult) UnmarshalJSON

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

type GetServerHardwareResult

type GetServerHardwareResult struct {
	// Id of this hardware scan result
	Id *string `json:"id,omitempty"`
	// Version of the parser used for this hardware info
	ParserVersion *string `json:"parserVersion,omitempty"`
	Result        *Result `json:"result,omitempty"`
	// Timestamp of hardware scan, the ISO-8601 format
	ScannedAt            *time.Time `json:"scannedAt,omitempty"`
	ServerId             *string    `json:"serverId,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServerHardwareResult struct for GetServerHardwareResult

func NewGetServerHardwareResult

func NewGetServerHardwareResult() *GetServerHardwareResult

NewGetServerHardwareResult instantiates a new GetServerHardwareResult 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 NewGetServerHardwareResultWithDefaults

func NewGetServerHardwareResultWithDefaults() *GetServerHardwareResult

NewGetServerHardwareResultWithDefaults instantiates a new GetServerHardwareResult 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 (*GetServerHardwareResult) GetId

func (o *GetServerHardwareResult) GetId() string

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

func (*GetServerHardwareResult) GetIdOk

func (o *GetServerHardwareResult) 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 (*GetServerHardwareResult) GetParserVersion

func (o *GetServerHardwareResult) GetParserVersion() string

GetParserVersion returns the ParserVersion field value if set, zero value otherwise.

func (*GetServerHardwareResult) GetParserVersionOk

func (o *GetServerHardwareResult) GetParserVersionOk() (*string, bool)

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

func (*GetServerHardwareResult) GetResult

func (o *GetServerHardwareResult) GetResult() Result

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

func (*GetServerHardwareResult) GetResultOk

func (o *GetServerHardwareResult) GetResultOk() (*Result, 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 (*GetServerHardwareResult) GetScannedAt

func (o *GetServerHardwareResult) GetScannedAt() time.Time

GetScannedAt returns the ScannedAt field value if set, zero value otherwise.

func (*GetServerHardwareResult) GetScannedAtOk

func (o *GetServerHardwareResult) GetScannedAtOk() (*time.Time, bool)

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

func (*GetServerHardwareResult) GetServerId

func (o *GetServerHardwareResult) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*GetServerHardwareResult) GetServerIdOk

func (o *GetServerHardwareResult) GetServerIdOk() (*string, bool)

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

func (*GetServerHardwareResult) HasId

func (o *GetServerHardwareResult) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetServerHardwareResult) HasParserVersion

func (o *GetServerHardwareResult) HasParserVersion() bool

HasParserVersion returns a boolean if a field has been set.

func (*GetServerHardwareResult) HasResult

func (o *GetServerHardwareResult) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*GetServerHardwareResult) HasScannedAt

func (o *GetServerHardwareResult) HasScannedAt() bool

HasScannedAt returns a boolean if a field has been set.

func (*GetServerHardwareResult) HasServerId

func (o *GetServerHardwareResult) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (GetServerHardwareResult) MarshalJSON

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

func (*GetServerHardwareResult) SetId

func (o *GetServerHardwareResult) SetId(v string)

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

func (*GetServerHardwareResult) SetParserVersion

func (o *GetServerHardwareResult) SetParserVersion(v string)

SetParserVersion gets a reference to the given string and assigns it to the ParserVersion field.

func (*GetServerHardwareResult) SetResult

func (o *GetServerHardwareResult) SetResult(v Result)

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

func (*GetServerHardwareResult) SetScannedAt

func (o *GetServerHardwareResult) SetScannedAt(v time.Time)

SetScannedAt gets a reference to the given time.Time and assigns it to the ScannedAt field.

func (*GetServerHardwareResult) SetServerId

func (o *GetServerHardwareResult) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (GetServerHardwareResult) ToMap

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

func (*GetServerHardwareResult) UnmarshalJSON

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

type GetServerListResult

type GetServerListResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of servers
	Servers              []Server `json:"servers,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServerListResult struct for GetServerListResult

func NewGetServerListResult

func NewGetServerListResult() *GetServerListResult

NewGetServerListResult instantiates a new GetServerListResult 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 NewGetServerListResultWithDefaults

func NewGetServerListResultWithDefaults() *GetServerListResult

NewGetServerListResultWithDefaults instantiates a new GetServerListResult 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 (*GetServerListResult) GetMetadata

func (o *GetServerListResult) GetMetadata() Metadata

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

func (*GetServerListResult) GetMetadataOk

func (o *GetServerListResult) GetMetadataOk() (*Metadata, 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 (*GetServerListResult) GetServers

func (o *GetServerListResult) GetServers() []Server

GetServers returns the Servers field value if set, zero value otherwise.

func (*GetServerListResult) GetServersOk

func (o *GetServerListResult) GetServersOk() ([]Server, bool)

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

func (*GetServerListResult) HasMetadata

func (o *GetServerListResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetServerListResult) HasServers

func (o *GetServerListResult) HasServers() bool

HasServers returns a boolean if a field has been set.

func (GetServerListResult) MarshalJSON

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

func (*GetServerListResult) SetMetadata

func (o *GetServerListResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetServerListResult) SetServers

func (o *GetServerListResult) SetServers(v []Server)

SetServers gets a reference to the given []Server and assigns it to the Servers field.

func (GetServerListResult) ToMap

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

func (*GetServerListResult) UnmarshalJSON

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

type GetServerNullRouteHistoryResult

type GetServerNullRouteHistoryResult struct {
	Metadata *Metadata `json:"_metadata,omitempty"`
	// An array of server null route events
	NullRoutes           []NullRoute `json:"nullRoutes,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServerNullRouteHistoryResult struct for GetServerNullRouteHistoryResult

func NewGetServerNullRouteHistoryResult

func NewGetServerNullRouteHistoryResult() *GetServerNullRouteHistoryResult

NewGetServerNullRouteHistoryResult instantiates a new GetServerNullRouteHistoryResult 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 NewGetServerNullRouteHistoryResultWithDefaults

func NewGetServerNullRouteHistoryResultWithDefaults() *GetServerNullRouteHistoryResult

NewGetServerNullRouteHistoryResultWithDefaults instantiates a new GetServerNullRouteHistoryResult 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 (*GetServerNullRouteHistoryResult) GetMetadata

func (o *GetServerNullRouteHistoryResult) GetMetadata() Metadata

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

func (*GetServerNullRouteHistoryResult) GetMetadataOk

func (o *GetServerNullRouteHistoryResult) GetMetadataOk() (*Metadata, 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 (*GetServerNullRouteHistoryResult) GetNullRoutes

func (o *GetServerNullRouteHistoryResult) GetNullRoutes() []NullRoute

GetNullRoutes returns the NullRoutes field value if set, zero value otherwise.

func (*GetServerNullRouteHistoryResult) GetNullRoutesOk

func (o *GetServerNullRouteHistoryResult) GetNullRoutesOk() ([]NullRoute, bool)

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

func (*GetServerNullRouteHistoryResult) HasMetadata

func (o *GetServerNullRouteHistoryResult) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GetServerNullRouteHistoryResult) HasNullRoutes

func (o *GetServerNullRouteHistoryResult) HasNullRoutes() bool

HasNullRoutes returns a boolean if a field has been set.

func (GetServerNullRouteHistoryResult) MarshalJSON

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

func (*GetServerNullRouteHistoryResult) SetMetadata

func (o *GetServerNullRouteHistoryResult) SetMetadata(v Metadata)

SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.

func (*GetServerNullRouteHistoryResult) SetNullRoutes

func (o *GetServerNullRouteHistoryResult) SetNullRoutes(v []NullRoute)

SetNullRoutes gets a reference to the given []NullRoute and assigns it to the NullRoutes field.

func (GetServerNullRouteHistoryResult) ToMap

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

func (*GetServerNullRouteHistoryResult) UnmarshalJSON

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

type GetServerPowerStatusResult

type GetServerPowerStatusResult struct {
	Ipmi                 *Ipmi `json:"ipmi,omitempty"`
	Pdu                  *Pdu  `json:"pdu,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetServerPowerStatusResult struct for GetServerPowerStatusResult

func NewGetServerPowerStatusResult

func NewGetServerPowerStatusResult() *GetServerPowerStatusResult

NewGetServerPowerStatusResult instantiates a new GetServerPowerStatusResult 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 NewGetServerPowerStatusResultWithDefaults

func NewGetServerPowerStatusResultWithDefaults() *GetServerPowerStatusResult

NewGetServerPowerStatusResultWithDefaults instantiates a new GetServerPowerStatusResult 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 (*GetServerPowerStatusResult) GetIpmi

func (o *GetServerPowerStatusResult) GetIpmi() Ipmi

GetIpmi returns the Ipmi field value if set, zero value otherwise.

func (*GetServerPowerStatusResult) GetIpmiOk

func (o *GetServerPowerStatusResult) GetIpmiOk() (*Ipmi, bool)

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

func (*GetServerPowerStatusResult) GetPdu

func (o *GetServerPowerStatusResult) GetPdu() Pdu

GetPdu returns the Pdu field value if set, zero value otherwise.

func (*GetServerPowerStatusResult) GetPduOk

func (o *GetServerPowerStatusResult) GetPduOk() (*Pdu, bool)

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

func (*GetServerPowerStatusResult) HasIpmi

func (o *GetServerPowerStatusResult) HasIpmi() bool

HasIpmi returns a boolean if a field has been set.

func (*GetServerPowerStatusResult) HasPdu

func (o *GetServerPowerStatusResult) HasPdu() bool

HasPdu returns a boolean if a field has been set.

func (GetServerPowerStatusResult) MarshalJSON

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

func (*GetServerPowerStatusResult) SetIpmi

func (o *GetServerPowerStatusResult) SetIpmi(v Ipmi)

SetIpmi gets a reference to the given Ipmi and assigns it to the Ipmi field.

func (*GetServerPowerStatusResult) SetPdu

func (o *GetServerPowerStatusResult) SetPdu(v Pdu)

SetPdu gets a reference to the given Pdu and assigns it to the Pdu field.

func (GetServerPowerStatusResult) ToMap

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

func (*GetServerPowerStatusResult) UnmarshalJSON

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

type Hdd

type Hdd struct {
	// Id of the hard disk drive
	Id *string `json:"id,omitempty"`
	// The total amount of hard disk drives
	Amount *int32 `json:"amount,omitempty"`
	// The size number of the hard disk drive
	Size *float32 `json:"size,omitempty"`
	// The type of the hard disk drive
	Type *string `json:"type,omitempty"`
	// The unit of the hard disk drive
	Unit *string `json:"unit,omitempty"`
	// Hard disk drive performance type
	PerformanceType      NullableString `json:"performanceType,omitempty"`
	AdditionalProperties map[string]interface{}
}

Hdd A single object of the hard disk drive

func NewHdd

func NewHdd() *Hdd

NewHdd instantiates a new Hdd 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 NewHddWithDefaults

func NewHddWithDefaults() *Hdd

NewHddWithDefaults instantiates a new Hdd 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 (*Hdd) GetAmount

func (o *Hdd) GetAmount() int32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Hdd) GetAmountOk

func (o *Hdd) GetAmountOk() (*int32, bool)

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

func (*Hdd) GetId

func (o *Hdd) GetId() string

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

func (*Hdd) GetIdOk

func (o *Hdd) 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 (*Hdd) GetPerformanceType

func (o *Hdd) GetPerformanceType() string

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

func (*Hdd) GetPerformanceTypeOk

func (o *Hdd) GetPerformanceTypeOk() (*string, bool)

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

func (*Hdd) GetSize

func (o *Hdd) GetSize() float32

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

func (*Hdd) GetSizeOk

func (o *Hdd) GetSizeOk() (*float32, 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 (*Hdd) GetType

func (o *Hdd) GetType() string

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

func (*Hdd) GetTypeOk

func (o *Hdd) GetTypeOk() (*string, bool)

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

func (*Hdd) GetUnit

func (o *Hdd) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*Hdd) GetUnitOk

func (o *Hdd) GetUnitOk() (*string, bool)

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

func (*Hdd) HasAmount

func (o *Hdd) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Hdd) HasId

func (o *Hdd) HasId() bool

HasId returns a boolean if a field has been set.

func (*Hdd) HasPerformanceType

func (o *Hdd) HasPerformanceType() bool

HasPerformanceType returns a boolean if a field has been set.

func (*Hdd) HasSize

func (o *Hdd) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Hdd) HasType

func (o *Hdd) HasType() bool

HasType returns a boolean if a field has been set.

func (*Hdd) HasUnit

func (o *Hdd) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (Hdd) MarshalJSON

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

func (*Hdd) SetAmount

func (o *Hdd) SetAmount(v int32)

SetAmount gets a reference to the given int32 and assigns it to the Amount field.

func (*Hdd) SetId

func (o *Hdd) SetId(v string)

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

func (*Hdd) SetPerformanceType

func (o *Hdd) SetPerformanceType(v string)

SetPerformanceType gets a reference to the given NullableString and assigns it to the PerformanceType field.

func (*Hdd) SetPerformanceTypeNil

func (o *Hdd) SetPerformanceTypeNil()

SetPerformanceTypeNil sets the value for PerformanceType to be an explicit nil

func (*Hdd) SetSize

func (o *Hdd) SetSize(v float32)

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

func (*Hdd) SetType

func (o *Hdd) SetType(v string)

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

func (*Hdd) SetUnit

func (o *Hdd) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (Hdd) ToMap

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

func (*Hdd) UnmarshalJSON

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

func (*Hdd) UnsetPerformanceType

func (o *Hdd) UnsetPerformanceType()

UnsetPerformanceType ensures that no value is present for PerformanceType, not even an explicit nil

type InstallOperatingSystemOpts

type InstallOperatingSystemOpts struct {
	// Url which will receive callbacks when the installation is finished or failed
	CallbackUrl *string `json:"callbackUrl,omitempty"`
	// Control panel identifier
	ControlPanelId *string `json:"controlPanelId,omitempty"`
	// Block devices in a disk set in which the partitions will be installed. Supported values are any disk set id, SATA_SAS or NVME
	Device *string `json:"device,omitempty"`
	// Hostname to be used in your installation
	Hostname *string `json:"hostname,omitempty"`
	// Operating system identifier
	OperatingSystemId string `json:"operatingSystemId"`
	// Array of partition objects that should be installed per partition
	Partitions []Partition `json:"partitions,omitempty"`
	// Server root password. If not provided, it would be automatically generated
	Password *string `json:"password,omitempty"`
	// Base64 Encoded string containing a valid bash script to be run right after the installation
	PostInstallScript *string `json:"postInstallScript,omitempty"`
	// If true, allows system reboots to happen automatically within the process. Otherwise, you should do them manually
	PowerCycle *bool `json:"powerCycle,omitempty"`
	Raid       *Raid `json:"raid,omitempty"`
	// List of public sshKeys to be setup in your installation, separated by new lines
	SshKeys *string `json:"sshKeys,omitempty"`
	// Timezone represented as Geographical_Area/City
	Timezone             *string `json:"timezone,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstallOperatingSystemOpts struct for InstallOperatingSystemOpts

func NewInstallOperatingSystemOpts

func NewInstallOperatingSystemOpts(operatingSystemId string) *InstallOperatingSystemOpts

NewInstallOperatingSystemOpts instantiates a new InstallOperatingSystemOpts 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 NewInstallOperatingSystemOptsWithDefaults

func NewInstallOperatingSystemOptsWithDefaults() *InstallOperatingSystemOpts

NewInstallOperatingSystemOptsWithDefaults instantiates a new InstallOperatingSystemOpts 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 (*InstallOperatingSystemOpts) GetCallbackUrl

func (o *InstallOperatingSystemOpts) GetCallbackUrl() string

GetCallbackUrl returns the CallbackUrl field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetCallbackUrlOk

func (o *InstallOperatingSystemOpts) GetCallbackUrlOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetControlPanelId

func (o *InstallOperatingSystemOpts) GetControlPanelId() string

GetControlPanelId returns the ControlPanelId field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetControlPanelIdOk

func (o *InstallOperatingSystemOpts) GetControlPanelIdOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetDevice

func (o *InstallOperatingSystemOpts) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetDeviceOk

func (o *InstallOperatingSystemOpts) GetDeviceOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetHostname

func (o *InstallOperatingSystemOpts) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetHostnameOk

func (o *InstallOperatingSystemOpts) GetHostnameOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetOperatingSystemId

func (o *InstallOperatingSystemOpts) GetOperatingSystemId() string

GetOperatingSystemId returns the OperatingSystemId field value

func (*InstallOperatingSystemOpts) GetOperatingSystemIdOk

func (o *InstallOperatingSystemOpts) GetOperatingSystemIdOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetPartitions

func (o *InstallOperatingSystemOpts) GetPartitions() []Partition

GetPartitions returns the Partitions field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetPartitionsOk

func (o *InstallOperatingSystemOpts) GetPartitionsOk() ([]Partition, bool)

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

func (*InstallOperatingSystemOpts) GetPassword

func (o *InstallOperatingSystemOpts) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetPasswordOk

func (o *InstallOperatingSystemOpts) GetPasswordOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetPostInstallScript

func (o *InstallOperatingSystemOpts) GetPostInstallScript() string

GetPostInstallScript returns the PostInstallScript field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetPostInstallScriptOk

func (o *InstallOperatingSystemOpts) GetPostInstallScriptOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetPowerCycle

func (o *InstallOperatingSystemOpts) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetPowerCycleOk

func (o *InstallOperatingSystemOpts) GetPowerCycleOk() (*bool, bool)

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

func (*InstallOperatingSystemOpts) GetRaid

func (o *InstallOperatingSystemOpts) GetRaid() Raid

GetRaid returns the Raid field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetRaidOk

func (o *InstallOperatingSystemOpts) GetRaidOk() (*Raid, bool)

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

func (*InstallOperatingSystemOpts) GetSshKeys

func (o *InstallOperatingSystemOpts) GetSshKeys() string

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*InstallOperatingSystemOpts) GetSshKeysOk

func (o *InstallOperatingSystemOpts) GetSshKeysOk() (*string, bool)

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

func (*InstallOperatingSystemOpts) GetTimezone

func (o *InstallOperatingSystemOpts) GetTimezone() string

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

func (*InstallOperatingSystemOpts) GetTimezoneOk

func (o *InstallOperatingSystemOpts) 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 (*InstallOperatingSystemOpts) HasCallbackUrl

func (o *InstallOperatingSystemOpts) HasCallbackUrl() bool

HasCallbackUrl returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasControlPanelId

func (o *InstallOperatingSystemOpts) HasControlPanelId() bool

HasControlPanelId returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasDevice

func (o *InstallOperatingSystemOpts) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasHostname

func (o *InstallOperatingSystemOpts) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasPartitions

func (o *InstallOperatingSystemOpts) HasPartitions() bool

HasPartitions returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasPassword

func (o *InstallOperatingSystemOpts) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasPostInstallScript

func (o *InstallOperatingSystemOpts) HasPostInstallScript() bool

HasPostInstallScript returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasPowerCycle

func (o *InstallOperatingSystemOpts) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasRaid

func (o *InstallOperatingSystemOpts) HasRaid() bool

HasRaid returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasSshKeys

func (o *InstallOperatingSystemOpts) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*InstallOperatingSystemOpts) HasTimezone

func (o *InstallOperatingSystemOpts) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (InstallOperatingSystemOpts) MarshalJSON

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

func (*InstallOperatingSystemOpts) SetCallbackUrl

func (o *InstallOperatingSystemOpts) SetCallbackUrl(v string)

SetCallbackUrl gets a reference to the given string and assigns it to the CallbackUrl field.

func (*InstallOperatingSystemOpts) SetControlPanelId

func (o *InstallOperatingSystemOpts) SetControlPanelId(v string)

SetControlPanelId gets a reference to the given string and assigns it to the ControlPanelId field.

func (*InstallOperatingSystemOpts) SetDevice

func (o *InstallOperatingSystemOpts) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*InstallOperatingSystemOpts) SetHostname

func (o *InstallOperatingSystemOpts) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*InstallOperatingSystemOpts) SetOperatingSystemId

func (o *InstallOperatingSystemOpts) SetOperatingSystemId(v string)

SetOperatingSystemId sets field value

func (*InstallOperatingSystemOpts) SetPartitions

func (o *InstallOperatingSystemOpts) SetPartitions(v []Partition)

SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.

func (*InstallOperatingSystemOpts) SetPassword

func (o *InstallOperatingSystemOpts) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*InstallOperatingSystemOpts) SetPostInstallScript

func (o *InstallOperatingSystemOpts) SetPostInstallScript(v string)

SetPostInstallScript gets a reference to the given string and assigns it to the PostInstallScript field.

func (*InstallOperatingSystemOpts) SetPowerCycle

func (o *InstallOperatingSystemOpts) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (*InstallOperatingSystemOpts) SetRaid

func (o *InstallOperatingSystemOpts) SetRaid(v Raid)

SetRaid gets a reference to the given Raid and assigns it to the Raid field.

func (*InstallOperatingSystemOpts) SetSshKeys

func (o *InstallOperatingSystemOpts) SetSshKeys(v string)

SetSshKeys gets a reference to the given string and assigns it to the SshKeys field.

func (*InstallOperatingSystemOpts) SetTimezone

func (o *InstallOperatingSystemOpts) SetTimezone(v string)

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

func (InstallOperatingSystemOpts) ToMap

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

func (*InstallOperatingSystemOpts) UnmarshalJSON

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

type InstallOperatingSystemPayload

type InstallOperatingSystemPayload struct {
	FileserverBaseUrl  *string `json:"fileserverBaseUrl,omitempty"`
	Pop                *string `json:"pop,omitempty"`
	PowerCycle         *bool   `json:"powerCycle,omitempty"`
	IsUnassignedServer *bool   `json:"isUnassignedServer,omitempty"`
	// Id of the server
	ServerId          *string       `json:"serverId,omitempty"`
	JobType           string        `json:"jobType"`
	Configurable      *bool         `json:"configurable,omitempty"`
	Device            *string       `json:"device,omitempty"`
	NumberOfDisks     NullableInt32 `json:"numberOfDisks,omitempty"`
	OperatingSystemId *string       `json:"operatingSystemId,omitempty"`
	Os                *Os           `json:"os,omitempty"`
	Partitions        []Partition   `json:"partitions,omitempty"`
	RaidLevel         NullableInt32 `json:"raidLevel,omitempty"`
	// Timezone represented as Geographical_Area/City
	Timezone             *string `json:"timezone,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstallOperatingSystemPayload struct for InstallOperatingSystemPayload

func NewInstallOperatingSystemPayload

func NewInstallOperatingSystemPayload(jobType string) *InstallOperatingSystemPayload

NewInstallOperatingSystemPayload instantiates a new InstallOperatingSystemPayload 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 NewInstallOperatingSystemPayloadWithDefaults

func NewInstallOperatingSystemPayloadWithDefaults() *InstallOperatingSystemPayload

NewInstallOperatingSystemPayloadWithDefaults instantiates a new InstallOperatingSystemPayload 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 (*InstallOperatingSystemPayload) GetConfigurable

func (o *InstallOperatingSystemPayload) GetConfigurable() bool

GetConfigurable returns the Configurable field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetConfigurableOk

func (o *InstallOperatingSystemPayload) GetConfigurableOk() (*bool, bool)

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

func (*InstallOperatingSystemPayload) GetDevice

func (o *InstallOperatingSystemPayload) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetDeviceOk

func (o *InstallOperatingSystemPayload) GetDeviceOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetFileserverBaseUrl

func (o *InstallOperatingSystemPayload) GetFileserverBaseUrl() string

GetFileserverBaseUrl returns the FileserverBaseUrl field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetFileserverBaseUrlOk

func (o *InstallOperatingSystemPayload) GetFileserverBaseUrlOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetIsUnassignedServer

func (o *InstallOperatingSystemPayload) GetIsUnassignedServer() bool

GetIsUnassignedServer returns the IsUnassignedServer field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetIsUnassignedServerOk

func (o *InstallOperatingSystemPayload) GetIsUnassignedServerOk() (*bool, bool)

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

func (*InstallOperatingSystemPayload) GetJobType

func (o *InstallOperatingSystemPayload) GetJobType() string

GetJobType returns the JobType field value

func (*InstallOperatingSystemPayload) GetJobTypeOk

func (o *InstallOperatingSystemPayload) GetJobTypeOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetNumberOfDisks

func (o *InstallOperatingSystemPayload) GetNumberOfDisks() int32

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

func (*InstallOperatingSystemPayload) GetNumberOfDisksOk

func (o *InstallOperatingSystemPayload) GetNumberOfDisksOk() (*int32, bool)

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

func (*InstallOperatingSystemPayload) GetOperatingSystemId

func (o *InstallOperatingSystemPayload) GetOperatingSystemId() string

GetOperatingSystemId returns the OperatingSystemId field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetOperatingSystemIdOk

func (o *InstallOperatingSystemPayload) GetOperatingSystemIdOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetOs

func (o *InstallOperatingSystemPayload) GetOs() Os

GetOs returns the Os field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetOsOk

func (o *InstallOperatingSystemPayload) GetOsOk() (*Os, bool)

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

func (*InstallOperatingSystemPayload) GetPartitions

func (o *InstallOperatingSystemPayload) GetPartitions() []Partition

GetPartitions returns the Partitions field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetPartitionsOk

func (o *InstallOperatingSystemPayload) GetPartitionsOk() ([]Partition, bool)

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

func (*InstallOperatingSystemPayload) GetPop

GetPop returns the Pop field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetPopOk

func (o *InstallOperatingSystemPayload) GetPopOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetPowerCycle

func (o *InstallOperatingSystemPayload) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetPowerCycleOk

func (o *InstallOperatingSystemPayload) GetPowerCycleOk() (*bool, bool)

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

func (*InstallOperatingSystemPayload) GetRaidLevel

func (o *InstallOperatingSystemPayload) GetRaidLevel() int32

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

func (*InstallOperatingSystemPayload) GetRaidLevelOk

func (o *InstallOperatingSystemPayload) GetRaidLevelOk() (*int32, bool)

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

func (*InstallOperatingSystemPayload) GetServerId

func (o *InstallOperatingSystemPayload) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*InstallOperatingSystemPayload) GetServerIdOk

func (o *InstallOperatingSystemPayload) GetServerIdOk() (*string, bool)

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

func (*InstallOperatingSystemPayload) GetTimezone

func (o *InstallOperatingSystemPayload) GetTimezone() string

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

func (*InstallOperatingSystemPayload) GetTimezoneOk

func (o *InstallOperatingSystemPayload) 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 (*InstallOperatingSystemPayload) HasConfigurable

func (o *InstallOperatingSystemPayload) HasConfigurable() bool

HasConfigurable returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasDevice

func (o *InstallOperatingSystemPayload) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasFileserverBaseUrl

func (o *InstallOperatingSystemPayload) HasFileserverBaseUrl() bool

HasFileserverBaseUrl returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasIsUnassignedServer

func (o *InstallOperatingSystemPayload) HasIsUnassignedServer() bool

HasIsUnassignedServer returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasNumberOfDisks

func (o *InstallOperatingSystemPayload) HasNumberOfDisks() bool

HasNumberOfDisks returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasOperatingSystemId

func (o *InstallOperatingSystemPayload) HasOperatingSystemId() bool

HasOperatingSystemId returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasOs

HasOs returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasPartitions

func (o *InstallOperatingSystemPayload) HasPartitions() bool

HasPartitions returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasPop

func (o *InstallOperatingSystemPayload) HasPop() bool

HasPop returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasPowerCycle

func (o *InstallOperatingSystemPayload) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasRaidLevel

func (o *InstallOperatingSystemPayload) HasRaidLevel() bool

HasRaidLevel returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasServerId

func (o *InstallOperatingSystemPayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*InstallOperatingSystemPayload) HasTimezone

func (o *InstallOperatingSystemPayload) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (InstallOperatingSystemPayload) MarshalJSON

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

func (*InstallOperatingSystemPayload) SetConfigurable

func (o *InstallOperatingSystemPayload) SetConfigurable(v bool)

SetConfigurable gets a reference to the given bool and assigns it to the Configurable field.

func (*InstallOperatingSystemPayload) SetDevice

func (o *InstallOperatingSystemPayload) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*InstallOperatingSystemPayload) SetFileserverBaseUrl

func (o *InstallOperatingSystemPayload) SetFileserverBaseUrl(v string)

SetFileserverBaseUrl gets a reference to the given string and assigns it to the FileserverBaseUrl field.

func (*InstallOperatingSystemPayload) SetIsUnassignedServer

func (o *InstallOperatingSystemPayload) SetIsUnassignedServer(v bool)

SetIsUnassignedServer gets a reference to the given bool and assigns it to the IsUnassignedServer field.

func (*InstallOperatingSystemPayload) SetJobType

func (o *InstallOperatingSystemPayload) SetJobType(v string)

SetJobType sets field value

func (*InstallOperatingSystemPayload) SetNumberOfDisks

func (o *InstallOperatingSystemPayload) SetNumberOfDisks(v int32)

SetNumberOfDisks gets a reference to the given NullableInt32 and assigns it to the NumberOfDisks field.

func (*InstallOperatingSystemPayload) SetNumberOfDisksNil

func (o *InstallOperatingSystemPayload) SetNumberOfDisksNil()

SetNumberOfDisksNil sets the value for NumberOfDisks to be an explicit nil

func (*InstallOperatingSystemPayload) SetOperatingSystemId

func (o *InstallOperatingSystemPayload) SetOperatingSystemId(v string)

SetOperatingSystemId gets a reference to the given string and assigns it to the OperatingSystemId field.

func (*InstallOperatingSystemPayload) SetOs

func (o *InstallOperatingSystemPayload) SetOs(v Os)

SetOs gets a reference to the given Os and assigns it to the Os field.

func (*InstallOperatingSystemPayload) SetPartitions

func (o *InstallOperatingSystemPayload) SetPartitions(v []Partition)

SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.

func (*InstallOperatingSystemPayload) SetPop

SetPop gets a reference to the given string and assigns it to the Pop field.

func (*InstallOperatingSystemPayload) SetPowerCycle

func (o *InstallOperatingSystemPayload) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (*InstallOperatingSystemPayload) SetRaidLevel

func (o *InstallOperatingSystemPayload) SetRaidLevel(v int32)

SetRaidLevel gets a reference to the given NullableInt32 and assigns it to the RaidLevel field.

func (*InstallOperatingSystemPayload) SetRaidLevelNil

func (o *InstallOperatingSystemPayload) SetRaidLevelNil()

SetRaidLevelNil sets the value for RaidLevel to be an explicit nil

func (*InstallOperatingSystemPayload) SetServerId

func (o *InstallOperatingSystemPayload) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*InstallOperatingSystemPayload) SetTimezone

func (o *InstallOperatingSystemPayload) SetTimezone(v string)

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

func (InstallOperatingSystemPayload) ToMap

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

func (*InstallOperatingSystemPayload) UnmarshalJSON

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

func (*InstallOperatingSystemPayload) UnsetNumberOfDisks

func (o *InstallOperatingSystemPayload) UnsetNumberOfDisks()

UnsetNumberOfDisks ensures that no value is present for NumberOfDisks, not even an explicit nil

func (*InstallOperatingSystemPayload) UnsetRaidLevel

func (o *InstallOperatingSystemPayload) UnsetRaidLevel()

UnsetRaidLevel ensures that no value is present for RaidLevel, not even an explicit nil

type InstallationJob

type InstallationJob struct {
	// Id of the server (deprecated, use serverId instead)
	// Deprecated
	BareMetalId *string `json:"bareMetalId,omitempty"`
	// Creation timestamp
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Job flow
	Flow *string `json:"flow,omitempty"`
	// Describes whether the job is running
	IsRunning *bool `json:"isRunning,omitempty"`
	// Node ID for this server
	Node     *string                 `json:"node,omitempty"`
	Payload  *InstallationJobPayload `json:"payload,omitempty"`
	Progress *Progress               `json:"progress,omitempty"`
	// Id of the server
	ServerId *string `json:"serverId,omitempty"`
	// Status of the job
	Status *string `json:"status,omitempty"`
	// List of tasks in the job
	Tasks []Task   `json:"tasks,omitempty"`
	Type  *JobType `json:"type,omitempty"`
	// Update timestamp
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Unique identifier of the job
	Uuid                 *string `json:"uuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstallationJob struct for InstallationJob

func NewInstallationJob

func NewInstallationJob() *InstallationJob

NewInstallationJob instantiates a new InstallationJob 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 NewInstallationJobWithDefaults

func NewInstallationJobWithDefaults() *InstallationJob

NewInstallationJobWithDefaults instantiates a new InstallationJob 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 (*InstallationJob) GetBareMetalId

func (o *InstallationJob) GetBareMetalId() string

GetBareMetalId returns the BareMetalId field value if set, zero value otherwise. Deprecated

func (*InstallationJob) GetBareMetalIdOk

func (o *InstallationJob) GetBareMetalIdOk() (*string, bool)

GetBareMetalIdOk returns a tuple with the BareMetalId field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*InstallationJob) GetCreatedAt

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

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

func (*InstallationJob) GetCreatedAtOk

func (o *InstallationJob) 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 (*InstallationJob) GetFlow

func (o *InstallationJob) GetFlow() string

GetFlow returns the Flow field value if set, zero value otherwise.

func (*InstallationJob) GetFlowOk

func (o *InstallationJob) GetFlowOk() (*string, bool)

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

func (*InstallationJob) GetIsRunning

func (o *InstallationJob) GetIsRunning() bool

GetIsRunning returns the IsRunning field value if set, zero value otherwise.

func (*InstallationJob) GetIsRunningOk

func (o *InstallationJob) GetIsRunningOk() (*bool, bool)

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

func (*InstallationJob) GetNode

func (o *InstallationJob) GetNode() string

GetNode returns the Node field value if set, zero value otherwise.

func (*InstallationJob) GetNodeOk

func (o *InstallationJob) GetNodeOk() (*string, bool)

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

func (*InstallationJob) GetPayload

func (o *InstallationJob) GetPayload() InstallationJobPayload

GetPayload returns the Payload field value if set, zero value otherwise.

func (*InstallationJob) GetPayloadOk

func (o *InstallationJob) GetPayloadOk() (*InstallationJobPayload, bool)

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

func (*InstallationJob) GetProgress

func (o *InstallationJob) GetProgress() Progress

GetProgress returns the Progress field value if set, zero value otherwise.

func (*InstallationJob) GetProgressOk

func (o *InstallationJob) GetProgressOk() (*Progress, bool)

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

func (*InstallationJob) GetServerId

func (o *InstallationJob) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*InstallationJob) GetServerIdOk

func (o *InstallationJob) GetServerIdOk() (*string, bool)

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

func (*InstallationJob) GetStatus

func (o *InstallationJob) GetStatus() string

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

func (*InstallationJob) GetStatusOk

func (o *InstallationJob) 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 (*InstallationJob) GetTasks

func (o *InstallationJob) GetTasks() []Task

GetTasks returns the Tasks field value if set, zero value otherwise.

func (*InstallationJob) GetTasksOk

func (o *InstallationJob) GetTasksOk() ([]Task, bool)

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

func (*InstallationJob) GetType

func (o *InstallationJob) GetType() JobType

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

func (*InstallationJob) GetTypeOk

func (o *InstallationJob) GetTypeOk() (*JobType, bool)

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

func (*InstallationJob) GetUpdatedAt

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

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

func (*InstallationJob) GetUpdatedAtOk

func (o *InstallationJob) 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 (*InstallationJob) GetUuid

func (o *InstallationJob) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*InstallationJob) GetUuidOk

func (o *InstallationJob) GetUuidOk() (*string, bool)

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

func (*InstallationJob) HasBareMetalId

func (o *InstallationJob) HasBareMetalId() bool

HasBareMetalId returns a boolean if a field has been set.

func (*InstallationJob) HasCreatedAt

func (o *InstallationJob) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*InstallationJob) HasFlow

func (o *InstallationJob) HasFlow() bool

HasFlow returns a boolean if a field has been set.

func (*InstallationJob) HasIsRunning

func (o *InstallationJob) HasIsRunning() bool

HasIsRunning returns a boolean if a field has been set.

func (*InstallationJob) HasNode

func (o *InstallationJob) HasNode() bool

HasNode returns a boolean if a field has been set.

func (*InstallationJob) HasPayload

func (o *InstallationJob) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*InstallationJob) HasProgress

func (o *InstallationJob) HasProgress() bool

HasProgress returns a boolean if a field has been set.

func (*InstallationJob) HasServerId

func (o *InstallationJob) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*InstallationJob) HasStatus

func (o *InstallationJob) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*InstallationJob) HasTasks

func (o *InstallationJob) HasTasks() bool

HasTasks returns a boolean if a field has been set.

func (*InstallationJob) HasType

func (o *InstallationJob) HasType() bool

HasType returns a boolean if a field has been set.

func (*InstallationJob) HasUpdatedAt

func (o *InstallationJob) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*InstallationJob) HasUuid

func (o *InstallationJob) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (InstallationJob) MarshalJSON

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

func (*InstallationJob) SetBareMetalId

func (o *InstallationJob) SetBareMetalId(v string)

SetBareMetalId gets a reference to the given string and assigns it to the BareMetalId field. Deprecated

func (*InstallationJob) SetCreatedAt

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

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

func (*InstallationJob) SetFlow

func (o *InstallationJob) SetFlow(v string)

SetFlow gets a reference to the given string and assigns it to the Flow field.

func (*InstallationJob) SetIsRunning

func (o *InstallationJob) SetIsRunning(v bool)

SetIsRunning gets a reference to the given bool and assigns it to the IsRunning field.

func (*InstallationJob) SetNode

func (o *InstallationJob) SetNode(v string)

SetNode gets a reference to the given string and assigns it to the Node field.

func (*InstallationJob) SetPayload

func (o *InstallationJob) SetPayload(v InstallationJobPayload)

SetPayload gets a reference to the given InstallationJobPayload and assigns it to the Payload field.

func (*InstallationJob) SetProgress

func (o *InstallationJob) SetProgress(v Progress)

SetProgress gets a reference to the given Progress and assigns it to the Progress field.

func (*InstallationJob) SetServerId

func (o *InstallationJob) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*InstallationJob) SetStatus

func (o *InstallationJob) SetStatus(v string)

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

func (*InstallationJob) SetTasks

func (o *InstallationJob) SetTasks(v []Task)

SetTasks gets a reference to the given []Task and assigns it to the Tasks field.

func (*InstallationJob) SetType

func (o *InstallationJob) SetType(v JobType)

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

func (*InstallationJob) SetUpdatedAt

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

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

func (*InstallationJob) SetUuid

func (o *InstallationJob) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (InstallationJob) ToMap

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

func (*InstallationJob) UnmarshalJSON

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

type InstallationJobPayload

type InstallationJobPayload struct {
	FileserverBaseUrl  *string `json:"fileserverBaseUrl,omitempty"`
	Pop                *string `json:"pop,omitempty"`
	PowerCycle         *bool   `json:"powerCycle,omitempty"`
	IsUnassignedServer *bool   `json:"isUnassignedServer,omitempty"`
	// Id of the server
	ServerId          *string       `json:"serverId,omitempty"`
	JobType           *string       `json:"jobType,omitempty"`
	Configurable      *bool         `json:"configurable,omitempty"`
	Device            *string       `json:"device,omitempty"`
	NumberOfDisks     NullableInt32 `json:"numberOfDisks,omitempty"`
	OperatingSystemId *string       `json:"operatingSystemId,omitempty"`
	Os                *Os           `json:"os,omitempty"`
	Partitions        []Partition   `json:"partitions,omitempty"`
	RaidLevel         NullableInt32 `json:"raidLevel,omitempty"`
	// Timezone represented as Geographical_Area/City
	Timezone             *string `json:"timezone,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstallationJobPayload struct for InstallationJobPayload

func NewInstallationJobPayload

func NewInstallationJobPayload() *InstallationJobPayload

NewInstallationJobPayload instantiates a new InstallationJobPayload 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 NewInstallationJobPayloadWithDefaults

func NewInstallationJobPayloadWithDefaults() *InstallationJobPayload

NewInstallationJobPayloadWithDefaults instantiates a new InstallationJobPayload 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 (*InstallationJobPayload) GetConfigurable

func (o *InstallationJobPayload) GetConfigurable() bool

GetConfigurable returns the Configurable field value if set, zero value otherwise.

func (*InstallationJobPayload) GetConfigurableOk

func (o *InstallationJobPayload) GetConfigurableOk() (*bool, bool)

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

func (*InstallationJobPayload) GetDevice

func (o *InstallationJobPayload) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*InstallationJobPayload) GetDeviceOk

func (o *InstallationJobPayload) GetDeviceOk() (*string, bool)

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

func (*InstallationJobPayload) GetFileserverBaseUrl

func (o *InstallationJobPayload) GetFileserverBaseUrl() string

GetFileserverBaseUrl returns the FileserverBaseUrl field value if set, zero value otherwise.

func (*InstallationJobPayload) GetFileserverBaseUrlOk

func (o *InstallationJobPayload) GetFileserverBaseUrlOk() (*string, bool)

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

func (*InstallationJobPayload) GetIsUnassignedServer

func (o *InstallationJobPayload) GetIsUnassignedServer() bool

GetIsUnassignedServer returns the IsUnassignedServer field value if set, zero value otherwise.

func (*InstallationJobPayload) GetIsUnassignedServerOk

func (o *InstallationJobPayload) GetIsUnassignedServerOk() (*bool, bool)

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

func (*InstallationJobPayload) GetJobType

func (o *InstallationJobPayload) GetJobType() string

GetJobType returns the JobType field value if set, zero value otherwise.

func (*InstallationJobPayload) GetJobTypeOk

func (o *InstallationJobPayload) GetJobTypeOk() (*string, bool)

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

func (*InstallationJobPayload) GetNumberOfDisks

func (o *InstallationJobPayload) GetNumberOfDisks() int32

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

func (*InstallationJobPayload) GetNumberOfDisksOk

func (o *InstallationJobPayload) GetNumberOfDisksOk() (*int32, bool)

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

func (*InstallationJobPayload) GetOperatingSystemId

func (o *InstallationJobPayload) GetOperatingSystemId() string

GetOperatingSystemId returns the OperatingSystemId field value if set, zero value otherwise.

func (*InstallationJobPayload) GetOperatingSystemIdOk

func (o *InstallationJobPayload) GetOperatingSystemIdOk() (*string, bool)

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

func (*InstallationJobPayload) GetOs

func (o *InstallationJobPayload) GetOs() Os

GetOs returns the Os field value if set, zero value otherwise.

func (*InstallationJobPayload) GetOsOk

func (o *InstallationJobPayload) GetOsOk() (*Os, bool)

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

func (*InstallationJobPayload) GetPartitions

func (o *InstallationJobPayload) GetPartitions() []Partition

GetPartitions returns the Partitions field value if set, zero value otherwise.

func (*InstallationJobPayload) GetPartitionsOk

func (o *InstallationJobPayload) GetPartitionsOk() ([]Partition, bool)

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

func (*InstallationJobPayload) GetPop

func (o *InstallationJobPayload) GetPop() string

GetPop returns the Pop field value if set, zero value otherwise.

func (*InstallationJobPayload) GetPopOk

func (o *InstallationJobPayload) GetPopOk() (*string, bool)

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

func (*InstallationJobPayload) GetPowerCycle

func (o *InstallationJobPayload) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*InstallationJobPayload) GetPowerCycleOk

func (o *InstallationJobPayload) GetPowerCycleOk() (*bool, bool)

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

func (*InstallationJobPayload) GetRaidLevel

func (o *InstallationJobPayload) GetRaidLevel() int32

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

func (*InstallationJobPayload) GetRaidLevelOk

func (o *InstallationJobPayload) GetRaidLevelOk() (*int32, bool)

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

func (*InstallationJobPayload) GetServerId

func (o *InstallationJobPayload) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*InstallationJobPayload) GetServerIdOk

func (o *InstallationJobPayload) GetServerIdOk() (*string, bool)

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

func (*InstallationJobPayload) GetTimezone

func (o *InstallationJobPayload) GetTimezone() string

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

func (*InstallationJobPayload) GetTimezoneOk

func (o *InstallationJobPayload) 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 (*InstallationJobPayload) HasConfigurable

func (o *InstallationJobPayload) HasConfigurable() bool

HasConfigurable returns a boolean if a field has been set.

func (*InstallationJobPayload) HasDevice

func (o *InstallationJobPayload) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*InstallationJobPayload) HasFileserverBaseUrl

func (o *InstallationJobPayload) HasFileserverBaseUrl() bool

HasFileserverBaseUrl returns a boolean if a field has been set.

func (*InstallationJobPayload) HasIsUnassignedServer

func (o *InstallationJobPayload) HasIsUnassignedServer() bool

HasIsUnassignedServer returns a boolean if a field has been set.

func (*InstallationJobPayload) HasJobType

func (o *InstallationJobPayload) HasJobType() bool

HasJobType returns a boolean if a field has been set.

func (*InstallationJobPayload) HasNumberOfDisks

func (o *InstallationJobPayload) HasNumberOfDisks() bool

HasNumberOfDisks returns a boolean if a field has been set.

func (*InstallationJobPayload) HasOperatingSystemId

func (o *InstallationJobPayload) HasOperatingSystemId() bool

HasOperatingSystemId returns a boolean if a field has been set.

func (*InstallationJobPayload) HasOs

func (o *InstallationJobPayload) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*InstallationJobPayload) HasPartitions

func (o *InstallationJobPayload) HasPartitions() bool

HasPartitions returns a boolean if a field has been set.

func (*InstallationJobPayload) HasPop

func (o *InstallationJobPayload) HasPop() bool

HasPop returns a boolean if a field has been set.

func (*InstallationJobPayload) HasPowerCycle

func (o *InstallationJobPayload) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (*InstallationJobPayload) HasRaidLevel

func (o *InstallationJobPayload) HasRaidLevel() bool

HasRaidLevel returns a boolean if a field has been set.

func (*InstallationJobPayload) HasServerId

func (o *InstallationJobPayload) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (*InstallationJobPayload) HasTimezone

func (o *InstallationJobPayload) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (InstallationJobPayload) MarshalJSON

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

func (*InstallationJobPayload) SetConfigurable

func (o *InstallationJobPayload) SetConfigurable(v bool)

SetConfigurable gets a reference to the given bool and assigns it to the Configurable field.

func (*InstallationJobPayload) SetDevice

func (o *InstallationJobPayload) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*InstallationJobPayload) SetFileserverBaseUrl

func (o *InstallationJobPayload) SetFileserverBaseUrl(v string)

SetFileserverBaseUrl gets a reference to the given string and assigns it to the FileserverBaseUrl field.

func (*InstallationJobPayload) SetIsUnassignedServer

func (o *InstallationJobPayload) SetIsUnassignedServer(v bool)

SetIsUnassignedServer gets a reference to the given bool and assigns it to the IsUnassignedServer field.

func (*InstallationJobPayload) SetJobType

func (o *InstallationJobPayload) SetJobType(v string)

SetJobType gets a reference to the given string and assigns it to the JobType field.

func (*InstallationJobPayload) SetNumberOfDisks

func (o *InstallationJobPayload) SetNumberOfDisks(v int32)

SetNumberOfDisks gets a reference to the given NullableInt32 and assigns it to the NumberOfDisks field.

func (*InstallationJobPayload) SetNumberOfDisksNil

func (o *InstallationJobPayload) SetNumberOfDisksNil()

SetNumberOfDisksNil sets the value for NumberOfDisks to be an explicit nil

func (*InstallationJobPayload) SetOperatingSystemId

func (o *InstallationJobPayload) SetOperatingSystemId(v string)

SetOperatingSystemId gets a reference to the given string and assigns it to the OperatingSystemId field.

func (*InstallationJobPayload) SetOs

func (o *InstallationJobPayload) SetOs(v Os)

SetOs gets a reference to the given Os and assigns it to the Os field.

func (*InstallationJobPayload) SetPartitions

func (o *InstallationJobPayload) SetPartitions(v []Partition)

SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.

func (*InstallationJobPayload) SetPop

func (o *InstallationJobPayload) SetPop(v string)

SetPop gets a reference to the given string and assigns it to the Pop field.

func (*InstallationJobPayload) SetPowerCycle

func (o *InstallationJobPayload) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (*InstallationJobPayload) SetRaidLevel

func (o *InstallationJobPayload) SetRaidLevel(v int32)

SetRaidLevel gets a reference to the given NullableInt32 and assigns it to the RaidLevel field.

func (*InstallationJobPayload) SetRaidLevelNil

func (o *InstallationJobPayload) SetRaidLevelNil()

SetRaidLevelNil sets the value for RaidLevel to be an explicit nil

func (*InstallationJobPayload) SetServerId

func (o *InstallationJobPayload) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*InstallationJobPayload) SetTimezone

func (o *InstallationJobPayload) SetTimezone(v string)

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

func (InstallationJobPayload) ToMap

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

func (*InstallationJobPayload) UnmarshalJSON

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

func (*InstallationJobPayload) UnsetNumberOfDisks

func (o *InstallationJobPayload) UnsetNumberOfDisks()

UnsetNumberOfDisks ensures that no value is present for NumberOfDisks, not even an explicit nil

func (*InstallationJobPayload) UnsetRaidLevel

func (o *InstallationJobPayload) UnsetRaidLevel()

UnsetRaidLevel ensures that no value is present for RaidLevel, not even an explicit nil

type Ip

type Ip struct {
	Ddos *DDos `json:"ddos,omitempty"`
	// Indicates if the IP is a Floating IP
	FloatingIp *bool `json:"floatingIp,omitempty"`
	// Gateway
	Gateway *string `json:"gateway,omitempty"`
	// IP address in CIDR notation
	Ip *string `json:"ip,omitempty"`
	// IP address is main
	MainIp      *bool        `json:"mainIp,omitempty"`
	NetworkType *NetworkType `json:"networkType,omitempty"`
	// IP address null routed
	NullRouted *bool `json:"nullRouted,omitempty"`
	// The reverse lookup value
	ReverseLookup *string `json:"reverseLookup,omitempty"`
	// IP version
	Version              *int32 `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}
}

Ip struct for Ip

func NewIp

func NewIp() *Ip

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

func NewIpWithDefaults

func NewIpWithDefaults() *Ip

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

func (*Ip) GetDdos

func (o *Ip) GetDdos() DDos

GetDdos returns the Ddos field value if set, zero value otherwise.

func (*Ip) GetDdosOk

func (o *Ip) GetDdosOk() (*DDos, bool)

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

func (*Ip) GetFloatingIp

func (o *Ip) GetFloatingIp() bool

GetFloatingIp returns the FloatingIp field value if set, zero value otherwise.

func (*Ip) GetFloatingIpOk

func (o *Ip) GetFloatingIpOk() (*bool, bool)

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

func (*Ip) GetGateway

func (o *Ip) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*Ip) GetGatewayOk

func (o *Ip) GetGatewayOk() (*string, bool)

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

func (*Ip) GetIp

func (o *Ip) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*Ip) GetIpOk

func (o *Ip) GetIpOk() (*string, bool)

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

func (*Ip) GetMainIp

func (o *Ip) GetMainIp() bool

GetMainIp returns the MainIp field value if set, zero value otherwise.

func (*Ip) GetMainIpOk

func (o *Ip) GetMainIpOk() (*bool, bool)

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

func (*Ip) GetNetworkType

func (o *Ip) GetNetworkType() NetworkType

GetNetworkType returns the NetworkType field value if set, zero value otherwise.

func (*Ip) GetNetworkTypeOk

func (o *Ip) GetNetworkTypeOk() (*NetworkType, bool)

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

func (*Ip) GetNullRouted

func (o *Ip) GetNullRouted() bool

GetNullRouted returns the NullRouted field value if set, zero value otherwise.

func (*Ip) GetNullRoutedOk

func (o *Ip) GetNullRoutedOk() (*bool, bool)

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

func (*Ip) GetReverseLookup

func (o *Ip) GetReverseLookup() string

GetReverseLookup returns the ReverseLookup field value if set, zero value otherwise.

func (*Ip) GetReverseLookupOk

func (o *Ip) GetReverseLookupOk() (*string, bool)

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

func (*Ip) GetVersion

func (o *Ip) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Ip) GetVersionOk

func (o *Ip) GetVersionOk() (*int32, bool)

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

func (*Ip) HasDdos

func (o *Ip) HasDdos() bool

HasDdos returns a boolean if a field has been set.

func (*Ip) HasFloatingIp

func (o *Ip) HasFloatingIp() bool

HasFloatingIp returns a boolean if a field has been set.

func (*Ip) HasGateway

func (o *Ip) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*Ip) HasIp

func (o *Ip) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*Ip) HasMainIp

func (o *Ip) HasMainIp() bool

HasMainIp returns a boolean if a field has been set.

func (*Ip) HasNetworkType

func (o *Ip) HasNetworkType() bool

HasNetworkType returns a boolean if a field has been set.

func (*Ip) HasNullRouted

func (o *Ip) HasNullRouted() bool

HasNullRouted returns a boolean if a field has been set.

func (*Ip) HasReverseLookup

func (o *Ip) HasReverseLookup() bool

HasReverseLookup returns a boolean if a field has been set.

func (*Ip) HasVersion

func (o *Ip) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Ip) MarshalJSON

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

func (*Ip) SetDdos

func (o *Ip) SetDdos(v DDos)

SetDdos gets a reference to the given DDos and assigns it to the Ddos field.

func (*Ip) SetFloatingIp

func (o *Ip) SetFloatingIp(v bool)

SetFloatingIp gets a reference to the given bool and assigns it to the FloatingIp field.

func (*Ip) SetGateway

func (o *Ip) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*Ip) SetIp

func (o *Ip) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*Ip) SetMainIp

func (o *Ip) SetMainIp(v bool)

SetMainIp gets a reference to the given bool and assigns it to the MainIp field.

func (*Ip) SetNetworkType

func (o *Ip) SetNetworkType(v NetworkType)

SetNetworkType gets a reference to the given NetworkType and assigns it to the NetworkType field.

func (*Ip) SetNullRouted

func (o *Ip) SetNullRouted(v bool)

SetNullRouted gets a reference to the given bool and assigns it to the NullRouted field.

func (*Ip) SetReverseLookup

func (o *Ip) SetReverseLookup(v string)

SetReverseLookup gets a reference to the given string and assigns it to the ReverseLookup field.

func (*Ip) SetVersion

func (o *Ip) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (Ip) ToMap

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

func (*Ip) UnmarshalJSON

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

type Ipmi

type Ipmi struct {
	// The current power status of the server.
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

Ipmi Object describing the IPMI power information

func NewIpmi

func NewIpmi() *Ipmi

NewIpmi instantiates a new Ipmi 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 NewIpmiWithDefaults

func NewIpmiWithDefaults() *Ipmi

NewIpmiWithDefaults instantiates a new Ipmi 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 (*Ipmi) GetStatus

func (o *Ipmi) GetStatus() string

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

func (*Ipmi) GetStatusOk

func (o *Ipmi) 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 (*Ipmi) HasStatus

func (o *Ipmi) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Ipmi) MarshalJSON

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

func (*Ipmi) SetStatus

func (o *Ipmi) SetStatus(v string)

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

func (Ipmi) ToMap

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

func (*Ipmi) UnmarshalJSON

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

type Ipmi1

type Ipmi1 struct {
	Defgateway *string `json:"defgateway,omitempty"`
	Firmware   *string `json:"firmware,omitempty"`
	Ipaddress  *string `json:"ipaddress,omitempty"`
	Ipsource   *string `json:"ipsource,omitempty"`
	// Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`
	Macaddress           *string `json:"macaddress,omitempty"`
	Subnetmask           *string `json:"subnetmask,omitempty"`
	Vendor               *string `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Ipmi1 struct for Ipmi1

func NewIpmi1

func NewIpmi1() *Ipmi1

NewIpmi1 instantiates a new Ipmi1 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 NewIpmi1WithDefaults

func NewIpmi1WithDefaults() *Ipmi1

NewIpmi1WithDefaults instantiates a new Ipmi1 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 (*Ipmi1) GetDefgateway

func (o *Ipmi1) GetDefgateway() string

GetDefgateway returns the Defgateway field value if set, zero value otherwise.

func (*Ipmi1) GetDefgatewayOk

func (o *Ipmi1) GetDefgatewayOk() (*string, bool)

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

func (*Ipmi1) GetFirmware

func (o *Ipmi1) GetFirmware() string

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*Ipmi1) GetFirmwareOk

func (o *Ipmi1) GetFirmwareOk() (*string, bool)

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

func (*Ipmi1) GetIpaddress

func (o *Ipmi1) GetIpaddress() string

GetIpaddress returns the Ipaddress field value if set, zero value otherwise.

func (*Ipmi1) GetIpaddressOk

func (o *Ipmi1) 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 (*Ipmi1) GetIpsource

func (o *Ipmi1) GetIpsource() string

GetIpsource returns the Ipsource field value if set, zero value otherwise.

func (*Ipmi1) GetIpsourceOk

func (o *Ipmi1) GetIpsourceOk() (*string, bool)

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

func (*Ipmi1) GetMacaddress

func (o *Ipmi1) GetMacaddress() string

GetMacaddress returns the Macaddress field value if set, zero value otherwise.

func (*Ipmi1) GetMacaddressOk

func (o *Ipmi1) 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 (*Ipmi1) GetSubnetmask

func (o *Ipmi1) GetSubnetmask() string

GetSubnetmask returns the Subnetmask field value if set, zero value otherwise.

func (*Ipmi1) GetSubnetmaskOk

func (o *Ipmi1) GetSubnetmaskOk() (*string, bool)

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

func (*Ipmi1) GetVendor

func (o *Ipmi1) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Ipmi1) GetVendorOk

func (o *Ipmi1) GetVendorOk() (*string, bool)

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

func (*Ipmi1) HasDefgateway

func (o *Ipmi1) HasDefgateway() bool

HasDefgateway returns a boolean if a field has been set.

func (*Ipmi1) HasFirmware

func (o *Ipmi1) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*Ipmi1) HasIpaddress

func (o *Ipmi1) HasIpaddress() bool

HasIpaddress returns a boolean if a field has been set.

func (*Ipmi1) HasIpsource

func (o *Ipmi1) HasIpsource() bool

HasIpsource returns a boolean if a field has been set.

func (*Ipmi1) HasMacaddress

func (o *Ipmi1) HasMacaddress() bool

HasMacaddress returns a boolean if a field has been set.

func (*Ipmi1) HasSubnetmask

func (o *Ipmi1) HasSubnetmask() bool

HasSubnetmask returns a boolean if a field has been set.

func (*Ipmi1) HasVendor

func (o *Ipmi1) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Ipmi1) MarshalJSON

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

func (*Ipmi1) SetDefgateway

func (o *Ipmi1) SetDefgateway(v string)

SetDefgateway gets a reference to the given string and assigns it to the Defgateway field.

func (*Ipmi1) SetFirmware

func (o *Ipmi1) SetFirmware(v string)

SetFirmware gets a reference to the given string and assigns it to the Firmware field.

func (*Ipmi1) SetIpaddress

func (o *Ipmi1) SetIpaddress(v string)

SetIpaddress gets a reference to the given string and assigns it to the Ipaddress field.

func (*Ipmi1) SetIpsource

func (o *Ipmi1) SetIpsource(v string)

SetIpsource gets a reference to the given string and assigns it to the Ipsource field.

func (*Ipmi1) SetMacaddress

func (o *Ipmi1) SetMacaddress(v string)

SetMacaddress gets a reference to the given string and assigns it to the Macaddress field.

func (*Ipmi1) SetSubnetmask

func (o *Ipmi1) SetSubnetmask(v string)

SetSubnetmask gets a reference to the given string and assigns it to the Subnetmask field.

func (*Ipmi1) SetVendor

func (o *Ipmi1) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Ipmi1) ToMap

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

func (*Ipmi1) UnmarshalJSON

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

type IpmiResetServerOpts

type IpmiResetServerOpts struct {
	// Url which will receive callbacks
	CallbackUrl *string `json:"callbackUrl,omitempty"`
	// If set to `true`, server will be power cycled in order to complete the operation
	PowerCycle           *bool `json:"powerCycle,omitempty"`
	AdditionalProperties map[string]interface{}
}

IpmiResetServerOpts struct for IpmiResetServerOpts

func NewIpmiResetServerOpts

func NewIpmiResetServerOpts() *IpmiResetServerOpts

NewIpmiResetServerOpts instantiates a new IpmiResetServerOpts 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 NewIpmiResetServerOptsWithDefaults

func NewIpmiResetServerOptsWithDefaults() *IpmiResetServerOpts

NewIpmiResetServerOptsWithDefaults instantiates a new IpmiResetServerOpts 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 (*IpmiResetServerOpts) GetCallbackUrl

func (o *IpmiResetServerOpts) GetCallbackUrl() string

GetCallbackUrl returns the CallbackUrl field value if set, zero value otherwise.

func (*IpmiResetServerOpts) GetCallbackUrlOk

func (o *IpmiResetServerOpts) GetCallbackUrlOk() (*string, bool)

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

func (*IpmiResetServerOpts) GetPowerCycle

func (o *IpmiResetServerOpts) GetPowerCycle() bool

GetPowerCycle returns the PowerCycle field value if set, zero value otherwise.

func (*IpmiResetServerOpts) GetPowerCycleOk

func (o *IpmiResetServerOpts) GetPowerCycleOk() (*bool, bool)

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

func (*IpmiResetServerOpts) HasCallbackUrl

func (o *IpmiResetServerOpts) HasCallbackUrl() bool

HasCallbackUrl returns a boolean if a field has been set.

func (*IpmiResetServerOpts) HasPowerCycle

func (o *IpmiResetServerOpts) HasPowerCycle() bool

HasPowerCycle returns a boolean if a field has been set.

func (IpmiResetServerOpts) MarshalJSON

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

func (*IpmiResetServerOpts) SetCallbackUrl

func (o *IpmiResetServerOpts) SetCallbackUrl(v string)

SetCallbackUrl gets a reference to the given string and assigns it to the CallbackUrl field.

func (*IpmiResetServerOpts) SetPowerCycle

func (o *IpmiResetServerOpts) SetPowerCycle(v bool)

SetPowerCycle gets a reference to the given bool and assigns it to the PowerCycle field.

func (IpmiResetServerOpts) ToMap

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

func (*IpmiResetServerOpts) UnmarshalJSON

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

type JobMetadata

type JobMetadata struct {
	// Batch ID for batch jobs
	BATCH_ID             *string `json:"BATCH_ID,omitempty"`
	AdditionalProperties map[string]interface{}
}

JobMetadata The Job Metadata schema

func NewJobMetadata

func NewJobMetadata() *JobMetadata

NewJobMetadata instantiates a new JobMetadata 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 NewJobMetadataWithDefaults

func NewJobMetadataWithDefaults() *JobMetadata

NewJobMetadataWithDefaults instantiates a new JobMetadata 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 (*JobMetadata) GetBATCH_ID

func (o *JobMetadata) GetBATCH_ID() string

GetBATCH_ID returns the BATCH_ID field value if set, zero value otherwise.

func (*JobMetadata) GetBATCH_IDOk

func (o *JobMetadata) GetBATCH_IDOk() (*string, bool)

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

func (*JobMetadata) HasBATCH_ID

func (o *JobMetadata) HasBATCH_ID() bool

HasBATCH_ID returns a boolean if a field has been set.

func (JobMetadata) MarshalJSON

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

func (*JobMetadata) SetBATCH_ID

func (o *JobMetadata) SetBATCH_ID(v string)

SetBATCH_ID gets a reference to the given string and assigns it to the BATCH_ID field.

func (JobMetadata) ToMap

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

func (*JobMetadata) UnmarshalJSON

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

type JobType

type JobType string

JobType the model 'JobType'

const (
	JOBTYPE_INSTALL       JobType = "install"
	JOBTYPE_RESCUE_MODE   JobType = "rescueMode"
	JOBTYPE_HARDWARE_SCAN JobType = "hardwareScan"
	JOBTYPE_IPMI_RESET    JobType = "ipmiReset"
)

List of jobType

func NewJobTypeFromValue

func NewJobTypeFromValue(v string) (*JobType, error)

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

func (JobType) IsValid

func (v JobType) IsValid() bool

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

func (JobType) Ptr

func (v JobType) Ptr() *JobType

Ptr returns reference to jobType value

func (*JobType) UnmarshalJSON

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

type LastClientRequest

type LastClientRequest struct {
	// The relay agent that forwarded the DHCP traffic
	RelayAgent NullableString `json:"relayAgent,omitempty"`
	// The type of DHCP packet requested by the client
	Type *string `json:"type,omitempty"`
	// The user agent of the client making the DHCP request
	UserAgent            *string `json:"userAgent,omitempty"`
	AdditionalProperties map[string]interface{}
}

LastClientRequest If the server acquired this DHCP reservation, this object shows information about the client

func NewLastClientRequest

func NewLastClientRequest() *LastClientRequest

NewLastClientRequest instantiates a new LastClientRequest 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 NewLastClientRequestWithDefaults

func NewLastClientRequestWithDefaults() *LastClientRequest

NewLastClientRequestWithDefaults instantiates a new LastClientRequest 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 (*LastClientRequest) GetRelayAgent

func (o *LastClientRequest) GetRelayAgent() string

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

func (*LastClientRequest) GetRelayAgentOk

func (o *LastClientRequest) GetRelayAgentOk() (*string, bool)

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

func (*LastClientRequest) GetType

func (o *LastClientRequest) GetType() string

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

func (*LastClientRequest) GetTypeOk

func (o *LastClientRequest) GetTypeOk() (*string, bool)

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

func (*LastClientRequest) GetUserAgent

func (o *LastClientRequest) GetUserAgent() string

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*LastClientRequest) GetUserAgentOk

func (o *LastClientRequest) GetUserAgentOk() (*string, bool)

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

func (*LastClientRequest) HasRelayAgent

func (o *LastClientRequest) HasRelayAgent() bool

HasRelayAgent returns a boolean if a field has been set.

func (*LastClientRequest) HasType

func (o *LastClientRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*LastClientRequest) HasUserAgent

func (o *LastClientRequest) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (LastClientRequest) MarshalJSON

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

func (*LastClientRequest) SetRelayAgent

func (o *LastClientRequest) SetRelayAgent(v string)

SetRelayAgent gets a reference to the given NullableString and assigns it to the RelayAgent field.

func (*LastClientRequest) SetRelayAgentNil

func (o *LastClientRequest) SetRelayAgentNil()

SetRelayAgentNil sets the value for RelayAgent to be an explicit nil

func (*LastClientRequest) SetType

func (o *LastClientRequest) SetType(v string)

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

func (*LastClientRequest) SetUserAgent

func (o *LastClientRequest) SetUserAgent(v string)

SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.

func (LastClientRequest) ToMap

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

func (*LastClientRequest) UnmarshalJSON

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

func (*LastClientRequest) UnsetRelayAgent

func (o *LastClientRequest) UnsetRelayAgent()

UnsetRelayAgent ensures that no value is present for RelayAgent, not even an explicit nil

type Lease

type Lease struct {
	// The PXE bootfile the server will network boot from
	Bootfile *string `json:"bootfile,omitempty"`
	// The time when the DHCP reservation was created
	CreatedAt *string `json:"createdAt,omitempty"`
	// The gateway for this DHCP reservation
	Gateway *string `json:"gateway,omitempty"`
	// The hostname for the server
	Hostname *string `json:"hostname,omitempty"`
	// The IP address this DHCP reservation is for
	Ip                *string            `json:"ip,omitempty"`
	LastClientRequest *LastClientRequest `json:"lastClientRequest,omitempty"`
	// Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`
	Mac *string `json:"mac,omitempty"`
	// The netmask for this DHCP reservation
	Netmask *string `json:"netmask,omitempty"`
	// The site serving this DHCP reservation
	Site *string `json:"site,omitempty"`
	// The time when the DHCP reservation was last updated or used by a client
	UpdatedAt            *string `json:"updatedAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

Lease A single DHCP reservation

func NewLease

func NewLease() *Lease

NewLease instantiates a new Lease 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 NewLeaseWithDefaults

func NewLeaseWithDefaults() *Lease

NewLeaseWithDefaults instantiates a new Lease 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 (*Lease) GetBootfile

func (o *Lease) GetBootfile() string

GetBootfile returns the Bootfile field value if set, zero value otherwise.

func (*Lease) GetBootfileOk

func (o *Lease) GetBootfileOk() (*string, bool)

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

func (*Lease) GetCreatedAt

func (o *Lease) GetCreatedAt() string

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

func (*Lease) GetCreatedAtOk

func (o *Lease) GetCreatedAtOk() (*string, 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 (*Lease) GetGateway

func (o *Lease) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*Lease) GetGatewayOk

func (o *Lease) GetGatewayOk() (*string, bool)

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

func (*Lease) GetHostname

func (o *Lease) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*Lease) GetHostnameOk

func (o *Lease) GetHostnameOk() (*string, bool)

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

func (*Lease) GetIp

func (o *Lease) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*Lease) GetIpOk

func (o *Lease) GetIpOk() (*string, bool)

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

func (*Lease) GetLastClientRequest

func (o *Lease) GetLastClientRequest() LastClientRequest

GetLastClientRequest returns the LastClientRequest field value if set, zero value otherwise.

func (*Lease) GetLastClientRequestOk

func (o *Lease) GetLastClientRequestOk() (*LastClientRequest, bool)

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

func (*Lease) GetMac

func (o *Lease) GetMac() string

GetMac returns the Mac field value if set, zero value otherwise.

func (*Lease) GetMacOk

func (o *Lease) GetMacOk() (*string, bool)

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

func (*Lease) GetNetmask

func (o *Lease) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*Lease) GetNetmaskOk

func (o *Lease) GetNetmaskOk() (*string, bool)

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

func (*Lease) GetSite

func (o *Lease) GetSite() string

GetSite returns the Site field value if set, zero value otherwise.

func (*Lease) GetSiteOk

func (o *Lease) GetSiteOk() (*string, bool)

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

func (*Lease) GetUpdatedAt

func (o *Lease) GetUpdatedAt() string

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

func (*Lease) GetUpdatedAtOk

func (o *Lease) GetUpdatedAtOk() (*string, 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 (*Lease) HasBootfile

func (o *Lease) HasBootfile() bool

HasBootfile returns a boolean if a field has been set.

func (*Lease) HasCreatedAt

func (o *Lease) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Lease) HasGateway

func (o *Lease) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*Lease) HasHostname

func (o *Lease) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*Lease) HasIp

func (o *Lease) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*Lease) HasLastClientRequest

func (o *Lease) HasLastClientRequest() bool

HasLastClientRequest returns a boolean if a field has been set.

func (*Lease) HasMac

func (o *Lease) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*Lease) HasNetmask

func (o *Lease) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*Lease) HasSite

func (o *Lease) HasSite() bool

HasSite returns a boolean if a field has been set.

func (*Lease) HasUpdatedAt

func (o *Lease) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Lease) MarshalJSON

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

func (*Lease) SetBootfile

func (o *Lease) SetBootfile(v string)

SetBootfile gets a reference to the given string and assigns it to the Bootfile field.

func (*Lease) SetCreatedAt

func (o *Lease) SetCreatedAt(v string)

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

func (*Lease) SetGateway

func (o *Lease) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*Lease) SetHostname

func (o *Lease) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*Lease) SetIp

func (o *Lease) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*Lease) SetLastClientRequest

func (o *Lease) SetLastClientRequest(v LastClientRequest)

SetLastClientRequest gets a reference to the given LastClientRequest and assigns it to the LastClientRequest field.

func (*Lease) SetMac

func (o *Lease) SetMac(v string)

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*Lease) SetNetmask

func (o *Lease) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*Lease) SetSite

func (o *Lease) SetSite(v string)

SetSite gets a reference to the given string and assigns it to the Site field.

func (*Lease) SetUpdatedAt

func (o *Lease) SetUpdatedAt(v string)

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

func (Lease) ToMap

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

func (*Lease) UnmarshalJSON

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

type LinkSpeed

type LinkSpeed int32

LinkSpeed The port speed in Mbps

const (
	LINKSPEED__100   LinkSpeed = 100
	LINKSPEED__1000  LinkSpeed = 1000
	LINKSPEED__10000 LinkSpeed = 10000
)

List of linkSpeed

func NewLinkSpeedFromValue

func NewLinkSpeedFromValue(v int32) (*LinkSpeed, error)

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

func (LinkSpeed) IsValid

func (v LinkSpeed) IsValid() bool

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

func (LinkSpeed) Ptr

func (v LinkSpeed) Ptr() *LinkSpeed

Ptr returns reference to linkSpeed value

func (*LinkSpeed) UnmarshalJSON

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

type LinkSpeeds

type LinkSpeeds struct {
	Var1000btFd          *string `json:"1000bt-fd,omitempty"`
	Var100bt             *string `json:"100bt,omitempty"`
	Var100btFd           *string `json:"100bt-fd,omitempty"`
	Var10bt              *string `json:"10bt,omitempty"`
	Var10btFd            *string `json:"10bt-fd,omitempty"`
	AdditionalProperties map[string]interface{}
}

LinkSpeeds struct for LinkSpeeds

func NewLinkSpeeds

func NewLinkSpeeds() *LinkSpeeds

NewLinkSpeeds instantiates a new LinkSpeeds 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 NewLinkSpeedsWithDefaults

func NewLinkSpeedsWithDefaults() *LinkSpeeds

NewLinkSpeedsWithDefaults instantiates a new LinkSpeeds 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 (*LinkSpeeds) GetVar10bt

func (o *LinkSpeeds) GetVar10bt() string

GetVar10bt returns the Var10bt field value if set, zero value otherwise.

func (*LinkSpeeds) GetVar10btFd

func (o *LinkSpeeds) GetVar10btFd() string

GetVar10btFd returns the Var10btFd field value if set, zero value otherwise.

func (*LinkSpeeds) GetVar10btFdOk

func (o *LinkSpeeds) GetVar10btFdOk() (*string, bool)

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

func (*LinkSpeeds) GetVar10btOk

func (o *LinkSpeeds) GetVar10btOk() (*string, bool)

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

func (*LinkSpeeds) GetVar100bt

func (o *LinkSpeeds) GetVar100bt() string

GetVar100bt returns the Var100bt field value if set, zero value otherwise.

func (*LinkSpeeds) GetVar100btFd

func (o *LinkSpeeds) GetVar100btFd() string

GetVar100btFd returns the Var100btFd field value if set, zero value otherwise.

func (*LinkSpeeds) GetVar100btFdOk

func (o *LinkSpeeds) GetVar100btFdOk() (*string, bool)

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

func (*LinkSpeeds) GetVar100btOk

func (o *LinkSpeeds) GetVar100btOk() (*string, bool)

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

func (*LinkSpeeds) GetVar1000btFd

func (o *LinkSpeeds) GetVar1000btFd() string

GetVar1000btFd returns the Var1000btFd field value if set, zero value otherwise.

func (*LinkSpeeds) GetVar1000btFdOk

func (o *LinkSpeeds) GetVar1000btFdOk() (*string, bool)

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

func (*LinkSpeeds) HasVar10bt

func (o *LinkSpeeds) HasVar10bt() bool

HasVar10bt returns a boolean if a field has been set.

func (*LinkSpeeds) HasVar10btFd

func (o *LinkSpeeds) HasVar10btFd() bool

HasVar10btFd returns a boolean if a field has been set.

func (*LinkSpeeds) HasVar100bt

func (o *LinkSpeeds) HasVar100bt() bool

HasVar100bt returns a boolean if a field has been set.

func (*LinkSpeeds) HasVar100btFd

func (o *LinkSpeeds) HasVar100btFd() bool

HasVar100btFd returns a boolean if a field has been set.

func (*LinkSpeeds) HasVar1000btFd

func (o *LinkSpeeds) HasVar1000btFd() bool

HasVar1000btFd returns a boolean if a field has been set.

func (LinkSpeeds) MarshalJSON

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

func (*LinkSpeeds) SetVar10bt

func (o *LinkSpeeds) SetVar10bt(v string)

SetVar10bt gets a reference to the given string and assigns it to the Var10bt field.

func (*LinkSpeeds) SetVar10btFd

func (o *LinkSpeeds) SetVar10btFd(v string)

SetVar10btFd gets a reference to the given string and assigns it to the Var10btFd field.

func (*LinkSpeeds) SetVar100bt

func (o *LinkSpeeds) SetVar100bt(v string)

SetVar100bt gets a reference to the given string and assigns it to the Var100bt field.

func (*LinkSpeeds) SetVar100btFd

func (o *LinkSpeeds) SetVar100btFd(v string)

SetVar100btFd gets a reference to the given string and assigns it to the Var100btFd field.

func (*LinkSpeeds) SetVar1000btFd

func (o *LinkSpeeds) SetVar1000btFd(v string)

SetVar1000btFd gets a reference to the given string and assigns it to the Var1000btFd field.

func (LinkSpeeds) ToMap

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

func (*LinkSpeeds) UnmarshalJSON

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

type Lldp

type Lldp struct {
	Chassis              *LldpChassis `json:"chassis,omitempty"`
	Port                 *Port1       `json:"port,omitempty"`
	Vlan                 *Vlan        `json:"vlan,omitempty"`
	AdditionalProperties map[string]interface{}
}

Lldp struct for Lldp

func NewLldp

func NewLldp() *Lldp

NewLldp instantiates a new Lldp 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 NewLldpWithDefaults

func NewLldpWithDefaults() *Lldp

NewLldpWithDefaults instantiates a new Lldp 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 (*Lldp) GetChassis

func (o *Lldp) GetChassis() LldpChassis

GetChassis returns the Chassis field value if set, zero value otherwise.

func (*Lldp) GetChassisOk

func (o *Lldp) GetChassisOk() (*LldpChassis, bool)

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

func (*Lldp) GetPort

func (o *Lldp) GetPort() Port1

GetPort returns the Port field value if set, zero value otherwise.

func (*Lldp) GetPortOk

func (o *Lldp) GetPortOk() (*Port1, bool)

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

func (*Lldp) GetVlan

func (o *Lldp) GetVlan() Vlan

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*Lldp) GetVlanOk

func (o *Lldp) GetVlanOk() (*Vlan, bool)

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

func (*Lldp) HasChassis

func (o *Lldp) HasChassis() bool

HasChassis returns a boolean if a field has been set.

func (*Lldp) HasPort

func (o *Lldp) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*Lldp) HasVlan

func (o *Lldp) HasVlan() bool

HasVlan returns a boolean if a field has been set.

func (Lldp) MarshalJSON

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

func (*Lldp) SetChassis

func (o *Lldp) SetChassis(v LldpChassis)

SetChassis gets a reference to the given LldpChassis and assigns it to the Chassis field.

func (*Lldp) SetPort

func (o *Lldp) SetPort(v Port1)

SetPort gets a reference to the given Port1 and assigns it to the Port field.

func (*Lldp) SetVlan

func (o *Lldp) SetVlan(v Vlan)

SetVlan gets a reference to the given Vlan and assigns it to the Vlan field.

func (Lldp) ToMap

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

func (*Lldp) UnmarshalJSON

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

type LldpChassis

type LldpChassis struct {
	Description *string `json:"description,omitempty"`
	// Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`
	MacAddress           *string `json:"mac_address,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

LldpChassis struct for LldpChassis

func NewLldpChassis

func NewLldpChassis() *LldpChassis

NewLldpChassis instantiates a new LldpChassis 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 NewLldpChassisWithDefaults

func NewLldpChassisWithDefaults() *LldpChassis

NewLldpChassisWithDefaults instantiates a new LldpChassis 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 (*LldpChassis) GetDescription

func (o *LldpChassis) GetDescription() string

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

func (*LldpChassis) GetDescriptionOk

func (o *LldpChassis) 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 (*LldpChassis) GetMacAddress

func (o *LldpChassis) GetMacAddress() string

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

func (*LldpChassis) GetMacAddressOk

func (o *LldpChassis) 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 (*LldpChassis) GetName

func (o *LldpChassis) GetName() string

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

func (*LldpChassis) GetNameOk

func (o *LldpChassis) 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 (*LldpChassis) HasDescription

func (o *LldpChassis) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LldpChassis) HasMacAddress

func (o *LldpChassis) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (*LldpChassis) HasName

func (o *LldpChassis) HasName() bool

HasName returns a boolean if a field has been set.

func (LldpChassis) MarshalJSON

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

func (*LldpChassis) SetDescription

func (o *LldpChassis) SetDescription(v string)

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

func (*LldpChassis) SetMacAddress

func (o *LldpChassis) SetMacAddress(v string)

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

func (*LldpChassis) SetName

func (o *LldpChassis) SetName(v string)

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

func (LldpChassis) ToMap

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

func (*LldpChassis) UnmarshalJSON

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

type Location

type Location struct {
	Site                 *string `json:"site,omitempty"`
	Suite                *string `json:"suite,omitempty"`
	Rack                 *string `json:"rack,omitempty"`
	Unit                 *string `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

Location Device location

func NewLocation

func NewLocation() *Location

NewLocation instantiates a new Location 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 NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location 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 (*Location) GetRack

func (o *Location) GetRack() string

GetRack returns the Rack field value if set, zero value otherwise.

func (*Location) GetRackOk

func (o *Location) GetRackOk() (*string, bool)

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

func (*Location) GetSite

func (o *Location) GetSite() string

GetSite returns the Site field value if set, zero value otherwise.

func (*Location) GetSiteOk

func (o *Location) GetSiteOk() (*string, bool)

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

func (*Location) GetSuite

func (o *Location) GetSuite() string

GetSuite returns the Suite field value if set, zero value otherwise.

func (*Location) GetSuiteOk

func (o *Location) GetSuiteOk() (*string, bool)

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

func (*Location) GetUnit

func (o *Location) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*Location) GetUnitOk

func (o *Location) GetUnitOk() (*string, bool)

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

func (*Location) HasRack

func (o *Location) HasRack() bool

HasRack returns a boolean if a field has been set.

func (*Location) HasSite

func (o *Location) HasSite() bool

HasSite returns a boolean if a field has been set.

func (*Location) HasSuite

func (o *Location) HasSuite() bool

HasSuite returns a boolean if a field has been set.

func (*Location) HasUnit

func (o *Location) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (Location) MarshalJSON

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

func (*Location) SetRack

func (o *Location) SetRack(v string)

SetRack gets a reference to the given string and assigns it to the Rack field.

func (*Location) SetSite

func (o *Location) SetSite(v string)

SetSite gets a reference to the given string and assigns it to the Site field.

func (*Location) SetSuite

func (o *Location) SetSuite(v string)

SetSuite gets a reference to the given string and assigns it to the Suite field.

func (*Location) SetUnit

func (o *Location) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (Location) ToMap

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

func (*Location) UnmarshalJSON

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

type MappedNullable

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

type MemoryBank

type MemoryBank struct {
	Description          *string `json:"description,omitempty"`
	Id                   *string `json:"id,omitempty"`
	ClockHz              *string `json:"clock_hz,omitempty"`
	SerialNumber         *string `json:"serial_number,omitempty"`
	SizeBytes            *string `json:"size_bytes,omitempty"`
	AdditionalProperties map[string]interface{}
}

MemoryBank struct for MemoryBank

func NewMemoryBank

func NewMemoryBank() *MemoryBank

NewMemoryBank instantiates a new MemoryBank 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 NewMemoryBankWithDefaults

func NewMemoryBankWithDefaults() *MemoryBank

NewMemoryBankWithDefaults instantiates a new MemoryBank 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 (*MemoryBank) GetClockHz

func (o *MemoryBank) GetClockHz() string

GetClockHz returns the ClockHz field value if set, zero value otherwise.

func (*MemoryBank) GetClockHzOk

func (o *MemoryBank) GetClockHzOk() (*string, bool)

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

func (*MemoryBank) GetDescription

func (o *MemoryBank) GetDescription() string

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

func (*MemoryBank) GetDescriptionOk

func (o *MemoryBank) 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 (*MemoryBank) GetId

func (o *MemoryBank) GetId() string

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

func (*MemoryBank) GetIdOk

func (o *MemoryBank) 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 (*MemoryBank) GetSerialNumber

func (o *MemoryBank) GetSerialNumber() string

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

func (*MemoryBank) GetSerialNumberOk

func (o *MemoryBank) 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 (*MemoryBank) GetSizeBytes

func (o *MemoryBank) GetSizeBytes() string

GetSizeBytes returns the SizeBytes field value if set, zero value otherwise.

func (*MemoryBank) GetSizeBytesOk

func (o *MemoryBank) GetSizeBytesOk() (*string, bool)

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

func (*MemoryBank) HasClockHz

func (o *MemoryBank) HasClockHz() bool

HasClockHz returns a boolean if a field has been set.

func (*MemoryBank) HasDescription

func (o *MemoryBank) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MemoryBank) HasId

func (o *MemoryBank) HasId() bool

HasId returns a boolean if a field has been set.

func (*MemoryBank) HasSerialNumber

func (o *MemoryBank) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*MemoryBank) HasSizeBytes

func (o *MemoryBank) HasSizeBytes() bool

HasSizeBytes returns a boolean if a field has been set.

func (MemoryBank) MarshalJSON

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

func (*MemoryBank) SetClockHz

func (o *MemoryBank) SetClockHz(v string)

SetClockHz gets a reference to the given string and assigns it to the ClockHz field.

func (*MemoryBank) SetDescription

func (o *MemoryBank) SetDescription(v string)

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

func (*MemoryBank) SetId

func (o *MemoryBank) SetId(v string)

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

func (*MemoryBank) SetSerialNumber

func (o *MemoryBank) SetSerialNumber(v string)

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

func (*MemoryBank) SetSizeBytes

func (o *MemoryBank) SetSizeBytes(v string)

SetSizeBytes gets a reference to the given string and assigns it to the SizeBytes field.

func (MemoryBank) ToMap

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

func (*MemoryBank) UnmarshalJSON

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

type Metadata

type Metadata struct {
	// Total amount of elements in this collection
	TotalCount int32 `json:"totalCount"`
	// The offset used to generate this response
	Offset int32 `json:"offset"`
	// The limit used to generate this response
	Limit                int32 `json:"limit"`
	AdditionalProperties map[string]interface{}
}

Metadata Metadata about the collection

func NewMetadata

func NewMetadata(totalCount int32, offset int32, limit int32) *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetLimit

func (o *Metadata) GetLimit() int32

GetLimit returns the Limit field value

func (*Metadata) GetLimitOk

func (o *Metadata) GetLimitOk() (*int32, bool)

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

func (*Metadata) GetOffset

func (o *Metadata) GetOffset() int32

GetOffset returns the Offset field value

func (*Metadata) GetOffsetOk

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

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

func (*Metadata) GetTotalCount

func (o *Metadata) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*Metadata) GetTotalCountOk

func (o *Metadata) GetTotalCountOk() (*int32, bool)

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

func (Metadata) MarshalJSON

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

func (*Metadata) SetLimit

func (o *Metadata) SetLimit(v int32)

SetLimit sets field value

func (*Metadata) SetOffset

func (o *Metadata) SetOffset(v int32)

SetOffset sets field value

func (*Metadata) SetTotalCount

func (o *Metadata) SetTotalCount(v int32)

SetTotalCount sets field value

func (Metadata) ToMap

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

func (*Metadata) UnmarshalJSON

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

type Metric

type Metric struct {
	// The metric unit that's used
	Unit                 *string       `json:"unit,omitempty"`
	Values               []MetricValue `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

Metric struct for Metric

func NewMetric

func NewMetric() *Metric

NewMetric instantiates a new Metric 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 NewMetricWithDefaults

func NewMetricWithDefaults() *Metric

NewMetricWithDefaults instantiates a new Metric 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 (*Metric) GetUnit

func (o *Metric) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*Metric) GetUnitOk

func (o *Metric) GetUnitOk() (*string, bool)

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

func (*Metric) GetValues

func (o *Metric) GetValues() []MetricValue

GetValues returns the Values field value if set, zero value otherwise.

func (*Metric) GetValuesOk

func (o *Metric) GetValuesOk() ([]MetricValue, bool)

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

func (*Metric) HasUnit

func (o *Metric) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Metric) HasValues

func (o *Metric) HasValues() bool

HasValues returns a boolean if a field has been set.

func (Metric) MarshalJSON

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

func (*Metric) SetUnit

func (o *Metric) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*Metric) SetValues

func (o *Metric) SetValues(v []MetricValue)

SetValues gets a reference to the given []MetricValue and assigns it to the Values field.

func (Metric) ToMap

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

func (*Metric) UnmarshalJSON

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

type MetricValue

type MetricValue struct {
	// The time of the current metric
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// The value of the current metric
	Value                *int32 `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetricValue An array of metrics grouped by granularity

func NewMetricValue

func NewMetricValue() *MetricValue

NewMetricValue instantiates a new MetricValue 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 NewMetricValueWithDefaults

func NewMetricValueWithDefaults() *MetricValue

NewMetricValueWithDefaults instantiates a new MetricValue 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 (*MetricValue) GetTimestamp

func (o *MetricValue) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MetricValue) GetTimestampOk

func (o *MetricValue) GetTimestampOk() (*time.Time, bool)

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

func (*MetricValue) GetValue

func (o *MetricValue) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*MetricValue) GetValueOk

func (o *MetricValue) GetValueOk() (*int32, bool)

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

func (*MetricValue) HasTimestamp

func (o *MetricValue) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*MetricValue) HasValue

func (o *MetricValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (MetricValue) MarshalJSON

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

func (*MetricValue) SetTimestamp

func (o *MetricValue) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*MetricValue) SetValue

func (o *MetricValue) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (MetricValue) ToMap

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

func (*MetricValue) UnmarshalJSON

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

type MetricValues

type MetricValues struct {
	UP_PUBLIC            *Metric `json:"UP_PUBLIC,omitempty"`
	DOWN_PUBLIC          *Metric `json:"DOWN_PUBLIC,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetricValues Object containing all metrics

func NewMetricValues

func NewMetricValues() *MetricValues

NewMetricValues instantiates a new MetricValues 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 NewMetricValuesWithDefaults

func NewMetricValuesWithDefaults() *MetricValues

NewMetricValuesWithDefaults instantiates a new MetricValues 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 (*MetricValues) GetDOWN_PUBLIC

func (o *MetricValues) GetDOWN_PUBLIC() Metric

GetDOWN_PUBLIC returns the DOWN_PUBLIC field value if set, zero value otherwise.

func (*MetricValues) GetDOWN_PUBLICOk

func (o *MetricValues) GetDOWN_PUBLICOk() (*Metric, bool)

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

func (*MetricValues) GetUP_PUBLIC

func (o *MetricValues) GetUP_PUBLIC() Metric

GetUP_PUBLIC returns the UP_PUBLIC field value if set, zero value otherwise.

func (*MetricValues) GetUP_PUBLICOk

func (o *MetricValues) GetUP_PUBLICOk() (*Metric, bool)

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

func (*MetricValues) HasDOWN_PUBLIC

func (o *MetricValues) HasDOWN_PUBLIC() bool

HasDOWN_PUBLIC returns a boolean if a field has been set.

func (*MetricValues) HasUP_PUBLIC

func (o *MetricValues) HasUP_PUBLIC() bool

HasUP_PUBLIC returns a boolean if a field has been set.

func (MetricValues) MarshalJSON

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

func (*MetricValues) SetDOWN_PUBLIC

func (o *MetricValues) SetDOWN_PUBLIC(v Metric)

SetDOWN_PUBLIC gets a reference to the given Metric and assigns it to the DOWN_PUBLIC field.

func (*MetricValues) SetUP_PUBLIC

func (o *MetricValues) SetUP_PUBLIC(v Metric)

SetUP_PUBLIC gets a reference to the given Metric and assigns it to the UP_PUBLIC field.

func (MetricValues) ToMap

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

func (*MetricValues) UnmarshalJSON

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

type Metrics

type Metrics struct {
	Metadata             *MetricsMetadata `json:"_metadata,omitempty"`
	Metrics              *MetricValues    `json:"metrics,omitempty"`
	AdditionalProperties map[string]interface{}
}

Metrics struct for Metrics

func NewMetrics

func NewMetrics() *Metrics

NewMetrics instantiates a new Metrics 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 NewMetricsWithDefaults

func NewMetricsWithDefaults() *Metrics

NewMetricsWithDefaults instantiates a new Metrics 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 (*Metrics) GetMetadata

func (o *Metrics) GetMetadata() MetricsMetadata

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

func (*Metrics) GetMetadataOk

func (o *Metrics) GetMetadataOk() (*MetricsMetadata, 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 (*Metrics) GetMetrics

func (o *Metrics) GetMetrics() MetricValues

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*Metrics) GetMetricsOk

func (o *Metrics) GetMetricsOk() (*MetricValues, bool)

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

func (*Metrics) HasMetadata

func (o *Metrics) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Metrics) HasMetrics

func (o *Metrics) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (Metrics) MarshalJSON

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

func (*Metrics) SetMetadata

func (o *Metrics) SetMetadata(v MetricsMetadata)

SetMetadata gets a reference to the given MetricsMetadata and assigns it to the Metadata field.

func (*Metrics) SetMetrics

func (o *Metrics) SetMetrics(v MetricValues)

SetMetrics gets a reference to the given MetricValues and assigns it to the Metrics field.

func (Metrics) ToMap

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

func (*Metrics) UnmarshalJSON

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

type MetricsMetadata

type MetricsMetadata struct {
	// The aggregation type for this request
	Aggregation *string `json:"aggregation,omitempty"`
	// Start of date interval in ISO-8601 format
	From *time.Time `json:"from,omitempty"`
	// The interval for each metric
	Granularity *string `json:"granularity,omitempty"`
	// End of date interval in ISO-8601 format
	To                   *time.Time `json:"to,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetricsMetadata Metadata about the collection

func NewMetricsMetadata

func NewMetricsMetadata() *MetricsMetadata

NewMetricsMetadata instantiates a new MetricsMetadata 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 NewMetricsMetadataWithDefaults

func NewMetricsMetadataWithDefaults() *MetricsMetadata

NewMetricsMetadataWithDefaults instantiates a new MetricsMetadata 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 (*MetricsMetadata) GetAggregation

func (o *MetricsMetadata) GetAggregation() string

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*MetricsMetadata) GetAggregationOk

func (o *MetricsMetadata) GetAggregationOk() (*string, bool)

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

func (*MetricsMetadata) GetFrom

func (o *MetricsMetadata) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*MetricsMetadata) GetFromOk

func (o *MetricsMetadata) GetFromOk() (*time.Time, 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 (*MetricsMetadata) GetGranularity

func (o *MetricsMetadata) GetGranularity() string

GetGranularity returns the Granularity field value if set, zero value otherwise.

func (*MetricsMetadata) GetGranularityOk

func (o *MetricsMetadata) GetGranularityOk() (*string, bool)

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

func (*MetricsMetadata) GetTo

func (o *MetricsMetadata) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*MetricsMetadata) GetToOk

func (o *MetricsMetadata) GetToOk() (*time.Time, 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 (*MetricsMetadata) HasAggregation

func (o *MetricsMetadata) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*MetricsMetadata) HasFrom

func (o *MetricsMetadata) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*MetricsMetadata) HasGranularity

func (o *MetricsMetadata) HasGranularity() bool

HasGranularity returns a boolean if a field has been set.

func (*MetricsMetadata) HasTo

func (o *MetricsMetadata) HasTo() bool

HasTo returns a boolean if a field has been set.

func (MetricsMetadata) MarshalJSON

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

func (*MetricsMetadata) SetAggregation

func (o *MetricsMetadata) SetAggregation(v string)

SetAggregation gets a reference to the given string and assigns it to the Aggregation field.

func (*MetricsMetadata) SetFrom

func (o *MetricsMetadata) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*MetricsMetadata) SetGranularity

func (o *MetricsMetadata) SetGranularity(v string)

SetGranularity gets a reference to the given string and assigns it to the Granularity field.

func (*MetricsMetadata) SetTo

func (o *MetricsMetadata) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (MetricsMetadata) ToMap

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

func (*MetricsMetadata) UnmarshalJSON

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

type Motherboard

type Motherboard struct {
	Product              *string `json:"product,omitempty"`
	Serial               *string `json:"serial,omitempty"`
	Vendor               *string `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Motherboard struct for Motherboard

func NewMotherboard

func NewMotherboard() *Motherboard

NewMotherboard instantiates a new Motherboard 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 NewMotherboardWithDefaults

func NewMotherboardWithDefaults() *Motherboard

NewMotherboardWithDefaults instantiates a new Motherboard 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 (*Motherboard) GetProduct

func (o *Motherboard) GetProduct() string

GetProduct returns the Product field value if set, zero value otherwise.

func (*Motherboard) GetProductOk

func (o *Motherboard) GetProductOk() (*string, bool)

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

func (*Motherboard) GetSerial

func (o *Motherboard) GetSerial() string

GetSerial returns the Serial field value if set, zero value otherwise.

func (*Motherboard) GetSerialOk

func (o *Motherboard) GetSerialOk() (*string, bool)

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

func (*Motherboard) GetVendor

func (o *Motherboard) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Motherboard) GetVendorOk

func (o *Motherboard) GetVendorOk() (*string, bool)

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

func (*Motherboard) HasProduct

func (o *Motherboard) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*Motherboard) HasSerial

func (o *Motherboard) HasSerial() bool

HasSerial returns a boolean if a field has been set.

func (*Motherboard) HasVendor

func (o *Motherboard) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Motherboard) MarshalJSON

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

func (*Motherboard) SetProduct

func (o *Motherboard) SetProduct(v string)

SetProduct gets a reference to the given string and assigns it to the Product field.

func (*Motherboard) SetSerial

func (o *Motherboard) SetSerial(v string)

SetSerial gets a reference to the given string and assigns it to the Serial field.

func (*Motherboard) SetVendor

func (o *Motherboard) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Motherboard) ToMap

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

func (*Motherboard) UnmarshalJSON

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

type Network

type Network struct {
	Capabilities *NetworkCapabilities `json:"capabilities,omitempty"`
	Lldp         *Lldp                `json:"lldp,omitempty"`
	LogicalName  *string              `json:"logical_name,omitempty"`
	// Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`
	MacAddress           *string          `json:"mac_address,omitempty"`
	Product              *string          `json:"product,omitempty"`
	Settings             *NetworkSettings `json:"settings,omitempty"`
	Vendor               *string          `json:"vendor,omitempty"`
	AdditionalProperties map[string]interface{}
}

Network struct for Network

func NewNetwork

func NewNetwork() *Network

NewNetwork instantiates a new Network 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 NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network 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 (*Network) GetCapabilities

func (o *Network) GetCapabilities() NetworkCapabilities

GetCapabilities returns the Capabilities field value if set, zero value otherwise.

func (*Network) GetCapabilitiesOk

func (o *Network) GetCapabilitiesOk() (*NetworkCapabilities, bool)

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

func (*Network) GetLldp

func (o *Network) GetLldp() Lldp

GetLldp returns the Lldp field value if set, zero value otherwise.

func (*Network) GetLldpOk

func (o *Network) GetLldpOk() (*Lldp, bool)

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

func (*Network) GetLogicalName

func (o *Network) GetLogicalName() string

GetLogicalName returns the LogicalName field value if set, zero value otherwise.

func (*Network) GetLogicalNameOk

func (o *Network) GetLogicalNameOk() (*string, bool)

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

func (*Network) GetMacAddress

func (o *Network) GetMacAddress() string

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

func (*Network) GetMacAddressOk

func (o *Network) 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 (*Network) GetProduct

func (o *Network) GetProduct() string

GetProduct returns the Product field value if set, zero value otherwise.

func (*Network) GetProductOk

func (o *Network) GetProductOk() (*string, bool)

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

func (*Network) GetSettings

func (o *Network) GetSettings() NetworkSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*Network) GetSettingsOk

func (o *Network) GetSettingsOk() (*NetworkSettings, bool)

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

func (*Network) GetVendor

func (o *Network) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Network) GetVendorOk

func (o *Network) GetVendorOk() (*string, bool)

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

func (*Network) HasCapabilities

func (o *Network) HasCapabilities() bool

HasCapabilities returns a boolean if a field has been set.

func (*Network) HasLldp

func (o *Network) HasLldp() bool

HasLldp returns a boolean if a field has been set.

func (*Network) HasLogicalName

func (o *Network) HasLogicalName() bool

HasLogicalName returns a boolean if a field has been set.

func (*Network) HasMacAddress

func (o *Network) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

func (*Network) HasProduct

func (o *Network) HasProduct() bool

HasProduct returns a boolean if a field has been set.

func (*Network) HasSettings

func (o *Network) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*Network) HasVendor

func (o *Network) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (Network) MarshalJSON

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

func (*Network) SetCapabilities

func (o *Network) SetCapabilities(v NetworkCapabilities)

SetCapabilities gets a reference to the given NetworkCapabilities and assigns it to the Capabilities field.

func (*Network) SetLldp

func (o *Network) SetLldp(v Lldp)

SetLldp gets a reference to the given Lldp and assigns it to the Lldp field.

func (*Network) SetLogicalName

func (o *Network) SetLogicalName(v string)

SetLogicalName gets a reference to the given string and assigns it to the LogicalName field.

func (*Network) SetMacAddress

func (o *Network) SetMacAddress(v string)

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

func (*Network) SetProduct

func (o *Network) SetProduct(v string)

SetProduct gets a reference to the given string and assigns it to the Product field.

func (*Network) SetSettings

func (o *Network) SetSettings(v NetworkSettings)

SetSettings gets a reference to the given NetworkSettings and assigns it to the Settings field.

func (*Network) SetVendor

func (o *Network) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (Network) ToMap

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

func (*Network) UnmarshalJSON

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

type NetworkCapabilities

type NetworkCapabilities struct {
	Autonegotiation      *string     `json:"autonegotiation,omitempty"`
	BusMaster            *string     `json:"bus_master,omitempty"`
	CapList              *string     `json:"cap_list,omitempty"`
	Ethernet             *string     `json:"ethernet,omitempty"`
	LinkSpeeds           *LinkSpeeds `json:"link_speeds,omitempty"`
	Msi                  *string     `json:"msi,omitempty"`
	Msix                 *string     `json:"msix,omitempty"`
	Pciexpress           *string     `json:"pciexpress,omitempty"`
	Physical             *string     `json:"physical,omitempty"`
	Pm                   *string     `json:"pm,omitempty"`
	Tp                   *string     `json:"tp,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkCapabilities struct for NetworkCapabilities

func NewNetworkCapabilities

func NewNetworkCapabilities() *NetworkCapabilities

NewNetworkCapabilities instantiates a new NetworkCapabilities 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 NewNetworkCapabilitiesWithDefaults

func NewNetworkCapabilitiesWithDefaults() *NetworkCapabilities

NewNetworkCapabilitiesWithDefaults instantiates a new NetworkCapabilities 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 (*NetworkCapabilities) GetAutonegotiation

func (o *NetworkCapabilities) GetAutonegotiation() string

GetAutonegotiation returns the Autonegotiation field value if set, zero value otherwise.

func (*NetworkCapabilities) GetAutonegotiationOk

func (o *NetworkCapabilities) GetAutonegotiationOk() (*string, bool)

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

func (*NetworkCapabilities) GetBusMaster

func (o *NetworkCapabilities) GetBusMaster() string

GetBusMaster returns the BusMaster field value if set, zero value otherwise.

func (*NetworkCapabilities) GetBusMasterOk

func (o *NetworkCapabilities) GetBusMasterOk() (*string, bool)

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

func (*NetworkCapabilities) GetCapList

func (o *NetworkCapabilities) GetCapList() string

GetCapList returns the CapList field value if set, zero value otherwise.

func (*NetworkCapabilities) GetCapListOk

func (o *NetworkCapabilities) GetCapListOk() (*string, bool)

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

func (*NetworkCapabilities) GetEthernet

func (o *NetworkCapabilities) GetEthernet() string

GetEthernet returns the Ethernet field value if set, zero value otherwise.

func (*NetworkCapabilities) GetEthernetOk

func (o *NetworkCapabilities) GetEthernetOk() (*string, bool)

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

func (*NetworkCapabilities) GetLinkSpeeds

func (o *NetworkCapabilities) GetLinkSpeeds() LinkSpeeds

GetLinkSpeeds returns the LinkSpeeds field value if set, zero value otherwise.

func (*NetworkCapabilities) GetLinkSpeedsOk

func (o *NetworkCapabilities) GetLinkSpeedsOk() (*LinkSpeeds, bool)

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

func (*NetworkCapabilities) GetMsi

func (o *NetworkCapabilities) GetMsi() string

GetMsi returns the Msi field value if set, zero value otherwise.

func (*NetworkCapabilities) GetMsiOk

func (o *NetworkCapabilities) GetMsiOk() (*string, bool)

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

func (*NetworkCapabilities) GetMsix

func (o *NetworkCapabilities) GetMsix() string

GetMsix returns the Msix field value if set, zero value otherwise.

func (*NetworkCapabilities) GetMsixOk

func (o *NetworkCapabilities) GetMsixOk() (*string, bool)

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

func (*NetworkCapabilities) GetPciexpress

func (o *NetworkCapabilities) GetPciexpress() string

GetPciexpress returns the Pciexpress field value if set, zero value otherwise.

func (*NetworkCapabilities) GetPciexpressOk

func (o *NetworkCapabilities) GetPciexpressOk() (*string, bool)

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

func (*NetworkCapabilities) GetPhysical

func (o *NetworkCapabilities) GetPhysical() string

GetPhysical returns the Physical field value if set, zero value otherwise.

func (*NetworkCapabilities) GetPhysicalOk

func (o *NetworkCapabilities) GetPhysicalOk() (*string, bool)

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

func (*NetworkCapabilities) GetPm

func (o *NetworkCapabilities) GetPm() string

GetPm returns the Pm field value if set, zero value otherwise.

func (*NetworkCapabilities) GetPmOk

func (o *NetworkCapabilities) GetPmOk() (*string, bool)

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

func (*NetworkCapabilities) GetTp

func (o *NetworkCapabilities) GetTp() string

GetTp returns the Tp field value if set, zero value otherwise.

func (*NetworkCapabilities) GetTpOk

func (o *NetworkCapabilities) GetTpOk() (*string, bool)

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

func (*NetworkCapabilities) HasAutonegotiation

func (o *NetworkCapabilities) HasAutonegotiation() bool

HasAutonegotiation returns a boolean if a field has been set.

func (*NetworkCapabilities) HasBusMaster

func (o *NetworkCapabilities) HasBusMaster() bool

HasBusMaster returns a boolean if a field has been set.

func (*NetworkCapabilities) HasCapList

func (o *NetworkCapabilities) HasCapList() bool

HasCapList returns a boolean if a field has been set.

func (*NetworkCapabilities) HasEthernet

func (o *NetworkCapabilities) HasEthernet() bool

HasEthernet returns a boolean if a field has been set.

func (*NetworkCapabilities) HasLinkSpeeds

func (o *NetworkCapabilities) HasLinkSpeeds() bool

HasLinkSpeeds returns a boolean if a field has been set.

func (*NetworkCapabilities) HasMsi

func (o *NetworkCapabilities) HasMsi() bool

HasMsi returns a boolean if a field has been set.

func (*NetworkCapabilities) HasMsix

func (o *NetworkCapabilities) HasMsix() bool

HasMsix returns a boolean if a field has been set.

func (*NetworkCapabilities) HasPciexpress

func (o *NetworkCapabilities) HasPciexpress() bool

HasPciexpress returns a boolean if a field has been set.

func (*NetworkCapabilities) HasPhysical

func (o *NetworkCapabilities) HasPhysical() bool

HasPhysical returns a boolean if a field has been set.

func (*NetworkCapabilities) HasPm

func (o *NetworkCapabilities) HasPm() bool

HasPm returns a boolean if a field has been set.

func (*NetworkCapabilities) HasTp

func (o *NetworkCapabilities) HasTp() bool

HasTp returns a boolean if a field has been set.

func (NetworkCapabilities) MarshalJSON

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

func (*NetworkCapabilities) SetAutonegotiation

func (o *NetworkCapabilities) SetAutonegotiation(v string)

SetAutonegotiation gets a reference to the given string and assigns it to the Autonegotiation field.

func (*NetworkCapabilities) SetBusMaster

func (o *NetworkCapabilities) SetBusMaster(v string)

SetBusMaster gets a reference to the given string and assigns it to the BusMaster field.

func (*NetworkCapabilities) SetCapList

func (o *NetworkCapabilities) SetCapList(v string)

SetCapList gets a reference to the given string and assigns it to the CapList field.

func (*NetworkCapabilities) SetEthernet

func (o *NetworkCapabilities) SetEthernet(v string)

SetEthernet gets a reference to the given string and assigns it to the Ethernet field.

func (*NetworkCapabilities) SetLinkSpeeds

func (o *NetworkCapabilities) SetLinkSpeeds(v LinkSpeeds)

SetLinkSpeeds gets a reference to the given LinkSpeeds and assigns it to the LinkSpeeds field.

func (*NetworkCapabilities) SetMsi

func (o *NetworkCapabilities) SetMsi(v string)

SetMsi gets a reference to the given string and assigns it to the Msi field.

func (*NetworkCapabilities) SetMsix

func (o *NetworkCapabilities) SetMsix(v string)

SetMsix gets a reference to the given string and assigns it to the Msix field.

func (*NetworkCapabilities) SetPciexpress

func (o *NetworkCapabilities) SetPciexpress(v string)

SetPciexpress gets a reference to the given string and assigns it to the Pciexpress field.

func (*NetworkCapabilities) SetPhysical

func (o *NetworkCapabilities) SetPhysical(v string)

SetPhysical gets a reference to the given string and assigns it to the Physical field.

func (*NetworkCapabilities) SetPm

func (o *NetworkCapabilities) SetPm(v string)

SetPm gets a reference to the given string and assigns it to the Pm field.

func (*NetworkCapabilities) SetTp

func (o *NetworkCapabilities) SetTp(v string)

SetTp gets a reference to the given string and assigns it to the Tp field.

func (NetworkCapabilities) ToMap

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

func (*NetworkCapabilities) UnmarshalJSON

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

type NetworkEquipment

type NetworkEquipment struct {
	Contract            *Contract            `json:"contract,omitempty"`
	FeatureAvailability *FeatureAvailability `json:"featureAvailability,omitempty"`
	// Id of the network equipment
	Id       *string   `json:"id,omitempty"`
	Location *Location `json:"location,omitempty"`
	// The name of the network equipment
	Name *string `json:"name,omitempty"`
	// The network equipment type
	Type              *string            `json:"type,omitempty"`
	NetworkInterfaces *NetworkInterfaces `json:"networkInterfaces,omitempty"`
	// List of ports that can be used to manage power of the network equipment
	PowerPorts []Port `json:"powerPorts,omitempty"`
	Rack       *Rack  `json:"rack,omitempty"`
	// Serial number of network equipment
	SerialNumber         *string                `json:"serialNumber,omitempty"`
	Specs                *NetworkEquipmentSpecs `json:"specs,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkEquipment struct for NetworkEquipment

func NewNetworkEquipment

func NewNetworkEquipment() *NetworkEquipment

NewNetworkEquipment instantiates a new NetworkEquipment 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 NewNetworkEquipmentWithDefaults

func NewNetworkEquipmentWithDefaults() *NetworkEquipment

NewNetworkEquipmentWithDefaults instantiates a new NetworkEquipment 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 (*NetworkEquipment) GetContract

func (o *NetworkEquipment) GetContract() Contract

GetContract returns the Contract field value if set, zero value otherwise.

func (*NetworkEquipment) GetContractOk

func (o *NetworkEquipment) GetContractOk() (*Contract, bool)

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

func (*NetworkEquipment) GetFeatureAvailability

func (o *NetworkEquipment) GetFeatureAvailability() FeatureAvailability

GetFeatureAvailability returns the FeatureAvailability field value if set, zero value otherwise.

func (*NetworkEquipment) GetFeatureAvailabilityOk

func (o *NetworkEquipment) GetFeatureAvailabilityOk() (*FeatureAvailability, bool)

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

func (*NetworkEquipment) GetId

func (o *NetworkEquipment) GetId() string

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

func (*NetworkEquipment) GetIdOk

func (o *NetworkEquipment) 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 (*NetworkEquipment) GetLocation

func (o *NetworkEquipment) GetLocation() Location

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

func (*NetworkEquipment) GetLocationOk

func (o *NetworkEquipment) GetLocationOk() (*Location, 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 (*NetworkEquipment) GetName

func (o *NetworkEquipment) GetName() string

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

func (*NetworkEquipment) GetNameOk

func (o *NetworkEquipment) 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 (*NetworkEquipment) GetNetworkInterfaces

func (o *NetworkEquipment) GetNetworkInterfaces() NetworkInterfaces

GetNetworkInterfaces returns the NetworkInterfaces field value if set, zero value otherwise.

func (*NetworkEquipment) GetNetworkInterfacesOk

func (o *NetworkEquipment) GetNetworkInterfacesOk() (*NetworkInterfaces, bool)

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

func (*NetworkEquipment) GetPowerPorts

func (o *NetworkEquipment) GetPowerPorts() []Port

GetPowerPorts returns the PowerPorts field value if set, zero value otherwise.

func (*NetworkEquipment) GetPowerPortsOk

func (o *NetworkEquipment) GetPowerPortsOk() ([]Port, bool)

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

func (*NetworkEquipment) GetRack

func (o *NetworkEquipment) GetRack() Rack

GetRack returns the Rack field value if set, zero value otherwise.

func (*NetworkEquipment) GetRackOk

func (o *NetworkEquipment) GetRackOk() (*Rack, bool)

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

func (*NetworkEquipment) GetSerialNumber

func (o *NetworkEquipment) GetSerialNumber() string

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

func (*NetworkEquipment) GetSerialNumberOk

func (o *NetworkEquipment) 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 (*NetworkEquipment) GetSpecs

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*NetworkEquipment) GetSpecsOk

func (o *NetworkEquipment) GetSpecsOk() (*NetworkEquipmentSpecs, bool)

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

func (*NetworkEquipment) GetType

func (o *NetworkEquipment) GetType() string

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

func (*NetworkEquipment) GetTypeOk

func (o *NetworkEquipment) GetTypeOk() (*string, bool)

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

func (*NetworkEquipment) HasContract

func (o *NetworkEquipment) HasContract() bool

HasContract returns a boolean if a field has been set.

func (*NetworkEquipment) HasFeatureAvailability

func (o *NetworkEquipment) HasFeatureAvailability() bool

HasFeatureAvailability returns a boolean if a field has been set.

func (*NetworkEquipment) HasId

func (o *NetworkEquipment) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkEquipment) HasLocation

func (o *NetworkEquipment) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*NetworkEquipment) HasName

func (o *NetworkEquipment) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkEquipment) HasNetworkInterfaces

func (o *NetworkEquipment) HasNetworkInterfaces() bool

HasNetworkInterfaces returns a boolean if a field has been set.

func (*NetworkEquipment) HasPowerPorts

func (o *NetworkEquipment) HasPowerPorts() bool

HasPowerPorts returns a boolean if a field has been set.

func (*NetworkEquipment) HasRack

func (o *NetworkEquipment) HasRack() bool

HasRack returns a boolean if a field has been set.

func (*NetworkEquipment) HasSerialNumber

func (o *NetworkEquipment) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*NetworkEquipment) HasSpecs

func (o *NetworkEquipment) HasSpecs() bool

HasSpecs returns a boolean if a field has been set.

func (*NetworkEquipment) HasType

func (o *NetworkEquipment) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkEquipment) MarshalJSON

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

func (*NetworkEquipment) SetContract

func (o *NetworkEquipment) SetContract(v Contract)

SetContract gets a reference to the given Contract and assigns it to the Contract field.

func (*NetworkEquipment) SetFeatureAvailability

func (o *NetworkEquipment) SetFeatureAvailability(v FeatureAvailability)

SetFeatureAvailability gets a reference to the given FeatureAvailability and assigns it to the FeatureAvailability field.

func (*NetworkEquipment) SetId

func (o *NetworkEquipment) SetId(v string)

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

func (*NetworkEquipment) SetLocation

func (o *NetworkEquipment) SetLocation(v Location)

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

func (*NetworkEquipment) SetName

func (o *NetworkEquipment) SetName(v string)

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

func (*NetworkEquipment) SetNetworkInterfaces

func (o *NetworkEquipment) SetNetworkInterfaces(v NetworkInterfaces)

SetNetworkInterfaces gets a reference to the given NetworkInterfaces and assigns it to the NetworkInterfaces field.

func (*NetworkEquipment) SetPowerPorts

func (o *NetworkEquipment) SetPowerPorts(v []Port)

SetPowerPorts gets a reference to the given []Port and assigns it to the PowerPorts field.

func (*NetworkEquipment) SetRack

func (o *NetworkEquipment) SetRack(v Rack)

SetRack gets a reference to the given Rack and assigns it to the Rack field.

func (*NetworkEquipment) SetSerialNumber

func (o *NetworkEquipment) SetSerialNumber(v string)

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

func (*NetworkEquipment) SetSpecs

func (o *NetworkEquipment) SetSpecs(v NetworkEquipmentSpecs)

SetSpecs gets a reference to the given NetworkEquipmentSpecs and assigns it to the Specs field.

func (*NetworkEquipment) SetType

func (o *NetworkEquipment) SetType(v string)

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

func (NetworkEquipment) ToMap

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

func (*NetworkEquipment) UnmarshalJSON

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

type NetworkEquipmentSpecs

type NetworkEquipmentSpecs struct {
	// The brand of the network equipment
	Brand *string `json:"brand,omitempty"`
	// The model of the network equipment
	Model                *string `json:"model,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkEquipmentSpecs Hardware information of the network equipment

func NewNetworkEquipmentSpecs

func NewNetworkEquipmentSpecs() *NetworkEquipmentSpecs

NewNetworkEquipmentSpecs instantiates a new NetworkEquipmentSpecs 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 NewNetworkEquipmentSpecsWithDefaults

func NewNetworkEquipmentSpecsWithDefaults() *NetworkEquipmentSpecs

NewNetworkEquipmentSpecsWithDefaults instantiates a new NetworkEquipmentSpecs 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 (*NetworkEquipmentSpecs) GetBrand

func (o *NetworkEquipmentSpecs) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*NetworkEquipmentSpecs) GetBrandOk

func (o *NetworkEquipmentSpecs) GetBrandOk() (*string, bool)

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

func (*NetworkEquipmentSpecs) GetModel

func (o *NetworkEquipmentSpecs) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*NetworkEquipmentSpecs) GetModelOk

func (o *NetworkEquipmentSpecs) GetModelOk() (*string, bool)

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

func (*NetworkEquipmentSpecs) HasBrand

func (o *NetworkEquipmentSpecs) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*NetworkEquipmentSpecs) HasModel

func (o *NetworkEquipmentSpecs) HasModel() bool

HasModel returns a boolean if a field has been set.

func (NetworkEquipmentSpecs) MarshalJSON

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

func (*NetworkEquipmentSpecs) SetBrand

func (o *NetworkEquipmentSpecs) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*NetworkEquipmentSpecs) SetModel

func (o *NetworkEquipmentSpecs) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (NetworkEquipmentSpecs) ToMap

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

func (*NetworkEquipmentSpecs) UnmarshalJSON

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

type NetworkInterface

type NetworkInterface struct {
	// Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`
	Mac                  NullableString `json:"mac,omitempty"`
	Ip                   NullableString `json:"ip,omitempty"`
	NullRouted           NullableBool   `json:"nullRouted,omitempty"`
	Gateway              NullableString `json:"gateway,omitempty"`
	Ports                []Port         `json:"ports,omitempty"`
	LocationId           NullableString `json:"locationId,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkInterface struct for NetworkInterface

func NewNetworkInterface

func NewNetworkInterface() *NetworkInterface

NewNetworkInterface instantiates a new NetworkInterface 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 NewNetworkInterfaceWithDefaults

func NewNetworkInterfaceWithDefaults() *NetworkInterface

NewNetworkInterfaceWithDefaults instantiates a new NetworkInterface 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 (*NetworkInterface) GetGateway

func (o *NetworkInterface) GetGateway() string

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

func (*NetworkInterface) GetGatewayOk

func (o *NetworkInterface) GetGatewayOk() (*string, bool)

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

func (*NetworkInterface) GetIp

func (o *NetworkInterface) GetIp() string

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

func (*NetworkInterface) GetIpOk

func (o *NetworkInterface) GetIpOk() (*string, bool)

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

func (*NetworkInterface) GetLocationId

func (o *NetworkInterface) GetLocationId() string

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

func (*NetworkInterface) GetLocationIdOk

func (o *NetworkInterface) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkInterface) GetMac

func (o *NetworkInterface) GetMac() string

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

func (*NetworkInterface) GetMacOk

func (o *NetworkInterface) GetMacOk() (*string, bool)

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

func (*NetworkInterface) GetNullRouted

func (o *NetworkInterface) GetNullRouted() bool

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

func (*NetworkInterface) GetNullRoutedOk

func (o *NetworkInterface) GetNullRoutedOk() (*bool, bool)

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

func (*NetworkInterface) GetPorts

func (o *NetworkInterface) GetPorts() []Port

GetPorts returns the Ports field value if set, zero value otherwise.

func (*NetworkInterface) GetPortsOk

func (o *NetworkInterface) GetPortsOk() ([]Port, bool)

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

func (*NetworkInterface) HasGateway

func (o *NetworkInterface) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*NetworkInterface) HasIp

func (o *NetworkInterface) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*NetworkInterface) HasLocationId

func (o *NetworkInterface) HasLocationId() bool

HasLocationId returns a boolean if a field has been set.

func (*NetworkInterface) HasMac

func (o *NetworkInterface) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*NetworkInterface) HasNullRouted

func (o *NetworkInterface) HasNullRouted() bool

HasNullRouted returns a boolean if a field has been set.

func (*NetworkInterface) HasPorts

func (o *NetworkInterface) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (NetworkInterface) MarshalJSON

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

func (*NetworkInterface) SetGateway

func (o *NetworkInterface) SetGateway(v string)

SetGateway gets a reference to the given NullableString and assigns it to the Gateway field.

func (*NetworkInterface) SetGatewayNil

func (o *NetworkInterface) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*NetworkInterface) SetIp

func (o *NetworkInterface) SetIp(v string)

SetIp gets a reference to the given NullableString and assigns it to the Ip field.

func (*NetworkInterface) SetIpNil

func (o *NetworkInterface) SetIpNil()

SetIpNil sets the value for Ip to be an explicit nil

func (*NetworkInterface) SetLocationId

func (o *NetworkInterface) SetLocationId(v string)

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

func (*NetworkInterface) SetLocationIdNil

func (o *NetworkInterface) SetLocationIdNil()

SetLocationIdNil sets the value for LocationId to be an explicit nil

func (*NetworkInterface) SetMac

func (o *NetworkInterface) SetMac(v string)

SetMac gets a reference to the given NullableString and assigns it to the Mac field.

func (*NetworkInterface) SetMacNil

func (o *NetworkInterface) SetMacNil()

SetMacNil sets the value for Mac to be an explicit nil

func (*NetworkInterface) SetNullRouted

func (o *NetworkInterface) SetNullRouted(v bool)

SetNullRouted gets a reference to the given NullableBool and assigns it to the NullRouted field.

func (*NetworkInterface) SetNullRoutedNil

func (o *NetworkInterface) SetNullRoutedNil()

SetNullRoutedNil sets the value for NullRouted to be an explicit nil

func (*NetworkInterface) SetPorts

func (o *NetworkInterface) SetPorts(v []Port)

SetPorts gets a reference to the given []Port and assigns it to the Ports field.

func (NetworkInterface) ToMap

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

func (*NetworkInterface) UnmarshalJSON

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

func (*NetworkInterface) UnsetGateway

func (o *NetworkInterface) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

func (*NetworkInterface) UnsetIp

func (o *NetworkInterface) UnsetIp()

UnsetIp ensures that no value is present for Ip, not even an explicit nil

func (*NetworkInterface) UnsetLocationId

func (o *NetworkInterface) UnsetLocationId()

UnsetLocationId ensures that no value is present for LocationId, not even an explicit nil

func (*NetworkInterface) UnsetMac

func (o *NetworkInterface) UnsetMac()

UnsetMac ensures that no value is present for Mac, not even an explicit nil

func (*NetworkInterface) UnsetNullRouted

func (o *NetworkInterface) UnsetNullRouted()

UnsetNullRouted ensures that no value is present for NullRouted, not even an explicit nil

type NetworkInterfaces

type NetworkInterfaces struct {
	Public               *NetworkInterface `json:"public,omitempty"`
	Internal             *NetworkInterface `json:"internal,omitempty"`
	RemoteManagement     *NetworkInterface `json:"remoteManagement,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkInterfaces Network interface information grouped by type

func NewNetworkInterfaces

func NewNetworkInterfaces() *NetworkInterfaces

NewNetworkInterfaces instantiates a new NetworkInterfaces 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 NewNetworkInterfacesWithDefaults

func NewNetworkInterfacesWithDefaults() *NetworkInterfaces

NewNetworkInterfacesWithDefaults instantiates a new NetworkInterfaces 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 (*NetworkInterfaces) GetInternal

func (o *NetworkInterfaces) GetInternal() NetworkInterface

GetInternal returns the Internal field value if set, zero value otherwise.

func (*NetworkInterfaces) GetInternalOk

func (o *NetworkInterfaces) GetInternalOk() (*NetworkInterface, bool)

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

func (*NetworkInterfaces) GetPublic

func (o *NetworkInterfaces) GetPublic() NetworkInterface

GetPublic returns the Public field value if set, zero value otherwise.

func (*NetworkInterfaces) GetPublicOk

func (o *NetworkInterfaces) GetPublicOk() (*NetworkInterface, bool)

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

func (*NetworkInterfaces) GetRemoteManagement

func (o *NetworkInterfaces) GetRemoteManagement() NetworkInterface

GetRemoteManagement returns the RemoteManagement field value if set, zero value otherwise.

func (*NetworkInterfaces) GetRemoteManagementOk

func (o *NetworkInterfaces) GetRemoteManagementOk() (*NetworkInterface, bool)

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

func (*NetworkInterfaces) HasInternal

func (o *NetworkInterfaces) HasInternal() bool

HasInternal returns a boolean if a field has been set.

func (*NetworkInterfaces) HasPublic

func (o *NetworkInterfaces) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*NetworkInterfaces) HasRemoteManagement

func (o *NetworkInterfaces) HasRemoteManagement() bool

HasRemoteManagement returns a boolean if a field has been set.

func (NetworkInterfaces) MarshalJSON

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

func (*NetworkInterfaces) SetInternal

func (o *NetworkInterfaces) SetInternal(v NetworkInterface)

SetInternal gets a reference to the given NetworkInterface and assigns it to the Internal field.

func (*NetworkInterfaces) SetPublic

func (o *NetworkInterfaces) SetPublic(v NetworkInterface)

SetPublic gets a reference to the given NetworkInterface and assigns it to the Public field.

func (*NetworkInterfaces) SetRemoteManagement

func (o *NetworkInterfaces) SetRemoteManagement(v NetworkInterface)

SetRemoteManagement gets a reference to the given NetworkInterface and assigns it to the RemoteManagement field.

func (NetworkInterfaces) ToMap

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

func (*NetworkInterfaces) UnmarshalJSON

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

type NetworkSettings

type NetworkSettings struct {
	Autonegotiation      *string `json:"autonegotiation,omitempty"`
	Broadcast            *string `json:"broadcast,omitempty"`
	Driver               *string `json:"driver,omitempty"`
	Driverversion        *string `json:"driverversion,omitempty"`
	Duplex               *string `json:"duplex,omitempty"`
	Firmware             *string `json:"firmware,omitempty"`
	Ip                   *string `json:"ip,omitempty"`
	Latency              *string `json:"latency,omitempty"`
	Link                 *string `json:"link,omitempty"`
	Multicast            *string `json:"multicast,omitempty"`
	Port                 *string `json:"port,omitempty"`
	Speed                *string `json:"speed,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkSettings struct for NetworkSettings

func NewNetworkSettings

func NewNetworkSettings() *NetworkSettings

NewNetworkSettings instantiates a new NetworkSettings 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 NewNetworkSettingsWithDefaults

func NewNetworkSettingsWithDefaults() *NetworkSettings

NewNetworkSettingsWithDefaults instantiates a new NetworkSettings 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 (*NetworkSettings) GetAutonegotiation

func (o *NetworkSettings) GetAutonegotiation() string

GetAutonegotiation returns the Autonegotiation field value if set, zero value otherwise.

func (*NetworkSettings) GetAutonegotiationOk

func (o *NetworkSettings) GetAutonegotiationOk() (*string, bool)

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

func (*NetworkSettings) GetBroadcast

func (o *NetworkSettings) GetBroadcast() string

GetBroadcast returns the Broadcast field value if set, zero value otherwise.

func (*NetworkSettings) GetBroadcastOk

func (o *NetworkSettings) GetBroadcastOk() (*string, bool)

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

func (*NetworkSettings) GetDriver

func (o *NetworkSettings) GetDriver() string

GetDriver returns the Driver field value if set, zero value otherwise.

func (*NetworkSettings) GetDriverOk

func (o *NetworkSettings) GetDriverOk() (*string, bool)

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

func (*NetworkSettings) GetDriverversion

func (o *NetworkSettings) GetDriverversion() string

GetDriverversion returns the Driverversion field value if set, zero value otherwise.

func (*NetworkSettings) GetDriverversionOk

func (o *NetworkSettings) GetDriverversionOk() (*string, bool)

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

func (*NetworkSettings) GetDuplex

func (o *NetworkSettings) GetDuplex() string

GetDuplex returns the Duplex field value if set, zero value otherwise.

func (*NetworkSettings) GetDuplexOk

func (o *NetworkSettings) GetDuplexOk() (*string, bool)

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

func (*NetworkSettings) GetFirmware

func (o *NetworkSettings) GetFirmware() string

GetFirmware returns the Firmware field value if set, zero value otherwise.

func (*NetworkSettings) GetFirmwareOk

func (o *NetworkSettings) GetFirmwareOk() (*string, bool)

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

func (*NetworkSettings) GetIp

func (o *NetworkSettings) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*NetworkSettings) GetIpOk

func (o *NetworkSettings) GetIpOk() (*string, bool)

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

func (*NetworkSettings) GetLatency

func (o *NetworkSettings) GetLatency() string

GetLatency returns the Latency field value if set, zero value otherwise.

func (*NetworkSettings) GetLatencyOk

func (o *NetworkSettings) GetLatencyOk() (*string, bool)

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

func (o *NetworkSettings) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*NetworkSettings) GetLinkOk

func (o *NetworkSettings) GetLinkOk() (*string, bool)

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

func (*NetworkSettings) GetMulticast

func (o *NetworkSettings) GetMulticast() string

GetMulticast returns the Multicast field value if set, zero value otherwise.

func (*NetworkSettings) GetMulticastOk

func (o *NetworkSettings) GetMulticastOk() (*string, bool)

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

func (*NetworkSettings) GetPort

func (o *NetworkSettings) GetPort() string

GetPort returns the Port field value if set, zero value otherwise.

func (*NetworkSettings) GetPortOk

func (o *NetworkSettings) GetPortOk() (*string, bool)

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

func (*NetworkSettings) GetSpeed

func (o *NetworkSettings) GetSpeed() string

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*NetworkSettings) GetSpeedOk

func (o *NetworkSettings) GetSpeedOk() (*string, bool)

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

func (*NetworkSettings) HasAutonegotiation

func (o *NetworkSettings) HasAutonegotiation() bool

HasAutonegotiation returns a boolean if a field has been set.

func (*NetworkSettings) HasBroadcast

func (o *NetworkSettings) HasBroadcast() bool

HasBroadcast returns a boolean if a field has been set.

func (*NetworkSettings) HasDriver

func (o *NetworkSettings) HasDriver() bool

HasDriver returns a boolean if a field has been set.

func (*NetworkSettings) HasDriverversion

func (o *NetworkSettings) HasDriverversion() bool

HasDriverversion returns a boolean if a field has been set.

func (*NetworkSettings) HasDuplex

func (o *NetworkSettings) HasDuplex() bool

HasDuplex returns a boolean if a field has been set.

func (*NetworkSettings) HasFirmware

func (o *NetworkSettings) HasFirmware() bool

HasFirmware returns a boolean if a field has been set.

func (*NetworkSettings) HasIp

func (o *NetworkSettings) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*NetworkSettings) HasLatency

func (o *NetworkSettings) HasLatency() bool

HasLatency returns a boolean if a field has been set.

func (o *NetworkSettings) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*NetworkSettings) HasMulticast

func (o *NetworkSettings) HasMulticast() bool

HasMulticast returns a boolean if a field has been set.

func (*NetworkSettings) HasPort

func (o *NetworkSettings) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*NetworkSettings) HasSpeed

func (o *NetworkSettings) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (NetworkSettings) MarshalJSON

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

func (*NetworkSettings) SetAutonegotiation

func (o *NetworkSettings) SetAutonegotiation(v string)

SetAutonegotiation gets a reference to the given string and assigns it to the Autonegotiation field.

func (*NetworkSettings) SetBroadcast

func (o *NetworkSettings) SetBroadcast(v string)

SetBroadcast gets a reference to the given string and assigns it to the Broadcast field.

func (*NetworkSettings) SetDriver

func (o *NetworkSettings) SetDriver(v string)

SetDriver gets a reference to the given string and assigns it to the Driver field.

func (*NetworkSettings) SetDriverversion

func (o *NetworkSettings) SetDriverversion(v string)

SetDriverversion gets a reference to the given string and assigns it to the Driverversion field.

func (*NetworkSettings) SetDuplex

func (o *NetworkSettings) SetDuplex(v string)

SetDuplex gets a reference to the given string and assigns it to the Duplex field.

func (*NetworkSettings) SetFirmware

func (o *NetworkSettings) SetFirmware(v string)

SetFirmware gets a reference to the given string and assigns it to the Firmware field.

func (*NetworkSettings) SetIp

func (o *NetworkSettings) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*NetworkSettings) SetLatency

func (o *NetworkSettings) SetLatency(v string)

SetLatency gets a reference to the given string and assigns it to the Latency field.

func (o *NetworkSettings) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*NetworkSettings) SetMulticast

func (o *NetworkSettings) SetMulticast(v string)

SetMulticast gets a reference to the given string and assigns it to the Multicast field.

func (*NetworkSettings) SetPort

func (o *NetworkSettings) SetPort(v string)

SetPort gets a reference to the given string and assigns it to the Port field.

func (*NetworkSettings) SetSpeed

func (o *NetworkSettings) SetSpeed(v string)

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (NetworkSettings) ToMap

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

func (*NetworkSettings) UnmarshalJSON

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

type NetworkTraffic

type NetworkTraffic struct {
	// Type of network traffic
	Type             NullableString `json:"type,omitempty"`
	ConnectivityType NullableString `json:"connectivityType,omitempty"`
	// Type of traffic
	TrafficType NullableString `json:"trafficType,omitempty"`
	// Unit in which the data traffic limit is represented
	DatatrafficUnit NullableString `json:"datatrafficUnit,omitempty"`
	// Data traffic limit
	DatatrafficLimit     NullableFloat32 `json:"datatrafficLimit,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTraffic Network traffic associated to the server

func NewNetworkTraffic

func NewNetworkTraffic() *NetworkTraffic

NewNetworkTraffic instantiates a new NetworkTraffic 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 NewNetworkTrafficWithDefaults

func NewNetworkTrafficWithDefaults() *NetworkTraffic

NewNetworkTrafficWithDefaults instantiates a new NetworkTraffic 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 (*NetworkTraffic) GetConnectivityType

func (o *NetworkTraffic) GetConnectivityType() string

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

func (*NetworkTraffic) GetConnectivityTypeOk

func (o *NetworkTraffic) GetConnectivityTypeOk() (*string, bool)

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

func (*NetworkTraffic) GetDatatrafficLimit

func (o *NetworkTraffic) GetDatatrafficLimit() float32

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

func (*NetworkTraffic) GetDatatrafficLimitOk

func (o *NetworkTraffic) GetDatatrafficLimitOk() (*float32, bool)

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

func (*NetworkTraffic) GetDatatrafficUnit

func (o *NetworkTraffic) GetDatatrafficUnit() string

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

func (*NetworkTraffic) GetDatatrafficUnitOk

func (o *NetworkTraffic) GetDatatrafficUnitOk() (*string, bool)

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

func (*NetworkTraffic) GetTrafficType

func (o *NetworkTraffic) GetTrafficType() string

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

func (*NetworkTraffic) GetTrafficTypeOk

func (o *NetworkTraffic) GetTrafficTypeOk() (*string, bool)

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

func (*NetworkTraffic) GetType

func (o *NetworkTraffic) GetType() string

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

func (*NetworkTraffic) GetTypeOk

func (o *NetworkTraffic) GetTypeOk() (*string, bool)

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

func (*NetworkTraffic) HasConnectivityType

func (o *NetworkTraffic) HasConnectivityType() bool

HasConnectivityType returns a boolean if a field has been set.

func (*NetworkTraffic) HasDatatrafficLimit

func (o *NetworkTraffic) HasDatatrafficLimit() bool

HasDatatrafficLimit returns a boolean if a field has been set.

func (*NetworkTraffic) HasDatatrafficUnit

func (o *NetworkTraffic) HasDatatrafficUnit() bool

HasDatatrafficUnit returns a boolean if a field has been set.

func (*NetworkTraffic) HasTrafficType

func (o *NetworkTraffic) HasTrafficType() bool

HasTrafficType returns a boolean if a field has been set.

func (*NetworkTraffic) HasType

func (o *NetworkTraffic) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkTraffic) MarshalJSON

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

func (*NetworkTraffic) SetConnectivityType

func (o *NetworkTraffic) SetConnectivityType(v string)

SetConnectivityType gets a reference to the given NullableString and assigns it to the ConnectivityType field.

func (*NetworkTraffic) SetConnectivityTypeNil

func (o *NetworkTraffic) SetConnectivityTypeNil()

SetConnectivityTypeNil sets the value for ConnectivityType to be an explicit nil

func (*NetworkTraffic) SetDatatrafficLimit

func (o *NetworkTraffic) SetDatatrafficLimit(v float32)

SetDatatrafficLimit gets a reference to the given NullableFloat32 and assigns it to the DatatrafficLimit field.

func (*NetworkTraffic) SetDatatrafficLimitNil

func (o *NetworkTraffic) SetDatatrafficLimitNil()

SetDatatrafficLimitNil sets the value for DatatrafficLimit to be an explicit nil

func (*NetworkTraffic) SetDatatrafficUnit

func (o *NetworkTraffic) SetDatatrafficUnit(v string)

SetDatatrafficUnit gets a reference to the given NullableString and assigns it to the DatatrafficUnit field.

func (*NetworkTraffic) SetDatatrafficUnitNil

func (o *NetworkTraffic) SetDatatrafficUnitNil()

SetDatatrafficUnitNil sets the value for DatatrafficUnit to be an explicit nil

func (*NetworkTraffic) SetTrafficType

func (o *NetworkTraffic) SetTrafficType(v string)

SetTrafficType gets a reference to the given NullableString and assigns it to the TrafficType field.

func (*NetworkTraffic) SetTrafficTypeNil

func (o *NetworkTraffic) SetTrafficTypeNil()

SetTrafficTypeNil sets the value for TrafficType to be an explicit nil

func (*NetworkTraffic) SetType

func (o *NetworkTraffic) SetType(v string)

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

func (*NetworkTraffic) SetTypeNil

func (o *NetworkTraffic) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (NetworkTraffic) ToMap

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

func (*NetworkTraffic) UnmarshalJSON

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

func (*NetworkTraffic) UnsetConnectivityType

func (o *NetworkTraffic) UnsetConnectivityType()

UnsetConnectivityType ensures that no value is present for ConnectivityType, not even an explicit nil

func (*NetworkTraffic) UnsetDatatrafficLimit

func (o *NetworkTraffic) UnsetDatatrafficLimit()

UnsetDatatrafficLimit ensures that no value is present for DatatrafficLimit, not even an explicit nil

func (*NetworkTraffic) UnsetDatatrafficUnit

func (o *NetworkTraffic) UnsetDatatrafficUnit()

UnsetDatatrafficUnit ensures that no value is present for DatatrafficUnit, not even an explicit nil

func (*NetworkTraffic) UnsetTrafficType

func (o *NetworkTraffic) UnsetTrafficType()

UnsetTrafficType ensures that no value is present for TrafficType, not even an explicit nil

func (*NetworkTraffic) UnsetType

func (o *NetworkTraffic) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

type NetworkType

type NetworkType string

NetworkType Type of network

const (
	NETWORKTYPE_INTERNAL          NetworkType = "INTERNAL"
	NETWORKTYPE_PUBLIC            NetworkType = "PUBLIC"
	NETWORKTYPE_REMOTE_MANAGEMENT NetworkType = "REMOTE_MANAGEMENT"
)

List of networkType

func NewNetworkTypeFromValue

func NewNetworkTypeFromValue(v string) (*NetworkType, error)

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

func (NetworkType) IsValid

func (v NetworkType) IsValid() bool

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

func (NetworkType) Ptr

func (v NetworkType) Ptr() *NetworkType

Ptr returns reference to networkType value

func (*NetworkType) UnmarshalJSON

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

type NetworkTypeURL

type NetworkTypeURL string

NetworkTypeURL Type of network

const (
	NETWORKTYPEURL_INTERNAL          NetworkTypeURL = "internal"
	NETWORKTYPEURL_PUBLIC            NetworkTypeURL = "public"
	NETWORKTYPEURL_REMOTE_MANAGEMENT NetworkTypeURL = "remoteManagement"
)

List of networkTypeURL

func NewNetworkTypeURLFromValue

func NewNetworkTypeURLFromValue(v string) (*NetworkTypeURL, error)

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

func (NetworkTypeURL) IsValid

func (v NetworkTypeURL) IsValid() bool

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

func (NetworkTypeURL) Ptr

func (v NetworkTypeURL) Ptr() *NetworkTypeURL

Ptr returns reference to networkTypeURL value

func (*NetworkTypeURL) UnmarshalJSON

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

type NotificationSetting

type NotificationSetting struct {
	// An array of notification setting actions
	Actions []Actions `json:"actions,omitempty"`
	// Frequency
	Frequency string `json:"frequency"`
	// Identifier of the notification setting
	Id string `json:"id"`
	// Date timestamp when the system last checked the server for threshold limit
	LastCheckedAt NullableString `json:"lastCheckedAt,omitempty"`
	// Threshold Value
	Threshold string `json:"threshold"`
	// Date timestamp when the threshold exceeded the limit
	ThresholdExceededAt  NullableString `json:"thresholdExceededAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

NotificationSetting struct for NotificationSetting

func NewNotificationSetting

func NewNotificationSetting(frequency string, id string, threshold string) *NotificationSetting

NewNotificationSetting instantiates a new NotificationSetting 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 NewNotificationSettingWithDefaults

func NewNotificationSettingWithDefaults() *NotificationSetting

NewNotificationSettingWithDefaults instantiates a new NotificationSetting 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 (*NotificationSetting) GetActions

func (o *NotificationSetting) GetActions() []Actions

GetActions returns the Actions field value if set, zero value otherwise.

func (*NotificationSetting) GetActionsOk

func (o *NotificationSetting) GetActionsOk() ([]Actions, bool)

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

func (*NotificationSetting) GetFrequency

func (o *NotificationSetting) GetFrequency() string

GetFrequency returns the Frequency field value

func (*NotificationSetting) GetFrequencyOk

func (o *NotificationSetting) GetFrequencyOk() (*string, bool)

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

func (*NotificationSetting) GetId

func (o *NotificationSetting) GetId() string

GetId returns the Id field value

func (*NotificationSetting) GetIdOk

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

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

func (*NotificationSetting) GetLastCheckedAt

func (o *NotificationSetting) GetLastCheckedAt() string

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

func (*NotificationSetting) GetLastCheckedAtOk

func (o *NotificationSetting) GetLastCheckedAtOk() (*string, bool)

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

func (*NotificationSetting) GetThreshold

func (o *NotificationSetting) GetThreshold() string

GetThreshold returns the Threshold field value

func (*NotificationSetting) GetThresholdExceededAt

func (o *NotificationSetting) GetThresholdExceededAt() string

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

func (*NotificationSetting) GetThresholdExceededAtOk

func (o *NotificationSetting) GetThresholdExceededAtOk() (*string, bool)

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

func (*NotificationSetting) GetThresholdOk

func (o *NotificationSetting) GetThresholdOk() (*string, bool)

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

func (*NotificationSetting) HasActions

func (o *NotificationSetting) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*NotificationSetting) HasLastCheckedAt

func (o *NotificationSetting) HasLastCheckedAt() bool

HasLastCheckedAt returns a boolean if a field has been set.

func (*NotificationSetting) HasThresholdExceededAt

func (o *NotificationSetting) HasThresholdExceededAt() bool

HasThresholdExceededAt returns a boolean if a field has been set.

func (NotificationSetting) MarshalJSON

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

func (*NotificationSetting) SetActions

func (o *NotificationSetting) SetActions(v []Actions)

SetActions gets a reference to the given []Actions and assigns it to the Actions field.

func (*NotificationSetting) SetFrequency

func (o *NotificationSetting) SetFrequency(v string)

SetFrequency sets field value

func (*NotificationSetting) SetId

func (o *NotificationSetting) SetId(v string)

SetId sets field value

func (*NotificationSetting) SetLastCheckedAt

func (o *NotificationSetting) SetLastCheckedAt(v string)

SetLastCheckedAt gets a reference to the given NullableString and assigns it to the LastCheckedAt field.

func (*NotificationSetting) SetLastCheckedAtNil

func (o *NotificationSetting) SetLastCheckedAtNil()

SetLastCheckedAtNil sets the value for LastCheckedAt to be an explicit nil

func (*NotificationSetting) SetThreshold

func (o *NotificationSetting) SetThreshold(v string)

SetThreshold sets field value

func (*NotificationSetting) SetThresholdExceededAt

func (o *NotificationSetting) SetThresholdExceededAt(v string)

SetThresholdExceededAt gets a reference to the given NullableString and assigns it to the ThresholdExceededAt field.

func (*NotificationSetting) SetThresholdExceededAtNil

func (o *NotificationSetting) SetThresholdExceededAtNil()

SetThresholdExceededAtNil sets the value for ThresholdExceededAt to be an explicit nil

func (NotificationSetting) ToMap

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

func (*NotificationSetting) UnmarshalJSON

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

func (*NotificationSetting) UnsetLastCheckedAt

func (o *NotificationSetting) UnsetLastCheckedAt()

UnsetLastCheckedAt ensures that no value is present for LastCheckedAt, not even an explicit nil

func (*NotificationSetting) UnsetThresholdExceededAt

func (o *NotificationSetting) UnsetThresholdExceededAt()

UnsetThresholdExceededAt ensures that no value is present for ThresholdExceededAt, not even an explicit nil

type NullRoute

type NullRoute struct {
	// The time the null route was removed or will be removed.
	AutomatedUnnullingAt *time.Time `json:"automatedUnnullingAt,omitempty"`
	// An optional comment for the reason of the null route
	Comment *string `json:"comment,omitempty"`
	// The ip address that was null routed
	Ip *string `json:"ip,omitempty"`
	// The level of the null route
	NullLevel *int32 `json:"nullLevel,omitempty"`
	// The time the null route was created
	NulledAt *time.Time `json:"nulledAt,omitempty"`
	// A ticket number if available
	TicketId             *string `json:"ticketId,omitempty"`
	AdditionalProperties map[string]interface{}
}

NullRoute struct for NullRoute

func NewNullRoute

func NewNullRoute() *NullRoute

NewNullRoute instantiates a new NullRoute 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 NewNullRouteWithDefaults

func NewNullRouteWithDefaults() *NullRoute

NewNullRouteWithDefaults instantiates a new NullRoute 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 (*NullRoute) GetAutomatedUnnullingAt

func (o *NullRoute) GetAutomatedUnnullingAt() time.Time

GetAutomatedUnnullingAt returns the AutomatedUnnullingAt field value if set, zero value otherwise.

func (*NullRoute) GetAutomatedUnnullingAtOk

func (o *NullRoute) GetAutomatedUnnullingAtOk() (*time.Time, bool)

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

func (*NullRoute) GetComment

func (o *NullRoute) GetComment() string

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

func (*NullRoute) GetCommentOk

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

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

func (*NullRoute) GetIp

func (o *NullRoute) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*NullRoute) GetIpOk

func (o *NullRoute) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRoute) GetNullLevel

func (o *NullRoute) GetNullLevel() int32

GetNullLevel returns the NullLevel field value if set, zero value otherwise.

func (*NullRoute) GetNullLevelOk

func (o *NullRoute) GetNullLevelOk() (*int32, bool)

GetNullLevelOk returns a tuple with the NullLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRoute) GetNulledAt

func (o *NullRoute) GetNulledAt() time.Time

GetNulledAt returns the NulledAt field value if set, zero value otherwise.

func (*NullRoute) GetNulledAtOk

func (o *NullRoute) GetNulledAtOk() (*time.Time, bool)

GetNulledAtOk returns a tuple with the NulledAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRoute) GetTicketId

func (o *NullRoute) GetTicketId() string

GetTicketId returns the TicketId field value if set, zero value otherwise.

func (*NullRoute) GetTicketIdOk

func (o *NullRoute) GetTicketIdOk() (*string, bool)

GetTicketIdOk returns a tuple with the TicketId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NullRoute) HasAutomatedUnnullingAt

func (o *NullRoute) HasAutomatedUnnullingAt() bool

HasAutomatedUnnullingAt returns a boolean if a field has been set.

func (*NullRoute) HasComment

func (o *NullRoute) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*NullRoute) HasIp

func (o *NullRoute) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*NullRoute) HasNullLevel

func (o *NullRoute) HasNullLevel() bool

HasNullLevel returns a boolean if a field has been set.

func (*NullRoute) HasNulledAt

func (o *NullRoute) HasNulledAt() bool

HasNulledAt returns a boolean if a field has been set.

func (*NullRoute) HasTicketId

func (o *NullRoute) HasTicketId() bool

HasTicketId returns a boolean if a field has been set.

func (NullRoute) MarshalJSON

func (o NullRoute) MarshalJSON() ([]byte, error)

func (*NullRoute) SetAutomatedUnnullingAt

func (o *NullRoute) SetAutomatedUnnullingAt(v time.Time)

SetAutomatedUnnullingAt gets a reference to the given time.Time and assigns it to the AutomatedUnnullingAt field.

func (*NullRoute) SetComment

func (o *NullRoute) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*NullRoute) SetIp

func (o *NullRoute) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*NullRoute) SetNullLevel

func (o *NullRoute) SetNullLevel(v int32)

SetNullLevel gets a reference to the given int32 and assigns it to the NullLevel field.

func (*NullRoute) SetNulledAt

func (o *NullRoute) SetNulledAt(v time.Time)

SetNulledAt gets a reference to the given time.Time and assigns it to the NulledAt field.

func (*NullRoute) SetTicketId

func (o *NullRoute) SetTicketId(v string)

SetTicketId gets a reference to the given string and assigns it to the TicketId field.

func (NullRoute) ToMap

func (o NullRoute) ToMap() (map[string]interface{}, error)

func (*NullRoute) UnmarshalJSON

func (o *NullRoute) UnmarshalJSON(data []byte) (err error)

type NullableActions

type NullableActions struct {
	// contains filtered or unexported fields
}

func NewNullableActions

func NewNullableActions(val *Actions) *NullableActions

func (NullableActions) Get

func (v NullableActions) Get() *Actions

func (NullableActions) IsSet

func (v NullableActions) IsSet() bool

func (NullableActions) MarshalJSON

func (v NullableActions) MarshalJSON() ([]byte, error)

func (*NullableActions) Set

func (v *NullableActions) Set(val *Actions)

func (*NullableActions) UnmarshalJSON

func (v *NullableActions) UnmarshalJSON(src []byte) error

func (*NullableActions) Unset

func (v *NullableActions) Unset()

type NullableAddServerToPrivateNetworkOpts

type NullableAddServerToPrivateNetworkOpts struct {
	// contains filtered or unexported fields
}

func (NullableAddServerToPrivateNetworkOpts) Get

func (NullableAddServerToPrivateNetworkOpts) IsSet

func (NullableAddServerToPrivateNetworkOpts) MarshalJSON

func (v NullableAddServerToPrivateNetworkOpts) MarshalJSON() ([]byte, error)

func (*NullableAddServerToPrivateNetworkOpts) Set

func (*NullableAddServerToPrivateNetworkOpts) UnmarshalJSON

func (v *NullableAddServerToPrivateNetworkOpts) UnmarshalJSON(src []byte) error

func (*NullableAddServerToPrivateNetworkOpts) Unset

type NullableAttribute

type NullableAttribute struct {
	// contains filtered or unexported fields
}

func NewNullableAttribute

func NewNullableAttribute(val *Attribute) *NullableAttribute

func (NullableAttribute) Get

func (v NullableAttribute) Get() *Attribute

func (NullableAttribute) IsSet

func (v NullableAttribute) IsSet() bool

func (NullableAttribute) MarshalJSON

func (v NullableAttribute) MarshalJSON() ([]byte, error)

func (*NullableAttribute) Set

func (v *NullableAttribute) Set(val *Attribute)

func (*NullableAttribute) UnmarshalJSON

func (v *NullableAttribute) UnmarshalJSON(src []byte) error

func (*NullableAttribute) Unset

func (v *NullableAttribute) Unset()

type NullableAttributes

type NullableAttributes struct {
	// contains filtered or unexported fields
}

func NewNullableAttributes

func NewNullableAttributes(val *Attributes) *NullableAttributes

func (NullableAttributes) Get

func (v NullableAttributes) Get() *Attributes

func (NullableAttributes) IsSet

func (v NullableAttributes) IsSet() bool

func (NullableAttributes) MarshalJSON

func (v NullableAttributes) MarshalJSON() ([]byte, error)

func (*NullableAttributes) Set

func (v *NullableAttributes) Set(val *Attributes)

func (*NullableAttributes) UnmarshalJSON

func (v *NullableAttributes) UnmarshalJSON(src []byte) error

func (*NullableAttributes) Unset

func (v *NullableAttributes) Unset()

type NullableAutoNegotiation

type NullableAutoNegotiation struct {
	// contains filtered or unexported fields
}

func NewNullableAutoNegotiation

func NewNullableAutoNegotiation(val *AutoNegotiation) *NullableAutoNegotiation

func (NullableAutoNegotiation) Get

func (NullableAutoNegotiation) IsSet

func (v NullableAutoNegotiation) IsSet() bool

func (NullableAutoNegotiation) MarshalJSON

func (v NullableAutoNegotiation) MarshalJSON() ([]byte, error)

func (*NullableAutoNegotiation) Set

func (*NullableAutoNegotiation) UnmarshalJSON

func (v *NullableAutoNegotiation) UnmarshalJSON(src []byte) error

func (*NullableAutoNegotiation) Unset

func (v *NullableAutoNegotiation) Unset()

type NullableBandwidthNotificationSetting

type NullableBandwidthNotificationSetting struct {
	// contains filtered or unexported fields
}

func (NullableBandwidthNotificationSetting) Get

func (NullableBandwidthNotificationSetting) IsSet

func (NullableBandwidthNotificationSetting) MarshalJSON

func (v NullableBandwidthNotificationSetting) MarshalJSON() ([]byte, error)

func (*NullableBandwidthNotificationSetting) Set

func (*NullableBandwidthNotificationSetting) UnmarshalJSON

func (v *NullableBandwidthNotificationSetting) UnmarshalJSON(src []byte) error

func (*NullableBandwidthNotificationSetting) Unset

type NullableBandwidthNotificationSettingOpts

type NullableBandwidthNotificationSettingOpts struct {
	// contains filtered or unexported fields
}

func (NullableBandwidthNotificationSettingOpts) Get

func (NullableBandwidthNotificationSettingOpts) IsSet

func (NullableBandwidthNotificationSettingOpts) MarshalJSON

func (*NullableBandwidthNotificationSettingOpts) Set

func (*NullableBandwidthNotificationSettingOpts) UnmarshalJSON

func (v *NullableBandwidthNotificationSettingOpts) UnmarshalJSON(src []byte) error

func (*NullableBandwidthNotificationSettingOpts) 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 NullableChassis

type NullableChassis struct {
	// contains filtered or unexported fields
}

func NewNullableChassis

func NewNullableChassis(val *Chassis) *NullableChassis

func (NullableChassis) Get

func (v NullableChassis) Get() *Chassis

func (NullableChassis) IsSet

func (v NullableChassis) IsSet() bool

func (NullableChassis) MarshalJSON

func (v NullableChassis) MarshalJSON() ([]byte, error)

func (*NullableChassis) Set

func (v *NullableChassis) Set(val *Chassis)

func (*NullableChassis) UnmarshalJSON

func (v *NullableChassis) UnmarshalJSON(src []byte) error

func (*NullableChassis) Unset

func (v *NullableChassis) Unset()

type NullableContract

type NullableContract struct {
	// contains filtered or unexported fields
}

func NewNullableContract

func NewNullableContract(val *Contract) *NullableContract

func (NullableContract) Get

func (v NullableContract) Get() *Contract

func (NullableContract) IsSet

func (v NullableContract) IsSet() bool

func (NullableContract) MarshalJSON

func (v NullableContract) MarshalJSON() ([]byte, error)

func (*NullableContract) Set

func (v *NullableContract) Set(val *Contract)

func (*NullableContract) UnmarshalJSON

func (v *NullableContract) UnmarshalJSON(src []byte) error

func (*NullableContract) Unset

func (v *NullableContract) Unset()

type NullableControlPanel

type NullableControlPanel struct {
	// contains filtered or unexported fields
}

func NewNullableControlPanel

func NewNullableControlPanel(val *ControlPanel) *NullableControlPanel

func (NullableControlPanel) Get

func (NullableControlPanel) IsSet

func (v NullableControlPanel) IsSet() bool

func (NullableControlPanel) MarshalJSON

func (v NullableControlPanel) MarshalJSON() ([]byte, error)

func (*NullableControlPanel) Set

func (v *NullableControlPanel) Set(val *ControlPanel)

func (*NullableControlPanel) UnmarshalJSON

func (v *NullableControlPanel) UnmarshalJSON(src []byte) error

func (*NullableControlPanel) Unset

func (v *NullableControlPanel) Unset()

type NullableControlPanelList

type NullableControlPanelList struct {
	// contains filtered or unexported fields
}

func NewNullableControlPanelList

func NewNullableControlPanelList(val *ControlPanelList) *NullableControlPanelList

func (NullableControlPanelList) Get

func (NullableControlPanelList) IsSet

func (v NullableControlPanelList) IsSet() bool

func (NullableControlPanelList) MarshalJSON

func (v NullableControlPanelList) MarshalJSON() ([]byte, error)

func (*NullableControlPanelList) Set

func (*NullableControlPanelList) UnmarshalJSON

func (v *NullableControlPanelList) UnmarshalJSON(src []byte) error

func (*NullableControlPanelList) Unset

func (v *NullableControlPanelList) Unset()

type NullableCpu

type NullableCpu struct {
	// contains filtered or unexported fields
}

func NewNullableCpu

func NewNullableCpu(val *Cpu) *NullableCpu

func (NullableCpu) Get

func (v NullableCpu) Get() *Cpu

func (NullableCpu) IsSet

func (v NullableCpu) IsSet() bool

func (NullableCpu) MarshalJSON

func (v NullableCpu) MarshalJSON() ([]byte, error)

func (*NullableCpu) Set

func (v *NullableCpu) Set(val *Cpu)

func (*NullableCpu) UnmarshalJSON

func (v *NullableCpu) UnmarshalJSON(src []byte) error

func (*NullableCpu) Unset

func (v *NullableCpu) Unset()

type NullableCpu1

type NullableCpu1 struct {
	// contains filtered or unexported fields
}

func NewNullableCpu1

func NewNullableCpu1(val *Cpu1) *NullableCpu1

func (NullableCpu1) Get

func (v NullableCpu1) Get() *Cpu1

func (NullableCpu1) IsSet

func (v NullableCpu1) IsSet() bool

func (NullableCpu1) MarshalJSON

func (v NullableCpu1) MarshalJSON() ([]byte, error)

func (*NullableCpu1) Set

func (v *NullableCpu1) Set(val *Cpu1)

func (*NullableCpu1) UnmarshalJSON

func (v *NullableCpu1) UnmarshalJSON(src []byte) error

func (*NullableCpu1) Unset

func (v *NullableCpu1) Unset()

type NullableCpuCapabilities

type NullableCpuCapabilities struct {
	// contains filtered or unexported fields
}

func NewNullableCpuCapabilities

func NewNullableCpuCapabilities(val *CpuCapabilities) *NullableCpuCapabilities

func (NullableCpuCapabilities) Get

func (NullableCpuCapabilities) IsSet

func (v NullableCpuCapabilities) IsSet() bool

func (NullableCpuCapabilities) MarshalJSON

func (v NullableCpuCapabilities) MarshalJSON() ([]byte, error)

func (*NullableCpuCapabilities) Set

func (*NullableCpuCapabilities) UnmarshalJSON

func (v *NullableCpuCapabilities) UnmarshalJSON(src []byte) error

func (*NullableCpuCapabilities) Unset

func (v *NullableCpuCapabilities) Unset()

type NullableCpuSettings

type NullableCpuSettings struct {
	// contains filtered or unexported fields
}

func NewNullableCpuSettings

func NewNullableCpuSettings(val *CpuSettings) *NullableCpuSettings

func (NullableCpuSettings) Get

func (NullableCpuSettings) IsSet

func (v NullableCpuSettings) IsSet() bool

func (NullableCpuSettings) MarshalJSON

func (v NullableCpuSettings) MarshalJSON() ([]byte, error)

func (*NullableCpuSettings) Set

func (v *NullableCpuSettings) Set(val *CpuSettings)

func (*NullableCpuSettings) UnmarshalJSON

func (v *NullableCpuSettings) UnmarshalJSON(src []byte) error

func (*NullableCpuSettings) Unset

func (v *NullableCpuSettings) Unset()

type NullableCreateNetworkEquipmentCredentialOpts

type NullableCreateNetworkEquipmentCredentialOpts struct {
	// contains filtered or unexported fields
}

func (NullableCreateNetworkEquipmentCredentialOpts) Get

func (NullableCreateNetworkEquipmentCredentialOpts) IsSet

func (NullableCreateNetworkEquipmentCredentialOpts) MarshalJSON

func (*NullableCreateNetworkEquipmentCredentialOpts) Set

func (*NullableCreateNetworkEquipmentCredentialOpts) UnmarshalJSON

func (*NullableCreateNetworkEquipmentCredentialOpts) Unset

type NullableCreateServerCredentialOpts

type NullableCreateServerCredentialOpts struct {
	// contains filtered or unexported fields
}

func (NullableCreateServerCredentialOpts) Get

func (NullableCreateServerCredentialOpts) IsSet

func (NullableCreateServerCredentialOpts) MarshalJSON

func (v NullableCreateServerCredentialOpts) MarshalJSON() ([]byte, error)

func (*NullableCreateServerCredentialOpts) Set

func (*NullableCreateServerCredentialOpts) UnmarshalJSON

func (v *NullableCreateServerCredentialOpts) UnmarshalJSON(src []byte) error

func (*NullableCreateServerCredentialOpts) Unset

type NullableCreateServerDhcpReservationOpts

type NullableCreateServerDhcpReservationOpts struct {
	// contains filtered or unexported fields
}

func (NullableCreateServerDhcpReservationOpts) Get

func (NullableCreateServerDhcpReservationOpts) IsSet

func (NullableCreateServerDhcpReservationOpts) MarshalJSON

func (v NullableCreateServerDhcpReservationOpts) MarshalJSON() ([]byte, error)

func (*NullableCreateServerDhcpReservationOpts) Set

func (*NullableCreateServerDhcpReservationOpts) UnmarshalJSON

func (v *NullableCreateServerDhcpReservationOpts) UnmarshalJSON(src []byte) error

func (*NullableCreateServerDhcpReservationOpts) Unset

type NullableCredential

type NullableCredential struct {
	// contains filtered or unexported fields
}

func NewNullableCredential

func NewNullableCredential(val *Credential) *NullableCredential

func (NullableCredential) Get

func (v NullableCredential) Get() *Credential

func (NullableCredential) IsSet

func (v NullableCredential) IsSet() bool

func (NullableCredential) MarshalJSON

func (v NullableCredential) MarshalJSON() ([]byte, error)

func (*NullableCredential) Set

func (v *NullableCredential) Set(val *Credential)

func (*NullableCredential) UnmarshalJSON

func (v *NullableCredential) UnmarshalJSON(src []byte) error

func (*NullableCredential) Unset

func (v *NullableCredential) Unset()

type NullableCredentialList

type NullableCredentialList struct {
	// contains filtered or unexported fields
}

func NewNullableCredentialList

func NewNullableCredentialList(val *CredentialList) *NullableCredentialList

func (NullableCredentialList) Get

func (NullableCredentialList) IsSet

func (v NullableCredentialList) IsSet() bool

func (NullableCredentialList) MarshalJSON

func (v NullableCredentialList) MarshalJSON() ([]byte, error)

func (*NullableCredentialList) Set

func (*NullableCredentialList) UnmarshalJSON

func (v *NullableCredentialList) UnmarshalJSON(src []byte) error

func (*NullableCredentialList) Unset

func (v *NullableCredentialList) Unset()

type NullableCredentialType

type NullableCredentialType struct {
	// contains filtered or unexported fields
}

func NewNullableCredentialType

func NewNullableCredentialType(val *CredentialType) *NullableCredentialType

func (NullableCredentialType) Get

func (NullableCredentialType) IsSet

func (v NullableCredentialType) IsSet() bool

func (NullableCredentialType) MarshalJSON

func (v NullableCredentialType) MarshalJSON() ([]byte, error)

func (*NullableCredentialType) Set

func (*NullableCredentialType) UnmarshalJSON

func (v *NullableCredentialType) UnmarshalJSON(src []byte) error

func (*NullableCredentialType) Unset

func (v *NullableCredentialType) Unset()

type NullableCredentialWithoutPassword

type NullableCredentialWithoutPassword struct {
	// contains filtered or unexported fields
}

func (NullableCredentialWithoutPassword) Get

func (NullableCredentialWithoutPassword) IsSet

func (NullableCredentialWithoutPassword) MarshalJSON

func (v NullableCredentialWithoutPassword) MarshalJSON() ([]byte, error)

func (*NullableCredentialWithoutPassword) Set

func (*NullableCredentialWithoutPassword) UnmarshalJSON

func (v *NullableCredentialWithoutPassword) UnmarshalJSON(src []byte) error

func (*NullableCredentialWithoutPassword) Unset

type NullableCurrentServerJob

type NullableCurrentServerJob struct {
	// contains filtered or unexported fields
}

func NewNullableCurrentServerJob

func NewNullableCurrentServerJob(val *CurrentServerJob) *NullableCurrentServerJob

func (NullableCurrentServerJob) Get

func (NullableCurrentServerJob) IsSet

func (v NullableCurrentServerJob) IsSet() bool

func (NullableCurrentServerJob) MarshalJSON

func (v NullableCurrentServerJob) MarshalJSON() ([]byte, error)

func (*NullableCurrentServerJob) Set

func (*NullableCurrentServerJob) UnmarshalJSON

func (v *NullableCurrentServerJob) UnmarshalJSON(src []byte) error

func (*NullableCurrentServerJob) Unset

func (v *NullableCurrentServerJob) Unset()

type NullableDDos

type NullableDDos struct {
	// contains filtered or unexported fields
}

func NewNullableDDos

func NewNullableDDos(val *DDos) *NullableDDos

func (NullableDDos) Get

func (v NullableDDos) Get() *DDos

func (NullableDDos) IsSet

func (v NullableDDos) IsSet() bool

func (NullableDDos) MarshalJSON

func (v NullableDDos) MarshalJSON() ([]byte, error)

func (*NullableDDos) Set

func (v *NullableDDos) Set(val *DDos)

func (*NullableDDos) UnmarshalJSON

func (v *NullableDDos) UnmarshalJSON(src []byte) error

func (*NullableDDos) Unset

func (v *NullableDDos) Unset()

type NullableDataTrafficNotificationSetting

type NullableDataTrafficNotificationSetting struct {
	// contains filtered or unexported fields
}

func (NullableDataTrafficNotificationSetting) Get

func (NullableDataTrafficNotificationSetting) IsSet

func (NullableDataTrafficNotificationSetting) MarshalJSON

func (v NullableDataTrafficNotificationSetting) MarshalJSON() ([]byte, error)

func (*NullableDataTrafficNotificationSetting) Set

func (*NullableDataTrafficNotificationSetting) UnmarshalJSON

func (v *NullableDataTrafficNotificationSetting) UnmarshalJSON(src []byte) error

func (*NullableDataTrafficNotificationSetting) Unset

type NullableDataTrafficNotificationSettingOpts

type NullableDataTrafficNotificationSettingOpts struct {
	// contains filtered or unexported fields
}

func (NullableDataTrafficNotificationSettingOpts) Get

func (NullableDataTrafficNotificationSettingOpts) IsSet

func (NullableDataTrafficNotificationSettingOpts) MarshalJSON

func (*NullableDataTrafficNotificationSettingOpts) Set

func (*NullableDataTrafficNotificationSettingOpts) UnmarshalJSON

func (v *NullableDataTrafficNotificationSettingOpts) UnmarshalJSON(src []byte) error

func (*NullableDataTrafficNotificationSettingOpts) Unset

type NullableDefaults

type NullableDefaults struct {
	// contains filtered or unexported fields
}

func NewNullableDefaults

func NewNullableDefaults(val *Defaults) *NullableDefaults

func (NullableDefaults) Get

func (v NullableDefaults) Get() *Defaults

func (NullableDefaults) IsSet

func (v NullableDefaults) IsSet() bool

func (NullableDefaults) MarshalJSON

func (v NullableDefaults) MarshalJSON() ([]byte, error)

func (*NullableDefaults) Set

func (v *NullableDefaults) Set(val *Defaults)

func (*NullableDefaults) UnmarshalJSON

func (v *NullableDefaults) UnmarshalJSON(src []byte) error

func (*NullableDefaults) Unset

func (v *NullableDefaults) Unset()

type NullableDisk

type NullableDisk struct {
	// contains filtered or unexported fields
}

func NewNullableDisk

func NewNullableDisk(val *Disk) *NullableDisk

func (NullableDisk) Get

func (v NullableDisk) Get() *Disk

func (NullableDisk) IsSet

func (v NullableDisk) IsSet() bool

func (NullableDisk) MarshalJSON

func (v NullableDisk) MarshalJSON() ([]byte, error)

func (*NullableDisk) Set

func (v *NullableDisk) Set(val *Disk)

func (*NullableDisk) UnmarshalJSON

func (v *NullableDisk) UnmarshalJSON(src []byte) error

func (*NullableDisk) Unset

func (v *NullableDisk) Unset()

type NullableEnableServerRescueModeOpts

type NullableEnableServerRescueModeOpts struct {
	// contains filtered or unexported fields
}

func (NullableEnableServerRescueModeOpts) Get

func (NullableEnableServerRescueModeOpts) IsSet

func (NullableEnableServerRescueModeOpts) MarshalJSON

func (v NullableEnableServerRescueModeOpts) MarshalJSON() ([]byte, error)

func (*NullableEnableServerRescueModeOpts) Set

func (*NullableEnableServerRescueModeOpts) UnmarshalJSON

func (v *NullableEnableServerRescueModeOpts) UnmarshalJSON(src []byte) error

func (*NullableEnableServerRescueModeOpts) Unset

type NullableErrorResult

type NullableErrorResult struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResult

func NewNullableErrorResult(val *ErrorResult) *NullableErrorResult

func (NullableErrorResult) Get

func (NullableErrorResult) IsSet

func (v NullableErrorResult) IsSet() bool

func (NullableErrorResult) MarshalJSON

func (v NullableErrorResult) MarshalJSON() ([]byte, error)

func (*NullableErrorResult) Set

func (v *NullableErrorResult) Set(val *ErrorResult)

func (*NullableErrorResult) UnmarshalJSON

func (v *NullableErrorResult) UnmarshalJSON(src []byte) error

func (*NullableErrorResult) Unset

func (v *NullableErrorResult) Unset()

type NullableFeatureAvailability

type NullableFeatureAvailability struct {
	// contains filtered or unexported fields
}

func NewNullableFeatureAvailability

func NewNullableFeatureAvailability(val *FeatureAvailability) *NullableFeatureAvailability

func (NullableFeatureAvailability) Get

func (NullableFeatureAvailability) IsSet

func (NullableFeatureAvailability) MarshalJSON

func (v NullableFeatureAvailability) MarshalJSON() ([]byte, error)

func (*NullableFeatureAvailability) Set

func (*NullableFeatureAvailability) UnmarshalJSON

func (v *NullableFeatureAvailability) UnmarshalJSON(src []byte) error

func (*NullableFeatureAvailability) Unset

func (v *NullableFeatureAvailability) Unset()

type NullableFirmware

type NullableFirmware struct {
	// contains filtered or unexported fields
}

func NewNullableFirmware

func NewNullableFirmware(val *Firmware) *NullableFirmware

func (NullableFirmware) Get

func (v NullableFirmware) Get() *Firmware

func (NullableFirmware) IsSet

func (v NullableFirmware) IsSet() bool

func (NullableFirmware) MarshalJSON

func (v NullableFirmware) MarshalJSON() ([]byte, error)

func (*NullableFirmware) Set

func (v *NullableFirmware) Set(val *Firmware)

func (*NullableFirmware) UnmarshalJSON

func (v *NullableFirmware) UnmarshalJSON(src []byte) error

func (*NullableFirmware) Unset

func (v *NullableFirmware) 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 NullableGetDdosNotificationSettingResult

type NullableGetDdosNotificationSettingResult struct {
	// contains filtered or unexported fields
}

func (NullableGetDdosNotificationSettingResult) Get

func (NullableGetDdosNotificationSettingResult) IsSet

func (NullableGetDdosNotificationSettingResult) MarshalJSON

func (*NullableGetDdosNotificationSettingResult) Set

func (*NullableGetDdosNotificationSettingResult) UnmarshalJSON

func (v *NullableGetDdosNotificationSettingResult) UnmarshalJSON(src []byte) error

func (*NullableGetDdosNotificationSettingResult) Unset

type NullableGetNetworkEquipmentIpListResult

type NullableGetNetworkEquipmentIpListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetNetworkEquipmentIpListResult) Get

func (NullableGetNetworkEquipmentIpListResult) IsSet

func (NullableGetNetworkEquipmentIpListResult) MarshalJSON

func (v NullableGetNetworkEquipmentIpListResult) MarshalJSON() ([]byte, error)

func (*NullableGetNetworkEquipmentIpListResult) Set

func (*NullableGetNetworkEquipmentIpListResult) UnmarshalJSON

func (v *NullableGetNetworkEquipmentIpListResult) UnmarshalJSON(src []byte) error

func (*NullableGetNetworkEquipmentIpListResult) Unset

type NullableGetNetworkEquipmentListResult

type NullableGetNetworkEquipmentListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetNetworkEquipmentListResult) Get

func (NullableGetNetworkEquipmentListResult) IsSet

func (NullableGetNetworkEquipmentListResult) MarshalJSON

func (v NullableGetNetworkEquipmentListResult) MarshalJSON() ([]byte, error)

func (*NullableGetNetworkEquipmentListResult) Set

func (*NullableGetNetworkEquipmentListResult) UnmarshalJSON

func (v *NullableGetNetworkEquipmentListResult) UnmarshalJSON(src []byte) error

func (*NullableGetNetworkEquipmentListResult) Unset

type NullableGetNetworkEquipmentNullRouteHistoryResult

type NullableGetNetworkEquipmentNullRouteHistoryResult struct {
	// contains filtered or unexported fields
}

func (NullableGetNetworkEquipmentNullRouteHistoryResult) Get

func (NullableGetNetworkEquipmentNullRouteHistoryResult) IsSet

func (NullableGetNetworkEquipmentNullRouteHistoryResult) MarshalJSON

func (*NullableGetNetworkEquipmentNullRouteHistoryResult) Set

func (*NullableGetNetworkEquipmentNullRouteHistoryResult) UnmarshalJSON

func (*NullableGetNetworkEquipmentNullRouteHistoryResult) Unset

type NullableGetNetworkEquipmentPowerStatusResult

type NullableGetNetworkEquipmentPowerStatusResult struct {
	// contains filtered or unexported fields
}

func (NullableGetNetworkEquipmentPowerStatusResult) Get

func (NullableGetNetworkEquipmentPowerStatusResult) IsSet

func (NullableGetNetworkEquipmentPowerStatusResult) MarshalJSON

func (*NullableGetNetworkEquipmentPowerStatusResult) Set

func (*NullableGetNetworkEquipmentPowerStatusResult) UnmarshalJSON

func (*NullableGetNetworkEquipmentPowerStatusResult) Unset

type NullableGetNetworkInterfaceListResult

type NullableGetNetworkInterfaceListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetNetworkInterfaceListResult) Get

func (NullableGetNetworkInterfaceListResult) IsSet

func (NullableGetNetworkInterfaceListResult) MarshalJSON

func (v NullableGetNetworkInterfaceListResult) MarshalJSON() ([]byte, error)

func (*NullableGetNetworkInterfaceListResult) Set

func (*NullableGetNetworkInterfaceListResult) UnmarshalJSON

func (v *NullableGetNetworkInterfaceListResult) UnmarshalJSON(src []byte) error

func (*NullableGetNetworkInterfaceListResult) Unset

type NullableGetOperatingSystemListResult

type NullableGetOperatingSystemListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetOperatingSystemListResult) Get

func (NullableGetOperatingSystemListResult) IsSet

func (NullableGetOperatingSystemListResult) MarshalJSON

func (v NullableGetOperatingSystemListResult) MarshalJSON() ([]byte, error)

func (*NullableGetOperatingSystemListResult) Set

func (*NullableGetOperatingSystemListResult) UnmarshalJSON

func (v *NullableGetOperatingSystemListResult) UnmarshalJSON(src []byte) error

func (*NullableGetOperatingSystemListResult) Unset

type NullableGetOperatingSystemResult

type NullableGetOperatingSystemResult struct {
	// contains filtered or unexported fields
}

func (NullableGetOperatingSystemResult) Get

func (NullableGetOperatingSystemResult) IsSet

func (NullableGetOperatingSystemResult) MarshalJSON

func (v NullableGetOperatingSystemResult) MarshalJSON() ([]byte, error)

func (*NullableGetOperatingSystemResult) Set

func (*NullableGetOperatingSystemResult) UnmarshalJSON

func (v *NullableGetOperatingSystemResult) UnmarshalJSON(src []byte) error

func (*NullableGetOperatingSystemResult) Unset

type NullableGetRescueImageListResult

type NullableGetRescueImageListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetRescueImageListResult) Get

func (NullableGetRescueImageListResult) IsSet

func (NullableGetRescueImageListResult) MarshalJSON

func (v NullableGetRescueImageListResult) MarshalJSON() ([]byte, error)

func (*NullableGetRescueImageListResult) Set

func (*NullableGetRescueImageListResult) UnmarshalJSON

func (v *NullableGetRescueImageListResult) UnmarshalJSON(src []byte) error

func (*NullableGetRescueImageListResult) Unset

type NullableGetServerBandwidthNotificationSettingListResult

type NullableGetServerBandwidthNotificationSettingListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerBandwidthNotificationSettingListResult) Get

func (NullableGetServerBandwidthNotificationSettingListResult) IsSet

func (NullableGetServerBandwidthNotificationSettingListResult) MarshalJSON

func (*NullableGetServerBandwidthNotificationSettingListResult) Set

func (*NullableGetServerBandwidthNotificationSettingListResult) UnmarshalJSON

func (*NullableGetServerBandwidthNotificationSettingListResult) Unset

type NullableGetServerDataTrafficNotificationSettingListResult

type NullableGetServerDataTrafficNotificationSettingListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerDataTrafficNotificationSettingListResult) Get

func (NullableGetServerDataTrafficNotificationSettingListResult) IsSet

func (NullableGetServerDataTrafficNotificationSettingListResult) MarshalJSON

func (*NullableGetServerDataTrafficNotificationSettingListResult) Set

func (*NullableGetServerDataTrafficNotificationSettingListResult) UnmarshalJSON

func (*NullableGetServerDataTrafficNotificationSettingListResult) Unset

type NullableGetServerDhcpReservationListResult

type NullableGetServerDhcpReservationListResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerDhcpReservationListResult) Get

func (NullableGetServerDhcpReservationListResult) IsSet

func (NullableGetServerDhcpReservationListResult) MarshalJSON

func (*NullableGetServerDhcpReservationListResult) Set

func (*NullableGetServerDhcpReservationListResult) UnmarshalJSON

func (v *NullableGetServerDhcpReservationListResult) UnmarshalJSON(src []byte) error

func (*NullableGetServerDhcpReservationListResult) Unset

type NullableGetServerHardwareResult

type NullableGetServerHardwareResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerHardwareResult) Get

func (NullableGetServerHardwareResult) IsSet

func (NullableGetServerHardwareResult) MarshalJSON

func (v NullableGetServerHardwareResult) MarshalJSON() ([]byte, error)

func (*NullableGetServerHardwareResult) Set

func (*NullableGetServerHardwareResult) UnmarshalJSON

func (v *NullableGetServerHardwareResult) UnmarshalJSON(src []byte) error

func (*NullableGetServerHardwareResult) Unset

type NullableGetServerListResult

type NullableGetServerListResult struct {
	// contains filtered or unexported fields
}

func NewNullableGetServerListResult

func NewNullableGetServerListResult(val *GetServerListResult) *NullableGetServerListResult

func (NullableGetServerListResult) Get

func (NullableGetServerListResult) IsSet

func (NullableGetServerListResult) MarshalJSON

func (v NullableGetServerListResult) MarshalJSON() ([]byte, error)

func (*NullableGetServerListResult) Set

func (*NullableGetServerListResult) UnmarshalJSON

func (v *NullableGetServerListResult) UnmarshalJSON(src []byte) error

func (*NullableGetServerListResult) Unset

func (v *NullableGetServerListResult) Unset()

type NullableGetServerNullRouteHistoryResult

type NullableGetServerNullRouteHistoryResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerNullRouteHistoryResult) Get

func (NullableGetServerNullRouteHistoryResult) IsSet

func (NullableGetServerNullRouteHistoryResult) MarshalJSON

func (v NullableGetServerNullRouteHistoryResult) MarshalJSON() ([]byte, error)

func (*NullableGetServerNullRouteHistoryResult) Set

func (*NullableGetServerNullRouteHistoryResult) UnmarshalJSON

func (v *NullableGetServerNullRouteHistoryResult) UnmarshalJSON(src []byte) error

func (*NullableGetServerNullRouteHistoryResult) Unset

type NullableGetServerPowerStatusResult

type NullableGetServerPowerStatusResult struct {
	// contains filtered or unexported fields
}

func (NullableGetServerPowerStatusResult) Get

func (NullableGetServerPowerStatusResult) IsSet

func (NullableGetServerPowerStatusResult) MarshalJSON

func (v NullableGetServerPowerStatusResult) MarshalJSON() ([]byte, error)

func (*NullableGetServerPowerStatusResult) Set

func (*NullableGetServerPowerStatusResult) UnmarshalJSON

func (v *NullableGetServerPowerStatusResult) UnmarshalJSON(src []byte) error

func (*NullableGetServerPowerStatusResult) Unset

type NullableHdd

type NullableHdd struct {
	// contains filtered or unexported fields
}

func NewNullableHdd

func NewNullableHdd(val *Hdd) *NullableHdd

func (NullableHdd) Get

func (v NullableHdd) Get() *Hdd

func (NullableHdd) IsSet

func (v NullableHdd) IsSet() bool

func (NullableHdd) MarshalJSON

func (v NullableHdd) MarshalJSON() ([]byte, error)

func (*NullableHdd) Set

func (v *NullableHdd) Set(val *Hdd)

func (*NullableHdd) UnmarshalJSON

func (v *NullableHdd) UnmarshalJSON(src []byte) error

func (*NullableHdd) Unset

func (v *NullableHdd) Unset()

type NullableInstallOperatingSystemOpts

type NullableInstallOperatingSystemOpts struct {
	// contains filtered or unexported fields
}

func (NullableInstallOperatingSystemOpts) Get

func (NullableInstallOperatingSystemOpts) IsSet

func (NullableInstallOperatingSystemOpts) MarshalJSON

func (v NullableInstallOperatingSystemOpts) MarshalJSON() ([]byte, error)

func (*NullableInstallOperatingSystemOpts) Set

func (*NullableInstallOperatingSystemOpts) UnmarshalJSON

func (v *NullableInstallOperatingSystemOpts) UnmarshalJSON(src []byte) error

func (*NullableInstallOperatingSystemOpts) Unset

type NullableInstallOperatingSystemPayload

type NullableInstallOperatingSystemPayload struct {
	// contains filtered or unexported fields
}

func (NullableInstallOperatingSystemPayload) Get

func (NullableInstallOperatingSystemPayload) IsSet

func (NullableInstallOperatingSystemPayload) MarshalJSON

func (v NullableInstallOperatingSystemPayload) MarshalJSON() ([]byte, error)

func (*NullableInstallOperatingSystemPayload) Set

func (*NullableInstallOperatingSystemPayload) UnmarshalJSON

func (v *NullableInstallOperatingSystemPayload) UnmarshalJSON(src []byte) error

func (*NullableInstallOperatingSystemPayload) Unset

type NullableInstallationJob

type NullableInstallationJob struct {
	// contains filtered or unexported fields
}

func NewNullableInstallationJob

func NewNullableInstallationJob(val *InstallationJob) *NullableInstallationJob

func (NullableInstallationJob) Get

func (NullableInstallationJob) IsSet

func (v NullableInstallationJob) IsSet() bool

func (NullableInstallationJob) MarshalJSON

func (v NullableInstallationJob) MarshalJSON() ([]byte, error)

func (*NullableInstallationJob) Set

func (*NullableInstallationJob) UnmarshalJSON

func (v *NullableInstallationJob) UnmarshalJSON(src []byte) error

func (*NullableInstallationJob) Unset

func (v *NullableInstallationJob) Unset()

type NullableInstallationJobPayload

type NullableInstallationJobPayload struct {
	// contains filtered or unexported fields
}

func (NullableInstallationJobPayload) Get

func (NullableInstallationJobPayload) IsSet

func (NullableInstallationJobPayload) MarshalJSON

func (v NullableInstallationJobPayload) MarshalJSON() ([]byte, error)

func (*NullableInstallationJobPayload) Set

func (*NullableInstallationJobPayload) UnmarshalJSON

func (v *NullableInstallationJobPayload) UnmarshalJSON(src []byte) error

func (*NullableInstallationJobPayload) Unset

func (v *NullableInstallationJobPayload) 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 NullableIp

type NullableIp struct {
	// contains filtered or unexported fields
}

func NewNullableIp

func NewNullableIp(val *Ip) *NullableIp

func (NullableIp) Get

func (v NullableIp) Get() *Ip

func (NullableIp) IsSet

func (v NullableIp) IsSet() bool

func (NullableIp) MarshalJSON

func (v NullableIp) MarshalJSON() ([]byte, error)

func (*NullableIp) Set

func (v *NullableIp) Set(val *Ip)

func (*NullableIp) UnmarshalJSON

func (v *NullableIp) UnmarshalJSON(src []byte) error

func (*NullableIp) Unset

func (v *NullableIp) Unset()

type NullableIpmi

type NullableIpmi struct {
	// contains filtered or unexported fields
}

func NewNullableIpmi

func NewNullableIpmi(val *Ipmi) *NullableIpmi

func (NullableIpmi) Get

func (v NullableIpmi) Get() *Ipmi

func (NullableIpmi) IsSet

func (v NullableIpmi) IsSet() bool

func (NullableIpmi) MarshalJSON

func (v NullableIpmi) MarshalJSON() ([]byte, error)

func (*NullableIpmi) Set

func (v *NullableIpmi) Set(val *Ipmi)

func (*NullableIpmi) UnmarshalJSON

func (v *NullableIpmi) UnmarshalJSON(src []byte) error

func (*NullableIpmi) Unset

func (v *NullableIpmi) Unset()

type NullableIpmi1

type NullableIpmi1 struct {
	// contains filtered or unexported fields
}

func NewNullableIpmi1

func NewNullableIpmi1(val *Ipmi1) *NullableIpmi1

func (NullableIpmi1) Get

func (v NullableIpmi1) Get() *Ipmi1

func (NullableIpmi1) IsSet

func (v NullableIpmi1) IsSet() bool

func (NullableIpmi1) MarshalJSON

func (v NullableIpmi1) MarshalJSON() ([]byte, error)

func (*NullableIpmi1) Set

func (v *NullableIpmi1) Set(val *Ipmi1)

func (*NullableIpmi1) UnmarshalJSON

func (v *NullableIpmi1) UnmarshalJSON(src []byte) error

func (*NullableIpmi1) Unset

func (v *NullableIpmi1) Unset()

type NullableIpmiResetServerOpts

type NullableIpmiResetServerOpts struct {
	// contains filtered or unexported fields
}

func NewNullableIpmiResetServerOpts

func NewNullableIpmiResetServerOpts(val *IpmiResetServerOpts) *NullableIpmiResetServerOpts

func (NullableIpmiResetServerOpts) Get

func (NullableIpmiResetServerOpts) IsSet

func (NullableIpmiResetServerOpts) MarshalJSON

func (v NullableIpmiResetServerOpts) MarshalJSON() ([]byte, error)

func (*NullableIpmiResetServerOpts) Set

func (*NullableIpmiResetServerOpts) UnmarshalJSON

func (v *NullableIpmiResetServerOpts) UnmarshalJSON(src []byte) error

func (*NullableIpmiResetServerOpts) Unset

func (v *NullableIpmiResetServerOpts) Unset()

type NullableJobMetadata

type NullableJobMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableJobMetadata

func NewNullableJobMetadata(val *JobMetadata) *NullableJobMetadata

func (NullableJobMetadata) Get

func (NullableJobMetadata) IsSet

func (v NullableJobMetadata) IsSet() bool

func (NullableJobMetadata) MarshalJSON

func (v NullableJobMetadata) MarshalJSON() ([]byte, error)

func (*NullableJobMetadata) Set

func (v *NullableJobMetadata) Set(val *JobMetadata)

func (*NullableJobMetadata) UnmarshalJSON

func (v *NullableJobMetadata) UnmarshalJSON(src []byte) error

func (*NullableJobMetadata) Unset

func (v *NullableJobMetadata) Unset()

type NullableJobType

type NullableJobType struct {
	// contains filtered or unexported fields
}

func NewNullableJobType

func NewNullableJobType(val *JobType) *NullableJobType

func (NullableJobType) Get

func (v NullableJobType) Get() *JobType

func (NullableJobType) IsSet

func (v NullableJobType) IsSet() bool

func (NullableJobType) MarshalJSON

func (v NullableJobType) MarshalJSON() ([]byte, error)

func (*NullableJobType) Set

func (v *NullableJobType) Set(val *JobType)

func (*NullableJobType) UnmarshalJSON

func (v *NullableJobType) UnmarshalJSON(src []byte) error

func (*NullableJobType) Unset

func (v *NullableJobType) Unset()

type NullableLastClientRequest

type NullableLastClientRequest struct {
	// contains filtered or unexported fields
}

func NewNullableLastClientRequest

func NewNullableLastClientRequest(val *LastClientRequest) *NullableLastClientRequest

func (NullableLastClientRequest) Get

func (NullableLastClientRequest) IsSet

func (v NullableLastClientRequest) IsSet() bool

func (NullableLastClientRequest) MarshalJSON

func (v NullableLastClientRequest) MarshalJSON() ([]byte, error)

func (*NullableLastClientRequest) Set

func (*NullableLastClientRequest) UnmarshalJSON

func (v *NullableLastClientRequest) UnmarshalJSON(src []byte) error

func (*NullableLastClientRequest) Unset

func (v *NullableLastClientRequest) Unset()

type NullableLease

type NullableLease struct {
	// contains filtered or unexported fields
}

func NewNullableLease

func NewNullableLease(val *Lease) *NullableLease

func (NullableLease) Get

func (v NullableLease) Get() *Lease

func (NullableLease) IsSet

func (v NullableLease) IsSet() bool

func (NullableLease) MarshalJSON

func (v NullableLease) MarshalJSON() ([]byte, error)

func (*NullableLease) Set

func (v *NullableLease) Set(val *Lease)

func (*NullableLease) UnmarshalJSON

func (v *NullableLease) UnmarshalJSON(src []byte) error

func (*NullableLease) Unset

func (v *NullableLease) Unset()

type NullableLinkSpeed

type NullableLinkSpeed struct {
	// contains filtered or unexported fields
}

func NewNullableLinkSpeed

func NewNullableLinkSpeed(val *LinkSpeed) *NullableLinkSpeed

func (NullableLinkSpeed) Get

func (v NullableLinkSpeed) Get() *LinkSpeed

func (NullableLinkSpeed) IsSet

func (v NullableLinkSpeed) IsSet() bool

func (NullableLinkSpeed) MarshalJSON

func (v NullableLinkSpeed) MarshalJSON() ([]byte, error)

func (*NullableLinkSpeed) Set

func (v *NullableLinkSpeed) Set(val *LinkSpeed)

func (*NullableLinkSpeed) UnmarshalJSON

func (v *NullableLinkSpeed) UnmarshalJSON(src []byte) error

func (*NullableLinkSpeed) Unset

func (v *NullableLinkSpeed) Unset()

type NullableLinkSpeeds

type NullableLinkSpeeds struct {
	// contains filtered or unexported fields
}

func NewNullableLinkSpeeds

func NewNullableLinkSpeeds(val *LinkSpeeds) *NullableLinkSpeeds

func (NullableLinkSpeeds) Get

func (v NullableLinkSpeeds) Get() *LinkSpeeds

func (NullableLinkSpeeds) IsSet

func (v NullableLinkSpeeds) IsSet() bool

func (NullableLinkSpeeds) MarshalJSON

func (v NullableLinkSpeeds) MarshalJSON() ([]byte, error)

func (*NullableLinkSpeeds) Set

func (v *NullableLinkSpeeds) Set(val *LinkSpeeds)

func (*NullableLinkSpeeds) UnmarshalJSON

func (v *NullableLinkSpeeds) UnmarshalJSON(src []byte) error

func (*NullableLinkSpeeds) Unset

func (v *NullableLinkSpeeds) Unset()

type NullableLldp

type NullableLldp struct {
	// contains filtered or unexported fields
}

func NewNullableLldp

func NewNullableLldp(val *Lldp) *NullableLldp

func (NullableLldp) Get

func (v NullableLldp) Get() *Lldp

func (NullableLldp) IsSet

func (v NullableLldp) IsSet() bool

func (NullableLldp) MarshalJSON

func (v NullableLldp) MarshalJSON() ([]byte, error)

func (*NullableLldp) Set

func (v *NullableLldp) Set(val *Lldp)

func (*NullableLldp) UnmarshalJSON

func (v *NullableLldp) UnmarshalJSON(src []byte) error

func (*NullableLldp) Unset

func (v *NullableLldp) Unset()

type NullableLldpChassis

type NullableLldpChassis struct {
	// contains filtered or unexported fields
}

func NewNullableLldpChassis

func NewNullableLldpChassis(val *LldpChassis) *NullableLldpChassis

func (NullableLldpChassis) Get

func (NullableLldpChassis) IsSet

func (v NullableLldpChassis) IsSet() bool

func (NullableLldpChassis) MarshalJSON

func (v NullableLldpChassis) MarshalJSON() ([]byte, error)

func (*NullableLldpChassis) Set

func (v *NullableLldpChassis) Set(val *LldpChassis)

func (*NullableLldpChassis) UnmarshalJSON

func (v *NullableLldpChassis) UnmarshalJSON(src []byte) error

func (*NullableLldpChassis) Unset

func (v *NullableLldpChassis) Unset()

type NullableLocation

type NullableLocation struct {
	// contains filtered or unexported fields
}

func NewNullableLocation

func NewNullableLocation(val *Location) *NullableLocation

func (NullableLocation) Get

func (v NullableLocation) Get() *Location

func (NullableLocation) IsSet

func (v NullableLocation) IsSet() bool

func (NullableLocation) MarshalJSON

func (v NullableLocation) MarshalJSON() ([]byte, error)

func (*NullableLocation) Set

func (v *NullableLocation) Set(val *Location)

func (*NullableLocation) UnmarshalJSON

func (v *NullableLocation) UnmarshalJSON(src []byte) error

func (*NullableLocation) Unset

func (v *NullableLocation) Unset()

type NullableMemoryBank

type NullableMemoryBank struct {
	// contains filtered or unexported fields
}

func NewNullableMemoryBank

func NewNullableMemoryBank(val *MemoryBank) *NullableMemoryBank

func (NullableMemoryBank) Get

func (v NullableMemoryBank) Get() *MemoryBank

func (NullableMemoryBank) IsSet

func (v NullableMemoryBank) IsSet() bool

func (NullableMemoryBank) MarshalJSON

func (v NullableMemoryBank) MarshalJSON() ([]byte, error)

func (*NullableMemoryBank) Set

func (v *NullableMemoryBank) Set(val *MemoryBank)

func (*NullableMemoryBank) UnmarshalJSON

func (v *NullableMemoryBank) UnmarshalJSON(src []byte) error

func (*NullableMemoryBank) Unset

func (v *NullableMemoryBank) Unset()

type NullableMetadata

type NullableMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetric

type NullableMetric struct {
	// contains filtered or unexported fields
}

func NewNullableMetric

func NewNullableMetric(val *Metric) *NullableMetric

func (NullableMetric) Get

func (v NullableMetric) Get() *Metric

func (NullableMetric) IsSet

func (v NullableMetric) IsSet() bool

func (NullableMetric) MarshalJSON

func (v NullableMetric) MarshalJSON() ([]byte, error)

func (*NullableMetric) Set

func (v *NullableMetric) Set(val *Metric)

func (*NullableMetric) UnmarshalJSON

func (v *NullableMetric) UnmarshalJSON(src []byte) error

func (*NullableMetric) Unset

func (v *NullableMetric) Unset()

type NullableMetricValue

type NullableMetricValue struct {
	// contains filtered or unexported fields
}

func NewNullableMetricValue

func NewNullableMetricValue(val *MetricValue) *NullableMetricValue

func (NullableMetricValue) Get

func (NullableMetricValue) IsSet

func (v NullableMetricValue) IsSet() bool

func (NullableMetricValue) MarshalJSON

func (v NullableMetricValue) MarshalJSON() ([]byte, error)

func (*NullableMetricValue) Set

func (v *NullableMetricValue) Set(val *MetricValue)

func (*NullableMetricValue) UnmarshalJSON

func (v *NullableMetricValue) UnmarshalJSON(src []byte) error

func (*NullableMetricValue) Unset

func (v *NullableMetricValue) Unset()

type NullableMetricValues

type NullableMetricValues struct {
	// contains filtered or unexported fields
}

func NewNullableMetricValues

func NewNullableMetricValues(val *MetricValues) *NullableMetricValues

func (NullableMetricValues) Get

func (NullableMetricValues) IsSet

func (v NullableMetricValues) IsSet() bool

func (NullableMetricValues) MarshalJSON

func (v NullableMetricValues) MarshalJSON() ([]byte, error)

func (*NullableMetricValues) Set

func (v *NullableMetricValues) Set(val *MetricValues)

func (*NullableMetricValues) UnmarshalJSON

func (v *NullableMetricValues) UnmarshalJSON(src []byte) error

func (*NullableMetricValues) Unset

func (v *NullableMetricValues) Unset()

type NullableMetrics

type NullableMetrics struct {
	// contains filtered or unexported fields
}

func NewNullableMetrics

func NewNullableMetrics(val *Metrics) *NullableMetrics

func (NullableMetrics) Get

func (v NullableMetrics) Get() *Metrics

func (NullableMetrics) IsSet

func (v NullableMetrics) IsSet() bool

func (NullableMetrics) MarshalJSON

func (v NullableMetrics) MarshalJSON() ([]byte, error)

func (*NullableMetrics) Set

func (v *NullableMetrics) Set(val *Metrics)

func (*NullableMetrics) UnmarshalJSON

func (v *NullableMetrics) UnmarshalJSON(src []byte) error

func (*NullableMetrics) Unset

func (v *NullableMetrics) Unset()

type NullableMetricsMetadata

type NullableMetricsMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetricsMetadata

func NewNullableMetricsMetadata(val *MetricsMetadata) *NullableMetricsMetadata

func (NullableMetricsMetadata) Get

func (NullableMetricsMetadata) IsSet

func (v NullableMetricsMetadata) IsSet() bool

func (NullableMetricsMetadata) MarshalJSON

func (v NullableMetricsMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetricsMetadata) Set

func (*NullableMetricsMetadata) UnmarshalJSON

func (v *NullableMetricsMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetricsMetadata) Unset

func (v *NullableMetricsMetadata) Unset()

type NullableMotherboard

type NullableMotherboard struct {
	// contains filtered or unexported fields
}

func NewNullableMotherboard

func NewNullableMotherboard(val *Motherboard) *NullableMotherboard

func (NullableMotherboard) Get

func (NullableMotherboard) IsSet

func (v NullableMotherboard) IsSet() bool

func (NullableMotherboard) MarshalJSON

func (v NullableMotherboard) MarshalJSON() ([]byte, error)

func (*NullableMotherboard) Set

func (v *NullableMotherboard) Set(val *Motherboard)

func (*NullableMotherboard) UnmarshalJSON

func (v *NullableMotherboard) UnmarshalJSON(src []byte) error

func (*NullableMotherboard) Unset

func (v *NullableMotherboard) Unset()

type NullableNetwork

type NullableNetwork struct {
	// contains filtered or unexported fields
}

func NewNullableNetwork

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON

func (v NullableNetwork) MarshalJSON() ([]byte, error)

func (*NullableNetwork) Set

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON

func (v *NullableNetwork) UnmarshalJSON(src []byte) error

func (*NullableNetwork) Unset

func (v *NullableNetwork) Unset()

type NullableNetworkCapabilities

type NullableNetworkCapabilities struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkCapabilities

func NewNullableNetworkCapabilities(val *NetworkCapabilities) *NullableNetworkCapabilities

func (NullableNetworkCapabilities) Get

func (NullableNetworkCapabilities) IsSet

func (NullableNetworkCapabilities) MarshalJSON

func (v NullableNetworkCapabilities) MarshalJSON() ([]byte, error)

func (*NullableNetworkCapabilities) Set

func (*NullableNetworkCapabilities) UnmarshalJSON

func (v *NullableNetworkCapabilities) UnmarshalJSON(src []byte) error

func (*NullableNetworkCapabilities) Unset

func (v *NullableNetworkCapabilities) Unset()

type NullableNetworkEquipment

type NullableNetworkEquipment struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkEquipment

func NewNullableNetworkEquipment(val *NetworkEquipment) *NullableNetworkEquipment

func (NullableNetworkEquipment) Get

func (NullableNetworkEquipment) IsSet

func (v NullableNetworkEquipment) IsSet() bool

func (NullableNetworkEquipment) MarshalJSON

func (v NullableNetworkEquipment) MarshalJSON() ([]byte, error)

func (*NullableNetworkEquipment) Set

func (*NullableNetworkEquipment) UnmarshalJSON

func (v *NullableNetworkEquipment) UnmarshalJSON(src []byte) error

func (*NullableNetworkEquipment) Unset

func (v *NullableNetworkEquipment) Unset()

type NullableNetworkEquipmentSpecs

type NullableNetworkEquipmentSpecs struct {
	// contains filtered or unexported fields
}

func (NullableNetworkEquipmentSpecs) Get

func (NullableNetworkEquipmentSpecs) IsSet

func (NullableNetworkEquipmentSpecs) MarshalJSON

func (v NullableNetworkEquipmentSpecs) MarshalJSON() ([]byte, error)

func (*NullableNetworkEquipmentSpecs) Set

func (*NullableNetworkEquipmentSpecs) UnmarshalJSON

func (v *NullableNetworkEquipmentSpecs) UnmarshalJSON(src []byte) error

func (*NullableNetworkEquipmentSpecs) Unset

func (v *NullableNetworkEquipmentSpecs) Unset()

type NullableNetworkInterface

type NullableNetworkInterface struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkInterface

func NewNullableNetworkInterface(val *NetworkInterface) *NullableNetworkInterface

func (NullableNetworkInterface) Get

func (NullableNetworkInterface) IsSet

func (v NullableNetworkInterface) IsSet() bool

func (NullableNetworkInterface) MarshalJSON

func (v NullableNetworkInterface) MarshalJSON() ([]byte, error)

func (*NullableNetworkInterface) Set

func (*NullableNetworkInterface) UnmarshalJSON

func (v *NullableNetworkInterface) UnmarshalJSON(src []byte) error

func (*NullableNetworkInterface) Unset

func (v *NullableNetworkInterface) Unset()

type NullableNetworkInterfaces

type NullableNetworkInterfaces struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkInterfaces

func NewNullableNetworkInterfaces(val *NetworkInterfaces) *NullableNetworkInterfaces

func (NullableNetworkInterfaces) Get

func (NullableNetworkInterfaces) IsSet

func (v NullableNetworkInterfaces) IsSet() bool

func (NullableNetworkInterfaces) MarshalJSON

func (v NullableNetworkInterfaces) MarshalJSON() ([]byte, error)

func (*NullableNetworkInterfaces) Set

func (*NullableNetworkInterfaces) UnmarshalJSON

func (v *NullableNetworkInterfaces) UnmarshalJSON(src []byte) error

func (*NullableNetworkInterfaces) Unset

func (v *NullableNetworkInterfaces) Unset()

type NullableNetworkSettings

type NullableNetworkSettings struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkSettings

func NewNullableNetworkSettings(val *NetworkSettings) *NullableNetworkSettings

func (NullableNetworkSettings) Get

func (NullableNetworkSettings) IsSet

func (v NullableNetworkSettings) IsSet() bool

func (NullableNetworkSettings) MarshalJSON

func (v NullableNetworkSettings) MarshalJSON() ([]byte, error)

func (*NullableNetworkSettings) Set

func (*NullableNetworkSettings) UnmarshalJSON

func (v *NullableNetworkSettings) UnmarshalJSON(src []byte) error

func (*NullableNetworkSettings) Unset

func (v *NullableNetworkSettings) Unset()

type NullableNetworkTraffic

type NullableNetworkTraffic struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTraffic

func NewNullableNetworkTraffic(val *NetworkTraffic) *NullableNetworkTraffic

func (NullableNetworkTraffic) Get

func (NullableNetworkTraffic) IsSet

func (v NullableNetworkTraffic) IsSet() bool

func (NullableNetworkTraffic) MarshalJSON

func (v NullableNetworkTraffic) MarshalJSON() ([]byte, error)

func (*NullableNetworkTraffic) Set

func (*NullableNetworkTraffic) UnmarshalJSON

func (v *NullableNetworkTraffic) UnmarshalJSON(src []byte) error

func (*NullableNetworkTraffic) Unset

func (v *NullableNetworkTraffic) Unset()

type NullableNetworkType

type NullableNetworkType struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkType

func NewNullableNetworkType(val *NetworkType) *NullableNetworkType

func (NullableNetworkType) Get

func (NullableNetworkType) IsSet

func (v NullableNetworkType) IsSet() bool

func (NullableNetworkType) MarshalJSON

func (v NullableNetworkType) MarshalJSON() ([]byte, error)

func (*NullableNetworkType) Set

func (v *NullableNetworkType) Set(val *NetworkType)

func (*NullableNetworkType) UnmarshalJSON

func (v *NullableNetworkType) UnmarshalJSON(src []byte) error

func (*NullableNetworkType) Unset

func (v *NullableNetworkType) Unset()

type NullableNetworkTypeURL

type NullableNetworkTypeURL struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkTypeURL

func NewNullableNetworkTypeURL(val *NetworkTypeURL) *NullableNetworkTypeURL

func (NullableNetworkTypeURL) Get

func (NullableNetworkTypeURL) IsSet

func (v NullableNetworkTypeURL) IsSet() bool

func (NullableNetworkTypeURL) MarshalJSON

func (v NullableNetworkTypeURL) MarshalJSON() ([]byte, error)

func (*NullableNetworkTypeURL) Set

func (*NullableNetworkTypeURL) UnmarshalJSON

func (v *NullableNetworkTypeURL) UnmarshalJSON(src []byte) error

func (*NullableNetworkTypeURL) Unset

func (v *NullableNetworkTypeURL) Unset()

type NullableNotificationSetting

type NullableNotificationSetting struct {
	// contains filtered or unexported fields
}

func NewNullableNotificationSetting

func NewNullableNotificationSetting(val *NotificationSetting) *NullableNotificationSetting

func (NullableNotificationSetting) Get

func (NullableNotificationSetting) IsSet

func (NullableNotificationSetting) MarshalJSON

func (v NullableNotificationSetting) MarshalJSON() ([]byte, error)

func (*NullableNotificationSetting) Set

func (*NullableNotificationSetting) UnmarshalJSON

func (v *NullableNotificationSetting) UnmarshalJSON(src []byte) error

func (*NullableNotificationSetting) Unset

func (v *NullableNotificationSetting) Unset()

type NullableNullRoute

type NullableNullRoute struct {
	// contains filtered or unexported fields
}

func NewNullableNullRoute

func NewNullableNullRoute(val *NullRoute) *NullableNullRoute

func (NullableNullRoute) Get

func (v NullableNullRoute) Get() *NullRoute

func (NullableNullRoute) IsSet

func (v NullableNullRoute) IsSet() bool

func (NullableNullRoute) MarshalJSON

func (v NullableNullRoute) MarshalJSON() ([]byte, error)

func (*NullableNullRoute) Set

func (v *NullableNullRoute) Set(val *NullRoute)

func (*NullableNullRoute) UnmarshalJSON

func (v *NullableNullRoute) UnmarshalJSON(src []byte) error

func (*NullableNullRoute) Unset

func (v *NullableNullRoute) Unset()

type NullableOperatingSystem

type NullableOperatingSystem struct {
	// contains filtered or unexported fields
}

func NewNullableOperatingSystem

func NewNullableOperatingSystem(val *OperatingSystem) *NullableOperatingSystem

func (NullableOperatingSystem) Get

func (NullableOperatingSystem) IsSet

func (v NullableOperatingSystem) IsSet() bool

func (NullableOperatingSystem) MarshalJSON

func (v NullableOperatingSystem) MarshalJSON() ([]byte, error)

func (*NullableOperatingSystem) Set

func (*NullableOperatingSystem) UnmarshalJSON

func (v *NullableOperatingSystem) UnmarshalJSON(src []byte) error

func (*NullableOperatingSystem) Unset

func (v *NullableOperatingSystem) Unset()

type NullableOperationNetworkInterface

type NullableOperationNetworkInterface struct {
	// contains filtered or unexported fields
}

func (NullableOperationNetworkInterface) Get

func (NullableOperationNetworkInterface) IsSet

func (NullableOperationNetworkInterface) MarshalJSON

func (v NullableOperationNetworkInterface) MarshalJSON() ([]byte, error)

func (*NullableOperationNetworkInterface) Set

func (*NullableOperationNetworkInterface) UnmarshalJSON

func (v *NullableOperationNetworkInterface) UnmarshalJSON(src []byte) error

func (*NullableOperationNetworkInterface) Unset

type NullableOs

type NullableOs struct {
	// contains filtered or unexported fields
}

func NewNullableOs

func NewNullableOs(val *Os) *NullableOs

func (NullableOs) Get

func (v NullableOs) Get() *Os

func (NullableOs) IsSet

func (v NullableOs) IsSet() bool

func (NullableOs) MarshalJSON

func (v NullableOs) MarshalJSON() ([]byte, error)

func (*NullableOs) Set

func (v *NullableOs) Set(val *Os)

func (*NullableOs) UnmarshalJSON

func (v *NullableOs) UnmarshalJSON(src []byte) error

func (*NullableOs) Unset

func (v *NullableOs) Unset()

type NullablePartition

type NullablePartition struct {
	// contains filtered or unexported fields
}

func NewNullablePartition

func NewNullablePartition(val *Partition) *NullablePartition

func (NullablePartition) Get

func (v NullablePartition) Get() *Partition

func (NullablePartition) IsSet

func (v NullablePartition) IsSet() bool

func (NullablePartition) MarshalJSON

func (v NullablePartition) MarshalJSON() ([]byte, error)

func (*NullablePartition) Set

func (v *NullablePartition) Set(val *Partition)

func (*NullablePartition) UnmarshalJSON

func (v *NullablePartition) UnmarshalJSON(src []byte) error

func (*NullablePartition) Unset

func (v *NullablePartition) Unset()

type NullablePayload

type NullablePayload struct {
	// contains filtered or unexported fields
}

func NewNullablePayload

func NewNullablePayload(val *Payload) *NullablePayload

func (NullablePayload) Get

func (v NullablePayload) Get() *Payload

func (NullablePayload) IsSet

func (v NullablePayload) IsSet() bool

func (NullablePayload) MarshalJSON

func (v NullablePayload) MarshalJSON() ([]byte, error)

func (*NullablePayload) Set

func (v *NullablePayload) Set(val *Payload)

func (*NullablePayload) UnmarshalJSON

func (v *NullablePayload) UnmarshalJSON(src []byte) error

func (*NullablePayload) Unset

func (v *NullablePayload) Unset()

type NullablePciCard

type NullablePciCard struct {
	// contains filtered or unexported fields
}

func NewNullablePciCard

func NewNullablePciCard(val *PciCard) *NullablePciCard

func (NullablePciCard) Get

func (v NullablePciCard) Get() *PciCard

func (NullablePciCard) IsSet

func (v NullablePciCard) IsSet() bool

func (NullablePciCard) MarshalJSON

func (v NullablePciCard) MarshalJSON() ([]byte, error)

func (*NullablePciCard) Set

func (v *NullablePciCard) Set(val *PciCard)

func (*NullablePciCard) UnmarshalJSON

func (v *NullablePciCard) UnmarshalJSON(src []byte) error

func (*NullablePciCard) Unset

func (v *NullablePciCard) Unset()

type NullablePdu

type NullablePdu struct {
	// contains filtered or unexported fields
}

func NewNullablePdu

func NewNullablePdu(val *Pdu) *NullablePdu

func (NullablePdu) Get

func (v NullablePdu) Get() *Pdu

func (NullablePdu) IsSet

func (v NullablePdu) IsSet() bool

func (NullablePdu) MarshalJSON

func (v NullablePdu) MarshalJSON() ([]byte, error)

func (*NullablePdu) Set

func (v *NullablePdu) Set(val *Pdu)

func (*NullablePdu) UnmarshalJSON

func (v *NullablePdu) UnmarshalJSON(src []byte) error

func (*NullablePdu) Unset

func (v *NullablePdu) Unset()

type NullablePort

type NullablePort struct {
	// contains filtered or unexported fields
}

func NewNullablePort

func NewNullablePort(val *Port) *NullablePort

func (NullablePort) Get

func (v NullablePort) Get() *Port

func (NullablePort) IsSet

func (v NullablePort) IsSet() bool

func (NullablePort) MarshalJSON

func (v NullablePort) MarshalJSON() ([]byte, error)

func (*NullablePort) Set

func (v *NullablePort) Set(val *Port)

func (*NullablePort) UnmarshalJSON

func (v *NullablePort) UnmarshalJSON(src []byte) error

func (*NullablePort) Unset

func (v *NullablePort) Unset()

type NullablePort1

type NullablePort1 struct {
	// contains filtered or unexported fields
}

func NewNullablePort1

func NewNullablePort1(val *Port1) *NullablePort1

func (NullablePort1) Get

func (v NullablePort1) Get() *Port1

func (NullablePort1) IsSet

func (v NullablePort1) IsSet() bool

func (NullablePort1) MarshalJSON

func (v NullablePort1) MarshalJSON() ([]byte, error)

func (*NullablePort1) Set

func (v *NullablePort1) Set(val *Port1)

func (*NullablePort1) UnmarshalJSON

func (v *NullablePort1) UnmarshalJSON(src []byte) error

func (*NullablePort1) Unset

func (v *NullablePort1) Unset()

type NullablePrivateNetwork

type NullablePrivateNetwork struct {
	// contains filtered or unexported fields
}

func NewNullablePrivateNetwork

func NewNullablePrivateNetwork(val *PrivateNetwork) *NullablePrivateNetwork

func (NullablePrivateNetwork) Get

func (NullablePrivateNetwork) IsSet

func (v NullablePrivateNetwork) IsSet() bool

func (NullablePrivateNetwork) MarshalJSON

func (v NullablePrivateNetwork) MarshalJSON() ([]byte, error)

func (*NullablePrivateNetwork) Set

func (*NullablePrivateNetwork) UnmarshalJSON

func (v *NullablePrivateNetwork) UnmarshalJSON(src []byte) error

func (*NullablePrivateNetwork) Unset

func (v *NullablePrivateNetwork) Unset()

type NullableProgress

type NullableProgress struct {
	// contains filtered or unexported fields
}

func NewNullableProgress

func NewNullableProgress(val *Progress) *NullableProgress

func (NullableProgress) Get

func (v NullableProgress) Get() *Progress

func (NullableProgress) IsSet

func (v NullableProgress) IsSet() bool

func (NullableProgress) MarshalJSON

func (v NullableProgress) MarshalJSON() ([]byte, error)

func (*NullableProgress) Set

func (v *NullableProgress) Set(val *Progress)

func (*NullableProgress) UnmarshalJSON

func (v *NullableProgress) UnmarshalJSON(src []byte) error

func (*NullableProgress) Unset

func (v *NullableProgress) Unset()

type NullableRack

type NullableRack struct {
	// contains filtered or unexported fields
}

func NewNullableRack

func NewNullableRack(val *Rack) *NullableRack

func (NullableRack) Get

func (v NullableRack) Get() *Rack

func (NullableRack) IsSet

func (v NullableRack) IsSet() bool

func (NullableRack) MarshalJSON

func (v NullableRack) MarshalJSON() ([]byte, error)

func (*NullableRack) Set

func (v *NullableRack) Set(val *Rack)

func (*NullableRack) UnmarshalJSON

func (v *NullableRack) UnmarshalJSON(src []byte) error

func (*NullableRack) Unset

func (v *NullableRack) Unset()

type NullableRackType

type NullableRackType struct {
	// contains filtered or unexported fields
}

func NewNullableRackType

func NewNullableRackType(val *RackType) *NullableRackType

func (NullableRackType) Get

func (v NullableRackType) Get() *RackType

func (NullableRackType) IsSet

func (v NullableRackType) IsSet() bool

func (NullableRackType) MarshalJSON

func (v NullableRackType) MarshalJSON() ([]byte, error)

func (*NullableRackType) Set

func (v *NullableRackType) Set(val *RackType)

func (*NullableRackType) UnmarshalJSON

func (v *NullableRackType) UnmarshalJSON(src []byte) error

func (*NullableRackType) Unset

func (v *NullableRackType) Unset()

type NullableRaid

type NullableRaid struct {
	// contains filtered or unexported fields
}

func NewNullableRaid

func NewNullableRaid(val *Raid) *NullableRaid

func (NullableRaid) Get

func (v NullableRaid) Get() *Raid

func (NullableRaid) IsSet

func (v NullableRaid) IsSet() bool

func (NullableRaid) MarshalJSON

func (v NullableRaid) MarshalJSON() ([]byte, error)

func (*NullableRaid) Set

func (v *NullableRaid) Set(val *Raid)

func (*NullableRaid) UnmarshalJSON

func (v *NullableRaid) UnmarshalJSON(src []byte) error

func (*NullableRaid) Unset

func (v *NullableRaid) Unset()

type NullableRaidLevel

type NullableRaidLevel struct {
	// contains filtered or unexported fields
}

func NewNullableRaidLevel

func NewNullableRaidLevel(val *RaidLevel) *NullableRaidLevel

func (NullableRaidLevel) Get

func (v NullableRaidLevel) Get() *RaidLevel

func (NullableRaidLevel) IsSet

func (v NullableRaidLevel) IsSet() bool

func (NullableRaidLevel) MarshalJSON

func (v NullableRaidLevel) MarshalJSON() ([]byte, error)

func (*NullableRaidLevel) Set

func (v *NullableRaidLevel) Set(val *RaidLevel)

func (*NullableRaidLevel) UnmarshalJSON

func (v *NullableRaidLevel) UnmarshalJSON(src []byte) error

func (*NullableRaidLevel) Unset

func (v *NullableRaidLevel) Unset()

type NullableRaidType

type NullableRaidType struct {
	// contains filtered or unexported fields
}

func NewNullableRaidType

func NewNullableRaidType(val *RaidType) *NullableRaidType

func (NullableRaidType) Get

func (v NullableRaidType) Get() *RaidType

func (NullableRaidType) IsSet

func (v NullableRaidType) IsSet() bool

func (NullableRaidType) MarshalJSON

func (v NullableRaidType) MarshalJSON() ([]byte, error)

func (*NullableRaidType) Set

func (v *NullableRaidType) Set(val *RaidType)

func (*NullableRaidType) UnmarshalJSON

func (v *NullableRaidType) UnmarshalJSON(src []byte) error

func (*NullableRaidType) Unset

func (v *NullableRaidType) Unset()

type NullableRam

type NullableRam struct {
	// contains filtered or unexported fields
}

func NewNullableRam

func NewNullableRam(val *Ram) *NullableRam

func (NullableRam) Get

func (v NullableRam) Get() *Ram

func (NullableRam) IsSet

func (v NullableRam) IsSet() bool

func (NullableRam) MarshalJSON

func (v NullableRam) MarshalJSON() ([]byte, error)

func (*NullableRam) Set

func (v *NullableRam) Set(val *Ram)

func (*NullableRam) UnmarshalJSON

func (v *NullableRam) UnmarshalJSON(src []byte) error

func (*NullableRam) Unset

func (v *NullableRam) Unset()

type NullableRescueImage

type NullableRescueImage struct {
	// contains filtered or unexported fields
}

func NewNullableRescueImage

func NewNullableRescueImage(val *RescueImage) *NullableRescueImage

func (NullableRescueImage) Get

func (NullableRescueImage) IsSet

func (v NullableRescueImage) IsSet() bool

func (NullableRescueImage) MarshalJSON

func (v NullableRescueImage) MarshalJSON() ([]byte, error)

func (*NullableRescueImage) Set

func (v *NullableRescueImage) Set(val *RescueImage)

func (*NullableRescueImage) UnmarshalJSON

func (v *NullableRescueImage) UnmarshalJSON(src []byte) error

func (*NullableRescueImage) Unset

func (v *NullableRescueImage) Unset()

type NullableResult

type NullableResult struct {
	// contains filtered or unexported fields
}

func NewNullableResult

func NewNullableResult(val *Result) *NullableResult

func (NullableResult) Get

func (v NullableResult) Get() *Result

func (NullableResult) IsSet

func (v NullableResult) IsSet() bool

func (NullableResult) MarshalJSON

func (v NullableResult) MarshalJSON() ([]byte, error)

func (*NullableResult) Set

func (v *NullableResult) Set(val *Result)

func (*NullableResult) UnmarshalJSON

func (v *NullableResult) UnmarshalJSON(src []byte) error

func (*NullableResult) Unset

func (v *NullableResult) Unset()

type NullableScanHardwareOpts

type NullableScanHardwareOpts struct {
	// contains filtered or unexported fields
}

func NewNullableScanHardwareOpts

func NewNullableScanHardwareOpts(val *ScanHardwareOpts) *NullableScanHardwareOpts

func (NullableScanHardwareOpts) Get

func (NullableScanHardwareOpts) IsSet

func (v NullableScanHardwareOpts) IsSet() bool

func (NullableScanHardwareOpts) MarshalJSON

func (v NullableScanHardwareOpts) MarshalJSON() ([]byte, error)

func (*NullableScanHardwareOpts) Set

func (*NullableScanHardwareOpts) UnmarshalJSON

func (v *NullableScanHardwareOpts) UnmarshalJSON(src []byte) error

func (*NullableScanHardwareOpts) Unset

func (v *NullableScanHardwareOpts) Unset()

type NullableServer

type NullableServer struct {
	// contains filtered or unexported fields
}

func NewNullableServer

func NewNullableServer(val *Server) *NullableServer

func (NullableServer) Get

func (v NullableServer) Get() *Server

func (NullableServer) IsSet

func (v NullableServer) IsSet() bool

func (NullableServer) MarshalJSON

func (v NullableServer) MarshalJSON() ([]byte, error)

func (*NullableServer) Set

func (v *NullableServer) Set(val *Server)

func (*NullableServer) UnmarshalJSON

func (v *NullableServer) UnmarshalJSON(src []byte) error

func (*NullableServer) Unset

func (v *NullableServer) Unset()

type NullableServerJob

type NullableServerJob struct {
	// contains filtered or unexported fields
}

func NewNullableServerJob

func NewNullableServerJob(val *ServerJob) *NullableServerJob

func (NullableServerJob) Get

func (v NullableServerJob) Get() *ServerJob

func (NullableServerJob) IsSet

func (v NullableServerJob) IsSet() bool

func (NullableServerJob) MarshalJSON

func (v NullableServerJob) MarshalJSON() ([]byte, error)

func (*NullableServerJob) Set

func (v *NullableServerJob) Set(val *ServerJob)

func (*NullableServerJob) UnmarshalJSON

func (v *NullableServerJob) UnmarshalJSON(src []byte) error

func (*NullableServerJob) Unset