client

package module
v0.0.0-...-83d92b6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 22 Imported by: 7

README

Go API client for client

Partial Redfish OAPI specification for a limited client

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import sw "./client"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi CreateVirtualDisk Post /redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageControllerId}/Volumes
DefaultApi DeleteVirtualdisk Delete /redfish/v1/Systems/{ComputerSystemId}/Storage/Volumes/{StorageId}
DefaultApi EjectVirtualMedia Post /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia
DefaultApi FirmwareInventory Get /redfish/v1/UpdateService/FirmwareInventory
DefaultApi FirmwareInventoryDownloadImage Post /redfish/v1/UpdateService/FirmwareInventory
DefaultApi GetManager Get /redfish/v1/Managers/{managerId}
DefaultApi GetManagerVirtualMedia Get /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}
DefaultApi GetRoot Get /redfish/v1
DefaultApi GetSoftwareInventory Get /redfish/v1/UpdateService/FirmwareInventory/{softwareId}
DefaultApi GetSystem Get /redfish/v1/Systems/{systemId}
DefaultApi GetTask Get /redfish/v1/TaskService/Tasks/{taskId}
DefaultApi GetTaskList Get /redfish/v1/TaskService/Tasks
DefaultApi GetVolumes Get /redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageControllerId}/Volumes
DefaultApi InsertVirtualMedia Post /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.InsertMedia
DefaultApi ListManagerVirtualMedia Get /redfish/v1/Managers/{managerId}/VirtualMedia
DefaultApi ListManagers Get /redfish/v1/Managers
DefaultApi ListSystems Get /redfish/v1/Systems
DefaultApi ResetIdrac Post /redfish/v1/Managers/iDRAC.Embedded.1/Actions/Manager.Reset
DefaultApi ResetSystem Post /redfish/v1/Systems/{ComputerSystemId}/Actions/ComputerSystem.Reset
DefaultApi SetSystem Patch /redfish/v1/Systems/{systemId}
DefaultApi UpdateService Get /redfish/v1/UpdateService
DefaultApi UpdateServiceSimpleUpdate Post /redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// 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")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

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

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultApi *DefaultApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Redfish OAPI specification API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateVirtualDiskRequest

type ApiCreateVirtualDiskRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiCreateVirtualDiskRequest) CreateVirtualDiskRequestBody

func (r ApiCreateVirtualDiskRequest) CreateVirtualDiskRequestBody(createVirtualDiskRequestBody CreateVirtualDiskRequestBody) ApiCreateVirtualDiskRequest

func (ApiCreateVirtualDiskRequest) Execute

type ApiDeleteVirtualdiskRequest

type ApiDeleteVirtualdiskRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVirtualdiskRequest) Execute

type ApiEjectVirtualMediaRequest

type ApiEjectVirtualMediaRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiEjectVirtualMediaRequest) Body

func (r ApiEjectVirtualMediaRequest) Body(body map[string]interface{}) ApiEjectVirtualMediaRequest

func (ApiEjectVirtualMediaRequest) Execute

type ApiFirmwareInventoryDownloadImageRequest

type ApiFirmwareInventoryDownloadImageRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiFirmwareInventoryDownloadImageRequest) Execute

func (ApiFirmwareInventoryDownloadImageRequest) SoftwareImage

type ApiFirmwareInventoryRequest

type ApiFirmwareInventoryRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiFirmwareInventoryRequest) Execute

type ApiGetManagerRequest

type ApiGetManagerRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetManagerRequest) Execute

type ApiGetManagerVirtualMediaRequest

type ApiGetManagerVirtualMediaRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetManagerVirtualMediaRequest) Execute

type ApiGetRootRequest

type ApiGetRootRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetRootRequest) Execute

func (r ApiGetRootRequest) Execute() (Root, *_nethttp.Response, error)

type ApiGetSoftwareInventoryRequest

type ApiGetSoftwareInventoryRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetSoftwareInventoryRequest) Execute

type ApiGetSystemRequest

type ApiGetSystemRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetSystemRequest) Execute

type ApiGetTaskListRequest

type ApiGetTaskListRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetTaskListRequest) Execute

type ApiGetTaskRequest

type ApiGetTaskRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetTaskRequest) Execute

func (r ApiGetTaskRequest) Execute() (Task, *_nethttp.Response, error)

type ApiGetVolumesRequest

type ApiGetVolumesRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetVolumesRequest) Execute

type ApiInsertVirtualMediaRequest

type ApiInsertVirtualMediaRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiInsertVirtualMediaRequest) Execute

func (ApiInsertVirtualMediaRequest) InsertMediaRequestBody

func (r ApiInsertVirtualMediaRequest) InsertMediaRequestBody(insertMediaRequestBody InsertMediaRequestBody) ApiInsertVirtualMediaRequest

type ApiListManagerVirtualMediaRequest

type ApiListManagerVirtualMediaRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiListManagerVirtualMediaRequest) Execute

type ApiListManagersRequest

type ApiListManagersRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiListManagersRequest) Execute

type ApiListSystemsRequest

type ApiListSystemsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiListSystemsRequest) Execute

type ApiResetIdracRequest

type ApiResetIdracRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiResetIdracRequest) Execute

func (r ApiResetIdracRequest) Execute() (*_nethttp.Response, error)

func (ApiResetIdracRequest) IDRACResetRequestBody

func (r ApiResetIdracRequest) IDRACResetRequestBody(iDRACResetRequestBody IDRACResetRequestBody) ApiResetIdracRequest

type ApiResetSystemRequest

type ApiResetSystemRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiResetSystemRequest) Execute

func (ApiResetSystemRequest) ResetRequestBody

func (r ApiResetSystemRequest) ResetRequestBody(resetRequestBody ResetRequestBody) ApiResetSystemRequest

type ApiSetSystemRequest

type ApiSetSystemRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiSetSystemRequest) ComputerSystem

func (r ApiSetSystemRequest) ComputerSystem(computerSystem ComputerSystem) ApiSetSystemRequest

func (ApiSetSystemRequest) Execute

type ApiUpdateServiceRequest

type ApiUpdateServiceRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateServiceRequest) Execute

type ApiUpdateServiceSimpleUpdateRequest

type ApiUpdateServiceSimpleUpdateRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateServiceSimpleUpdateRequest) Execute

func (ApiUpdateServiceSimpleUpdateRequest) SimpleUpdateRequestBody

func (r ApiUpdateServiceSimpleUpdateRequest) SimpleUpdateRequestBody(simpleUpdateRequestBody SimpleUpdateRequestBody) ApiUpdateServiceSimpleUpdateRequest

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 Boot

type Boot struct {
	BootSourceOverrideEnabled                      *BootSourceOverrideEnabled `json:"BootSourceOverrideEnabled,omitempty"`
	BootSourceOverrideTarget                       *BootSource                `json:"BootSourceOverrideTarget,omitempty"`
	BootSourceOverrideTargetRedfishAllowableValues *[]BootSource              `json:"BootSourceOverrideTarget@Redfish.AllowableValues,omitempty"`
}

Boot struct for Boot

func NewBoot

func NewBoot() *Boot

NewBoot instantiates a new Boot 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 NewBootWithDefaults

func NewBootWithDefaults() *Boot

NewBootWithDefaults instantiates a new Boot 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 (*Boot) GetBootSourceOverrideEnabled

func (o *Boot) GetBootSourceOverrideEnabled() BootSourceOverrideEnabled

GetBootSourceOverrideEnabled returns the BootSourceOverrideEnabled field value if set, zero value otherwise.

func (*Boot) GetBootSourceOverrideEnabledOk

func (o *Boot) GetBootSourceOverrideEnabledOk() (*BootSourceOverrideEnabled, bool)

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

func (*Boot) GetBootSourceOverrideTarget

func (o *Boot) GetBootSourceOverrideTarget() BootSource

GetBootSourceOverrideTarget returns the BootSourceOverrideTarget field value if set, zero value otherwise.

func (*Boot) GetBootSourceOverrideTargetOk

func (o *Boot) GetBootSourceOverrideTargetOk() (*BootSource, bool)

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

func (*Boot) GetBootSourceOverrideTargetRedfishAllowableValues

func (o *Boot) GetBootSourceOverrideTargetRedfishAllowableValues() []BootSource

GetBootSourceOverrideTargetRedfishAllowableValues returns the BootSourceOverrideTargetRedfishAllowableValues field value if set, zero value otherwise.

func (*Boot) GetBootSourceOverrideTargetRedfishAllowableValuesOk

func (o *Boot) GetBootSourceOverrideTargetRedfishAllowableValuesOk() (*[]BootSource, bool)

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

func (*Boot) HasBootSourceOverrideEnabled

func (o *Boot) HasBootSourceOverrideEnabled() bool

HasBootSourceOverrideEnabled returns a boolean if a field has been set.

func (*Boot) HasBootSourceOverrideTarget

func (o *Boot) HasBootSourceOverrideTarget() bool

HasBootSourceOverrideTarget returns a boolean if a field has been set.

func (*Boot) HasBootSourceOverrideTargetRedfishAllowableValues

func (o *Boot) HasBootSourceOverrideTargetRedfishAllowableValues() bool

HasBootSourceOverrideTargetRedfishAllowableValues returns a boolean if a field has been set.

func (Boot) MarshalJSON

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

func (*Boot) SetBootSourceOverrideEnabled

func (o *Boot) SetBootSourceOverrideEnabled(v BootSourceOverrideEnabled)

SetBootSourceOverrideEnabled gets a reference to the given BootSourceOverrideEnabled and assigns it to the BootSourceOverrideEnabled field.

func (*Boot) SetBootSourceOverrideTarget

func (o *Boot) SetBootSourceOverrideTarget(v BootSource)

SetBootSourceOverrideTarget gets a reference to the given BootSource and assigns it to the BootSourceOverrideTarget field.

func (*Boot) SetBootSourceOverrideTargetRedfishAllowableValues

func (o *Boot) SetBootSourceOverrideTargetRedfishAllowableValues(v []BootSource)

SetBootSourceOverrideTargetRedfishAllowableValues gets a reference to the given []BootSource and assigns it to the BootSourceOverrideTargetRedfishAllowableValues field.

type BootSource

type BootSource string

BootSource the model 'BootSource'

const (
	BOOTSOURCE_NONE           BootSource = "None"
	BOOTSOURCE_PXE            BootSource = "Pxe"
	BOOTSOURCE_FLOPPY         BootSource = "Floppy"
	BOOTSOURCE_CD             BootSource = "Cd"
	BOOTSOURCE_USB            BootSource = "Usb"
	BOOTSOURCE_HDD            BootSource = "Hdd"
	BOOTSOURCE_BIOS_SETUP     BootSource = "BiosSetup"
	BOOTSOURCE_UTILITIES      BootSource = "Utilities"
	BOOTSOURCE_DIAGS          BootSource = "Diags"
	BOOTSOURCE_UEFI_SHELL     BootSource = "UefiShell"
	BOOTSOURCE_UEFI_TARGET    BootSource = "UefiTarget"
	BOOTSOURCE_SD_CARD        BootSource = "SDCard"
	BOOTSOURCE_UEFI_HTTP      BootSource = "UefiHttp"
	BOOTSOURCE_REMOTE_DRIVE   BootSource = "RemoteDrive"
	BOOTSOURCE_UEFI_BOOT_NEXT BootSource = "UefiBootNext"
)

List of BootSource

func (BootSource) Ptr

func (v BootSource) Ptr() *BootSource

Ptr returns reference to BootSource value

func (*BootSource) UnmarshalJSON

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

type BootSourceOverrideEnabled

type BootSourceOverrideEnabled string

BootSourceOverrideEnabled the model 'BootSourceOverrideEnabled'

const (
	BOOTSOURCEOVERRIDEENABLED_ONCE       BootSourceOverrideEnabled = "Once"
	BOOTSOURCEOVERRIDEENABLED_CONTINUOUS BootSourceOverrideEnabled = "Continuous"
	BOOTSOURCEOVERRIDEENABLED_DISABLED   BootSourceOverrideEnabled = "Disabled"
)

List of BootSourceOverrideEnabled

func (BootSourceOverrideEnabled) Ptr

Ptr returns reference to BootSourceOverrideEnabled value

func (*BootSourceOverrideEnabled) UnmarshalJSON

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

type Collection

type Collection struct {
	// context
	OdataContext *string `json:"@odata.context,omitempty"`
	// etag
	OdataEtag *string `json:"@odata.etag,omitempty"`
	// id
	OdataId string `json:"@odata.id"`
	// type
	OdataType string `json:"@odata.type"`
	// description
	Description NullableString `json:"Description,omitempty"`
	// Contains the members of this collection.
	Members []IdRef `json:"Members"`
	// The number of items in a collection.
	MembersodataCount *int32 `json:"Members@odata.count,omitempty"`
	// The URI to the resource containing the next set of partial members.
	MembersodataNextLink *string `json:"Members@odata.nextLink,omitempty"`
	// The name of the resource.
	Name string `json:"Name"`
}

Collection A Collection of ComputerSystem resource instances.

func NewCollection

func NewCollection(odataId string, odataType string, members []IdRef, name string) *Collection

NewCollection instantiates a new Collection 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 NewCollectionWithDefaults

func NewCollectionWithDefaults() *Collection

NewCollectionWithDefaults instantiates a new Collection 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 (*Collection) GetDescription

func (o *Collection) GetDescription() string

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

func (*Collection) GetDescriptionOk

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

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

func (*Collection) GetMembers

func (o *Collection) GetMembers() []IdRef

GetMembers returns the Members field value

func (*Collection) GetMembersOk

func (o *Collection) GetMembersOk() (*[]IdRef, bool)

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

func (*Collection) GetMembersodataCount

func (o *Collection) GetMembersodataCount() int32

GetMembersodataCount returns the MembersodataCount field value if set, zero value otherwise.

func (*Collection) GetMembersodataCountOk

func (o *Collection) GetMembersodataCountOk() (*int32, bool)

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

func (o *Collection) GetMembersodataNextLink() string

GetMembersodataNextLink returns the MembersodataNextLink field value if set, zero value otherwise.

func (*Collection) GetMembersodataNextLinkOk

func (o *Collection) GetMembersodataNextLinkOk() (*string, bool)

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

func (*Collection) GetName

func (o *Collection) GetName() string

GetName returns the Name field value

func (*Collection) GetNameOk

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

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

func (*Collection) GetOdataContext

func (o *Collection) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*Collection) GetOdataContextOk

func (o *Collection) GetOdataContextOk() (*string, bool)

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

func (*Collection) GetOdataEtag

func (o *Collection) GetOdataEtag() string

GetOdataEtag returns the OdataEtag field value if set, zero value otherwise.

func (*Collection) GetOdataEtagOk

func (o *Collection) GetOdataEtagOk() (*string, bool)

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

func (*Collection) GetOdataId

func (o *Collection) GetOdataId() string

GetOdataId returns the OdataId field value

func (*Collection) GetOdataIdOk

func (o *Collection) GetOdataIdOk() (*string, bool)

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

func (*Collection) GetOdataType

func (o *Collection) GetOdataType() string

GetOdataType returns the OdataType field value

func (*Collection) GetOdataTypeOk

func (o *Collection) GetOdataTypeOk() (*string, bool)

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

func (*Collection) HasDescription

func (o *Collection) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Collection) HasMembersodataCount

func (o *Collection) HasMembersodataCount() bool

HasMembersodataCount returns a boolean if a field has been set.

func (o *Collection) HasMembersodataNextLink() bool

HasMembersodataNextLink returns a boolean if a field has been set.

func (*Collection) HasOdataContext

func (o *Collection) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*Collection) HasOdataEtag

func (o *Collection) HasOdataEtag() bool

HasOdataEtag returns a boolean if a field has been set.

func (Collection) MarshalJSON

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

func (*Collection) SetDescription

func (o *Collection) SetDescription(v string)

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

func (*Collection) SetDescriptionNil

func (o *Collection) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Collection) SetMembers

func (o *Collection) SetMembers(v []IdRef)

SetMembers sets field value

func (*Collection) SetMembersodataCount

func (o *Collection) SetMembersodataCount(v int32)

SetMembersodataCount gets a reference to the given int32 and assigns it to the MembersodataCount field.

func (o *Collection) SetMembersodataNextLink(v string)

SetMembersodataNextLink gets a reference to the given string and assigns it to the MembersodataNextLink field.

func (*Collection) SetName

func (o *Collection) SetName(v string)

SetName sets field value

func (*Collection) SetOdataContext

func (o *Collection) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*Collection) SetOdataEtag

func (o *Collection) SetOdataEtag(v string)

SetOdataEtag gets a reference to the given string and assigns it to the OdataEtag field.

func (*Collection) SetOdataId

func (o *Collection) SetOdataId(v string)

SetOdataId sets field value

func (*Collection) SetOdataType

func (o *Collection) SetOdataType(v string)

SetOdataType sets field value

func (*Collection) UnsetDescription

func (o *Collection) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type ComputerSystem

type ComputerSystem struct {
	// The name of the resource.
	Id *string `json:"Id,omitempty"`
	// The name of the resource.
	Name *string `json:"Name,omitempty"`
	// redfish version
	RedfishVersion *string `json:"RedfishVersion,omitempty"`
	UUID           *string `json:"UUID,omitempty"`
	// The type of a resource.
	OdataType *string `json:"@odata.type,omitempty"`
	// The unique identifier for a resource.
	OdataId *string `json:"@odata.id,omitempty"`
	// The OData description of a payload.
	OdataContext *string `json:"@odata.context,omitempty"`
	// redfish copyright
	RedfishCopyright   *string                `json:"@Redfish.Copyright,omitempty"`
	Bios               *IdRef                 `json:"Bios,omitempty"`
	Processors         *IdRef                 `json:"Processors,omitempty"`
	Memory             *IdRef                 `json:"Memory,omitempty"`
	EthernetInterfaces *IdRef                 `json:"EthernetInterfaces,omitempty"`
	SimpleStorage      *IdRef                 `json:"SimpleStorage,omitempty"`
	PowerState         *PowerState            `json:"PowerState,omitempty"`
	Status             *Status                `json:"Status,omitempty"`
	Boot               *Boot                  `json:"Boot,omitempty"`
	ProcessorSummary   *ProcessorSummary      `json:"ProcessorSummary,omitempty"`
	MemorySummary      *MemorySummary         `json:"MemorySummary,omitempty"`
	IndicatorLED       *IndicatorLED          `json:"IndicatorLED,omitempty"`
	Links              *SystemLinks           `json:"Links,omitempty"`
	Actions            *ComputerSystemActions `json:"Actions,omitempty"`
}

ComputerSystem Root redfish path.

func NewComputerSystem

func NewComputerSystem() *ComputerSystem

NewComputerSystem instantiates a new ComputerSystem 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 NewComputerSystemWithDefaults

func NewComputerSystemWithDefaults() *ComputerSystem

NewComputerSystemWithDefaults instantiates a new ComputerSystem 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 (*ComputerSystem) GetActions

func (o *ComputerSystem) GetActions() ComputerSystemActions

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

func (*ComputerSystem) GetActionsOk

func (o *ComputerSystem) GetActionsOk() (*ComputerSystemActions, bool)

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

func (*ComputerSystem) GetBios

func (o *ComputerSystem) GetBios() IdRef

GetBios returns the Bios field value if set, zero value otherwise.

func (*ComputerSystem) GetBiosOk

func (o *ComputerSystem) GetBiosOk() (*IdRef, bool)

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 (*ComputerSystem) GetBoot

func (o *ComputerSystem) GetBoot() Boot

GetBoot returns the Boot field value if set, zero value otherwise.

func (*ComputerSystem) GetBootOk

func (o *ComputerSystem) GetBootOk() (*Boot, bool)

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

func (*ComputerSystem) GetEthernetInterfaces

func (o *ComputerSystem) GetEthernetInterfaces() IdRef

GetEthernetInterfaces returns the EthernetInterfaces field value if set, zero value otherwise.

func (*ComputerSystem) GetEthernetInterfacesOk

func (o *ComputerSystem) GetEthernetInterfacesOk() (*IdRef, bool)

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

func (*ComputerSystem) GetId

func (o *ComputerSystem) GetId() string

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

func (*ComputerSystem) GetIdOk

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

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

func (*ComputerSystem) GetIndicatorLED

func (o *ComputerSystem) GetIndicatorLED() IndicatorLED

GetIndicatorLED returns the IndicatorLED field value if set, zero value otherwise.

func (*ComputerSystem) GetIndicatorLEDOk

func (o *ComputerSystem) GetIndicatorLEDOk() (*IndicatorLED, bool)

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

func (o *ComputerSystem) GetLinks() SystemLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*ComputerSystem) GetLinksOk

func (o *ComputerSystem) GetLinksOk() (*SystemLinks, bool)

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

func (*ComputerSystem) GetMemory

func (o *ComputerSystem) GetMemory() IdRef

GetMemory returns the Memory field value if set, zero value otherwise.

func (*ComputerSystem) GetMemoryOk

func (o *ComputerSystem) GetMemoryOk() (*IdRef, bool)

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 (*ComputerSystem) GetMemorySummary

func (o *ComputerSystem) GetMemorySummary() MemorySummary

GetMemorySummary returns the MemorySummary field value if set, zero value otherwise.

func (*ComputerSystem) GetMemorySummaryOk

func (o *ComputerSystem) GetMemorySummaryOk() (*MemorySummary, bool)

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

func (*ComputerSystem) GetName

func (o *ComputerSystem) GetName() string

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

func (*ComputerSystem) GetNameOk

func (o *ComputerSystem) 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 (*ComputerSystem) GetOdataContext

func (o *ComputerSystem) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*ComputerSystem) GetOdataContextOk

func (o *ComputerSystem) GetOdataContextOk() (*string, bool)

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

func (*ComputerSystem) GetOdataId

func (o *ComputerSystem) GetOdataId() string

GetOdataId returns the OdataId field value if set, zero value otherwise.

func (*ComputerSystem) GetOdataIdOk

func (o *ComputerSystem) GetOdataIdOk() (*string, bool)

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

func (*ComputerSystem) GetOdataType

