public class DNSRecord extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
content
The content of this record like in a zone file
|
private com.google.gson.JsonObject |
data
Additional data about this record for SRV records
|
private String |
name
Name of this record like in a zone file
|
private boolean |
proxied
Whether the record should be proxied by CLoudFlare
|
private int |
ttl
The "Time-to-live" for this record
|
private String |
type
The type of this record.
|
| Constructor and Description |
|---|
DNSRecord(String type,
String name,
String content,
int ttl,
boolean proxied,
com.google.gson.JsonObject data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent() |
com.google.gson.JsonObject |
getData() |
String |
getName() |
int |
getTtl() |
String |
getType() |
boolean |
isProxied() |
private String type
private String name
private String content
private int ttl
private boolean proxied
private com.google.gson.JsonObject data
Copyright © 2020. All rights reserved.