Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
Url | string | [readonly] | |
Device | NestedDevice | ||
Name | string | ||
Label | Pointer to string | Physical label | [optional] |
Type | FrontPortType | ||
RearPort | FrontPortRearPort | ||
RearPortPosition | Pointer to int32 | [optional] [default to 1] | |
Description | Pointer to string | [optional] | |
Cable | CircuitTerminationCable | ||
CablePeer | map[string]interface{} | [readonly] | |
CablePeerType | NullableString | [readonly] | |
Tags | Pointer to []TagSerializerField | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Display | string | Human friendly display value | [readonly] |
func NewFrontPort(id string, url string, device NestedDevice, name string, type_ FrontPortType, rearPort FrontPortRearPort, cable CircuitTerminationCable, cablePeer map[string]interface{}, cablePeerType NullableString, display string, ) *FrontPort
NewFrontPort instantiates a new FrontPort 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 NewFrontPortWithDefaults() *FrontPort
NewFrontPortWithDefaults instantiates a new FrontPort 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 *FrontPort) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *FrontPort) GetIdOk() (*string, 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 *FrontPort) SetId(v string)
SetId sets Id field to given value.
func (o *FrontPort) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *FrontPort) GetDevice() NestedDevice
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *FrontPort) GetDeviceOk() (*NestedDevice, 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.
func (o *FrontPort) SetDevice(v NestedDevice)
SetDevice sets Device field to given value.
func (o *FrontPort) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetName(v string)
SetName sets Name field to given value.
func (o *FrontPort) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *FrontPort) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *FrontPort) GetType() FrontPortType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *FrontPort) GetTypeOk() (*FrontPortType, 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 *FrontPort) SetType(v FrontPortType)
SetType sets Type field to given value.
func (o *FrontPort) GetRearPort() FrontPortRearPort
GetRearPort returns the RearPort field if non-nil, zero value otherwise.
func (o *FrontPort) GetRearPortOk() (*FrontPortRearPort, bool)
GetRearPortOk returns a tuple with the RearPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FrontPort) SetRearPort(v FrontPortRearPort)
SetRearPort sets RearPort field to given value.
func (o *FrontPort) GetRearPortPosition() int32
GetRearPortPosition returns the RearPortPosition field if non-nil, zero value otherwise.
func (o *FrontPort) GetRearPortPositionOk() (*int32, bool)
GetRearPortPositionOk returns a tuple with the RearPortPosition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FrontPort) SetRearPortPosition(v int32)
SetRearPortPosition sets RearPortPosition field to given value.
func (o *FrontPort) HasRearPortPosition() bool
HasRearPortPosition returns a boolean if a field has been set.
func (o *FrontPort) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *FrontPort) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *FrontPort) GetCable() CircuitTerminationCable
GetCable returns the Cable field if non-nil, zero value otherwise.
func (o *FrontPort) GetCableOk() (*CircuitTerminationCable, bool)
GetCableOk returns a tuple with the Cable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FrontPort) SetCable(v CircuitTerminationCable)
SetCable sets Cable field to given value.
func (o *FrontPort) GetCablePeer() map[string]interface{}
GetCablePeer returns the CablePeer field if non-nil, zero value otherwise.
func (o *FrontPort) GetCablePeerOk() (*map[string]interface{}, bool)
GetCablePeerOk returns a tuple with the CablePeer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FrontPort) SetCablePeer(v map[string]interface{})
SetCablePeer sets CablePeer field to given value.
func (o *FrontPort) SetCablePeerNil(b bool)
SetCablePeerNil sets the value for CablePeer to be an explicit nil
func (o *FrontPort) UnsetCablePeer()
UnsetCablePeer ensures that no value is present for CablePeer, not even an explicit nil
func (o *FrontPort) GetCablePeerType() string
GetCablePeerType returns the CablePeerType field if non-nil, zero value otherwise.
func (o *FrontPort) GetCablePeerTypeOk() (*string, bool)
GetCablePeerTypeOk returns a tuple with the CablePeerType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FrontPort) SetCablePeerType(v string)
SetCablePeerType sets CablePeerType field to given value.
func (o *FrontPort) SetCablePeerTypeNil(b bool)
SetCablePeerTypeNil sets the value for CablePeerType to be an explicit nil
func (o *FrontPort) UnsetCablePeerType()
UnsetCablePeerType ensures that no value is present for CablePeerType, not even an explicit nil
func (o *FrontPort) GetTags() []TagSerializerField
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *FrontPort) GetTagsOk() (*[]TagSerializerField, 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 *FrontPort) SetTags(v []TagSerializerField)
SetTags sets Tags field to given value.
func (o *FrontPort) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *FrontPort) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *FrontPort) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *FrontPort) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *FrontPort) 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 *FrontPort) SetDisplay(v string)
SetDisplay sets Display field to given value.