Class Address
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Address
@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 Address
extends Object
Address
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AddressCreate an instance of Address given an JSON stringgetAddr()Get addrGet prefixLengthinthashCode()prefixLength(Long prefixLength) voidvoidsetPrefixLength(Long prefixLength) toJson()Convert an instance of Address 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_ADDR
- See Also:
-
SERIALIZED_NAME_PREFIX_LENGTH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Address
public Address()
-
-
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 Address
-
fromJson
Create an instance of Address given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Address
- Throws:
IOException- if the JSON string is invalid with respect to Address
-
addr
-
getAddr
Get addr- Returns:
- addr
-
setAddr
-
prefixLength
-
getPrefixLength
Get prefixLength- Returns:
- prefixLength
-
setPrefixLength
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of Address to an JSON string- Returns:
- JSON string
-