func (o *ComputerSystem) GetOdataType() string

GetOdataType returns the OdataType field value if set, zero value otherwise.

func (*ComputerSystem) GetOdataTypeOk

func (o *ComputerSystem) GetOdataTypeOk() (*string, bool)

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

func (*ComputerSystem) GetPowerState

func (o *ComputerSystem) GetPowerState() PowerState

GetPowerState returns the PowerState field value if set, zero value otherwise.

func (*ComputerSystem) GetPowerStateOk

func (o *ComputerSystem) GetPowerStateOk() (*PowerState, bool)

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

func (*ComputerSystem) GetProcessorSummary

func (o *ComputerSystem) GetProcessorSummary() ProcessorSummary

GetProcessorSummary returns the ProcessorSummary field value if set, zero value otherwise.

func (*ComputerSystem) GetProcessorSummaryOk

func (o *ComputerSystem) GetProcessorSummaryOk() (*ProcessorSummary, bool)

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

func (*ComputerSystem) GetProcessors

func (o *ComputerSystem) GetProcessors() IdRef

GetProcessors returns the Processors field value if set, zero value otherwise.

func (*ComputerSystem) GetProcessorsOk

func (o *ComputerSystem) GetProcessorsOk() (*IdRef, bool)

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

func (*ComputerSystem) GetRedfishCopyright

func (o *ComputerSystem) GetRedfishCopyright() string

GetRedfishCopyright returns the RedfishCopyright field value if set, zero value otherwise.

func (*ComputerSystem) GetRedfishCopyrightOk

func (o *ComputerSystem) GetRedfishCopyrightOk() (*string, bool)

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

func (*ComputerSystem) GetRedfishVersion

func (o *ComputerSystem) GetRedfishVersion() string

GetRedfishVersion returns the RedfishVersion field value if set, zero value otherwise.

func (*ComputerSystem) GetRedfishVersionOk

func (o *ComputerSystem) GetRedfishVersionOk() (*string, bool)

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

func (*ComputerSystem) GetSimpleStorage

func (o *ComputerSystem) GetSimpleStorage() IdRef

GetSimpleStorage returns the SimpleStorage field value if set, zero value otherwise.

func (*ComputerSystem) GetSimpleStorageOk

func (o *ComputerSystem) GetSimpleStorageOk() (*IdRef, bool)

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

func (*ComputerSystem) GetStatus

func (o *ComputerSystem) GetStatus() Status

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

func (*ComputerSystem) GetStatusOk

func (o *ComputerSystem) GetStatusOk() (*Status, 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 (*ComputerSystem) GetUUID

func (o *ComputerSystem) GetUUID() string

GetUUID returns the UUID field value if set, zero value otherwise.

func (*ComputerSystem) GetUUIDOk

func (o *ComputerSystem) 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 (*ComputerSystem) HasActions

func (o *ComputerSystem) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*ComputerSystem) HasBios

func (o *ComputerSystem) HasBios() bool

HasBios returns a boolean if a field has been set.

func (*ComputerSystem) HasBoot

func (o *ComputerSystem) HasBoot() bool

HasBoot returns a boolean if a field has been set.

func (*ComputerSystem) HasEthernetInterfaces

func (o *ComputerSystem) HasEthernetInterfaces() bool

HasEthernetInterfaces returns a boolean if a field has been set.

func (*ComputerSystem) HasId

func (o *ComputerSystem) HasId() bool

HasId returns a boolean if a field has been set.

func (*ComputerSystem) HasIndicatorLED

func (o *ComputerSystem) HasIndicatorLED() bool

HasIndicatorLED returns a boolean if a field has been set.

func (o *ComputerSystem) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ComputerSystem) HasMemory

func (o *ComputerSystem) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*ComputerSystem) HasMemorySummary

func (o *ComputerSystem) HasMemorySummary() bool

HasMemorySummary returns a boolean if a field has been set.

func (*ComputerSystem) HasName

func (o *ComputerSystem) HasName() bool

HasName returns a boolean if a field has been set.

func (*ComputerSystem) HasOdataContext

func (o *ComputerSystem) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*ComputerSystem) HasOdataId

func (o *ComputerSystem) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (*ComputerSystem) HasOdataType

func (o *ComputerSystem) HasOdataType() bool

HasOdataType returns a boolean if a field has been set.

func (*ComputerSystem) HasPowerState

func (o *ComputerSystem) HasPowerState() bool

HasPowerState returns a boolean if a field has been set.

func (*ComputerSystem) HasProcessorSummary

func (o *ComputerSystem) HasProcessorSummary() bool

HasProcessorSummary returns a boolean if a field has been set.

func (*ComputerSystem) HasProcessors

func (o *ComputerSystem) HasProcessors() bool

HasProcessors returns a boolean if a field has been set.

func (*ComputerSystem) HasRedfishCopyright

func (o *ComputerSystem) HasRedfishCopyright() bool

HasRedfishCopyright returns a boolean if a field has been set.

func (*ComputerSystem) HasRedfishVersion

func (o *ComputerSystem) HasRedfishVersion() bool

HasRedfishVersion returns a boolean if a field has been set.

func (*ComputerSystem) HasSimpleStorage

func (o *ComputerSystem) HasSimpleStorage() bool

HasSimpleStorage returns a boolean if a field has been set.

func (*ComputerSystem) HasStatus

func (o *ComputerSystem) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ComputerSystem) HasUUID

func (o *ComputerSystem) HasUUID() bool

HasUUID returns a boolean if a field has been set.

func (ComputerSystem) MarshalJSON

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

func (*ComputerSystem) SetActions

func (o *ComputerSystem) SetActions(v ComputerSystemActions)

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

func (*ComputerSystem) SetBios

func (o *ComputerSystem) SetBios(v IdRef)

SetBios gets a reference to the given IdRef and assigns it to the Bios field.

func (*ComputerSystem) SetBoot

func (o *ComputerSystem) SetBoot(v Boot)

SetBoot gets a reference to the given Boot and assigns it to the Boot field.

func (*ComputerSystem) SetEthernetInterfaces

func (o *ComputerSystem) SetEthernetInterfaces(v IdRef)

SetEthernetInterfaces gets a reference to the given IdRef and assigns it to the EthernetInterfaces field.

func (*ComputerSystem) SetId

func (o *ComputerSystem) SetId(v string)

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

func (*ComputerSystem) SetIndicatorLED

func (o *ComputerSystem) SetIndicatorLED(v IndicatorLED)

SetIndicatorLED gets a reference to the given IndicatorLED and assigns it to the IndicatorLED field.

func (o *ComputerSystem) SetLinks(v SystemLinks)

SetLinks gets a reference to the given SystemLinks and assigns it to the Links field.

func (*ComputerSystem) SetMemory

func (o *ComputerSystem) SetMemory(v IdRef)

SetMemory gets a reference to the given IdRef and assigns it to the Memory field.

func (*ComputerSystem) SetMemorySummary

func (o *ComputerSystem) SetMemorySummary(v MemorySummary)

SetMemorySummary gets a reference to the given MemorySummary and assigns it to the MemorySummary field.

func (*ComputerSystem) SetName

func (o *ComputerSystem) SetName(v string)

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

func (*ComputerSystem) SetOdataContext

func (o *ComputerSystem) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*ComputerSystem) SetOdataId

func (o *ComputerSystem) SetOdataId(v string)

SetOdataId gets a reference to the given string and assigns it to the OdataId field.

func (*ComputerSystem) SetOdataType

func (o *ComputerSystem) SetOdataType(v string)

SetOdataType gets a reference to the given string and assigns it to the OdataType field.

func (*ComputerSystem) SetPowerState

func (o *ComputerSystem) SetPowerState(v PowerState)

SetPowerState gets a reference to the given PowerState and assigns it to the PowerState field.

func (*ComputerSystem) SetProcessorSummary

func (o *ComputerSystem) SetProcessorSummary(v ProcessorSummary)

SetProcessorSummary gets a reference to the given ProcessorSummary and assigns it to the ProcessorSummary field.

func (*ComputerSystem) SetProcessors

func (o *ComputerSystem) SetProcessors(v IdRef)

SetProcessors gets a reference to the given IdRef and assigns it to the Processors field.

func (*ComputerSystem) SetRedfishCopyright

func (o *ComputerSystem) SetRedfishCopyright(v string)

SetRedfishCopyright gets a reference to the given string and assigns it to the RedfishCopyright field.

func (*ComputerSystem) SetRedfishVersion

func (o *ComputerSystem) SetRedfishVersion(v string)

SetRedfishVersion gets a reference to the given string and assigns it to the RedfishVersion field.

func (*ComputerSystem) SetSimpleStorage

func (o *ComputerSystem) SetSimpleStorage(v IdRef)

SetSimpleStorage gets a reference to the given IdRef and assigns it to the SimpleStorage field.

func (*ComputerSystem) SetStatus

func (o *ComputerSystem) SetStatus(v Status)

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

func (*ComputerSystem) SetUUID

func (o *ComputerSystem) SetUUID(v string)

SetUUID gets a reference to the given string and assigns it to the UUID field.

type ComputerSystemActions

type ComputerSystemActions struct {
	ComputerSystemReset *ComputerSystemReset `json:"#ComputerSystem.Reset,omitempty"`
}

ComputerSystemActions struct for ComputerSystemActions

func NewComputerSystemActions

func NewComputerSystemActions() *ComputerSystemActions

NewComputerSystemActions instantiates a new ComputerSystemActions 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 NewComputerSystemActionsWithDefaults

func NewComputerSystemActionsWithDefaults() *ComputerSystemActions

NewComputerSystemActionsWithDefaults instantiates a new ComputerSystemActions 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 (*ComputerSystemActions) GetComputerSystemReset

func (o *ComputerSystemActions) GetComputerSystemReset() ComputerSystemReset

GetComputerSystemReset returns the ComputerSystemReset field value if set, zero value otherwise.

func (*ComputerSystemActions) GetComputerSystemResetOk

func (o *ComputerSystemActions) GetComputerSystemResetOk() (*ComputerSystemReset, bool)

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

func (*ComputerSystemActions) HasComputerSystemReset

func (o *ComputerSystemActions) HasComputerSystemReset() bool

HasComputerSystemReset returns a boolean if a field has been set.

func (ComputerSystemActions) MarshalJSON

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

func (*ComputerSystemActions) SetComputerSystemReset

func (o *ComputerSystemActions) SetComputerSystemReset(v ComputerSystemReset)

SetComputerSystemReset gets a reference to the given ComputerSystemReset and assigns it to the ComputerSystemReset field.

type ComputerSystemReset

type ComputerSystemReset struct {
	// The unique identifier for a resource.
	Target                          *string      `json:"target,omitempty"`
	ResetTypeRedfishAllowableValues *[]ResetType `json:"ResetType@Redfish.AllowableValues,omitempty"`
}

ComputerSystemReset struct for ComputerSystemReset

func NewComputerSystemReset

func NewComputerSystemReset() *ComputerSystemReset

NewComputerSystemReset instantiates a new ComputerSystemReset 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 NewComputerSystemResetWithDefaults

func NewComputerSystemResetWithDefaults() *ComputerSystemReset

NewComputerSystemResetWithDefaults instantiates a new ComputerSystemReset 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 (*ComputerSystemReset) GetResetTypeRedfishAllowableValues

func (o *ComputerSystemReset) GetResetTypeRedfishAllowableValues() []ResetType

GetResetTypeRedfishAllowableValues returns the ResetTypeRedfishAllowableValues field value if set, zero value otherwise.

func (*ComputerSystemReset) GetResetTypeRedfishAllowableValuesOk

func (o *ComputerSystemReset) GetResetTypeRedfishAllowableValuesOk() (*[]ResetType, bool)

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

func (*ComputerSystemReset) GetTarget

func (o *ComputerSystemReset) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*ComputerSystemReset) GetTargetOk

func (o *ComputerSystemReset) GetTargetOk() (*string, bool)

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 (*ComputerSystemReset) HasResetTypeRedfishAllowableValues

func (o *ComputerSystemReset) HasResetTypeRedfishAllowableValues() bool

HasResetTypeRedfishAllowableValues returns a boolean if a field has been set.

func (*ComputerSystemReset) HasTarget

func (o *ComputerSystemReset) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (ComputerSystemReset) MarshalJSON

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

func (*ComputerSystemReset) SetResetTypeRedfishAllowableValues

func (o *ComputerSystemReset) SetResetTypeRedfishAllowableValues(v []ResetType)

SetResetTypeRedfishAllowableValues gets a reference to the given []ResetType and assigns it to the ResetTypeRedfishAllowableValues field.

func (*ComputerSystemReset) SetTarget

func (o *ComputerSystemReset) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target 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) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type ConnectedVia

type ConnectedVia string

ConnectedVia the model 'ConnectedVia'

const (
	CONNECTEDVIA_NOT_CONNECTED ConnectedVia = "NotConnected"
	CONNECTEDVIA_URI           ConnectedVia = "URI"
	CONNECTEDVIA_APPLET        ConnectedVia = "Applet"
	CONNECTEDVIA_OEM           ConnectedVia = "Oem"
)

List of ConnectedVia

func (ConnectedVia) Ptr

func (v ConnectedVia) Ptr() *ConnectedVia

Ptr returns reference to ConnectedVia value

func (*ConnectedVia) UnmarshalJSON

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

type CreateVirtualDiskRequestBody

type CreateVirtualDiskRequestBody struct {
	VolumeType VolumeType `json:"VolumeType"`
	Name       string     `json:"Name"`
	Drives     []IdRef    `json:"Drives"`
}

CreateVirtualDiskRequestBody struct for CreateVirtualDiskRequestBody

func NewCreateVirtualDiskRequestBody

func NewCreateVirtualDiskRequestBody(volumeType VolumeType, name string, drives []IdRef) *CreateVirtualDiskRequestBody

NewCreateVirtualDiskRequestBody instantiates a new CreateVirtualDiskRequestBody 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 NewCreateVirtualDiskRequestBodyWithDefaults

func NewCreateVirtualDiskRequestBodyWithDefaults() *CreateVirtualDiskRequestBody

NewCreateVirtualDiskRequestBodyWithDefaults instantiates a new CreateVirtualDiskRequestBody 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 (*CreateVirtualDiskRequestBody) GetDrives

func (o *CreateVirtualDiskRequestBody) GetDrives() []IdRef

GetDrives returns the Drives field value

func (*CreateVirtualDiskRequestBody) GetDrivesOk

func (o *CreateVirtualDiskRequestBody) GetDrivesOk() (*[]IdRef, bool)

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

func (*CreateVirtualDiskRequestBody) GetName

func (o *CreateVirtualDiskRequestBody) GetName() string

GetName returns the Name field value

func (*CreateVirtualDiskRequestBody) GetNameOk

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

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

func (*CreateVirtualDiskRequestBody) GetVolumeType

func (o *CreateVirtualDiskRequestBody) GetVolumeType() VolumeType

GetVolumeType returns the VolumeType field value

func (*CreateVirtualDiskRequestBody) GetVolumeTypeOk

func (o *CreateVirtualDiskRequestBody) GetVolumeTypeOk() (*VolumeType, bool)

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

func (CreateVirtualDiskRequestBody) MarshalJSON

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

func (*CreateVirtualDiskRequestBody) SetDrives

func (o *CreateVirtualDiskRequestBody) SetDrives(v []IdRef)

SetDrives sets field value

func (*CreateVirtualDiskRequestBody) SetName

func (o *CreateVirtualDiskRequestBody) SetName(v string)

SetName sets field value

func (*CreateVirtualDiskRequestBody) SetVolumeType

func (o *CreateVirtualDiskRequestBody) SetVolumeType(v VolumeType)

SetVolumeType sets field value

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) CreateVirtualDisk

func (a *DefaultApiService) CreateVirtualDisk(ctx _context.Context, computerSystemId string, storageControllerId string) ApiCreateVirtualDiskRequest

* CreateVirtualDisk Method for CreateVirtualDisk * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param computerSystemId System ID * @param storageControllerId Storage Controller ID * @return ApiCreateVirtualDiskRequest

func (*DefaultApiService) CreateVirtualDiskExecute

* Execute executes the request * @return RedfishError

func (*DefaultApiService) DeleteVirtualdisk

func (a *DefaultApiService) DeleteVirtualdisk(ctx _context.Context, computerSystemId string, storageId string) ApiDeleteVirtualdiskRequest

* DeleteVirtualdisk Method for DeleteVirtualdisk * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param computerSystemId System ID * @param storageId Storage ID * @return ApiDeleteVirtualdiskRequest

func (*DefaultApiService) DeleteVirtualdiskExecute

func (a *DefaultApiService) DeleteVirtualdiskExecute(r ApiDeleteVirtualdiskRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DefaultApiService) EjectVirtualMedia

func (a *DefaultApiService) EjectVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string) ApiEjectVirtualMediaRequest

* EjectVirtualMedia Method for EjectVirtualMedia * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param managerId ID of resource * @param virtualMediaId ID of resource * @return ApiEjectVirtualMediaRequest

func (*DefaultApiService) EjectVirtualMediaExecute

* Execute executes the request * @return RedfishError

func (*DefaultApiService) FirmwareInventory

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

func (*DefaultApiService) FirmwareInventoryDownloadImage

func (a *DefaultApiService) FirmwareInventoryDownloadImage(ctx _context.Context) ApiFirmwareInventoryDownloadImageRequest

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

func (*DefaultApiService) FirmwareInventoryDownloadImageExecute

func (a *DefaultApiService) FirmwareInventoryDownloadImageExecute(r ApiFirmwareInventoryDownloadImageRequest) (RedfishError, *_nethttp.Response, error)

* Execute executes the request * @return RedfishError

func (*DefaultApiService) FirmwareInventoryExecute

func (a *DefaultApiService) FirmwareInventoryExecute(r ApiFirmwareInventoryRequest) (Collection, *_nethttp.Response, error)

* Execute executes the request * @return Collection

func (*DefaultApiService) GetManager

func (a *DefaultApiService) GetManager(ctx _context.Context, managerId string) ApiGetManagerRequest

* GetManager Method for GetManager * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param managerId ID of resource * @return ApiGetManagerRequest

func (*DefaultApiService) GetManagerExecute

* Execute executes the request * @return Manager

func (*DefaultApiService) GetManagerVirtualMedia

func (a *DefaultApiService) GetManagerVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string) ApiGetManagerVirtualMediaRequest

* GetManagerVirtualMedia Method for GetManagerVirtualMedia * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param managerId ID of resource * @param virtualMediaId ID of resource * @return ApiGetManagerVirtualMediaRequest

func (*DefaultApiService) GetManagerVirtualMediaExecute

func (a *DefaultApiService) GetManagerVirtualMediaExecute(r ApiGetManagerVirtualMediaRequest) (VirtualMedia, *_nethttp.Response, error)

* Execute executes the request * @return VirtualMedia

func (*DefaultApiService) GetRoot

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

func (*DefaultApiService) GetRootExecute

func (a *DefaultApiService) GetRootExecute(r ApiGetRootRequest) (Root, *_nethttp.Response, error)

* Execute executes the request * @return Root

func (*DefaultApiService) GetSoftwareInventory

func (a *DefaultApiService) GetSoftwareInventory(ctx _context.Context, softwareId string) ApiGetSoftwareInventoryRequest

* GetSoftwareInventory Method for GetSoftwareInventory * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param softwareId ID of resource * @return ApiGetSoftwareInventoryRequest

func (*DefaultApiService) GetSoftwareInventoryExecute

* Execute executes the request * @return SoftwareInventory

func (*DefaultApiService) GetSystem

func (a *DefaultApiService) GetSystem(ctx _context.Context, systemId string) ApiGetSystemRequest

* GetSystem Method for GetSystem * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param systemId ID of resource * @return ApiGetSystemRequest

func (*DefaultApiService) GetSystemExecute

* Execute executes the request * @return ComputerSystem

func (*DefaultApiService) GetTask

func (a *DefaultApiService) GetTask(ctx _context.Context, taskId string) ApiGetTaskRequest

* GetTask Method for GetTask * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param taskId Task ID * @return ApiGetTaskRequest

func (*DefaultApiService) GetTaskExecute

func (a *DefaultApiService) GetTaskExecute(r ApiGetTaskRequest) (Task, *_nethttp.Response, error)

* Execute executes the request * @return Task

func (*DefaultApiService) GetTaskList

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

func (*DefaultApiService) GetTaskListExecute

* Execute executes the request * @return Collection

func (*DefaultApiService) GetVolumes

func (a *DefaultApiService) GetVolumes(ctx _context.Context, computerSystemId string, storageControllerId string) ApiGetVolumesRequest

* GetVolumes Method for GetVolumes * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param computerSystemId System ID * @param storageControllerId Storage Controller ID * @return ApiGetVolumesRequest

func (*DefaultApiService) GetVolumesExecute

* Execute executes the request * @return Collection

func (*DefaultApiService) InsertVirtualMedia

func (a *DefaultApiService) InsertVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string) ApiInsertVirtualMediaRequest

* InsertVirtualMedia Method for InsertVirtualMedia * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param managerId ID of resource * @param virtualMediaId ID of resource * @return ApiInsertVirtualMediaRequest

func (*DefaultApiService) InsertVirtualMediaExecute

* Execute executes the request * @return RedfishError

func (*DefaultApiService) ListManagerVirtualMedia

func (a *DefaultApiService) ListManagerVirtualMedia(ctx _context.Context, managerId string) ApiListManagerVirtualMediaRequest

* ListManagerVirtualMedia Method for ListManagerVirtualMedia * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param managerId ID of resource * @return ApiListManagerVirtualMediaRequest

func (*DefaultApiService) ListManagerVirtualMediaExecute

func (a *DefaultApiService) ListManagerVirtualMediaExecute(r ApiListManagerVirtualMediaRequest) (Collection, *_nethttp.Response, error)

* Execute executes the request * @return Collection

func (*DefaultApiService) ListManagers

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

func (*DefaultApiService) ListManagersExecute

* Execute executes the request * @return Collection

func (*DefaultApiService) ListSystems

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

func (*DefaultApiService) ListSystemsExecute

* Execute executes the request * @return Collection

