generated

package
v1.19.2-redfish.preview.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Index

Constants

View Source
const (
	BasicAuthScopes = "BasicAuth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type ActionInfoParameterTypes

type ActionInfoParameterTypes string

ActionInfoParameterTypes defines model for ActionInfo_ParameterTypes.

const (
	Boolean     ActionInfoParameterTypes = "Boolean"
	Number      ActionInfoParameterTypes = "Number"
	NumberArray ActionInfoParameterTypes = "NumberArray"
	Object      ActionInfoParameterTypes = "Object"
	ObjectArray ActionInfoParameterTypes = "ObjectArray"
	String      ActionInfoParameterTypes = "String"
	StringArray ActionInfoParameterTypes = "StringArray"
)

Defines values for ActionInfoParameterTypes.

type ActionInfoParameters

type ActionInfoParameters struct {
	// AllowableNumbers The allowable numeric values or duration values, inclusive ranges of values, and incremental step values for this parameter as applied to this action target.
	AllowableNumbers *[]string `json:"AllowableNumbers,omitempty"`

	// AllowablePattern The allowable pattern for this parameter as applied to this action target.
	AllowablePattern *string `json:"AllowablePattern"`

	// AllowableValueDescriptions Descriptions of allowable values for this parameter.
	AllowableValueDescriptions *[]string `json:"AllowableValueDescriptions,omitempty"`

	// AllowableValues The allowable values for this parameter as applied to this action target.
	AllowableValues *[]string `json:"AllowableValues,omitempty"`

	// ArraySizeMaximum The maximum number of array elements allowed for this parameter.
	ArraySizeMaximum *int64 `json:"ArraySizeMaximum"`

	// ArraySizeMinimum The minimum number of array elements required for this parameter.
	ArraySizeMinimum *int64 `json:"ArraySizeMinimum"`

	// DataType The JSON property type for this parameter.
	DataType *ActionInfoParameters_DataType `json:"DataType,omitempty"`

	// DefaultValue The default value for this parameter.
	DefaultValue *string `json:"DefaultValue"`

	// MaximumValue The maximum supported value for this parameter.
	MaximumValue *float32 `json:"MaximumValue"`

	// MinimumValue The minimum supported value for this parameter.
	MinimumValue *float32 `json:"MinimumValue"`

	// Name The name of the parameter for this action.
	Name *string `json:"Name,omitempty"`

	// NoDefaultValue Indicates that there is no default value for this parameter.
	NoDefaultValue *bool `json:"NoDefaultValue"`

	// ObjectDataType The data type of an object-based parameter.
	ObjectDataType *string `json:"ObjectDataType"`

	// Required An indication of whether the parameter is required to complete this action.
	Required *bool `json:"Required,omitempty"`
}

ActionInfoParameters The information about a parameter included in a Redfish action for this resource.

type ActionInfoParametersDataType1

type ActionInfoParametersDataType1 = interface{}

ActionInfoParametersDataType1 defines model for .

type ActionInfoParameters_DataType

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

ActionInfoParameters_DataType The JSON property type for this parameter.

func (ActionInfoParameters_DataType) AsActionInfoParameterTypes

func (t ActionInfoParameters_DataType) AsActionInfoParameterTypes() (ActionInfoParameterTypes, error)

AsActionInfoParameterTypes returns the union data inside the ActionInfoParameters_DataType as a ActionInfoParameterTypes

func (ActionInfoParameters_DataType) AsActionInfoParametersDataType1

func (t ActionInfoParameters_DataType) AsActionInfoParametersDataType1() (ActionInfoParametersDataType1, error)

AsActionInfoParametersDataType1 returns the union data inside the ActionInfoParameters_DataType as a ActionInfoParametersDataType1

func (*ActionInfoParameters_DataType) FromActionInfoParameterTypes

func (t *ActionInfoParameters_DataType) FromActionInfoParameterTypes(v ActionInfoParameterTypes) error

FromActionInfoParameterTypes overwrites any union data inside the ActionInfoParameters_DataType as the provided ActionInfoParameterTypes

func (*ActionInfoParameters_DataType) FromActionInfoParametersDataType1

func (t *ActionInfoParameters_DataType) FromActionInfoParametersDataType1(v ActionInfoParametersDataType1) error

FromActionInfoParametersDataType1 overwrites any union data inside the ActionInfoParameters_DataType as the provided ActionInfoParametersDataType1

func (ActionInfoParameters_DataType) MarshalJSON

func (t ActionInfoParameters_DataType) MarshalJSON() ([]byte, error)

func (*ActionInfoParameters_DataType) MergeActionInfoParameterTypes

func (t *ActionInfoParameters_DataType) MergeActionInfoParameterTypes(v ActionInfoParameterTypes) error

MergeActionInfoParameterTypes performs a merge with any union data inside the ActionInfoParameters_DataType, using the provided ActionInfoParameterTypes

func (*ActionInfoParameters_DataType) MergeActionInfoParametersDataType1

func (t *ActionInfoParameters_DataType) MergeActionInfoParametersDataType1(v ActionInfoParametersDataType1) error

MergeActionInfoParametersDataType1 performs a merge with any union data inside the ActionInfoParameters_DataType, using the provided ActionInfoParametersDataType1

func (*ActionInfoParameters_DataType) UnmarshalJSON

func (t *ActionInfoParameters_DataType) UnmarshalJSON(b []byte) error

type ComputerSystemActions

type ComputerSystemActions struct {
	// HashComputerSystemReset This action resets the system.
	HashComputerSystemReset *ComputerSystemReset `json:"#ComputerSystem.Reset,omitempty"`
}

ComputerSystemActions The available actions for this resource.

type ComputerSystemAutomaticRetryConfig

type ComputerSystemAutomaticRetryConfig string

ComputerSystemAutomaticRetryConfig defines model for ComputerSystem_AutomaticRetryConfig.

const (
	ComputerSystemAutomaticRetryConfigDisabled      ComputerSystemAutomaticRetryConfig = "Disabled"
	ComputerSystemAutomaticRetryConfigRetryAlways   ComputerSystemAutomaticRetryConfig = "RetryAlways"
	ComputerSystemAutomaticRetryConfigRetryAttempts ComputerSystemAutomaticRetryConfig = "RetryAttempts"
)

Defines values for ComputerSystemAutomaticRetryConfig.

type ComputerSystemBoot

type ComputerSystemBoot struct {
	// AliasBootOrder Ordered array of boot source aliases representing the persistent boot order associated with this computer system.
	AliasBootOrder *[]ComputerSystemBoot_AliasBootOrder_Item `json:"AliasBootOrder,omitempty"`

	// AutomaticRetryAttempts The number of attempts the system will automatically retry booting.
	AutomaticRetryAttempts *int64 `json:"AutomaticRetryAttempts"`

	// AutomaticRetryConfig The configuration of how the system retries booting automatically.
	AutomaticRetryConfig *ComputerSystemBoot_AutomaticRetryConfig `json:"AutomaticRetryConfig,omitempty"`

	// BootNext The `BootOptionReference` of the Boot Option to perform a one-time boot from when `BootSourceOverrideTarget` is `UefiBootNext`.
	BootNext *string `json:"BootNext"`

	// BootOptions A reference to a resource.
	BootOptions *OdataV4IdRef `json:"BootOptions,omitempty"`

	// BootOrder An array of `BootOptionReference` strings that represent the persistent boot order for with this computer system.  Changes to the boot order typically require a system reset before they take effect.  It is likely that a client finds the `@Redfish.Settings` term in this resource, and if it is found, the client makes requests to change boot order settings by modifying the resource identified by the `@Redfish.Settings` term.
	BootOrder *[]string `json:"BootOrder,omitempty"`

	// BootOrderPropertySelection The name of the boot order property that the system uses for the persistent boot order.
	BootOrderPropertySelection *ComputerSystemBoot_BootOrderPropertySelection `json:"BootOrderPropertySelection,omitempty"`

	// BootSourceOverrideEnabled The state of the boot source override feature.
	BootSourceOverrideEnabled *ComputerSystemBoot_BootSourceOverrideEnabled `json:"BootSourceOverrideEnabled,omitempty"`

	// BootSourceOverrideMode The BIOS boot mode to use when the system boots from the `BootSourceOverrideTarget` boot source.
	BootSourceOverrideMode *ComputerSystemBoot_BootSourceOverrideMode `json:"BootSourceOverrideMode,omitempty"`

	// BootSourceOverrideTarget The current boot source to use at the next boot instead of the normal boot device, if `BootSourceOverrideEnabled` does not contain `Disabled`.
	BootSourceOverrideTarget *ComputerSystemBoot_BootSourceOverrideTarget `json:"BootSourceOverrideTarget,omitempty"`

	// Certificates A reference to a resource.
	Certificates *OdataV4IdRef `json:"Certificates,omitempty"`

	// HttpBootUri The URI to boot from when `BootSourceOverrideTarget` is set to `UefiHttp`.
	HttpBootUri *string `json:"HttpBootUri"`

	// RemainingAutomaticRetryAttempts The number of remaining automatic retry boots.
	RemainingAutomaticRetryAttempts *int64 `json:"RemainingAutomaticRetryAttempts"`

	// StopBootOnFault If the boot should stop on a fault.
	StopBootOnFault *ComputerSystemBoot_StopBootOnFault `json:"StopBootOnFault,omitempty"`

	// TrustedModuleRequiredToBoot The Trusted Module boot requirement.
	TrustedModuleRequiredToBoot *ComputerSystemBoot_TrustedModuleRequiredToBoot `json:"TrustedModuleRequiredToBoot,omitempty"`

	// UefiTargetBootSourceOverride The UEFI device path of the device from which to boot when `BootSourceOverrideTarget` is `UefiTarget`.
	UefiTargetBootSourceOverride *string `json:"UefiTargetBootSourceOverride"`
}

ComputerSystemBoot The boot information for this resource.

type ComputerSystemBootAliasBootOrder1

type ComputerSystemBootAliasBootOrder1 = interface{}

ComputerSystemBootAliasBootOrder1 defines model for .

type ComputerSystemBootAutomaticRetryConfig1

type ComputerSystemBootAutomaticRetryConfig1 = interface{}

ComputerSystemBootAutomaticRetryConfig1 defines model for .

type ComputerSystemBootBootOrderPropertySelection1

type ComputerSystemBootBootOrderPropertySelection1 = interface{}

ComputerSystemBootBootOrderPropertySelection1 defines model for .

type ComputerSystemBootBootSourceOverrideEnabled1

type ComputerSystemBootBootSourceOverrideEnabled1 = interface{}

ComputerSystemBootBootSourceOverrideEnabled1 defines model for .

type ComputerSystemBootBootSourceOverrideMode1

type ComputerSystemBootBootSourceOverrideMode1 = interface{}

ComputerSystemBootBootSourceOverrideMode1 defines model for .

type ComputerSystemBootBootSourceOverrideTarget1

type ComputerSystemBootBootSourceOverrideTarget1 = interface{}

ComputerSystemBootBootSourceOverrideTarget1 defines model for .

type ComputerSystemBootOrderTypes

type ComputerSystemBootOrderTypes string

ComputerSystemBootOrderTypes The enumerations of `BootOrderTypes` specify the choice of boot order property to use when controller the persistent boot order for this computer system.

const (
	AliasBootOrder ComputerSystemBootOrderTypes = "AliasBootOrder"
	BootOrder      ComputerSystemBootOrderTypes = "BootOrder"
)

Defines values for ComputerSystemBootOrderTypes.

type ComputerSystemBootSource

type ComputerSystemBootSource string

ComputerSystemBootSource defines model for ComputerSystem_BootSource.

const (
	ComputerSystemBootSourceBiosSetup    ComputerSystemBootSource = "BiosSetup"
	ComputerSystemBootSourceCd           ComputerSystemBootSource = "Cd"
	ComputerSystemBootSourceDiags        ComputerSystemBootSource = "Diags"
	ComputerSystemBootSourceFloppy       ComputerSystemBootSource = "Floppy"
	ComputerSystemBootSourceHdd          ComputerSystemBootSource = "Hdd"
	ComputerSystemBootSourceNone         ComputerSystemBootSource = "None"
	ComputerSystemBootSourcePxe          ComputerSystemBootSource = "Pxe"
	ComputerSystemBootSourceRecovery     ComputerSystemBootSource = "Recovery"
	ComputerSystemBootSourceRemoteDrive  ComputerSystemBootSource = "RemoteDrive"
	ComputerSystemBootSourceSDCard       ComputerSystemBootSource = "SDCard"
	ComputerSystemBootSourceUefiBootNext ComputerSystemBootSource = "UefiBootNext"
	ComputerSystemBootSourceUefiHttp     ComputerSystemBootSource = "UefiHttp"
	ComputerSystemBootSourceUefiShell    ComputerSystemBootSource = "UefiShell"
	ComputerSystemBootSourceUefiTarget   ComputerSystemBootSource = "UefiTarget"
	ComputerSystemBootSourceUsb          ComputerSystemBootSource = "Usb"
	ComputerSystemBootSourceUtilities    ComputerSystemBootSource = "Utilities"
)

Defines values for ComputerSystemBootSource.

type ComputerSystemBootSourceOverrideEnabled

type ComputerSystemBootSourceOverrideEnabled string

ComputerSystemBootSourceOverrideEnabled defines model for ComputerSystem_BootSourceOverrideEnabled.

const (
	ComputerSystemBootSourceOverrideEnabledContinuous ComputerSystemBootSourceOverrideEnabled = "Continuous"
	ComputerSystemBootSourceOverrideEnabledDisabled   ComputerSystemBootSourceOverrideEnabled = "Disabled"
	ComputerSystemBootSourceOverrideEnabledOnce       ComputerSystemBootSourceOverrideEnabled = "Once"
)

Defines values for ComputerSystemBootSourceOverrideEnabled.

type ComputerSystemBootSourceOverrideMode

type ComputerSystemBootSourceOverrideMode string

ComputerSystemBootSourceOverrideMode defines model for ComputerSystem_BootSourceOverrideMode.

Defines values for ComputerSystemBootSourceOverrideMode.

type ComputerSystemBootStopBootOnFault1

type ComputerSystemBootStopBootOnFault1 = interface{}

ComputerSystemBootStopBootOnFault1 defines model for .

type ComputerSystemBootTrustedModuleRequiredToBoot1

type ComputerSystemBootTrustedModuleRequiredToBoot1 = interface{}

ComputerSystemBootTrustedModuleRequiredToBoot1 defines model for .

type ComputerSystemBoot_AliasBootOrder_Item

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

ComputerSystemBoot_AliasBootOrder_Item defines model for ComputerSystem_Boot.AliasBootOrder.Item.

func (ComputerSystemBoot_AliasBootOrder_Item) AsComputerSystemBootAliasBootOrder1

func (t ComputerSystemBoot_AliasBootOrder_Item) AsComputerSystemBootAliasBootOrder1() (ComputerSystemBootAliasBootOrder1, error)

AsComputerSystemBootAliasBootOrder1 returns the union data inside the ComputerSystemBoot_AliasBootOrder_Item as a ComputerSystemBootAliasBootOrder1

func (ComputerSystemBoot_AliasBootOrder_Item) AsComputerSystemBootSource

func (t ComputerSystemBoot_AliasBootOrder_Item) AsComputerSystemBootSource() (ComputerSystemBootSource, error)

AsComputerSystemBootSource returns the union data inside the ComputerSystemBoot_AliasBootOrder_Item as a ComputerSystemBootSource

func (*ComputerSystemBoot_AliasBootOrder_Item) FromComputerSystemBootAliasBootOrder1

func (t *ComputerSystemBoot_AliasBootOrder_Item) FromComputerSystemBootAliasBootOrder1(v ComputerSystemBootAliasBootOrder1) error

FromComputerSystemBootAliasBootOrder1 overwrites any union data inside the ComputerSystemBoot_AliasBootOrder_Item as the provided ComputerSystemBootAliasBootOrder1

func (*ComputerSystemBoot_AliasBootOrder_Item) FromComputerSystemBootSource

func (t *ComputerSystemBoot_AliasBootOrder_Item) FromComputerSystemBootSource(v ComputerSystemBootSource) error

FromComputerSystemBootSource overwrites any union data inside the ComputerSystemBoot_AliasBootOrder_Item as the provided ComputerSystemBootSource

func (ComputerSystemBoot_AliasBootOrder_Item) MarshalJSON

func (t ComputerSystemBoot_AliasBootOrder_Item) MarshalJSON() ([]byte, error)

func (*ComputerSystemBoot_AliasBootOrder_Item) MergeComputerSystemBootAliasBootOrder1

func (t *ComputerSystemBoot_AliasBootOrder_Item) MergeComputerSystemBootAliasBootOrder1(v ComputerSystemBootAliasBootOrder1) error

MergeComputerSystemBootAliasBootOrder1 performs a merge with any union data inside the ComputerSystemBoot_AliasBootOrder_Item, using the provided ComputerSystemBootAliasBootOrder1

func (*ComputerSystemBoot_AliasBootOrder_Item) MergeComputerSystemBootSource

func (t *ComputerSystemBoot_AliasBootOrder_Item) MergeComputerSystemBootSource(v ComputerSystemBootSource) error

MergeComputerSystemBootSource performs a merge with any union data inside the ComputerSystemBoot_AliasBootOrder_Item, using the provided ComputerSystemBootSource

func (*ComputerSystemBoot_AliasBootOrder_Item) UnmarshalJSON

func (t *ComputerSystemBoot_AliasBootOrder_Item) UnmarshalJSON(b []byte) error

type ComputerSystemBoot_AutomaticRetryConfig

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

ComputerSystemBoot_AutomaticRetryConfig The configuration of how the system retries booting automatically.

func (ComputerSystemBoot_AutomaticRetryConfig) AsComputerSystemAutomaticRetryConfig

func (t ComputerSystemBoot_AutomaticRetryConfig) AsComputerSystemAutomaticRetryConfig() (ComputerSystemAutomaticRetryConfig, error)

AsComputerSystemAutomaticRetryConfig returns the union data inside the ComputerSystemBoot_AutomaticRetryConfig as a ComputerSystemAutomaticRetryConfig

func (ComputerSystemBoot_AutomaticRetryConfig) AsComputerSystemBootAutomaticRetryConfig1

func (t ComputerSystemBoot_AutomaticRetryConfig) AsComputerSystemBootAutomaticRetryConfig1() (ComputerSystemBootAutomaticRetryConfig1, error)

AsComputerSystemBootAutomaticRetryConfig1 returns the union data inside the ComputerSystemBoot_AutomaticRetryConfig as a ComputerSystemBootAutomaticRetryConfig1

func (*ComputerSystemBoot_AutomaticRetryConfig) FromComputerSystemAutomaticRetryConfig

func (t *ComputerSystemBoot_AutomaticRetryConfig) FromComputerSystemAutomaticRetryConfig(v ComputerSystemAutomaticRetryConfig) error

FromComputerSystemAutomaticRetryConfig overwrites any union data inside the ComputerSystemBoot_AutomaticRetryConfig as the provided ComputerSystemAutomaticRetryConfig

func (*ComputerSystemBoot_AutomaticRetryConfig) FromComputerSystemBootAutomaticRetryConfig1

func (t *ComputerSystemBoot_AutomaticRetryConfig) FromComputerSystemBootAutomaticRetryConfig1(v ComputerSystemBootAutomaticRetryConfig1) error

FromComputerSystemBootAutomaticRetryConfig1 overwrites any union data inside the ComputerSystemBoot_AutomaticRetryConfig as the provided ComputerSystemBootAutomaticRetryConfig1

func (ComputerSystemBoot_AutomaticRetryConfig) MarshalJSON

func (t ComputerSystemBoot_AutomaticRetryConfig) MarshalJSON() ([]byte, error)

func (*ComputerSystemBoot_AutomaticRetryConfig) MergeComputerSystemAutomaticRetryConfig

func (t *ComputerSystemBoot_AutomaticRetryConfig) MergeComputerSystemAutomaticRetryConfig(v ComputerSystemAutomaticRetryConfig) error

MergeComputerSystemAutomaticRetryConfig performs a merge with any union data inside the ComputerSystemBoot_AutomaticRetryConfig, using the provided ComputerSystemAutomaticRetryConfig

func (*ComputerSystemBoot_AutomaticRetryConfig) MergeComputerSystemBootAutomaticRetryConfig1

func (t *ComputerSystemBoot_AutomaticRetryConfig) MergeComputerSystemBootAutomaticRetryConfig1(v ComputerSystemBootAutomaticRetryConfig1) error

MergeComputerSystemBootAutomaticRetryConfig1 performs a merge with any union data inside the ComputerSystemBoot_AutomaticRetryConfig, using the provided ComputerSystemBootAutomaticRetryConfig1

func (*ComputerSystemBoot_AutomaticRetryConfig) UnmarshalJSON

func (t *ComputerSystemBoot_AutomaticRetryConfig) UnmarshalJSON(b []byte) error

type ComputerSystemBoot_BootOrderPropertySelection

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

ComputerSystemBoot_BootOrderPropertySelection The name of the boot order property that the system uses for the persistent boot order.

func (ComputerSystemBoot_BootOrderPropertySelection) AsComputerSystemBootBootOrderPropertySelection1

func (t ComputerSystemBoot_BootOrderPropertySelection) AsComputerSystemBootBootOrderPropertySelection1() (ComputerSystemBootBootOrderPropertySelection1, error)

AsComputerSystemBootBootOrderPropertySelection1 returns the union data inside the ComputerSystemBoot_BootOrderPropertySelection as a ComputerSystemBootBootOrderPropertySelection1

func (ComputerSystemBoot_BootOrderPropertySelection) AsComputerSystemBootOrderTypes

AsComputerSystemBootOrderTypes returns the union data inside the ComputerSystemBoot_BootOrderPropertySelection as a ComputerSystemBootOrderTypes

func (*ComputerSystemBoot_BootOrderPropertySelection) FromComputerSystemBootBootOrderPropertySelection1

func (t *ComputerSystemBoot_BootOrderPropertySelection) FromComputerSystemBootBootOrderPropertySelection1(v ComputerSystemBootBootOrderPropertySelection1) error

FromComputerSystemBootBootOrderPropertySelection1 overwrites any union data inside the ComputerSystemBoot_BootOrderPropertySelection as the provided ComputerSystemBootBootOrderPropertySelection1

func (*ComputerSystemBoot_BootOrderPropertySelection) FromComputerSystemBootOrderTypes

FromComputerSystemBootOrderTypes overwrites any union data inside the ComputerSystemBoot_BootOrderPropertySelection as the provided ComputerSystemBootOrderTypes

func (ComputerSystemBoot_BootOrderPropertySelection) MarshalJSON

func (*ComputerSystemBoot_BootOrderPropertySelection) MergeComputerSystemBootBootOrderPropertySelection1

func (t *ComputerSystemBoot_BootOrderPropertySelection) MergeComputerSystemBootBootOrderPropertySelection1(v ComputerSystemBootBootOrderPropertySelection1) error

MergeComputerSystemBootBootOrderPropertySelection1 performs a merge with any union data inside the ComputerSystemBoot_BootOrderPropertySelection, using the provided ComputerSystemBootBootOrderPropertySelection1

func (*ComputerSystemBoot_BootOrderPropertySelection) MergeComputerSystemBootOrderTypes

MergeComputerSystemBootOrderTypes performs a merge with any union data inside the ComputerSystemBoot_BootOrderPropertySelection, using the provided ComputerSystemBootOrderTypes

func (*ComputerSystemBoot_BootOrderPropertySelection) UnmarshalJSON

type ComputerSystemBoot_BootSourceOverrideEnabled

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

ComputerSystemBoot_BootSourceOverrideEnabled The state of the boot source override feature.

func (ComputerSystemBoot_BootSourceOverrideEnabled) AsComputerSystemBootBootSourceOverrideEnabled1

func (t ComputerSystemBoot_BootSourceOverrideEnabled) AsComputerSystemBootBootSourceOverrideEnabled1() (ComputerSystemBootBootSourceOverrideEnabled1, error)

AsComputerSystemBootBootSourceOverrideEnabled1 returns the union data inside the ComputerSystemBoot_BootSourceOverrideEnabled as a ComputerSystemBootBootSourceOverrideEnabled1

func (ComputerSystemBoot_BootSourceOverrideEnabled) AsComputerSystemBootSourceOverrideEnabled

func (t ComputerSystemBoot_BootSourceOverrideEnabled) AsComputerSystemBootSourceOverrideEnabled() (ComputerSystemBootSourceOverrideEnabled, error)

AsComputerSystemBootSourceOverrideEnabled returns the union data inside the ComputerSystemBoot_BootSourceOverrideEnabled as a ComputerSystemBootSourceOverrideEnabled

func (*ComputerSystemBoot_BootSourceOverrideEnabled) FromComputerSystemBootBootSourceOverrideEnabled1

func (t *ComputerSystemBoot_BootSourceOverrideEnabled) FromComputerSystemBootBootSourceOverrideEnabled1(v ComputerSystemBootBootSourceOverrideEnabled1) error

FromComputerSystemBootBootSourceOverrideEnabled1 overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideEnabled as the provided ComputerSystemBootBootSourceOverrideEnabled1

func (*ComputerSystemBoot_BootSourceOverrideEnabled) FromComputerSystemBootSourceOverrideEnabled

func (t *ComputerSystemBoot_BootSourceOverrideEnabled) FromComputerSystemBootSourceOverrideEnabled(v ComputerSystemBootSourceOverrideEnabled) error

FromComputerSystemBootSourceOverrideEnabled overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideEnabled as the provided ComputerSystemBootSourceOverrideEnabled

func (ComputerSystemBoot_BootSourceOverrideEnabled) MarshalJSON

func (*ComputerSystemBoot_BootSourceOverrideEnabled) MergeComputerSystemBootBootSourceOverrideEnabled1

func (t *ComputerSystemBoot_BootSourceOverrideEnabled) MergeComputerSystemBootBootSourceOverrideEnabled1(v ComputerSystemBootBootSourceOverrideEnabled1) error

MergeComputerSystemBootBootSourceOverrideEnabled1 performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideEnabled, using the provided ComputerSystemBootBootSourceOverrideEnabled1

func (*ComputerSystemBoot_BootSourceOverrideEnabled) MergeComputerSystemBootSourceOverrideEnabled

func (t *ComputerSystemBoot_BootSourceOverrideEnabled) MergeComputerSystemBootSourceOverrideEnabled(v ComputerSystemBootSourceOverrideEnabled) error

MergeComputerSystemBootSourceOverrideEnabled performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideEnabled, using the provided ComputerSystemBootSourceOverrideEnabled

func (*ComputerSystemBoot_BootSourceOverrideEnabled) UnmarshalJSON

type ComputerSystemBoot_BootSourceOverrideMode

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

ComputerSystemBoot_BootSourceOverrideMode The BIOS boot mode to use when the system boots from the `BootSourceOverrideTarget` boot source.

func (ComputerSystemBoot_BootSourceOverrideMode) AsComputerSystemBootBootSourceOverrideMode1

func (t ComputerSystemBoot_BootSourceOverrideMode) AsComputerSystemBootBootSourceOverrideMode1() (ComputerSystemBootBootSourceOverrideMode1, error)

AsComputerSystemBootBootSourceOverrideMode1 returns the union data inside the ComputerSystemBoot_BootSourceOverrideMode as a ComputerSystemBootBootSourceOverrideMode1

func (ComputerSystemBoot_BootSourceOverrideMode) AsComputerSystemBootSourceOverrideMode

func (t ComputerSystemBoot_BootSourceOverrideMode) AsComputerSystemBootSourceOverrideMode() (ComputerSystemBootSourceOverrideMode, error)

AsComputerSystemBootSourceOverrideMode returns the union data inside the ComputerSystemBoot_BootSourceOverrideMode as a ComputerSystemBootSourceOverrideMode

func (*ComputerSystemBoot_BootSourceOverrideMode) FromComputerSystemBootBootSourceOverrideMode1

func (t *ComputerSystemBoot_BootSourceOverrideMode) FromComputerSystemBootBootSourceOverrideMode1(v ComputerSystemBootBootSourceOverrideMode1) error

FromComputerSystemBootBootSourceOverrideMode1 overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideMode as the provided ComputerSystemBootBootSourceOverrideMode1

func (*ComputerSystemBoot_BootSourceOverrideMode) FromComputerSystemBootSourceOverrideMode

func (t *ComputerSystemBoot_BootSourceOverrideMode) FromComputerSystemBootSourceOverrideMode(v ComputerSystemBootSourceOverrideMode) error

FromComputerSystemBootSourceOverrideMode overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideMode as the provided ComputerSystemBootSourceOverrideMode

func (ComputerSystemBoot_BootSourceOverrideMode) MarshalJSON

func (*ComputerSystemBoot_BootSourceOverrideMode) MergeComputerSystemBootBootSourceOverrideMode1

func (t *ComputerSystemBoot_BootSourceOverrideMode) MergeComputerSystemBootBootSourceOverrideMode1(v ComputerSystemBootBootSourceOverrideMode1) error

MergeComputerSystemBootBootSourceOverrideMode1 performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideMode, using the provided ComputerSystemBootBootSourceOverrideMode1

func (*ComputerSystemBoot_BootSourceOverrideMode) MergeComputerSystemBootSourceOverrideMode

func (t *ComputerSystemBoot_BootSourceOverrideMode) MergeComputerSystemBootSourceOverrideMode(v ComputerSystemBootSourceOverrideMode) error

MergeComputerSystemBootSourceOverrideMode performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideMode, using the provided ComputerSystemBootSourceOverrideMode

func (*ComputerSystemBoot_BootSourceOverrideMode) UnmarshalJSON

type ComputerSystemBoot_BootSourceOverrideTarget

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

ComputerSystemBoot_BootSourceOverrideTarget The current boot source to use at the next boot instead of the normal boot device, if `BootSourceOverrideEnabled` does not contain `Disabled`.

func (ComputerSystemBoot_BootSourceOverrideTarget) AsComputerSystemBootBootSourceOverrideTarget1

func (t ComputerSystemBoot_BootSourceOverrideTarget) AsComputerSystemBootBootSourceOverrideTarget1() (ComputerSystemBootBootSourceOverrideTarget1, error)

AsComputerSystemBootBootSourceOverrideTarget1 returns the union data inside the ComputerSystemBoot_BootSourceOverrideTarget as a ComputerSystemBootBootSourceOverrideTarget1

func (ComputerSystemBoot_BootSourceOverrideTarget) AsComputerSystemBootSource

AsComputerSystemBootSource returns the union data inside the ComputerSystemBoot_BootSourceOverrideTarget as a ComputerSystemBootSource

func (*ComputerSystemBoot_BootSourceOverrideTarget) FromComputerSystemBootBootSourceOverrideTarget1

func (t *ComputerSystemBoot_BootSourceOverrideTarget) FromComputerSystemBootBootSourceOverrideTarget1(v ComputerSystemBootBootSourceOverrideTarget1) error

FromComputerSystemBootBootSourceOverrideTarget1 overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideTarget as the provided ComputerSystemBootBootSourceOverrideTarget1

func (*ComputerSystemBoot_BootSourceOverrideTarget) FromComputerSystemBootSource

FromComputerSystemBootSource overwrites any union data inside the ComputerSystemBoot_BootSourceOverrideTarget as the provided ComputerSystemBootSource

func (ComputerSystemBoot_BootSourceOverrideTarget) MarshalJSON

func (*ComputerSystemBoot_BootSourceOverrideTarget) MergeComputerSystemBootBootSourceOverrideTarget1

func (t *ComputerSystemBoot_BootSourceOverrideTarget) MergeComputerSystemBootBootSourceOverrideTarget1(v ComputerSystemBootBootSourceOverrideTarget1) error

MergeComputerSystemBootBootSourceOverrideTarget1 performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideTarget, using the provided ComputerSystemBootBootSourceOverrideTarget1

func (*ComputerSystemBoot_BootSourceOverrideTarget) MergeComputerSystemBootSource

MergeComputerSystemBootSource performs a merge with any union data inside the ComputerSystemBoot_BootSourceOverrideTarget, using the provided ComputerSystemBootSource

func (*ComputerSystemBoot_BootSourceOverrideTarget) UnmarshalJSON

type ComputerSystemBoot_StopBootOnFault

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

ComputerSystemBoot_StopBootOnFault If the boot should stop on a fault.

func (ComputerSystemBoot_StopBootOnFault) AsComputerSystemBootStopBootOnFault1

func (t ComputerSystemBoot_StopBootOnFault) AsComputerSystemBootStopBootOnFault1() (ComputerSystemBootStopBootOnFault1, error)

AsComputerSystemBootStopBootOnFault1 returns the union data inside the ComputerSystemBoot_StopBootOnFault as a ComputerSystemBootStopBootOnFault1

func (ComputerSystemBoot_StopBootOnFault) AsComputerSystemStopBootOnFault

func (t ComputerSystemBoot_StopBootOnFault) AsComputerSystemStopBootOnFault() (ComputerSystemStopBootOnFault, error)

AsComputerSystemStopBootOnFault returns the union data inside the ComputerSystemBoot_StopBootOnFault as a ComputerSystemStopBootOnFault

func (*ComputerSystemBoot_StopBootOnFault) FromComputerSystemBootStopBootOnFault1

func (t *ComputerSystemBoot_StopBootOnFault) FromComputerSystemBootStopBootOnFault1(v ComputerSystemBootStopBootOnFault1) error

FromComputerSystemBootStopBootOnFault1 overwrites any union data inside the ComputerSystemBoot_StopBootOnFault as the provided ComputerSystemBootStopBootOnFault1

func (*ComputerSystemBoot_StopBootOnFault) FromComputerSystemStopBootOnFault

func (t *ComputerSystemBoot_StopBootOnFault) FromComputerSystemStopBootOnFault(v ComputerSystemStopBootOnFault) error

FromComputerSystemStopBootOnFault overwrites any union data inside the ComputerSystemBoot_StopBootOnFault as the provided ComputerSystemStopBootOnFault

func (ComputerSystemBoot_StopBootOnFault) MarshalJSON

func (t ComputerSystemBoot_StopBootOnFault) MarshalJSON() ([]byte, error)

func (*ComputerSystemBoot_StopBootOnFault) MergeComputerSystemBootStopBootOnFault1

func (t *ComputerSystemBoot_StopBootOnFault) MergeComputerSystemBootStopBootOnFault1(v ComputerSystemBootStopBootOnFault1) error

MergeComputerSystemBootStopBootOnFault1 performs a merge with any union data inside the ComputerSystemBoot_StopBootOnFault, using the provided ComputerSystemBootStopBootOnFault1

func (*ComputerSystemBoot_StopBootOnFault) MergeComputerSystemStopBootOnFault

func (t *ComputerSystemBoot_StopBootOnFault) MergeComputerSystemStopBootOnFault(v ComputerSystemStopBootOnFault) error

MergeComputerSystemStopBootOnFault performs a merge with any union data inside the ComputerSystemBoot_StopBootOnFault, using the provided ComputerSystemStopBootOnFault

func (*ComputerSystemBoot_StopBootOnFault) UnmarshalJSON

func (t *ComputerSystemBoot_StopBootOnFault) UnmarshalJSON(b []byte) error

type ComputerSystemBoot_TrustedModuleRequiredToBoot

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

ComputerSystemBoot_TrustedModuleRequiredToBoot The Trusted Module boot requirement.

func (ComputerSystemBoot_TrustedModuleRequiredToBoot) AsComputerSystemBootTrustedModuleRequiredToBoot1

func (t ComputerSystemBoot_TrustedModuleRequiredToBoot) AsComputerSystemBootTrustedModuleRequiredToBoot1() (ComputerSystemBootTrustedModuleRequiredToBoot1, error)

AsComputerSystemBootTrustedModuleRequiredToBoot1 returns the union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot as a ComputerSystemBootTrustedModuleRequiredToBoot1

func (ComputerSystemBoot_TrustedModuleRequiredToBoot) AsComputerSystemTrustedModuleRequiredToBoot

func (t ComputerSystemBoot_TrustedModuleRequiredToBoot) AsComputerSystemTrustedModuleRequiredToBoot() (ComputerSystemTrustedModuleRequiredToBoot, error)

AsComputerSystemTrustedModuleRequiredToBoot returns the union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot as a ComputerSystemTrustedModuleRequiredToBoot

func (*ComputerSystemBoot_TrustedModuleRequiredToBoot) FromComputerSystemBootTrustedModuleRequiredToBoot1

func (t *ComputerSystemBoot_TrustedModuleRequiredToBoot) FromComputerSystemBootTrustedModuleRequiredToBoot1(v ComputerSystemBootTrustedModuleRequiredToBoot1) error

FromComputerSystemBootTrustedModuleRequiredToBoot1 overwrites any union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot as the provided ComputerSystemBootTrustedModuleRequiredToBoot1

func (*ComputerSystemBoot_TrustedModuleRequiredToBoot) FromComputerSystemTrustedModuleRequiredToBoot

func (t *ComputerSystemBoot_TrustedModuleRequiredToBoot) FromComputerSystemTrustedModuleRequiredToBoot(v ComputerSystemTrustedModuleRequiredToBoot) error

FromComputerSystemTrustedModuleRequiredToBoot overwrites any union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot as the provided ComputerSystemTrustedModuleRequiredToBoot

func (ComputerSystemBoot_TrustedModuleRequiredToBoot) MarshalJSON

func (*ComputerSystemBoot_TrustedModuleRequiredToBoot) MergeComputerSystemBootTrustedModuleRequiredToBoot1

func (t *ComputerSystemBoot_TrustedModuleRequiredToBoot) MergeComputerSystemBootTrustedModuleRequiredToBoot1(v ComputerSystemBootTrustedModuleRequiredToBoot1) error

MergeComputerSystemBootTrustedModuleRequiredToBoot1 performs a merge with any union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot, using the provided ComputerSystemBootTrustedModuleRequiredToBoot1

func (*ComputerSystemBoot_TrustedModuleRequiredToBoot) MergeComputerSystemTrustedModuleRequiredToBoot

func (t *ComputerSystemBoot_TrustedModuleRequiredToBoot) MergeComputerSystemTrustedModuleRequiredToBoot(v ComputerSystemTrustedModuleRequiredToBoot) error

MergeComputerSystemTrustedModuleRequiredToBoot performs a merge with any union data inside the ComputerSystemBoot_TrustedModuleRequiredToBoot, using the provided ComputerSystemTrustedModuleRequiredToBoot

func (*ComputerSystemBoot_TrustedModuleRequiredToBoot) UnmarshalJSON

type ComputerSystemCollectionComputerSystemCollection

type ComputerSystemCollectionComputerSystemCollection struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataEtag The current ETag of the resource.
	OdataEtag *OdataV4Etag `json:"@odata.etag,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType   *OdataV4Type                                                  `json:"@odata.type,omitempty"`
	Description *ComputerSystemCollectionComputerSystemCollection_Description `json:"Description,omitempty"`

	// Members The members of this collection.
	Members *[]OdataV4IdRef `json:"Members,omitempty"`

	// MembersOdataCount The number of items in a collection.
	MembersOdataCount *OdataV4Count `json:"Members@odata.count,omitempty"`

	// MembersOdataNextLink The URI to the resource containing the next set of partial members.
	MembersOdataNextLink *OdataV4NextLink `json:"Members@odata.nextLink,omitempty"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`
}

ComputerSystemCollectionComputerSystemCollection The collection of `ComputerSystem` resource instances.

type ComputerSystemCollectionComputerSystemCollectionDescription1

type ComputerSystemCollectionComputerSystemCollectionDescription1 = interface{}

ComputerSystemCollectionComputerSystemCollectionDescription1 defines model for .

type ComputerSystemCollectionComputerSystemCollection_Description

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

ComputerSystemCollectionComputerSystemCollection_Description defines model for ComputerSystemCollectionComputerSystemCollection.Description.

func (ComputerSystemCollectionComputerSystemCollection_Description) AsComputerSystemCollectionComputerSystemCollectionDescription1

AsComputerSystemCollectionComputerSystemCollectionDescription1 returns the union data inside the ComputerSystemCollectionComputerSystemCollection_Description as a ComputerSystemCollectionComputerSystemCollectionDescription1

func (ComputerSystemCollectionComputerSystemCollection_Description) AsResourceDescription

AsResourceDescription returns the union data inside the ComputerSystemCollectionComputerSystemCollection_Description as a ResourceDescription

func (*ComputerSystemCollectionComputerSystemCollection_Description) FromComputerSystemCollectionComputerSystemCollectionDescription1

FromComputerSystemCollectionComputerSystemCollectionDescription1 overwrites any union data inside the ComputerSystemCollectionComputerSystemCollection_Description as the provided ComputerSystemCollectionComputerSystemCollectionDescription1

func (*ComputerSystemCollectionComputerSystemCollection_Description) FromResourceDescription

FromResourceDescription overwrites any union data inside the ComputerSystemCollectionComputerSystemCollection_Description as the provided ResourceDescription

func (ComputerSystemCollectionComputerSystemCollection_Description) MarshalJSON

func (*ComputerSystemCollectionComputerSystemCollection_Description) MergeComputerSystemCollectionComputerSystemCollectionDescription1

MergeComputerSystemCollectionComputerSystemCollectionDescription1 performs a merge with any union data inside the ComputerSystemCollectionComputerSystemCollection_Description, using the provided ComputerSystemCollectionComputerSystemCollectionDescription1

func (*ComputerSystemCollectionComputerSystemCollection_Description) MergeResourceDescription

MergeResourceDescription performs a merge with any union data inside the ComputerSystemCollectionComputerSystemCollection_Description, using the provided ResourceDescription

func (*ComputerSystemCollectionComputerSystemCollection_Description) UnmarshalJSON

type ComputerSystemComputerSystem

type ComputerSystemComputerSystem struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType *OdataV4Type `json:"@odata.type,omitempty"`

	// Actions The available actions for this resource.
	Actions *ComputerSystemActions `json:"Actions,omitempty"`

	// BiosVersion The version of the system BIOS or primary system firmware.
	BiosVersion *string `json:"BiosVersion"`

	// Boot The boot information for this resource.
	Boot        *ComputerSystemBoot                       `json:"Boot,omitempty"`
	Description *ComputerSystemComputerSystem_Description `json:"Description,omitempty"`

	// HostName The DNS host name, without any domain information.
	HostName *string `json:"HostName"`

	// Id The unique identifier for this resource within the collection of similar resources.
	Id ResourceId `json:"Id"`

	// Manufacturer The manufacturer or OEM of this system.
	Manufacturer *string `json:"Manufacturer"`

	// MemorySummary The memory of the system in general detail.
	MemorySummary *ComputerSystemMemorySummary `json:"MemorySummary,omitempty"`

	// Model The product name for this system, without the manufacturer name.
	Model *string `json:"Model"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// PowerState The current power state of the system.
	PowerState *ComputerSystemComputerSystem_PowerState `json:"PowerState,omitempty"`

	// ProcessorSummary The central processors of the system in general detail.
	ProcessorSummary *ComputerSystemProcessorSummary `json:"ProcessorSummary,omitempty"`

	// SerialNumber The serial number for this system.
	SerialNumber *string `json:"SerialNumber"`

	// Status The status and health of a resource and its children.
	Status     *ResourceStatus           `json:"Status,omitempty"`
	SystemType *ComputerSystemSystemType `json:"SystemType,omitempty"`
}

