OltUplinkVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| HwVersion | Pointer to string | HwVersion | [optional] |
| LinkSpeed | Pointer to int32 | Link Speed | [optional] |
| Mac | Pointer to string | The mac of uplink device | [optional] |
| Model | Pointer to string | The model of uplink device | [optional] |
| ModelVersion | Pointer to string | Model Version | [optional] |
| Name | Pointer to string | The name of uplink device | [optional] |
| Port | Pointer to string | Olt port linking with uplink device | [optional] |
| Type | Pointer to string | The type of uplink device | [optional] |
Methods
NewOltUplinkVO
func NewOltUplinkVO() *OltUplinkVO
NewOltUplinkVO instantiates a new OltUplinkVO 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
NewOltUplinkVOWithDefaults
func NewOltUplinkVOWithDefaults() *OltUplinkVO
NewOltUplinkVOWithDefaults instantiates a new OltUplinkVO 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
GetHwVersion
func (o *OltUplinkVO) GetHwVersion() string
GetHwVersion returns the HwVersion field if non-nil, zero value otherwise.
GetHwVersionOk
func (o *OltUplinkVO) GetHwVersionOk() (*string, bool)
GetHwVersionOk returns a tuple with the HwVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHwVersion
func (o *OltUplinkVO) SetHwVersion(v string)
SetHwVersion sets HwVersion field to given value.
HasHwVersion
func (o *OltUplinkVO) HasHwVersion() bool
HasHwVersion returns a boolean if a field has been set.
GetLinkSpeed
func (o *OltUplinkVO) GetLinkSpeed() int32
GetLinkSpeed returns the LinkSpeed field if non-nil, zero value otherwise.
GetLinkSpeedOk
func (o *OltUplinkVO) GetLinkSpeedOk() (*int32, bool)
GetLinkSpeedOk returns a tuple with the LinkSpeed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLinkSpeed
func (o *OltUplinkVO) SetLinkSpeed(v int32)
SetLinkSpeed sets LinkSpeed field to given value.
HasLinkSpeed
func (o *OltUplinkVO) HasLinkSpeed() bool
HasLinkSpeed returns a boolean if a field has been set.
GetMac
func (o *OltUplinkVO) GetMac() string
GetMac returns the Mac field if non-nil, zero value otherwise.
GetMacOk
func (o *OltUplinkVO) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMac
func (o *OltUplinkVO) SetMac(v string)
SetMac sets Mac field to given value.
HasMac
func (o *OltUplinkVO) HasMac() bool
HasMac returns a boolean if a field has been set.
GetModel
func (o *OltUplinkVO) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *OltUplinkVO) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModel
func (o *OltUplinkVO) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *OltUplinkVO) HasModel() bool
HasModel returns a boolean if a field has been set.
GetModelVersion
func (o *OltUplinkVO) GetModelVersion() string
GetModelVersion returns the ModelVersion field if non-nil, zero value otherwise.
GetModelVersionOk
func (o *OltUplinkVO) GetModelVersionOk() (*string, bool)
GetModelVersionOk returns a tuple with the ModelVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModelVersion
func (o *OltUplinkVO) SetModelVersion(v string)
SetModelVersion sets ModelVersion field to given value.
HasModelVersion
func (o *OltUplinkVO) HasModelVersion() bool
HasModelVersion returns a boolean if a field has been set.
GetName
func (o *OltUplinkVO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *OltUplinkVO) 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 *OltUplinkVO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *OltUplinkVO) HasName() bool
HasName returns a boolean if a field has been set.
GetPort
func (o *OltUplinkVO) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
GetPortOk
func (o *OltUplinkVO) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPort
func (o *OltUplinkVO) SetPort(v string)
SetPort sets Port field to given value.
HasPort
func (o *OltUplinkVO) HasPort() bool
HasPort returns a boolean if a field has been set.
GetType
func (o *OltUplinkVO) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *OltUplinkVO) GetTypeOk() (*string, 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 *OltUplinkVO) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *OltUplinkVO) HasType() bool
HasType returns a boolean if a field has been set.