func GetPower(c common.Client, uri string) (*Power, error) {
	resp, err := c.Get(uri)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()
	var power Power
	err = json.NewDecoder(resp.Body).Decode(&power)
	if err != nil {
		return nil, err
	}
	power.SetClient(c)
	return &power, nil
}
GetPower will get a Power instance from the service.
package redfish
import (
	"encoding/json"
	"reflect"
	"strconv"
	"github.com/stmcginnis/gofish/common"
)
type InputType string
const (
	ACInputType InputType = "AC"
	DCInputType InputType = "DC"
)
type LineInputVoltageType string
const (
	UnknownLineInputVoltageType LineInputVoltageType = "Unknown"
	ACLowLineLineInputVoltageType LineInputVoltageType = "ACLowLine"
	ACMidLineLineInputVoltageType LineInputVoltageType = "ACMidLine"
	ACHighLineLineInputVoltageType LineInputVoltageType = "ACHighLine"
	DCNeg48VLineInputVoltageType LineInputVoltageType = "DCNeg48V"
	DC380VLineInputVoltageType LineInputVoltageType = "DC380V"
	AC120VLineInputVoltageType LineInputVoltageType = "AC120V"
	AC240VLineInputVoltageType LineInputVoltageType = "AC240V"
	AC277VLineInputVoltageType LineInputVoltageType = "AC277V"
	ACandDCWideRangeLineInputVoltageType LineInputVoltageType = "ACandDCWideRange"
	ACWideRangeLineInputVoltageType LineInputVoltageType = "ACWideRange"
	DC240VLineInputVoltageType LineInputVoltageType = "DC240V"
)
type PowerLimitException string
const (
	NoActionPowerLimitException PowerLimitException = "NoAction"
	HardPowerOffPowerLimitException PowerLimitException = "HardPowerOff"
	LogEventOnlyPowerLimitException PowerLimitException = "LogEventOnly"
	OemPowerLimitException PowerLimitException = "Oem"
)
type PowerSupplyType string
const (
	UnknownPowerSupplyType PowerSupplyType = "Unknown"
	ACPowerSupplyType PowerSupplyType = "AC"
	DCPowerSupplyType PowerSupplyType = "DC"
	ACorDCPowerSupplyType PowerSupplyType = "ACorDC"
)
type InputRange struct {
	InputType InputType
	MaximumFrequencyHz float32
	MaximumVoltage float32
	MinimumFrequencyHz float32
	MinimumVoltage float32
	OutputWattage float32
}
type Power struct {
	common.Entity
	ODataContext string `json:"@odata.context"`
	ODataType string `json:"@odata.type"`
	Description string
	IndicatorLED common.IndicatorLED
	PowerControl []PowerControl
	PowerControlCount int `json:"PowerControl@odata.count"`
	PowerSupplies []PowerSupply
	PowerSuppliesCount int `json:"PowerSupplies@odata.count"`
	Redundancy []Redundancy
	RedundancyCount int `json:"Redundancy@odata.count"`
	Voltages []Voltage
	VoltagesCount int `json:"Voltages@odata.count"`
}