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 | CableStatus | ||
Enabled | Pointer to bool | [optional] | |
MgmtOnly | Pointer to bool | [optional] | |
Description | Pointer to string | [optional] | |
Bridge | Pointer to NullableNestedInterfaceTemplate | [optional] | |
PoeMode | Pointer to NullableCableLengthUnit | [optional] | |
PoeType | Pointer to NullableCableLengthUnit | [optional] | |
Created | NullableTime | [readonly] | |
LastUpdated | NullableTime | [readonly] |
func NewInterfaceTemplate(id int32, url string, display string, name string, type_ CableStatus, created NullableTime, lastUpdated NullableTime, ) *InterfaceTemplate
NewInterfaceTemplate instantiates a new InterfaceTemplate 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 NewInterfaceTemplateWithDefaults() *InterfaceTemplate
NewInterfaceTemplateWithDefaults instantiates a new InterfaceTemplate 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 *InterfaceTemplate) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetId(v int32)
SetId sets Id field to given value.
func (o *InterfaceTemplate) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *InterfaceTemplate) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *InterfaceTemplate) GetDeviceType() NestedDeviceType
GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetDeviceType(v NestedDeviceType)
SetDeviceType sets DeviceType field to given value.
func (o *InterfaceTemplate) HasDeviceType() bool
HasDeviceType returns a boolean if a field has been set.
func (o *InterfaceTemplate) SetDeviceTypeNil(b bool)
SetDeviceTypeNil sets the value for DeviceType to be an explicit nil
func (o *InterfaceTemplate) UnsetDeviceType()
UnsetDeviceType ensures that no value is present for DeviceType, not even an explicit nil
func (o *InterfaceTemplate) GetModuleType() NestedModuleType
GetModuleType returns the ModuleType field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetModuleType(v NestedModuleType)
SetModuleType sets ModuleType field to given value.
func (o *InterfaceTemplate) HasModuleType() bool
HasModuleType returns a boolean if a field has been set.
func (o *InterfaceTemplate) SetModuleTypeNil(b bool)
SetModuleTypeNil sets the value for ModuleType to be an explicit nil
func (o *InterfaceTemplate) UnsetModuleType()
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
func (o *InterfaceTemplate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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 *InterfaceTemplate) SetName(v string)
SetName sets Name field to given value.
func (o *InterfaceTemplate) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *InterfaceTemplate) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *InterfaceTemplate) GetType() CableStatus
GetType returns the Type field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetTypeOk() (*CableStatus, 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 *InterfaceTemplate) SetType(v CableStatus)
SetType sets Type field to given value.
func (o *InterfaceTemplate) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InterfaceTemplate) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *InterfaceTemplate) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *InterfaceTemplate) GetMgmtOnly() bool
GetMgmtOnly returns the MgmtOnly field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetMgmtOnlyOk() (*bool, bool)
GetMgmtOnlyOk returns a tuple with the MgmtOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InterfaceTemplate) SetMgmtOnly(v bool)
SetMgmtOnly sets MgmtOnly field to given value.
func (o *InterfaceTemplate) HasMgmtOnly() bool
HasMgmtOnly returns a boolean if a field has been set.
func (o *InterfaceTemplate) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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 *InterfaceTemplate) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *InterfaceTemplate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *InterfaceTemplate) GetBridge() NestedInterfaceTemplate
GetBridge returns the Bridge field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetBridgeOk() (*NestedInterfaceTemplate, bool)
GetBridgeOk returns a tuple with the Bridge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InterfaceTemplate) SetBridge(v NestedInterfaceTemplate)
SetBridge sets Bridge field to given value.
func (o *InterfaceTemplate) HasBridge() bool
HasBridge returns a boolean if a field has been set.
func (o *InterfaceTemplate) SetBridgeNil(b bool)
SetBridgeNil sets the value for Bridge to be an explicit nil
func (o *InterfaceTemplate) UnsetBridge()
UnsetBridge ensures that no value is present for Bridge, not even an explicit nil
func (o *InterfaceTemplate) GetPoeMode() CableLengthUnit
GetPoeMode returns the PoeMode field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetPoeModeOk() (*CableLengthUnit, bool)
GetPoeModeOk returns a tuple with the PoeMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InterfaceTemplate) SetPoeMode(v CableLengthUnit)
SetPoeMode sets PoeMode field to given value.
func (o *InterfaceTemplate) HasPoeMode() bool
HasPoeMode returns a boolean if a field has been set.
func (o *InterfaceTemplate) SetPoeModeNil(b bool)
SetPoeModeNil sets the value for PoeMode to be an explicit nil
func (o *InterfaceTemplate) UnsetPoeMode()
UnsetPoeMode ensures that no value is present for PoeMode, not even an explicit nil
func (o *InterfaceTemplate) GetPoeType() CableLengthUnit
GetPoeType returns the PoeType field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) GetPoeTypeOk() (*CableLengthUnit, bool)
GetPoeTypeOk returns a tuple with the PoeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InterfaceTemplate) SetPoeType(v CableLengthUnit)
SetPoeType sets PoeType field to given value.
func (o *InterfaceTemplate) HasPoeType() bool
HasPoeType returns a boolean if a field has been set.
func (o *InterfaceTemplate) SetPoeTypeNil(b bool)
SetPoeTypeNil sets the value for PoeType to be an explicit nil
func (o *InterfaceTemplate) UnsetPoeType()
UnsetPoeType ensures that no value is present for PoeType, not even an explicit nil
func (o *InterfaceTemplate) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *InterfaceTemplate) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *InterfaceTemplate) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *InterfaceTemplate) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *InterfaceTemplate) 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.
func (o *InterfaceTemplate) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *InterfaceTemplate) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *InterfaceTemplate) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil