Package com.exoscale.sdk.model
Class DnsDomainRecord
- java.lang.Object
-
- com.exoscale.sdk.model.DnsDomainRecord
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DnsDomainRecord extends Object
DNS domain record
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DnsDomainRecord.TypeEnum
DNS domain record type
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_CONTENT
static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PRIORITY
static String
JSON_PROPERTY_TTL
static String
JSON_PROPERTY_TYPE
static String
JSON_PROPERTY_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description DnsDomainRecord()
DnsDomainRecord(UUID id, OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsDomainRecord
content(String content)
boolean
equals(Object o)
Return true if this dns-domain-record object is equal to o.String
getContent()
DNS domain record contentOffsetDateTime
getCreatedAt()
DNS domain record creation dateUUID
getId()
DNS domain record IDString
getName()
DNS domain record nameLong
getPriority()
DNS domain record priority minimum: 0Long
getTtl()
DNS domain record TTL minimum: 0DnsDomainRecord.TypeEnum
getType()
DNS domain record typeOffsetDateTime
getUpdatedAt()
DNS domain record update dateint
hashCode()
DnsDomainRecord
name(String name)
DnsDomainRecord
priority(Long priority)
void
setContent(String content)
void
setName(String name)
void
setPriority(Long priority)
void
setTtl(Long ttl)
void
setType(DnsDomainRecord.TypeEnum type)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.DnsDomainRecord
ttl(Long ttl)
DnsDomainRecord
type(DnsDomainRecord.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TTL
public static final String JSON_PROPERTY_TTL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DnsDomainRecord
public DnsDomainRecord()
-
DnsDomainRecord
public DnsDomainRecord(UUID id, OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
-
Method Detail
-
getId
@Nullable public UUID getId()
DNS domain record ID- Returns:
- id
-
priority
public DnsDomainRecord priority(Long priority)
-
getPriority
@Nullable public Long getPriority()
DNS domain record priority minimum: 0- Returns:
- priority
-
setPriority
public void setPriority(Long priority)
-
content
public DnsDomainRecord content(String content)
-
getContent
@Nullable public String getContent()
DNS domain record content- Returns:
- content
-
setContent
public void setContent(String content)
-
type
public DnsDomainRecord type(DnsDomainRecord.TypeEnum type)
-
getType
@Nullable public DnsDomainRecord.TypeEnum getType()
DNS domain record type- Returns:
- type
-
setType
public void setType(DnsDomainRecord.TypeEnum type)
-
ttl
public DnsDomainRecord ttl(Long ttl)
-
getTtl
@Nullable public Long getTtl()
DNS domain record TTL minimum: 0- Returns:
- ttl
-
setTtl
public void setTtl(Long ttl)
-
name
public DnsDomainRecord name(String name)
-
getName
@Nullable public String getName()
DNS domain record name- Returns:
- name
-
setName
public void setName(String name)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
DNS domain record creation date- Returns:
- createdAt
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
DNS domain record update date- Returns:
- updatedAt
-
equals
public boolean equals(Object o)
Return true if this dns-domain-record object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-