Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to PhysicalPortType | [optional] | |
Id | Pointer to int32 | Equinix assigned response attribute for Physical Port Id | [optional] |
Href | Pointer to string | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] |
State | Pointer to PortState | [optional] | |
Account | Pointer to SimplifiedAccount | [optional] | |
InterfaceSpeed | Pointer to int32 | Physical Port Speed in Mbps | [optional] |
InterfaceType | Pointer to string | Physical Port Interface Type | [optional] |
Tether | Pointer to PortTether | [optional] | |
DemarcationPoint | Pointer to PortDemarcationPoint | [optional] | |
AdditionalInfo | Pointer to []PortAdditionalInfo | Physical Port additional information | [optional] |
Order | Pointer to PortOrder | [optional] | |
Operation | Pointer to PortOperation | [optional] | |
Loas | Pointer to []PortLoa | Port Loas | [optional] |
func NewPhysicalPort() *PhysicalPort
NewPhysicalPort instantiates a new PhysicalPort 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 NewPhysicalPortWithDefaults() *PhysicalPort
NewPhysicalPortWithDefaults instantiates a new PhysicalPort 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 *PhysicalPort) GetType() PhysicalPortType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetTypeOk() (*PhysicalPortType, 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 *PhysicalPort) SetType(v PhysicalPortType)
SetType sets Type field to given value.
func (o *PhysicalPort) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PhysicalPort) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PhysicalPort) 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 *PhysicalPort) SetId(v int32)
SetId sets Id field to given value.
func (o *PhysicalPort) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PhysicalPort) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetHref(v string)
SetHref sets Href field to given value.
func (o *PhysicalPort) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *PhysicalPort) GetState() PortState
GetState returns the State field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetStateOk() (*PortState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetState(v PortState)
SetState sets State field to given value.
func (o *PhysicalPort) HasState() bool
HasState returns a boolean if a field has been set.
func (o *PhysicalPort) GetAccount() SimplifiedAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetAccountOk() (*SimplifiedAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetAccount(v SimplifiedAccount)
SetAccount sets Account field to given value.
func (o *PhysicalPort) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *PhysicalPort) GetInterfaceSpeed() int32
GetInterfaceSpeed returns the InterfaceSpeed field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetInterfaceSpeedOk() (*int32, bool)
GetInterfaceSpeedOk returns a tuple with the InterfaceSpeed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetInterfaceSpeed(v int32)
SetInterfaceSpeed sets InterfaceSpeed field to given value.
func (o *PhysicalPort) HasInterfaceSpeed() bool
HasInterfaceSpeed returns a boolean if a field has been set.
func (o *PhysicalPort) GetInterfaceType() string
GetInterfaceType returns the InterfaceType field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetInterfaceTypeOk() (*string, bool)
GetInterfaceTypeOk returns a tuple with the InterfaceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetInterfaceType(v string)
SetInterfaceType sets InterfaceType field to given value.
func (o *PhysicalPort) HasInterfaceType() bool
HasInterfaceType returns a boolean if a field has been set.
func (o *PhysicalPort) GetTether() PortTether
GetTether returns the Tether field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetTetherOk() (*PortTether, bool)
GetTetherOk returns a tuple with the Tether field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetTether(v PortTether)
SetTether sets Tether field to given value.
func (o *PhysicalPort) HasTether() bool
HasTether returns a boolean if a field has been set.
func (o *PhysicalPort) GetDemarcationPoint() PortDemarcationPoint
GetDemarcationPoint returns the DemarcationPoint field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetDemarcationPointOk() (*PortDemarcationPoint, bool)
GetDemarcationPointOk returns a tuple with the DemarcationPoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetDemarcationPoint(v PortDemarcationPoint)
SetDemarcationPoint sets DemarcationPoint field to given value.
func (o *PhysicalPort) HasDemarcationPoint() bool
HasDemarcationPoint returns a boolean if a field has been set.
func (o *PhysicalPort) GetAdditionalInfo() []PortAdditionalInfo
GetAdditionalInfo returns the AdditionalInfo field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetAdditionalInfoOk() (*[]PortAdditionalInfo, bool)
GetAdditionalInfoOk returns a tuple with the AdditionalInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetAdditionalInfo(v []PortAdditionalInfo)
SetAdditionalInfo sets AdditionalInfo field to given value.
func (o *PhysicalPort) HasAdditionalInfo() bool
HasAdditionalInfo returns a boolean if a field has been set.
func (o *PhysicalPort) GetOrder() PortOrder
GetOrder returns the Order field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetOrderOk() (*PortOrder, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetOrder(v PortOrder)
SetOrder sets Order field to given value.
func (o *PhysicalPort) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *PhysicalPort) GetOperation() PortOperation
GetOperation returns the Operation field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetOperationOk() (*PortOperation, bool)
GetOperationOk returns a tuple with the Operation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetOperation(v PortOperation)
SetOperation sets Operation field to given value.
func (o *PhysicalPort) HasOperation() bool
HasOperation returns a boolean if a field has been set.
func (o *PhysicalPort) GetLoas() []PortLoa
GetLoas returns the Loas field if non-nil, zero value otherwise.
func (o *PhysicalPort) GetLoasOk() (*[]PortLoa, bool)
GetLoasOk returns a tuple with the Loas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PhysicalPort) SetLoas(v []PortLoa)
SetLoas sets Loas field to given value.
func (o *PhysicalPort) HasLoas() bool
HasLoas returns a boolean if a field has been set.