ComputerSystemComputerSystem The `ComputerSystem` schema represents a computer or system instance and the software-visible resources, or items within the data plane, such as memory, CPU, and other devices that it can access. Details of those resources or subsystems are also linked through this resource.

type ComputerSystemComputerSystemDescription1

type ComputerSystemComputerSystemDescription1 = interface{}

ComputerSystemComputerSystemDescription1 defines model for .

type ComputerSystemComputerSystemPowerState1

type ComputerSystemComputerSystemPowerState1 = interface{}

ComputerSystemComputerSystemPowerState1 defines model for .

type ComputerSystemComputerSystem_Description

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

ComputerSystemComputerSystem_Description defines model for ComputerSystemComputerSystem.Description.

func (ComputerSystemComputerSystem_Description) AsComputerSystemComputerSystemDescription1

func (t ComputerSystemComputerSystem_Description) AsComputerSystemComputerSystemDescription1() (ComputerSystemComputerSystemDescription1, error)

AsComputerSystemComputerSystemDescription1 returns the union data inside the ComputerSystemComputerSystem_Description as a ComputerSystemComputerSystemDescription1

func (ComputerSystemComputerSystem_Description) AsResourceDescription

AsResourceDescription returns the union data inside the ComputerSystemComputerSystem_Description as a ResourceDescription

