@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class DomainNameRecord extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DomainNameRecord.CustomTypeAdapterFactory |
static class |
DomainNameRecord.LabelEnum
Domain Name Server Record Label
|
static class |
DomainNameRecord.RecordTypeEnum
Domain Name Server Record Types
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LABEL |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_RECORD_ENTRIES |
static String |
SERIALIZED_NAME_RECORD_TYPE |
static String |
SERIALIZED_NAME_REQUIRED |
static String |
SERIALIZED_NAME_TTL |
Constructor and Description |
---|
DomainNameRecord() |
public static final String SERIALIZED_NAME_LABEL
public static final String SERIALIZED_NAME_REQUIRED
public static final String SERIALIZED_NAME_RECORD_TYPE
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_RECORD_ENTRIES
public static final String SERIALIZED_NAME_TTL
public DomainNameRecord label(DomainNameRecord.LabelEnum label)
@Nonnull public DomainNameRecord.LabelEnum getLabel()
public void setLabel(DomainNameRecord.LabelEnum label)
public DomainNameRecord required(Boolean required)
public void setRequired(Boolean required)
public DomainNameRecord recordType(DomainNameRecord.RecordTypeEnum recordType)
@Nonnull public DomainNameRecord.RecordTypeEnum getRecordType()
public void setRecordType(DomainNameRecord.RecordTypeEnum recordType)
public DomainNameRecord name(String name)
public void setName(String name)
public DomainNameRecord recordEntries(List<String> recordEntries)
public DomainNameRecord addRecordEntriesItem(String recordEntriesItem)
@Nonnull public List<String> getRecordEntries()
public DomainNameRecord ttl(Long ttl)
public void setTtl(Long ttl)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to DomainNameRecordpublic static DomainNameRecord fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to DomainNameRecordpublic String toJson()
Copyright © 2023. All rights reserved.