Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | [readonly] | |
Url | string | [readonly] | |
Display | string | [readonly] | |
Device | NestedDevice | ||
Module | Pointer to NullableComponentNestedModule | [optional] | |
Name | string | ||
Label | Pointer to string | Physical label | [optional] |
Type | Pointer to ConsolePortType | [optional] | |
Speed | Pointer to NullableConsolePortSpeed | [optional] | |
Description | Pointer to string | [optional] | |
MarkConnected | Pointer to bool | Treat as if a cable is connected | [optional] |
Cable | NullableNestedCable | [readonly] | |
CableEnd | string | [readonly] | |
LinkPeers | []interface{} | [readonly] | |
LinkPeersType | string | Return the type of the peer link terminations, or None. | [readonly] |
ConnectedEndpoints | []interface{} | [readonly] | |
ConnectedEndpointsType | string | [readonly] | |
ConnectedEndpointsReachable | bool | [readonly] | |
Tags | Pointer to []NestedTag | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Created | NullableTime | [readonly] | |
LastUpdated | NullableTime | [readonly] | |
Occupied | bool | [readonly] |
func NewConsoleServerPort(id int32, url string, display string, device NestedDevice, name string, cable NullableNestedCable, cableEnd string, linkPeers []interface{}, linkPeersType string, connectedEndpoints []interface{}, connectedEndpointsType string, connectedEndpointsReachable bool, created NullableTime, lastUpdated NullableTime, occupied bool, ) *ConsoleServerPort
NewConsoleServerPort instantiates a new ConsoleServerPort 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 NewConsoleServerPortWithDefaults() *ConsoleServerPort
NewConsoleServerPortWithDefaults instantiates a new ConsoleServerPort 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 *ConsoleServerPort) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetId(v int32)
SetId sets Id field to given value.
func (o *ConsoleServerPort) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *ConsoleServerPort) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *ConsoleServerPort) GetDevice() NestedDevice
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetDevice(v NestedDevice)
SetDevice sets Device field to given value.
func (o *ConsoleServerPort) GetModule() ComponentNestedModule
GetModule returns the Module field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetModuleOk() (*ComponentNestedModule, 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.
func (o *ConsoleServerPort) SetModule(v ComponentNestedModule)
SetModule sets Module field to given value.
func (o *ConsoleServerPort) HasModule() bool
HasModule returns a boolean if a field has been set.
func (o *ConsoleServerPort) SetModuleNil(b bool)
SetModuleNil sets the value for Module to be an explicit nil
func (o *ConsoleServerPort) UnsetModule()
UnsetModule ensures that no value is present for Module, not even an explicit nil
func (o *ConsoleServerPort) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetName(v string)
SetName sets Name field to given value.
func (o *ConsoleServerPort) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *ConsoleServerPort) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetType() ConsolePortType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetTypeOk() (*ConsolePortType, 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 *ConsoleServerPort) SetType(v ConsolePortType)
SetType sets Type field to given value.
func (o *ConsoleServerPort) HasType() bool
HasType returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetSpeed() ConsolePortSpeed
GetSpeed returns the Speed field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetSpeedOk() (*ConsolePortSpeed, bool)
GetSpeedOk returns a tuple with the Speed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetSpeed(v ConsolePortSpeed)
SetSpeed sets Speed field to given value.
func (o *ConsoleServerPort) HasSpeed() bool
HasSpeed returns a boolean if a field has been set.
func (o *ConsoleServerPort) SetSpeedNil(b bool)
SetSpeedNil sets the value for Speed to be an explicit nil
func (o *ConsoleServerPort) UnsetSpeed()
UnsetSpeed ensures that no value is present for Speed, not even an explicit nil
func (o *ConsoleServerPort) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ConsoleServerPort) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetMarkConnected() bool
GetMarkConnected returns the MarkConnected field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetMarkConnected(v bool)
SetMarkConnected sets MarkConnected field to given value.
func (o *ConsoleServerPort) HasMarkConnected() bool
HasMarkConnected returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetCable() NestedCable
GetCable returns the Cable field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetCableOk() (*NestedCable, 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 *ConsoleServerPort) SetCable(v NestedCable)
SetCable sets Cable field to given value.
func (o *ConsoleServerPort) SetCableNil(b bool)
SetCableNil sets the value for Cable to be an explicit nil
func (o *ConsoleServerPort) UnsetCable()
UnsetCable ensures that no value is present for Cable, not even an explicit nil
func (o *ConsoleServerPort) GetCableEnd() string
GetCableEnd returns the CableEnd field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetCableEndOk() (*string, bool)
GetCableEndOk returns a tuple with the CableEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetCableEnd(v string)
SetCableEnd sets CableEnd field to given value.
func (o *ConsoleServerPort) GetLinkPeers() []interface{}
GetLinkPeers returns the LinkPeers field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetLinkPeersOk() (*[]interface{}, bool)
GetLinkPeersOk returns a tuple with the LinkPeers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetLinkPeers(v []interface{})
SetLinkPeers sets LinkPeers field to given value.
func (o *ConsoleServerPort) GetLinkPeersType() string
GetLinkPeersType returns the LinkPeersType field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetLinkPeersTypeOk() (*string, bool)
GetLinkPeersTypeOk returns a tuple with the LinkPeersType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetLinkPeersType(v string)
SetLinkPeersType sets LinkPeersType field to given value.
func (o *ConsoleServerPort) GetConnectedEndpoints() []interface{}
GetConnectedEndpoints returns the ConnectedEndpoints field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetConnectedEndpointsOk() (*[]interface{}, bool)
GetConnectedEndpointsOk returns a tuple with the ConnectedEndpoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetConnectedEndpoints(v []interface{})
SetConnectedEndpoints sets ConnectedEndpoints field to given value.
func (o *ConsoleServerPort) GetConnectedEndpointsType() string
GetConnectedEndpointsType returns the ConnectedEndpointsType field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetConnectedEndpointsTypeOk() (*string, bool)
GetConnectedEndpointsTypeOk returns a tuple with the ConnectedEndpointsType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetConnectedEndpointsType(v string)
SetConnectedEndpointsType sets ConnectedEndpointsType field to given value.
func (o *ConsoleServerPort) GetConnectedEndpointsReachable() bool
GetConnectedEndpointsReachable returns the ConnectedEndpointsReachable field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetConnectedEndpointsReachableOk() (*bool, bool)
GetConnectedEndpointsReachableOk returns a tuple with the ConnectedEndpointsReachable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetConnectedEndpointsReachable(v bool)
SetConnectedEndpointsReachable sets ConnectedEndpointsReachable field to given value.
func (o *ConsoleServerPort) GetTags() []NestedTag
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetTagsOk() (*[]NestedTag, 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 *ConsoleServerPort) SetTags(v []NestedTag)
SetTags sets Tags field to given value.
func (o *ConsoleServerPort) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *ConsoleServerPort) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *ConsoleServerPort) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ConsoleServerPort) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *ConsoleServerPort) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *ConsoleServerPort) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) 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 *ConsoleServerPort) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *ConsoleServerPort) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *ConsoleServerPort) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *ConsoleServerPort) GetOccupied() bool
GetOccupied returns the Occupied field if non-nil, zero value otherwise.
func (o *ConsoleServerPort) GetOccupiedOk() (*bool, bool)
GetOccupiedOk returns a tuple with the Occupied field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsoleServerPort) SetOccupied(v bool)
SetOccupied sets Occupied field to given value.