func (*ComputerSystemComputerSystem_Description) FromComputerSystemComputerSystemDescription1

func (t *ComputerSystemComputerSystem_Description) FromComputerSystemComputerSystemDescription1(v ComputerSystemComputerSystemDescription1) error

FromComputerSystemComputerSystemDescription1 overwrites any union data inside the ComputerSystemComputerSystem_Description as the provided ComputerSystemComputerSystemDescription1

func (*ComputerSystemComputerSystem_Description) FromResourceDescription

FromResourceDescription overwrites any union data inside the ComputerSystemComputerSystem_Description as the provided ResourceDescription

func (ComputerSystemComputerSystem_Description) MarshalJSON

func (*ComputerSystemComputerSystem_Description) MergeComputerSystemComputerSystemDescription1

func (t *ComputerSystemComputerSystem_Description) MergeComputerSystemComputerSystemDescription1(v ComputerSystemComputerSystemDescription1) error

MergeComputerSystemComputerSystemDescription1 performs a merge with any union data inside the ComputerSystemComputerSystem_Description, using the provided ComputerSystemComputerSystemDescription1

func (*ComputerSystemComputerSystem_Description) MergeResourceDescription

MergeResourceDescription performs a merge with any union data inside the ComputerSystemComputerSystem_Description, using the provided ResourceDescription

func (*ComputerSystemComputerSystem_Description) UnmarshalJSON

func (t *ComputerSystemComputerSystem_Description) UnmarshalJSON(b []byte) error

type ComputerSystemComputerSystem_PowerState

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

ComputerSystemComputerSystem_PowerState The current power state of the system.

func (ComputerSystemComputerSystem_PowerState) AsComputerSystemComputerSystemPowerState1

func (t ComputerSystemComputerSystem_PowerState) AsComputerSystemComputerSystemPowerState1() (ComputerSystemComputerSystemPowerState1, error)

AsComputerSystemComputerSystemPowerState1 returns the union data inside the ComputerSystemComputerSystem_PowerState as a ComputerSystemComputerSystemPowerState1

func (ComputerSystemComputerSystem_PowerState) AsResourcePowerState

AsResourcePowerState returns the union data inside the ComputerSystemComputerSystem_PowerState as a ResourcePowerState

func (*ComputerSystemComputerSystem_PowerState) FromComputerSystemComputerSystemPowerState1

