Skip to content

Latest commit

 

History

History
550 lines (297 loc) · 15.2 KB

SystemInsightsBattery.md

File metadata and controls

550 lines (297 loc) · 15.2 KB

SystemInsightsBattery

Properties

Name Type Description Notes
Amperage Pointer to int32 [optional]
Charged Pointer to int32 [optional]
Charging Pointer to int32 [optional]
CollectionTime Pointer to string [optional]
Condition Pointer to string [optional]
CurrentCapacity Pointer to int32 [optional]
CycleCount Pointer to int32 [optional]
DesignedCapacity Pointer to int32 [optional]
Health Pointer to string [optional]
ManufactureDate Pointer to int32 [optional]
Manufacturer Pointer to string [optional]
MaxCapacity Pointer to int32 [optional]
MinutesToFullCharge Pointer to int32 [optional]
MinutesUntilEmpty Pointer to int32 [optional]
Model Pointer to string [optional]
PercentRemaining Pointer to int32 [optional]
SerialNumber Pointer to string [optional]
State Pointer to string [optional]
SystemId Pointer to string [optional]
Voltage Pointer to int32 [optional]

Methods

NewSystemInsightsBattery

func NewSystemInsightsBattery() *SystemInsightsBattery

NewSystemInsightsBattery instantiates a new SystemInsightsBattery object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSystemInsightsBatteryWithDefaults

func NewSystemInsightsBatteryWithDefaults() *SystemInsightsBattery

NewSystemInsightsBatteryWithDefaults instantiates a new SystemInsightsBattery object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAmperage

func (o *SystemInsightsBattery) GetAmperage() int32

GetAmperage returns the Amperage field if non-nil, zero value otherwise.

GetAmperageOk

func (o *SystemInsightsBattery) GetAmperageOk() (*int32, bool)

GetAmperageOk returns a tuple with the Amperage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAmperage

func (o *SystemInsightsBattery) SetAmperage(v int32)

SetAmperage sets Amperage field to given value.

HasAmperage

func (o *SystemInsightsBattery) HasAmperage() bool

HasAmperage returns a boolean if a field has been set.

GetCharged

func (o *SystemInsightsBattery) GetCharged() int32

GetCharged returns the Charged field if non-nil, zero value otherwise.

GetChargedOk

func (o *SystemInsightsBattery) GetChargedOk() (*int32, bool)

GetChargedOk returns a tuple with the Charged field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCharged

func (o *SystemInsightsBattery) SetCharged(v int32)

SetCharged sets Charged field to given value.

HasCharged

func (o *SystemInsightsBattery) HasCharged() bool

HasCharged returns a boolean if a field has been set.

GetCharging

func (o *SystemInsightsBattery) GetCharging() int32

GetCharging returns the Charging field if non-nil, zero value otherwise.

GetChargingOk

func (o *SystemInsightsBattery) GetChargingOk() (*int32, bool)

GetChargingOk returns a tuple with the Charging field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCharging

func (o *SystemInsightsBattery) SetCharging(v int32)

SetCharging sets Charging field to given value.

HasCharging

func (o *SystemInsightsBattery) HasCharging() bool

HasCharging returns a boolean if a field has been set.

GetCollectionTime

func (o *SystemInsightsBattery) GetCollectionTime() string

GetCollectionTime returns the CollectionTime field if non-nil, zero value otherwise.

GetCollectionTimeOk

func (o *SystemInsightsBattery) GetCollectionTimeOk() (*string, bool)

GetCollectionTimeOk returns a tuple with the CollectionTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCollectionTime

func (o *SystemInsightsBattery) SetCollectionTime(v string)

SetCollectionTime sets CollectionTime field to given value.

HasCollectionTime

func (o *SystemInsightsBattery) HasCollectionTime() bool

HasCollectionTime returns a boolean if a field has been set.

GetCondition

func (o *SystemInsightsBattery) GetCondition() string

GetCondition returns the Condition field if non-nil, zero value otherwise.

GetConditionOk

func (o *SystemInsightsBattery) GetConditionOk() (*string, bool)

GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCondition

func (o *SystemInsightsBattery) SetCondition(v string)

SetCondition sets Condition field to given value.

HasCondition

func (o *SystemInsightsBattery) HasCondition() bool

HasCondition returns a boolean if a field has been set.

GetCurrentCapacity

