Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiDevicesGetRequest
- func (r ApiDevicesGetRequest) Execute() (*DevicesGet200Response, *http.Response, error)
- func (r ApiDevicesGetRequest) Page(page int32) ApiDevicesGetRequest
- func (r ApiDevicesGetRequest) PageSize(pageSize int32) ApiDevicesGetRequest
- func (r ApiDevicesGetRequest) Q(q string) ApiDevicesGetRequest
- func (r ApiDevicesGetRequest) Sort(sort string) ApiDevicesGetRequest
- type ApiDevicesPostRequest
- type ApiDevicesUuidDeleteRequest
- type ApiDevicesUuidGetRequest
- type ApiDevicesUuidPutRequest
- type ApiHealthcheckGetRequest
- type BIOS
- func (o *BIOS) GetDate() string
- func (o *BIOS) GetDateOk() (*string, bool)
- func (o *BIOS) GetVendor() string
- func (o *BIOS) GetVendorOk() (*string, bool)
- func (o *BIOS) GetVersion() string
- func (o *BIOS) GetVersionOk() (*string, bool)
- func (o *BIOS) HasDate() bool
- func (o *BIOS) HasVendor() bool
- func (o *BIOS) HasVersion() bool
- func (o BIOS) MarshalJSON() ([]byte, error)
- func (o *BIOS) SetDate(v string)
- func (o *BIOS) SetVendor(v string)
- func (o *BIOS) SetVersion(v string)
- func (o BIOS) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type CPU
- func (o *CPU) GetArchitecture() string
- func (o *CPU) GetArchitectureOk() (*string, bool)
- func (o *CPU) GetCoreCount() int64
- func (o *CPU) GetCoreCountOk() (*int64, bool)
- func (o *CPU) GetCpuCount() int64
- func (o *CPU) GetCpuCountOk() (*int64, bool)
- func (o *CPU) GetMaxFrequencyMegahertz() int64
- func (o *CPU) GetMaxFrequencyMegahertzOk() (*int64, bool)
- func (o *CPU) GetMitigations() []string
- func (o *CPU) GetMitigationsOk() ([]string, bool)
- func (o *CPU) GetName() string
- func (o *CPU) GetNameOk() (*string, bool)
- func (o *CPU) HasArchitecture() bool
- func (o *CPU) HasCoreCount() bool
- func (o *CPU) HasCpuCount() bool
- func (o *CPU) HasMaxFrequencyMegahertz() bool
- func (o *CPU) HasMitigations() bool
- func (o *CPU) HasName() bool
- func (o CPU) MarshalJSON() ([]byte, error)
- func (o *CPU) SetArchitecture(v string)
- func (o *CPU) SetCoreCount(v int64)
- func (o *CPU) SetCpuCount(v int64)
- func (o *CPU) SetMaxFrequencyMegahertz(v int64)
- func (o *CPU) SetMitigations(v []string)
- func (o *CPU) SetName(v string)
- func (o CPU) ToMap() (map[string]interface{}, error)
- type Configuration
- type DIMMsInner
- func (o *DIMMsInner) GetBankLocator() string
- func (o *DIMMsInner) GetBankLocatorOk() (*string, bool)
- func (o *DIMMsInner) GetFormFactor() string
- func (o *DIMMsInner) GetFormFactorOk() (*string, bool)
- func (o *DIMMsInner) GetLocator() string
- func (o *DIMMsInner) GetLocatorOk() (*string, bool)
- func (o *DIMMsInner) GetManufacturer() string
- func (o *DIMMsInner) GetManufacturerOk() (*string, bool)
- func (o *DIMMsInner) GetPartNumber() string
- func (o *DIMMsInner) GetPartNumberOk() (*string, bool)
- func (o *DIMMsInner) GetSerialNumber() string
- func (o *DIMMsInner) GetSerialNumberOk() (*string, bool)
- func (o *DIMMsInner) GetSizeGigabytes() int64
- func (o *DIMMsInner) GetSizeGigabytesOk() (*int64, bool)
- func (o *DIMMsInner) GetSpeedMtS() int64
- func (o *DIMMsInner) GetSpeedMtSOk() (*int64, bool)
- func (o *DIMMsInner) GetType() string
- func (o *DIMMsInner) GetTypeOk() (*string, bool)
- func (o *DIMMsInner) HasBankLocator() bool
- func (o *DIMMsInner) HasFormFactor() bool
- func (o *DIMMsInner) HasLocator() bool
- func (o *DIMMsInner) HasManufacturer() bool
- func (o *DIMMsInner) HasPartNumber() bool
- func (o *DIMMsInner) HasSerialNumber() bool
- func (o *DIMMsInner) HasSizeGigabytes() bool
- func (o *DIMMsInner) HasSpeedMtS() bool
- func (o *DIMMsInner) HasType() bool
- func (o DIMMsInner) MarshalJSON() ([]byte, error)
- func (o *DIMMsInner) SetBankLocator(v string)
- func (o *DIMMsInner) SetFormFactor(v string)
- func (o *DIMMsInner) SetLocator(v string)
- func (o *DIMMsInner) SetManufacturer(v string)
- func (o *DIMMsInner) SetPartNumber(v string)
- func (o *DIMMsInner) SetSerialNumber(v string)
- func (o *DIMMsInner) SetSizeGigabytes(v int64)
- func (o *DIMMsInner) SetSpeedMtS(v int64)
- func (o *DIMMsInner) SetType(v string)
- func (o DIMMsInner) ToMap() (map[string]interface{}, error)
- type Device
- func (o *Device) GetSpecs() Specs
- func (o *Device) GetSpecsOk() (*Specs, bool)
- func (o *Device) GetUpdatedAt() time.Time
- func (o *Device) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Device) GetUuid() string
- func (o *Device) GetUuidOk() (*string, bool)
- func (o *Device) HasSpecs() bool
- func (o *Device) HasUpdatedAt() bool
- func (o *Device) HasUuid() bool
- func (o Device) MarshalJSON() ([]byte, error)
- func (o *Device) SetSpecs(v Specs)
- func (o *Device) SetUpdatedAt(v time.Time)
- func (o *Device) SetUuid(v string)
- func (o Device) ToMap() (map[string]interface{}, error)
- type DevicePostInput
- func (o *DevicePostInput) GetSpecs() Specs
- func (o *DevicePostInput) GetSpecsOk() (*Specs, bool)
- func (o *DevicePostInput) GetUuid() string
- func (o *DevicePostInput) GetUuidOk() (*string, bool)
- func (o *DevicePostInput) HasSpecs() bool
- func (o *DevicePostInput) HasUuid() bool
- func (o DevicePostInput) MarshalJSON() ([]byte, error)
- func (o *DevicePostInput) SetSpecs(v Specs)
- func (o *DevicePostInput) SetUuid(v string)
- func (o DevicePostInput) ToMap() (map[string]interface{}, error)
- type DevicePutInput
- type DeviceResponse
- func (o *DeviceResponse) GetDevice() Device
- func (o *DeviceResponse) GetDeviceOk() (*Device, bool)
- func (o *DeviceResponse) HasDevice() bool
- func (o DeviceResponse) MarshalJSON() ([]byte, error)
- func (o *DeviceResponse) SetDevice(v Device)
- func (o DeviceResponse) ToMap() (map[string]interface{}, error)
- type DevicesApiService
- func (a *DevicesApiService) DevicesGet(ctx context.Context) ApiDevicesGetRequest
- func (a *DevicesApiService) DevicesGetExecute(r ApiDevicesGetRequest) (*DevicesGet200Response, *http.Response, error)
- func (a *DevicesApiService) DevicesPost(ctx context.Context) ApiDevicesPostRequest
- func (a *DevicesApiService) DevicesPostExecute(r ApiDevicesPostRequest) (*DevicesPost201Response, *http.Response, error)
- func (a *DevicesApiService) DevicesUuidDelete(ctx context.Context, uuid string) ApiDevicesUuidDeleteRequest
- func (a *DevicesApiService) DevicesUuidDeleteExecute(r ApiDevicesUuidDeleteRequest) (*http.Response, error)
- func (a *DevicesApiService) DevicesUuidGet(ctx context.Context, uuid string) ApiDevicesUuidGetRequest
- func (a *DevicesApiService) DevicesUuidGetExecute(r ApiDevicesUuidGetRequest) (*DeviceResponse, *http.Response, error)
- func (a *DevicesApiService) DevicesUuidPut(ctx context.Context, uuid string) ApiDevicesUuidPutRequest
- func (a *DevicesApiService) DevicesUuidPutExecute(r ApiDevicesUuidPutRequest) (*DeviceResponse, *http.Response, error)
- type DevicesGet200Response
- func (o *DevicesGet200Response) GetDevices() []Device
- func (o *DevicesGet200Response) GetDevicesOk() ([]Device, bool)
- func (o *DevicesGet200Response) GetMetadata() Metadata
- func (o *DevicesGet200Response) GetMetadataOk() (*Metadata, bool)
- func (o *DevicesGet200Response) HasDevices() bool
- func (o *DevicesGet200Response) HasMetadata() bool
- func (o DevicesGet200Response) MarshalJSON() ([]byte, error)
- func (o *DevicesGet200Response) SetDevices(v []Device)
- func (o *DevicesGet200Response) SetMetadata(v Metadata)
- func (o DevicesGet200Response) ToMap() (map[string]interface{}, error)
- type DevicesGet401Response
- func (o *DevicesGet401Response) GetError() string
- func (o *DevicesGet401Response) GetErrorOk() (*string, bool)
- func (o *DevicesGet401Response) HasError() bool
- func (o DevicesGet401Response) MarshalJSON() ([]byte, error)
- func (o *DevicesGet401Response) SetError(v string)
- func (o DevicesGet401Response) ToMap() (map[string]interface{}, error)
- type DevicesPost201Response
- func (o *DevicesPost201Response) GetDevice() Device
- func (o *DevicesPost201Response) GetDeviceOk() (*Device, bool)
- func (o *DevicesPost201Response) HasDevice() bool
- func (o DevicesPost201Response) MarshalJSON() ([]byte, error)
- func (o *DevicesPost201Response) SetDevice(v Device)
- func (o DevicesPost201Response) ToMap() (map[string]interface{}, error)
- type DisksInner
- func (o *DisksInner) GetName() string
- func (o *DisksInner) GetNameOk() (*string, bool)
- func (o *DisksInner) GetPartitions() []Partition
- func (o *DisksInner) GetPartitionsOk() ([]Partition, bool)
- func (o *DisksInner) GetSizeMegabytes() int64
- func (o *DisksInner) GetSizeMegabytesOk() (*int64, bool)
- func (o *DisksInner) HasName() bool
- func (o *DisksInner) HasPartitions() bool
- func (o *DisksInner) HasSizeMegabytes() bool
- func (o DisksInner) MarshalJSON() ([]byte, error)
- func (o *DisksInner) SetName(v string)
- func (o *DisksInner) SetPartitions(v []Partition)
- func (o *DisksInner) SetSizeMegabytes(v int64)
- func (o DisksInner) ToMap() (map[string]interface{}, error)
- type Driver
- func (o *Driver) GetFirmwareVersion() string
- func (o *Driver) GetFirmwareVersionOk() (*string, bool)
- func (o *Driver) GetName() string
- func (o *Driver) GetNameOk() (*string, bool)
- func (o *Driver) GetVersion() string
- func (o *Driver) GetVersionOk() (*string, bool)
- func (o *Driver) HasFirmwareVersion() bool
- func (o *Driver) HasName() bool
- func (o *Driver) HasVersion() bool
- func (o Driver) MarshalJSON() ([]byte, error)
- func (o *Driver) SetFirmwareVersion(v string)
- func (o *Driver) SetName(v string)
- func (o *Driver) SetVersion(v string)
- func (o Driver) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type Kernel
- func (o *Kernel) GetName() string
- func (o *Kernel) GetNameOk() (*string, bool)
- func (o *Kernel) GetVersion() string
- func (o *Kernel) GetVersionOk() (*string, bool)
- func (o *Kernel) HasName() bool
- func (o *Kernel) HasVersion() bool
- func (o Kernel) MarshalJSON() ([]byte, error)
- func (o *Kernel) SetName(v string)
- func (o *Kernel) SetVersion(v string)
- func (o Kernel) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Memory
- func (o *Memory) GetMemory() int64
- func (o *Memory) GetMemoryOk() (*int64, bool)
- func (o *Memory) GetSwap() int64
- func (o *Memory) GetSwapDevices() []SwapDevice
- func (o *Memory) GetSwapDevicesOk() ([]SwapDevice, bool)
- func (o *Memory) GetSwapOk() (*int64, bool)
- func (o *Memory) HasMemory() bool
- func (o *Memory) HasSwap() bool
- func (o *Memory) HasSwapDevices() bool
- func (o Memory) MarshalJSON() ([]byte, error)
- func (o *Memory) SetMemory(v int64)
- func (o *Memory) SetSwap(v int64)
- func (o *Memory) SetSwapDevices(v []SwapDevice)
- func (o Memory) ToMap() (map[string]interface{}, error)
- type Metadata
- func (o *Metadata) GetCurrentPage() int32
- func (o *Metadata) GetCurrentPageOk() (*int32, bool)
- func (o *Metadata) GetFirstPage() int32
- func (o *Metadata) GetFirstPageOk() (*int32, bool)
- func (o *Metadata) GetLastPage() int32
- func (o *Metadata) GetLastPageOk() (*int32, bool)
- func (o *Metadata) GetPageSize() int32
- func (o *Metadata) GetPageSizeOk() (*int32, bool)
- func (o *Metadata) GetTotalRecords() int32
- func (o *Metadata) GetTotalRecordsOk() (*int32, bool)
- func (o *Metadata) HasCurrentPage() bool
- func (o *Metadata) HasFirstPage() bool
- func (o *Metadata) HasLastPage() bool
- func (o *Metadata) HasPageSize() bool
- func (o *Metadata) HasTotalRecords() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCurrentPage(v int32)
- func (o *Metadata) SetFirstPage(v int32)
- func (o *Metadata) SetLastPage(v int32)
- func (o *Metadata) SetPageSize(v int32)
- func (o *Metadata) SetTotalRecords(v int32)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- type Motherboard
- func (o *Motherboard) GetName() string
- func (o *Motherboard) GetNameOk() (*string, bool)
- func (o *Motherboard) GetSerialNumber() string
- func (o *Motherboard) GetSerialNumberOk() (*string, bool)
- func (o *Motherboard) GetVendor() string
- func (o *Motherboard) GetVendorOk() (*string, bool)
- func (o *Motherboard) HasName() bool
- func (o *Motherboard) HasSerialNumber() bool
- func (o *Motherboard) HasVendor() bool
- func (o Motherboard) MarshalJSON() ([]byte, error)
- func (o *Motherboard) SetName(v string)
- func (o *Motherboard) SetSerialNumber(v string)
- func (o *Motherboard) SetVendor(v string)
- func (o Motherboard) ToMap() (map[string]interface{}, error)
- type Network
- func (o *Network) GetHostname() string
- func (o *Network) GetHostnameOk() (*string, bool)
- func (o *Network) GetInterfaces() []NetworkInterface
- func (o *Network) GetInterfacesOk() ([]NetworkInterface, bool)
- func (o *Network) HasHostname() bool
- func (o *Network) HasInterfaces() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetHostname(v string)
- func (o *Network) SetInterfaces(v []NetworkInterface)
- func (o Network) ToMap() (map[string]interface{}, error)
- type NetworkInterface
- func (o *NetworkInterface) GetDriver() Driver
- func (o *NetworkInterface) GetDriverOk() (*Driver, bool)
- func (o *NetworkInterface) GetIpv4Addresses() []string
- func (o *NetworkInterface) GetIpv4AddressesOk() ([]string, bool)
- func (o *NetworkInterface) GetIpv6Addresses() []string
- func (o *NetworkInterface) GetIpv6AddressesOk() ([]string, bool)
- func (o *NetworkInterface) GetMacAddress() string
- func (o *NetworkInterface) GetMacAddressOk() (*string, bool)
- func (o *NetworkInterface) HasDriver() bool
- func (o *NetworkInterface) HasIpv4Addresses() bool
- func (o *NetworkInterface) HasIpv6Addresses() bool
- func (o *NetworkInterface) HasMacAddress() bool
- func (o NetworkInterface) MarshalJSON() ([]byte, error)
- func (o *NetworkInterface) SetDriver(v Driver)
- func (o *NetworkInterface) SetIpv4Addresses(v []string)
- func (o *NetworkInterface) SetIpv6Addresses(v []string)
- func (o *NetworkInterface) SetMacAddress(v string)
- func (o NetworkInterface) ToMap() (map[string]interface{}, error)
- type NullableBIOS
- type NullableBool
- type NullableCPU
- type NullableDIMMsInner
- type NullableDevice
- type NullableDevicePostInput
- func (v NullableDevicePostInput) Get() *DevicePostInput
- func (v NullableDevicePostInput) IsSet() bool
- func (v NullableDevicePostInput) MarshalJSON() ([]byte, error)
- func (v *NullableDevicePostInput) Set(val *DevicePostInput)
- func (v *NullableDevicePostInput) UnmarshalJSON(src []byte) error
- func (v *NullableDevicePostInput) Unset()
- type NullableDevicePutInput
- func (v NullableDevicePutInput) Get() *DevicePutInput
- func (v NullableDevicePutInput) IsSet() bool
- func (v NullableDevicePutInput) MarshalJSON() ([]byte, error)
- func (v *NullableDevicePutInput) Set(val *DevicePutInput)
- func (v *NullableDevicePutInput) UnmarshalJSON(src []byte) error
- func (v *NullableDevicePutInput) Unset()
- type NullableDeviceResponse
- func (v NullableDeviceResponse) Get() *DeviceResponse
- func (v NullableDeviceResponse) IsSet() bool
- func (v NullableDeviceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceResponse) Set(val *DeviceResponse)
- func (v *NullableDeviceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceResponse) Unset()
- type NullableDevicesGet200Response
- func (v NullableDevicesGet200Response) Get() *DevicesGet200Response
- func (v NullableDevicesGet200Response) IsSet() bool
- func (v NullableDevicesGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableDevicesGet200Response) Set(val *DevicesGet200Response)
- func (v *NullableDevicesGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableDevicesGet200Response) Unset()
- type NullableDevicesGet401Response
- func (v NullableDevicesGet401Response) Get() *DevicesGet401Response
- func (v NullableDevicesGet401Response) IsSet() bool
- func (v NullableDevicesGet401Response) MarshalJSON() ([]byte, error)
- func (v *NullableDevicesGet401Response) Set(val *DevicesGet401Response)
- func (v *NullableDevicesGet401Response) UnmarshalJSON(src []byte) error
- func (v *NullableDevicesGet401Response) Unset()
- type NullableDevicesPost201Response
- func (v NullableDevicesPost201Response) Get() *DevicesPost201Response
- func (v NullableDevicesPost201Response) IsSet() bool
- func (v NullableDevicesPost201Response) MarshalJSON() ([]byte, error)
- func (v *NullableDevicesPost201Response) Set(val *DevicesPost201Response)
- func (v *NullableDevicesPost201Response) UnmarshalJSON(src []byte) error
- func (v *NullableDevicesPost201Response) Unset()
- type NullableDisksInner
- type NullableDriver
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKernel
- type NullableMemory
- type NullableMetadata
- type NullableMotherboard
- func (v NullableMotherboard) Get() *Motherboard
- func (v NullableMotherboard) IsSet() bool
- func (v NullableMotherboard) MarshalJSON() ([]byte, error)
- func (v *NullableMotherboard) Set(val *Motherboard)
- func (v *NullableMotherboard) UnmarshalJSON(src []byte) error
- func (v *NullableMotherboard) Unset()
- type NullableNetwork
- type NullableNetworkInterface
- func (v NullableNetworkInterface) Get() *NetworkInterface
- func (v NullableNetworkInterface) IsSet() bool
- func (v NullableNetworkInterface) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkInterface) Set(val *NetworkInterface)
- func (v *NullableNetworkInterface) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkInterface) Unset()
- type NullableOEM
- type NullablePartition
- type NullableRelease
- type NullableServerInfo
- type NullableServerInfoSystemInfo
- func (v NullableServerInfoSystemInfo) Get() *ServerInfoSystemInfo
- func (v NullableServerInfoSystemInfo) IsSet() bool
- func (v NullableServerInfoSystemInfo) MarshalJSON() ([]byte, error)
- func (v *NullableServerInfoSystemInfo) Set(val *ServerInfoSystemInfo)
- func (v *NullableServerInfoSystemInfo) UnmarshalJSON(src []byte) error
- func (v *NullableServerInfoSystemInfo) Unset()
- type NullableSpecs
- type NullableString
- type NullableSwapDevice
- type NullableTime
- type NullableVirtualization
- func (v NullableVirtualization) Get() *Virtualization
- func (v NullableVirtualization) IsSet() bool
- func (v NullableVirtualization) MarshalJSON() ([]byte, error)
- func (v *NullableVirtualization) Set(val *Virtualization)
- func (v *NullableVirtualization) UnmarshalJSON(src []byte) error
- func (v *NullableVirtualization) Unset()
- type OEM
- func (o *OEM) GetManufacturer() string
- func (o *OEM) GetManufacturerOk() (*string, bool)
- func (o *OEM) GetProductName() string
- func (o *OEM) GetProductNameOk() (*string, bool)
- func (o *OEM) GetSerialNumber() string
- func (o *OEM) GetSerialNumberOk() (*string, bool)
- func (o *OEM) HasManufacturer() bool
- func (o *OEM) HasProductName() bool
- func (o *OEM) HasSerialNumber() bool
- func (o OEM) MarshalJSON() ([]byte, error)
- func (o *OEM) SetManufacturer(v string)
- func (o *OEM) SetProductName(v string)
- func (o *OEM) SetSerialNumber(v string)
- func (o OEM) ToMap() (map[string]interface{}, error)
- type Partition
- func (o *Partition) GetCapacityMegabytes() int64
- func (o *Partition) GetCapacityMegabytesOk() (*int64, bool)
- func (o *Partition) GetFilesystem() string
- func (o *Partition) GetFilesystemOk() (*string, bool)
- func (o *Partition) GetSource() string
- func (o *Partition) GetSourceOk() (*string, bool)
- func (o *Partition) GetTarget() string
- func (o *Partition) GetTargetOk() (*string, bool)
- func (o *Partition) HasCapacityMegabytes() bool
- func (o *Partition) HasFilesystem() bool
- func (o *Partition) HasSource() bool
- func (o *Partition) HasTarget() bool
- func (o Partition) MarshalJSON() ([]byte, error)
- func (o *Partition) SetCapacityMegabytes(v int64)
- func (o *Partition) SetFilesystem(v string)
- func (o *Partition) SetSource(v string)
- func (o *Partition) SetTarget(v string)
- func (o Partition) ToMap() (map[string]interface{}, error)
- type Release
- func (o *Release) GetCodename() string
- func (o *Release) GetCodenameOk() (*string, bool)
- func (o *Release) GetName() string
- func (o *Release) GetNameOk() (*string, bool)
- func (o *Release) GetVersion() string
- func (o *Release) GetVersionOk() (*string, bool)
- func (o *Release) HasCodename() bool
- func (o *Release) HasName() bool
- func (o *Release) HasVersion() bool
- func (o Release) MarshalJSON() ([]byte, error)
- func (o *Release) SetCodename(v string)
- func (o *Release) SetName(v string)
- func (o *Release) SetVersion(v string)
- func (o Release) ToMap() (map[string]interface{}, error)
- type ServerApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerInfo
- func (o *ServerInfo) GetStatus() string
- func (o *ServerInfo) GetStatusOk() (*string, bool)
- func (o *ServerInfo) GetSystemInfo() ServerInfoSystemInfo
- func (o *ServerInfo) GetSystemInfoOk() (*ServerInfoSystemInfo, bool)
- func (o *ServerInfo) HasStatus() bool
- func (o *ServerInfo) HasSystemInfo() bool
- func (o ServerInfo) MarshalJSON() ([]byte, error)
- func (o *ServerInfo) SetStatus(v string)
- func (o *ServerInfo) SetSystemInfo(v ServerInfoSystemInfo)
- func (o ServerInfo) ToMap() (map[string]interface{}, error)
- type ServerInfoSystemInfo
- func (o *ServerInfoSystemInfo) GetEnvironment() string
- func (o *ServerInfoSystemInfo) GetEnvironmentOk() (*string, bool)
- func (o *ServerInfoSystemInfo) GetVersion() string
- func (o *ServerInfoSystemInfo) GetVersionOk() (*string, bool)
- func (o *ServerInfoSystemInfo) HasEnvironment() bool
- func (o *ServerInfoSystemInfo) HasVersion() bool
- func (o ServerInfoSystemInfo) MarshalJSON() ([]byte, error)
- func (o *ServerInfoSystemInfo) SetEnvironment(v string)
- func (o *ServerInfoSystemInfo) SetVersion(v string)
- func (o ServerInfoSystemInfo) ToMap() (map[string]interface{}, error)
- type ServerVariable
- type Specs
- func (o *Specs) GetBios() BIOS
- func (o *Specs) GetBiosOk() (*BIOS, bool)
- func (o *Specs) GetBootTime() time.Time
- func (o *Specs) GetBootTimeOk() (*time.Time, bool)
- func (o *Specs) GetCpu() CPU
- func (o *Specs) GetCpuOk() (*CPU, bool)
- func (o *Specs) GetDimms() []DIMMsInner
- func (o *Specs) GetDimmsOk() ([]DIMMsInner, bool)
- func (o *Specs) GetDisks() []DisksInner
- func (o *Specs) GetDisksOk() ([]DisksInner, bool)
- func (o *Specs) GetKernel() Kernel
- func (o *Specs) GetKernelOk() (*Kernel, bool)
- func (o *Specs) GetMemory() Memory
- func (o *Specs) GetMemoryOk() (*Memory, bool)
- func (o *Specs) GetMotherboard() Motherboard
- func (o *Specs) GetMotherboardOk() (*Motherboard, bool)
- func (o *Specs) GetNetwork() Network
- func (o *Specs) GetNetworkOk() (*Network, bool)
- func (o *Specs) GetOem() OEM
- func (o *Specs) GetOemOk() (*OEM, bool)
- func (o *Specs) GetRelease() Release
- func (o *Specs) GetReleaseOk() (*Release, bool)
- func (o *Specs) GetVirtualization() Virtualization
- func (o *Specs) GetVirtualizationOk() (*Virtualization, bool)
- func (o *Specs) HasBios() bool
- func (o *Specs) HasBootTime() bool
- func (o *Specs) HasCpu() bool
- func (o *Specs) HasDimms() bool
- func (o *Specs) HasDisks() bool
- func (o *Specs) HasKernel() bool
- func (o *Specs) HasMemory() bool
- func (o *Specs) HasMotherboard() bool
- func (o *Specs) HasNetwork() bool
- func (o *Specs) HasOem() bool
- func (o *Specs) HasRelease() bool
- func (o *Specs) HasVirtualization() bool
- func (o Specs) MarshalJSON() ([]byte, error)
- func (o *Specs) SetBios(v BIOS)
- func (o *Specs) SetBootTime(v time.Time)
- func (o *Specs) SetCpu(v CPU)
- func (o *Specs) SetDimms(v []DIMMsInner)
- func (o *Specs) SetDisks(v []DisksInner)
- func (o *Specs) SetKernel(v Kernel)
- func (o *Specs) SetMemory(v Memory)
- func (o *Specs) SetMotherboard(v Motherboard)
- func (o *Specs) SetNetwork(v Network)
- func (o *Specs) SetOem(v OEM)
- func (o *Specs) SetRelease(v Release)
- func (o *Specs) SetVirtualization(v Virtualization)
- func (o Specs) ToMap() (map[string]interface{}, error)
- type SwapDevice
- func (o *SwapDevice) GetName() string
- func (o *SwapDevice) GetNameOk() (*string, bool)
- func (o *SwapDevice) GetSize() int64
- func (o *SwapDevice) GetSizeOk() (*int64, bool)
- func (o *SwapDevice) HasName() bool
- func (o *SwapDevice) HasSize() bool
- func (o SwapDevice) MarshalJSON() ([]byte, error)
- func (o *SwapDevice) SetName(v string)
- func (o *SwapDevice) SetSize(v int64)
- func (o SwapDevice) ToMap() (map[string]interface{}, error)
- type Virtualization
Constants ¶
This section is empty.
Variables ¶
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") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DevicesApi *DevicesApiService ServerApi *ServerApiService // contains filtered or unexported fields }
APIClient manages communication with the SSOT API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 ApiDevicesGetRequest ¶
type ApiDevicesGetRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDevicesGetRequest) Execute ¶
func (r ApiDevicesGetRequest) Execute() (*DevicesGet200Response, *http.Response, error)
func (ApiDevicesGetRequest) Page ¶
func (r ApiDevicesGetRequest) Page(page int32) ApiDevicesGetRequest
Page number
func (ApiDevicesGetRequest) PageSize ¶
func (r ApiDevicesGetRequest) PageSize(pageSize int32) ApiDevicesGetRequest
Page size
func (ApiDevicesGetRequest) Q ¶
func (r ApiDevicesGetRequest) Q(q string) ApiDevicesGetRequest
Search query
func (ApiDevicesGetRequest) Sort ¶
func (r ApiDevicesGetRequest) Sort(sort string) ApiDevicesGetRequest
Sort by
type ApiDevicesPostRequest ¶
type ApiDevicesPostRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDevicesPostRequest) DevicePostInput ¶
func (r ApiDevicesPostRequest) DevicePostInput(devicePostInput DevicePostInput) ApiDevicesPostRequest
The device to create
func (ApiDevicesPostRequest) Execute ¶
func (r ApiDevicesPostRequest) Execute() (*DevicesPost201Response, *http.Response, error)
type ApiDevicesUuidDeleteRequest ¶
type ApiDevicesUuidDeleteRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
type ApiDevicesUuidGetRequest ¶
type ApiDevicesUuidGetRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDevicesUuidGetRequest) Execute ¶
func (r ApiDevicesUuidGetRequest) Execute() (*DeviceResponse, *http.Response, error)
type ApiDevicesUuidPutRequest ¶
type ApiDevicesUuidPutRequest struct { ApiService *DevicesApiService // contains filtered or unexported fields }
func (ApiDevicesUuidPutRequest) DevicePutInput ¶
func (r ApiDevicesUuidPutRequest) DevicePutInput(devicePutInput DevicePutInput) ApiDevicesUuidPutRequest
The device to create or to update the specified device with
func (ApiDevicesUuidPutRequest) Execute ¶
func (r ApiDevicesUuidPutRequest) Execute() (*DeviceResponse, *http.Response, error)
type ApiHealthcheckGetRequest ¶
type ApiHealthcheckGetRequest struct { ApiService *ServerApiService // contains filtered or unexported fields }
func (ApiHealthcheckGetRequest) Execute ¶
func (r ApiHealthcheckGetRequest) Execute() (*ServerInfo, *http.Response, error)
type BIOS ¶
type BIOS struct { Vendor *string `json:"vendor,omitempty"` // Version as reported by the BIOS Version *string `json:"version,omitempty"` // Date the BIOS was released in ISO 8601 format Date *string `json:"date,omitempty"` }
BIOS struct for BIOS
func NewBIOS ¶
func NewBIOS() *BIOS
NewBIOS instantiates a new BIOS 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 NewBIOSWithDefaults ¶
func NewBIOSWithDefaults() *BIOS
NewBIOSWithDefaults instantiates a new BIOS 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 (*BIOS) GetDateOk ¶
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 (*BIOS) GetVendorOk ¶
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 (*BIOS) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*BIOS) GetVersionOk ¶
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 (*BIOS) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (BIOS) MarshalJSON ¶
func (*BIOS) SetDate ¶
SetDate gets a reference to the given string and assigns it to the Date field.
func (*BIOS) SetVendor ¶
SetVendor gets a reference to the given string and assigns it to the Vendor field.
func (*BIOS) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
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 CPU ¶
type CPU struct { // Model name Name *string `json:"name,omitempty"` Architecture *string `json:"architecture,omitempty"` CoreCount *int64 `json:"core_count,omitempty"` CpuCount *int64 `json:"cpu_count,omitempty"` // Max clock frequency in MHz MaxFrequencyMegahertz *int64 `json:"max_frequency_megahertz,omitempty"` Mitigations []string `json:"mitigations,omitempty"` }
CPU struct for CPU
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) GetArchitecture ¶
GetArchitecture returns the Architecture field value if set, zero value otherwise.
func (*CPU) GetArchitectureOk ¶
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 (*CPU) GetCoreCount ¶
GetCoreCount returns the CoreCount field value if set, zero value otherwise.
func (*CPU) GetCoreCountOk ¶
GetCoreCountOk returns a tuple with the CoreCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetCpuCount ¶
GetCpuCount returns the CpuCount field value if set, zero value otherwise.
func (*CPU) GetCpuCountOk ¶
GetCpuCountOk returns a tuple with the CpuCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetMaxFrequencyMegahertz ¶
GetMaxFrequencyMegahertz returns the MaxFrequencyMegahertz field value if set, zero value otherwise.
func (*CPU) GetMaxFrequencyMegahertzOk ¶
GetMaxFrequencyMegahertzOk returns a tuple with the MaxFrequencyMegahertz field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetMitigations ¶
GetMitigations returns the Mitigations field value if set, zero value otherwise.
func (*CPU) GetMitigationsOk ¶
GetMitigationsOk returns a tuple with the Mitigations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetNameOk ¶
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 (*CPU) HasArchitecture ¶
HasArchitecture returns a boolean if a field has been set.
func (*CPU) HasCoreCount ¶
HasCoreCount returns a boolean if a field has been set.
func (*CPU) HasCpuCount ¶
HasCpuCount returns a boolean if a field has been set.
func (*CPU) HasMaxFrequencyMegahertz ¶
HasMaxFrequencyMegahertz returns a boolean if a field has been set.
func (*CPU) HasMitigations ¶
HasMitigations returns a boolean if a field has been set.
func (CPU) MarshalJSON ¶
func (*CPU) SetArchitecture ¶
SetArchitecture gets a reference to the given string and assigns it to the Architecture field.
func (*CPU) SetCoreCount ¶
SetCoreCount gets a reference to the given int64 and assigns it to the CoreCount field.
func (*CPU) SetCpuCount ¶
SetCpuCount gets a reference to the given int64 and assigns it to the CpuCount field.
func (*CPU) SetMaxFrequencyMegahertz ¶
SetMaxFrequencyMegahertz gets a reference to the given int64 and assigns it to the MaxFrequencyMegahertz field.
func (*CPU) SetMitigations ¶
SetMitigations gets a reference to the given []string and assigns it to the Mitigations field.
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DIMMsInner ¶
type DIMMsInner struct { // Size of the DIMM in gigabytes SizeGigabytes *int64 `json:"size_gigabytes,omitempty"` // Speed of the DIMM in megatransfers per second SpeedMtS *int64 `json:"speed_mt_s,omitempty"` // Manufacturer of the DIMM Manufacturer *string `json:"manufacturer,omitempty"` // Serial number of the DIMM SerialNumber *string `json:"serial_number,omitempty"` // Type of the DIMM Type *string `json:"type,omitempty"` // Part number of the DIMM PartNumber *string `json:"part_number,omitempty"` // Form factor of the DIMM FormFactor *string `json:"form_factor,omitempty"` // Locator of the DIMM Locator *string `json:"locator,omitempty"` // Bank locator of the DIMM BankLocator *string `json:"bank_locator,omitempty"` }
DIMMsInner struct for DIMMsInner
func NewDIMMsInner ¶
func NewDIMMsInner() *DIMMsInner
NewDIMMsInner instantiates a new DIMMsInner 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 NewDIMMsInnerWithDefaults ¶
func NewDIMMsInnerWithDefaults() *DIMMsInner
NewDIMMsInnerWithDefaults instantiates a new DIMMsInner 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 (*DIMMsInner) GetBankLocator ¶
func (o *DIMMsInner) GetBankLocator() string
GetBankLocator returns the BankLocator field value if set, zero value otherwise.
func (*DIMMsInner) GetBankLocatorOk ¶
func (o *DIMMsInner) GetBankLocatorOk() (*string, bool)
GetBankLocatorOk returns a tuple with the BankLocator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetFormFactor ¶
func (o *DIMMsInner) GetFormFactor() string
GetFormFactor returns the FormFactor field value if set, zero value otherwise.
func (*DIMMsInner) GetFormFactorOk ¶
func (o *DIMMsInner) GetFormFactorOk() (*string, bool)
GetFormFactorOk returns a tuple with the FormFactor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetLocator ¶
func (o *DIMMsInner) GetLocator() string
GetLocator returns the Locator field value if set, zero value otherwise.
func (*DIMMsInner) GetLocatorOk ¶
func (o *DIMMsInner) GetLocatorOk() (*string, bool)
GetLocatorOk returns a tuple with the Locator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetManufacturer ¶
func (o *DIMMsInner) GetManufacturer() string
GetManufacturer returns the Manufacturer field value if set, zero value otherwise.
func (*DIMMsInner) GetManufacturerOk ¶
func (o *DIMMsInner) GetManufacturerOk() (*string, bool)
GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetPartNumber ¶
func (o *DIMMsInner) GetPartNumber() string
GetPartNumber returns the PartNumber field value if set, zero value otherwise.
func (*DIMMsInner) GetPartNumberOk ¶
func (o *DIMMsInner) GetPartNumberOk() (*string, bool)
GetPartNumberOk returns a tuple with the PartNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetSerialNumber ¶
func (o *DIMMsInner) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*DIMMsInner) GetSerialNumberOk ¶
func (o *DIMMsInner) 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 (*DIMMsInner) GetSizeGigabytes ¶
func (o *DIMMsInner) GetSizeGigabytes() int64
GetSizeGigabytes returns the SizeGigabytes field value if set, zero value otherwise.
func (*DIMMsInner) GetSizeGigabytesOk ¶
func (o *DIMMsInner) GetSizeGigabytesOk() (*int64, bool)
GetSizeGigabytesOk returns a tuple with the SizeGigabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetSpeedMtS ¶
func (o *DIMMsInner) GetSpeedMtS() int64
GetSpeedMtS returns the SpeedMtS field value if set, zero value otherwise.
func (*DIMMsInner) GetSpeedMtSOk ¶
func (o *DIMMsInner) GetSpeedMtSOk() (*int64, bool)
GetSpeedMtSOk returns a tuple with the SpeedMtS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DIMMsInner) GetType ¶
func (o *DIMMsInner) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*DIMMsInner) GetTypeOk ¶
func (o *DIMMsInner) 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 (*DIMMsInner) HasBankLocator ¶
func (o *DIMMsInner) HasBankLocator() bool
HasBankLocator returns a boolean if a field has been set.
func (*DIMMsInner) HasFormFactor ¶
func (o *DIMMsInner) HasFormFactor() bool
HasFormFactor returns a boolean if a field has been set.
func (*DIMMsInner) HasLocator ¶
func (o *DIMMsInner) HasLocator() bool
HasLocator returns a boolean if a field has been set.
func (*DIMMsInner) HasManufacturer ¶
func (o *DIMMsInner) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (*DIMMsInner) HasPartNumber ¶
func (o *DIMMsInner) HasPartNumber() bool
HasPartNumber returns a boolean if a field has been set.
func (*DIMMsInner) HasSerialNumber ¶
func (o *DIMMsInner) HasSerialNumber() bool
HasSerialNumber returns a boolean if a field has been set.
func (*DIMMsInner) HasSizeGigabytes ¶
func (o *DIMMsInner) HasSizeGigabytes() bool
HasSizeGigabytes returns a boolean if a field has been set.
func (*DIMMsInner) HasSpeedMtS ¶
func (o *DIMMsInner) HasSpeedMtS() bool
HasSpeedMtS returns a boolean if a field has been set.
func (*DIMMsInner) HasType ¶
func (o *DIMMsInner) HasType() bool
HasType returns a boolean if a field has been set.
func (DIMMsInner) MarshalJSON ¶
func (o DIMMsInner) MarshalJSON() ([]byte, error)
func (*DIMMsInner) SetBankLocator ¶
func (o *DIMMsInner) SetBankLocator(v string)
SetBankLocator gets a reference to the given string and assigns it to the BankLocator field.
func (*DIMMsInner) SetFormFactor ¶
func (o *DIMMsInner) SetFormFactor(v string)
SetFormFactor gets a reference to the given string and assigns it to the FormFactor field.
func (*DIMMsInner) SetLocator ¶
func (o *DIMMsInner) SetLocator(v string)
SetLocator gets a reference to the given string and assigns it to the Locator field.
func (*DIMMsInner) SetManufacturer ¶
func (o *DIMMsInner) SetManufacturer(v string)
SetManufacturer gets a reference to the given string and assigns it to the Manufacturer field.
func (*DIMMsInner) SetPartNumber ¶
func (o *DIMMsInner) SetPartNumber(v string)
SetPartNumber gets a reference to the given string and assigns it to the PartNumber field.
func (*DIMMsInner) SetSerialNumber ¶
func (o *DIMMsInner) SetSerialNumber(v string)
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*DIMMsInner) SetSizeGigabytes ¶
func (o *DIMMsInner) SetSizeGigabytes(v int64)
SetSizeGigabytes gets a reference to the given int64 and assigns it to the SizeGigabytes field.
func (*DIMMsInner) SetSpeedMtS ¶
func (o *DIMMsInner) SetSpeedMtS(v int64)
SetSpeedMtS gets a reference to the given int64 and assigns it to the SpeedMtS field.
func (*DIMMsInner) SetType ¶
func (o *DIMMsInner) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (DIMMsInner) ToMap ¶
func (o DIMMsInner) ToMap() (map[string]interface{}, error)
type Device ¶
type Device struct { // Version 4 UUID Uuid *string `json:"uuid,omitempty"` // ISO 8601 formatted date-time string UpdatedAt *time.Time `json:"updated_at,omitempty"` Specs *Specs `json:"specs,omitempty"` }
Device struct for Device
func NewDevice ¶
func NewDevice() *Device
NewDevice instantiates a new Device 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 NewDeviceWithDefaults ¶
func NewDeviceWithDefaults() *Device
NewDeviceWithDefaults instantiates a new Device 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 (*Device) GetSpecsOk ¶
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 (*Device) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Device) GetUpdatedAtOk ¶
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 (*Device) GetUuidOk ¶
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 (*Device) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Device) MarshalJSON ¶
func (*Device) SetSpecs ¶
SetSpecs gets a reference to the given Specs and assigns it to the Specs field.
func (*Device) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type DevicePostInput ¶
type DevicePostInput struct { // Version 4 UUID Uuid *string `json:"uuid,omitempty"` Specs *Specs `json:"specs,omitempty"` }
DevicePostInput struct for DevicePostInput
func NewDevicePostInput ¶
func NewDevicePostInput() *DevicePostInput
NewDevicePostInput instantiates a new DevicePostInput 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 NewDevicePostInputWithDefaults ¶
func NewDevicePostInputWithDefaults() *DevicePostInput
NewDevicePostInputWithDefaults instantiates a new DevicePostInput 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 (*DevicePostInput) GetSpecs ¶
func (o *DevicePostInput) GetSpecs() Specs
GetSpecs returns the Specs field value if set, zero value otherwise.
func (*DevicePostInput) GetSpecsOk ¶
func (o *DevicePostInput) GetSpecsOk() (*Specs, 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 (*DevicePostInput) GetUuid ¶
func (o *DevicePostInput) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*DevicePostInput) GetUuidOk ¶
func (o *DevicePostInput) 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 (*DevicePostInput) HasSpecs ¶
func (o *DevicePostInput) HasSpecs() bool
HasSpecs returns a boolean if a field has been set.
func (*DevicePostInput) HasUuid ¶
func (o *DevicePostInput) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (DevicePostInput) MarshalJSON ¶
func (o DevicePostInput) MarshalJSON() ([]byte, error)
func (*DevicePostInput) SetSpecs ¶
func (o *DevicePostInput) SetSpecs(v Specs)
SetSpecs gets a reference to the given Specs and assigns it to the Specs field.
func (*DevicePostInput) SetUuid ¶
func (o *DevicePostInput) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
func (DevicePostInput) ToMap ¶
func (o DevicePostInput) ToMap() (map[string]interface{}, error)
type DevicePutInput ¶
type DevicePutInput struct {
Specs *Specs `json:"specs,omitempty"`
}
DevicePutInput struct for DevicePutInput
func NewDevicePutInput ¶
func NewDevicePutInput() *DevicePutInput
NewDevicePutInput instantiates a new DevicePutInput 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 NewDevicePutInputWithDefaults ¶
func NewDevicePutInputWithDefaults() *DevicePutInput
NewDevicePutInputWithDefaults instantiates a new DevicePutInput 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 (*DevicePutInput) GetSpecs ¶
func (o *DevicePutInput) GetSpecs() Specs
GetSpecs returns the Specs field value if set, zero value otherwise.
func (*DevicePutInput) GetSpecsOk ¶
func (o *DevicePutInput) GetSpecsOk() (*Specs, 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 (*DevicePutInput) HasSpecs ¶
func (o *DevicePutInput) HasSpecs() bool
HasSpecs returns a boolean if a field has been set.
func (DevicePutInput) MarshalJSON ¶
func (o DevicePutInput) MarshalJSON() ([]byte, error)
func (*DevicePutInput) SetSpecs ¶
func (o *DevicePutInput) SetSpecs(v Specs)
SetSpecs gets a reference to the given Specs and assigns it to the Specs field.
func (DevicePutInput) ToMap ¶
func (o DevicePutInput) ToMap() (map[string]interface{}, error)
type DeviceResponse ¶
type DeviceResponse struct {
Device *Device `json:"device,omitempty"`
}
DeviceResponse struct for DeviceResponse
func NewDeviceResponse ¶
func NewDeviceResponse() *DeviceResponse
NewDeviceResponse instantiates a new DeviceResponse 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 NewDeviceResponseWithDefaults ¶
func NewDeviceResponseWithDefaults() *DeviceResponse
NewDeviceResponseWithDefaults instantiates a new DeviceResponse 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 (*DeviceResponse) GetDevice ¶
func (o *DeviceResponse) GetDevice() Device
GetDevice returns the Device field value if set, zero value otherwise.
func (*DeviceResponse) GetDeviceOk ¶
func (o *DeviceResponse) GetDeviceOk() (*Device, 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 (*DeviceResponse) HasDevice ¶
func (o *DeviceResponse) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (DeviceResponse) MarshalJSON ¶
func (o DeviceResponse) MarshalJSON() ([]byte, error)
func (*DeviceResponse) SetDevice ¶
func (o *DeviceResponse) SetDevice(v Device)
SetDevice gets a reference to the given Device and assigns it to the Device field.
func (DeviceResponse) ToMap ¶
func (o DeviceResponse) ToMap() (map[string]interface{}, error)
type DevicesApiService ¶
type DevicesApiService service
DevicesApiService DevicesApi service
func (*DevicesApiService) DevicesGet ¶
func (a *DevicesApiService) DevicesGet(ctx context.Context) ApiDevicesGetRequest
DevicesGet Get all devices
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDevicesGetRequest
func (*DevicesApiService) DevicesGetExecute ¶
func (a *DevicesApiService) DevicesGetExecute(r ApiDevicesGetRequest) (*DevicesGet200Response, *http.Response, error)
Execute executes the request
@return DevicesGet200Response
func (*DevicesApiService) DevicesPost ¶
func (a *DevicesApiService) DevicesPost(ctx context.Context) ApiDevicesPostRequest
DevicesPost Create a device
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDevicesPostRequest
func (*DevicesApiService) DevicesPostExecute ¶
func (a *DevicesApiService) DevicesPostExecute(r ApiDevicesPostRequest) (*DevicesPost201Response, *http.Response, error)
Execute executes the request
@return DevicesPost201Response
func (*DevicesApiService) DevicesUuidDelete ¶
func (a *DevicesApiService) DevicesUuidDelete(ctx context.Context, uuid string) ApiDevicesUuidDeleteRequest
DevicesUuidDelete Delete a device by uuid
Deletes a single device by uuid
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param uuid UUID of device to delete @return ApiDevicesUuidDeleteRequest
func (*DevicesApiService) DevicesUuidDeleteExecute ¶
func (a *DevicesApiService) DevicesUuidDeleteExecute(r ApiDevicesUuidDeleteRequest) (*http.Response, error)
Execute executes the request
func (*DevicesApiService) DevicesUuidGet ¶
func (a *DevicesApiService) DevicesUuidGet(ctx context.Context, uuid string) ApiDevicesUuidGetRequest
DevicesUuidGet Find device by uuid
Returns a single device
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param uuid UUID of device to return @return ApiDevicesUuidGetRequest
func (*DevicesApiService) DevicesUuidGetExecute ¶
func (a *DevicesApiService) DevicesUuidGetExecute(r ApiDevicesUuidGetRequest) (*DeviceResponse, *http.Response, error)
Execute executes the request
@return DeviceResponse
func (*DevicesApiService) DevicesUuidPut ¶
func (a *DevicesApiService) DevicesUuidPut(ctx context.Context, uuid string) ApiDevicesUuidPutRequest
DevicesUuidPut Update or create a device by uuid
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param uuid UUID of device to update or create @return ApiDevicesUuidPutRequest
func (*DevicesApiService) DevicesUuidPutExecute ¶
func (a *DevicesApiService) DevicesUuidPutExecute(r ApiDevicesUuidPutRequest) (*DeviceResponse, *http.Response, error)
Execute executes the request
@return DeviceResponse
type DevicesGet200Response ¶
type DevicesGet200Response struct { Devices []Device `json:"devices,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
DevicesGet200Response struct for DevicesGet200Response
func NewDevicesGet200Response ¶
func NewDevicesGet200Response() *DevicesGet200Response
NewDevicesGet200Response instantiates a new DevicesGet200Response 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 NewDevicesGet200ResponseWithDefaults ¶
func NewDevicesGet200ResponseWithDefaults() *DevicesGet200Response
NewDevicesGet200ResponseWithDefaults instantiates a new DevicesGet200Response 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 (*DevicesGet200Response) GetDevices ¶
func (o *DevicesGet200Response) GetDevices() []Device
GetDevices returns the Devices field value if set, zero value otherwise.
func (*DevicesGet200Response) GetDevicesOk ¶
func (o *DevicesGet200Response) GetDevicesOk() ([]Device, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DevicesGet200Response) GetMetadata ¶
func (o *DevicesGet200Response) GetMetadata() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*DevicesGet200Response) GetMetadataOk ¶
func (o *DevicesGet200Response) 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 (*DevicesGet200Response) HasDevices ¶
func (o *DevicesGet200Response) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (*DevicesGet200Response) HasMetadata ¶
func (o *DevicesGet200Response) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (DevicesGet200Response) MarshalJSON ¶
func (o DevicesGet200Response) MarshalJSON() ([]byte, error)
func (*DevicesGet200Response) SetDevices ¶
func (o *DevicesGet200Response) SetDevices(v []Device)
SetDevices gets a reference to the given []Device and assigns it to the Devices field.
func (*DevicesGet200Response) SetMetadata ¶
func (o *DevicesGet200Response) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (DevicesGet200Response) ToMap ¶
func (o DevicesGet200Response) ToMap() (map[string]interface{}, error)
type DevicesGet401Response ¶
type DevicesGet401Response struct {
Error *string `json:"error,omitempty"`
}
DevicesGet401Response struct for DevicesGet401Response
func NewDevicesGet401Response ¶
func NewDevicesGet401Response() *DevicesGet401Response
NewDevicesGet401Response instantiates a new DevicesGet401Response 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 NewDevicesGet401ResponseWithDefaults ¶
func NewDevicesGet401ResponseWithDefaults() *DevicesGet401Response
NewDevicesGet401ResponseWithDefaults instantiates a new DevicesGet401Response 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 (*DevicesGet401Response) GetError ¶
func (o *DevicesGet401Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*DevicesGet401Response) GetErrorOk ¶
func (o *DevicesGet401Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DevicesGet401Response) HasError ¶
func (o *DevicesGet401Response) HasError() bool
HasError returns a boolean if a field has been set.
func (DevicesGet401Response) MarshalJSON ¶
func (o DevicesGet401Response) MarshalJSON() ([]byte, error)
func (*DevicesGet401Response) SetError ¶
func (o *DevicesGet401Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (DevicesGet401Response) ToMap ¶
func (o DevicesGet401Response) ToMap() (map[string]interface{}, error)
type DevicesPost201Response ¶
type DevicesPost201Response struct {
Device *Device `json:"device,omitempty"`
}
DevicesPost201Response struct for DevicesPost201Response
func NewDevicesPost201Response ¶
func NewDevicesPost201Response() *DevicesPost201Response
NewDevicesPost201Response instantiates a new DevicesPost201Response 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 NewDevicesPost201ResponseWithDefaults ¶
func NewDevicesPost201ResponseWithDefaults() *DevicesPost201Response
NewDevicesPost201ResponseWithDefaults instantiates a new DevicesPost201Response 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 (*DevicesPost201Response) GetDevice ¶
func (o *DevicesPost201Response) GetDevice() Device
GetDevice returns the Device field value if set, zero value otherwise.
func (*DevicesPost201Response) GetDeviceOk ¶
func (o *DevicesPost201Response) GetDeviceOk() (*Device, 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 (*DevicesPost201Response) HasDevice ¶
func (o *DevicesPost201Response) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (DevicesPost201Response) MarshalJSON ¶
func (o DevicesPost201Response) MarshalJSON() ([]byte, error)
func (*DevicesPost201Response) SetDevice ¶
func (o *DevicesPost201Response) SetDevice(v Device)
SetDevice gets a reference to the given Device and assigns it to the Device field.
func (DevicesPost201Response) ToMap ¶
func (o DevicesPost201Response) ToMap() (map[string]interface{}, error)
type DisksInner ¶
type DisksInner struct { // Model name Name *string `json:"name,omitempty"` // Size in megabytes SizeMegabytes *int64 `json:"size_megabytes,omitempty"` Partitions []Partition `json:"partitions,omitempty"` }
DisksInner struct for DisksInner
func NewDisksInner ¶
func NewDisksInner() *DisksInner
NewDisksInner instantiates a new DisksInner 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 NewDisksInnerWithDefaults ¶
func NewDisksInnerWithDefaults() *DisksInner
NewDisksInnerWithDefaults instantiates a new DisksInner 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 (*DisksInner) GetName ¶
func (o *DisksInner) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DisksInner) GetNameOk ¶
func (o *DisksInner) 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 (*DisksInner) GetPartitions ¶
func (o *DisksInner) GetPartitions() []Partition
GetPartitions returns the Partitions field value if set, zero value otherwise.
func (*DisksInner) GetPartitionsOk ¶
func (o *DisksInner) 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 (*DisksInner) GetSizeMegabytes ¶
func (o *DisksInner) GetSizeMegabytes() int64
GetSizeMegabytes returns the SizeMegabytes field value if set, zero value otherwise.
func (*DisksInner) GetSizeMegabytesOk ¶
func (o *DisksInner) GetSizeMegabytesOk() (*int64, bool)
GetSizeMegabytesOk returns a tuple with the SizeMegabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DisksInner) HasName ¶
func (o *DisksInner) HasName() bool
HasName returns a boolean if a field has been set.
func (*DisksInner) HasPartitions ¶
func (o *DisksInner) HasPartitions() bool
HasPartitions returns a boolean if a field has been set.
func (*DisksInner) HasSizeMegabytes ¶
func (o *DisksInner) HasSizeMegabytes() bool
HasSizeMegabytes returns a boolean if a field has been set.
func (DisksInner) MarshalJSON ¶
func (o DisksInner) MarshalJSON() ([]byte, error)
func (*DisksInner) SetName ¶
func (o *DisksInner) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DisksInner) SetPartitions ¶
func (o *DisksInner) SetPartitions(v []Partition)
SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.
func (*DisksInner) SetSizeMegabytes ¶
func (o *DisksInner) SetSizeMegabytes(v int64)
SetSizeMegabytes gets a reference to the given int64 and assigns it to the SizeMegabytes field.
func (DisksInner) ToMap ¶
func (o DisksInner) ToMap() (map[string]interface{}, error)
type Driver ¶
type Driver struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` FirmwareVersion *string `json:"firmware_version,omitempty"` }
Driver struct for Driver
func NewDriver ¶
func NewDriver() *Driver
NewDriver instantiates a new Driver 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 NewDriverWithDefaults ¶
func NewDriverWithDefaults() *Driver
NewDriverWithDefaults instantiates a new Driver 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 (*Driver) GetFirmwareVersion ¶
GetFirmwareVersion returns the FirmwareVersion field value if set, zero value otherwise.
func (*Driver) GetFirmwareVersionOk ¶
GetFirmwareVersionOk returns a tuple with the FirmwareVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Driver) GetNameOk ¶
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 (*Driver) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Driver) GetVersionOk ¶
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 (*Driver) HasFirmwareVersion ¶
HasFirmwareVersion returns a boolean if a field has been set.
func (*Driver) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Driver) MarshalJSON ¶
func (*Driver) SetFirmwareVersion ¶
SetFirmwareVersion gets a reference to the given string and assigns it to the FirmwareVersion field.
func (*Driver) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Driver) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
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 Kernel ¶
type Kernel struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
Kernel struct for Kernel
func NewKernel ¶
func NewKernel() *Kernel
NewKernel instantiates a new Kernel 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 NewKernelWithDefaults ¶
func NewKernelWithDefaults() *Kernel
NewKernelWithDefaults instantiates a new Kernel 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 (*Kernel) GetNameOk ¶
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 (*Kernel) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Kernel) GetVersionOk ¶
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 (*Kernel) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Kernel) MarshalJSON ¶
func (*Kernel) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Kernel) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
type MappedNullable ¶
type Memory ¶
type Memory struct { // Total memory installed on device in megabytes Memory *int64 `json:"memory,omitempty"` // Total swap memory installed on device in megabytes Swap *int64 `json:"swap,omitempty"` SwapDevices []SwapDevice `json:"swap_devices,omitempty"` }
Memory struct for Memory
func NewMemory ¶
func NewMemory() *Memory
NewMemory instantiates a new Memory 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 NewMemoryWithDefaults ¶
func NewMemoryWithDefaults() *Memory
NewMemoryWithDefaults instantiates a new Memory 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 (*Memory) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) GetSwapDevices ¶
func (o *Memory) GetSwapDevices() []SwapDevice
GetSwapDevices returns the SwapDevices field value if set, zero value otherwise.
func (*Memory) GetSwapDevicesOk ¶
func (o *Memory) GetSwapDevicesOk() ([]SwapDevice, bool)
GetSwapDevicesOk returns a tuple with the SwapDevices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) GetSwapOk ¶
GetSwapOk returns a tuple with the Swap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) HasSwapDevices ¶
HasSwapDevices returns a boolean if a field has been set.
func (Memory) MarshalJSON ¶
func (*Memory) SetMemory ¶
SetMemory gets a reference to the given int64 and assigns it to the Memory field.
func (*Memory) SetSwap ¶
SetSwap gets a reference to the given int64 and assigns it to the Swap field.
func (*Memory) SetSwapDevices ¶
func (o *Memory) SetSwapDevices(v []SwapDevice)
SetSwapDevices gets a reference to the given []SwapDevice and assigns it to the SwapDevices field.
type Metadata ¶
type Metadata struct { // Page number CurrentPage *int32 `json:"current_page,omitempty"` // Page size PageSize *int32 `json:"page_size,omitempty"` // First page number FirstPage *int32 `json:"first_page,omitempty"` // Last page number LastPage *int32 `json:"last_page,omitempty"` // Total number of records TotalRecords *int32 `json:"total_records,omitempty"` }
Metadata struct for Metadata
func NewMetadata ¶
func NewMetadata() *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) GetCurrentPage ¶
GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.
func (*Metadata) GetCurrentPageOk ¶
GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetFirstPage ¶
GetFirstPage returns the FirstPage field value if set, zero value otherwise.
func (*Metadata) GetFirstPageOk ¶
GetFirstPageOk returns a tuple with the FirstPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetLastPage ¶
GetLastPage returns the LastPage field value if set, zero value otherwise.
func (*Metadata) GetLastPageOk ¶
GetLastPageOk returns a tuple with the LastPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetPageSize ¶
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*Metadata) GetPageSizeOk ¶
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetTotalRecords ¶
GetTotalRecords returns the TotalRecords field value if set, zero value otherwise.
func (*Metadata) GetTotalRecordsOk ¶
GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasCurrentPage ¶
HasCurrentPage returns a boolean if a field has been set.
func (*Metadata) HasFirstPage ¶
HasFirstPage returns a boolean if a field has been set.
func (*Metadata) HasLastPage ¶
HasLastPage returns a boolean if a field has been set.
func (*Metadata) HasPageSize ¶
HasPageSize returns a boolean if a field has been set.
func (*Metadata) HasTotalRecords ¶
HasTotalRecords returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCurrentPage ¶
SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.
func (*Metadata) SetFirstPage ¶
SetFirstPage gets a reference to the given int32 and assigns it to the FirstPage field.
func (*Metadata) SetLastPage ¶
SetLastPage gets a reference to the given int32 and assigns it to the LastPage field.
func (*Metadata) SetPageSize ¶
SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.
func (*Metadata) SetTotalRecords ¶
SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field.
type Motherboard ¶
type Motherboard struct { Vendor *string `json:"vendor,omitempty"` Name *string `json:"name,omitempty"` SerialNumber *string `json:"serial_number,omitempty"` }
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) GetName ¶
func (o *Motherboard) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Motherboard) GetNameOk ¶
func (o *Motherboard) 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 (*Motherboard) GetSerialNumber ¶
func (o *Motherboard) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*Motherboard) GetSerialNumberOk ¶
func (o *Motherboard) 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 (*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) HasName ¶
func (o *Motherboard) HasName() bool
HasName returns a boolean if a field has been set.
func (*Motherboard) HasSerialNumber ¶
func (o *Motherboard) HasSerialNumber() bool
HasSerialNumber 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) SetName ¶
func (o *Motherboard) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Motherboard) SetSerialNumber ¶
func (o *Motherboard) SetSerialNumber(v string)
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber 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)
type Network ¶
type Network struct { Hostname *string `json:"hostname,omitempty"` Interfaces []NetworkInterface `json:"interfaces,omitempty"` }
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) GetHostname ¶
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*Network) GetHostnameOk ¶
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 (*Network) GetInterfaces ¶
func (o *Network) GetInterfaces() []NetworkInterface
GetInterfaces returns the Interfaces field value if set, zero value otherwise.
func (*Network) GetInterfacesOk ¶
func (o *Network) GetInterfacesOk() ([]NetworkInterface, bool)
GetInterfacesOk returns a tuple with the Interfaces field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) HasHostname ¶
HasHostname returns a boolean if a field has been set.
func (*Network) HasInterfaces ¶
HasInterfaces returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
func (*Network) SetHostname ¶
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (*Network) SetInterfaces ¶
func (o *Network) SetInterfaces(v []NetworkInterface)
SetInterfaces gets a reference to the given []NetworkInterface and assigns it to the Interfaces field.
type NetworkInterface ¶
type NetworkInterface struct { // MAC address of the interface formatted in six groups of two hexadecimal digits, separated by colons MacAddress *string `json:"mac_address,omitempty"` Driver *Driver `json:"driver,omitempty"` Ipv4Addresses []string `json:"ipv4_addresses,omitempty"` Ipv6Addresses []string `json:"ipv6_addresses,omitempty"` }
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) GetDriver ¶
func (o *NetworkInterface) GetDriver() Driver
GetDriver returns the Driver field value if set, zero value otherwise.
func (*NetworkInterface) GetDriverOk ¶
func (o *NetworkInterface) GetDriverOk() (*Driver, 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 (*NetworkInterface) GetIpv4Addresses ¶
func (o *NetworkInterface) GetIpv4Addresses() []string
GetIpv4Addresses returns the Ipv4Addresses field value if set, zero value otherwise.
func (*NetworkInterface) GetIpv4AddressesOk ¶
func (o *NetworkInterface) GetIpv4AddressesOk() ([]string, bool)
GetIpv4AddressesOk returns a tuple with the Ipv4Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkInterface) GetIpv6Addresses ¶
func (o *NetworkInterface) GetIpv6Addresses() []string
GetIpv6Addresses returns the Ipv6Addresses field value if set, zero value otherwise.
func (*NetworkInterface) GetIpv6AddressesOk ¶
func (o *NetworkInterface) GetIpv6AddressesOk() ([]string, bool)
GetIpv6AddressesOk returns a tuple with the Ipv6Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkInterface) GetMacAddress ¶
func (o *NetworkInterface) GetMacAddress() string
GetMacAddress returns the MacAddress field value if set, zero value otherwise.
func (*NetworkInterface) GetMacAddressOk ¶
func (o *NetworkInterface) 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 (*NetworkInterface) HasDriver ¶
func (o *NetworkInterface) HasDriver() bool
HasDriver returns a boolean if a field has been set.
func (*NetworkInterface) HasIpv4Addresses ¶
func (o *NetworkInterface) HasIpv4Addresses() bool
HasIpv4Addresses returns a boolean if a field has been set.
func (*NetworkInterface) HasIpv6Addresses ¶
func (o *NetworkInterface) HasIpv6Addresses() bool
HasIpv6Addresses returns a boolean if a field has been set.
func (*NetworkInterface) HasMacAddress ¶
func (o *NetworkInterface) HasMacAddress() bool
HasMacAddress returns a boolean if a field has been set.
func (NetworkInterface) MarshalJSON ¶
func (o NetworkInterface) MarshalJSON() ([]byte, error)
func (*NetworkInterface) SetDriver ¶
func (o *NetworkInterface) SetDriver(v Driver)
SetDriver gets a reference to the given Driver and assigns it to the Driver field.
func (*NetworkInterface) SetIpv4Addresses ¶
func (o *NetworkInterface) SetIpv4Addresses(v []string)
SetIpv4Addresses gets a reference to the given []string and assigns it to the Ipv4Addresses field.
func (*NetworkInterface) SetIpv6Addresses ¶
func (o *NetworkInterface) SetIpv6Addresses(v []string)
SetIpv6Addresses gets a reference to the given []string and assigns it to the Ipv6Addresses field.
func (*NetworkInterface) SetMacAddress ¶
func (o *NetworkInterface) SetMacAddress(v string)
SetMacAddress gets a reference to the given string and assigns it to the MacAddress field.
func (NetworkInterface) ToMap ¶
func (o NetworkInterface) ToMap() (map[string]interface{}, error)
type NullableBIOS ¶
type NullableBIOS struct {
// contains filtered or unexported fields
}
func NewNullableBIOS ¶
func NewNullableBIOS(val *BIOS) *NullableBIOS
func (NullableBIOS) Get ¶
func (v NullableBIOS) Get() *BIOS
func (NullableBIOS) IsSet ¶
func (v NullableBIOS) IsSet() bool
func (NullableBIOS) MarshalJSON ¶
func (v NullableBIOS) MarshalJSON() ([]byte, error)
func (*NullableBIOS) Set ¶
func (v *NullableBIOS) Set(val *BIOS)
func (*NullableBIOS) UnmarshalJSON ¶
func (v *NullableBIOS) UnmarshalJSON(src []byte) error
func (*NullableBIOS) Unset ¶
func (v *NullableBIOS) 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 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 NullableDIMMsInner ¶
type NullableDIMMsInner struct {
// contains filtered or unexported fields
}
func NewNullableDIMMsInner ¶
func NewNullableDIMMsInner(val *DIMMsInner) *NullableDIMMsInner
func (NullableDIMMsInner) Get ¶
func (v NullableDIMMsInner) Get() *DIMMsInner
func (NullableDIMMsInner) IsSet ¶
func (v NullableDIMMsInner) IsSet() bool
func (NullableDIMMsInner) MarshalJSON ¶
func (v NullableDIMMsInner) MarshalJSON() ([]byte, error)
func (*NullableDIMMsInner) Set ¶
func (v *NullableDIMMsInner) Set(val *DIMMsInner)
func (*NullableDIMMsInner) UnmarshalJSON ¶
func (v *NullableDIMMsInner) UnmarshalJSON(src []byte) error
func (*NullableDIMMsInner) Unset ¶
func (v *NullableDIMMsInner) Unset()
type NullableDevice ¶
type NullableDevice struct {
// contains filtered or unexported fields
}
func NewNullableDevice ¶
func NewNullableDevice(val *Device) *NullableDevice
func (NullableDevice) Get ¶
func (v NullableDevice) Get() *Device
func (NullableDevice) IsSet ¶
func (v NullableDevice) IsSet() bool
func (NullableDevice) MarshalJSON ¶
func (v NullableDevice) MarshalJSON() ([]byte, error)
func (*NullableDevice) Set ¶
func (v *NullableDevice) Set(val *Device)
func (*NullableDevice) UnmarshalJSON ¶
func (v *NullableDevice) UnmarshalJSON(src []byte) error
func (*NullableDevice) Unset ¶
func (v *NullableDevice) Unset()
type NullableDevicePostInput ¶
type NullableDevicePostInput struct {
// contains filtered or unexported fields
}
func NewNullableDevicePostInput ¶
func NewNullableDevicePostInput(val *DevicePostInput) *NullableDevicePostInput
func (NullableDevicePostInput) Get ¶
func (v NullableDevicePostInput) Get() *DevicePostInput
func (NullableDevicePostInput) IsSet ¶
func (v NullableDevicePostInput) IsSet() bool
func (NullableDevicePostInput) MarshalJSON ¶
func (v NullableDevicePostInput) MarshalJSON() ([]byte, error)
func (*NullableDevicePostInput) Set ¶
func (v *NullableDevicePostInput) Set(val *DevicePostInput)
func (*NullableDevicePostInput) UnmarshalJSON ¶
func (v *NullableDevicePostInput) UnmarshalJSON(src []byte) error
func (*NullableDevicePostInput) Unset ¶
func (v *NullableDevicePostInput) Unset()
type NullableDevicePutInput ¶
type NullableDevicePutInput struct {
// contains filtered or unexported fields
}
func NewNullableDevicePutInput ¶
func NewNullableDevicePutInput(val *DevicePutInput) *NullableDevicePutInput
func (NullableDevicePutInput) Get ¶
func (v NullableDevicePutInput) Get() *DevicePutInput
func (NullableDevicePutInput) IsSet ¶
func (v NullableDevicePutInput) IsSet() bool
func (NullableDevicePutInput) MarshalJSON ¶
func (v NullableDevicePutInput) MarshalJSON() ([]byte, error)
func (*NullableDevicePutInput) Set ¶
func (v *NullableDevicePutInput) Set(val *DevicePutInput)
func (*NullableDevicePutInput) UnmarshalJSON ¶
func (v *NullableDevicePutInput) UnmarshalJSON(src []byte) error
func (*NullableDevicePutInput) Unset ¶
func (v *NullableDevicePutInput) Unset()
type NullableDeviceResponse ¶
type NullableDeviceResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeviceResponse ¶
func NewNullableDeviceResponse(val *DeviceResponse) *NullableDeviceResponse
func (NullableDeviceResponse) Get ¶
func (v NullableDeviceResponse) Get() *DeviceResponse
func (NullableDeviceResponse) IsSet ¶
func (v NullableDeviceResponse) IsSet() bool
func (NullableDeviceResponse) MarshalJSON ¶
func (v NullableDeviceResponse) MarshalJSON() ([]byte, error)
func (*NullableDeviceResponse) Set ¶
func (v *NullableDeviceResponse) Set(val *DeviceResponse)
func (*NullableDeviceResponse) UnmarshalJSON ¶
func (v *NullableDeviceResponse) UnmarshalJSON(src []byte) error
func (*NullableDeviceResponse) Unset ¶
func (v *NullableDeviceResponse) Unset()
type NullableDevicesGet200Response ¶
type NullableDevicesGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableDevicesGet200Response ¶
func NewNullableDevicesGet200Response(val *DevicesGet200Response) *NullableDevicesGet200Response
func (NullableDevicesGet200Response) Get ¶
func (v NullableDevicesGet200Response) Get() *DevicesGet200Response
func (NullableDevicesGet200Response) IsSet ¶
func (v NullableDevicesGet200Response) IsSet() bool
func (NullableDevicesGet200Response) MarshalJSON ¶
func (v NullableDevicesGet200Response) MarshalJSON() ([]byte, error)
func (*NullableDevicesGet200Response) Set ¶
func (v *NullableDevicesGet200Response) Set(val *DevicesGet200Response)
func (*NullableDevicesGet200Response) UnmarshalJSON ¶
func (v *NullableDevicesGet200Response) UnmarshalJSON(src []byte) error
func (*NullableDevicesGet200Response) Unset ¶
func (v *NullableDevicesGet200Response) Unset()
type NullableDevicesGet401Response ¶
type NullableDevicesGet401Response struct {
// contains filtered or unexported fields
}
func NewNullableDevicesGet401Response ¶
func NewNullableDevicesGet401Response(val *DevicesGet401Response) *NullableDevicesGet401Response
func (NullableDevicesGet401Response) Get ¶
func (v NullableDevicesGet401Response) Get() *DevicesGet401Response
func (NullableDevicesGet401Response) IsSet ¶
func (v NullableDevicesGet401Response) IsSet() bool
func (NullableDevicesGet401Response) MarshalJSON ¶
func (v NullableDevicesGet401Response) MarshalJSON() ([]byte, error)
func (*NullableDevicesGet401Response) Set ¶
func (v *NullableDevicesGet401Response) Set(val *DevicesGet401Response)
func (*NullableDevicesGet401Response) UnmarshalJSON ¶
func (v *NullableDevicesGet401Response) UnmarshalJSON(src []byte) error
func (*NullableDevicesGet401Response) Unset ¶
func (v *NullableDevicesGet401Response) Unset()
type NullableDevicesPost201Response ¶
type NullableDevicesPost201Response struct {
// contains filtered or unexported fields
}
func NewNullableDevicesPost201Response ¶
func NewNullableDevicesPost201Response(val *DevicesPost201Response) *NullableDevicesPost201Response
func (NullableDevicesPost201Response) Get ¶
func (v NullableDevicesPost201Response) Get() *DevicesPost201Response
func (NullableDevicesPost201Response) IsSet ¶
func (v NullableDevicesPost201Response) IsSet() bool
func (NullableDevicesPost201Response) MarshalJSON ¶
func (v NullableDevicesPost201Response) MarshalJSON() ([]byte, error)
func (*NullableDevicesPost201Response) Set ¶
func (v *NullableDevicesPost201Response) Set(val *DevicesPost201Response)
func (*NullableDevicesPost201Response) UnmarshalJSON ¶
func (v *NullableDevicesPost201Response) UnmarshalJSON(src []byte) error
func (*NullableDevicesPost201Response) Unset ¶
func (v *NullableDevicesPost201Response) Unset()
type NullableDisksInner ¶
type NullableDisksInner struct {
// contains filtered or unexported fields
}
func NewNullableDisksInner ¶
func NewNullableDisksInner(val *DisksInner) *NullableDisksInner
func (NullableDisksInner) Get ¶
func (v NullableDisksInner) Get() *DisksInner
func (NullableDisksInner) IsSet ¶
func (v NullableDisksInner) IsSet() bool
func (NullableDisksInner) MarshalJSON ¶
func (v NullableDisksInner) MarshalJSON() ([]byte, error)
func (*NullableDisksInner) Set ¶
func (v *NullableDisksInner) Set(val *DisksInner)
func (*NullableDisksInner) UnmarshalJSON ¶
func (v *NullableDisksInner) UnmarshalJSON(src []byte) error
func (*NullableDisksInner) Unset ¶
func (v *NullableDisksInner) Unset()
type NullableDriver ¶
type NullableDriver struct {
// contains filtered or unexported fields
}
func NewNullableDriver ¶
func NewNullableDriver(val *Driver) *NullableDriver
func (NullableDriver) Get ¶
func (v NullableDriver) Get() *Driver
func (NullableDriver) IsSet ¶
func (v NullableDriver) IsSet() bool
func (NullableDriver) MarshalJSON ¶
func (v NullableDriver) MarshalJSON() ([]byte, error)
func (*NullableDriver) Set ¶
func (v *NullableDriver) Set(val *Driver)
func (*NullableDriver) UnmarshalJSON ¶
func (v *NullableDriver) UnmarshalJSON(src []byte) error
func (*NullableDriver) Unset ¶
func (v *NullableDriver) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKernel ¶
type NullableKernel struct {
// contains filtered or unexported fields
}
func NewNullableKernel ¶
func NewNullableKernel(val *Kernel) *NullableKernel
func (NullableKernel) Get ¶
func (v NullableKernel) Get() *Kernel
func (NullableKernel) IsSet ¶
func (v NullableKernel) IsSet() bool
func (NullableKernel) MarshalJSON ¶
func (v NullableKernel) MarshalJSON() ([]byte, error)
func (*NullableKernel) Set ¶
func (v *NullableKernel) Set(val *Kernel)
func (*NullableKernel) UnmarshalJSON ¶
func (v *NullableKernel) UnmarshalJSON(src []byte) error
func (*NullableKernel) Unset ¶
func (v *NullableKernel) Unset()
type NullableMemory ¶
type NullableMemory struct {
// contains filtered or unexported fields
}
func NewNullableMemory ¶
func NewNullableMemory(val *Memory) *NullableMemory
func (NullableMemory) Get ¶
func (v NullableMemory) Get() *Memory
func (NullableMemory) IsSet ¶
func (v NullableMemory) IsSet() bool
func (NullableMemory) MarshalJSON ¶
func (v NullableMemory) MarshalJSON() ([]byte, error)
func (*NullableMemory) Set ¶
func (v *NullableMemory) Set(val *Memory)
func (*NullableMemory) UnmarshalJSON ¶
func (v *NullableMemory) UnmarshalJSON(src []byte) error
func (*NullableMemory) Unset ¶
func (v *NullableMemory) 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 NullableMotherboard ¶
type NullableMotherboard struct {
// contains filtered or unexported fields
}
func NewNullableMotherboard ¶
func NewNullableMotherboard(val *Motherboard) *NullableMotherboard
func (NullableMotherboard) Get ¶
func (v NullableMotherboard) Get() *Motherboard
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 NullableNetworkInterface ¶
type NullableNetworkInterface struct {
// contains filtered or unexported fields
}
func NewNullableNetworkInterface ¶
func NewNullableNetworkInterface(val *NetworkInterface) *NullableNetworkInterface
func (NullableNetworkInterface) Get ¶
func (v NullableNetworkInterface) Get() *NetworkInterface
func (NullableNetworkInterface) IsSet ¶
func (v NullableNetworkInterface) IsSet() bool
func (NullableNetworkInterface) MarshalJSON ¶
func (v NullableNetworkInterface) MarshalJSON() ([]byte, error)
func (*NullableNetworkInterface) Set ¶
func (v *NullableNetworkInterface) Set(val *NetworkInterface)
func (*NullableNetworkInterface) UnmarshalJSON ¶
func (v *NullableNetworkInterface) UnmarshalJSON(src []byte) error
func (*NullableNetworkInterface) Unset ¶
func (v *NullableNetworkInterface) Unset()
type NullableOEM ¶
type NullableOEM struct {
// contains filtered or unexported fields
}
func NewNullableOEM ¶
func NewNullableOEM(val *OEM) *NullableOEM
func (NullableOEM) Get ¶
func (v NullableOEM) Get() *OEM
func (NullableOEM) IsSet ¶
func (v NullableOEM) IsSet() bool
func (NullableOEM) MarshalJSON ¶
func (v NullableOEM) MarshalJSON() ([]byte, error)
func (*NullableOEM) Set ¶
func (v *NullableOEM) Set(val *OEM)
func (*NullableOEM) UnmarshalJSON ¶
func (v *NullableOEM) UnmarshalJSON(src []byte) error
func (*NullableOEM) Unset ¶
func (v *NullableOEM) 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 NullableRelease ¶
type NullableRelease struct {
// contains filtered or unexported fields
}
func NewNullableRelease ¶
func NewNullableRelease(val *Release) *NullableRelease
func (NullableRelease) Get ¶
func (v NullableRelease) Get() *Release
func (NullableRelease) IsSet ¶
func (v NullableRelease) IsSet() bool
func (NullableRelease) MarshalJSON ¶
func (v NullableRelease) MarshalJSON() ([]byte, error)
func (*NullableRelease) Set ¶
func (v *NullableRelease) Set(val *Release)
func (*NullableRelease) UnmarshalJSON ¶
func (v *NullableRelease) UnmarshalJSON(src []byte) error
func (*NullableRelease) Unset ¶
func (v *NullableRelease) Unset()
type NullableServerInfo ¶
type NullableServerInfo struct {
// contains filtered or unexported fields
}
func NewNullableServerInfo ¶
func NewNullableServerInfo(val *ServerInfo) *NullableServerInfo
func (NullableServerInfo) Get ¶
func (v NullableServerInfo) Get() *ServerInfo
func (NullableServerInfo) IsSet ¶
func (v NullableServerInfo) IsSet() bool
func (NullableServerInfo) MarshalJSON ¶
func (v NullableServerInfo) MarshalJSON() ([]byte, error)
func (*NullableServerInfo) Set ¶
func (v *NullableServerInfo) Set(val *ServerInfo)
func (*NullableServerInfo) UnmarshalJSON ¶
func (v *NullableServerInfo) UnmarshalJSON(src []byte) error
func (*NullableServerInfo) Unset ¶
func (v *NullableServerInfo) Unset()
type NullableServerInfoSystemInfo ¶
type NullableServerInfoSystemInfo struct {
// contains filtered or unexported fields
}
func NewNullableServerInfoSystemInfo ¶
func NewNullableServerInfoSystemInfo(val *ServerInfoSystemInfo) *NullableServerInfoSystemInfo
func (NullableServerInfoSystemInfo) Get ¶
func (v NullableServerInfoSystemInfo) Get() *ServerInfoSystemInfo
func (NullableServerInfoSystemInfo) IsSet ¶
func (v NullableServerInfoSystemInfo) IsSet() bool
func (NullableServerInfoSystemInfo) MarshalJSON ¶
func (v NullableServerInfoSystemInfo) MarshalJSON() ([]byte, error)
func (*NullableServerInfoSystemInfo) Set ¶
func (v *NullableServerInfoSystemInfo) Set(val *ServerInfoSystemInfo)
func (*NullableServerInfoSystemInfo) UnmarshalJSON ¶
func (v *NullableServerInfoSystemInfo) UnmarshalJSON(src []byte) error
func (*NullableServerInfoSystemInfo) Unset ¶
func (v *NullableServerInfoSystemInfo) Unset()
type NullableSpecs ¶
type NullableSpecs struct {
// contains filtered or unexported fields
}
func NewNullableSpecs ¶
func NewNullableSpecs(val *Specs) *NullableSpecs
func (NullableSpecs) Get ¶
func (v NullableSpecs) Get() *Specs
func (NullableSpecs) IsSet ¶
func (v NullableSpecs) IsSet() bool
func (NullableSpecs) MarshalJSON ¶
func (v NullableSpecs) MarshalJSON() ([]byte, error)
func (*NullableSpecs) Set ¶
func (v *NullableSpecs) Set(val *Specs)
func (*NullableSpecs) UnmarshalJSON ¶
func (v *NullableSpecs) UnmarshalJSON(src []byte) error
func (*NullableSpecs) Unset ¶
func (v *NullableSpecs) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSwapDevice ¶
type NullableSwapDevice struct {
// contains filtered or unexported fields
}
func NewNullableSwapDevice ¶
func NewNullableSwapDevice(val *SwapDevice) *NullableSwapDevice
func (NullableSwapDevice) Get ¶
func (v NullableSwapDevice) Get() *SwapDevice
func (NullableSwapDevice) IsSet ¶
func (v NullableSwapDevice) IsSet() bool
func (NullableSwapDevice) MarshalJSON ¶
func (v NullableSwapDevice) MarshalJSON() ([]byte, error)
func (*NullableSwapDevice) Set ¶
func (v *NullableSwapDevice) Set(val *SwapDevice)
func (*NullableSwapDevice) UnmarshalJSON ¶
func (v *NullableSwapDevice) UnmarshalJSON(src []byte) error
func (*NullableSwapDevice) Unset ¶
func (v *NullableSwapDevice) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableVirtualization ¶
type NullableVirtualization struct {
// contains filtered or unexported fields
}
func NewNullableVirtualization ¶
func NewNullableVirtualization(val *Virtualization) *NullableVirtualization
func (NullableVirtualization) Get ¶
func (v NullableVirtualization) Get() *Virtualization
func (NullableVirtualization) IsSet ¶
func (v NullableVirtualization) IsSet() bool
func (NullableVirtualization) MarshalJSON ¶
func (v NullableVirtualization) MarshalJSON() ([]byte, error)
func (*NullableVirtualization) Set ¶
func (v *NullableVirtualization) Set(val *Virtualization)
func (*NullableVirtualization) UnmarshalJSON ¶
func (v *NullableVirtualization) UnmarshalJSON(src []byte) error
func (*NullableVirtualization) Unset ¶
func (v *NullableVirtualization) Unset()
type OEM ¶
type OEM struct { Manufacturer *string `json:"manufacturer,omitempty"` ProductName *string `json:"product_name,omitempty"` SerialNumber *string `json:"serial_number,omitempty"` }
OEM struct for OEM
func NewOEM ¶
func NewOEM() *OEM
NewOEM instantiates a new OEM 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 NewOEMWithDefaults ¶
func NewOEMWithDefaults() *OEM
NewOEMWithDefaults instantiates a new OEM 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 (*OEM) GetManufacturer ¶
GetManufacturer returns the Manufacturer field value if set, zero value otherwise.
func (*OEM) GetManufacturerOk ¶
GetManufacturerOk returns a tuple with the Manufacturer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OEM) GetProductName ¶
GetProductName returns the ProductName field value if set, zero value otherwise.
func (*OEM) GetProductNameOk ¶
GetProductNameOk returns a tuple with the ProductName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OEM) GetSerialNumber ¶
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*OEM) GetSerialNumberOk ¶
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 (*OEM) HasManufacturer ¶
HasManufacturer returns a boolean if a field has been set.
func (*OEM) HasProductName ¶
HasProductName returns a boolean if a field has been set.
func (*OEM) HasSerialNumber ¶
HasSerialNumber returns a boolean if a field has been set.
func (OEM) MarshalJSON ¶
func (*OEM) SetManufacturer ¶
SetManufacturer gets a reference to the given string and assigns it to the Manufacturer field.
func (*OEM) SetProductName ¶
SetProductName gets a reference to the given string and assigns it to the ProductName field.
func (*OEM) SetSerialNumber ¶
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
type Partition ¶
type Partition struct { Filesystem *string `json:"filesystem,omitempty"` // Amount of megabytes the partition can store CapacityMegabytes *int64 `json:"capacity_megabytes,omitempty"` Source *string `json:"source,omitempty"` Target *string `json:"target,omitempty"` }
Partition struct for Partition
func NewPartition ¶
func NewPartition() *Partition
NewPartition instantiates a new Partition 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 NewPartitionWithDefaults ¶
func NewPartitionWithDefaults() *Partition
NewPartitionWithDefaults instantiates a new Partition 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 (*Partition) GetCapacityMegabytes ¶
GetCapacityMegabytes returns the CapacityMegabytes field value if set, zero value otherwise.
func (*Partition) GetCapacityMegabytesOk ¶
GetCapacityMegabytesOk returns a tuple with the CapacityMegabytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Partition) GetFilesystem ¶
GetFilesystem returns the Filesystem field value if set, zero value otherwise.
func (*Partition) GetFilesystemOk ¶
GetFilesystemOk returns a tuple with the Filesystem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Partition) GetSource ¶
GetSource returns the Source field value if set, zero value otherwise.
func (*Partition) GetSourceOk ¶
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Partition) GetTarget ¶
GetTarget returns the Target field value if set, zero value otherwise.
func (*Partition) GetTargetOk ¶
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Partition) HasCapacityMegabytes ¶
HasCapacityMegabytes returns a boolean if a field has been set.
func (*Partition) HasFilesystem ¶
HasFilesystem returns a boolean if a field has been set.
func (Partition) MarshalJSON ¶
func (*Partition) SetCapacityMegabytes ¶
SetCapacityMegabytes gets a reference to the given int64 and assigns it to the CapacityMegabytes field.
func (*Partition) SetFilesystem ¶
SetFilesystem gets a reference to the given string and assigns it to the Filesystem field.
func (*Partition) SetSource ¶
SetSource gets a reference to the given string and assigns it to the Source field.
type Release ¶
type Release struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` Codename *string `json:"codename,omitempty"` }
Release struct for Release
func NewRelease ¶
func NewRelease() *Release
NewRelease instantiates a new Release 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 NewReleaseWithDefaults ¶
func NewReleaseWithDefaults() *Release
NewReleaseWithDefaults instantiates a new Release 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 (*Release) GetCodename ¶
GetCodename returns the Codename field value if set, zero value otherwise.
func (*Release) GetCodenameOk ¶
GetCodenameOk returns a tuple with the Codename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Release) GetNameOk ¶
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 (*Release) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Release) GetVersionOk ¶
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 (*Release) HasCodename ¶
HasCodename returns a boolean if a field has been set.
func (*Release) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Release) MarshalJSON ¶
func (*Release) SetCodename ¶
SetCodename gets a reference to the given string and assigns it to the Codename field.
func (*Release) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Release) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
type ServerApiService ¶
type ServerApiService service
ServerApiService ServerApi service
func (*ServerApiService) HealthcheckGet ¶
func (a *ServerApiService) HealthcheckGet(ctx context.Context) ApiHealthcheckGetRequest
HealthcheckGet Check the health of the API
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthcheckGetRequest
func (*ServerApiService) HealthcheckGetExecute ¶
func (a *ServerApiService) HealthcheckGetExecute(r ApiHealthcheckGetRequest) (*ServerInfo, *http.Response, error)
Execute executes the request
@return ServerInfo
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerInfo ¶
type ServerInfo struct { Status *string `json:"status,omitempty"` SystemInfo *ServerInfoSystemInfo `json:"system_info,omitempty"` }
ServerInfo struct for ServerInfo
func NewServerInfo ¶
func NewServerInfo() *ServerInfo
NewServerInfo instantiates a new ServerInfo 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 NewServerInfoWithDefaults ¶
func NewServerInfoWithDefaults() *ServerInfo
NewServerInfoWithDefaults instantiates a new ServerInfo 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 (*ServerInfo) GetStatus ¶
func (o *ServerInfo) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ServerInfo) GetStatusOk ¶
func (o *ServerInfo) 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 (*ServerInfo) GetSystemInfo ¶
func (o *ServerInfo) GetSystemInfo() ServerInfoSystemInfo
GetSystemInfo returns the SystemInfo field value if set, zero value otherwise.
func (*ServerInfo) GetSystemInfoOk ¶
func (o *ServerInfo) GetSystemInfoOk() (*ServerInfoSystemInfo, bool)
GetSystemInfoOk returns a tuple with the SystemInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerInfo) HasStatus ¶
func (o *ServerInfo) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ServerInfo) HasSystemInfo ¶
func (o *ServerInfo) HasSystemInfo() bool
HasSystemInfo returns a boolean if a field has been set.
func (ServerInfo) MarshalJSON ¶
func (o ServerInfo) MarshalJSON() ([]byte, error)
func (*ServerInfo) SetStatus ¶
func (o *ServerInfo) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*ServerInfo) SetSystemInfo ¶
func (o *ServerInfo) SetSystemInfo(v ServerInfoSystemInfo)
SetSystemInfo gets a reference to the given ServerInfoSystemInfo and assigns it to the SystemInfo field.
func (ServerInfo) ToMap ¶
func (o ServerInfo) ToMap() (map[string]interface{}, error)
type ServerInfoSystemInfo ¶
type ServerInfoSystemInfo struct { Environment *string `json:"environment,omitempty"` Version *string `json:"version,omitempty"` }
ServerInfoSystemInfo struct for ServerInfoSystemInfo
func NewServerInfoSystemInfo ¶
func NewServerInfoSystemInfo() *ServerInfoSystemInfo
NewServerInfoSystemInfo instantiates a new ServerInfoSystemInfo 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 NewServerInfoSystemInfoWithDefaults ¶
func NewServerInfoSystemInfoWithDefaults() *ServerInfoSystemInfo
NewServerInfoSystemInfoWithDefaults instantiates a new ServerInfoSystemInfo 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 (*ServerInfoSystemInfo) GetEnvironment ¶
func (o *ServerInfoSystemInfo) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise.
func (*ServerInfoSystemInfo) GetEnvironmentOk ¶
func (o *ServerInfoSystemInfo) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerInfoSystemInfo) GetVersion ¶
func (o *ServerInfoSystemInfo) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServerInfoSystemInfo) GetVersionOk ¶
func (o *ServerInfoSystemInfo) 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 (*ServerInfoSystemInfo) HasEnvironment ¶
func (o *ServerInfoSystemInfo) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (*ServerInfoSystemInfo) HasVersion ¶
func (o *ServerInfoSystemInfo) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServerInfoSystemInfo) MarshalJSON ¶
func (o ServerInfoSystemInfo) MarshalJSON() ([]byte, error)
func (*ServerInfoSystemInfo) SetEnvironment ¶
func (o *ServerInfoSystemInfo) SetEnvironment(v string)
SetEnvironment gets a reference to the given string and assigns it to the Environment field.
func (*ServerInfoSystemInfo) SetVersion ¶
func (o *ServerInfoSystemInfo) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (ServerInfoSystemInfo) ToMap ¶
func (o ServerInfoSystemInfo) ToMap() (map[string]interface{}, error)
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Specs ¶
type Specs struct { Motherboard *Motherboard `json:"motherboard,omitempty"` Cpu *CPU `json:"cpu,omitempty"` Disks []DisksInner `json:"disks,omitempty"` Network *Network `json:"network,omitempty"` Bios *BIOS `json:"bios,omitempty"` Memory *Memory `json:"memory,omitempty"` Dimms []DIMMsInner `json:"dimms,omitempty"` // ISO 8601 formatted date-time string of the time the device booted BootTime *time.Time `json:"boot_time,omitempty"` Kernel *Kernel `json:"kernel,omitempty"` Release *Release `json:"release,omitempty"` Oem *OEM `json:"oem,omitempty"` Virtualization *Virtualization `json:"virtualization,omitempty"` }
Specs struct for Specs
func NewSpecs ¶
func NewSpecs() *Specs
NewSpecs instantiates a new Specs 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 NewSpecsWithDefaults ¶
func NewSpecsWithDefaults() *Specs
NewSpecsWithDefaults instantiates a new Specs 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 (*Specs) GetBiosOk ¶
GetBiosOk returns a tuple with the Bios field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetBootTime ¶
GetBootTime returns the BootTime field value if set, zero value otherwise.
func (*Specs) GetBootTimeOk ¶
GetBootTimeOk returns a tuple with the BootTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetDimms ¶
func (o *Specs) GetDimms() []DIMMsInner
GetDimms returns the Dimms field value if set, zero value otherwise.
func (*Specs) GetDimmsOk ¶
func (o *Specs) GetDimmsOk() ([]DIMMsInner, bool)
GetDimmsOk returns a tuple with the Dimms field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetDisks ¶
func (o *Specs) GetDisks() []DisksInner
GetDisks returns the Disks field value if set, zero value otherwise.
func (*Specs) GetDisksOk ¶
func (o *Specs) GetDisksOk() ([]DisksInner, bool)
GetDisksOk returns a tuple with the Disks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetKernelOk ¶
GetKernelOk returns a tuple with the Kernel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetMotherboard ¶
func (o *Specs) GetMotherboard() Motherboard
GetMotherboard returns the Motherboard field value if set, zero value otherwise.
func (*Specs) GetMotherboardOk ¶
func (o *Specs) 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 (*Specs) GetNetwork ¶
GetNetwork returns the Network field value if set, zero value otherwise.
func (*Specs) GetNetworkOk ¶
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetOemOk ¶
GetOemOk returns a tuple with the Oem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetRelease ¶
GetRelease returns the Release field value if set, zero value otherwise.
func (*Specs) GetReleaseOk ¶
GetReleaseOk returns a tuple with the Release field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) GetVirtualization ¶
func (o *Specs) GetVirtualization() Virtualization
GetVirtualization returns the Virtualization field value if set, zero value otherwise.
func (*Specs) GetVirtualizationOk ¶
func (o *Specs) GetVirtualizationOk() (*Virtualization, bool)
GetVirtualizationOk returns a tuple with the Virtualization field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Specs) HasBootTime ¶
HasBootTime returns a boolean if a field has been set.
func (*Specs) HasMotherboard ¶
HasMotherboard returns a boolean if a field has been set.
func (*Specs) HasNetwork ¶
HasNetwork returns a boolean if a field has been set.
func (*Specs) HasRelease ¶
HasRelease returns a boolean if a field has been set.
func (*Specs) HasVirtualization ¶
HasVirtualization returns a boolean if a field has been set.
func (Specs) MarshalJSON ¶
func (*Specs) SetBios ¶
SetBios gets a reference to the given BIOS and assigns it to the Bios field.
func (*Specs) SetBootTime ¶
SetBootTime gets a reference to the given time.Time and assigns it to the BootTime field.
func (*Specs) SetDimms ¶
func (o *Specs) SetDimms(v []DIMMsInner)
SetDimms gets a reference to the given []DIMMsInner and assigns it to the Dimms field.
func (*Specs) SetDisks ¶
func (o *Specs) SetDisks(v []DisksInner)
SetDisks gets a reference to the given []DisksInner and assigns it to the Disks field.
func (*Specs) SetKernel ¶
SetKernel gets a reference to the given Kernel and assigns it to the Kernel field.
func (*Specs) SetMemory ¶
SetMemory gets a reference to the given Memory and assigns it to the Memory field.
func (*Specs) SetMotherboard ¶
func (o *Specs) SetMotherboard(v Motherboard)
SetMotherboard gets a reference to the given Motherboard and assigns it to the Motherboard field.
func (*Specs) SetNetwork ¶
SetNetwork gets a reference to the given Network and assigns it to the Network field.
func (*Specs) SetRelease ¶
SetRelease gets a reference to the given Release and assigns it to the Release field.
func (*Specs) SetVirtualization ¶
func (o *Specs) SetVirtualization(v Virtualization)
SetVirtualization gets a reference to the given Virtualization and assigns it to the Virtualization field.
type SwapDevice ¶
SwapDevice struct for SwapDevice
func NewSwapDevice ¶
func NewSwapDevice() *SwapDevice
NewSwapDevice instantiates a new SwapDevice 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 NewSwapDeviceWithDefaults ¶
func NewSwapDeviceWithDefaults() *SwapDevice
NewSwapDeviceWithDefaults instantiates a new SwapDevice 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 (*SwapDevice) GetName ¶
func (o *SwapDevice) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SwapDevice) GetNameOk ¶
func (o *SwapDevice) 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 (*SwapDevice) GetSize ¶
func (o *SwapDevice) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*SwapDevice) GetSizeOk ¶
func (o *SwapDevice) GetSizeOk() (*int64, 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 (*SwapDevice) HasName ¶
func (o *SwapDevice) HasName() bool
HasName returns a boolean if a field has been set.
func (*SwapDevice) HasSize ¶
func (o *SwapDevice) HasSize() bool
HasSize returns a boolean if a field has been set.
func (SwapDevice) MarshalJSON ¶
func (o SwapDevice) MarshalJSON() ([]byte, error)
func (*SwapDevice) SetName ¶
func (o *SwapDevice) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SwapDevice) SetSize ¶
func (o *SwapDevice) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (SwapDevice) ToMap ¶
func (o SwapDevice) ToMap() (map[string]interface{}, error)
type Virtualization ¶
type Virtualization struct {
Type *string `json:"type,omitempty"`
}
Virtualization struct for Virtualization
func NewVirtualization ¶
func NewVirtualization() *Virtualization
NewVirtualization instantiates a new Virtualization 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 NewVirtualizationWithDefaults ¶
func NewVirtualizationWithDefaults() *Virtualization
NewVirtualizationWithDefaults instantiates a new Virtualization 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 (*Virtualization) GetType ¶
func (o *Virtualization) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*Virtualization) GetTypeOk ¶
func (o *Virtualization) 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 (*Virtualization) HasType ¶
func (o *Virtualization) HasType() bool
HasType returns a boolean if a field has been set.
func (Virtualization) MarshalJSON ¶
func (o Virtualization) MarshalJSON() ([]byte, error)
func (*Virtualization) SetType ¶
func (o *Virtualization) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (Virtualization) ToMap ¶
func (o Virtualization) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_devices.go
- api_server.go
- client.go
- configuration.go
- model__devices_get_200_response.go
- model__devices_get_401_response.go
- model__devices_post_201_response.go
- model_bios.go
- model_cpu.go
- model_device.go
- model_device_post_input.go
- model_device_put_input.go
- model_device_response.go
- model_dimms_inner.go
- model_disks_inner.go
- model_driver.go
- model_kernel.go
- model_memory.go
- model_metadata.go
- model_motherboard.go
- model_network.go
- model_network_interface.go
- model_oem.go
- model_partition.go
- model_release.go
- model_server_info.go
- model_server_info_system_info.go
- model_specs.go
- model_swap_device.go
- model_virtualization.go
- response.go
- utils.go