func (t *ComputerSystemComputerSystem_PowerState) FromComputerSystemComputerSystemPowerState1(v ComputerSystemComputerSystemPowerState1) error

FromComputerSystemComputerSystemPowerState1 overwrites any union data inside the ComputerSystemComputerSystem_PowerState as the provided ComputerSystemComputerSystemPowerState1

func (*ComputerSystemComputerSystem_PowerState) FromResourcePowerState

FromResourcePowerState overwrites any union data inside the ComputerSystemComputerSystem_PowerState as the provided ResourcePowerState

func (ComputerSystemComputerSystem_PowerState) MarshalJSON

func (t ComputerSystemComputerSystem_PowerState) MarshalJSON() ([]byte, error)

func (*ComputerSystemComputerSystem_PowerState) MergeComputerSystemComputerSystemPowerState1

func (t *ComputerSystemComputerSystem_PowerState) MergeComputerSystemComputerSystemPowerState1(v ComputerSystemComputerSystemPowerState1) error

MergeComputerSystemComputerSystemPowerState1 performs a merge with any union data inside the ComputerSystemComputerSystem_PowerState, using the provided ComputerSystemComputerSystemPowerState1

func (*ComputerSystemComputerSystem_PowerState) MergeResourcePowerState

MergeResourcePowerState performs a merge with any union data inside the ComputerSystemComputerSystem_PowerState, using the provided ResourcePowerState

func (*ComputerSystemComputerSystem_PowerState) UnmarshalJSON

func (t *ComputerSystemComputerSystem_PowerState) UnmarshalJSON(b []byte) error

type ComputerSystemMemoryMirroring

type ComputerSystemMemoryMirroring string

ComputerSystemMemoryMirroring defines model for ComputerSystem_MemoryMirroring.

const (
	ComputerSystemMemoryMirroringDIMM   ComputerSystemMemoryMirroring = "DIMM"
	ComputerSystemMemoryMirroringHybrid ComputerSystemMemoryMirroring = "Hybrid"
	ComputerSystemMemoryMirroringNone   ComputerSystemMemoryMirroring = "None"
	ComputerSystemMemoryMirroringSystem ComputerSystemMemoryMirroring = "System"
)

Defines values for ComputerSystemMemoryMirroring.

type ComputerSystemMemorySummary

type ComputerSystemMemorySummary struct {
	// MemoryMirroring The ability and type of memory mirroring that this computer system supports.
	MemoryMirroring *ComputerSystemMemorySummary_MemoryMirroring `json:"MemoryMirroring,omitempty"`

	// Metrics A reference to a resource.
	Metrics *OdataV4IdRef `json:"Metrics,omitempty"`

	// Status The status and health of a resource and its children.
	Status *ResourceStatus `json:"Status,omitempty"`

	// TotalSystemMemoryGiB The total configured operating system-accessible memory (RAM), measured in GiB.
	TotalSystemMemoryGiB *float32 `json:"TotalSystemMemoryGiB"`
}

ComputerSystemMemorySummary The memory of the system in general detail.

type ComputerSystemMemorySummaryMemoryMirroring1

type ComputerSystemMemorySummaryMemoryMirroring1 = interface{}

ComputerSystemMemorySummaryMemoryMirroring1 defines model for .

type ComputerSystemMemorySummary_MemoryMirroring

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

ComputerSystemMemorySummary_MemoryMirroring The ability and type of memory mirroring that this computer system supports.

func (ComputerSystemMemorySummary_MemoryMirroring) AsComputerSystemMemoryMirroring

AsComputerSystemMemoryMirroring returns the union data inside the ComputerSystemMemorySummary_MemoryMirroring as a ComputerSystemMemoryMirroring

func (ComputerSystemMemorySummary_MemoryMirroring) AsComputerSystemMemorySummaryMemoryMirroring1

func (t ComputerSystemMemorySummary_MemoryMirroring) AsComputerSystemMemorySummaryMemoryMirroring1() (ComputerSystemMemorySummaryMemoryMirroring1, error)

AsComputerSystemMemorySummaryMemoryMirroring1 returns the union data inside the ComputerSystemMemorySummary_MemoryMirroring as a ComputerSystemMemorySummaryMemoryMirroring1

func (*ComputerSystemMemorySummary_MemoryMirroring) FromComputerSystemMemoryMirroring

FromComputerSystemMemoryMirroring overwrites any union data inside the ComputerSystemMemorySummary_MemoryMirroring as the provided ComputerSystemMemoryMirroring

func (*ComputerSystemMemorySummary_MemoryMirroring) FromComputerSystemMemorySummaryMemoryMirroring1

func (t *ComputerSystemMemorySummary_MemoryMirroring) FromComputerSystemMemorySummaryMemoryMirroring1(v ComputerSystemMemorySummaryMemoryMirroring1) error

FromComputerSystemMemorySummaryMemoryMirroring1 overwrites any union data inside the ComputerSystemMemorySummary_MemoryMirroring as the provided ComputerSystemMemorySummaryMemoryMirroring1

func (ComputerSystemMemorySummary_MemoryMirroring) MarshalJSON

func (*ComputerSystemMemorySummary_MemoryMirroring) MergeComputerSystemMemoryMirroring

func (t *ComputerSystemMemorySummary_MemoryMirroring) MergeComputerSystemMemoryMirroring(v ComputerSystemMemoryMirroring) error

MergeComputerSystemMemoryMirroring performs a merge with any union data inside the ComputerSystemMemorySummary_MemoryMirroring, using the provided ComputerSystemMemoryMirroring

func (*ComputerSystemMemorySummary_MemoryMirroring) MergeComputerSystemMemorySummaryMemoryMirroring1

func (t *ComputerSystemMemorySummary_MemoryMirroring) MergeComputerSystemMemorySummaryMemoryMirroring1(v ComputerSystemMemorySummaryMemoryMirroring1) error

MergeComputerSystemMemorySummaryMemoryMirroring1 performs a merge with any union data inside the ComputerSystemMemorySummary_MemoryMirroring, using the provided ComputerSystemMemorySummaryMemoryMirroring1

func (*ComputerSystemMemorySummary_MemoryMirroring) UnmarshalJSON

type ComputerSystemProcessorSummary

type ComputerSystemProcessorSummary struct {
	// CoreCount The number of processor cores in the system.
	CoreCount *int64 `json:"CoreCount"`

	// Count The number of physical processors in the system.
	Count *int64 `json:"Count"`

	// LogicalProcessorCount The number of logical processors in the system.
	LogicalProcessorCount *int64 `json:"LogicalProcessorCount"`

	// Metrics A reference to a resource.
	Metrics *OdataV4IdRef `json:"Metrics,omitempty"`

	// Model The processor model for the primary or majority of processors in this system.
	Model *string `json:"Model"`

	// Status The status and health of a resource and its children.
	Status *ResourceStatus `json:"Status,omitempty"`

	// ThreadingEnabled An indication of whether threading is enabled on all processors in this system.
	ThreadingEnabled *bool `json:"ThreadingEnabled,omitempty"`
}

ComputerSystemProcessorSummary The central processors of the system in general detail.

type ComputerSystemReset

type ComputerSystemReset struct {
	// Target Link to invoke action
	Target *string `json:"target,omitempty"`

	// Title Friendly action name
	Title *string `json:"title,omitempty"`
}

ComputerSystemReset This action resets the system.

type ComputerSystemResetRequestBody

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

ComputerSystemResetRequestBody This action resets the system.

type ComputerSystemStopBootOnFault

type ComputerSystemStopBootOnFault string

ComputerSystemStopBootOnFault defines model for ComputerSystem_StopBootOnFault.

const (
	AnyFault ComputerSystemStopBootOnFault = "AnyFault"
	Never    ComputerSystemStopBootOnFault = "Never"
)

Defines values for ComputerSystemStopBootOnFault.

type ComputerSystemSystemType

type ComputerSystemSystemType string

ComputerSystemSystemType defines model for ComputerSystem_SystemType.

const (
	Composed              ComputerSystemSystemType = "Composed"
	DPU                   ComputerSystemSystemType = "DPU"
	OS                    ComputerSystemSystemType = "OS"
	Physical              ComputerSystemSystemType = "Physical"
	PhysicallyPartitioned ComputerSystemSystemType = "PhysicallyPartitioned"
	Virtual               ComputerSystemSystemType = "Virtual"
	VirtuallyPartitioned  ComputerSystemSystemType = "VirtuallyPartitioned"
)

Defines values for ComputerSystemSystemType.

type ComputerSystemTrustedModuleRequiredToBoot

type ComputerSystemTrustedModuleRequiredToBoot string

ComputerSystemTrustedModuleRequiredToBoot defines model for ComputerSystem_TrustedModuleRequiredToBoot.

const (
	ComputerSystemTrustedModuleRequiredToBootDisabled ComputerSystemTrustedModuleRequiredToBoot = "Disabled"
	ComputerSystemTrustedModuleRequiredToBootRequired ComputerSystemTrustedModuleRequiredToBoot = "Required"
)

Defines values for ComputerSystemTrustedModuleRequiredToBoot.

type DeleteRedfishV1SessionServiceSessionsSessionId200JSONResponse

type DeleteRedfishV1SessionServiceSessionsSessionId200JSONResponse SessionSession

func (DeleteRedfishV1SessionServiceSessionsSessionId200JSONResponse) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse

func (response DeleteRedfishV1SessionServiceSessionsSessionId200JSONResponse) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error

type DeleteRedfishV1SessionServiceSessionsSessionId204Response

type DeleteRedfishV1SessionServiceSessionsSessionId204Response struct {
}

func (DeleteRedfishV1SessionServiceSessionsSessionId204Response) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse

func (response DeleteRedfishV1SessionServiceSessionsSessionId204Response) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error

type DeleteRedfishV1SessionServiceSessionsSessionIdRequestObject

type DeleteRedfishV1SessionServiceSessionsSessionIdRequestObject struct {
	SessionId string `json:"SessionId"`
}

type DeleteRedfishV1SessionServiceSessionsSessionIdResponseObject

type DeleteRedfishV1SessionServiceSessionsSessionIdResponseObject interface {
	VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error
}

type DeleteRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse

type DeleteRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (DeleteRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse

func (response DeleteRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse) VisitDeleteRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error

type GetRedfishV1Metadata200ApplicationxmlResponse

type GetRedfishV1Metadata200ApplicationxmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetRedfishV1Metadata200ApplicationxmlResponse) VisitGetRedfishV1MetadataResponse

func (response GetRedfishV1Metadata200ApplicationxmlResponse) VisitGetRedfishV1MetadataResponse(w http.ResponseWriter) error

type GetRedfishV1MetadataRequestObject

type GetRedfishV1MetadataRequestObject struct {
}

type GetRedfishV1MetadataResponseObject

type GetRedfishV1MetadataResponseObject interface {
	VisitGetRedfishV1MetadataResponse(w http.ResponseWriter) error
}

type GetRedfishV1MetadatadefaultJSONResponse

type GetRedfishV1MetadatadefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1MetadatadefaultJSONResponse) VisitGetRedfishV1MetadataResponse

func (response GetRedfishV1MetadatadefaultJSONResponse) VisitGetRedfishV1MetadataResponse(w http.ResponseWriter) error

type GetRedfishV1Odata200JSONResponse

type GetRedfishV1Odata200JSONResponse struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// Value The list of services provided by the Redfish service.
	Value []struct {
		// Kind Type of resource.  Value is `Singleton` for all cases defined by Redfish.
		Kind *string `json:"kind,omitempty"`

		// Name User-friendly resource name of the resource.
		Name *string `json:"name,omitempty"`

		// Url Relative URL for the top-level resource.
		Url *string `json:"url,omitempty"`
	} `json:"value"`
}

func (GetRedfishV1Odata200JSONResponse) VisitGetRedfishV1OdataResponse

func (response GetRedfishV1Odata200JSONResponse) VisitGetRedfishV1OdataResponse(w http.ResponseWriter) error

type GetRedfishV1OdataRequestObject

type GetRedfishV1OdataRequestObject struct {
}

type GetRedfishV1OdataResponseObject

type GetRedfishV1OdataResponseObject interface {
	VisitGetRedfishV1OdataResponse(w http.ResponseWriter) error
}

type GetRedfishV1OdatadefaultJSONResponse

type GetRedfishV1OdatadefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1OdatadefaultJSONResponse) VisitGetRedfishV1OdataResponse

func (response GetRedfishV1OdatadefaultJSONResponse) VisitGetRedfishV1OdataResponse(w http.ResponseWriter) error

type GetRedfishV1RequestObject

type GetRedfishV1RequestObject struct {
}

type GetRedfishV1ResponseObject

type GetRedfishV1ResponseObject interface {
	VisitGetRedfishV1Response(w http.ResponseWriter) error
}

type GetRedfishV1SessionService200JSONResponse

type GetRedfishV1SessionService200JSONResponse SessionServiceSessionService

func (GetRedfishV1SessionService200JSONResponse) VisitGetRedfishV1SessionServiceResponse

func (response GetRedfishV1SessionService200JSONResponse) VisitGetRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type GetRedfishV1SessionServiceRequestObject

type GetRedfishV1SessionServiceRequestObject struct {
}

type GetRedfishV1SessionServiceResponseObject

type GetRedfishV1SessionServiceResponseObject interface {
	VisitGetRedfishV1SessionServiceResponse(w http.ResponseWriter) error
}

type GetRedfishV1SessionServiceSessions200JSONResponse

type GetRedfishV1SessionServiceSessions200JSONResponse SessionCollectionSessionCollection

func (GetRedfishV1SessionServiceSessions200JSONResponse) VisitGetRedfishV1SessionServiceSessionsResponse

func (response GetRedfishV1SessionServiceSessions200JSONResponse) VisitGetRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error

type GetRedfishV1SessionServiceSessionsRequestObject

type GetRedfishV1SessionServiceSessionsRequestObject struct {
}

type GetRedfishV1SessionServiceSessionsResponseObject

type GetRedfishV1SessionServiceSessionsResponseObject interface {
	VisitGetRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error
}

type GetRedfishV1SessionServiceSessionsSessionId200JSONResponse

type GetRedfishV1SessionServiceSessionsSessionId200JSONResponse SessionSession

func (GetRedfishV1SessionServiceSessionsSessionId200JSONResponse) VisitGetRedfishV1SessionServiceSessionsSessionIdResponse

func (response GetRedfishV1SessionServiceSessionsSessionId200JSONResponse) VisitGetRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error

type GetRedfishV1SessionServiceSessionsSessionIdRequestObject

type GetRedfishV1SessionServiceSessionsSessionIdRequestObject struct {
	SessionId string `json:"SessionId"`
}

type GetRedfishV1SessionServiceSessionsSessionIdResponseObject

type GetRedfishV1SessionServiceSessionsSessionIdResponseObject interface {
	VisitGetRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error
}

type GetRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse

type GetRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse) VisitGetRedfishV1SessionServiceSessionsSessionIdResponse

func (response GetRedfishV1SessionServiceSessionsSessionIddefaultJSONResponse) VisitGetRedfishV1SessionServiceSessionsSessionIdResponse(w http.ResponseWriter) error

type GetRedfishV1SessionServiceSessionsdefaultJSONResponse

type GetRedfishV1SessionServiceSessionsdefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1SessionServiceSessionsdefaultJSONResponse) VisitGetRedfishV1SessionServiceSessionsResponse

func (response GetRedfishV1SessionServiceSessionsdefaultJSONResponse) VisitGetRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error

type GetRedfishV1SessionServicedefaultJSONResponse

type GetRedfishV1SessionServicedefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1SessionServicedefaultJSONResponse) VisitGetRedfishV1SessionServiceResponse

func (response GetRedfishV1SessionServicedefaultJSONResponse) VisitGetRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type GetRedfishV1Systems200JSONResponse

