public final class ResourceRecord
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the App Engine Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ResourceRecord() |
Modifier and Type | Method and Description |
---|---|
ResourceRecord |
clone() |
java.lang.String |
getName()
Relative name of the object affected by this record.
|
java.lang.String |
getRrdata()
Data for this record.
|
java.lang.String |
getType()
Resource record type.
|
ResourceRecord |
set(java.lang.String fieldName,
java.lang.Object value) |
ResourceRecord |
setName(java.lang.String name)
Relative name of the object affected by this record.
|
ResourceRecord |
setRrdata(java.lang.String rrdata)
Data for this record.
|
ResourceRecord |
setType(java.lang.String type)
Resource record type.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getName()
null
for nonepublic ResourceRecord setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getRrdata()
null
for nonepublic ResourceRecord setRrdata(java.lang.String rrdata)
rrdata
- rrdata or null
for nonepublic java.lang.String getType()
null
for nonepublic ResourceRecord setType(java.lang.String type)
type
- type or null
for nonepublic ResourceRecord set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ResourceRecord clone()
clone
in class com.google.api.client.json.GenericJson