@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class DNSLookupOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DNSLookupOptions.CustomTypeAdapterFactory |
static class |
DNSLookupOptions.RecordTypesEnum
Domain Name Server Record Types
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_HOSTNAME |
static String |
SERIALIZED_NAME_OMIT_FINAL_D_N_S_DOT |
static String |
SERIALIZED_NAME_RECORD_TYPES |
Constructor and Description |
---|
DNSLookupOptions() |
Modifier and Type | Method and Description |
---|---|
DNSLookupOptions |
addRecordTypesItem(DNSLookupOptions.RecordTypesEnum recordTypesItem) |
boolean |
equals(Object o) |
static DNSLookupOptions |
fromJson(String jsonString)
Create an instance of DNSLookupOptions given an JSON string
|
String |
getHostname()
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
|
Boolean |
getOmitFinalDNSDot()
Optionally control whether to omit the final dot in full DNS name values.
|
List<DNSLookupOptions.RecordTypesEnum> |
getRecordTypes()
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
|
int |
hashCode() |
DNSLookupOptions |
hostname(String hostname) |
DNSLookupOptions |
omitFinalDNSDot(Boolean omitFinalDNSDot) |
DNSLookupOptions |
recordTypes(List<DNSLookupOptions.RecordTypesEnum> recordTypes) |
void |
setHostname(String hostname) |
void |
setOmitFinalDNSDot(Boolean omitFinalDNSDot) |
void |
setRecordTypes(List<DNSLookupOptions.RecordTypesEnum> recordTypes) |
String |
toJson()
Convert an instance of DNSLookupOptions 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_HOSTNAME
public static final String SERIALIZED_NAME_RECORD_TYPES
public static final String SERIALIZED_NAME_OMIT_FINAL_D_N_S_DOT
public DNSLookupOptions hostname(String hostname)
@Nonnull public String getHostname()
public void setHostname(String hostname)
public DNSLookupOptions recordTypes(List<DNSLookupOptions.RecordTypesEnum> recordTypes)
public DNSLookupOptions addRecordTypesItem(DNSLookupOptions.RecordTypesEnum recordTypesItem)
@Nonnull public List<DNSLookupOptions.RecordTypesEnum> getRecordTypes()
public void setRecordTypes(List<DNSLookupOptions.RecordTypesEnum> recordTypes)
public DNSLookupOptions omitFinalDNSDot(Boolean omitFinalDNSDot)
@Nonnull public Boolean getOmitFinalDNSDot()
public void setOmitFinalDNSDot(Boolean omitFinalDNSDot)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to DNSLookupOptionspublic static DNSLookupOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to DNSLookupOptionspublic String toJson()
Copyright © 2023. All rights reserved.