type GetRedfishV1Systems200JSONResponse ComputerSystemCollectionComputerSystemCollection

func (GetRedfishV1Systems200JSONResponse) VisitGetRedfishV1SystemsResponse

func (response GetRedfishV1Systems200JSONResponse) VisitGetRedfishV1SystemsResponse(w http.ResponseWriter) error

type GetRedfishV1SystemsComputerSystemId200JSONResponse

type GetRedfishV1SystemsComputerSystemId200JSONResponse ComputerSystemComputerSystem

func (GetRedfishV1SystemsComputerSystemId200JSONResponse) VisitGetRedfishV1SystemsComputerSystemIdResponse

func (response GetRedfishV1SystemsComputerSystemId200JSONResponse) VisitGetRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error

type GetRedfishV1SystemsComputerSystemIdRequestObject

type GetRedfishV1SystemsComputerSystemIdRequestObject struct {
	ComputerSystemId string `json:"ComputerSystemId"`
}

type GetRedfishV1SystemsComputerSystemIdResponseObject

type GetRedfishV1SystemsComputerSystemIdResponseObject interface {
	VisitGetRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error
}

type GetRedfishV1SystemsComputerSystemIddefaultJSONResponse

type GetRedfishV1SystemsComputerSystemIddefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1SystemsComputerSystemIddefaultJSONResponse) VisitGetRedfishV1SystemsComputerSystemIdResponse

func (response GetRedfishV1SystemsComputerSystemIddefaultJSONResponse) VisitGetRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error

type GetRedfishV1SystemsRequestObject

type GetRedfishV1SystemsRequestObject struct {
}

type GetRedfishV1SystemsResponseObject

type GetRedfishV1SystemsResponseObject interface {
	VisitGetRedfishV1SystemsResponse(w http.ResponseWriter) error
}

type GetRedfishV1SystemsdefaultJSONResponse

type GetRedfishV1SystemsdefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1SystemsdefaultJSONResponse) VisitGetRedfishV1SystemsResponse

func (response GetRedfishV1SystemsdefaultJSONResponse) VisitGetRedfishV1SystemsResponse(w http.ResponseWriter) error

type GetRedfishV1defaultJSONResponse

type GetRedfishV1defaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (GetRedfishV1defaultJSONResponse) VisitGetRedfishV1Response

func (response GetRedfishV1defaultJSONResponse) VisitGetRedfishV1Response(w http.ResponseWriter) error

type GetRedfishV1200JSONResponse

type GetRedfishV1200JSONResponse ServiceRootServiceRoot

func (GetRedfishV1200JSONResponse) VisitGetRedfishV1Response

func (response GetRedfishV1200JSONResponse) VisitGetRedfishV1Response(w http.ResponseWriter) error

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

type MessageMessage

type MessageMessage struct {
	// Message The human-readable message.
	Message *string `json:"Message,omitempty"`

	// MessageArgs An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.
	MessageArgs *[]string `json:"MessageArgs,omitempty"`

	// MessageId The identifier for the message.
	MessageId       *string         `json:"MessageId,omitempty"`
	MessageSeverity *ResourceHealth `json:"MessageSeverity,omitempty"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`

	// RelatedProperties A set of properties described by the message.
	RelatedProperties *[]string `json:"RelatedProperties,omitempty"`

	// Resolution Used to provide suggestions on how to resolve the situation that caused the message.
	Resolution *string `json:"Resolution,omitempty"`

	// ResolutionSteps The list of recommended steps to resolve the situation that caused the message.
	ResolutionSteps *[]ResolutionStepResolutionStep `json:"ResolutionSteps,omitempty"`

	// Severity The severity of the message.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Severity *string `json:"Severity,omitempty"`
}

MessageMessage The message that the Redfish service returns.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type OdataV4Context

type OdataV4Context = string

OdataV4Context The OData description of a payload.

type OdataV4Count

type OdataV4Count = int64

OdataV4Count The number of items in a collection.

type OdataV4Etag

type OdataV4Etag = string

OdataV4Etag The current ETag of the resource.

type OdataV4Id

type OdataV4Id = string

OdataV4Id The unique identifier for a resource.

type OdataV4IdRef

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

OdataV4IdRef A reference to a resource.

type OdataV4NextLink = string

OdataV4NextLink The URI to the resource containing the next set of partial members.

type OdataV4Type

type OdataV4Type = string

OdataV4Type The type of a resource.

type PatchRedfishV1SessionService200JSONResponse

type PatchRedfishV1SessionService200JSONResponse SessionServiceSessionService

func (PatchRedfishV1SessionService200JSONResponse) VisitPatchRedfishV1SessionServiceResponse

func (response PatchRedfishV1SessionService200JSONResponse) VisitPatchRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type PatchRedfishV1SessionService204Response

type PatchRedfishV1SessionService204Response struct {
}

func (PatchRedfishV1SessionService204Response) VisitPatchRedfishV1SessionServiceResponse

func (response PatchRedfishV1SessionService204Response) VisitPatchRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type PatchRedfishV1SessionServiceJSONRequestBody

type PatchRedfishV1SessionServiceJSONRequestBody = SessionServiceSessionService

PatchRedfishV1SessionServiceJSONRequestBody defines body for PatchRedfishV1SessionService for application/json ContentType.

type PatchRedfishV1SessionServiceRequestObject

type PatchRedfishV1SessionServiceRequestObject struct {
	Body *PatchRedfishV1SessionServiceJSONRequestBody
}

type PatchRedfishV1SessionServiceResponseObject

type PatchRedfishV1SessionServiceResponseObject interface {
	VisitPatchRedfishV1SessionServiceResponse(w http.ResponseWriter) error
}

type PatchRedfishV1SessionServicedefaultJSONResponse

type PatchRedfishV1SessionServicedefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (PatchRedfishV1SessionServicedefaultJSONResponse) VisitPatchRedfishV1SessionServiceResponse

func (response PatchRedfishV1SessionServicedefaultJSONResponse) VisitPatchRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type PatchRedfishV1SystemsComputerSystemId200JSONResponse

type PatchRedfishV1SystemsComputerSystemId200JSONResponse ComputerSystemComputerSystem

func (PatchRedfishV1SystemsComputerSystemId200JSONResponse) VisitPatchRedfishV1SystemsComputerSystemIdResponse

func (response PatchRedfishV1SystemsComputerSystemId200JSONResponse) VisitPatchRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error

type PatchRedfishV1SystemsComputerSystemId204Response

type PatchRedfishV1SystemsComputerSystemId204Response struct {
}

func (PatchRedfishV1SystemsComputerSystemId204Response) VisitPatchRedfishV1SystemsComputerSystemIdResponse

func (response PatchRedfishV1SystemsComputerSystemId204Response) VisitPatchRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error

type PatchRedfishV1SystemsComputerSystemIdJSONRequestBody

type PatchRedfishV1SystemsComputerSystemIdJSONRequestBody = ComputerSystemComputerSystem

PatchRedfishV1SystemsComputerSystemIdJSONRequestBody defines body for PatchRedfishV1SystemsComputerSystemId for application/json ContentType.

type PatchRedfishV1SystemsComputerSystemIdRequestObject

type PatchRedfishV1SystemsComputerSystemIdRequestObject struct {
	ComputerSystemId string `json:"ComputerSystemId"`
	Body             *PatchRedfishV1SystemsComputerSystemIdJSONRequestBody
}

type PatchRedfishV1SystemsComputerSystemIdResponseObject

type PatchRedfishV1SystemsComputerSystemIdResponseObject interface {
	VisitPatchRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error
}

type PatchRedfishV1SystemsComputerSystemIddefaultJSONResponse

type PatchRedfishV1SystemsComputerSystemIddefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (PatchRedfishV1SystemsComputerSystemIddefaultJSONResponse) VisitPatchRedfishV1SystemsComputerSystemIdResponse

func (response PatchRedfishV1SystemsComputerSystemIddefaultJSONResponse) VisitPatchRedfishV1SystemsComputerSystemIdResponse(w http.ResponseWriter) error

type PostRedfishV1SessionServiceSessions201JSONResponse

type PostRedfishV1SessionServiceSessions201JSONResponse SessionSession

func (PostRedfishV1SessionServiceSessions201JSONResponse) VisitPostRedfishV1SessionServiceSessionsResponse

func (response PostRedfishV1SessionServiceSessions201JSONResponse) VisitPostRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error

type PostRedfishV1SessionServiceSessions204Response

type PostRedfishV1SessionServiceSessions204Response struct {
}

func (PostRedfishV1SessionServiceSessions204Response) VisitPostRedfishV1SessionServiceSessionsResponse

func (response PostRedfishV1SessionServiceSessions204Response) VisitPostRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error

type PostRedfishV1SessionServiceSessionsJSONRequestBody

type PostRedfishV1SessionServiceSessionsJSONRequestBody = SessionSession

PostRedfishV1SessionServiceSessionsJSONRequestBody defines body for PostRedfishV1SessionServiceSessions for application/json ContentType.

type PostRedfishV1SessionServiceSessionsRequestObject

type PostRedfishV1SessionServiceSessionsRequestObject struct {
	Body *PostRedfishV1SessionServiceSessionsJSONRequestBody
}

type PostRedfishV1SessionServiceSessionsResponseObject

type PostRedfishV1SessionServiceSessionsResponseObject interface {
	VisitPostRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error
}

type PostRedfishV1SessionServiceSessionsdefaultJSONResponse

type PostRedfishV1SessionServiceSessionsdefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (PostRedfishV1SessionServiceSessionsdefaultJSONResponse) VisitPostRedfishV1SessionServiceSessionsResponse

func (response PostRedfishV1SessionServiceSessionsdefaultJSONResponse) VisitPostRedfishV1SessionServiceSessionsResponse(w http.ResponseWriter) error

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset200JSONResponse

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset200JSONResponse RedfishError

func (PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset200JSONResponse) VisitPostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponse

func (response PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset200JSONResponse) VisitPostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponse(w http.ResponseWriter) error

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetJSONRequestBody

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetJSONRequestBody = ComputerSystemResetRequestBody

PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetJSONRequestBody defines body for PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset for application/json ContentType.

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetRequestObject

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetRequestObject struct {
	ComputerSystemId string `json:"ComputerSystemId"`
	Body             *PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetJSONRequestBody
}

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponseObject

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponseObject interface {
	VisitPostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponse(w http.ResponseWriter) error
}

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetdefaultJSONResponse

type PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetdefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetdefaultJSONResponse) VisitPostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponse

func (response PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetdefaultJSONResponse) VisitPostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponse(w http.ResponseWriter) error

type PutRedfishV1SessionService200JSONResponse

type PutRedfishV1SessionService200JSONResponse SessionServiceSessionService

func (PutRedfishV1SessionService200JSONResponse) VisitPutRedfishV1SessionServiceResponse

func (response PutRedfishV1SessionService200JSONResponse) VisitPutRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type PutRedfishV1SessionService204Response

type PutRedfishV1SessionService204Response struct {
}

func (PutRedfishV1SessionService204Response) VisitPutRedfishV1SessionServiceResponse

func (response PutRedfishV1SessionService204Response) VisitPutRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type PutRedfishV1SessionServiceJSONRequestBody

type PutRedfishV1SessionServiceJSONRequestBody = SessionServiceSessionService

PutRedfishV1SessionServiceJSONRequestBody defines body for PutRedfishV1SessionService for application/json ContentType.

type PutRedfishV1SessionServiceRequestObject

type PutRedfishV1SessionServiceRequestObject struct {
	Body *PutRedfishV1SessionServiceJSONRequestBody
}

type PutRedfishV1SessionServiceResponseObject

type PutRedfishV1SessionServiceResponseObject interface {
	VisitPutRedfishV1SessionServiceResponse(w http.ResponseWriter) error
}

type PutRedfishV1SessionServicedefaultJSONResponse

type PutRedfishV1SessionServicedefaultJSONResponse struct {
	Body       RedfishError
	StatusCode int
}

func (PutRedfishV1SessionServicedefaultJSONResponse) VisitPutRedfishV1SessionServiceResponse

func (response PutRedfishV1SessionServicedefaultJSONResponse) VisitPutRedfishV1SessionServiceResponse(w http.ResponseWriter) error

type RedfishError

type RedfishError struct {
	// Error The properties that describe an error from a Redfish service.
	Error struct {
		// MessageExtendedInfo An array of messages describing one or more error messages.
		MessageExtendedInfo *[]MessageMessage `json:"@Message.ExtendedInfo,omitempty"`

		// Code A string indicating a specific `MessageId` from a message registry.
		Code *string `json:"code,omitempty"`

		// Message A human-readable error message corresponding to the message in a message registry.
		Message *string `json:"message,omitempty"`
	} `json:"error"`
}

RedfishError The error payload from a Redfish service.

type ResolutionStepResolutionStep

type ResolutionStepResolutionStep struct {
	// ActionParameters The parameters of the action URI for a resolution step.
	ActionParameters *[]ResolutionStepResolutionStep_ActionParameters_Item `json:"ActionParameters,omitempty"`

	// ActionURI The action URI for a resolution step.
	ActionURI *string `json:"ActionURI,omitempty"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`

	// Priority The priority in the set of resolution steps.
	Priority *int64 `json:"Priority"`

	// ResolutionType The type of the resolution step.
	ResolutionType *ResolutionStepResolutionStep_ResolutionType `json:"ResolutionType,omitempty"`

	// RetryCount The number of retries for a resolution step.
	RetryCount *int64 `json:"RetryCount"`

	// RetryIntervalSeconds The interval between retries for a resolution step.
	RetryIntervalSeconds *int64 `json:"RetryIntervalSeconds"`

	// TargetComponentURI The target URI of the component for a resolution step.
	TargetComponentURI *string `json:"TargetComponentURI"`
}

ResolutionStepResolutionStep This type describes a recommended step of the service-defined resolution.

type ResolutionStepResolutionStepActionParameters1

type ResolutionStepResolutionStepActionParameters1 = interface{}

ResolutionStepResolutionStepActionParameters1 defines model for .

type ResolutionStepResolutionStepResolutionType1

type ResolutionStepResolutionStepResolutionType1 = interface{}

ResolutionStepResolutionStepResolutionType1 defines model for .

type ResolutionStepResolutionStep_ActionParameters_Item

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

ResolutionStepResolutionStep_ActionParameters_Item defines model for ResolutionStep_ResolutionStep.ActionParameters.Item.

func (ResolutionStepResolutionStep_ActionParameters_Item) AsActionInfoParameters

AsActionInfoParameters returns the union data inside the ResolutionStepResolutionStep_ActionParameters_Item as a ActionInfoParameters

func (ResolutionStepResolutionStep_ActionParameters_Item) AsResolutionStepResolutionStepActionParameters1

AsResolutionStepResolutionStepActionParameters1 returns the union data inside the ResolutionStepResolutionStep_ActionParameters_Item as a ResolutionStepResolutionStepActionParameters1

func (*ResolutionStepResolutionStep_ActionParameters_Item) FromActionInfoParameters

FromActionInfoParameters overwrites any union data inside the ResolutionStepResolutionStep_ActionParameters_Item as the provided ActionInfoParameters

func (*ResolutionStepResolutionStep_ActionParameters_Item) FromResolutionStepResolutionStepActionParameters1

func (t *ResolutionStepResolutionStep_ActionParameters_Item) FromResolutionStepResolutionStepActionParameters1(v ResolutionStepResolutionStepActionParameters1) error

FromResolutionStepResolutionStepActionParameters1 overwrites any union data inside the ResolutionStepResolutionStep_ActionParameters_Item as the provided ResolutionStepResolutionStepActionParameters1

func (ResolutionStepResolutionStep_ActionParameters_Item) MarshalJSON

func (*ResolutionStepResolutionStep_ActionParameters_Item) MergeActionInfoParameters

