Class IPAMConfig
java.lang.Object
io.github.alersrt.pod4j.openapi.model.IPAMConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class IPAMConfig
extends Object
IPAMConfig represents IPAM configurations
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauxiliaryAddresses(Map<String, String> auxiliaryAddresses) booleanstatic IPAMConfigCreate an instance of IPAMConfig given an JSON stringGet auxiliaryAddressesGet gatewayGet ipRangeGet subnetinthashCode()putAuxiliaryAddressesItem(String key, String auxiliaryAddressesItem) voidsetAuxiliaryAddresses(Map<String, String> auxiliaryAddresses) voidsetGateway(String gateway) voidsetIpRange(String ipRange) voidtoJson()Convert an instance of IPAMConfig to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AUXILIARY_ADDRESSES
- See Also:
-
SERIALIZED_NAME_GATEWAY
- See Also:
-
SERIALIZED_NAME_IP_RANGE
- See Also:
-
SERIALIZED_NAME_SUBNET
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
IPAMConfig
public IPAMConfig()
-
-
Method Details
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to IPAMConfig
-
fromJson
Create an instance of IPAMConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IPAMConfig
- Throws:
IOException- if the JSON string is invalid with respect to IPAMConfig
-
auxiliaryAddresses
-
putAuxiliaryAddressesItem
-
getAuxiliaryAddresses
Get auxiliaryAddresses- Returns:
- auxiliaryAddresses
-
setAuxiliaryAddresses
-
gateway
-
getGateway
Get gateway- Returns:
- gateway
-
setGateway
-
ipRange
-
getIpRange
Get ipRange- Returns:
- ipRange
-
setIpRange
-
subnet
-
getSubnet
Get subnet- Returns:
- subnet
-
setSubnet
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of IPAMConfig to an JSON string- Returns:
- JSON string
-