Skip to content

Latest commit

 

History

History
408 lines (223 loc) · 11.1 KB

PowerPortTemplate.md

File metadata and controls

408 lines (223 loc) · 11.1 KB

PowerPortTemplate

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
DeviceType Pointer to NullableNestedDeviceType [optional]
ModuleType Pointer to NullableNestedModuleType [optional]
Name string {module} is accepted as a substitution for the module bay position when attached to a module type.
Label Pointer to string Physical label [optional]
Type Pointer to NullableCableLengthUnit [optional]
MaximumDraw Pointer to NullableInt32 Maximum power draw (watts) [optional]
AllocatedDraw Pointer to NullableInt32 Allocated power draw (watts) [optional]
Description Pointer to string [optional]
Created NullableTime [readonly]
LastUpdated NullableTime [readonly]

Methods

NewPowerPortTemplate

func NewPowerPortTemplate(id int32, url string, display string, name string, created NullableTime, lastUpdated NullableTime, ) *PowerPortTemplate

NewPowerPortTemplate instantiates a new PowerPortTemplate 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

NewPowerPortTemplateWithDefaults

func NewPowerPortTemplateWithDefaults() *PowerPortTemplate

NewPowerPortTemplateWithDefaults instantiates a new PowerPortTemplate 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

GetId

func (o *PowerPortTemplate) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PowerPortTemplate) GetIdOk() (*int32, bool)

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

SetId

func (o *PowerPortTemplate) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *PowerPortTemplate) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *PowerPortTemplate) GetUrlOk() (*string, bool)

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

SetUrl

func (o *PowerPortTemplate) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *PowerPortTemplate) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *PowerPortTemplate) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *PowerPortTemplate) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetDeviceType

func (o *PowerPortTemplate) GetDeviceType() NestedDeviceType

GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.

GetDeviceTypeOk

func (o *PowerPortTemplate) GetDeviceTypeOk() (*NestedDeviceType, bool)

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

SetDeviceType

func (o *PowerPortTemplate) SetDeviceType(v NestedDeviceType)

SetDeviceType sets DeviceType field to given value.

HasDeviceType

func (o *PowerPortTemplate) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

SetDeviceTypeNil

func (o *PowerPortTemplate) SetDeviceTypeNil(b bool)

SetDeviceTypeNil sets the value for DeviceType to be an explicit nil

UnsetDeviceType

func (o *PowerPortTemplate) UnsetDeviceType()

UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil

GetModuleType

func (o *PowerPortTemplate) GetModuleType() NestedModuleType

GetModuleType returns the ModuleType field if non-nil, zero value otherwise.

GetModuleTypeOk

func (o *PowerPortTemplate) GetModuleTypeOk() (*NestedModuleType, bool)

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

SetModuleType

func (o *PowerPortTemplate) SetModuleType(v NestedModuleType)

SetModuleType sets ModuleType field to given value.

HasModuleType

func (o *PowerPortTemplate) HasModuleType() bool

HasModuleType returns a boolean if a field has been set.

SetModuleTypeNil

func (o *PowerPortTemplate) SetModuleTypeNil(b bool)

SetModuleTypeNil sets the value for ModuleType to be an explicit nil

UnsetModuleType

func (o *PowerPortTemplate) UnsetModuleType()

UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil

GetName

func (o *PowerPortTemplate) GetName() string

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

GetNameOk

func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetName(v string)

SetName sets Name field to given value.

GetLabel

func (o *PowerPortTemplate) GetLabel() string

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

GetLabelOk

func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *PowerPortTemplate) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetType

func (o *PowerPortTemplate) GetType() CableLengthUnit

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

GetTypeOk

func (o *PowerPortTemplate) GetTypeOk() (*CableLengthUnit, 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 *PowerPortTemplate) SetType(v CableLengthUnit)

SetType sets Type field to given value.

HasType

func (o *PowerPortTemplate) HasType() bool

HasType returns a boolean if a field has been set.

SetTypeNil

func (o *PowerPortTemplate) SetTypeNil(b bool)

SetTypeNil sets the value for Type to be an explicit nil

UnsetType

func (o *PowerPortTemplate) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

GetMaximumDraw

func (o *PowerPortTemplate) GetMaximumDraw() int32

GetMaximumDraw returns the MaximumDraw field if non-nil, zero value otherwise.

GetMaximumDrawOk

func (o *PowerPortTemplate) GetMaximumDrawOk() (*int32, bool)

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

SetMaximumDraw

func (o *PowerPortTemplate) SetMaximumDraw(v int32)

SetMaximumDraw sets MaximumDraw field to given value.

HasMaximumDraw

func (o *PowerPortTemplate) HasMaximumDraw() bool

HasMaximumDraw returns a boolean if a field has been set.

SetMaximumDrawNil

func (o *PowerPortTemplate) SetMaximumDrawNil(b bool)

SetMaximumDrawNil sets the value for MaximumDraw to be an explicit nil

UnsetMaximumDraw

func (o *PowerPortTemplate) UnsetMaximumDraw()

UnsetMaximumDraw ensures that no value is present for MaximumDraw, not even an explicit nil

GetAllocatedDraw

func (o *PowerPortTemplate) GetAllocatedDraw() int32

GetAllocatedDraw returns the AllocatedDraw field if non-nil, zero value otherwise.

GetAllocatedDrawOk

func (o *PowerPortTemplate) GetAllocatedDrawOk() (*int32, bool)

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

SetAllocatedDraw

func (o *PowerPortTemplate) SetAllocatedDraw(v int32)

SetAllocatedDraw sets AllocatedDraw field to given value.

HasAllocatedDraw

func (o *PowerPortTemplate) HasAllocatedDraw() bool

HasAllocatedDraw returns a boolean if a field has been set.

SetAllocatedDrawNil

func (o *PowerPortTemplate) SetAllocatedDrawNil(b bool)

SetAllocatedDrawNil sets the value for AllocatedDraw to be an explicit nil

UnsetAllocatedDraw

func (o *PowerPortTemplate) UnsetAllocatedDraw()

UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil

GetDescription

func (o *PowerPortTemplate) GetDescription() string

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

GetDescriptionOk

func (o *PowerPortTemplate) 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 *PowerPortTemplate) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PowerPortTemplate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetCreated

func (o *PowerPortTemplate) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *PowerPortTemplate) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *PowerPortTemplate) SetCreated(v time.Time)

SetCreated sets Created field to given value.

SetCreatedNil

func (o *PowerPortTemplate) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *PowerPortTemplate) UnsetCreated()

UnsetCreated ensures that no value is present for Created, not even an explicit nil

GetLastUpdated

func (o *PowerPortTemplate) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

GetLastUpdatedOk

func (o *PowerPortTemplate) GetLastUpdatedOk() (*time.Time, bool)

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

SetLastUpdated

func (o *PowerPortTemplate) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *PowerPortTemplate) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *PowerPortTemplate) UnsetLastUpdated()

UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil

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