Skip to content

LanNetworkQueryOpenApiVO

Properties

Name Type Description Notes
AccessControlRule Pointer to bool Show AccessControlRule is enabled or not [optional]
AllLan Pointer to bool When Internet pre-config is closed or Internet pre-config is Universal, allLAN is \"true\"; after adopting gateway, allLAN is \"false\". [optional]
Application Pointer to int32 Effective device type. 0: Gateway, Switch; 1: Switch [optional]
DhcpGuard Pointer to DhcpServersSetting [optional]
DhcpL2RelayEnable Pointer to bool The switch of DHCP L2 relay [optional]
DhcpSettingsVO Pointer to DhcpSettings [optional]
Dhcpv6Guard Pointer to Dhcpv6ServersSetting [optional]
Domain Pointer to string The domain of this network [optional]
GatewaySubnet Pointer to string When purpose is interface, gateway subnet is needed. Format: IP/Mask [optional]
Id Pointer to string LAN network ID [optional]
IgmpSnoopEnable bool Enable IGMP snooping
InterfaceIds Pointer to []string Gateway LAN port IDs (acquired from \"Check WAN/LAN status\") [optional]
LanNeworkIpv6Config Pointer to LanNetworkIPV6Config [optional]
MldSnoopEnable Pointer to bool Enable MLD snooping [optional]
Name string LAN network name should contain 1 to 128 characters.
Portal Pointer to bool Show portal is enabled or not [optional]
PortalId Pointer to string Show portal ID [optional]
PortalName Pointer to string Show related portal name [optional]
Primary Pointer to bool Primary [optional]
Purpose int32 LAN network purpose, 0: VLAN, 1: interface
QosQueueEnable Pointer to bool The switch of QoS(Quality of Service). [optional]
QueueId Pointer to int32 The queue Id of QoS. [optional]
RateLimit Pointer to bool Show RateLimit is enabled or not [optional]
Vlan Pointer to int32 When purpose is \"VLAN\" or purpose is \"interface\" and VLANType is 0, create VLAN. VLAN range 1 to 4090. [optional]
VlanType Pointer to int32 When purpose is interface, VLANType is valid. 0: Single; 1: Multiple [optional]
Vlans Pointer to string When purpose is interface and VLANType is 1, batch create VLANs. VLAN format: 200, 1-100. [optional]

Methods

NewLanNetworkQueryOpenApiVO

func NewLanNetworkQueryOpenApiVO(igmpSnoopEnable bool, name string, purpose int32, ) *LanNetworkQueryOpenApiVO

NewLanNetworkQueryOpenApiVO instantiates a new LanNetworkQueryOpenApiVO 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

NewLanNetworkQueryOpenApiVOWithDefaults

func NewLanNetworkQueryOpenApiVOWithDefaults() *LanNetworkQueryOpenApiVO

NewLanNetworkQueryOpenApiVOWithDefaults instantiates a new LanNetworkQueryOpenApiVO 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

GetAccessControlRule

func (o *LanNetworkQueryOpenApiVO) GetAccessControlRule() bool

GetAccessControlRule returns the AccessControlRule field if non-nil, zero value otherwise.

GetAccessControlRuleOk

func (o *LanNetworkQueryOpenApiVO) GetAccessControlRuleOk() (*bool, bool)

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

SetAccessControlRule

func (o *LanNetworkQueryOpenApiVO) SetAccessControlRule(v bool)

SetAccessControlRule sets AccessControlRule field to given value.

HasAccessControlRule

func (o *LanNetworkQueryOpenApiVO) HasAccessControlRule() bool

HasAccessControlRule returns a boolean if a field has been set.

GetAllLan

func (o *LanNetworkQueryOpenApiVO) GetAllLan() bool

GetAllLan returns the AllLan field if non-nil, zero value otherwise.

GetAllLanOk

func (o *LanNetworkQueryOpenApiVO) GetAllLanOk() (*bool, bool)

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

SetAllLan

func (o *LanNetworkQueryOpenApiVO) SetAllLan(v bool)

SetAllLan sets AllLan field to given value.

HasAllLan

func (o *LanNetworkQueryOpenApiVO) HasAllLan() bool

HasAllLan returns a boolean if a field has been set.

GetApplication

func (o *LanNetworkQueryOpenApiVO) GetApplication() int32

GetApplication returns the Application field if non-nil, zero value otherwise.

GetApplicationOk

func (o *LanNetworkQueryOpenApiVO) GetApplicationOk() (*int32, bool)

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

SetApplication

func (o *LanNetworkQueryOpenApiVO) SetApplication(v int32)

SetApplication sets Application field to given value.

HasApplication

func (o *LanNetworkQueryOpenApiVO) HasApplication() bool

HasApplication returns a boolean if a field has been set.

GetDhcpGuard

func (o *LanNetworkQueryOpenApiVO) GetDhcpGuard() DhcpServersSetting

GetDhcpGuard returns the DhcpGuard field if non-nil, zero value otherwise.

GetDhcpGuardOk

func (o *LanNetworkQueryOpenApiVO) GetDhcpGuardOk() (*DhcpServersSetting, bool)

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

SetDhcpGuard

func (o *LanNetworkQueryOpenApiVO) SetDhcpGuard(v DhcpServersSetting)

SetDhcpGuard sets DhcpGuard field to given value.

HasDhcpGuard

func (o *LanNetworkQueryOpenApiVO) HasDhcpGuard() bool

HasDhcpGuard returns a boolean if a field has been set.

GetDhcpL2RelayEnable

func (o *LanNetworkQueryOpenApiVO) GetDhcpL2RelayEnable() bool

GetDhcpL2RelayEnable returns the DhcpL2RelayEnable field if non-nil, zero value otherwise.

GetDhcpL2RelayEnableOk

func (o *LanNetworkQueryOpenApiVO) GetDhcpL2RelayEnableOk() (*bool, bool)

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

SetDhcpL2RelayEnable

func (o *LanNetworkQueryOpenApiVO) SetDhcpL2RelayEnable(v bool)

SetDhcpL2RelayEnable sets DhcpL2RelayEnable field to given value.

HasDhcpL2RelayEnable

func (o *LanNetworkQueryOpenApiVO) HasDhcpL2RelayEnable() bool

HasDhcpL2RelayEnable returns a boolean if a field has been set.

GetDhcpSettingsVO

func (o *LanNetworkQueryOpenApiVO) GetDhcpSettingsVO() DhcpSettings

GetDhcpSettingsVO returns the DhcpSettingsVO field if non-nil, zero value otherwise.

GetDhcpSettingsVOOk

func (o *LanNetworkQueryOpenApiVO) GetDhcpSettingsVOOk() (*DhcpSettings, bool)

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

SetDhcpSettingsVO

func (o *LanNetworkQueryOpenApiVO) SetDhcpSettingsVO(v DhcpSettings)

SetDhcpSettingsVO sets DhcpSettingsVO field to given value.

HasDhcpSettingsVO

func (o *LanNetworkQueryOpenApiVO) HasDhcpSettingsVO() bool

HasDhcpSettingsVO returns a boolean if a field has been set.

GetDhcpv6Guard

func (o *LanNetworkQueryOpenApiVO) GetDhcpv6Guard() Dhcpv6ServersSetting

GetDhcpv6Guard returns the Dhcpv6Guard field if non-nil, zero value otherwise.

GetDhcpv6GuardOk

func (o *LanNetworkQueryOpenApiVO) GetDhcpv6GuardOk() (*Dhcpv6ServersSetting, bool)

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

SetDhcpv6Guard

func (o *LanNetworkQueryOpenApiVO) SetDhcpv6Guard(v Dhcpv6ServersSetting)

SetDhcpv6Guard sets Dhcpv6Guard field to given value.

HasDhcpv6Guard

func (o *LanNetworkQueryOpenApiVO) HasDhcpv6Guard() bool

HasDhcpv6Guard returns a boolean if a field has been set.

GetDomain

func (o *LanNetworkQueryOpenApiVO) GetDomain() string

GetDomain returns the Domain field if non-nil, zero value otherwise.

GetDomainOk

func (o *LanNetworkQueryOpenApiVO) GetDomainOk() (*string, bool)

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

SetDomain

func (o *LanNetworkQueryOpenApiVO) SetDomain(v string)

SetDomain sets Domain field to given value.

HasDomain

func (o *LanNetworkQueryOpenApiVO) HasDomain() bool

HasDomain returns a boolean if a field has been set.

GetGatewaySubnet

func (o *LanNetworkQueryOpenApiVO) GetGatewaySubnet() string

GetGatewaySubnet returns the GatewaySubnet field if non-nil, zero value otherwise.

GetGatewaySubnetOk

func (o *LanNetworkQueryOpenApiVO) GetGatewaySubnetOk() (*string, bool)

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

SetGatewaySubnet

func (o *LanNetworkQueryOpenApiVO) SetGatewaySubnet(v string)

SetGatewaySubnet sets GatewaySubnet field to given value.

HasGatewaySubnet

func (o *LanNetworkQueryOpenApiVO) HasGatewaySubnet() bool

HasGatewaySubnet returns a boolean if a field has been set.

GetId

func (o *LanNetworkQueryOpenApiVO) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *LanNetworkQueryOpenApiVO) 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.

SetId

func (o *LanNetworkQueryOpenApiVO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *LanNetworkQueryOpenApiVO) HasId() bool

HasId returns a boolean if a field has been set.

GetIgmpSnoopEnable

func (o *LanNetworkQueryOpenApiVO) GetIgmpSnoopEnable() bool

GetIgmpSnoopEnable returns the IgmpSnoopEnable field if non-nil, zero value otherwise.

GetIgmpSnoopEnableOk

func (o *LanNetworkQueryOpenApiVO) GetIgmpSnoopEnableOk() (*bool, bool)

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

SetIgmpSnoopEnable

func (o *LanNetworkQueryOpenApiVO) SetIgmpSnoopEnable(v bool)

SetIgmpSnoopEnable sets IgmpSnoopEnable field to given value.

GetInterfaceIds

func (o *LanNetworkQueryOpenApiVO) GetInterfaceIds() []string

GetInterfaceIds returns the InterfaceIds field if non-nil, zero value otherwise.

GetInterfaceIdsOk

func (o *LanNetworkQueryOpenApiVO) GetInterfaceIdsOk() (*[]string, bool)

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

SetInterfaceIds

func (o *LanNetworkQueryOpenApiVO) SetInterfaceIds(v []string)

SetInterfaceIds sets InterfaceIds field to given value.

