Skip to content

LanStatus

Properties

Name Type Description Notes
ClientNum Pointer to int32 Lan client num [optional]
Ip Pointer to string Ip [optional]
LanName Pointer to string Lan name [optional]
LanPortIpv6Config Pointer to OsgLanPortIpv6ConfigVO [optional]
Rx Pointer to int64 Lan rx [optional]
Tx Pointer to int64 Lan tx [optional]
Vlan Pointer to int32 vlan [optional]

Methods

NewLanStatus

func NewLanStatus() *LanStatus

NewLanStatus instantiates a new LanStatus 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

NewLanStatusWithDefaults

func NewLanStatusWithDefaults() *LanStatus

NewLanStatusWithDefaults instantiates a new LanStatus 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

GetClientNum

func (o *LanStatus) GetClientNum() int32

GetClientNum returns the ClientNum field if non-nil, zero value otherwise.

GetClientNumOk

func (o *LanStatus) GetClientNumOk() (*int32, bool)

GetClientNumOk returns a tuple with the ClientNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientNum

func (o *LanStatus) SetClientNum(v int32)

SetClientNum sets ClientNum field to given value.

HasClientNum

func (o *LanStatus) HasClientNum() bool

HasClientNum returns a boolean if a field has been set.

GetIp

func (o *LanStatus) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

func (o *LanStatus) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIp

func (o *LanStatus) SetIp(v string)

SetIp sets Ip field to given value.

HasIp

func (o *LanStatus) HasIp() bool

HasIp returns a boolean if a field has been set.

GetLanName

func (o *LanStatus) GetLanName() string

GetLanName returns the LanName field if non-nil, zero value otherwise.

GetLanNameOk

func (o *LanStatus) GetLanNameOk() (*string, bool)

GetLanNameOk returns a tuple with the LanName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLanName

func (o *LanStatus) SetLanName(v string)

SetLanName sets LanName field to given value.

HasLanName

func (o *LanStatus) HasLanName() bool

HasLanName returns a boolean if a field has been set.

GetLanPortIpv6Config

func (o *LanStatus) GetLanPortIpv6Config() OsgLanPortIpv6ConfigVO

GetLanPortIpv6Config returns the LanPortIpv6Config field if non-nil, zero value otherwise.

GetLanPortIpv6ConfigOk

func (o *LanStatus) GetLanPortIpv6ConfigOk() (*OsgLanPortIpv6ConfigVO, bool)

GetLanPortIpv6ConfigOk returns a tuple with the LanPortIpv6Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLanPortIpv6Config

func (o *LanStatus) SetLanPortIpv6Config(v OsgLanPortIpv6ConfigVO)

SetLanPortIpv6Config sets LanPortIpv6Config field to given value.

HasLanPortIpv6Config

func (o *LanStatus) HasLanPortIpv6Config() bool

HasLanPortIpv6Config returns a boolean if a field has been set.

GetRx

func (o *LanStatus) GetRx() int64

GetRx returns the Rx field if non-nil, zero value otherwise.

GetRxOk

func (o *LanStatus) GetRxOk() (*int64, bool)

GetRxOk returns a tuple with the Rx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRx

func (o *LanStatus) SetRx(v int64)

SetRx sets Rx field to given value.

HasRx

func (o *LanStatus) HasRx() bool

HasRx returns a boolean if a field has been set.

GetTx

func (o *LanStatus) GetTx() int64

GetTx returns the Tx field if non-nil, zero value otherwise.

GetTxOk

func (o *LanStatus) GetTxOk() (*int64, bool)

GetTxOk returns a tuple with the Tx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTx

func (o *LanStatus) SetTx(v int64)

SetTx sets Tx field to given value.

HasTx

func (o *LanStatus) HasTx() bool

HasTx returns a boolean if a field has been set.

GetVlan

func (o *LanStatus) GetVlan() int32

GetVlan returns the Vlan field if non-nil, zero value otherwise.

GetVlanOk

func (o *LanStatus) GetVlanOk() (*int32, bool)

GetVlanOk returns a tuple with the Vlan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVlan

func (o *LanStatus) SetVlan(v int32)

SetVlan sets Vlan field to given value.

HasVlan

func (o *LanStatus) HasVlan() bool

HasVlan returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]