MergeActionInfoParameters performs a merge with any union data inside the ResolutionStepResolutionStep_ActionParameters_Item, using the provided ActionInfoParameters

func (*ResolutionStepResolutionStep_ActionParameters_Item) MergeResolutionStepResolutionStepActionParameters1

func (t *ResolutionStepResolutionStep_ActionParameters_Item) MergeResolutionStepResolutionStepActionParameters1(v ResolutionStepResolutionStepActionParameters1) error

MergeResolutionStepResolutionStepActionParameters1 performs a merge with any union data inside the ResolutionStepResolutionStep_ActionParameters_Item, using the provided ResolutionStepResolutionStepActionParameters1

func (*ResolutionStepResolutionStep_ActionParameters_Item) UnmarshalJSON

type ResolutionStepResolutionStep_ResolutionType

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

ResolutionStepResolutionStep_ResolutionType The type of the resolution step.

func (ResolutionStepResolutionStep_ResolutionType) AsResolutionStepResolutionStepResolutionType1

func (t ResolutionStepResolutionStep_ResolutionType) AsResolutionStepResolutionStepResolutionType1() (ResolutionStepResolutionStepResolutionType1, error)

AsResolutionStepResolutionStepResolutionType1 returns the union data inside the ResolutionStepResolutionStep_ResolutionType as a ResolutionStepResolutionStepResolutionType1

func (ResolutionStepResolutionStep_ResolutionType) AsResolutionStepResolutionType

AsResolutionStepResolutionType returns the union data inside the ResolutionStepResolutionStep_ResolutionType as a ResolutionStepResolutionType

func (*ResolutionStepResolutionStep_ResolutionType) FromResolutionStepResolutionStepResolutionType1

func (t *ResolutionStepResolutionStep_ResolutionType) FromResolutionStepResolutionStepResolutionType1(v ResolutionStepResolutionStepResolutionType1) error

FromResolutionStepResolutionStepResolutionType1 overwrites any union data inside the ResolutionStepResolutionStep_ResolutionType as the provided ResolutionStepResolutionStepResolutionType1

func (*ResolutionStepResolutionStep_ResolutionType) FromResolutionStepResolutionType

FromResolutionStepResolutionType overwrites any union data inside the ResolutionStepResolutionStep_ResolutionType as the provided ResolutionStepResolutionType

func (ResolutionStepResolutionStep_ResolutionType) MarshalJSON

func (*ResolutionStepResolutionStep_ResolutionType) MergeResolutionStepResolutionStepResolutionType1

func (t *ResolutionStepResolutionStep_ResolutionType) MergeResolutionStepResolutionStepResolutionType1(v ResolutionStepResolutionStepResolutionType1) error

MergeResolutionStepResolutionStepResolutionType1 performs a merge with any union data inside the ResolutionStepResolutionStep_ResolutionType, using the provided ResolutionStepResolutionStepResolutionType1

func (*ResolutionStepResolutionStep_ResolutionType) MergeResolutionStepResolutionType

func (t *ResolutionStepResolutionStep_ResolutionType) MergeResolutionStepResolutionType(v ResolutionStepResolutionType) error

MergeResolutionStepResolutionType performs a merge with any union data inside the ResolutionStepResolutionStep_ResolutionType, using the provided ResolutionStepResolutionType

func (*ResolutionStepResolutionStep_ResolutionType) UnmarshalJSON

type ResolutionStepResolutionType

type ResolutionStepResolutionType string

ResolutionStepResolutionType defines model for ResolutionStep_ResolutionType.

const (
	ResolutionStepResolutionTypeCollectDiagnosticData ResolutionStepResolutionType = "CollectDiagnosticData"
	ResolutionStepResolutionTypeContactVendor         ResolutionStepResolutionType = "ContactVendor"
	ResolutionStepResolutionTypeFirmwareUpdate        ResolutionStepResolutionType = "FirmwareUpdate"
	ResolutionStepResolutionTypeOEM                   ResolutionStepResolutionType = "OEM"
	ResolutionStepResolutionTypePowerCycle            ResolutionStepResolutionType = "PowerCycle"
	ResolutionStepResolutionTypeReplaceComponent      ResolutionStepResolutionType = "ReplaceComponent"
	ResolutionStepResolutionTypeReset                 ResolutionStepResolutionType = "Reset"
	ResolutionStepResolutionTypeResetToDefaults       ResolutionStepResolutionType = "ResetToDefaults"
)

Defines values for ResolutionStepResolutionType.

type ResourceCondition

type ResourceCondition struct {
	// ConditionType The type of condition.
	ConditionType *ResourceCondition_ConditionType `json:"ConditionType,omitempty"`

	// LogEntry A reference to a resource.
	LogEntry *OdataV4IdRef `json:"LogEntry,omitempty"`

	// Message The human-readable message for this condition.
	Message *string `json:"Message,omitempty"`

	// MessageArgs An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.
	MessageArgs *[]string `json:"MessageArgs,omitempty"`

	// MessageId The identifier for the message.
	MessageId *string `json:"MessageId,omitempty"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`

	// OriginOfCondition A reference to a resource.
	OriginOfCondition *OdataV4IdRef `json:"OriginOfCondition,omitempty"`

	// Resolution Suggestions on how to resolve the condition.
	Resolution *string `json:"Resolution,omitempty"`

	// ResolutionSteps The list of recommended steps to resolve the condition.
	ResolutionSteps *[]ResolutionStepResolutionStep `json:"ResolutionSteps,omitempty"`
	Severity        *ResourceHealth                 `json:"Severity,omitempty"`

	// Timestamp The time the condition occurred.
	Timestamp *time.Time `json:"Timestamp,omitempty"`

	// UserAuthenticationSource The source of authentication for the username property associated with the condition.
	UserAuthenticationSource *string `json:"UserAuthenticationSource"`

	// Username The username of the account associated with the condition.
	Username *string `json:"Username"`
}

ResourceCondition A condition that requires attention.

type ResourceConditionConditionType1

type ResourceConditionConditionType1 = interface{}

ResourceConditionConditionType1 defines model for .

type ResourceConditionType

type ResourceConditionType string

ResourceConditionType defines model for Resource_ConditionType.

const (
	Alert         ResourceConditionType = "Alert"
	Informational ResourceConditionType = "Informational"
	Subsystem     ResourceConditionType = "Subsystem"
)

Defines values for ResourceConditionType.

type ResourceCondition_ConditionType

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

ResourceCondition_ConditionType The type of condition.

func (ResourceCondition_ConditionType) AsResourceConditionConditionType1

func (t ResourceCondition_ConditionType) AsResourceConditionConditionType1() (ResourceConditionConditionType1, error)

AsResourceConditionConditionType1 returns the union data inside the ResourceCondition_ConditionType as a ResourceConditionConditionType1

func (ResourceCondition_ConditionType) AsResourceConditionType

func (t ResourceCondition_ConditionType) AsResourceConditionType() (ResourceConditionType, error)

AsResourceConditionType returns the union data inside the ResourceCondition_ConditionType as a ResourceConditionType

func (*ResourceCondition_ConditionType) FromResourceConditionConditionType1

func (t *ResourceCondition_ConditionType) FromResourceConditionConditionType1(v ResourceConditionConditionType1) error

FromResourceConditionConditionType1 overwrites any union data inside the ResourceCondition_ConditionType as the provided ResourceConditionConditionType1

func (*ResourceCondition_ConditionType) FromResourceConditionType

func (t *ResourceCondition_ConditionType) FromResourceConditionType(v ResourceConditionType) error

FromResourceConditionType overwrites any union data inside the ResourceCondition_ConditionType as the provided ResourceConditionType

func (ResourceCondition_ConditionType) MarshalJSON

func (t ResourceCondition_ConditionType) MarshalJSON() ([]byte, error)

func (*ResourceCondition_ConditionType) MergeResourceConditionConditionType1

func (t *ResourceCondition_ConditionType) MergeResourceConditionConditionType1(v ResourceConditionConditionType1) error

MergeResourceConditionConditionType1 performs a merge with any union data inside the ResourceCondition_ConditionType, using the provided ResourceConditionConditionType1

func (*ResourceCondition_ConditionType) MergeResourceConditionType

func (t *ResourceCondition_ConditionType) MergeResourceConditionType(v ResourceConditionType) error

MergeResourceConditionType performs a merge with any union data inside the ResourceCondition_ConditionType, using the provided ResourceConditionType

func (*ResourceCondition_ConditionType) UnmarshalJSON

func (t *ResourceCondition_ConditionType) UnmarshalJSON(b []byte) error

type ResourceDescription

type ResourceDescription = string

ResourceDescription The description of this resource. Used for commonality in the schema definitions.

type ResourceHealth

type ResourceHealth string

ResourceHealth defines model for Resource_Health.

const (
	Critical ResourceHealth = "Critical"
	OK       ResourceHealth = "OK"
	Warning  ResourceHealth = "Warning"
)

Defines values for ResourceHealth.

type ResourceId

type ResourceId = string

ResourceId The unique identifier for this resource within the collection of similar resources.

type ResourceName

type ResourceName = string

ResourceName The name of the resource or array member.

type ResourceOem

type ResourceOem map[string]interface{}

ResourceOem The OEM extension.

type ResourcePowerState

type ResourcePowerState string

ResourcePowerState defines model for Resource_PowerState.

const (
	Off         ResourcePowerState = "Off"
	On          ResourcePowerState = "On"
	Paused      ResourcePowerState = "Paused"
	PoweringOff ResourcePowerState = "PoweringOff"
	PoweringOn  ResourcePowerState = "PoweringOn"
)

Defines values for ResourcePowerState.

type ResourceResetType

type ResourceResetType string

ResourceResetType defines model for Resource_ResetType.

const (
	ResourceResetTypeForceOff         ResourceResetType = "ForceOff"
	ResourceResetTypeForceOn          ResourceResetType = "ForceOn"
	ResourceResetTypeForceRestart     ResourceResetType = "ForceRestart"
	ResourceResetTypeFullPowerCycle   ResourceResetType = "FullPowerCycle"
	ResourceResetTypeGracefulRestart  ResourceResetType = "GracefulRestart"
	ResourceResetTypeGracefulShutdown ResourceResetType = "GracefulShutdown"
	ResourceResetTypeNmi              ResourceResetType = "Nmi"
	ResourceResetTypeOn               ResourceResetType = "On"
	ResourceResetTypePause            ResourceResetType = "Pause"
	ResourceResetTypePowerCycle       ResourceResetType = "PowerCycle"
	ResourceResetTypePushPowerButton  ResourceResetType = "PushPowerButton"
	ResourceResetTypeResume           ResourceResetType = "Resume"
	ResourceResetTypeSuspend          ResourceResetType = "Suspend"
)

Defines values for ResourceResetType.

type ResourceState

type ResourceState string

ResourceState defines model for Resource_State.

const (
	ResourceStateAbsent             ResourceState = "Absent"
	ResourceStateDeferring          ResourceState = "Deferring"
	ResourceStateDegraded           ResourceState = "Degraded"
	ResourceStateDisabled           ResourceState = "Disabled"
	ResourceStateEnabled            ResourceState = "Enabled"
	ResourceStateInTest             ResourceState = "InTest"
	ResourceStateQualified          ResourceState = "Qualified"
	ResourceStateQuiesced           ResourceState = "Quiesced"
	ResourceStateStandbyOffline     ResourceState = "StandbyOffline"
	ResourceStateStandbySpare       ResourceState = "StandbySpare"
	ResourceStateStarting           ResourceState = "Starting"
	ResourceStateUnavailableOffline ResourceState = "UnavailableOffline"
	ResourceStateUpdating           ResourceState = "Updating"
)

Defines values for ResourceState.

type ResourceStatus

type ResourceStatus struct {
	// Conditions Conditions in this resource that require attention.
	Conditions *[]ResourceStatus_Conditions_Item `json:"Conditions,omitempty"`

	// Health The health state of this resource in the absence of its dependent resources.
	Health *ResourceStatus_Health `json:"Health,omitempty"`

	// HealthRollup The overall health state from the view of this resource.
	HealthRollup *ResourceStatus_HealthRollup `json:"HealthRollup,omitempty"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`

	// State The state of the resource.
	State *ResourceStatus_State `json:"State,omitempty"`
}

ResourceStatus The status and health of a resource and its children.

type ResourceStatusConditions1

type ResourceStatusConditions1 = interface{}

ResourceStatusConditions1 defines model for .

type ResourceStatusHealth1

type ResourceStatusHealth1 = interface{}

ResourceStatusHealth1 defines model for .

type ResourceStatusHealthRollup1

type ResourceStatusHealthRollup1 = interface{}

ResourceStatusHealthRollup1 defines model for .

type ResourceStatusState1

type ResourceStatusState1 = interface{}

ResourceStatusState1 defines model for .

type ResourceStatus_Conditions_Item

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

ResourceStatus_Conditions_Item defines model for Resource_Status.Conditions.Item.

func (ResourceStatus_Conditions_Item) AsResourceCondition

func (t ResourceStatus_Conditions_Item) AsResourceCondition() (ResourceCondition, error)

AsResourceCondition returns the union data inside the ResourceStatus_Conditions_Item as a ResourceCondition

func (ResourceStatus_Conditions_Item) AsResourceStatusConditions1

func (t ResourceStatus_Conditions_Item) AsResourceStatusConditions1() (ResourceStatusConditions1, error)

AsResourceStatusConditions1 returns the union data inside the ResourceStatus_Conditions_Item as a ResourceStatusConditions1

func (*ResourceStatus_Conditions_Item) FromResourceCondition

func (t *ResourceStatus_Conditions_Item) FromResourceCondition(v ResourceCondition) error

FromResourceCondition overwrites any union data inside the ResourceStatus_Conditions_Item as the provided ResourceCondition

func (*ResourceStatus_Conditions_Item) FromResourceStatusConditions1

func (t *ResourceStatus_Conditions_Item) FromResourceStatusConditions1(v ResourceStatusConditions1) error

FromResourceStatusConditions1 overwrites any union data inside the ResourceStatus_Conditions_Item as the provided ResourceStatusConditions1

func (ResourceStatus_Conditions_Item) MarshalJSON

func (t ResourceStatus_Conditions_Item) MarshalJSON() ([]byte, error)

func (*ResourceStatus_Conditions_Item) MergeResourceCondition

func (t *ResourceStatus_Conditions_Item) MergeResourceCondition(v ResourceCondition) error

MergeResourceCondition performs a merge with any union data inside the ResourceStatus_Conditions_Item, using the provided ResourceCondition

func (*ResourceStatus_Conditions_Item) MergeResourceStatusConditions1

func (t *ResourceStatus_Conditions_Item) MergeResourceStatusConditions1(v ResourceStatusConditions1) error

MergeResourceStatusConditions1 performs a merge with any union data inside the ResourceStatus_Conditions_Item, using the provided ResourceStatusConditions1

func (*ResourceStatus_Conditions_Item) UnmarshalJSON

func (t *ResourceStatus_Conditions_Item) UnmarshalJSON(b []byte) error

type ResourceStatus_Health

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

ResourceStatus_Health The health state of this resource in the absence of its dependent resources.

func (ResourceStatus_Health) AsResourceHealth

func (t ResourceStatus_Health) AsResourceHealth() (ResourceHealth, error)

AsResourceHealth returns the union data inside the ResourceStatus_Health as a ResourceHealth

func (ResourceStatus_Health) AsResourceStatusHealth1

func (t ResourceStatus_Health) AsResourceStatusHealth1() (ResourceStatusHealth1, error)

AsResourceStatusHealth1 returns the union data inside the ResourceStatus_Health as a ResourceStatusHealth1

func (*ResourceStatus_Health) FromResourceHealth

func (t *ResourceStatus_Health) FromResourceHealth(v ResourceHealth) error

FromResourceHealth overwrites any union data inside the ResourceStatus_Health as the provided ResourceHealth

