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