LanNetworkTemplateOpenApiVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| 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 should be a value as follows: 0: Gateway and Switch; 1: Switch | [optional] |
| DhcpGuard | Pointer to DhcpServersSetting | [optional] | |
| DhcpL2RelayEnable | Pointer to bool | The switch of DHCP L2 relay | [optional] |
| DhcpSettingsVO | Pointer to DhcpSettingsConfigTemplateOpenApiVO | [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] |
| IgmpSnoopEnable | bool | Enable IGMP snooping | |
| InterfaceIds | Pointer to []string | Gateway LAN port IDs, which are acquired from \"Check WAN/LAN status\" | [optional] |
| LanNeworkIpv6Config | Pointer to LanNetworkIpv6ConfigTemplateOpenApiVO | [optional] | |
| MldSnoopEnable | Pointer to bool | Enable MLD snooping | [optional] |
| Name | string | LAN network name should contain 1 to 128 characters. | |
| Purpose | int32 | LAN network purpose should be a value as follows: 0: VLAN; 1: interface | |
| Vlan | Pointer to int32 | Only Valid when vlanType is 0. Vlan should be within the range of 1-4094. | [optional] |
| VlanType | Pointer to int32 | When purpose is interface, VLANType should be a value as follows: 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
NewLanNetworkTemplateOpenApiVO
func NewLanNetworkTemplateOpenApiVO(igmpSnoopEnable bool, name string, purpose int32, ) *LanNetworkTemplateOpenApiVO
NewLanNetworkTemplateOpenApiVO instantiates a new LanNetworkTemplateOpenApiVO 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
NewLanNetworkTemplateOpenApiVOWithDefaults
func NewLanNetworkTemplateOpenApiVOWithDefaults() *LanNetworkTemplateOpenApiVO
NewLanNetworkTemplateOpenApiVOWithDefaults instantiates a new LanNetworkTemplateOpenApiVO 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
GetAllLan
func (o *LanNetworkTemplateOpenApiVO) GetAllLan() bool
GetAllLan returns the AllLan field if non-nil, zero value otherwise.
GetAllLanOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetAllLan(v bool)
SetAllLan sets AllLan field to given value.
HasAllLan
func (o *LanNetworkTemplateOpenApiVO) HasAllLan() bool
HasAllLan returns a boolean if a field has been set.
GetApplication
func (o *LanNetworkTemplateOpenApiVO) GetApplication() int32
GetApplication returns the Application field if non-nil, zero value otherwise.
GetApplicationOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetApplication(v int32)
SetApplication sets Application field to given value.
HasApplication
func (o *LanNetworkTemplateOpenApiVO) HasApplication() bool
HasApplication returns a boolean if a field has been set.
GetDhcpGuard
func (o *LanNetworkTemplateOpenApiVO) GetDhcpGuard() DhcpServersSetting
GetDhcpGuard returns the DhcpGuard field if non-nil, zero value otherwise.
GetDhcpGuardOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetDhcpGuard(v DhcpServersSetting)
SetDhcpGuard sets DhcpGuard field to given value.
HasDhcpGuard
func (o *LanNetworkTemplateOpenApiVO) HasDhcpGuard() bool
HasDhcpGuard returns a boolean if a field has been set.
GetDhcpL2RelayEnable
func (o *LanNetworkTemplateOpenApiVO) GetDhcpL2RelayEnable() bool
GetDhcpL2RelayEnable returns the DhcpL2RelayEnable field if non-nil, zero value otherwise.
GetDhcpL2RelayEnableOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetDhcpL2RelayEnable(v bool)
SetDhcpL2RelayEnable sets DhcpL2RelayEnable field to given value.
HasDhcpL2RelayEnable
func (o *LanNetworkTemplateOpenApiVO) HasDhcpL2RelayEnable() bool
HasDhcpL2RelayEnable returns a boolean if a field has been set.
GetDhcpSettingsVO
func (o *LanNetworkTemplateOpenApiVO) GetDhcpSettingsVO() DhcpSettingsConfigTemplateOpenApiVO
GetDhcpSettingsVO returns the DhcpSettingsVO field if non-nil, zero value otherwise.
GetDhcpSettingsVOOk
func (o *LanNetworkTemplateOpenApiVO) GetDhcpSettingsVOOk() (*DhcpSettingsConfigTemplateOpenApiVO, 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 *LanNetworkTemplateOpenApiVO) SetDhcpSettingsVO(v DhcpSettingsConfigTemplateOpenApiVO)
SetDhcpSettingsVO sets DhcpSettingsVO field to given value.
HasDhcpSettingsVO
func (o *LanNetworkTemplateOpenApiVO) HasDhcpSettingsVO() bool
HasDhcpSettingsVO returns a boolean if a field has been set.
GetDhcpv6Guard
func (o *LanNetworkTemplateOpenApiVO) GetDhcpv6Guard() Dhcpv6ServersSetting
GetDhcpv6Guard returns the Dhcpv6Guard field if non-nil, zero value otherwise.
GetDhcpv6GuardOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetDhcpv6Guard(v Dhcpv6ServersSetting)
SetDhcpv6Guard sets Dhcpv6Guard field to given value.
HasDhcpv6Guard
func (o *LanNetworkTemplateOpenApiVO) HasDhcpv6Guard() bool
HasDhcpv6Guard returns a boolean if a field has been set.
GetDomain
func (o *LanNetworkTemplateOpenApiVO) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
GetDomainOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetDomain(v string)
SetDomain sets Domain field to given value.
HasDomain
func (o *LanNetworkTemplateOpenApiVO) HasDomain() bool
HasDomain returns a boolean if a field has been set.
GetGatewaySubnet
func (o *LanNetworkTemplateOpenApiVO) GetGatewaySubnet() string
GetGatewaySubnet returns the GatewaySubnet field if non-nil, zero value otherwise.
GetGatewaySubnetOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetGatewaySubnet(v string)
SetGatewaySubnet sets GatewaySubnet field to given value.
HasGatewaySubnet
func (o *LanNetworkTemplateOpenApiVO) HasGatewaySubnet() bool
HasGatewaySubnet returns a boolean if a field has been set.
GetIgmpSnoopEnable
func (o *LanNetworkTemplateOpenApiVO) GetIgmpSnoopEnable() bool
GetIgmpSnoopEnable returns the IgmpSnoopEnable field if non-nil, zero value otherwise.
GetIgmpSnoopEnableOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetIgmpSnoopEnable(v bool)
SetIgmpSnoopEnable sets IgmpSnoopEnable field to given value.
GetInterfaceIds
func (o *LanNetworkTemplateOpenApiVO) GetInterfaceIds() []string
GetInterfaceIds returns the InterfaceIds field if non-nil, zero value otherwise.
GetInterfaceIdsOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetInterfaceIds(v []string)
SetInterfaceIds sets InterfaceIds field to given value.
HasInterfaceIds
func (o *LanNetworkTemplateOpenApiVO) HasInterfaceIds() bool
HasInterfaceIds returns a boolean if a field has been set.
GetLanNeworkIpv6Config
func (o *LanNetworkTemplateOpenApiVO) GetLanNeworkIpv6Config() LanNetworkIpv6ConfigTemplateOpenApiVO
GetLanNeworkIpv6Config returns the LanNeworkIpv6Config field if non-nil, zero value otherwise.
GetLanNeworkIpv6ConfigOk
func (o *LanNetworkTemplateOpenApiVO) GetLanNeworkIpv6ConfigOk() (*LanNetworkIpv6ConfigTemplateOpenApiVO, 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 *LanNetworkTemplateOpenApiVO) SetLanNeworkIpv6Config(v LanNetworkIpv6ConfigTemplateOpenApiVO)
SetLanNeworkIpv6Config sets LanNeworkIpv6Config field to given value.
HasLanNeworkIpv6Config
func (o *LanNetworkTemplateOpenApiVO) HasLanNeworkIpv6Config() bool
HasLanNeworkIpv6Config returns a boolean if a field has been set.
GetMldSnoopEnable
func (o *LanNetworkTemplateOpenApiVO) GetMldSnoopEnable() bool
GetMldSnoopEnable returns the MldSnoopEnable field if non-nil, zero value otherwise.
GetMldSnoopEnableOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetMldSnoopEnable(v bool)
SetMldSnoopEnable sets MldSnoopEnable field to given value.
HasMldSnoopEnable
func (o *LanNetworkTemplateOpenApiVO) HasMldSnoopEnable() bool
HasMldSnoopEnable returns a boolean if a field has been set.
GetName
func (o *LanNetworkTemplateOpenApiVO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetName(v string)
SetName sets Name field to given value.
GetPurpose
func (o *LanNetworkTemplateOpenApiVO) GetPurpose() int32
GetPurpose returns the Purpose field if non-nil, zero value otherwise.
GetPurposeOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetPurpose(v int32)
SetPurpose sets Purpose field to given value.
GetVlan
func (o *LanNetworkTemplateOpenApiVO) GetVlan() int32
GetVlan returns the Vlan field if non-nil, zero value otherwise.
GetVlanOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetVlan(v int32)
SetVlan sets Vlan field to given value.
HasVlan
func (o *LanNetworkTemplateOpenApiVO) HasVlan() bool
HasVlan returns a boolean if a field has been set.
GetVlanType
func (o *LanNetworkTemplateOpenApiVO) GetVlanType() int32
GetVlanType returns the VlanType field if non-nil, zero value otherwise.
GetVlanTypeOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetVlanType(v int32)
SetVlanType sets VlanType field to given value.
HasVlanType
func (o *LanNetworkTemplateOpenApiVO) HasVlanType() bool
HasVlanType returns a boolean if a field has been set.
GetVlans
func (o *LanNetworkTemplateOpenApiVO) GetVlans() string
GetVlans returns the Vlans field if non-nil, zero value otherwise.
GetVlansOk
func (o *LanNetworkTemplateOpenApiVO) 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 *LanNetworkTemplateOpenApiVO) SetVlans(v string)
SetVlans sets Vlans field to given value.
HasVlans
func (o *LanNetworkTemplateOpenApiVO) HasVlans() bool
HasVlans returns a boolean if a field has been set.