models

package
v0.0.0-...-945cf49 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudPackage

type CloudPackage struct {
	PackageID    int `json:"PackageID,omitempty"`
	Descriptions []LocalizedText
}

type GetHypvervisorTypeResponse

type GetHypvervisorTypeResponse struct {
	HypervisorServerType int `json:"HypervisorServerType,omitempty"`
	HypervisorType       int `json:"HypervisorType,omitempty"`
	Templates            []Template
}

type GetPreconfiguredPackagesResponse

type GetPreconfiguredPackagesResponse struct {
	CloudPackages []CloudPackage
}

type GetPurchasedIpAddressesResponse

type GetPurchasedIpAddressesResponse struct {
	IPAddresses []IPAddress
}

type IPAddress

type IPAddress struct {
	Value      string `json:"Value,omitempty"`
	ResourceId int    `json:"ResourceId,omitempty"`
}

type LocalizedText

type LocalizedText struct {
	LanguageID int    `json:"LanguageID,omitempty"`
	Text       string `json:"Text,omitempty"`
}

type Server

type Server struct {
	Busy               bool   `json:"Busy,omitempty"`
	DatacenterId       int    `json:"DatacenterId,omitempty"`
	Name               string `json:"Name,omitempty"`
	ServerId           int    `json:"ServerId,omitempty"`
	ServerStatus       int    `json:"ServerStatus,omitempty"`
	UserId             int    `json:"UserId,omitempty"`
	EasyCloudIPAddress struct {
		Value string `json:"Value,omitempty"`
	} // We only get the IP Address
}

type Template

type Template struct {
	Id                    int    `json:"Id,omitempty"`
	Name                  string `json:"Name,omitempty"`
	TemplateSellingStatus int    `json:"TemplateSellingStatus,omitempty"`
}

Jump to

Keyboard shortcuts

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