func (*DefaultApiService) ResetIdrac

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

func (*DefaultApiService) ResetIdracExecute

func (a *DefaultApiService) ResetIdracExecute(r ApiResetIdracRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DefaultApiService) ResetSystem

func (a *DefaultApiService) ResetSystem(ctx _context.Context, computerSystemId string) ApiResetSystemRequest

* ResetSystem Method for ResetSystem * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param computerSystemId * @return ApiResetSystemRequest

func (*DefaultApiService) ResetSystemExecute

* Execute executes the request * @return RedfishError

func (*DefaultApiService) SetSystem

func (a *DefaultApiService) SetSystem(ctx _context.Context, systemId string) ApiSetSystemRequest

* SetSystem Method for SetSystem * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param systemId ID of resource * @return ApiSetSystemRequest

func (*DefaultApiService) SetSystemExecute

* Execute executes the request * @return ComputerSystem

func (*DefaultApiService) UpdateService

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

func (*DefaultApiService) UpdateServiceExecute

* Execute executes the request * @return UpdateService

func (*DefaultApiService) UpdateServiceSimpleUpdate

func (a *DefaultApiService) UpdateServiceSimpleUpdate(ctx _context.Context) ApiUpdateServiceSimpleUpdateRequest

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

func (*DefaultApiService) UpdateServiceSimpleUpdateExecute

func (a *DefaultApiService) UpdateServiceSimpleUpdateExecute(r ApiUpdateServiceSimpleUpdateRequest) (RedfishError, *_nethttp.Response, error)

* Execute executes the request * @return RedfishError

type FirmwareInventory

type FirmwareInventory struct {
	// The unique identifier for a resource.
	OdataId *string `json:"@odata.id,omitempty"`
}

FirmwareInventory struct for FirmwareInventory

func NewFirmwareInventory

func NewFirmwareInventory() *FirmwareInventory

NewFirmwareInventory instantiates a new FirmwareInventory 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 NewFirmwareInventoryWithDefaults

func NewFirmwareInventoryWithDefaults() *FirmwareInventory

NewFirmwareInventoryWithDefaults instantiates a new FirmwareInventory 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 (*FirmwareInventory) GetOdataId

func (o *FirmwareInventory) GetOdataId() string

GetOdataId returns the OdataId field value if set, zero value otherwise.

func (*FirmwareInventory) GetOdataIdOk

func (o *FirmwareInventory) GetOdataIdOk() (*string, bool)

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

func (*FirmwareInventory) HasOdataId

func (o *FirmwareInventory) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (FirmwareInventory) MarshalJSON

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

func (*FirmwareInventory) SetOdataId

func (o *FirmwareInventory) SetOdataId(v string)

SetOdataId gets a reference to the given string and assigns it to the OdataId 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 Health

type Health string

Health the model 'Health'

const (
	HEALTH_OK       Health = "OK"
	HEALTH_WARNING  Health = "Warning"
	HEALTH_CRITICAL Health = "Critical"
	HEALTH_UNKNOWN  Health = "Unknown"
)

List of Health

func (Health) Ptr

func (v Health) Ptr() *Health

Ptr returns reference to Health value

func (*Health) UnmarshalJSON

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

type IDRACResetRequestBody

type IDRACResetRequestBody struct {
	ResetType *IDRACResetType `json:"ResetType,omitempty"`
}

IDRACResetRequestBody struct for IDRACResetRequestBody

func NewIDRACResetRequestBody

func NewIDRACResetRequestBody() *IDRACResetRequestBody

NewIDRACResetRequestBody instantiates a new IDRACResetRequestBody 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 NewIDRACResetRequestBodyWithDefaults

func NewIDRACResetRequestBodyWithDefaults() *IDRACResetRequestBody

NewIDRACResetRequestBodyWithDefaults instantiates a new IDRACResetRequestBody 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 (*IDRACResetRequestBody) GetResetType

func (o *IDRACResetRequestBody) GetResetType() IDRACResetType

GetResetType returns the ResetType field value if set, zero value otherwise.

func (*IDRACResetRequestBody) GetResetTypeOk

func (o *IDRACResetRequestBody) GetResetTypeOk() (*IDRACResetType, bool)

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

func (*IDRACResetRequestBody) HasResetType

func (o *IDRACResetRequestBody) HasResetType() bool

HasResetType returns a boolean if a field has been set.

func (IDRACResetRequestBody) MarshalJSON

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

func (*IDRACResetRequestBody) SetResetType

func (o *IDRACResetRequestBody) SetResetType(v IDRACResetType)

SetResetType gets a reference to the given IDRACResetType and assigns it to the ResetType field.

type IDRACResetType

type IDRACResetType string

IDRACResetType the model 'IDRACResetType'

const (
	IDRACRESETTYPE_GRACEFUL_RESTART IDRACResetType = "GracefulRestart"
)

List of IDRACResetType

func (IDRACResetType) Ptr

func (v IDRACResetType) Ptr() *IDRACResetType

Ptr returns reference to IDRACResetType value

func (*IDRACResetType) UnmarshalJSON

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

type IdRef

type IdRef struct {
	// The unique identifier for a resource.
	OdataId *string `json:"@odata.id,omitempty"`
}

IdRef A reference to a resource.

func NewIdRef

func NewIdRef() *IdRef

NewIdRef instantiates a new IdRef 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 NewIdRefWithDefaults

func NewIdRefWithDefaults() *IdRef

NewIdRefWithDefaults instantiates a new IdRef 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 (*IdRef) GetOdataId

func (o *IdRef) GetOdataId() string

GetOdataId returns the OdataId field value if set, zero value otherwise.

func (*IdRef) GetOdataIdOk

func (o *IdRef) GetOdataIdOk() (*string, bool)

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

func (*IdRef) HasOdataId

func (o *IdRef) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (IdRef) MarshalJSON

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

func (*IdRef) SetOdataId

func (o *IdRef) SetOdataId(v string)

SetOdataId gets a reference to the given string and assigns it to the OdataId field.

type IndicatorLED

type IndicatorLED string

IndicatorLED the model 'IndicatorLED'

const (
	INDICATORLED_UNKNOWN  IndicatorLED = "Unknown"
	INDICATORLED_LIT      IndicatorLED = "Lit"
	INDICATORLED_BLINKING IndicatorLED = "Blinking"
	INDICATORLED_OFF      IndicatorLED = "Off"
)

List of IndicatorLED

func (IndicatorLED) Ptr

func (v IndicatorLED) Ptr() *IndicatorLED

Ptr returns reference to IndicatorLED value

func (*IndicatorLED) UnmarshalJSON

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

type InlineObject

type InlineObject struct {
	SoftwareImage **os.File `json:"softwareImage,omitempty"`
}

InlineObject struct for InlineObject

func NewInlineObject

func NewInlineObject() *InlineObject

NewInlineObject instantiates a new InlineObject 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 NewInlineObjectWithDefaults

func NewInlineObjectWithDefaults() *InlineObject

NewInlineObjectWithDefaults instantiates a new InlineObject 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 (*InlineObject) GetSoftwareImage

func (o *InlineObject) GetSoftwareImage() *os.File

GetSoftwareImage returns the SoftwareImage field value if set, zero value otherwise.

func (*InlineObject) GetSoftwareImageOk

func (o *InlineObject) GetSoftwareImageOk() (**os.File, bool)

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

func (*InlineObject) HasSoftwareImage

func (o *InlineObject) HasSoftwareImage() bool

HasSoftwareImage returns a boolean if a field has been set.

func (InlineObject) MarshalJSON

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

func (*InlineObject) SetSoftwareImage

func (o *InlineObject) SetSoftwareImage(v *os.File)

SetSoftwareImage gets a reference to the given *os.File and assigns it to the SoftwareImage field.

type InsertMediaRequestBody

type InsertMediaRequestBody struct {
	Image                string                `json:"Image"`
	Inserted             *bool                 `json:"Inserted,omitempty"`
	Password             *string               `json:"Password,omitempty"`
	TransferMethod       *TransferMethod       `json:"TransferMethod,omitempty"`
	TransferProtocolType *TransferProtocolType `json:"TransferProtocolType,omitempty"`
	UserName             *string               `json:"UserName,omitempty"`
	WriteProtected       *bool                 `json:"WriteProtected,omitempty"`
}

InsertMediaRequestBody struct for InsertMediaRequestBody

func NewInsertMediaRequestBody

func NewInsertMediaRequestBody(image string) *InsertMediaRequestBody

NewInsertMediaRequestBody instantiates a new InsertMediaRequestBody 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 NewInsertMediaRequestBodyWithDefaults

func NewInsertMediaRequestBodyWithDefaults() *InsertMediaRequestBody

NewInsertMediaRequestBodyWithDefaults instantiates a new InsertMediaRequestBody 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 (*InsertMediaRequestBody) GetImage

func (o *InsertMediaRequestBody) GetImage() string

GetImage returns the Image field value

func (*InsertMediaRequestBody) GetImageOk

func (o *InsertMediaRequestBody) GetImageOk() (*string, bool)

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

func (*InsertMediaRequestBody) GetInserted

func (o *InsertMediaRequestBody) GetInserted() bool

GetInserted returns the Inserted field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetInsertedOk

func (o *InsertMediaRequestBody) GetInsertedOk() (*bool, bool)

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

func (*InsertMediaRequestBody) GetPassword

func (o *InsertMediaRequestBody) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetPasswordOk

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

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

func (*InsertMediaRequestBody) GetTransferMethod

func (o *InsertMediaRequestBody) GetTransferMethod() TransferMethod

GetTransferMethod returns the TransferMethod field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetTransferMethodOk

func (o *InsertMediaRequestBody) GetTransferMethodOk() (*TransferMethod, bool)

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

func (*InsertMediaRequestBody) GetTransferProtocolType

func (o *InsertMediaRequestBody) GetTransferProtocolType() TransferProtocolType

GetTransferProtocolType returns the TransferProtocolType field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetTransferProtocolTypeOk

func (o *InsertMediaRequestBody) GetTransferProtocolTypeOk() (*TransferProtocolType, bool)

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

func (*InsertMediaRequestBody) GetUserName

func (o *InsertMediaRequestBody) GetUserName() string

GetUserName returns the UserName field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetUserNameOk

func (o *InsertMediaRequestBody) GetUserNameOk() (*string, bool)

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

func (*InsertMediaRequestBody) GetWriteProtected

func (o *InsertMediaRequestBody) GetWriteProtected() bool

GetWriteProtected returns the WriteProtected field value if set, zero value otherwise.

func (*InsertMediaRequestBody) GetWriteProtectedOk

func (o *InsertMediaRequestBody) GetWriteProtectedOk() (*bool, bool)

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

func (*InsertMediaRequestBody) HasInserted

func (o *InsertMediaRequestBody) HasInserted() bool

HasInserted returns a boolean if a field has been set.

func (*InsertMediaRequestBody) HasPassword

func (o *InsertMediaRequestBody) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*InsertMediaRequestBody) HasTransferMethod

func (o *InsertMediaRequestBody) HasTransferMethod() bool

HasTransferMethod returns a boolean if a field has been set.

func (*InsertMediaRequestBody) HasTransferProtocolType

func (o *InsertMediaRequestBody) HasTransferProtocolType() bool

HasTransferProtocolType returns a boolean if a field has been set.

func (*InsertMediaRequestBody) HasUserName

func (o *InsertMediaRequestBody) HasUserName() bool

HasUserName returns a boolean if a field has been set.

func (*InsertMediaRequestBody) HasWriteProtected

func (o *InsertMediaRequestBody) HasWriteProtected() bool

HasWriteProtected returns a boolean if a field has been set.

func (InsertMediaRequestBody) MarshalJSON

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

func (*InsertMediaRequestBody) SetImage

func (o *InsertMediaRequestBody) SetImage(v string)

SetImage sets field value

func (*InsertMediaRequestBody) SetInserted

func (o *InsertMediaRequestBody) SetInserted(v bool)

SetInserted gets a reference to the given bool and assigns it to the Inserted field.

func (*InsertMediaRequestBody) SetPassword

func (o *InsertMediaRequestBody) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*InsertMediaRequestBody) SetTransferMethod

func (o *InsertMediaRequestBody) SetTransferMethod(v TransferMethod)

SetTransferMethod gets a reference to the given TransferMethod and assigns it to the TransferMethod field.

func (*InsertMediaRequestBody) SetTransferProtocolType

func (o *InsertMediaRequestBody) SetTransferProtocolType(v TransferProtocolType)

SetTransferProtocolType gets a reference to the given TransferProtocolType and assigns it to the TransferProtocolType field.

func (*InsertMediaRequestBody) SetUserName

func (o *InsertMediaRequestBody) SetUserName(v string)

SetUserName gets a reference to the given string and assigns it to the UserName field.

func (*InsertMediaRequestBody) SetWriteProtected

func (o *InsertMediaRequestBody) SetWriteProtected(v bool)

SetWriteProtected gets a reference to the given bool and assigns it to the WriteProtected field.

type Manager

type Manager struct {
	// The name of the resource.
	Id *string `json:"Id,omitempty"`
	// The name of the resource.
	Name                  string  `json:"Name"`
	UUID                  *string `json:"UUID,omitempty"`
	ServiceEntryPointUUID *string `json:"ServiceEntryPointUUID,omitempty"`
	// The type of a resource.
	OdataType string `json:"@odata.type"`
	// The unique identifier for a resource.
	OdataId string `json:"@odata.id"`
	// The OData description of a payload.
	OdataContext *string `json:"@odata.context,omitempty"`
	// redfish copyright
	RedfishCopyright *string        `json:"@Redfish.Copyright,omitempty"`
	Model            NullableString `json:"Model,omitempty"`
	ManagerType      *ManagerType   `json:"ManagerType,omitempty"`
	Status           *Status        `json:"Status,omitempty"`
	DateTime         NullableString `json:"DateTime,omitempty"`
	// The time offset from UTC that the DateTime property is set to in format: +06:00 .
	DateTimeLocalOffset NullableString `json:"DateTimeLocalOffset,omitempty"`
	// description
	Description        NullableString `json:"Description,omitempty"`
	EthernetInterfaces *IdRef         `json:"EthernetInterfaces,omitempty"`
	FirmwareVersion    NullableString `json:"FirmwareVersion,omitempty"`
	Links              *ManagerLinks  `json:"Links,omitempty"`
	PowerState         *PowerState    `json:"PowerState,omitempty"`
	VirtualMedia       *IdRef         `json:"VirtualMedia,omitempty"`
}

Manager Redfish manager resource.

func NewManager

func NewManager(name string, odataType string, odataId string) *Manager

NewManager instantiates a new Manager 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 NewManagerWithDefaults

func NewManagerWithDefaults() *Manager

NewManagerWithDefaults instantiates a new Manager 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 (*Manager) GetDateTime

func (o *Manager) GetDateTime() string

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

func (*Manager) GetDateTimeLocalOffset

func (o *Manager) GetDateTimeLocalOffset() string

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

func (*Manager) GetDateTimeLocalOffsetOk

func (o *Manager) GetDateTimeLocalOffsetOk() (*string, bool)

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

func (*Manager) GetDateTimeOk

func (o *Manager) GetDateTimeOk() (*string, bool)

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

func (*Manager) GetDescription

func (o *Manager) GetDescription() string

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

func (*Manager) GetDescriptionOk

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

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

func (*Manager) GetEthernetInterfaces

func (o *Manager) GetEthernetInterfaces() IdRef

GetEthernetInterfaces returns the EthernetInterfaces field value if set, zero value otherwise.

func (*Manager) GetEthernetInterfacesOk

func (o *Manager) GetEthernetInterfacesOk() (*IdRef, bool)

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

func (*Manager) GetFirmwareVersion

func (o *Manager) GetFirmwareVersion() string

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

func (*Manager) GetFirmwareVersionOk

func (o *Manager) GetFirmwareVersionOk() (*string, bool)

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

func (*Manager) GetId

func (o *Manager) GetId() string

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

func (*Manager) GetIdOk

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

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

func (o *Manager) GetLinks() ManagerLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Manager) GetLinksOk

func (o *Manager) GetLinksOk() (*ManagerLinks, bool)

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

func (*Manager) GetManagerType

func (o *Manager) GetManagerType() ManagerType

GetManagerType returns the ManagerType field value if set, zero value otherwise.

func (*Manager) GetManagerTypeOk

func (o *Manager) GetManagerTypeOk() (*ManagerType, bool)

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

func (*Manager) GetModel

func (o *Manager) GetModel() string

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

func (*Manager) GetModelOk

func (o *Manager) GetModelOk() (*string, bool)

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

func (*Manager) GetName

func (o *Manager) GetName() string

GetName returns the Name field value

func (*Manager) GetNameOk

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

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

func (*Manager) GetOdataContext

func (o *Manager) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*Manager) GetOdataContextOk

func (o *Manager) GetOdataContextOk() (*string, bool)

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

func (*Manager) GetOdataId

func (o *Manager) GetOdataId() string

GetOdataId returns the OdataId field value

func (*Manager) GetOdataIdOk

func (o *Manager) GetOdataIdOk() (*string, bool)

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

func (*Manager) GetOdataType

func (o *Manager) GetOdataType() string

GetOdataType returns the OdataType field value

func (*Manager) GetOdataTypeOk

func (o *Manager) GetOdataTypeOk() (*string, bool)

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

func (*Manager) GetPowerState

func (o *Manager) GetPowerState() PowerState

GetPowerState returns the PowerState field value if set, zero value otherwise.

func (*Manager) GetPowerStateOk

func (o *Manager) GetPowerStateOk() (*PowerState, bool)

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

func (*Manager) GetRedfishCopyright

func (o *Manager) GetRedfishCopyright() string

GetRedfishCopyright returns the RedfishCopyright field value if set, zero value otherwise.

func (*Manager) GetRedfishCopyrightOk

func (o *Manager) GetRedfishCopyrightOk() (*string, bool)

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

func (*Manager) GetServiceEntryPointUUID

func (o *Manager) GetServiceEntryPointUUID() string

GetServiceEntryPointUUID returns the ServiceEntryPointUUID field value if set, zero value otherwise.

func (*Manager) GetServiceEntryPointUUIDOk

func (o *Manager) GetServiceEntryPointUUIDOk() (*string, bool)

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

func (*Manager) GetStatus

func (o *Manager) GetStatus() Status

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

func (*Manager) GetStatusOk

func (o *Manager) GetStatusOk() (*Status, 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 (*Manager) GetUUID

func (o *Manager) GetUUID() string

GetUUID returns the UUID field value if set, zero value otherwise.

func (*Manager) GetUUIDOk

func (o *Manager) 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 (*Manager) GetVirtualMedia

func (o *Manager) GetVirtualMedia() IdRef

GetVirtualMedia returns the VirtualMedia field value if set, zero value otherwise.

func (*Manager) GetVirtualMediaOk

func (o *Manager) GetVirtualMediaOk() (*IdRef, bool)

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

func (*Manager) HasDateTime

func (o *Manager) HasDateTime() bool

HasDateTime returns a boolean if a field has been set.

func (*Manager) HasDateTimeLocalOffset

func (o *Manager) HasDateTimeLocalOffset() bool

HasDateTimeLocalOffset returns a boolean if a field has been set.

func (*Manager) HasDescription

func (o *Manager) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Manager) HasEthernetInterfaces

func (o *Manager) HasEthernetInterfaces() bool

HasEthernetInterfaces returns a boolean if a field has been set.

func (*Manager) HasFirmwareVersion

func (o *Manager) HasFirmwareVersion() bool

HasFirmwareVersion returns a boolean if a field has been set.

func (*Manager) HasId

func (o *Manager) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Manager) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Manager) HasManagerType

func (o *Manager) HasManagerType() bool

HasManagerType returns a boolean if a field has been set.

func (*Manager) HasModel

func (o *Manager) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*Manager) HasOdataContext

func (o *Manager) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*Manager) HasPowerState

func (o *Manager) HasPowerState() bool

HasPowerState returns a boolean if a field has been set.

func (*Manager) HasRedfishCopyright

func (o *Manager) HasRedfishCopyright() bool

HasRedfishCopyright returns a boolean if a field has been set.

func (*Manager) HasServiceEntryPointUUID

func (o *Manager) HasServiceEntryPointUUID() bool

HasServiceEntryPointUUID returns a boolean if a field has been set.

func (*Manager) HasStatus

func (o *Manager) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Manager) HasUUID

func (o *Manager) HasUUID() bool

HasUUID returns a boolean if a field has been set.

func (*Manager) HasVirtualMedia

func (o *Manager) HasVirtualMedia() bool

HasVirtualMedia returns a boolean if a field has been set.

func (Manager) MarshalJSON

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

func (*Manager) SetDateTime

func (o *Manager) SetDateTime(v string)

SetDateTime gets a reference to the given NullableString and assigns it to the DateTime field.

func (*Manager) SetDateTimeLocalOffset

func (o *Manager) SetDateTimeLocalOffset(v string)

SetDateTimeLocalOffset gets a reference to the given NullableString and assigns it to the DateTimeLocalOffset field.

func (*Manager) SetDateTimeLocalOffsetNil

func (o *Manager) SetDateTimeLocalOffsetNil()

SetDateTimeLocalOffsetNil sets the value for DateTimeLocalOffset to be an explicit nil

func (*Manager) SetDateTimeNil

func (o *Manager) SetDateTimeNil()

SetDateTimeNil sets the value for DateTime to be an explicit nil

func (*Manager) SetDescription

func (o *Manager) SetDescription(v string)

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

func (*Manager) SetDescriptionNil

func (o *Manager) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Manager) SetEthernetInterfaces

func (o *Manager) SetEthernetInterfaces(v IdRef)

SetEthernetInterfaces gets a reference to the given IdRef and assigns it to the EthernetInterfaces field.

func (*Manager) SetFirmwareVersion

func (o *Manager) SetFirmwareVersion(v string)

SetFirmwareVersion gets a reference to the given NullableString and assigns it to the FirmwareVersion field.

func (*Manager) SetFirmwareVersionNil

func (o *Manager) SetFirmwareVersionNil()

SetFirmwareVersionNil sets the value for FirmwareVersion to be an explicit nil

func (*Manager) SetId

func (o *Manager) SetId(v string)

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

func (o *Manager) SetLinks(v ManagerLinks)

SetLinks gets a reference to the given ManagerLinks and assigns it to the Links field.

func (*Manager) SetManagerType

func (o *Manager) SetManagerType(v ManagerType)

SetManagerType gets a reference to the given ManagerType and assigns it to the ManagerType field.

func (*Manager) SetModel

func (o *Manager) SetModel(v string)

SetModel gets a reference to the given NullableString and assigns it to the Model field.

func (*Manager) SetModelNil

func (o *Manager) SetModelNil()

SetModelNil sets the value for Model to be an explicit nil

func (*Manager) SetName

func (o *Manager) SetName(v string)

SetName sets field value

func (*Manager) SetOdataContext

func (o *Manager) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*Manager) SetOdataId

func (o *Manager) SetOdataId(v string)

SetOdataId sets field value

func (*Manager) SetOdataType

func (o *Manager) SetOdataType(v string)

SetOdataType sets field value

func (*Manager) SetPowerState

func (o *Manager) SetPowerState(v PowerState)

SetPowerState gets a reference to the given PowerState and assigns it to the PowerState field.

func (*Manager) SetRedfishCopyright

func (o *Manager) SetRedfishCopyright(v string)

SetRedfishCopyright gets a reference to the given string and assigns it to the RedfishCopyright field.

func (*Manager) SetServiceEntryPointUUID

func (o *Manager) SetServiceEntryPointUUID(v string)

SetServiceEntryPointUUID gets a reference to the given string and assigns it to the ServiceEntryPointUUID field.

func (*Manager) SetStatus

func (o *Manager) SetStatus(v Status)

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

func (*Manager) SetUUID

func (o *Manager) SetUUID(v string)

SetUUID gets a reference to the given string and assigns it to the UUID field.

func (*Manager) SetVirtualMedia

func (o *Manager) SetVirtualMedia(v IdRef)

SetVirtualMedia gets a reference to the given IdRef and assigns it to the VirtualMedia field.

func (*Manager) UnsetDateTime

func (o *Manager) UnsetDateTime()

UnsetDateTime ensures that no value is present for DateTime, not even an explicit nil

func (*Manager) UnsetDateTimeLocalOffset

func (o *Manager) UnsetDateTimeLocalOffset()

UnsetDateTimeLocalOffset ensures that no value is present for DateTimeLocalOffset, not even an explicit nil

func (*Manager) UnsetDescription

func (o *Manager) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Manager) UnsetFirmwareVersion

func (o *Manager) UnsetFirmwareVersion()

UnsetFirmwareVersion ensures that no value is present for FirmwareVersion, not even an explicit nil

func (*Manager) UnsetModel

func (o *Manager) UnsetModel()

UnsetModel ensures that no value is present for Model, not even an explicit nil

type ManagerLinks struct {
	ManagerForServers  *[]IdRef `json:"ManagerForServers,omitempty"`
	ManagerForChassis  *[]IdRef `json:"ManagerForChassis,omitempty"`
	ManagerForSwitches *[]IdRef `json:"ManagerForSwitches,omitempty"`
	ManagerInChassis   *[]IdRef `json:"ManagerInChassis,omitempty"`
}

ManagerLinks struct for ManagerLinks

func NewManagerLinks() *ManagerLinks

NewManagerLinks instantiates a new ManagerLinks 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 NewManagerLinksWithDefaults

func NewManagerLinksWithDefaults() *ManagerLinks

NewManagerLinksWithDefaults instantiates a new ManagerLinks 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 (*ManagerLinks) GetManagerForChassis

func (o *ManagerLinks) GetManagerForChassis() []IdRef

GetManagerForChassis returns the ManagerForChassis field value if set, zero value otherwise.

func (*ManagerLinks) GetManagerForChassisOk

func (o *ManagerLinks) GetManagerForChassisOk() (*[]IdRef, bool)

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

func (*ManagerLinks) GetManagerForServers

func (o *ManagerLinks) GetManagerForServers() []IdRef

GetManagerForServers returns the ManagerForServers field value if set, zero value otherwise.

func (*ManagerLinks) GetManagerForServersOk

func (o *ManagerLinks) GetManagerForServersOk() (*[]IdRef, bool)

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

func (*ManagerLinks) GetManagerForSwitches

func (o *ManagerLinks) GetManagerForSwitches() []IdRef

GetManagerForSwitches returns the ManagerForSwitches field value if set, zero value otherwise.

func (*ManagerLinks) GetManagerForSwitchesOk

func (o *ManagerLinks) GetManagerForSwitchesOk() (*[]IdRef, bool)

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

func (*ManagerLinks) GetManagerInChassis

func (o *ManagerLinks) GetManagerInChassis() []IdRef

GetManagerInChassis returns the ManagerInChassis field value if set, zero value otherwise.

func (*ManagerLinks) GetManagerInChassisOk

func (o *ManagerLinks) GetManagerInChassisOk() (*[]IdRef, bool)

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

func (*ManagerLinks) HasManagerForChassis

func (o *ManagerLinks) HasManagerForChassis() bool

HasManagerForChassis returns a boolean if a field has been set.

func (*ManagerLinks) HasManagerForServers

func (o *ManagerLinks) HasManagerForServers() bool

HasManagerForServers returns a boolean if a field has been set.

func (*ManagerLinks) HasManagerForSwitches

func (o *ManagerLinks) HasManagerForSwitches() bool

HasManagerForSwitches returns a boolean if a field has been set.

func (*ManagerLinks) HasManagerInChassis

func (o *ManagerLinks) HasManagerInChassis() bool

HasManagerInChassis returns a boolean if a field has been set.

func (ManagerLinks) MarshalJSON

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

func (*ManagerLinks) SetManagerForChassis

func (o *ManagerLinks) SetManagerForChassis(v []IdRef)

SetManagerForChassis gets a reference to the given []IdRef and assigns it to the ManagerForChassis field.

func (*ManagerLinks) SetManagerForServers

func (o *ManagerLinks) SetManagerForServers(v []IdRef)

SetManagerForServers gets a reference to the given []IdRef and assigns it to the ManagerForServers field.

func (*ManagerLinks) SetManagerForSwitches

func (o *ManagerLinks) SetManagerForSwitches(v []IdRef)

SetManagerForSwitches gets a reference to the given []IdRef and assigns it to the ManagerForSwitches field.

func (*ManagerLinks) SetManagerInChassis

func (o *ManagerLinks) SetManagerInChassis(v []IdRef)

SetManagerInChassis gets a reference to the given []IdRef and assigns it to the ManagerInChassis field.

type ManagerType

type ManagerType string

ManagerType the model 'ManagerType'

const (
	MANAGERTYPE_MANAGEMENT_CONTROLLER ManagerType = "ManagementController"
	MANAGERTYPE_ENCLOSURE_MANAGER     ManagerType = "EnclosureManager"
	MANAGERTYPE_BMC                   ManagerType = "BMC"
	MANAGERTYPE_RACK_MANAGER          ManagerType = "RackManager"
	MANAGERTYPE_AUXILIARY_CONTROLLER  ManagerType = "AuxiliaryController"
	MANAGERTYPE_SERVICE               ManagerType = "Service"
)

List of ManagerType

func (ManagerType) Ptr

func (v ManagerType) Ptr() *ManagerType

Ptr returns reference to ManagerType value

func (*ManagerType) UnmarshalJSON

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

type MemorySummary

type MemorySummary struct {
	TotalSystemMemoryGiB           NullableFloat32 `json:"TotalSystemMemoryGiB,omitempty"`
	TotalSystemPersistentMemoryGiB NullableFloat32 `json:"TotalSystemPersistentMemoryGiB,omitempty"`
	Status                         *Status         `json:"Status,omitempty"`
}

MemorySummary struct for MemorySummary

func NewMemorySummary

func NewMemorySummary() *MemorySummary

NewMemorySummary instantiates a new MemorySummary 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 NewMemorySummaryWithDefaults

func NewMemorySummaryWithDefaults() *MemorySummary

NewMemorySummaryWithDefaults instantiates a new MemorySummary 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 (*MemorySummary) GetStatus

func (o *MemorySummary) GetStatus() Status

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

func (*MemorySummary) GetStatusOk

func (o *MemorySummary) GetStatusOk() (*Status, 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 (*MemorySummary) GetTotalSystemMemoryGiB

func (o *MemorySummary) GetTotalSystemMemoryGiB() float32

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

func (*MemorySummary) GetTotalSystemMemoryGiBOk

func (o *MemorySummary) GetTotalSystemMemoryGiBOk() (*float32, bool)

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

func (*MemorySummary) GetTotalSystemPersistentMemoryGiB

func (o *MemorySummary) GetTotalSystemPersistentMemoryGiB() float32

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

func (*MemorySummary) GetTotalSystemPersistentMemoryGiBOk

func (o *MemorySummary) GetTotalSystemPersistentMemoryGiBOk() (*float32, bool)

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

func (*MemorySummary) HasStatus

func (o *MemorySummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MemorySummary) HasTotalSystemMemoryGiB

func (o *MemorySummary) HasTotalSystemMemoryGiB() bool

HasTotalSystemMemoryGiB returns a boolean if a field has been set.

func (*MemorySummary) HasTotalSystemPersistentMemoryGiB

func (o *MemorySummary) HasTotalSystemPersistentMemoryGiB() bool

HasTotalSystemPersistentMemoryGiB returns a boolean if a field has been set.

func (MemorySummary) MarshalJSON

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

func (*MemorySummary) SetStatus

func (o *MemorySummary) SetStatus(v Status)

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

func (*MemorySummary) SetTotalSystemMemoryGiB

func (o *MemorySummary) SetTotalSystemMemoryGiB(v float32)

SetTotalSystemMemoryGiB gets a reference to the given NullableFloat32 and assigns it to the TotalSystemMemoryGiB field.

func (*MemorySummary) SetTotalSystemMemoryGiBNil

func (o *MemorySummary) SetTotalSystemMemoryGiBNil()

SetTotalSystemMemoryGiBNil sets the value for TotalSystemMemoryGiB to be an explicit nil

func (*MemorySummary) SetTotalSystemPersistentMemoryGiB

func (o *MemorySummary) SetTotalSystemPersistentMemoryGiB(v float32)

SetTotalSystemPersistentMemoryGiB gets a reference to the given NullableFloat32 and assigns it to the TotalSystemPersistentMemoryGiB field.

func (*MemorySummary) SetTotalSystemPersistentMemoryGiBNil

func (o *MemorySummary) SetTotalSystemPersistentMemoryGiBNil()

SetTotalSystemPersistentMemoryGiBNil sets the value for TotalSystemPersistentMemoryGiB to be an explicit nil

func (*MemorySummary) UnsetTotalSystemMemoryGiB

func (o *MemorySummary) UnsetTotalSystemMemoryGiB()

UnsetTotalSystemMemoryGiB ensures that no value is present for TotalSystemMemoryGiB, not even an explicit nil

func (*MemorySummary) UnsetTotalSystemPersistentMemoryGiB

func (o *MemorySummary) UnsetTotalSystemPersistentMemoryGiB()

UnsetTotalSystemPersistentMemoryGiB ensures that no value is present for TotalSystemPersistentMemoryGiB, not even an explicit nil

type Message

type Message struct {
	Message           *string   `json:"Message,omitempty"`
	MessageArgs       *[]string `json:"MessageArgs,omitempty"`
	MessageId         string    `json:"MessageId"`
	RelatedProperties *[]string `json:"RelatedProperties,omitempty"`
	Resolution        *string   `json:"Resolution,omitempty"`
	Severity          *string   `json:"Severity,omitempty"`
}

Message struct for Message

func NewMessage

func NewMessage(messageId string) *Message

NewMessage instantiates a new Message 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 NewMessageWithDefaults

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message 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 (*Message) GetMessage

func (o *Message) GetMessage() string

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

func (*Message) GetMessageArgs

func (o *Message) GetMessageArgs() []string

GetMessageArgs returns the MessageArgs field value if set, zero value otherwise.

func (*Message) GetMessageArgsOk

func (o *Message) GetMessageArgsOk() (*[]string, bool)

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

func (*Message) GetMessageId

func (o *Message) GetMessageId() string

GetMessageId returns the MessageId field value

func (*Message) GetMessageIdOk

func (o *Message) GetMessageIdOk() (*string, bool)

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

func (*Message) GetMessageOk

func (o *Message) GetMessageOk() (*string, bool)

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

func (*Message) GetRelatedProperties

func (o *Message) GetRelatedProperties() []string

GetRelatedProperties returns the RelatedProperties field value if set, zero value otherwise.

func (*Message) GetRelatedPropertiesOk

func (o *Message) GetRelatedPropertiesOk() (*[]string, bool)

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

func (*Message) GetResolution

func (o *Message) GetResolution() string

GetResolution returns the Resolution field value if set, zero value otherwise.

func (*Message) GetResolutionOk

func (o *Message) GetResolutionOk() (*string, bool)

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

func (*Message) GetSeverity

func (o *Message) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*Message) GetSeverityOk

func (o *Message) GetSeverityOk() (*string, bool)

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

func (*Message) HasMessage

func (o *Message) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Message) HasMessageArgs

func (o *Message) HasMessageArgs() bool

HasMessageArgs returns a boolean if a field has been set.

func (*Message) HasRelatedProperties

func (o *Message) HasRelatedProperties() bool

HasRelatedProperties returns a boolean if a field has been set.

func (*Message) HasResolution

func (o *Message) HasResolution() bool

HasResolution returns a boolean if a field has been set.

func (*Message) HasSeverity

func (o *Message) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (Message) MarshalJSON

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

func (*Message) SetMessage

func (o *Message) SetMessage(v string)

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

func (*Message) SetMessageArgs

func (o *Message) SetMessageArgs(v []string)

SetMessageArgs gets a reference to the given []string and assigns it to the MessageArgs field.

func (*Message) SetMessageId

func (o *Message) SetMessageId(v string)

SetMessageId sets field value

func (*Message) SetRelatedProperties

func (o *Message) SetRelatedProperties(v []string)

SetRelatedProperties gets a reference to the given []string and assigns it to the RelatedProperties field.

func (*Message) SetResolution

func (o *Message) SetResolution(v string)

SetResolution gets a reference to the given string and assigns it to the Resolution field.

func (*Message) SetSeverity

func (o *Message) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

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 NullableBoot

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

func NewNullableBoot

func NewNullableBoot(val *Boot) *NullableBoot

func (NullableBoot) Get

func (v NullableBoot) Get() *Boot

func (NullableBoot) IsSet

func (v NullableBoot) IsSet() bool

func (NullableBoot) MarshalJSON

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

func (*NullableBoot) Set

func (v *NullableBoot) Set(val *Boot)

func (*NullableBoot) UnmarshalJSON

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

func (*NullableBoot) Unset

func (v *NullableBoot) Unset()

type NullableBootSource

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

func NewNullableBootSource

func NewNullableBootSource(val *BootSource) *NullableBootSource

func (NullableBootSource) Get

func (v NullableBootSource) Get() *BootSource

func (NullableBootSource) IsSet

func (v NullableBootSource) IsSet() bool

func (NullableBootSource) MarshalJSON

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

func (*NullableBootSource) Set

func (v *NullableBootSource) Set(val *BootSource)

func (*NullableBootSource) UnmarshalJSON

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

func (*NullableBootSource) Unset

func (v *NullableBootSource) Unset()

type NullableBootSourceOverrideEnabled

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

func (NullableBootSourceOverrideEnabled) Get

func (NullableBootSourceOverrideEnabled) IsSet

func (NullableBootSourceOverrideEnabled) MarshalJSON

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

func (*NullableBootSourceOverrideEnabled) Set

func (*NullableBootSourceOverrideEnabled) UnmarshalJSON

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

func (*NullableBootSourceOverrideEnabled) Unset

type NullableCollection

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

func NewNullableCollection

func NewNullableCollection(val *Collection) *NullableCollection

func (NullableCollection) Get

func (v NullableCollection) Get() *Collection

func (NullableCollection) IsSet

func (v NullableCollection) IsSet() bool

func (NullableCollection) MarshalJSON

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

func (*NullableCollection) Set

func (v *NullableCollection) Set(val *Collection)

func (*NullableCollection) UnmarshalJSON

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

func (*NullableCollection) Unset

func (v *NullableCollection) Unset()

type NullableComputerSystem

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

func NewNullableComputerSystem

func NewNullableComputerSystem(val *ComputerSystem) *NullableComputerSystem

func (NullableComputerSystem) Get

func (NullableComputerSystem) IsSet

func (v NullableComputerSystem) IsSet() bool

func (NullableComputerSystem) MarshalJSON

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

func (*NullableComputerSystem) Set

func (*NullableComputerSystem) UnmarshalJSON

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

func (*NullableComputerSystem) Unset

func (v *NullableComputerSystem) Unset()

type NullableComputerSystemActions

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

func (NullableComputerSystemActions) Get

func (NullableComputerSystemActions) IsSet

func (NullableComputerSystemActions) MarshalJSON

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

func (*NullableComputerSystemActions) Set

func (*NullableComputerSystemActions) UnmarshalJSON

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

func (*NullableComputerSystemActions) Unset

func (v *NullableComputerSystemActions) Unset()

type NullableComputerSystemReset

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

func NewNullableComputerSystemReset

func NewNullableComputerSystemReset(val *ComputerSystemReset) *NullableComputerSystemReset

func (NullableComputerSystemReset) Get

func (NullableComputerSystemReset) IsSet

func (NullableComputerSystemReset) MarshalJSON

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

func (*NullableComputerSystemReset) Set

func (*NullableComputerSystemReset) UnmarshalJSON

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

func (*NullableComputerSystemReset) Unset

func (v *NullableComputerSystemReset) Unset()

type NullableConnectedVia

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

func NewNullableConnectedVia

func NewNullableConnectedVia(val *ConnectedVia) *NullableConnectedVia

func (NullableConnectedVia) Get

func (NullableConnectedVia) IsSet

func (v NullableConnectedVia) IsSet() bool

func (NullableConnectedVia) MarshalJSON

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

func (*NullableConnectedVia) Set

func (v *NullableConnectedVia) Set(val *ConnectedVia)

func (*NullableConnectedVia) UnmarshalJSON

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

func (*NullableConnectedVia) Unset

func (v *NullableConnectedVia) Unset()

type NullableCreateVirtualDiskRequestBody

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

func (NullableCreateVirtualDiskRequestBody) Get

func (NullableCreateVirtualDiskRequestBody) IsSet

func (NullableCreateVirtualDiskRequestBody) MarshalJSON

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

func (*NullableCreateVirtualDiskRequestBody) Set

func (*NullableCreateVirtualDiskRequestBody) UnmarshalJSON

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

func (*NullableCreateVirtualDiskRequestBody) Unset

type NullableFirmwareInventory

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

func NewNullableFirmwareInventory

func NewNullableFirmwareInventory(val *FirmwareInventory) *NullableFirmwareInventory

func (NullableFirmwareInventory) Get

func (NullableFirmwareInventory) IsSet

func (v NullableFirmwareInventory) IsSet() bool

func (NullableFirmwareInventory) MarshalJSON

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

func (*NullableFirmwareInventory) Set

func (*NullableFirmwareInventory) UnmarshalJSON

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

func (*NullableFirmwareInventory) Unset

func (v *NullableFirmwareInventory) 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 NullableHealth

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

func NewNullableHealth

func NewNullableHealth(val *Health) *NullableHealth

func (NullableHealth) Get

func (v NullableHealth) Get() *Health

func (NullableHealth) IsSet

func (v NullableHealth) IsSet() bool

func (NullableHealth) MarshalJSON

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

func (*NullableHealth) Set

func (v *NullableHealth) Set(val *Health)

func (*NullableHealth) UnmarshalJSON

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

func (*NullableHealth) Unset

func (v *NullableHealth) Unset()

type NullableIDRACResetRequestBody

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

func (NullableIDRACResetRequestBody) Get

func (NullableIDRACResetRequestBody) IsSet

func (NullableIDRACResetRequestBody) MarshalJSON

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

func (*NullableIDRACResetRequestBody) Set

func (*NullableIDRACResetRequestBody) UnmarshalJSON

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

func (*NullableIDRACResetRequestBody) Unset

func (v *NullableIDRACResetRequestBody) Unset()

type NullableIDRACResetType

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

func NewNullableIDRACResetType

func NewNullableIDRACResetType(val *IDRACResetType) *NullableIDRACResetType

func (NullableIDRACResetType) Get

func (NullableIDRACResetType) IsSet

func (v NullableIDRACResetType) IsSet() bool

func (NullableIDRACResetType) MarshalJSON

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

func (*NullableIDRACResetType) Set

func (*NullableIDRACResetType) UnmarshalJSON

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

func (*NullableIDRACResetType) Unset

func (v *NullableIDRACResetType) Unset()

type NullableIdRef

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

func NewNullableIdRef

func NewNullableIdRef(val *IdRef) *NullableIdRef

func (NullableIdRef) Get

func (v NullableIdRef) Get() *IdRef

func (NullableIdRef) IsSet

func (v NullableIdRef) IsSet() bool

func (NullableIdRef) MarshalJSON

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

func (*NullableIdRef) Set

func (v *NullableIdRef) Set(val *IdRef)

func (*NullableIdRef) UnmarshalJSON

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

func (*NullableIdRef) Unset

func (v *NullableIdRef) Unset()

type NullableIndicatorLED

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

func NewNullableIndicatorLED

func NewNullableIndicatorLED(val *IndicatorLED) *NullableIndicatorLED

func (NullableIndicatorLED) Get

func (NullableIndicatorLED) IsSet

func (v NullableIndicatorLED) IsSet() bool

func (NullableIndicatorLED) MarshalJSON

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

func (*NullableIndicatorLED) Set

func (v *NullableIndicatorLED) Set(val *IndicatorLED)

func (*NullableIndicatorLED) UnmarshalJSON

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

func (*NullableIndicatorLED) Unset

func (v *NullableIndicatorLED) Unset()

type NullableInlineObject

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

func NewNullableInlineObject

