go-redfish/client/model_power_state.go
Dmitry Ukov db034d1d75 Wrap On/Off values with quotes
OpenApi Generator conceders On/Off values in spec as boolean. Therefore
we need to specify On/Off values as strings explicitly to avoid
conversion to bool

Change-Id: I011c3f11aa6dc2fefe5d4a1333b0f7b7aceff6d6
2020-03-18 14:37:38 +04:00

21 lines
471 B
Go

/*
* Redfish OAPI specification
*
* Partial Redfish OAPI specification for a limited client
*
* API version: 0.0.1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package client
// PowerState the model 'PowerState'
type PowerState string
// List of PowerState
const (
POWERSTATE_ON PowerState = "On"
POWERSTATE_OFF PowerState = "Off"
POWERSTATE_POWERING_ON PowerState = "PoweringOn"
POWERSTATE_POWERING_OFF PowerState = "PoweringOff"
)