public final class Schema
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 Admin Directory 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 |
---|
Schema() |
Modifier and Type | Method and Description |
---|---|
Schema |
clone() |
java.lang.String |
getDisplayName()
Display name for the schema.
|
java.lang.String |
getEtag()
ETag of the resource.
|
java.util.List<SchemaFieldSpec> |
getFields()
Fields of Schema
|
java.lang.String |
getKind()
Kind of resource this is.
|
java.lang.String |
getSchemaId()
Unique identifier of Schema (Read-only)
|
java.lang.String |
getSchemaName()
Schema name
|
Schema |
set(java.lang.String fieldName,
java.lang.Object value) |
Schema |
setDisplayName(java.lang.String displayName)
Display name for the schema.
|
Schema |
setEtag(java.lang.String etag)
ETag of the resource.
|
Schema |
setFields(java.util.List<SchemaFieldSpec> fields)
Fields of Schema
|
Schema |
setKind(java.lang.String kind)
Kind of resource this is.
|
Schema |
setSchemaId(java.lang.String schemaId)
Unique identifier of Schema (Read-only)
|
Schema |
setSchemaName(java.lang.String schemaName)
Schema name
|
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 getDisplayName()
null
for nonepublic Schema setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Schema setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.util.List<SchemaFieldSpec> getFields()
null
for nonepublic Schema setFields(java.util.List<SchemaFieldSpec> fields)
fields
- fields or null
for nonepublic java.lang.String getKind()
null
for nonepublic Schema setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getSchemaId()
null
for nonepublic Schema setSchemaId(java.lang.String schemaId)
schemaId
- schemaId or null
for nonepublic java.lang.String getSchemaName()
null
for nonepublic Schema setSchemaName(java.lang.String schemaName)
schemaName
- schemaName or null
for nonepublic Schema set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Schema clone()
clone
in class com.google.api.client.json.GenericJson