Name | Type | Description | Notes |
---|---|---|---|
PowerPanel | Pointer to int32 | [optional] | |
Rack | Pointer to NullableInt32 | [optional] | |
Name | Pointer to string | [optional] | |
Status | Pointer to string | * `offline` - Offline * `active` - Active * `planned` - Planned * `failed` - Failed | [optional] |
Type | Pointer to string | * `primary` - Primary * `redundant` - Redundant | [optional] |
Supply | Pointer to string | * `ac` - AC * `dc` - DC | [optional] |
Phase | Pointer to string | * `single-phase` - Single phase * `three-phase` - Three-phase | [optional] |
Voltage | Pointer to int32 | [optional] | |
Amperage | Pointer to int32 | [optional] | |
MaxUtilization | Pointer to int32 | Maximum permissible draw (percentage) | [optional] |
MarkConnected | Pointer to bool | Treat as if a cable is connected | [optional] |
Description | Pointer to string | [optional] | |
Comments | Pointer to string | [optional] | |
Tags | Pointer to []NestedTagRequest | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] |
func NewPatchedWritablePowerFeedRequest() *PatchedWritablePowerFeedRequest
NewPatchedWritablePowerFeedRequest instantiates a new PatchedWritablePowerFeedRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchedWritablePowerFeedRequestWithDefaults() *PatchedWritablePowerFeedRequest
NewPatchedWritablePowerFeedRequestWithDefaults instantiates a new PatchedWritablePowerFeedRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PatchedWritablePowerFeedRequest) GetPowerPanel() int32
GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetPowerPanelOk() (*int32, bool)
GetPowerPanelOk returns a tuple with the PowerPanel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetPowerPanel(v int32)
SetPowerPanel sets PowerPanel field to given value.
func (o *PatchedWritablePowerFeedRequest) HasPowerPanel() bool
HasPowerPanel returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetRack() int32
GetRack returns the Rack field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetRackOk() (*int32, bool)
GetRackOk returns a tuple with the Rack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetRack(v int32)
SetRack sets Rack field to given value.
func (o *PatchedWritablePowerFeedRequest) HasRack() bool
HasRack returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) SetRackNil(b bool)
SetRackNil sets the value for Rack to be an explicit nil
func (o *PatchedWritablePowerFeedRequest) UnsetRack()
UnsetRack ensures that no value is present for Rack, not even an explicit nil
func (o *PatchedWritablePowerFeedRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PatchedWritablePowerFeedRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *PatchedWritablePowerFeedRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetType(v string)
SetType sets Type field to given value.
func (o *PatchedWritablePowerFeedRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetSupply() string
GetSupply returns the Supply field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetSupplyOk() (*string, bool)
GetSupplyOk returns a tuple with the Supply field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetSupply(v string)
SetSupply sets Supply field to given value.
func (o *PatchedWritablePowerFeedRequest) HasSupply() bool
HasSupply returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetPhase() string
GetPhase returns the Phase field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetPhaseOk() (*string, bool)
GetPhaseOk returns a tuple with the Phase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetPhase(v string)
SetPhase sets Phase field to given value.
func (o *PatchedWritablePowerFeedRequest) HasPhase() bool
HasPhase returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetVoltage() int32
GetVoltage returns the Voltage field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) 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.
func (o *PatchedWritablePowerFeedRequest) SetVoltage(v int32)
SetVoltage sets Voltage field to given value.
func (o *PatchedWritablePowerFeedRequest) HasVoltage() bool
HasVoltage returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetAmperage() int32
GetAmperage returns the Amperage field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) 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.
func (o *PatchedWritablePowerFeedRequest) SetAmperage(v int32)
SetAmperage sets Amperage field to given value.
func (o *PatchedWritablePowerFeedRequest) HasAmperage() bool
HasAmperage returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetMaxUtilization() int32
GetMaxUtilization returns the MaxUtilization field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetMaxUtilizationOk() (*int32, bool)
GetMaxUtilizationOk returns a tuple with the MaxUtilization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetMaxUtilization(v int32)
SetMaxUtilization sets MaxUtilization field to given value.
func (o *PatchedWritablePowerFeedRequest) HasMaxUtilization() bool
HasMaxUtilization returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetMarkConnected() bool
GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetMarkConnectedOk() (*bool, bool)
GetMarkConnectedOk returns a tuple with the MarkConnected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetMarkConnected(v bool)
SetMarkConnected sets MarkConnected field to given value.
func (o *PatchedWritablePowerFeedRequest) HasMarkConnected() bool
HasMarkConnected returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PatchedWritablePowerFeedRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *PatchedWritablePowerFeedRequest) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetTagsOk() (*[]NestedTagRequest, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *PatchedWritablePowerFeedRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *PatchedWritablePowerFeedRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *PatchedWritablePowerFeedRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedWritablePowerFeedRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *PatchedWritablePowerFeedRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.