func NewNullableInlineObject(val *InlineObject) *NullableInlineObject

func (NullableInlineObject) Get

func (NullableInlineObject) IsSet

func (v NullableInlineObject) IsSet() bool

func (NullableInlineObject) MarshalJSON

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

func (*NullableInlineObject) Set

func (v *NullableInlineObject) Set(val *InlineObject)

func (*NullableInlineObject) UnmarshalJSON

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

func (*NullableInlineObject) Unset

func (v *NullableInlineObject) Unset()

type NullableInsertMediaRequestBody

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

func (NullableInsertMediaRequestBody) Get

func (NullableInsertMediaRequestBody) IsSet

func (NullableInsertMediaRequestBody) MarshalJSON

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

func (*NullableInsertMediaRequestBody) Set

func (*NullableInsertMediaRequestBody) UnmarshalJSON

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

func (*NullableInsertMediaRequestBody) Unset

func (v *NullableInsertMediaRequestBody) 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 NullableManager

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

func NewNullableManager

func NewNullableManager(val *Manager) *NullableManager

func (NullableManager) Get

func (v NullableManager) Get() *Manager

func (NullableManager) IsSet

func (v NullableManager) IsSet() bool

func (NullableManager) MarshalJSON

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

func (*NullableManager) Set

func (v *NullableManager) Set(val *Manager)

func (*NullableManager) UnmarshalJSON

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

func (*NullableManager) Unset

func (v *NullableManager) Unset()
type NullableManagerLinks struct {
	// contains filtered or unexported fields
}
func NewNullableManagerLinks(val *ManagerLinks) *NullableManagerLinks

func (NullableManagerLinks) Get

func (NullableManagerLinks) IsSet

func (v NullableManagerLinks) IsSet() bool

func (NullableManagerLinks) MarshalJSON

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

func (*NullableManagerLinks) Set

func (v *NullableManagerLinks) Set(val *ManagerLinks)

func (*NullableManagerLinks) UnmarshalJSON

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

func (*NullableManagerLinks) Unset

func (v *NullableManagerLinks) Unset()

type NullableManagerType

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

func NewNullableManagerType

func NewNullableManagerType(val *ManagerType) *NullableManagerType

func (NullableManagerType) Get

func (NullableManagerType) IsSet

func (v NullableManagerType) IsSet() bool

func (NullableManagerType) MarshalJSON

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

func (*NullableManagerType) Set

func (v *NullableManagerType) Set(val *ManagerType)

func (*NullableManagerType) UnmarshalJSON

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

func (*NullableManagerType) Unset

func (v *NullableManagerType) Unset()

type NullableMemorySummary

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

func NewNullableMemorySummary

func NewNullableMemorySummary(val *MemorySummary) *NullableMemorySummary

func (NullableMemorySummary) Get

func (NullableMemorySummary) IsSet

func (v NullableMemorySummary) IsSet() bool

func (NullableMemorySummary) MarshalJSON

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

func (*NullableMemorySummary) Set

func (v *NullableMemorySummary) Set(val *MemorySummary)

func (*NullableMemorySummary) UnmarshalJSON

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

func (*NullableMemorySummary) Unset

func (v *NullableMemorySummary) Unset()

type NullableMessage

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

func NewNullableMessage

func NewNullableMessage(val *Message) *NullableMessage

func (NullableMessage) Get

func (v NullableMessage) Get() *Message

func (NullableMessage) IsSet

func (v NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON

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

func (*NullableMessage) Set

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON

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

func (*NullableMessage) Unset

func (v *NullableMessage) Unset()

type NullablePayload

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

func NewNullablePayload

func NewNullablePayload(val *Payload) *NullablePayload

func (NullablePayload) Get

func (v NullablePayload) Get() *Payload

func (NullablePayload) IsSet

func (v NullablePayload) IsSet() bool

func (NullablePayload) MarshalJSON

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

func (*NullablePayload) Set

func (v *NullablePayload) Set(val *Payload)

func (*NullablePayload) UnmarshalJSON

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

func (*NullablePayload) Unset

func (v *NullablePayload) Unset()

type NullablePowerState

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

func NewNullablePowerState

func NewNullablePowerState(val *PowerState) *NullablePowerState

func (NullablePowerState) Get

func (v NullablePowerState) Get() *PowerState

func (NullablePowerState) IsSet

func (v NullablePowerState) IsSet() bool

func (NullablePowerState) MarshalJSON

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

func (*NullablePowerState) Set

func (v *NullablePowerState) Set(val *PowerState)

func (*NullablePowerState) UnmarshalJSON

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

func (*NullablePowerState) Unset

func (v *NullablePowerState) Unset()

type NullableProcessorSummary

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

func NewNullableProcessorSummary

func NewNullableProcessorSummary(val *ProcessorSummary) *NullableProcessorSummary

func (NullableProcessorSummary) Get

func (NullableProcessorSummary) IsSet

func (v NullableProcessorSummary) IsSet() bool

func (NullableProcessorSummary) MarshalJSON

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

func (*NullableProcessorSummary) Set

func (*NullableProcessorSummary) UnmarshalJSON

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

func (*NullableProcessorSummary) Unset

func (v *NullableProcessorSummary) Unset()

type NullableRedfishError

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

func NewNullableRedfishError

func NewNullableRedfishError(val *RedfishError) *NullableRedfishError

func (NullableRedfishError) Get

func (NullableRedfishError) IsSet

func (v NullableRedfishError) IsSet() bool

func (NullableRedfishError) MarshalJSON

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

func (*NullableRedfishError) Set

func (v *NullableRedfishError) Set(val *RedfishError)

func (*NullableRedfishError) UnmarshalJSON

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

func (*NullableRedfishError) Unset

func (v *NullableRedfishError) Unset()

type NullableRedfishErrorError

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

func NewNullableRedfishErrorError

func NewNullableRedfishErrorError(val *RedfishErrorError) *NullableRedfishErrorError

func (NullableRedfishErrorError) Get

func (NullableRedfishErrorError) IsSet

func (v NullableRedfishErrorError) IsSet() bool

func (NullableRedfishErrorError) MarshalJSON

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

func (*NullableRedfishErrorError) Set

func (*NullableRedfishErrorError) UnmarshalJSON

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

func (*NullableRedfishErrorError) Unset

func (v *NullableRedfishErrorError) Unset()

type NullableResetRequestBody

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

func NewNullableResetRequestBody

func NewNullableResetRequestBody(val *ResetRequestBody) *NullableResetRequestBody

func (NullableResetRequestBody) Get

func (NullableResetRequestBody) IsSet

func (v NullableResetRequestBody) IsSet() bool

func (NullableResetRequestBody) MarshalJSON

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

func (*NullableResetRequestBody) Set

func (*NullableResetRequestBody) UnmarshalJSON

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

func (*NullableResetRequestBody) Unset

func (v *NullableResetRequestBody) Unset()

type NullableResetType

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

func NewNullableResetType

func NewNullableResetType(val *ResetType) *NullableResetType

func (NullableResetType) Get

func (v NullableResetType) Get() *ResetType

func (NullableResetType) IsSet

func (v NullableResetType) IsSet() bool

func (NullableResetType) MarshalJSON

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

func (*NullableResetType) Set

func (v *NullableResetType) Set(val *ResetType)

func (*NullableResetType) UnmarshalJSON

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

func (*NullableResetType) Unset

func (v *NullableResetType) Unset()

type NullableRoot

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

func NewNullableRoot

func NewNullableRoot(val *Root) *NullableRoot

func (NullableRoot) Get

func (v NullableRoot) Get() *Root

func (NullableRoot) IsSet

func (v NullableRoot) IsSet() bool

func (NullableRoot) MarshalJSON

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

func (*NullableRoot) Set

func (v *NullableRoot) Set(val *Root)

func (*NullableRoot) UnmarshalJSON

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

func (*NullableRoot) Unset

func (v *NullableRoot) Unset()

type NullableSimpleUpdateRequestBody

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

func (NullableSimpleUpdateRequestBody) Get

func (NullableSimpleUpdateRequestBody) IsSet

func (NullableSimpleUpdateRequestBody) MarshalJSON

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

func (*NullableSimpleUpdateRequestBody) Set

func (*NullableSimpleUpdateRequestBody) UnmarshalJSON

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

func (*NullableSimpleUpdateRequestBody) Unset

type NullableSoftwareInventory

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

func NewNullableSoftwareInventory

func NewNullableSoftwareInventory(val *SoftwareInventory) *NullableSoftwareInventory

func (NullableSoftwareInventory) Get

func (NullableSoftwareInventory) IsSet

func (v NullableSoftwareInventory) IsSet() bool

func (NullableSoftwareInventory) MarshalJSON

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

func (*NullableSoftwareInventory) Set

func (*NullableSoftwareInventory) UnmarshalJSON

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

func (*NullableSoftwareInventory) Unset

func (v *NullableSoftwareInventory) Unset()

type NullableState

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

func NewNullableState

func NewNullableState(val *State) *NullableState

func (NullableState) Get

func (v NullableState) Get() *State

func (NullableState) IsSet

func (v NullableState) IsSet() bool

func (NullableState) MarshalJSON

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

func (*NullableState) Set

func (v *NullableState) Set(val *State)

func (*NullableState) UnmarshalJSON

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

func (*NullableState) Unset

func (v *NullableState) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) 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 NullableSystemLinks struct {
	// contains filtered or unexported fields
}
func NewNullableSystemLinks(val *SystemLinks) *NullableSystemLinks

func (NullableSystemLinks) Get

func (NullableSystemLinks) IsSet

func (v NullableSystemLinks) IsSet() bool

func (NullableSystemLinks) MarshalJSON

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

func (*NullableSystemLinks) Set

func (v *NullableSystemLinks) Set(val *SystemLinks)

func (*NullableSystemLinks) UnmarshalJSON

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

func (*NullableSystemLinks) Unset

func (v *NullableSystemLinks) Unset()

type NullableTask

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

func NewNullableTask

func NewNullableTask(val *Task) *NullableTask

func (NullableTask) Get

func (v NullableTask) Get() *Task

func (NullableTask) IsSet

func (v NullableTask) IsSet() bool

func (NullableTask) MarshalJSON

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

func (*NullableTask) Set

func (v *NullableTask) Set(val *Task)

func (*NullableTask) UnmarshalJSON

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

func (*NullableTask) Unset

func (v *NullableTask) Unset()

type NullableTaskState

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

func NewNullableTaskState

func NewNullableTaskState(val *TaskState) *NullableTaskState

func (NullableTaskState) Get

func (v NullableTaskState) Get() *TaskState

func (NullableTaskState) IsSet

func (v NullableTaskState) IsSet() bool

func (NullableTaskState) MarshalJSON

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

func (*NullableTaskState) Set

func (v *NullableTaskState) Set(val *TaskState)

func (*NullableTaskState) UnmarshalJSON

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

func (*NullableTaskState) Unset

func (v *NullableTaskState) 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 NullableTransferMethod

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

func NewNullableTransferMethod

func NewNullableTransferMethod(val *TransferMethod) *NullableTransferMethod

func (NullableTransferMethod) Get

func (NullableTransferMethod) IsSet

func (v NullableTransferMethod) IsSet() bool

func (NullableTransferMethod) MarshalJSON

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

func (*NullableTransferMethod) Set

func (*NullableTransferMethod) UnmarshalJSON

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

func (*NullableTransferMethod) Unset

func (v *NullableTransferMethod) Unset()

type NullableTransferProtocolType

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

func NewNullableTransferProtocolType

func NewNullableTransferProtocolType(val *TransferProtocolType) *NullableTransferProtocolType

func (NullableTransferProtocolType) Get

func (NullableTransferProtocolType) IsSet

func (NullableTransferProtocolType) MarshalJSON

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

func (*NullableTransferProtocolType) Set

func (*NullableTransferProtocolType) UnmarshalJSON

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

func (*NullableTransferProtocolType) Unset

func (v *NullableTransferProtocolType) Unset()

type NullableUpdateService

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

func NewNullableUpdateService

func NewNullableUpdateService(val *UpdateService) *NullableUpdateService

func (NullableUpdateService) Get

func (NullableUpdateService) IsSet

func (v NullableUpdateService) IsSet() bool

func (NullableUpdateService) MarshalJSON

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

func (*NullableUpdateService) Set

func (v *NullableUpdateService) Set(val *UpdateService)

func (*NullableUpdateService) UnmarshalJSON

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

func (*NullableUpdateService) Unset

func (v *NullableUpdateService) Unset()

type NullableUpdateServiceActions

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

func NewNullableUpdateServiceActions

func NewNullableUpdateServiceActions(val *UpdateServiceActions) *NullableUpdateServiceActions

func (NullableUpdateServiceActions) Get

func (NullableUpdateServiceActions) IsSet

func (NullableUpdateServiceActions) MarshalJSON

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

func (*NullableUpdateServiceActions) Set

func (*NullableUpdateServiceActions) UnmarshalJSON

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

func (*NullableUpdateServiceActions) Unset

func (v *NullableUpdateServiceActions) Unset()

type NullableVirtualMedia

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

func NewNullableVirtualMedia

func NewNullableVirtualMedia(val *VirtualMedia) *NullableVirtualMedia

func (NullableVirtualMedia) Get

func (NullableVirtualMedia) IsSet

func (v NullableVirtualMedia) IsSet() bool

func (NullableVirtualMedia) MarshalJSON

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

func (*NullableVirtualMedia) Set

func (v *NullableVirtualMedia) Set(val *VirtualMedia)

func (*NullableVirtualMedia) UnmarshalJSON

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

func (*NullableVirtualMedia) Unset

func (v *NullableVirtualMedia) Unset()

type NullableVirtualMediaActions

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

func NewNullableVirtualMediaActions

func NewNullableVirtualMediaActions(val *VirtualMediaActions) *NullableVirtualMediaActions

func (NullableVirtualMediaActions) Get

func (NullableVirtualMediaActions) IsSet

func (NullableVirtualMediaActions) MarshalJSON

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

func (*NullableVirtualMediaActions) Set

func (*NullableVirtualMediaActions) UnmarshalJSON

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

func (*NullableVirtualMediaActions) Unset

func (v *NullableVirtualMediaActions) Unset()

type NullableVirtualMediaActionsVirtualMediaEjectMedia

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

func (NullableVirtualMediaActionsVirtualMediaEjectMedia) Get

func (NullableVirtualMediaActionsVirtualMediaEjectMedia) IsSet

func (NullableVirtualMediaActionsVirtualMediaEjectMedia) MarshalJSON

func (*NullableVirtualMediaActionsVirtualMediaEjectMedia) Set

func (*NullableVirtualMediaActionsVirtualMediaEjectMedia) UnmarshalJSON

func (*NullableVirtualMediaActionsVirtualMediaEjectMedia) Unset

type NullableVolumeType

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

func NewNullableVolumeType

func NewNullableVolumeType(val *VolumeType) *NullableVolumeType

func (NullableVolumeType) Get

func (v NullableVolumeType) Get() *VolumeType

func (NullableVolumeType) IsSet

func (v NullableVolumeType) IsSet() bool

func (NullableVolumeType) MarshalJSON

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

func (*NullableVolumeType) Set

func (v *NullableVolumeType) Set(val *VolumeType)

func (*NullableVolumeType) UnmarshalJSON

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

func (*NullableVolumeType) Unset

func (v *NullableVolumeType) Unset()

type Payload

type Payload struct {
	// This represents the HTTP headers used in the operation of this Task.
	HttpHeaders *[]string `json:"HttpHeaders,omitempty"`
	// The HTTP operation to perform to execute this Task.
	HttpOperation *string `json:"HttpOperation,omitempty"`
	// This property contains the JSON payload to use in the execution of this Task.
	JsonBody *string `json:"JsonBody,omitempty"`
	// The URI of the target for this task.
	TargetUri *string `json:"TargetUri,omitempty"`
}

Payload The HTTP and JSON payload details for this Task.

func NewPayload

func NewPayload() *Payload

NewPayload instantiates a new Payload 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 NewPayloadWithDefaults

func NewPayloadWithDefaults() *Payload

NewPayloadWithDefaults instantiates a new Payload 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 (*Payload) GetHttpHeaders

func (o *Payload) GetHttpHeaders() []string

GetHttpHeaders returns the HttpHeaders field value if set, zero value otherwise.

func (*Payload) GetHttpHeadersOk

func (o *Payload) GetHttpHeadersOk() (*[]string, bool)

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

func (*Payload) GetHttpOperation

func (o *Payload) GetHttpOperation() string

GetHttpOperation returns the HttpOperation field value if set, zero value otherwise.

func (*Payload) GetHttpOperationOk

func (o *Payload) GetHttpOperationOk() (*string, bool)

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

func (*Payload) GetJsonBody

func (o *Payload) GetJsonBody() string

GetJsonBody returns the JsonBody field value if set, zero value otherwise.

func (*Payload) GetJsonBodyOk

func (o *Payload) GetJsonBodyOk() (*string, bool)

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

func (*Payload) GetTargetUri

func (o *Payload) GetTargetUri() string

GetTargetUri returns the TargetUri field value if set, zero value otherwise.

func (*Payload) GetTargetUriOk

func (o *Payload) GetTargetUriOk() (*string, bool)

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

func (*Payload) HasHttpHeaders

func (o *Payload) HasHttpHeaders() bool

HasHttpHeaders returns a boolean if a field has been set.

func (*Payload) HasHttpOperation

func (o *Payload) HasHttpOperation() bool

HasHttpOperation returns a boolean if a field has been set.

func (*Payload) HasJsonBody

func (o *Payload) HasJsonBody() bool

HasJsonBody returns a boolean if a field has been set.

func (*Payload) HasTargetUri

func (o *Payload) HasTargetUri() bool

HasTargetUri returns a boolean if a field has been set.

func (Payload) MarshalJSON

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

func (*Payload) SetHttpHeaders

func (o *Payload) SetHttpHeaders(v []string)

SetHttpHeaders gets a reference to the given []string and assigns it to the HttpHeaders field.

func (*Payload) SetHttpOperation

func (o *Payload) SetHttpOperation(v string)

SetHttpOperation gets a reference to the given string and assigns it to the HttpOperation field.

func (*Payload) SetJsonBody

func (o *Payload) SetJsonBody(v string)

SetJsonBody gets a reference to the given string and assigns it to the JsonBody field.

func (*Payload) SetTargetUri

func (o *Payload) SetTargetUri(v string)

SetTargetUri gets a reference to the given string and assigns it to the TargetUri field.

type PowerState

type PowerState string

PowerState the model 'PowerState'

const (
	POWERSTATE_ON           PowerState = "On"
	POWERSTATE_OFF          PowerState = "Off"
	POWERSTATE_POWERING_ON  PowerState = "PoweringOn"
	POWERSTATE_POWERING_OFF PowerState = "PoweringOff"
)

List of PowerState

func (PowerState) Ptr

func (v PowerState) Ptr() *PowerState

Ptr returns reference to PowerState value

func (*PowerState) UnmarshalJSON

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

type ProcessorSummary

type ProcessorSummary struct {
	Count  NullableInt32 `json:"Count,omitempty"`
	Status *Status       `json:"Status,omitempty"`
}

ProcessorSummary struct for ProcessorSummary

func NewProcessorSummary

func NewProcessorSummary() *ProcessorSummary

NewProcessorSummary instantiates a new ProcessorSummary 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 NewProcessorSummaryWithDefaults

func NewProcessorSummaryWithDefaults() *ProcessorSummary

NewProcessorSummaryWithDefaults instantiates a new ProcessorSummary 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 (*ProcessorSummary) GetCount

func (o *ProcessorSummary) GetCount() int32

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

func (*ProcessorSummary) GetCountOk

func (o *ProcessorSummary) GetCountOk() (*int32, bool)

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

func (*ProcessorSummary) GetStatus

func (o *ProcessorSummary) GetStatus() Status

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

func (*ProcessorSummary) GetStatusOk

func (o *ProcessorSummary) GetStatusOk() (*Status, 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 (*ProcessorSummary) HasCount

func (o *ProcessorSummary) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ProcessorSummary) HasStatus

func (o *ProcessorSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ProcessorSummary) MarshalJSON

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

func (*ProcessorSummary) SetCount

func (o *ProcessorSummary) SetCount(v int32)

SetCount gets a reference to the given NullableInt32 and assigns it to the Count field.

func (*ProcessorSummary) SetCountNil

func (o *ProcessorSummary) SetCountNil()

SetCountNil sets the value for Count to be an explicit nil

func (*ProcessorSummary) SetStatus

func (o *ProcessorSummary) SetStatus(v Status)

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

func (*ProcessorSummary) UnsetCount

func (o *ProcessorSummary) UnsetCount()

UnsetCount ensures that no value is present for Count, not even an explicit nil

type RedfishError

type RedfishError struct {
	Error RedfishErrorError `json:"error"`
}

RedfishError Contains an error payload from a Redfish Service.

func NewRedfishError

func NewRedfishError(error_ RedfishErrorError) *RedfishError

NewRedfishError instantiates a new RedfishError 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 NewRedfishErrorWithDefaults

func NewRedfishErrorWithDefaults() *RedfishError

NewRedfishErrorWithDefaults instantiates a new RedfishError 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 (*RedfishError) GetError

func (o *RedfishError) GetError() RedfishErrorError

GetError returns the Error field value

func (*RedfishError) GetErrorOk

func (o *RedfishError) GetErrorOk() (*RedfishErrorError, bool)

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

func (RedfishError) MarshalJSON

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

func (*RedfishError) SetError

func (o *RedfishError) SetError(v RedfishErrorError)

SetError sets field value

type RedfishErrorError

type RedfishErrorError struct {
	MessageExtendedInfo *[]Message `json:"@Message.ExtendedInfo,omitempty"`
	Code                string     `json:"code"`
	Message             string     `json:"message"`
}

RedfishErrorError struct for RedfishErrorError

func NewRedfishErrorError

func NewRedfishErrorError(code string, message string) *RedfishErrorError

NewRedfishErrorError instantiates a new RedfishErrorError 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 NewRedfishErrorErrorWithDefaults

func NewRedfishErrorErrorWithDefaults() *RedfishErrorError

