Class Subnet
java.lang.Object
com.woorea.openstack.quantum.model.Subnet
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SubnetForCreate
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCidr()getGw()getId()getList()getName()booleanvoidvoidsetDnsNames(List<String> dnsNames) voidsetEnableDHCP(Boolean enableDHCP) voidvoidsetHostRoutes(List<String> hostRoutes) voidvoidsetIpversion(Subnet.IpVersion ipversion) voidvoidvoidsetNetworkId(String networkId) voidsetTenantId(String tenantId) toString()
-
Field Details
-
name
-
enableDHCP
-
networkId
-
tenantId
-
dnsNames
-
list
-
hostRoutes
-
ipversion
-
gw
-
cidr
-
id
-
-
Constructor Details
-
Subnet
public Subnet()
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
isEnableDHCP
public boolean isEnableDHCP()- Returns:
- the enableDHCP
-
getEnableDHCP
-
setEnableDHCP
- Parameters:
enableDHCP- the enableDHCP to set
-
getNetworkId
- Returns:
- the networkId
-
setNetworkId
- Parameters:
networkId- the networkId to set
-
getTenantId
- Returns:
- the tenantId
-
setTenantId
- Parameters:
tenantId- the tenantId to set
-
getDnsNames
- Returns:
- the dnsNames
-
setDnsNames
- Parameters:
dnsNames- the dnsNames to set
-
getList
- Returns:
- the list
-
setList
- Parameters:
list- the list to set
-
getHostRoutes
- Returns:
- the hostRoutes
-
setHostRoutes
- Parameters:
hostRoutes- the hostRoutes to set
-
getIpversion
- Returns:
- the ipversion
-
setIpversion
- Parameters:
ipversion- the ipversion to set
-
getGw
- Returns:
- the gw
-
setGw
- Parameters:
gw- the gw to set
-
getCidr
- Returns:
- the cidr
-
setCidr
- Parameters:
cidr- the cidr to set
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
toString
-