@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class NameServerRecord extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NameServerRecord.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_PRIORITY |
static String |
SERIALIZED_NAME_RAW |
static String |
SERIALIZED_NAME_RECORD_TYPE |
static String |
SERIALIZED_NAME_VALUE |
Constructor and Description |
---|
NameServerRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static NameServerRecord |
fromJson(String jsonString)
Create an instance of NameServerRecord given an JSON string
|
String |
getPriority()
Get priority
|
String |
getRaw()
Get raw
|
String |
getRecordType()
Get recordType
|
String |
getValue()
Get value
|
int |
hashCode() |
NameServerRecord |
priority(String priority) |
NameServerRecord |
raw(String raw) |
NameServerRecord |
recordType(String recordType) |
void |
setPriority(String priority) |
void |
setRaw(String raw) |
void |
setRecordType(String recordType) |
void |
setValue(String value) |
String |
toJson()
Convert an instance of NameServerRecord 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
|
NameServerRecord |
value(String value) |
public static final String SERIALIZED_NAME_RAW
public static final String SERIALIZED_NAME_RECORD_TYPE
public static final String SERIALIZED_NAME_PRIORITY
public static final String SERIALIZED_NAME_VALUE
public NameServerRecord raw(String raw)
public void setRaw(String raw)
public NameServerRecord recordType(String recordType)
public void setRecordType(String recordType)
public NameServerRecord priority(String priority)
public void setPriority(String priority)
public NameServerRecord value(String value)
public void setValue(String value)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to NameServerRecordpublic static NameServerRecord fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to NameServerRecordpublic String toJson()
Copyright © 2023. All rights reserved.