public final class TemplateContents
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 Google Cloud Deployment Manager Alpha 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 |
|---|
TemplateContents() |
| Modifier and Type | Method and Description |
|---|---|
TemplateContents |
clone() |
java.util.List<ImportFile> |
getImports()
Import files referenced by the main template.
|
java.lang.String |
getInterpreter()
Which interpreter (python or jinja) should be used during expansion.
|
java.lang.String |
getMainTemplate()
The filename of the mainTemplate
|
java.lang.String |
getSchema()
The contents of the template schema.
|
java.lang.String |
getTemplate()
The contents of the main template file.
|
TemplateContents |
set(java.lang.String fieldName,
java.lang.Object value) |
TemplateContents |
setImports(java.util.List<ImportFile> imports)
Import files referenced by the main template.
|
TemplateContents |
setInterpreter(java.lang.String interpreter)
Which interpreter (python or jinja) should be used during expansion.
|
TemplateContents |
setMainTemplate(java.lang.String mainTemplate)
The filename of the mainTemplate
|
TemplateContents |
setSchema(java.lang.String schema)
The contents of the template schema.
|
TemplateContents |
setTemplate(java.lang.String template)
The contents of the main template file.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<ImportFile> getImports()
null for nonepublic TemplateContents setImports(java.util.List<ImportFile> imports)
imports - imports or null for nonepublic java.lang.String getInterpreter()
null for nonepublic TemplateContents setInterpreter(java.lang.String interpreter)
interpreter - interpreter or null for nonepublic java.lang.String getMainTemplate()
null for nonepublic TemplateContents setMainTemplate(java.lang.String mainTemplate)
mainTemplate - mainTemplate or null for nonepublic java.lang.String getSchema()
null for nonepublic TemplateContents setSchema(java.lang.String schema)
schema - schema or null for nonepublic java.lang.String getTemplate()
null for nonepublic TemplateContents setTemplate(java.lang.String template)
template - template or null for nonepublic TemplateContents set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TemplateContents clone()
clone in class com.google.api.client.json.GenericJson