@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class IPAddressResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IPAddressResult.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS |
static String |
SERIALIZED_NAME_HOSTNAME |
Constructor and Description |
---|
IPAddressResult() |
Modifier and Type | Method and Description |
---|---|
IPAddressResult |
address(String address) |
boolean |
equals(Object o) |
static IPAddressResult |
fromJson(String jsonString)
Create an instance of IPAddressResult given an JSON string
|
String |
getAddress()
Get address
|
String |
getHostname()
Get hostname
|
int |
hashCode() |
IPAddressResult |
hostname(String hostname) |
void |
setAddress(String address) |
void |
setHostname(String hostname) |
String |
toJson()
Convert an instance of IPAddressResult to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_HOSTNAME
public IPAddressResult address(String address)
public void setAddress(String address)
public IPAddressResult hostname(String hostname)
public void setHostname(String hostname)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to IPAddressResultpublic static IPAddressResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to IPAddressResultpublic String toJson()
Copyright © 2023. All rights reserved.