NewRedfishErrorErrorWithDefaults instantiates a new RedfishErrorError 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 (*RedfishErrorError) GetCode

func (o *RedfishErrorError) GetCode() string

GetCode returns the Code field value

func (*RedfishErrorError) GetCodeOk

func (o *RedfishErrorError) GetCodeOk() (*string, bool)

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

func (*RedfishErrorError) GetMessage

func (o *RedfishErrorError) GetMessage() string

GetMessage returns the Message field value

func (*RedfishErrorError) GetMessageExtendedInfo

func (o *RedfishErrorError) GetMessageExtendedInfo() []Message

GetMessageExtendedInfo returns the MessageExtendedInfo field value if set, zero value otherwise.

func (*RedfishErrorError) GetMessageExtendedInfoOk

func (o *RedfishErrorError) GetMessageExtendedInfoOk() (*[]Message, bool)

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

func (*RedfishErrorError) GetMessageOk

func (o *RedfishErrorError) GetMessageOk() (*string, bool)

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

func (*RedfishErrorError) HasMessageExtendedInfo

func (o *RedfishErrorError) HasMessageExtendedInfo() bool

HasMessageExtendedInfo returns a boolean if a field has been set.

func (RedfishErrorError) MarshalJSON

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

func (*RedfishErrorError) SetCode

func (o *RedfishErrorError) SetCode(v string)

SetCode sets field value

func (*RedfishErrorError) SetMessage

func (o *RedfishErrorError) SetMessage(v string)

SetMessage sets field value

func (*RedfishErrorError) SetMessageExtendedInfo

func (o *RedfishErrorError) SetMessageExtendedInfo(v []Message)

SetMessageExtendedInfo gets a reference to the given []Message and assigns it to the MessageExtendedInfo field.

type ResetRequestBody

type ResetRequestBody struct {
	ResetType *ResetType `json:"ResetType,omitempty"`
}

ResetRequestBody struct for ResetRequestBody

func NewResetRequestBody

func NewResetRequestBody() *ResetRequestBody

NewResetRequestBody instantiates a new ResetRequestBody 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 NewResetRequestBodyWithDefaults

func NewResetRequestBodyWithDefaults() *ResetRequestBody

NewResetRequestBodyWithDefaults instantiates a new ResetRequestBody 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 (*ResetRequestBody) GetResetType

func (o *ResetRequestBody) GetResetType() ResetType

GetResetType returns the ResetType field value if set, zero value otherwise.

func (*ResetRequestBody) GetResetTypeOk

func (o *ResetRequestBody) GetResetTypeOk() (*ResetType, bool)

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

func (*ResetRequestBody) HasResetType

func (o *ResetRequestBody) HasResetType() bool

HasResetType returns a boolean if a field has been set.

func (ResetRequestBody) MarshalJSON

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

func (*ResetRequestBody) SetResetType

func (o *ResetRequestBody) SetResetType(v ResetType)

SetResetType gets a reference to the given ResetType and assigns it to the ResetType field.

type ResetType

type ResetType string

ResetType the model 'ResetType'

const (
	RESETTYPE_ON                ResetType = "On"
	RESETTYPE_FORCE_OFF         ResetType = "ForceOff"
	RESETTYPE_GRACEFUL_SHUTDOWN ResetType = "GracefulShutdown"
	RESETTYPE_GRACEFUL_RESTART  ResetType = "GracefulRestart"
	RESETTYPE_FORCE_RESTART     ResetType = "ForceRestart"
	RESETTYPE_NMI               ResetType = "Nmi"
	RESETTYPE_FORCE_ON          ResetType = "ForceOn"
	RESETTYPE_PUSH_POWER_BUTTON ResetType = "PushPowerButton"
	RESETTYPE_POWER_CYCLE       ResetType = "PowerCycle"
)

List of ResetType

func (ResetType) Ptr

func (v ResetType) Ptr() *ResetType

Ptr returns reference to ResetType value

func (*ResetType) UnmarshalJSON

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

type Root

type Root struct {
	// The name of the resource.
	Id *string `json:"Id,omitempty"`
	// The name of the resource.
	Name string `json:"Name"`
	// redfish version
	RedfishVersion *string `json:"RedfishVersion,omitempty"`
	UUID           *string `json:"UUID,omitempty"`
	// The type of a resource.
	OdataType string `json:"@odata.type"`
	// The unique identifier for a resource.
	OdataId string `json:"@odata.id"`
	// redfish copyright
	RedfishCopyright *string `json:"@Redfish.Copyright,omitempty"`
	Systems          *IdRef  `json:"Systems,omitempty"`
	Managers         *IdRef  `json:"Managers,omitempty"`
}

Root Root redfish path.

func NewRoot

func NewRoot(name string, odataType string, odataId string) *Root

NewRoot instantiates a new Root 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 NewRootWithDefaults

func NewRootWithDefaults() *Root

NewRootWithDefaults instantiates a new Root 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 (*Root) GetId

func (o *Root) GetId() string

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

func (*Root) GetIdOk

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

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

func (*Root) GetManagers

func (o *Root) GetManagers() IdRef

GetManagers returns the Managers field value if set, zero value otherwise.

func (*Root) GetManagersOk

func (o *Root) GetManagersOk() (*IdRef, bool)

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

func (*Root) GetName

func (o *Root) GetName() string

GetName returns the Name field value

func (*Root) GetNameOk

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

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

func (*Root) GetOdataId

func (o *Root) GetOdataId() string

GetOdataId returns the OdataId field value

func (*Root) GetOdataIdOk

func (o *Root) GetOdataIdOk() (*string, bool)

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

func (*Root) GetOdataType

func (o *Root) GetOdataType() string

GetOdataType returns the OdataType field value

func (*Root) GetOdataTypeOk

func (o *Root) GetOdataTypeOk() (*string, bool)

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

func (*Root) GetRedfishCopyright

func (o *Root) GetRedfishCopyright() string

GetRedfishCopyright returns the RedfishCopyright field value if set, zero value otherwise.

func (*Root) GetRedfishCopyrightOk

func (o *Root) GetRedfishCopyrightOk() (*string, bool)

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

func (*Root) GetRedfishVersion

func (o *Root) GetRedfishVersion() string

GetRedfishVersion returns the RedfishVersion field value if set, zero value otherwise.

func (*Root) GetRedfishVersionOk

func (o *Root) GetRedfishVersionOk() (*string, bool)

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

func (*Root) GetSystems

func (o *Root) GetSystems() IdRef

GetSystems returns the Systems field value if set, zero value otherwise.

func (*Root) GetSystemsOk

func (o *Root) GetSystemsOk() (*IdRef, bool)

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

func (*Root) GetUUID

func (o *Root) GetUUID() string

GetUUID returns the UUID field value if set, zero value otherwise.

func (*Root) GetUUIDOk

func (o *Root) 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 (*Root) HasId

func (o *Root) HasId() bool

HasId returns a boolean if a field has been set.

func (*Root) HasManagers

func (o *Root) HasManagers() bool

HasManagers returns a boolean if a field has been set.

func (*Root) HasRedfishCopyright

func (o *Root) HasRedfishCopyright() bool

HasRedfishCopyright returns a boolean if a field has been set.

func (*Root) HasRedfishVersion

func (o *Root) HasRedfishVersion() bool

HasRedfishVersion returns a boolean if a field has been set.

func (*Root) HasSystems

func (o *Root) HasSystems() bool

HasSystems returns a boolean if a field has been set.

func (*Root) HasUUID

func (o *Root) HasUUID() bool

HasUUID returns a boolean if a field has been set.

func (Root) MarshalJSON

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

func (*Root) SetId

func (o *Root) SetId(v string)

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

func (*Root) SetManagers

func (o *Root) SetManagers(v IdRef)

SetManagers gets a reference to the given IdRef and assigns it to the Managers field.

func (*Root) SetName

func (o *Root) SetName(v string)

SetName sets field value

func (*Root) SetOdataId

func (o *Root) SetOdataId(v string)

SetOdataId sets field value

func (*Root) SetOdataType

func (o *Root) SetOdataType(v string)

SetOdataType sets field value

func (*Root) SetRedfishCopyright

func (o *Root) SetRedfishCopyright(v string)

SetRedfishCopyright gets a reference to the given string and assigns it to the RedfishCopyright field.

func (*Root) SetRedfishVersion

func (o *Root) SetRedfishVersion(v string)

SetRedfishVersion gets a reference to the given string and assigns it to the RedfishVersion field.

func (*Root) SetSystems

func (o *Root) SetSystems(v IdRef)

SetSystems gets a reference to the given IdRef and assigns it to the Systems field.

func (*Root) SetUUID

func (o *Root) SetUUID(v string)

SetUUID gets a reference to the given string and assigns it to the UUID field.

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SimpleUpdateRequestBody

type SimpleUpdateRequestBody struct {
	ImageURI             string                `json:"ImageURI"`
	Targets              *[]string             `json:"Targets,omitempty"`
	TransferProtocolType *TransferProtocolType `json:"TransferProtocolType,omitempty"`
}

SimpleUpdateRequestBody struct for SimpleUpdateRequestBody

func NewSimpleUpdateRequestBody

func NewSimpleUpdateRequestBody(imageURI string) *SimpleUpdateRequestBody

NewSimpleUpdateRequestBody instantiates a new SimpleUpdateRequestBody 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 NewSimpleUpdateRequestBodyWithDefaults

func NewSimpleUpdateRequestBodyWithDefaults() *SimpleUpdateRequestBody

NewSimpleUpdateRequestBodyWithDefaults instantiates a new SimpleUpdateRequestBody 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 (*SimpleUpdateRequestBody) GetImageURI

func (o *SimpleUpdateRequestBody) GetImageURI() string

GetImageURI returns the ImageURI field value

func (*SimpleUpdateRequestBody) GetImageURIOk

func (o *SimpleUpdateRequestBody) GetImageURIOk() (*string, bool)

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

func (*SimpleUpdateRequestBody) GetTargets

func (o *SimpleUpdateRequestBody) GetTargets() []string

GetTargets returns the Targets field value if set, zero value otherwise.

func (*SimpleUpdateRequestBody) GetTargetsOk

func (o *SimpleUpdateRequestBody) GetTargetsOk() (*[]string, bool)

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

func (*SimpleUpdateRequestBody) GetTransferProtocolType

func (o *SimpleUpdateRequestBody) GetTransferProtocolType() TransferProtocolType

GetTransferProtocolType returns the TransferProtocolType field value if set, zero value otherwise.

func (*SimpleUpdateRequestBody) GetTransferProtocolTypeOk

func (o *SimpleUpdateRequestBody) GetTransferProtocolTypeOk() (*TransferProtocolType, bool)

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

func (*SimpleUpdateRequestBody) HasTargets

func (o *SimpleUpdateRequestBody) HasTargets() bool

HasTargets returns a boolean if a field has been set.

func (*SimpleUpdateRequestBody) HasTransferProtocolType

func (o *SimpleUpdateRequestBody) HasTransferProtocolType() bool

HasTransferProtocolType returns a boolean if a field has been set.

func (SimpleUpdateRequestBody) MarshalJSON

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

func (*SimpleUpdateRequestBody) SetImageURI

func (o *SimpleUpdateRequestBody) SetImageURI(v string)

SetImageURI sets field value

func (*SimpleUpdateRequestBody) SetTargets

func (o *SimpleUpdateRequestBody) SetTargets(v []string)

SetTargets gets a reference to the given []string and assigns it to the Targets field.

func (*SimpleUpdateRequestBody) SetTransferProtocolType

func (o *SimpleUpdateRequestBody) SetTransferProtocolType(v TransferProtocolType)

SetTransferProtocolType gets a reference to the given TransferProtocolType and assigns it to the TransferProtocolType field.

type SoftwareInventory

type SoftwareInventory struct {
	OdataType              string         `json:"@odata.type"`
	OdataId                string         `json:"@odata.id"`
	OdataContext           *string        `json:"@odata.context,omitempty"`
	OdataEtag              *string        `json:"@odata.etag,omitempty"`
	Description            NullableString `json:"Description,omitempty"`
	Id                     string         `json:"Id"`
	LowestSupportedVersion NullableString `json:"LowestSupportedVersion,omitempty"`
	Manufacturer           NullableString `json:"Manufacturer,omitempty"`
	Name                   string         `json:"Name"`
	RelatedItem            *[]IdRef       `json:"RelatedItem,omitempty"`
	RelatedItemodataCount  NullableInt32  `json:"RelatedItem@odata.count,omitempty"`
	ReleaseDate            NullableTime   `json:"ReleaseDate,omitempty"`
	SoftwareId             *string        `json:"SoftwareId,omitempty"`
	Status                 *Status        `json:"Status,omitempty"`
	UefiDevicePaths        *[]string      `json:"UefiDevicePaths,omitempty"`
	Updateable             NullableBool   `json:"Updateable"`
	Version                NullableString `json:"Version"`
}

SoftwareInventory This schema defines an inventory of software components.

func NewSoftwareInventory

func NewSoftwareInventory(odataType string, odataId string, id string, name string, updateable NullableBool, version NullableString) *SoftwareInventory

NewSoftwareInventory instantiates a new SoftwareInventory 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 NewSoftwareInventoryWithDefaults

func NewSoftwareInventoryWithDefaults() *SoftwareInventory

NewSoftwareInventoryWithDefaults instantiates a new SoftwareInventory 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 (*SoftwareInventory) GetDescription

func (o *SoftwareInventory) GetDescription() string

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

func (*SoftwareInventory) GetDescriptionOk

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

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

func (*SoftwareInventory) GetId

func (o *SoftwareInventory) GetId() string

GetId returns the Id field value

func (*SoftwareInventory) GetIdOk

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

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

func (*SoftwareInventory) GetLowestSupportedVersion

func (o *SoftwareInventory) GetLowestSupportedVersion() string

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

func (*SoftwareInventory) GetLowestSupportedVersionOk

func (o *SoftwareInventory) GetLowestSupportedVersionOk() (*string, bool)

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

func (*SoftwareInventory) GetManufacturer

func (o *SoftwareInventory) GetManufacturer() string

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

func (*SoftwareInventory) GetManufacturerOk

func (o *SoftwareInventory) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SoftwareInventory) GetName

func (o *SoftwareInventory) GetName() string

GetName returns the Name field value

func (*SoftwareInventory) GetNameOk

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

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

func (*SoftwareInventory) GetOdataContext

func (o *SoftwareInventory) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*SoftwareInventory) GetOdataContextOk

func (o *SoftwareInventory) GetOdataContextOk() (*string, bool)

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

func (*SoftwareInventory) GetOdataEtag

func (o *SoftwareInventory) GetOdataEtag() string

GetOdataEtag returns the OdataEtag field value if set, zero value otherwise.

func (*SoftwareInventory) GetOdataEtagOk

func (o *SoftwareInventory) GetOdataEtagOk() (*string, bool)

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

func (*SoftwareInventory) GetOdataId

func (o *SoftwareInventory) GetOdataId() string

GetOdataId returns the OdataId field value

func (*SoftwareInventory) GetOdataIdOk

func (o *SoftwareInventory) GetOdataIdOk() (*string, bool)

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

func (*SoftwareInventory) GetOdataType

func (o *SoftwareInventory) GetOdataType() string

GetOdataType returns the OdataType field value

func (*SoftwareInventory) GetOdataTypeOk

func (o *SoftwareInventory) GetOdataTypeOk() (*string, bool)

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

func (*SoftwareInventory) GetRelatedItem

func (o *SoftwareInventory) GetRelatedItem() []IdRef

GetRelatedItem returns the RelatedItem field value if set, zero value otherwise.

func (*SoftwareInventory) GetRelatedItemOk

func (o *SoftwareInventory) GetRelatedItemOk() (*[]IdRef, bool)

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

func (*SoftwareInventory) GetRelatedItemodataCount

func (o *SoftwareInventory) GetRelatedItemodataCount() int32

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

func (*SoftwareInventory) GetRelatedItemodataCountOk

func (o *SoftwareInventory) GetRelatedItemodataCountOk() (*int32, bool)

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

func (*SoftwareInventory) GetReleaseDate

func (o *SoftwareInventory) GetReleaseDate() time.Time

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

func (*SoftwareInventory) GetReleaseDateOk

func (o *SoftwareInventory) GetReleaseDateOk() (*time.Time, bool)

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

func (*SoftwareInventory) GetSoftwareId

func (o *SoftwareInventory) GetSoftwareId() string

GetSoftwareId returns the SoftwareId field value if set, zero value otherwise.

func (*SoftwareInventory) GetSoftwareIdOk

func (o *SoftwareInventory) GetSoftwareIdOk() (*string, bool)

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

func (*SoftwareInventory) GetStatus

func (o *SoftwareInventory) GetStatus() Status

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

func (*SoftwareInventory) GetStatusOk

func (o *SoftwareInventory) GetStatusOk() (*Status, 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 (*SoftwareInventory) GetUefiDevicePaths

func (o *SoftwareInventory) GetUefiDevicePaths() []string

GetUefiDevicePaths returns the UefiDevicePaths field value if set, zero value otherwise.

func (*SoftwareInventory) GetUefiDevicePathsOk

func (o *SoftwareInventory) GetUefiDevicePathsOk() (*[]string, bool)

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

func (*SoftwareInventory) GetUpdateable

func (o *SoftwareInventory) GetUpdateable() bool

GetUpdateable returns the Updateable field value If the value is explicit nil, the zero value for bool will be returned

func (*SoftwareInventory) GetUpdateableOk

func (o *SoftwareInventory) GetUpdateableOk() (*bool, bool)

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

func (*SoftwareInventory) GetVersion

func (o *SoftwareInventory) GetVersion() string

GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned

func (*SoftwareInventory) GetVersionOk

func (o *SoftwareInventory) GetVersionOk() (*string, bool)

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

func (*SoftwareInventory) HasDescription

func (o *SoftwareInventory) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SoftwareInventory) HasLowestSupportedVersion

func (o *SoftwareInventory) HasLowestSupportedVersion() bool

HasLowestSupportedVersion returns a boolean if a field has been set.

func (*SoftwareInventory) HasManufacturer

func (o *SoftwareInventory) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

func (*SoftwareInventory) HasOdataContext

func (o *SoftwareInventory) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*SoftwareInventory) HasOdataEtag

func (o *SoftwareInventory) HasOdataEtag() bool

HasOdataEtag returns a boolean if a field has been set.

func (*SoftwareInventory) HasRelatedItem

func (o *SoftwareInventory) HasRelatedItem() bool

HasRelatedItem returns a boolean if a field has been set.

func (*SoftwareInventory) HasRelatedItemodataCount

func (o *SoftwareInventory) HasRelatedItemodataCount() bool

HasRelatedItemodataCount returns a boolean if a field has been set.

func (*SoftwareInventory) HasReleaseDate

func (o *SoftwareInventory) HasReleaseDate() bool

HasReleaseDate returns a boolean if a field has been set.

func (*SoftwareInventory) HasSoftwareId

func (o *SoftwareInventory) HasSoftwareId() bool

HasSoftwareId returns a boolean if a field has been set.

func (*SoftwareInventory) HasStatus

func (o *SoftwareInventory) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SoftwareInventory) HasUefiDevicePaths

func (o *SoftwareInventory) HasUefiDevicePaths() bool

HasUefiDevicePaths returns a boolean if a field has been set.

func (SoftwareInventory) MarshalJSON

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

func (*SoftwareInventory) SetDescription

func (o *SoftwareInventory) SetDescription(v string)

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

func (*SoftwareInventory) SetDescriptionNil

func (o *SoftwareInventory) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*SoftwareInventory) SetId

func (o *SoftwareInventory) SetId(v string)

SetId sets field value

func (*SoftwareInventory) SetLowestSupportedVersion

func (o *SoftwareInventory) SetLowestSupportedVersion(v string)

SetLowestSupportedVersion gets a reference to the given NullableString and assigns it to the LowestSupportedVersion field.

func (*SoftwareInventory) SetLowestSupportedVersionNil

func (o *SoftwareInventory) SetLowestSupportedVersionNil()

SetLowestSupportedVersionNil sets the value for LowestSupportedVersion to be an explicit nil

func (*SoftwareInventory) SetManufacturer

func (o *SoftwareInventory) SetManufacturer(v string)

SetManufacturer gets a reference to the given NullableString and assigns it to the Manufacturer field.

func (*SoftwareInventory) SetManufacturerNil

func (o *SoftwareInventory) SetManufacturerNil()

SetManufacturerNil sets the value for Manufacturer to be an explicit nil

func (*SoftwareInventory) SetName

func (o *SoftwareInventory) SetName(v string)

SetName sets field value

func (*SoftwareInventory) SetOdataContext

func (o *SoftwareInventory) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*SoftwareInventory) SetOdataEtag

func (o *SoftwareInventory) SetOdataEtag(v string)

SetOdataEtag gets a reference to the given string and assigns it to the OdataEtag field.

func (*SoftwareInventory) SetOdataId

func (o *SoftwareInventory) SetOdataId(v string)

SetOdataId sets field value

func (*SoftwareInventory) SetOdataType

func (o *SoftwareInventory) SetOdataType(v string)

SetOdataType sets field value

func (*SoftwareInventory) SetRelatedItem

func (o *SoftwareInventory) SetRelatedItem(v []IdRef)

SetRelatedItem gets a reference to the given []IdRef and assigns it to the RelatedItem field.

func (*SoftwareInventory) SetRelatedItemodataCount

func (o *SoftwareInventory) SetRelatedItemodataCount(v int32)

SetRelatedItemodataCount gets a reference to the given NullableInt32 and assigns it to the RelatedItemodataCount field.

func (*SoftwareInventory) SetRelatedItemodataCountNil

func (o *SoftwareInventory) SetRelatedItemodataCountNil()

SetRelatedItemodataCountNil sets the value for RelatedItemodataCount to be an explicit nil

func (*SoftwareInventory) SetReleaseDate

func (o *SoftwareInventory) SetReleaseDate(v time.Time)

SetReleaseDate gets a reference to the given NullableTime and assigns it to the ReleaseDate field.

func (*SoftwareInventory) SetReleaseDateNil

