Skip to content

Latest commit

 

History

History
326 lines (177 loc) · 12.6 KB

WritablePowerOutletRequest.md

File metadata and controls

326 lines (177 loc) · 12.6 KB

WritablePowerOutletRequest

Properties

Name Type Description Notes
Device int32
Module Pointer to NullableInt32 [optional]
Name string
Label Pointer to string Physical label [optional]
Type Pointer to string Physical port type * `iec-60320-c5` - C5 * `iec-60320-c7` - C7 * `iec-60320-c13` - C13 * `iec-60320-c15` - C15 * `iec-60320-c19` - C19 * `iec-60320-c21` - C21 * `iec-60309-p-n-e-4h` - P+N+E 4H * `iec-60309-p-n-e-6h` - P+N+E 6H * `iec-60309-p-n-e-9h` - P+N+E 9H * `iec-60309-2p-e-4h` - 2P+E 4H * `iec-60309-2p-e-6h` - 2P+E 6H * `iec-60309-2p-e-9h` - 2P+E 9H * `iec-60309-3p-e-4h` - 3P+E 4H * `iec-60309-3p-e-6h` - 3P+E 6H * `iec-60309-3p-e-9h` - 3P+E 9H * `iec-60309-3p-n-e-4h` - 3P+N+E 4H * `iec-60309-3p-n-e-6h` - 3P+N+E 6H * `iec-60309-3p-n-e-9h` - 3P+N+E 9H * `nema-1-15r` - NEMA 1-15R * `nema-5-15r` - NEMA 5-15R * `nema-5-20r` - NEMA 5-20R * `nema-5-30r` - NEMA 5-30R * `nema-5-50r` - NEMA 5-50R * `nema-6-15r` - NEMA 6-15R * `nema-6-20r` - NEMA 6-20R * `nema-6-30r` - NEMA 6-30R * `nema-6-50r` - NEMA 6-50R * `nema-10-30r` - NEMA 10-30R * `nema-10-50r` - NEMA 10-50R * `nema-14-20r` - NEMA 14-20R * `nema-14-30r` - NEMA 14-30R * `nema-14-50r` - NEMA 14-50R * `nema-14-60r` - NEMA 14-60R * `nema-15-15r` - NEMA 15-15R * `nema-15-20r` - NEMA 15-20R * `nema-15-30r` - NEMA 15-30R * `nema-15-50r` - NEMA 15-50R * `nema-15-60r` - NEMA 15-60R * `nema-l1-15r` - NEMA L1-15R * `nema-l5-15r` - NEMA L5-15R * `nema-l5-20r` - NEMA L5-20R * `nema-l5-30r` - NEMA L5-30R * `nema-l5-50r` - NEMA L5-50R * `nema-l6-15r` - NEMA L6-15R * `nema-l6-20r` - NEMA L6-20R * `nema-l6-30r` - NEMA L6-30R * `nema-l6-50r` - NEMA L6-50R * `nema-l10-30r` - NEMA L10-30R * `nema-l14-20r` - NEMA L14-20R * `nema-l14-30r` - NEMA L14-30R * `nema-l14-50r` - NEMA L14-50R * `nema-l14-60r` - NEMA L14-60R * `nema-l15-20r` - NEMA L15-20R * `nema-l15-30r` - NEMA L15-30R * `nema-l15-50r` - NEMA L15-50R * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C * `CS8164C` - CS8164C * `CS8264C` - CS8264C * `CS8364C` - CS8364C * `CS8464C` - CS8464C * `ita-e` - ITA Type E (CEE 7/5) * `ita-f` - ITA Type F (CEE 7/3) * `ita-g` - ITA Type G (BS 1363) * `ita-h` - ITA Type H * `ita-i` - ITA Type I * `ita-j` - ITA Type J * `ita-k` - ITA Type K * `ita-l` - ITA Type L (CEI 23-50) * `ita-m` - ITA Type M (BS 546) * `ita-n` - ITA Type N * `ita-o` - ITA Type O * `ita-multistandard` - ITA Multistandard * `usb-a` - USB Type A * `usb-micro-b` - USB Micro B * `usb-c` - USB Type C * `dc-terminal` - DC Terminal * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) * `neutrik-powercon-32a` - Neutrik powerCON (32A) * `neutrik-powercon-true1` - Neutrik powerCON TRUE1 * `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other [optional]
PowerPort Pointer to NullableInt32 [optional]
FeedLeg Pointer to string Phase (for three-phase feeds) * `A` - A * `B` - B * `C` - C [optional]
Description Pointer to string [optional]
MarkConnected Pointer to bool Treat as if a cable is connected [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewWritablePowerOutletRequest

func NewWritablePowerOutletRequest(device int32, name string, ) *WritablePowerOutletRequest

NewWritablePowerOutletRequest instantiates a new WritablePowerOutletRequest 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

NewWritablePowerOutletRequestWithDefaults

func NewWritablePowerOutletRequestWithDefaults() *WritablePowerOutletRequest

NewWritablePowerOutletRequestWithDefaults instantiates a new WritablePowerOutletRequest 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

GetDevice

func (o *WritablePowerOutletRequest) GetDevice() int32

GetDevice returns the Device field if non-nil, zero value otherwise.

GetDeviceOk

func (o *WritablePowerOutletRequest) GetDeviceOk() (*int32, bool)

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

SetDevice

func (o *WritablePowerOutletRequest) SetDevice(v int32)

SetDevice sets Device field to given value.

GetModule

func (o *WritablePowerOutletRequest) GetModule() int32

GetModule returns the Module field if non-nil, zero value otherwise.

GetModuleOk

func (o *WritablePowerOutletRequest) GetModuleOk() (*int32, bool)

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

SetModule

func (o *WritablePowerOutletRequest) SetModule(v int32)

SetModule sets Module field to given value.

HasModule

func (o *WritablePowerOutletRequest) HasModule() bool

HasModule returns a boolean if a field has been set.

SetModuleNil

func (o *WritablePowerOutletRequest) SetModuleNil(b bool)

SetModuleNil sets the value for Module to be an explicit nil

UnsetModule

func (o *WritablePowerOutletRequest) UnsetModule()

UnsetModule ensures that no value is present for Module, not even an explicit nil

GetName

func (o *WritablePowerOutletRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *WritablePowerOutletRequest) 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.

SetName

func (o *WritablePowerOutletRequest) SetName(v string)

SetName sets Name field to given value.

GetLabel

func (o *WritablePowerOutletRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *WritablePowerOutletRequest) GetLabelOk() (*string, bool)

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

SetLabel

func (o *WritablePowerOutletRequest) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *WritablePowerOutletRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetType

func (o *WritablePowerOutletRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *WritablePowerOutletRequest) 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.

SetType

func (o *WritablePowerOutletRequest) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *WritablePowerOutletRequest) HasType() bool

HasType returns a boolean if a field has been set.

GetPowerPort

func (o *WritablePowerOutletRequest) GetPowerPort() int32

GetPowerPort returns the PowerPort field if non-nil, zero value otherwise.

GetPowerPortOk

func (o *WritablePowerOutletRequest) GetPowerPortOk() (*int32, bool)

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

SetPowerPort

func (o *WritablePowerOutletRequest) SetPowerPort(v int32)

SetPowerPort sets PowerPort field to given value.

HasPowerPort

func (o *WritablePowerOutletRequest) HasPowerPort() bool

HasPowerPort returns a boolean if a field has been set.

SetPowerPortNil

func (o *WritablePowerOutletRequest) SetPowerPortNil(b bool)

SetPowerPortNil sets the value for PowerPort to be an explicit nil

UnsetPowerPort

func (o *WritablePowerOutletRequest) UnsetPowerPort()

UnsetPowerPort ensures that no value is present for PowerPort, not even an explicit nil

GetFeedLeg

func (o *WritablePowerOutletRequest) GetFeedLeg() string

GetFeedLeg returns the FeedLeg field if non-nil, zero value otherwise.

GetFeedLegOk

func (o *WritablePowerOutletRequest) GetFeedLegOk() (*string, bool)

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

SetFeedLeg

func (o *WritablePowerOutletRequest) SetFeedLeg(v string)

SetFeedLeg sets FeedLeg field to given value.

HasFeedLeg

func (o *WritablePowerOutletRequest) HasFeedLeg() bool

HasFeedLeg returns a boolean if a field has been set.

GetDescription

func (o *WritablePowerOutletRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *WritablePowerOutletRequest) 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.

SetDescription

func (o *WritablePowerOutletRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *WritablePowerOutletRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetMarkConnected

func (o *WritablePowerOutletRequest) GetMarkConnected() bool

GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.

GetMarkConnectedOk

func (o *WritablePowerOutletRequest) 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.

SetMarkConnected

func (o *WritablePowerOutletRequest) SetMarkConnected(v bool)

SetMarkConnected sets MarkConnected field to given value.

HasMarkConnected

func (o *WritablePowerOutletRequest) HasMarkConnected() bool

HasMarkConnected returns a boolean if a field has been set.

GetTags

func (o *WritablePowerOutletRequest) GetTags() []NestedTagRequest

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *WritablePowerOutletRequest) 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.

SetTags

func (o *WritablePowerOutletRequest) SetTags(v []NestedTagRequest)

SetTags sets Tags field to given value.

HasTags

func (o *WritablePowerOutletRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *WritablePowerOutletRequest) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *WritablePowerOutletRequest) 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.

SetCustomFields

func (o *WritablePowerOutletRequest) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *WritablePowerOutletRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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