HasInterfaceIds

func (o *LanNetworkQueryOpenApiVO) HasInterfaceIds() bool

HasInterfaceIds returns a boolean if a field has been set.

GetLanNeworkIpv6Config

func (o *LanNetworkQueryOpenApiVO) GetLanNeworkIpv6Config() LanNetworkIPV6Config

GetLanNeworkIpv6Config returns the LanNeworkIpv6Config field if non-nil, zero value otherwise.

GetLanNeworkIpv6ConfigOk

func (o *LanNetworkQueryOpenApiVO) GetLanNeworkIpv6ConfigOk() (*LanNetworkIPV6Config, bool)

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

SetLanNeworkIpv6Config

func (o *LanNetworkQueryOpenApiVO) SetLanNeworkIpv6Config(v LanNetworkIPV6Config)

SetLanNeworkIpv6Config sets LanNeworkIpv6Config field to given value.

HasLanNeworkIpv6Config

func (o *LanNetworkQueryOpenApiVO) HasLanNeworkIpv6Config() bool

HasLanNeworkIpv6Config returns a boolean if a field has been set.

GetMldSnoopEnable

func (o *LanNetworkQueryOpenApiVO) GetMldSnoopEnable() bool

GetMldSnoopEnable returns the MldSnoopEnable field if non-nil, zero value otherwise.

GetMldSnoopEnableOk

func (o *LanNetworkQueryOpenApiVO) GetMldSnoopEnableOk() (*bool, bool)

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

SetMldSnoopEnable

func (o *LanNetworkQueryOpenApiVO) SetMldSnoopEnable(v bool)

SetMldSnoopEnable sets MldSnoopEnable field to given value.

HasMldSnoopEnable

func (o *LanNetworkQueryOpenApiVO) HasMldSnoopEnable() bool

HasMldSnoopEnable returns a boolean if a field has been set.

GetName

func (o *LanNetworkQueryOpenApiVO) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *LanNetworkQueryOpenApiVO) 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 *LanNetworkQueryOpenApiVO) SetName(v string)

SetName sets Name field to given value.

GetPortal

func (o *LanNetworkQueryOpenApiVO) GetPortal() bool

GetPortal returns the Portal field if non-nil, zero value otherwise.

GetPortalOk

func (o *LanNetworkQueryOpenApiVO) GetPortalOk() (*bool, bool)

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

SetPortal

func (o *LanNetworkQueryOpenApiVO) SetPortal(v bool)

SetPortal sets Portal field to given value.

HasPortal

func (o *LanNetworkQueryOpenApiVO) HasPortal() bool

HasPortal returns a boolean if a field has been set.

GetPortalId

func (o *LanNetworkQueryOpenApiVO) GetPortalId() string

GetPortalId returns the PortalId field if non-nil, zero value otherwise.

GetPortalIdOk

func (o *LanNetworkQueryOpenApiVO) GetPortalIdOk() (*string, bool)

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

SetPortalId

func (o *LanNetworkQueryOpenApiVO) SetPortalId(v string)

SetPortalId sets PortalId field to given value.

HasPortalId

func (o *LanNetworkQueryOpenApiVO) HasPortalId() bool

HasPortalId returns a boolean if a field has been set.

GetPortalName

func (o *LanNetworkQueryOpenApiVO) GetPortalName() string

GetPortalName returns the PortalName field if non-nil, zero value otherwise.

GetPortalNameOk

func (o *LanNetworkQueryOpenApiVO) GetPortalNameOk() (*string, bool)

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

SetPortalName