func (o *SoftwareInventory) SetReleaseDateNil()

SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil

func (*SoftwareInventory) SetSoftwareId

func (o *SoftwareInventory) SetSoftwareId(v string)

SetSoftwareId gets a reference to the given string and assigns it to the SoftwareId field.

func (*SoftwareInventory) SetStatus

func (o *SoftwareInventory) SetStatus(v Status)

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

func (*SoftwareInventory) SetUefiDevicePaths

func (o *SoftwareInventory) SetUefiDevicePaths(v []string)

SetUefiDevicePaths gets a reference to the given []string and assigns it to the UefiDevicePaths field.

func (*SoftwareInventory) SetUpdateable

func (o *SoftwareInventory) SetUpdateable(v bool)

SetUpdateable sets field value

func (*SoftwareInventory) SetVersion

func (o *SoftwareInventory) SetVersion(v string)

SetVersion sets field value

func (*SoftwareInventory) UnsetDescription

func (o *SoftwareInventory) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*SoftwareInventory) UnsetLowestSupportedVersion

func (o *SoftwareInventory) UnsetLowestSupportedVersion()

UnsetLowestSupportedVersion ensures that no value is present for LowestSupportedVersion, not even an explicit nil

func (*SoftwareInventory) UnsetManufacturer

func (o *SoftwareInventory) UnsetManufacturer()

UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil

func (*SoftwareInventory) UnsetRelatedItemodataCount

func (o *SoftwareInventory) UnsetRelatedItemodataCount()

UnsetRelatedItemodataCount ensures that no value is present for RelatedItemodataCount, not even an explicit nil

func (*SoftwareInventory) UnsetReleaseDate

func (o *SoftwareInventory) UnsetReleaseDate()

UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil

type State

type State string

State the model 'State'

const (
	STATE_ENABLED             State = "Enabled"
	STATE_DISABLED            State = "Disabled"
	STATE_STANDBY_OFFLINE     State = "StandbyOffline"
	STATE_STANDBY_SPARE       State = "StandbySpare"
	STATE_IN_TEST             State = "InTest"
	STATE_STARTING            State = "Starting"
	STATE_ABSENT              State = "Absent"
	STATE_UNAVAILABLE_OFFLINE State = "UnavailableOffline"
	STATE_DEFERRING           State = "Deferring"
	STATE_QUIESCED            State = "Quiesced"
	STATE_UPDATING            State = "Updating"
)

List of State

func (State) Ptr

func (v State) Ptr() *State

Ptr returns reference to State value

func (*State) UnmarshalJSON

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

type Status

type Status struct {
	Health       *Health `json:"Health,omitempty"`
	HealthRollup *Health `json:"HealthRollup,omitempty"`
	State        *State  `json:"State,omitempty"`
}

Status struct for Status

func NewStatus

func NewStatus() *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetHealth

func (o *Status) GetHealth() Health

GetHealth returns the Health field value if set, zero value otherwise.

func (*Status) GetHealthOk

func (o *Status) GetHealthOk() (*Health, bool)

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

func (*Status) GetHealthRollup

func (o *Status) GetHealthRollup() Health

GetHealthRollup returns the HealthRollup field value if set, zero value otherwise.

func (*Status) GetHealthRollupOk

func (o *Status) GetHealthRollupOk() (*Health, bool)

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

func (*Status) GetState

func (o *Status) GetState() State

GetState returns the State field value if set, zero value otherwise.

func (*Status) GetStateOk

func (o *Status) GetStateOk() (*State, bool)

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

func (*Status) HasHealth

func (o *Status) HasHealth() bool

HasHealth returns a boolean if a field has been set.

func (*Status) HasHealthRollup

func (o *Status) HasHealthRollup() bool

HasHealthRollup returns a boolean if a field has been set.

func (*Status) HasState

func (o *Status) HasState() bool

HasState returns a boolean if a field has been set.

func (Status) MarshalJSON

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

func (*Status) SetHealth

func (o *Status) SetHealth(v Health)

SetHealth gets a reference to the given Health and assigns it to the Health field.

func (*Status) SetHealthRollup

func (o *Status) SetHealthRollup(v Health)

SetHealthRollup gets a reference to the given Health and assigns it to the HealthRollup field.

func (*Status) SetState

func (o *Status) SetState(v State)

SetState gets a reference to the given State and assigns it to the State field.

type SystemLinks struct {
	Chassis   *[]IdRef `json:"Chassis,omitempty"`
	ManagedBy *[]IdRef `json:"ManagedBy,omitempty"`
}

SystemLinks struct for SystemLinks

func NewSystemLinks() *SystemLinks

NewSystemLinks instantiates a new SystemLinks 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 NewSystemLinksWithDefaults

func NewSystemLinksWithDefaults() *SystemLinks

NewSystemLinksWithDefaults instantiates a new SystemLinks 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 (*SystemLinks) GetChassis

func (o *SystemLinks) GetChassis() []IdRef

GetChassis returns the Chassis field value if set, zero value otherwise.

func (*SystemLinks) GetChassisOk

func (o *SystemLinks) GetChassisOk() (*[]IdRef, bool)

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

func (*SystemLinks) GetManagedBy

func (o *SystemLinks) GetManagedBy() []IdRef

GetManagedBy returns the ManagedBy field value if set, zero value otherwise.

func (*SystemLinks) GetManagedByOk

func (o *SystemLinks) GetManagedByOk() (*[]IdRef, bool)

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

func (*SystemLinks) HasChassis

func (o *SystemLinks) HasChassis() bool

HasChassis returns a boolean if a field has been set.

func (*SystemLinks) HasManagedBy

func (o *SystemLinks) HasManagedBy() bool

HasManagedBy returns a boolean if a field has been set.

func (SystemLinks) MarshalJSON

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

func (*SystemLinks) SetChassis

func (o *SystemLinks) SetChassis(v []IdRef)

SetChassis gets a reference to the given []IdRef and assigns it to the Chassis field.

func (*SystemLinks) SetManagedBy

func (o *SystemLinks) SetManagedBy(v []IdRef)

SetManagedBy gets a reference to the given []IdRef and assigns it to the ManagedBy field.

type Task

type Task struct {
	// The OData description of a payload.
	OdataContext *string `json:"@odata.context,omitempty"`
	// The current ETag of the resource.
	OdataEtag *string `json:"@odata.etag,omitempty"`
	// The name of the resource.
	OdataId string `json:"@odata.id"`
	// The type of a resource.
	OdataType string `json:"@odata.type"`
	// description
	Description NullableString `json:"Description,omitempty"`
	// The date-time stamp that the task was last completed.
	EndTime *string `json:"EndTime,omitempty"`
	// Indicates that the contents of the Payload should be hidden from view after the Task has been created.  When set to True, the Payload object will not be returned on GET.
	HidePayload *bool `json:"HidePayload,omitempty"`
	// The name of the resource.
	Id string `json:"Id"`
	// This is an array of messages associated with the task.
	Messages *[]Message `json:"Messages,omitempty"`
	// The name of the resource.
	Name string `json:"Name"`
	// This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.
	Oem     *string  `json:"Oem,omitempty"`
	Payload *Payload `json:"Payload,omitempty"`
	// The date-time stamp that the task was last started.
	StartTime *time.Time `json:"StartTime,omitempty"`
	// The URI of the Task Monitor for this task.
	TaskMonitor *string    `json:"TaskMonitor,omitempty"`
	TaskState   *TaskState `json:"TaskState,omitempty"`
	TaskStatus  *Health    `json:"TaskStatus,omitempty"`
}

Task This resource contains information about a specific Task scheduled by or being executed by a Redfish service's Task Service.

func NewTask

func NewTask(odataId string, odataType string, id string, name string) *Task

NewTask instantiates a new Task 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 NewTaskWithDefaults

func NewTaskWithDefaults() *Task

NewTaskWithDefaults instantiates a new Task 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 (*Task) GetDescription

func (o *Task) GetDescription() string

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

func (*Task) GetDescriptionOk

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

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

func (*Task) GetEndTime

func (o *Task) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*Task) GetEndTimeOk

func (o *Task) GetEndTimeOk() (*string, bool)

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

func (*Task) GetHidePayload

func (o *Task) GetHidePayload() bool

GetHidePayload returns the HidePayload field value if set, zero value otherwise.

func (*Task) GetHidePayloadOk

func (o *Task) GetHidePayloadOk() (*bool, bool)

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

func (*Task) GetId

func (o *Task) GetId() string

GetId returns the Id field value

func (*Task) GetIdOk

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

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

func (*Task) GetMessages

func (o *Task) GetMessages() []Message

GetMessages returns the Messages field value if set, zero value otherwise.

func (*Task) GetMessagesOk

func (o *Task) GetMessagesOk() (*[]Message, bool)

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

func (*Task) GetName

func (o *Task) GetName() string

GetName returns the Name field value

func (*Task) GetNameOk

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

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

func (*Task) GetOdataContext

func (o *Task) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*Task) GetOdataContextOk

func (o *Task) GetOdataContextOk() (*string, bool)

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

func (*Task) GetOdataEtag

func (o *Task) GetOdataEtag() string

GetOdataEtag returns the OdataEtag field value if set, zero value otherwise.

func (*Task) GetOdataEtagOk

func (o *Task) GetOdataEtagOk() (*string, bool)

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

func (*Task) GetOdataId

func (o *Task) GetOdataId() string

GetOdataId returns the OdataId field value

func (*Task) GetOdataIdOk

func (o *Task) GetOdataIdOk() (*string, bool)

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

func (*Task) GetOdataType

func (o *Task) GetOdataType() string

GetOdataType returns the OdataType field value

func (*Task) GetOdataTypeOk

func (o *Task) GetOdataTypeOk() (*string, bool)

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

func (*Task) GetOem

func (o *Task) GetOem() string

GetOem returns the Oem field value if set, zero value otherwise.

func (*Task) GetOemOk

func (o *Task) GetOemOk() (*string, bool)

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 (*Task) GetPayload

func (o *Task) GetPayload() Payload

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

func (*Task) GetPayloadOk

func (o *Task) GetPayloadOk() (*Payload, bool)

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

func (*Task) GetStartTime

func (o *Task) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*Task) GetStartTimeOk

func (o *Task) GetStartTimeOk() (*time.Time, bool)

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

func (*Task) GetTaskMonitor

func (o *Task) GetTaskMonitor() string

GetTaskMonitor returns the TaskMonitor field value if set, zero value otherwise.

func (*Task) GetTaskMonitorOk

func (o *Task) GetTaskMonitorOk() (*string, bool)

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

func (*Task) GetTaskState

func (o *Task) GetTaskState() TaskState

GetTaskState returns the TaskState field value if set, zero value otherwise.

func (*Task) GetTaskStateOk

func (o *Task) GetTaskStateOk() (*TaskState, bool)

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

func (*Task) GetTaskStatus

func (o *Task) GetTaskStatus() Health

GetTaskStatus returns the TaskStatus field value if set, zero value otherwise.

func (*Task) GetTaskStatusOk

func (o *Task) GetTaskStatusOk() (*Health, bool)

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

func (*Task) HasDescription

func (o *Task) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Task) HasEndTime

func (o *Task) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*Task) HasHidePayload

func (o *Task) HasHidePayload() bool

HasHidePayload returns a boolean if a field has been set.

func (*Task) HasMessages

func (o *Task) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*Task) HasOdataContext

func (o *Task) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*Task) HasOdataEtag

func (o *Task) HasOdataEtag() bool

HasOdataEtag returns a boolean if a field has been set.

func (*Task) HasOem

func (o *Task) HasOem() bool

HasOem returns a boolean if a field has been set.

func (*Task) HasPayload

func (o *Task) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*Task) HasStartTime

func (o *Task) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*Task) HasTaskMonitor

func (o *Task) HasTaskMonitor() bool

HasTaskMonitor returns a boolean if a field has been set.

func (*Task) HasTaskState

func (o *Task) HasTaskState() bool

HasTaskState returns a boolean if a field has been set.

func (*Task) HasTaskStatus

func (o *Task) HasTaskStatus() bool

HasTaskStatus returns a boolean if a field has been set.

func (Task) MarshalJSON

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

func (*Task) SetDescription

func (o *Task) SetDescription(v string)

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

func (*Task) SetDescriptionNil

func (o *Task) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Task) SetEndTime

func (o *Task) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*Task) SetHidePayload

func (o *Task) SetHidePayload(v bool)

SetHidePayload gets a reference to the given bool and assigns it to the HidePayload field.

func (*Task) SetId

func (o *Task) SetId(v string)

SetId sets field value

func (*Task) SetMessages

func (o *Task) SetMessages(v []Message)

SetMessages gets a reference to the given []Message and assigns it to the Messages field.

func (*Task) SetName

func (o *Task) SetName(v string)

SetName sets field value

func (*Task) SetOdataContext

func (o *Task) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*Task) SetOdataEtag

func (o *Task) SetOdataEtag(v string)

SetOdataEtag gets a reference to the given string and assigns it to the OdataEtag field.

func (*Task) SetOdataId

func (o *Task) SetOdataId(v string)

SetOdataId sets field value

func (*Task) SetOdataType

func (o *Task) SetOdataType(v string)

SetOdataType sets field value

func (*Task) SetOem

func (o *Task) SetOem(v string)

SetOem gets a reference to the given string and assigns it to the Oem field.

func (*Task) SetPayload

func (o *Task) SetPayload(v Payload)

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

func (*Task) SetStartTime

func (o *Task) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

func (*Task) SetTaskMonitor

func (o *Task) SetTaskMonitor(v string)

SetTaskMonitor gets a reference to the given string and assigns it to the TaskMonitor field.

func (*Task) SetTaskState

func (o *Task) SetTaskState(v TaskState)

SetTaskState gets a reference to the given TaskState and assigns it to the TaskState field.

func (*Task) SetTaskStatus

func (o *Task) SetTaskStatus(v Health)

SetTaskStatus gets a reference to the given Health and assigns it to the TaskStatus field.

func (*Task) UnsetDescription

func (o *Task) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type TaskState

type TaskState string

TaskState the model 'TaskState'

const (
	TASKSTATE_NEW         TaskState = "New"
	TASKSTATE_STARTING    TaskState = "Starting"
	TASKSTATE_RUNNING     TaskState = "Running"
	TASKSTATE_SUSPENDED   TaskState = "Suspended"
	TASKSTATE_INTERRUPTED TaskState = "Interrupted"
	TASKSTATE_PENDING     TaskState = "Pending"
	TASKSTATE_STOPPING    TaskState = "Stopping"
	TASKSTATE_COMPLETED   TaskState = "Completed"
	TASKSTATE_KILLED      TaskState = "Killed"
	TASKSTATE_EXCEPTION   TaskState = "Exception"
	TASKSTATE_SERVICE     TaskState = "Service"
	TASKSTATE_CANCELLING  TaskState = "Cancelling"
	TASKSTATE_CANCELLED   TaskState = "Cancelled"
)

List of TaskState

func (TaskState) Ptr

func (v TaskState) Ptr() *TaskState

Ptr returns reference to TaskState value

func (*TaskState) UnmarshalJSON

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

type TransferMethod

type TransferMethod string

TransferMethod the model 'TransferMethod'

const (
	TRANSFERMETHOD_STREAM TransferMethod = "Stream"
	TRANSFERMETHOD_UPLOAD TransferMethod = "Upload"
)

List of TransferMethod

func (TransferMethod) Ptr

func (v TransferMethod) Ptr() *TransferMethod

Ptr returns reference to TransferMethod value

func (*TransferMethod) UnmarshalJSON

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

type TransferProtocolType

type TransferProtocolType string

TransferProtocolType the model 'TransferProtocolType'

const (
	TRANSFERPROTOCOLTYPE_CIFS  TransferProtocolType = "CIFS"
	TRANSFERPROTOCOLTYPE_FTP   TransferProtocolType = "FTP"
	TRANSFERPROTOCOLTYPE_SFTP  TransferProtocolType = "SFTP"
	TRANSFERPROTOCOLTYPE_HTTP  TransferProtocolType = "HTTP"
	TRANSFERPROTOCOLTYPE_HTTPS TransferProtocolType = "HTTPS"
	TRANSFERPROTOCOLTYPE_NFS   TransferProtocolType = "NFS"
	TRANSFERPROTOCOLTYPE_SCP   TransferProtocolType = "SCP"
	TRANSFERPROTOCOLTYPE_TFTP  TransferProtocolType = "TFTP"
)

List of TransferProtocolType

func (TransferProtocolType) Ptr

Ptr returns reference to TransferProtocolType value

func (*TransferProtocolType) UnmarshalJSON

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

type UpdateService

type UpdateService struct {
	FirmwareInventory *FirmwareInventory `json:"FirmwareInventory,omitempty"`
	// The name of the resource.
	Id *string `json:"Id,omitempty"`
	// The name of the resource.
	Name string `json:"Name"`
	// The type of a resource.
	OdataType string `json:"@odata.type"`
	// The unique identifier for a resource.
	OdataId string `json:"@odata.id"`
	// The OData description of a payload.
	OdataContext *string `json:"@odata.context,omitempty"`
	// description
	Description    NullableString        `json:"Description,omitempty"`
	HttpPushUri    *string               `json:"HttpPushUri,omitempty"`
	ServiceEnabled NullableBool          `json:"ServiceEnabled,omitempty"`
	Actions        *UpdateServiceActions `json:"Actions,omitempty"`
}

UpdateService Redfish Update Service.

func NewUpdateService

func NewUpdateService(name string, odataType string, odataId string) *UpdateService

NewUpdateService instantiates a new UpdateService 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 NewUpdateServiceWithDefaults

func NewUpdateServiceWithDefaults() *UpdateService

NewUpdateServiceWithDefaults instantiates a new UpdateService 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 (*UpdateService) GetActions

func (o *UpdateService) GetActions() UpdateServiceActions

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

func (*UpdateService) GetActionsOk

func (o *UpdateService) GetActionsOk() (*UpdateServiceActions, bool)

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

func (*UpdateService) GetDescription

func (o *UpdateService) GetDescription() string

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

func (*UpdateService) GetDescriptionOk

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

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

func (*UpdateService) GetFirmwareInventory

func (o *UpdateService) GetFirmwareInventory() FirmwareInventory

GetFirmwareInventory returns the FirmwareInventory field value if set, zero value otherwise.

func (*UpdateService) GetFirmwareInventoryOk

func (o *UpdateService) GetFirmwareInventoryOk() (*FirmwareInventory, bool)

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

func (*UpdateService) GetHttpPushUri

func (o *UpdateService) GetHttpPushUri() string

GetHttpPushUri returns the HttpPushUri field value if set, zero value otherwise.

func (*UpdateService) GetHttpPushUriOk

func (o *UpdateService) GetHttpPushUriOk() (*string, bool)

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

func (*UpdateService) GetId

func (o *UpdateService) GetId() string

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

func (*UpdateService) GetIdOk

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

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

func (*UpdateService) GetName

func (o *UpdateService) GetName() string

GetName returns the Name field value

func (*UpdateService) GetNameOk

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

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

func (*UpdateService) GetOdataContext

func (o *UpdateService) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*UpdateService) GetOdataContextOk

func (o *UpdateService) GetOdataContextOk() (*string, bool)

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

func (*UpdateService) GetOdataId

func (o *UpdateService) GetOdataId() string

GetOdataId returns the OdataId field value

func (*UpdateService) GetOdataIdOk

func (o *UpdateService) GetOdataIdOk() (*string, bool)

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

func (*UpdateService) GetOdataType

func (o *UpdateService) GetOdataType() string

GetOdataType returns the OdataType field value

func (*UpdateService) GetOdataTypeOk

func (o *UpdateService) GetOdataTypeOk() (*string, bool)

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

func (*UpdateService) GetServiceEnabled

func (o *UpdateService) GetServiceEnabled() bool

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

func (*UpdateService) GetServiceEnabledOk

func (o *UpdateService) GetServiceEnabledOk() (*bool, bool)

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

func (*UpdateService) HasActions

func (o *UpdateService) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*UpdateService) HasDescription

func (o *UpdateService) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateService) HasFirmwareInventory

func (o *UpdateService) HasFirmwareInventory() bool

HasFirmwareInventory returns a boolean if a field has been set.

func (*UpdateService) HasHttpPushUri

func (o *UpdateService) HasHttpPushUri() bool

HasHttpPushUri returns a boolean if a field has been set.

func (*UpdateService) HasId

func (o *UpdateService) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateService) HasOdataContext

func (o *UpdateService) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*UpdateService) HasServiceEnabled

func (o *UpdateService) HasServiceEnabled() bool

HasServiceEnabled returns a boolean if a field has been set.

func (UpdateService) MarshalJSON

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

func (*UpdateService) SetActions

func (o *UpdateService) SetActions(v UpdateServiceActions)

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

func (*UpdateService) SetDescription

func (o *UpdateService) SetDescription(v string)

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

func (*UpdateService) SetDescriptionNil

func (o *UpdateService) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*UpdateService) SetFirmwareInventory

func (o *UpdateService) SetFirmwareInventory(v FirmwareInventory)

SetFirmwareInventory gets a reference to the given FirmwareInventory and assigns it to the FirmwareInventory field.

func (*UpdateService) SetHttpPushUri

func (o *UpdateService) SetHttpPushUri(v string)

SetHttpPushUri gets a reference to the given string and assigns it to the HttpPushUri field.

func (*UpdateService) SetId

func (o *UpdateService) SetId(v string)

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

func (*UpdateService) SetName

func (o *UpdateService) SetName(v string)

SetName sets field value

func (*UpdateService) SetOdataContext

func (o *UpdateService) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*UpdateService) SetOdataId

func (o *UpdateService) SetOdataId(v string)

SetOdataId sets field value

func (*UpdateService) SetOdataType

func (o *UpdateService) SetOdataType(v string)

SetOdataType sets field value

func (*UpdateService) SetServiceEnabled

func (o *UpdateService) SetServiceEnabled(v bool)

SetServiceEnabled gets a reference to the given NullableBool and assigns it to the ServiceEnabled field.

func (*UpdateService) SetServiceEnabledNil

func (o *UpdateService) SetServiceEnabledNil()

