@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class DNSLookupResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DNSLookupResult.CustomTypeAdapterFactory |
static class |
DNSLookupResult.RecordTypeEnum
Domain Name Server Record Types
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_RECORD_ENTRIES |
static String |
SERIALIZED_NAME_RECORD_TYPE |
static String |
SERIALIZED_NAME_TTL |
Constructor and Description |
---|
DNSLookupResult() |
Modifier and Type | Method and Description |
---|---|
DNSLookupResult |
addRecordEntriesItem(String recordEntriesItem) |
boolean |
equals(Object o) |
static DNSLookupResult |
fromJson(String jsonString)
Create an instance of DNSLookupResult given an JSON string
|
String |
getName()
Get name
|
List<String> |
getRecordEntries()
Get recordEntries
|
DNSLookupResult.RecordTypeEnum |
getRecordType()
Domain Name Server Record Types
|
Long |
getTtl()
Get ttl
|
int |
hashCode() |
DNSLookupResult |
name(String name) |
DNSLookupResult |
recordEntries(List<String> recordEntries) |
DNSLookupResult |
recordType(DNSLookupResult.RecordTypeEnum recordType) |
void |
setName(String name) |
void |
setRecordEntries(List<String> recordEntries) |
void |
setRecordType(DNSLookupResult.RecordTypeEnum recordType) |
void |
setTtl(Long ttl) |
String |
toJson()
Convert an instance of DNSLookupResult to an JSON string
|
String |
toString() |
DNSLookupResult |
ttl(Long ttl) |
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_RECORD_TYPE
public static final String SERIALIZED_NAME_TTL
public static final String SERIALIZED_NAME_RECORD_ENTRIES
public static final String SERIALIZED_NAME_NAME
public DNSLookupResult recordType(DNSLookupResult.RecordTypeEnum recordType)
@Nonnull public DNSLookupResult.RecordTypeEnum getRecordType()
public void setRecordType(DNSLookupResult.RecordTypeEnum recordType)
public DNSLookupResult ttl(Long ttl)
public void setTtl(Long ttl)
public DNSLookupResult recordEntries(List<String> recordEntries)
public DNSLookupResult addRecordEntriesItem(String recordEntriesItem)
@Nonnull public List<String> getRecordEntries()
public DNSLookupResult name(String name)
public void setName(String name)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to DNSLookupResultpublic static DNSLookupResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to DNSLookupResultpublic String toJson()
Copyright © 2023. All rights reserved.