public final class TypeInfo
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 Cloud Deployment Manager V2 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TypeInfo() |
Modifier and Type | Method and Description |
---|---|
TypeInfo |
clone() |
String |
getDescription()
The description of the type.
|
String |
getDocumentationLink()
For swagger 2.0 externalDocs field will be used.
|
String |
getKind()
Output only.
|
String |
getName()
The base type or composite type name.
|
TypeInfoSchemaInfo |
getSchema()
For base types with a collection, we return a schema and documentation link For template types,
we return only a schema
|
String |
getSelfLink()
Output only.
|
String |
getTitle()
The title on the API descriptor URL provided.
|
TypeInfo |
set(String fieldName,
Object value) |
TypeInfo |
setDescription(String description)
The description of the type.
|
TypeInfo |
setDocumentationLink(String documentationLink)
For swagger 2.0 externalDocs field will be used.
|
TypeInfo |
setKind(String kind)
Output only.
|
TypeInfo |
setName(String name)
The base type or composite type name.
|
TypeInfo |
setSchema(TypeInfoSchemaInfo schema)
For base types with a collection, we return a schema and documentation link For template types,
we return only a schema
|
TypeInfo |
setSelfLink(String selfLink)
Output only.
|
TypeInfo |
setTitle(String title)
The title on the API descriptor URL provided.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDescription()
null
for nonepublic TypeInfo setDescription(String description)
description
- description or null
for nonepublic String getDocumentationLink()
null
for nonepublic TypeInfo setDocumentationLink(String documentationLink)
documentationLink
- documentationLink or null
for nonepublic String getKind()
null
for nonepublic TypeInfo setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic TypeInfo setName(String name)
name
- name or null
for nonepublic TypeInfoSchemaInfo getSchema()
null
for nonepublic TypeInfo setSchema(TypeInfoSchemaInfo schema)
schema
- schema or null
for nonepublic String getSelfLink()
null
for nonepublic TypeInfo setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getTitle()
null
for nonepublic TypeInfo setTitle(String title)
title
- title or null
for nonepublic TypeInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TypeInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.