SetServiceEnabledNil sets the value for ServiceEnabled to be an explicit nil

func (*UpdateService) UnsetDescription

func (o *UpdateService) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*UpdateService) UnsetServiceEnabled

func (o *UpdateService) UnsetServiceEnabled()

UnsetServiceEnabled ensures that no value is present for ServiceEnabled, not even an explicit nil

type UpdateServiceActions

type UpdateServiceActions struct {
	UpdateServiceSimpleUpdate *VirtualMediaActionsVirtualMediaEjectMedia `json:"#UpdateService.SimpleUpdate,omitempty"`
	UpdateServiceStartUpdate  *VirtualMediaActionsVirtualMediaEjectMedia `json:"#UpdateService.StartUpdate,omitempty"`
}

UpdateServiceActions struct for UpdateServiceActions

func NewUpdateServiceActions

func NewUpdateServiceActions() *UpdateServiceActions

NewUpdateServiceActions instantiates a new UpdateServiceActions 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 NewUpdateServiceActionsWithDefaults

func NewUpdateServiceActionsWithDefaults() *UpdateServiceActions

NewUpdateServiceActionsWithDefaults instantiates a new UpdateServiceActions 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 (*UpdateServiceActions) GetUpdateServiceSimpleUpdate

func (o *UpdateServiceActions) GetUpdateServiceSimpleUpdate() VirtualMediaActionsVirtualMediaEjectMedia

GetUpdateServiceSimpleUpdate returns the UpdateServiceSimpleUpdate field value if set, zero value otherwise.

func (*UpdateServiceActions) GetUpdateServiceSimpleUpdateOk

func (o *UpdateServiceActions) GetUpdateServiceSimpleUpdateOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)

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

func (*UpdateServiceActions) GetUpdateServiceStartUpdate

func (o *UpdateServiceActions) GetUpdateServiceStartUpdate() VirtualMediaActionsVirtualMediaEjectMedia

GetUpdateServiceStartUpdate returns the UpdateServiceStartUpdate field value if set, zero value otherwise.

func (*UpdateServiceActions) GetUpdateServiceStartUpdateOk

func (o *UpdateServiceActions) GetUpdateServiceStartUpdateOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)

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

func (*UpdateServiceActions) HasUpdateServiceSimpleUpdate

func (o *UpdateServiceActions) HasUpdateServiceSimpleUpdate() bool

HasUpdateServiceSimpleUpdate returns a boolean if a field has been set.

func (*UpdateServiceActions) HasUpdateServiceStartUpdate

func (o *UpdateServiceActions) HasUpdateServiceStartUpdate() bool

HasUpdateServiceStartUpdate returns a boolean if a field has been set.

func (UpdateServiceActions) MarshalJSON

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

func (*UpdateServiceActions) SetUpdateServiceSimpleUpdate

func (o *UpdateServiceActions) SetUpdateServiceSimpleUpdate(v VirtualMediaActionsVirtualMediaEjectMedia)

SetUpdateServiceSimpleUpdate gets a reference to the given VirtualMediaActionsVirtualMediaEjectMedia and assigns it to the UpdateServiceSimpleUpdate field.

func (*UpdateServiceActions) SetUpdateServiceStartUpdate

func (o *UpdateServiceActions) SetUpdateServiceStartUpdate(v VirtualMediaActionsVirtualMediaEjectMedia)

SetUpdateServiceStartUpdate gets a reference to the given VirtualMediaActionsVirtualMediaEjectMedia and assigns it to the UpdateServiceStartUpdate field.

type VirtualMedia

type VirtualMedia struct {
	// The name of the resource.
	Id *string `json:"Id,omitempty"`
	// The name of the resource.
	Name string `json:"Name"`
	// The type of a resource.
	OdataType string `json:"@odata.type"`
	// The unique identifier for a resource.
	OdataId string `json:"@odata.id"`
	// The OData description of a payload.
	OdataContext *string `json:"@odata.context,omitempty"`
	// redfish copyright
	RedfishCopyright *string `json:"@Redfish.Copyright,omitempty"`
	// description
	Description          NullableString        `json:"Description,omitempty"`
	Image                NullableString        `json:"Image,omitempty"`
	ImageName            NullableString        `json:"ImageName,omitempty"`
	Inserted             NullableBool          `json:"Inserted,omitempty"`
	ConnectedVia         *ConnectedVia         `json:"ConnectedVia,omitempty"`
	MediaTypes           *[]string             `json:"MediaTypes,omitempty"`
	WriteProtected       NullableBool          `json:"WriteProtected,omitempty"`
	UserName             NullableString        `json:"UserName,omitempty"`
	Password             NullableString        `json:"Password,omitempty"`
	TransferMethod       *TransferMethod       `json:"TransferMethod,omitempty"`
	TransferProtocolType *TransferProtocolType `json:"TransferProtocolType,omitempty"`
	Actions              *VirtualMediaActions  `json:"Actions,omitempty"`
}

VirtualMedia Redfish virtual media resource for manager.

func NewVirtualMedia

func NewVirtualMedia(name string, odataType string, odataId string) *VirtualMedia

NewVirtualMedia instantiates a new VirtualMedia 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 NewVirtualMediaWithDefaults

func NewVirtualMediaWithDefaults() *VirtualMedia

NewVirtualMediaWithDefaults instantiates a new VirtualMedia 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 (*VirtualMedia) GetActions

func (o *VirtualMedia) GetActions() VirtualMediaActions

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

func (*VirtualMedia) GetActionsOk

func (o *VirtualMedia) GetActionsOk() (*VirtualMediaActions, bool)

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

func (*VirtualMedia) GetConnectedVia

func (o *VirtualMedia) GetConnectedVia() ConnectedVia

GetConnectedVia returns the ConnectedVia field value if set, zero value otherwise.

func (*VirtualMedia) GetConnectedViaOk

func (o *VirtualMedia) GetConnectedViaOk() (*ConnectedVia, bool)

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

func (*VirtualMedia) GetDescription

func (o *VirtualMedia) GetDescription() string

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

func (*VirtualMedia) GetDescriptionOk

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

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

func (*VirtualMedia) GetId

func (o *VirtualMedia) GetId() string

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

func (*VirtualMedia) GetIdOk

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

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

func (*VirtualMedia) GetImage

func (o *VirtualMedia) GetImage() string

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

func (*VirtualMedia) GetImageName

func (o *VirtualMedia) GetImageName() string

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

func (*VirtualMedia) GetImageNameOk

func (o *VirtualMedia) GetImageNameOk() (*string, bool)

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

func (*VirtualMedia) GetImageOk

func (o *VirtualMedia) GetImageOk() (*string, bool)

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

func (*VirtualMedia) GetInserted

func (o *VirtualMedia) GetInserted() bool

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

func (*VirtualMedia) GetInsertedOk

func (o *VirtualMedia) GetInsertedOk() (*bool, bool)

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

func (*VirtualMedia) GetMediaTypes

func (o *VirtualMedia) GetMediaTypes() []string

GetMediaTypes returns the MediaTypes field value if set, zero value otherwise.

func (*VirtualMedia) GetMediaTypesOk

func (o *VirtualMedia) GetMediaTypesOk() (*[]string, bool)

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

func (*VirtualMedia) GetName

func (o *VirtualMedia) GetName() string

GetName returns the Name field value

func (*VirtualMedia) GetNameOk

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

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

func (*VirtualMedia) GetOdataContext

func (o *VirtualMedia) GetOdataContext() string

GetOdataContext returns the OdataContext field value if set, zero value otherwise.

func (*VirtualMedia) GetOdataContextOk

func (o *VirtualMedia) GetOdataContextOk() (*string, bool)

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

func (*VirtualMedia) GetOdataId

func (o *VirtualMedia) GetOdataId() string

GetOdataId returns the OdataId field value

func (*VirtualMedia) GetOdataIdOk

func (o *VirtualMedia) GetOdataIdOk() (*string, bool)

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

func (*VirtualMedia) GetOdataType

func (o *VirtualMedia) GetOdataType() string

GetOdataType returns the OdataType field value

func (*VirtualMedia) GetOdataTypeOk

func (o *VirtualMedia) GetOdataTypeOk() (*string, bool)

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

func (*VirtualMedia) GetPassword

func (o *VirtualMedia) GetPassword() string

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

func (*VirtualMedia) GetPasswordOk

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

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

func (*VirtualMedia) GetRedfishCopyright

func (o *VirtualMedia) GetRedfishCopyright() string

GetRedfishCopyright returns the RedfishCopyright field value if set, zero value otherwise.

func (*VirtualMedia) GetRedfishCopyrightOk

func (o *VirtualMedia) GetRedfishCopyrightOk() (*string, bool)

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

func (*VirtualMedia) GetTransferMethod

func (o *VirtualMedia) GetTransferMethod() TransferMethod

GetTransferMethod returns the TransferMethod field value if set, zero value otherwise.

func (*VirtualMedia) GetTransferMethodOk

func (o *VirtualMedia) GetTransferMethodOk() (*TransferMethod, bool)

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

func (*VirtualMedia) GetTransferProtocolType

func (o *VirtualMedia) GetTransferProtocolType() TransferProtocolType

GetTransferProtocolType returns the TransferProtocolType field value if set, zero value otherwise.

func (*VirtualMedia) GetTransferProtocolTypeOk

func (o *VirtualMedia) GetTransferProtocolTypeOk() (*TransferProtocolType, bool)

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

func (*VirtualMedia) GetUserName

func (o *VirtualMedia) GetUserName() string

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

func (*VirtualMedia) GetUserNameOk

func (o *VirtualMedia) GetUserNameOk() (*string, bool)

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

func (*VirtualMedia) GetWriteProtected

func (o *VirtualMedia) GetWriteProtected() bool

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

func (*VirtualMedia) GetWriteProtectedOk

func (o *VirtualMedia) GetWriteProtectedOk() (*bool, bool)

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

func (*VirtualMedia) HasActions

func (o *VirtualMedia) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*VirtualMedia) HasConnectedVia

func (o *VirtualMedia) HasConnectedVia() bool

HasConnectedVia returns a boolean if a field has been set.

func (*VirtualMedia) HasDescription

func (o *VirtualMedia) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VirtualMedia) HasId

func (o *VirtualMedia) HasId() bool

HasId returns a boolean if a field has been set.

func (*VirtualMedia) HasImage

func (o *VirtualMedia) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*VirtualMedia) HasImageName

func (o *VirtualMedia) HasImageName() bool

HasImageName returns a boolean if a field has been set.

func (*VirtualMedia) HasInserted

func (o *VirtualMedia) HasInserted() bool

HasInserted returns a boolean if a field has been set.

func (*VirtualMedia) HasMediaTypes

func (o *VirtualMedia) HasMediaTypes() bool

HasMediaTypes returns a boolean if a field has been set.

func (*VirtualMedia) HasOdataContext

func (o *VirtualMedia) HasOdataContext() bool

HasOdataContext returns a boolean if a field has been set.

func (*VirtualMedia) HasPassword

func (o *VirtualMedia) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*VirtualMedia) HasRedfishCopyright

func (o *VirtualMedia) HasRedfishCopyright() bool

HasRedfishCopyright returns a boolean if a field has been set.

func (*VirtualMedia) HasTransferMethod

func (o *VirtualMedia) HasTransferMethod() bool

HasTransferMethod returns a boolean if a field has been set.

func (*VirtualMedia) HasTransferProtocolType

func (o *VirtualMedia) HasTransferProtocolType() bool

HasTransferProtocolType returns a boolean if a field has been set.

func (*VirtualMedia) HasUserName

func (o *VirtualMedia) HasUserName() bool

HasUserName returns a boolean if a field has been set.

func (*VirtualMedia) HasWriteProtected

func (o *VirtualMedia) HasWriteProtected() bool

HasWriteProtected returns a boolean if a field has been set.

func (VirtualMedia) MarshalJSON

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

func (*VirtualMedia) SetActions

func (o *VirtualMedia) SetActions(v VirtualMediaActions)

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

func (*VirtualMedia) SetConnectedVia

func (o *VirtualMedia) SetConnectedVia(v ConnectedVia)

SetConnectedVia gets a reference to the given ConnectedVia and assigns it to the ConnectedVia field.

func (*VirtualMedia) SetDescription

func (o *VirtualMedia) SetDescription(v string)

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

func (*VirtualMedia) SetDescriptionNil

func (o *VirtualMedia) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*VirtualMedia) SetId

func (o *VirtualMedia) SetId(v string)

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

func (*VirtualMedia) SetImage

func (o *VirtualMedia) SetImage(v string)

SetImage gets a reference to the given NullableString and assigns it to the Image field.

func (*VirtualMedia) SetImageName

func (o *VirtualMedia) SetImageName(v string)

SetImageName gets a reference to the given NullableString and assigns it to the ImageName field.

func (*VirtualMedia) SetImageNameNil

func (o *VirtualMedia) SetImageNameNil()

SetImageNameNil sets the value for ImageName to be an explicit nil

func (*VirtualMedia) SetImageNil

func (o *VirtualMedia) SetImageNil()

SetImageNil sets the value for Image to be an explicit nil

func (*VirtualMedia) SetInserted

func (o *VirtualMedia) SetInserted(v bool)

SetInserted gets a reference to the given NullableBool and assigns it to the Inserted field.

func (*VirtualMedia) SetInsertedNil

func (o *VirtualMedia) SetInsertedNil()

SetInsertedNil sets the value for Inserted to be an explicit nil

func (*VirtualMedia) SetMediaTypes

func (o *VirtualMedia) SetMediaTypes(v []string)

SetMediaTypes gets a reference to the given []string and assigns it to the MediaTypes field.

func (*VirtualMedia) SetName

func (o *VirtualMedia) SetName(v string)

SetName sets field value

func (*VirtualMedia) SetOdataContext

func (o *VirtualMedia) SetOdataContext(v string)

SetOdataContext gets a reference to the given string and assigns it to the OdataContext field.

func (*VirtualMedia) SetOdataId

func (o *VirtualMedia) SetOdataId(v string)

SetOdataId sets field value

func (*VirtualMedia) SetOdataType

func (o *VirtualMedia) SetOdataType(v string)

SetOdataType sets field value

func (*VirtualMedia) SetPassword

func (o *VirtualMedia) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field.

func (*VirtualMedia) SetPasswordNil

func (o *VirtualMedia) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*VirtualMedia) SetRedfishCopyright

func (o *VirtualMedia) SetRedfishCopyright(v string)

SetRedfishCopyright gets a reference to the given string and assigns it to the RedfishCopyright field.

func (*VirtualMedia) SetTransferMethod

func (o *VirtualMedia) SetTransferMethod(v TransferMethod)

SetTransferMethod gets a reference to the given TransferMethod and assigns it to the TransferMethod field.

func (*VirtualMedia) SetTransferProtocolType

func (o *VirtualMedia) SetTransferProtocolType(v TransferProtocolType)

SetTransferProtocolType gets a reference to the given TransferProtocolType and assigns it to the TransferProtocolType field.

func (*VirtualMedia) SetUserName

func (o *VirtualMedia) SetUserName(v string)

SetUserName gets a reference to the given NullableString and assigns it to the UserName field.

func (*VirtualMedia) SetUserNameNil

func (o *VirtualMedia) SetUserNameNil()

SetUserNameNil sets the value for UserName to be an explicit nil

func (*VirtualMedia) SetWriteProtected

func (o *VirtualMedia) SetWriteProtected(v bool)

SetWriteProtected gets a reference to the given NullableBool and assigns it to the WriteProtected field.

func (*VirtualMedia) SetWriteProtectedNil

func (o *VirtualMedia) SetWriteProtectedNil()

SetWriteProtectedNil sets the value for WriteProtected to be an explicit nil

func (*VirtualMedia) UnsetDescription

func (o *VirtualMedia) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*VirtualMedia) UnsetImage

func (o *VirtualMedia) UnsetImage()

UnsetImage ensures that no value is present for Image, not even an explicit nil

func (*VirtualMedia) UnsetImageName

func (o *VirtualMedia) UnsetImageName()

UnsetImageName ensures that no value is present for ImageName, not even an explicit nil

func (*VirtualMedia) UnsetInserted

func (o *VirtualMedia) UnsetInserted()

UnsetInserted ensures that no value is present for Inserted, not even an explicit nil

func (*VirtualMedia) UnsetPassword

func (o *VirtualMedia) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

func (*VirtualMedia) UnsetUserName

func (o *VirtualMedia) UnsetUserName()

UnsetUserName ensures that no value is present for UserName, not even an explicit nil

func (*VirtualMedia) UnsetWriteProtected

func (o *VirtualMedia) UnsetWriteProtected()

UnsetWriteProtected ensures that no value is present for WriteProtected, not even an explicit nil

type VirtualMediaActions

type VirtualMediaActions struct {
	VirtualMediaEjectMedia  *VirtualMediaActionsVirtualMediaEjectMedia `json:"#VirtualMedia.EjectMedia,omitempty"`
	VirtualMediaInsertMedia *VirtualMediaActionsVirtualMediaEjectMedia `json:"#VirtualMedia.InsertMedia,omitempty"`
}

VirtualMediaActions struct for VirtualMediaActions

func NewVirtualMediaActions

func NewVirtualMediaActions() *VirtualMediaActions

NewVirtualMediaActions instantiates a new VirtualMediaActions 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 NewVirtualMediaActionsWithDefaults

func NewVirtualMediaActionsWithDefaults() *VirtualMediaActions

NewVirtualMediaActionsWithDefaults instantiates a new VirtualMediaActions 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 (*VirtualMediaActions) GetVirtualMediaEjectMedia

func (o *VirtualMediaActions) GetVirtualMediaEjectMedia() VirtualMediaActionsVirtualMediaEjectMedia

GetVirtualMediaEjectMedia returns the VirtualMediaEjectMedia field value if set, zero value otherwise.

func (*VirtualMediaActions) GetVirtualMediaEjectMediaOk

func (o *VirtualMediaActions) GetVirtualMediaEjectMediaOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)

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

func (*VirtualMediaActions) GetVirtualMediaInsertMedia

func (o *VirtualMediaActions) GetVirtualMediaInsertMedia() VirtualMediaActionsVirtualMediaEjectMedia

GetVirtualMediaInsertMedia returns the VirtualMediaInsertMedia field value if set, zero value otherwise.

func (*VirtualMediaActions) GetVirtualMediaInsertMediaOk

func (o *VirtualMediaActions) GetVirtualMediaInsertMediaOk() (*VirtualMediaActionsVirtualMediaEjectMedia, bool)

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

func (*VirtualMediaActions) HasVirtualMediaEjectMedia

func (o *VirtualMediaActions) HasVirtualMediaEjectMedia() bool

HasVirtualMediaEjectMedia returns a boolean if a field has been set.

func (*VirtualMediaActions) HasVirtualMediaInsertMedia

func (o *VirtualMediaActions) HasVirtualMediaInsertMedia() bool

HasVirtualMediaInsertMedia returns a boolean if a field has been set.

func (VirtualMediaActions) MarshalJSON

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

func (*VirtualMediaActions) SetVirtualMediaEjectMedia

func (o *VirtualMediaActions) SetVirtualMediaEjectMedia(v VirtualMediaActionsVirtualMediaEjectMedia)

SetVirtualMediaEjectMedia gets a reference to the given VirtualMediaActionsVirtualMediaEjectMedia and assigns it to the VirtualMediaEjectMedia field.

func (*VirtualMediaActions) SetVirtualMediaInsertMedia

func (o *VirtualMediaActions) SetVirtualMediaInsertMedia(v VirtualMediaActionsVirtualMediaEjectMedia)

SetVirtualMediaInsertMedia gets a reference to the given VirtualMediaActionsVirtualMediaEjectMedia and assigns it to the VirtualMediaInsertMedia field.

type VirtualMediaActionsVirtualMediaEjectMedia

type VirtualMediaActionsVirtualMediaEjectMedia struct {
	// The unique identifier for a resource.
	Target *string `json:"target,omitempty"`
}

VirtualMediaActionsVirtualMediaEjectMedia struct for VirtualMediaActionsVirtualMediaEjectMedia

func NewVirtualMediaActionsVirtualMediaEjectMedia

func NewVirtualMediaActionsVirtualMediaEjectMedia() *VirtualMediaActionsVirtualMediaEjectMedia

NewVirtualMediaActionsVirtualMediaEjectMedia instantiates a new VirtualMediaActionsVirtualMediaEjectMedia 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 NewVirtualMediaActionsVirtualMediaEjectMediaWithDefaults

func NewVirtualMediaActionsVirtualMediaEjectMediaWithDefaults() *VirtualMediaActionsVirtualMediaEjectMedia

NewVirtualMediaActionsVirtualMediaEjectMediaWithDefaults instantiates a new VirtualMediaActionsVirtualMediaEjectMedia 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 (*VirtualMediaActionsVirtualMediaEjectMedia) GetTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*VirtualMediaActionsVirtualMediaEjectMedia) 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 (*VirtualMediaActionsVirtualMediaEjectMedia) HasTarget

HasTarget returns a boolean if a field has been set.

func (VirtualMediaActionsVirtualMediaEjectMedia) MarshalJSON

func (*VirtualMediaActionsVirtualMediaEjectMedia) SetTarget

SetTarget gets a reference to the given string and assigns it to the Target field.

type VolumeType

type VolumeType string

VolumeType the model 'VolumeType'

const (
	VOLUMETYPE_RAW_DEVICE                  VolumeType = "RawDevice"
	VOLUMETYPE_NON_REDUNDANT               VolumeType = "NonRedundant"
	VOLUMETYPE_MIRRORED                    VolumeType = "Mirrored"
	VOLUMETYPE_STRIPED_WITH_PARITY         VolumeType = "StripedWithParity"
	VOLUMETYPE_SPANNED_MIRRORS             VolumeType = "SpannedMirrors"
	VOLUMETYPE_SPANNED_STRIPES_WITH_PARITY VolumeType = "SpannedStripesWithParity"
)

List of VolumeType

func (VolumeType) Ptr

func (v VolumeType) Ptr() *VolumeType

Ptr returns reference to VolumeType value

func (*VolumeType) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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