func (*ResourceStatus_Health) FromResourceStatusHealth1

func (t *ResourceStatus_Health) FromResourceStatusHealth1(v ResourceStatusHealth1) error

FromResourceStatusHealth1 overwrites any union data inside the ResourceStatus_Health as the provided ResourceStatusHealth1

func (ResourceStatus_Health) MarshalJSON

func (t ResourceStatus_Health) MarshalJSON() ([]byte, error)

func (*ResourceStatus_Health) MergeResourceHealth

func (t *ResourceStatus_Health) MergeResourceHealth(v ResourceHealth) error

MergeResourceHealth performs a merge with any union data inside the ResourceStatus_Health, using the provided ResourceHealth

func (*ResourceStatus_Health) MergeResourceStatusHealth1

func (t *ResourceStatus_Health) MergeResourceStatusHealth1(v ResourceStatusHealth1) error

MergeResourceStatusHealth1 performs a merge with any union data inside the ResourceStatus_Health, using the provided ResourceStatusHealth1

func (*ResourceStatus_Health) UnmarshalJSON

func (t *ResourceStatus_Health) UnmarshalJSON(b []byte) error

type ResourceStatus_HealthRollup

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

ResourceStatus_HealthRollup The overall health state from the view of this resource.

func (ResourceStatus_HealthRollup) AsResourceHealth

func (t ResourceStatus_HealthRollup) AsResourceHealth() (ResourceHealth, error)

AsResourceHealth returns the union data inside the ResourceStatus_HealthRollup as a ResourceHealth

func (ResourceStatus_HealthRollup) AsResourceStatusHealthRollup1

func (t ResourceStatus_HealthRollup) AsResourceStatusHealthRollup1() (ResourceStatusHealthRollup1, error)

AsResourceStatusHealthRollup1 returns the union data inside the ResourceStatus_HealthRollup as a ResourceStatusHealthRollup1

func (*ResourceStatus_HealthRollup) FromResourceHealth

func (t *ResourceStatus_HealthRollup) FromResourceHealth(v ResourceHealth) error

FromResourceHealth overwrites any union data inside the ResourceStatus_HealthRollup as the provided ResourceHealth

func (*ResourceStatus_HealthRollup) FromResourceStatusHealthRollup1

func (t *ResourceStatus_HealthRollup) FromResourceStatusHealthRollup1(v ResourceStatusHealthRollup1) error

FromResourceStatusHealthRollup1 overwrites any union data inside the ResourceStatus_HealthRollup as the provided ResourceStatusHealthRollup1

func (ResourceStatus_HealthRollup) MarshalJSON

func (t ResourceStatus_HealthRollup) MarshalJSON() ([]byte, error)

func (*ResourceStatus_HealthRollup) MergeResourceHealth

func (t *ResourceStatus_HealthRollup) MergeResourceHealth(v ResourceHealth) error

MergeResourceHealth performs a merge with any union data inside the ResourceStatus_HealthRollup, using the provided ResourceHealth

func (*ResourceStatus_HealthRollup) MergeResourceStatusHealthRollup1

func (t *ResourceStatus_HealthRollup) MergeResourceStatusHealthRollup1(v ResourceStatusHealthRollup1) error

MergeResourceStatusHealthRollup1 performs a merge with any union data inside the ResourceStatus_HealthRollup, using the provided ResourceStatusHealthRollup1

func (*ResourceStatus_HealthRollup) UnmarshalJSON

func (t *ResourceStatus_HealthRollup) UnmarshalJSON(b []byte) error

type ResourceStatus_State

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

ResourceStatus_State The state of the resource.

func (ResourceStatus_State) AsResourceState

func (t ResourceStatus_State) AsResourceState() (ResourceState, error)

AsResourceState returns the union data inside the ResourceStatus_State as a ResourceState

func (ResourceStatus_State) AsResourceStatusState1

func (t ResourceStatus_State) AsResourceStatusState1() (ResourceStatusState1, error)

AsResourceStatusState1 returns the union data inside the ResourceStatus_State as a ResourceStatusState1

func (*ResourceStatus_State) FromResourceState

func (t *ResourceStatus_State) FromResourceState(v ResourceState) error

FromResourceState overwrites any union data inside the ResourceStatus_State as the provided ResourceState

func (*ResourceStatus_State) FromResourceStatusState1

func (t *ResourceStatus_State) FromResourceStatusState1(v ResourceStatusState1) error

FromResourceStatusState1 overwrites any union data inside the ResourceStatus_State as the provided ResourceStatusState1

func (ResourceStatus_State) MarshalJSON

func (t ResourceStatus_State) MarshalJSON() ([]byte, error)

func (*ResourceStatus_State) MergeResourceState

func (t *ResourceStatus_State) MergeResourceState(v ResourceState) error

MergeResourceState performs a merge with any union data inside the ResourceStatus_State, using the provided ResourceState

func (*ResourceStatus_State) MergeResourceStatusState1

func (t *ResourceStatus_State) MergeResourceStatusState1(v ResourceStatusState1) error

MergeResourceStatusState1 performs a merge with any union data inside the ResourceStatus_State, using the provided ResourceStatusState1

func (*ResourceStatus_State) UnmarshalJSON

func (t *ResourceStatus_State) UnmarshalJSON(b []byte) error

type ServerInterface