func (o *LanNetworkQueryOpenApiVO) SetPortalName(v string)

SetPortalName sets PortalName field to given value.

HasPortalName

func (o *LanNetworkQueryOpenApiVO) HasPortalName() bool

HasPortalName returns a boolean if a field has been set.

GetPrimary

func (o *LanNetworkQueryOpenApiVO) GetPrimary() bool

GetPrimary returns the Primary field if non-nil, zero value otherwise.

GetPrimaryOk

func (o *LanNetworkQueryOpenApiVO) GetPrimaryOk() (*bool, bool)

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

SetPrimary

func (o *LanNetworkQueryOpenApiVO) SetPrimary(v bool)

SetPrimary sets Primary field to given value.

HasPrimary

func (o *LanNetworkQueryOpenApiVO) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

GetPurpose

func (o *LanNetworkQueryOpenApiVO) GetPurpose() int32

GetPurpose returns the Purpose field if non-nil, zero value otherwise.

GetPurposeOk

func (o *LanNetworkQueryOpenApiVO) GetPurposeOk() (*int32, bool)

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

SetPurpose

func (o *LanNetworkQueryOpenApiVO) SetPurpose(v int32)

SetPurpose sets Purpose field to given value.

GetQosQueueEnable

func (o *LanNetworkQueryOpenApiVO) GetQosQueueEnable() bool

GetQosQueueEnable returns the QosQueueEnable field if non-nil, zero value otherwise.

GetQosQueueEnableOk

func (o *LanNetworkQueryOpenApiVO) GetQosQueueEnableOk() (*bool, bool)

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

SetQosQueueEnable

func (o *LanNetworkQueryOpenApiVO) SetQosQueueEnable(v bool)

SetQosQueueEnable sets QosQueueEnable field to given value.

HasQosQueueEnable

func (o *LanNetworkQueryOpenApiVO) HasQosQueueEnable() bool

HasQosQueueEnable returns a boolean if a field has been set.

GetQueueId

func (o *LanNetworkQueryOpenApiVO) GetQueueId() int32

GetQueueId returns the QueueId field if non-nil, zero value otherwise.

GetQueueIdOk

func (o *LanNetworkQueryOpenApiVO) GetQueueIdOk() (*int32, bool)

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

SetQueueId

func (o *LanNetworkQueryOpenApiVO) SetQueueId(v int32)

SetQueueId sets QueueId field to given value.

HasQueueId

func (o *LanNetworkQueryOpenApiVO) HasQueueId() bool

HasQueueId returns a boolean if a field has been set.

GetRateLimit

func (o *LanNetworkQueryOpenApiVO) GetRateLimit() bool

GetRateLimit returns the RateLimit field if non-nil, zero value otherwise.

GetRateLimitOk

func (o *LanNetworkQueryOpenApiVO) GetRateLimitOk() (*bool, bool)

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

SetRateLimit

func (o *LanNetworkQueryOpenApiVO) SetRateLimit(v bool)

SetRateLimit sets RateLimit field to given value.

HasRateLimit

func (o *LanNetworkQueryOpenApiVO) HasRateLimit() bool

HasRateLimit returns a boolean if a field has been set.

GetVlan

func (o *LanNetworkQueryOpenApiVO) GetVlan() int32

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

GetVlanOk

func (o *LanNetworkQueryOpenApiVO) 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 *LanNetworkQueryOpenApiVO) SetVlan(v int32)

SetVlan sets Vlan field to given value.

HasVlan

func (o *LanNetworkQueryOpenApiVO) HasVlan() bool

HasVlan returns a boolean if a field has been set.

GetVlanType

func (o *LanNetworkQueryOpenApiVO) GetVlanType() int32

GetVlanType returns the VlanType field if non-nil, zero value otherwise.

GetVlanTypeOk

func (o *LanNetworkQueryOpenApiVO) GetVlanTypeOk() (*int32, bool)

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

SetVlanType

func (o *LanNetworkQueryOpenApiVO) SetVlanType(v int32)

SetVlanType sets VlanType field to given value.

HasVlanType

func (o *LanNetworkQueryOpenApiVO) HasVlanType() bool

HasVlanType returns a boolean if a field has been set.

GetVlans

func (o *LanNetworkQueryOpenApiVO) GetVlans() string

GetVlans returns the Vlans field if non-nil, zero value otherwise.

GetVlansOk

func (o *LanNetworkQueryOpenApiVO) GetVlansOk() (*string, bool)

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

SetVlans

func (o *LanNetworkQueryOpenApiVO) SetVlans(v string)

SetVlans sets Vlans field to given value.

HasVlans

func (o *LanNetworkQueryOpenApiVO) HasVlans() bool

HasVlans returns a boolean if a field has been set.

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