func (o *SystemInsightsBattery) GetCurrentCapacity() int32

GetCurrentCapacity returns the CurrentCapacity field if non-nil, zero value otherwise.

GetCurrentCapacityOk

func (o *SystemInsightsBattery) GetCurrentCapacityOk() (*int32, bool)

GetCurrentCapacityOk returns a tuple with the CurrentCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrentCapacity

func (o *SystemInsightsBattery) SetCurrentCapacity(v int32)

SetCurrentCapacity sets CurrentCapacity field to given value.

HasCurrentCapacity

func (o *SystemInsightsBattery) HasCurrentCapacity() bool

HasCurrentCapacity returns a boolean if a field has been set.

GetCycleCount

func (o *SystemInsightsBattery) GetCycleCount() int32

GetCycleCount returns the CycleCount field if non-nil, zero value otherwise.

GetCycleCountOk

func (o *SystemInsightsBattery) GetCycleCountOk() (*int32, bool)

GetCycleCountOk returns a tuple with the CycleCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCycleCount

func (o *SystemInsightsBattery) SetCycleCount(v int32)

SetCycleCount sets CycleCount field to given value.

HasCycleCount

func (o *SystemInsightsBattery) HasCycleCount() bool

HasCycleCount returns a boolean if a field has been set.

GetDesignedCapacity

func (o *SystemInsightsBattery) GetDesignedCapacity() int32

GetDesignedCapacity returns the DesignedCapacity field if non-nil, zero value otherwise.

GetDesignedCapacityOk

func (o *SystemInsightsBattery) GetDesignedCapacityOk() (*int32, bool)

GetDesignedCapacityOk returns a tuple with the DesignedCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDesignedCapacity

func (o *SystemInsightsBattery) SetDesignedCapacity(v int32)

SetDesignedCapacity sets DesignedCapacity field to given value.

HasDesignedCapacity

func (o *SystemInsightsBattery) HasDesignedCapacity() bool

HasDesignedCapacity returns a boolean if a field has been set.

GetHealth

func (o *SystemInsightsBattery) GetHealth() string

GetHealth returns the Health field if non-nil, zero value otherwise.

GetHealthOk

func (o *SystemInsightsBattery) GetHealthOk() (*string, bool)

GetHealthOk returns a tuple with the Health field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHealth

func (o *SystemInsightsBattery) SetHealth(v string)

SetHealth sets Health field to given value.

HasHealth

func (o *SystemInsightsBattery) HasHealth() bool

HasHealth returns a boolean if a field has been set.

GetManufactureDate

func (o *SystemInsightsBattery) GetManufactureDate() int32

GetManufactureDate returns the ManufactureDate field if non-nil, zero value otherwise.

GetManufactureDateOk

func (o *SystemInsightsBattery) GetManufactureDateOk() (*int32, bool)

GetManufactureDateOk returns a tuple with the ManufactureDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetManufactureDate

func (o *SystemInsightsBattery) SetManufactureDate(v int32)

SetManufactureDate sets ManufactureDate field to given value.

HasManufactureDate

func (o *SystemInsightsBattery) HasManufactureDate() bool

HasManufactureDate returns a boolean if a field has been set.

GetManufacturer

func (o *SystemInsightsBattery) GetManufacturer() string

GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.

GetManufacturerOk

func (o *SystemInsightsBattery) GetManufacturerOk() (*string, bool)

GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetManufacturer

func (o *SystemInsightsBattery) SetManufacturer(v string)

SetManufacturer sets Manufacturer field to given value.

HasManufacturer

func (o *SystemInsightsBattery) HasManufacturer() bool

HasManufacturer returns a boolean if a field has been set.

GetMaxCapacity

func (o *SystemInsightsBattery) GetMaxCapacity() int32

GetMaxCapacity returns the MaxCapacity field if non-nil, zero value otherwise.

GetMaxCapacityOk

func (o *SystemInsightsBattery) GetMaxCapacityOk() (*int32, bool)

GetMaxCapacityOk returns a tuple with the MaxCapacity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxCapacity

func (o *SystemInsightsBattery) SetMaxCapacity(v int32)

SetMaxCapacity sets MaxCapacity field to given value.

HasMaxCapacity

func (o *SystemInsightsBattery) HasMaxCapacity() bool

HasMaxCapacity returns a boolean if a field has been set.

GetMinutesToFullCharge