type ServerInterface interface {

	// (GET /redfish/v1/)
	GetRedfishV1(c *gin.Context)

	// (GET /redfish/v1/$metadata)
	GetRedfishV1Metadata(c *gin.Context)

	// (GET /redfish/v1/SessionService)
	GetRedfishV1SessionService(c *gin.Context)

	// (PATCH /redfish/v1/SessionService)
	PatchRedfishV1SessionService(c *gin.Context)

	// (PUT /redfish/v1/SessionService)
	PutRedfishV1SessionService(c *gin.Context)

	// (GET /redfish/v1/SessionService/Sessions)
	GetRedfishV1SessionServiceSessions(c *gin.Context)

	// (POST /redfish/v1/SessionService/Sessions)
	PostRedfishV1SessionServiceSessions(c *gin.Context)

	// (DELETE /redfish/v1/SessionService/Sessions/{SessionId})
	DeleteRedfishV1SessionServiceSessionsSessionId(c *gin.Context, sessionId string)

	// (GET /redfish/v1/SessionService/Sessions/{SessionId})
	GetRedfishV1SessionServiceSessionsSessionId(c *gin.Context, sessionId string)

	// (GET /redfish/v1/Systems)
	GetRedfishV1Systems(c *gin.Context)

	// (GET /redfish/v1/Systems/{ComputerSystemId})
	GetRedfishV1SystemsComputerSystemId(c *gin.Context, computerSystemId string)

	// (PATCH /redfish/v1/Systems/{ComputerSystemId})
	PatchRedfishV1SystemsComputerSystemId(c *gin.Context, computerSystemId string)

	// (POST /redfish/v1/Systems/{ComputerSystemId}/Actions/ComputerSystem.Reset)
	PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset(c *gin.Context, computerSystemId string)

	// (GET /redfish/v1/odata)
	GetRedfishV1Odata(c *gin.Context)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteRedfishV1SessionServiceSessionsSessionId

func (siw *ServerInterfaceWrapper) DeleteRedfishV1SessionServiceSessionsSessionId(c *gin.Context)

DeleteRedfishV1SessionServiceSessionsSessionId operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1

func (siw *ServerInterfaceWrapper) GetRedfishV1(c *gin.Context)

GetRedfishV1 operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1Metadata

func (siw *ServerInterfaceWrapper) GetRedfishV1Metadata(c *gin.Context)

GetRedfishV1Metadata operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1Odata

func (siw *ServerInterfaceWrapper) GetRedfishV1Odata(c *gin.Context)

GetRedfishV1Odata operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1SessionService

func (siw *ServerInterfaceWrapper) GetRedfishV1SessionService(c *gin.Context)

GetRedfishV1SessionService operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1SessionServiceSessions

func (siw *ServerInterfaceWrapper) GetRedfishV1SessionServiceSessions(c *gin.Context)

GetRedfishV1SessionServiceSessions operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1SessionServiceSessionsSessionId

func (siw *ServerInterfaceWrapper) GetRedfishV1SessionServiceSessionsSessionId(c *gin.Context)

GetRedfishV1SessionServiceSessionsSessionId operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1Systems

func (siw *ServerInterfaceWrapper) GetRedfishV1Systems(c *gin.Context)

GetRedfishV1Systems operation middleware

func (*ServerInterfaceWrapper) GetRedfishV1SystemsComputerSystemId

func (siw *ServerInterfaceWrapper) GetRedfishV1SystemsComputerSystemId(c *gin.Context)

GetRedfishV1SystemsComputerSystemId operation middleware

func (*ServerInterfaceWrapper) PatchRedfishV1SessionService

func (siw *ServerInterfaceWrapper) PatchRedfishV1SessionService(c *gin.Context)

PatchRedfishV1SessionService operation middleware

func (*ServerInterfaceWrapper) PatchRedfishV1SystemsComputerSystemId

func (siw *ServerInterfaceWrapper) PatchRedfishV1SystemsComputerSystemId(c *gin.Context)

PatchRedfishV1SystemsComputerSystemId operation middleware

func (*ServerInterfaceWrapper) PostRedfishV1SessionServiceSessions

func (siw *ServerInterfaceWrapper) PostRedfishV1SessionServiceSessions(c *gin.Context)

PostRedfishV1SessionServiceSessions operation middleware

func (*ServerInterfaceWrapper) PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset

func (siw *ServerInterfaceWrapper) PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset(c *gin.Context)

PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset operation middleware

func (*ServerInterfaceWrapper) PutRedfishV1SessionService

func (siw *ServerInterfaceWrapper) PutRedfishV1SessionService(c *gin.Context)

PutRedfishV1SessionService operation middleware

type ServiceRootLinks = map[string]interface{}

ServiceRootLinks The links to other resources that are related to this resource.

type ServiceRootServiceRoot

type ServiceRootServiceRoot struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType   *OdataV4Type                        `json:"@odata.type,omitempty"`
	Description *ServiceRootServiceRoot_Description `json:"Description,omitempty"`

	// Id The unique identifier for this resource within the collection of similar resources.
	Id ResourceId `json:"Id"`

	// Links The links to other resources that are related to this resource.
	Links *ServiceRootLinks `json:"Links,omitempty"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// Product The product associated with this Redfish service.
	Product *string `json:"Product"`

	// RedfishVersion The version of the Redfish service.
	RedfishVersion *string `json:"RedfishVersion,omitempty"`

	// Systems A reference to a resource.
	Systems *OdataV4IdRef `json:"Systems,omitempty"`

	// UUID Unique identifier for a service instance.  When SSDP is used, this value contains the same UUID returned in an HTTP `200 OK` response from an SSDP `M-SEARCH` request during discovery.
	UUID *string `json:"UUID"`

	// Vendor The vendor or manufacturer associated with this Redfish service.
	Vendor *string `json:"Vendor"`
}

ServiceRootServiceRoot The `ServiceRoot` schema describes the root of the Redfish service, located at the '/redfish/v1' URI. All other resources accessible through the Redfish interface on this device are linked directly or indirectly from the service root.

type ServiceRootServiceRootDescription1

type ServiceRootServiceRootDescription1 = interface{}

ServiceRootServiceRootDescription1 defines model for .

type ServiceRootServiceRoot_Description

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

ServiceRootServiceRoot_Description defines model for ServiceRootServiceRoot.Description.

func (ServiceRootServiceRoot_Description) AsResourceDescription

func (t ServiceRootServiceRoot_Description) AsResourceDescription() (ResourceDescription, error)

AsResourceDescription returns the union data inside the ServiceRootServiceRoot_Description as a ResourceDescription

func (ServiceRootServiceRoot_Description) AsServiceRootServiceRootDescription1

func (t ServiceRootServiceRoot_Description) AsServiceRootServiceRootDescription1() (ServiceRootServiceRootDescription1, error)

AsServiceRootServiceRootDescription1 returns the union data inside the ServiceRootServiceRoot_Description as a ServiceRootServiceRootDescription1

func (*ServiceRootServiceRoot_Description) FromResourceDescription

func (t *ServiceRootServiceRoot_Description) FromResourceDescription(v ResourceDescription) error

FromResourceDescription overwrites any union data inside the ServiceRootServiceRoot_Description as the provided ResourceDescription

func (*ServiceRootServiceRoot_Description) FromServiceRootServiceRootDescription1

func (t *ServiceRootServiceRoot_Description) FromServiceRootServiceRootDescription1(v ServiceRootServiceRootDescription1) error

FromServiceRootServiceRootDescription1 overwrites any union data inside the ServiceRootServiceRoot_Description as the provided ServiceRootServiceRootDescription1

func (ServiceRootServiceRoot_Description) MarshalJSON

func (t ServiceRootServiceRoot_Description) MarshalJSON() ([]byte, error)

func (*ServiceRootServiceRoot_Description) MergeResourceDescription

func (t *ServiceRootServiceRoot_Description) MergeResourceDescription(v ResourceDescription) error

MergeResourceDescription performs a merge with any union data inside the ServiceRootServiceRoot_Description, using the provided ResourceDescription

func (*ServiceRootServiceRoot_Description) MergeServiceRootServiceRootDescription1

func (t *ServiceRootServiceRoot_Description) MergeServiceRootServiceRootDescription1(v ServiceRootServiceRootDescription1) error

MergeServiceRootServiceRootDescription1 performs a merge with any union data inside the ServiceRootServiceRoot_Description, using the provided ServiceRootServiceRootDescription1

func (*ServiceRootServiceRoot_Description) UnmarshalJSON

func (t *ServiceRootServiceRoot_Description) UnmarshalJSON(b []byte) error

type SessionActions

type SessionActions = map[string]interface{}

SessionActions The available actions for this resource.

type SessionCollectionSessionCollection

type SessionCollectionSessionCollection struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataEtag The current ETag of the resource.
	OdataEtag *OdataV4Etag `json:"@odata.etag,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType   *OdataV4Type                                    `json:"@odata.type,omitempty"`
	Description *SessionCollectionSessionCollection_Description `json:"Description,omitempty"`

	// Members The members of this collection.
	Members *[]OdataV4IdRef `json:"Members,omitempty"`

	// MembersOdataCount The number of items in a collection.
	MembersOdataCount *OdataV4Count `json:"Members@odata.count,omitempty"`

	// MembersOdataNextLink The URI to the resource containing the next set of partial members.
	MembersOdataNextLink *OdataV4NextLink `json:"Members@odata.nextLink,omitempty"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// Oem The OEM extension.
	Oem *ResourceOem `json:"Oem,omitempty"`
}

SessionCollectionSessionCollection The collection of `Session` resource instances.

type SessionCollectionSessionCollectionDescription1

type SessionCollectionSessionCollectionDescription1 = interface{}

SessionCollectionSessionCollectionDescription1 defines model for .

type SessionCollectionSessionCollection_Description

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

SessionCollectionSessionCollection_Description defines model for SessionCollectionSessionCollection.Description.

func (SessionCollectionSessionCollection_Description) AsResourceDescription

AsResourceDescription returns the union data inside the SessionCollectionSessionCollection_Description as a ResourceDescription

func (SessionCollectionSessionCollection_Description) AsSessionCollectionSessionCollectionDescription1

func (t SessionCollectionSessionCollection_Description) AsSessionCollectionSessionCollectionDescription1() (SessionCollectionSessionCollectionDescription1, error)

AsSessionCollectionSessionCollectionDescription1 returns the union data inside the SessionCollectionSessionCollection_Description as a SessionCollectionSessionCollectionDescription1

func (*SessionCollectionSessionCollection_Description) FromResourceDescription

FromResourceDescription overwrites any union data inside the SessionCollectionSessionCollection_Description as the provided ResourceDescription

func (*SessionCollectionSessionCollection_Description) FromSessionCollectionSessionCollectionDescription1

func (t *SessionCollectionSessionCollection_Description) FromSessionCollectionSessionCollectionDescription1(v SessionCollectionSessionCollectionDescription1) error

FromSessionCollectionSessionCollectionDescription1 overwrites any union data inside the SessionCollectionSessionCollection_Description as the provided SessionCollectionSessionCollectionDescription1

func (SessionCollectionSessionCollection_Description) MarshalJSON

func (*SessionCollectionSessionCollection_Description) MergeResourceDescription

MergeResourceDescription performs a merge with any union data inside the SessionCollectionSessionCollection_Description, using the provided ResourceDescription

func (*SessionCollectionSessionCollection_Description) MergeSessionCollectionSessionCollectionDescription1

func (t *SessionCollectionSessionCollection_Description) MergeSessionCollectionSessionCollectionDescription1(v SessionCollectionSessionCollectionDescription1) error

MergeSessionCollectionSessionCollectionDescription1 performs a merge with any union data inside the SessionCollectionSessionCollection_Description, using the provided SessionCollectionSessionCollectionDescription1

func (*SessionCollectionSessionCollection_Description) UnmarshalJSON

type SessionLinks struct {
	// OutboundConnection A reference to a resource.
	OutboundConnection *OdataV4IdRef `json:"OutboundConnection,omitempty"`
}

SessionLinks The links to other resources that are related to this resource.

type SessionServiceActions

type SessionServiceActions = map[string]interface{}

SessionServiceActions The available actions for this resource.

type SessionServiceSessionService

type SessionServiceSessionService struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataEtag The current ETag of the resource.
	OdataEtag *OdataV4Etag `json:"@odata.etag,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType *OdataV4Type `json:"@odata.type,omitempty"`

	// AbsoluteSessionTimeout The maximum number of seconds that a session is open before the service closes the session regardless of activity.
	AbsoluteSessionTimeout *int64 `json:"AbsoluteSessionTimeout,omitempty"`

	// AbsoluteSessionTimeoutEnabled An indication of whether an absolute session timeout is applied to sessions.
	AbsoluteSessionTimeoutEnabled *bool `json:"AbsoluteSessionTimeoutEnabled,omitempty"`

	// Actions The available actions for this resource.
	Actions     *SessionServiceActions                    `json:"Actions,omitempty"`
	Description *SessionServiceSessionService_Description `json:"Description,omitempty"`

	// Id The unique identifier for this resource within the collection of similar resources.
	Id ResourceId `json:"Id"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// ServiceEnabled An indication of whether this service is enabled.  If `true`, this service is enabled.  If `false`, it is disabled, and new sessions cannot be created, old sessions cannot be deleted, and established sessions can continue operating.
	ServiceEnabled *bool `json:"ServiceEnabled"`

	// SessionTimeout The number of seconds of inactivity that a session can have before the session service closes the session due to inactivity.
	SessionTimeout *int64 `json:"SessionTimeout,omitempty"`

	// Sessions A reference to a resource.
	Sessions *OdataV4IdRef `json:"Sessions,omitempty"`

	// Status The status and health of a resource and its children.
	Status *ResourceStatus `json:"Status,omitempty"`
}

SessionServiceSessionService The `SessionService` schema describes the session service and its properties, with links to the actual list of sessions.

type SessionServiceSessionServiceDescription1

type SessionServiceSessionServiceDescription1 = interface{}

SessionServiceSessionServiceDescription1 defines model for .

type SessionServiceSessionService_Description

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

SessionServiceSessionService_Description defines model for SessionServiceSessionService.Description.

func (SessionServiceSessionService_Description) AsResourceDescription

AsResourceDescription returns the union data inside the SessionServiceSessionService_Description as a ResourceDescription

func (SessionServiceSessionService_Description) AsSessionServiceSessionServiceDescription1

func (t SessionServiceSessionService_Description) AsSessionServiceSessionServiceDescription1() (SessionServiceSessionServiceDescription1, error)

AsSessionServiceSessionServiceDescription1 returns the union data inside the SessionServiceSessionService_Description as a SessionServiceSessionServiceDescription1

func (*SessionServiceSessionService_Description) FromResourceDescription

FromResourceDescription overwrites any union data inside the SessionServiceSessionService_Description as the provided ResourceDescription

func (*SessionServiceSessionService_Description) FromSessionServiceSessionServiceDescription1

func (t *SessionServiceSessionService_Description) FromSessionServiceSessionServiceDescription1(v SessionServiceSessionServiceDescription1) error

FromSessionServiceSessionServiceDescription1 overwrites any union data inside the SessionServiceSessionService_Description as the provided SessionServiceSessionServiceDescription1

func (SessionServiceSessionService_Description) MarshalJSON

func (*SessionServiceSessionService_Description) MergeResourceDescription

MergeResourceDescription performs a merge with any union data inside the SessionServiceSessionService_Description, using the provided ResourceDescription

func (*SessionServiceSessionService_Description) MergeSessionServiceSessionServiceDescription1

func (t *SessionServiceSessionService_Description) MergeSessionServiceSessionServiceDescription1(v SessionServiceSessionServiceDescription1) error

MergeSessionServiceSessionServiceDescription1 performs a merge with any union data inside the SessionServiceSessionService_Description, using the provided SessionServiceSessionServiceDescription1

func (*SessionServiceSessionService_Description) UnmarshalJSON

func (t *SessionServiceSessionService_Description) UnmarshalJSON(b []byte) error

type SessionSession

type SessionSession struct {
	// OdataContext The OData description of a payload.
	OdataContext *OdataV4Context `json:"@odata.context,omitempty"`

	// OdataEtag The current ETag of the resource.
	OdataEtag *OdataV4Etag `json:"@odata.etag,omitempty"`

	// OdataId The unique identifier for a resource.
	OdataId *OdataV4Id `json:"@odata.id,omitempty"`

	// OdataType The type of a resource.
	OdataType *OdataV4Type `json:"@odata.type,omitempty"`

	// Actions The available actions for this resource.
	Actions *SessionActions `json:"Actions,omitempty"`

	// ClientOriginIPAddress The IP address of the client that created the session.
	ClientOriginIPAddress *string `json:"ClientOriginIPAddress"`

	// Context A client-supplied string that is stored with the session.
	Context *string `json:"Context"`

	// CreatedTime The date and time when the session was created.
	CreatedTime *time.Time                  `json:"CreatedTime"`
	Description *SessionSession_Description `json:"Description,omitempty"`

	// ExpirationTime The date and time when the session expires regardless of session activity.
	ExpirationTime *time.Time `json:"ExpirationTime,omitempty"`

	// Id The unique identifier for this resource within the collection of similar resources.
	Id ResourceId `json:"Id"`

	// Links The links to other resources that are related to this resource.
	Links *SessionLinks `json:"Links,omitempty"`

	// Name The name of the resource or array member.
	Name ResourceName `json:"Name"`

	// Password The password for this session.  The value is `null` in responses.
	Password *string `json:"Password"`

	// Roles The Redfish roles that contain the privileges of this session.
	Roles *[]string `json:"Roles,omitempty"`

	// SessionType The active session type.
	SessionType *SessionSession_SessionType `json:"SessionType,omitempty"`

	// Token The multi-factor authentication token for this session.  The value is `null` in responses.
	Token *string `json:"Token"`

	// UserName The username for the account for this session.
	UserName *string `json:"UserName"`
}

SessionSession The `Session` resource describes a single connection (session) between a client and a Redfish service instance.

type SessionSessionDescription1

type SessionSessionDescription1 = interface{}

SessionSessionDescription1 defines model for .

type SessionSessionSessionType1

type SessionSessionSessionType1 = interface{}

SessionSessionSessionType1 defines model for .

type SessionSessionTypes

type SessionSessionTypes string

SessionSessionTypes defines model for Session_SessionTypes.

const (
	HostConsole        SessionSessionTypes = "HostConsole"
	IPMI               SessionSessionTypes = "IPMI"
	KVMIP              SessionSessionTypes = "KVMIP"
	ManagerConsole     SessionSessionTypes = "ManagerConsole"
	OEM                SessionSessionTypes = "OEM"
	OutboundConnection SessionSessionTypes = "OutboundConnection"
	Redfish            SessionSessionTypes = "Redfish"
	VirtualMedia       SessionSessionTypes = "VirtualMedia"
	WebUI              SessionSessionTypes = "WebUI"
)

Defines values for SessionSessionTypes.

type SessionSession_Description

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

SessionSession_Description defines model for SessionSession.Description.

func (SessionSession_Description) AsResourceDescription

func (t SessionSession_Description) AsResourceDescription() (ResourceDescription, error)

AsResourceDescription returns the union data inside the SessionSession_Description as a ResourceDescription

func (SessionSession_Description) AsSessionSessionDescription1

func (t SessionSession_Description) AsSessionSessionDescription1() (SessionSessionDescription1, error)

AsSessionSessionDescription1 returns the union data inside the SessionSession_Description as a SessionSessionDescription1

func (*SessionSession_Description) FromResourceDescription

func (t *SessionSession_Description) FromResourceDescription(v ResourceDescription) error

FromResourceDescription overwrites any union data inside the SessionSession_Description as the provided ResourceDescription

func (*SessionSession_Description) FromSessionSessionDescription1

func (t *SessionSession_Description) FromSessionSessionDescription1(v SessionSessionDescription1) error

FromSessionSessionDescription1 overwrites any union data inside the SessionSession_Description as the provided SessionSessionDescription1

func (SessionSession_Description) MarshalJSON

func (t SessionSession_Description) MarshalJSON() ([]byte, error)

func (*SessionSession_Description) MergeResourceDescription

func (t *SessionSession_Description) MergeResourceDescription(v ResourceDescription) error

MergeResourceDescription performs a merge with any union data inside the SessionSession_Description, using the provided ResourceDescription

func (*SessionSession_Description) MergeSessionSessionDescription1

func (t *SessionSession_Description) MergeSessionSessionDescription1(v SessionSessionDescription1) error

MergeSessionSessionDescription1 performs a merge with any union data inside the SessionSession_Description, using the provided SessionSessionDescription1

func (*SessionSession_Description) UnmarshalJSON

func (t *SessionSession_Description) UnmarshalJSON(b []byte) error

type SessionSession_SessionType

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

SessionSession_SessionType The active session type.

func (SessionSession_SessionType) AsSessionSessionSessionType1

func (t SessionSession_SessionType) AsSessionSessionSessionType1() (SessionSessionSessionType1, error)

AsSessionSessionSessionType1 returns the union data inside the SessionSession_SessionType as a SessionSessionSessionType1

func (SessionSession_SessionType) AsSessionSessionTypes

func (t SessionSession_SessionType) AsSessionSessionTypes() (SessionSessionTypes, error)

AsSessionSessionTypes returns the union data inside the SessionSession_SessionType as a SessionSessionTypes

func (*SessionSession_SessionType) FromSessionSessionSessionType1

func (t *SessionSession_SessionType) FromSessionSessionSessionType1(v SessionSessionSessionType1) error

FromSessionSessionSessionType1 overwrites any union data inside the SessionSession_SessionType as the provided SessionSessionSessionType1

func (*SessionSession_SessionType) FromSessionSessionTypes

func (t *SessionSession_SessionType) FromSessionSessionTypes(v SessionSessionTypes) error

FromSessionSessionTypes overwrites any union data inside the SessionSession_SessionType as the provided SessionSessionTypes

func (SessionSession_SessionType) MarshalJSON

func (t SessionSession_SessionType) MarshalJSON() ([]byte, error)

func (*SessionSession_SessionType) MergeSessionSessionSessionType1

func (t *SessionSession_SessionType) MergeSessionSessionSessionType1(v SessionSessionSessionType1) error

MergeSessionSessionSessionType1 performs a merge with any union data inside the SessionSession_SessionType, using the provided SessionSessionSessionType1

func (*SessionSession_SessionType) MergeSessionSessionTypes

func (t *SessionSession_SessionType) MergeSessionSessionTypes(v SessionSessionTypes) error

MergeSessionSessionTypes performs a merge with any union data inside the SessionSession_SessionType, using the provided SessionSessionTypes

func (*SessionSession_SessionType) UnmarshalJSON

func (t *SessionSession_SessionType) UnmarshalJSON(b []byte) error

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {

	// (GET /redfish/v1/)
	GetRedfishV1(ctx context.Context, request GetRedfishV1RequestObject) (GetRedfishV1ResponseObject, error)

	// (GET /redfish/v1/$metadata)
	GetRedfishV1Metadata(ctx context.Context, request GetRedfishV1MetadataRequestObject) (GetRedfishV1MetadataResponseObject, error)

	// (GET /redfish/v1/SessionService)
	GetRedfishV1SessionService(ctx context.Context, request GetRedfishV1SessionServiceRequestObject) (GetRedfishV1SessionServiceResponseObject, error)

	// (PATCH /redfish/v1/SessionService)
	PatchRedfishV1SessionService(ctx context.Context, request PatchRedfishV1SessionServiceRequestObject) (PatchRedfishV1SessionServiceResponseObject, error)

	// (PUT /redfish/v1/SessionService)
	PutRedfishV1SessionService(ctx context.Context, request PutRedfishV1SessionServiceRequestObject) (PutRedfishV1SessionServiceResponseObject, error)

	// (GET /redfish/v1/SessionService/Sessions)
	GetRedfishV1SessionServiceSessions(ctx context.Context, request GetRedfishV1SessionServiceSessionsRequestObject) (GetRedfishV1SessionServiceSessionsResponseObject, error)

	// (POST /redfish/v1/SessionService/Sessions)
	PostRedfishV1SessionServiceSessions(ctx context.Context, request PostRedfishV1SessionServiceSessionsRequestObject) (PostRedfishV1SessionServiceSessionsResponseObject, error)

	// (DELETE /redfish/v1/SessionService/Sessions/{SessionId})
	DeleteRedfishV1SessionServiceSessionsSessionId(ctx context.Context, request DeleteRedfishV1SessionServiceSessionsSessionIdRequestObject) (DeleteRedfishV1SessionServiceSessionsSessionIdResponseObject, error)

	// (GET /redfish/v1/SessionService/Sessions/{SessionId})
	GetRedfishV1SessionServiceSessionsSessionId(ctx context.Context, request GetRedfishV1SessionServiceSessionsSessionIdRequestObject) (GetRedfishV1SessionServiceSessionsSessionIdResponseObject, error)

	// (GET /redfish/v1/Systems)
	GetRedfishV1Systems(ctx context.Context, request GetRedfishV1SystemsRequestObject) (GetRedfishV1SystemsResponseObject, error)

	// (GET /redfish/v1/Systems/{ComputerSystemId})
	GetRedfishV1SystemsComputerSystemId(ctx context.Context, request GetRedfishV1SystemsComputerSystemIdRequestObject) (GetRedfishV1SystemsComputerSystemIdResponseObject, error)

	// (PATCH /redfish/v1/Systems/{ComputerSystemId})
	PatchRedfishV1SystemsComputerSystemId(ctx context.Context, request PatchRedfishV1SystemsComputerSystemIdRequestObject) (PatchRedfishV1SystemsComputerSystemIdResponseObject, error)

	// (POST /redfish/v1/Systems/{ComputerSystemId}/Actions/ComputerSystem.Reset)
	PostRedfishV1SystemsComputerSystemIdActionsComputerSystemReset(ctx context.Context, request PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetRequestObject) (PostRedfishV1SystemsComputerSystemIdActionsComputerSystemResetResponseObject, error)

	// (GET /redfish/v1/odata)
	GetRedfishV1Odata(ctx context.Context, request GetRedfishV1OdataRequestObject) (GetRedfishV1OdataResponseObject, error)
}

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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