func (o *SystemInsightsBattery) GetMinutesToFullCharge() int32

GetMinutesToFullCharge returns the MinutesToFullCharge field if non-nil, zero value otherwise.

GetMinutesToFullChargeOk

func (o *SystemInsightsBattery) GetMinutesToFullChargeOk() (*int32, bool)

GetMinutesToFullChargeOk returns a tuple with the MinutesToFullCharge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinutesToFullCharge

func (o *SystemInsightsBattery) SetMinutesToFullCharge(v int32)

SetMinutesToFullCharge sets MinutesToFullCharge field to given value.

HasMinutesToFullCharge

func (o *SystemInsightsBattery) HasMinutesToFullCharge() bool

HasMinutesToFullCharge returns a boolean if a field has been set.

GetMinutesUntilEmpty

func (o *SystemInsightsBattery) GetMinutesUntilEmpty() int32

GetMinutesUntilEmpty returns the MinutesUntilEmpty field if non-nil, zero value otherwise.

GetMinutesUntilEmptyOk

func (o *SystemInsightsBattery) GetMinutesUntilEmptyOk() (*int32, bool)

GetMinutesUntilEmptyOk returns a tuple with the MinutesUntilEmpty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinutesUntilEmpty

func (o *SystemInsightsBattery) SetMinutesUntilEmpty(v int32)

SetMinutesUntilEmpty sets MinutesUntilEmpty field to given value.

HasMinutesUntilEmpty

func (o *SystemInsightsBattery) HasMinutesUntilEmpty() bool

HasMinutesUntilEmpty returns a boolean if a field has been set.

GetModel

func (o *SystemInsightsBattery) GetModel() string

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

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

GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModel

func (o *SystemInsightsBattery) SetModel(v string)

SetModel sets Model field to given value.

HasModel

func (o *SystemInsightsBattery) HasModel() bool

HasModel returns a boolean if a field has been set.

GetPercentRemaining

func (o *SystemInsightsBattery) GetPercentRemaining() int32

GetPercentRemaining returns the PercentRemaining field if non-nil, zero value otherwise.

GetPercentRemainingOk

func (o *SystemInsightsBattery) GetPercentRemainingOk() (*int32, bool)

GetPercentRemainingOk returns a tuple with the PercentRemaining field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPercentRemaining

func (o *SystemInsightsBattery) SetPercentRemaining(v int32)

SetPercentRemaining sets PercentRemaining field to given value.

HasPercentRemaining

func (o *SystemInsightsBattery) HasPercentRemaining() bool

HasPercentRemaining returns a boolean if a field has been set.

GetSerialNumber

func (o *SystemInsightsBattery) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field if non-nil, zero value otherwise.

GetSerialNumberOk

func (o *SystemInsightsBattery) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSerialNumber

func (o *SystemInsightsBattery) SetSerialNumber(v string)

SetSerialNumber sets SerialNumber field to given value.

HasSerialNumber

func (o *SystemInsightsBattery) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

GetState

func (o *SystemInsightsBattery) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *SystemInsightsBattery) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetState

func (o *SystemInsightsBattery) SetState(v string)

SetState sets State field to given value.

HasState

func (o *SystemInsightsBattery) HasState() bool

HasState returns a boolean if a field has been set.

GetSystemId

func (o *SystemInsightsBattery) GetSystemId() string

GetSystemId returns the SystemId field if non-nil, zero value otherwise.

GetSystemIdOk

func (o *SystemInsightsBattery) GetSystemIdOk() (*string, bool)

GetSystemIdOk returns a tuple with the SystemId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSystemId

func (o *SystemInsightsBattery) SetSystemId(v string)

SetSystemId sets SystemId field to given value.

HasSystemId

func (o *SystemInsightsBattery) HasSystemId() bool

HasSystemId returns a boolean if a field has been set.

GetVoltage

func (o *SystemInsightsBattery) GetVoltage() int32

GetVoltage returns the Voltage field if non-nil, zero value otherwise.

GetVoltageOk

func (o *SystemInsightsBattery) GetVoltageOk() (*int32, bool)

GetVoltageOk returns a tuple with the Voltage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVoltage

func (o *SystemInsightsBattery) SetVoltage(v int32)

SetVoltage sets Voltage field to given value.

HasVoltage

func (o *SystemInsightsBattery) HasVoltage() bool

HasVoltage returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]