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 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 |
---|
TemplateContents() |
Modifier and Type | Method and Description |
---|---|
TemplateContents |
clone() |
List<ImportFile> |
getImports()
Import files referenced by the main template.
|
String |
getInterpreter()
Which interpreter (python or jinja) should be used during expansion.
|
String |
getMainTemplate()
The filename of the mainTemplate
|
String |
getSchema()
The contents of the template schema.
|
String |
getTemplate()
The contents of the main template file.
|
TemplateContents |
set(String fieldName,
Object value) |
TemplateContents |
setImports(List<ImportFile> imports)
Import files referenced by the main template.
|
TemplateContents |
setInterpreter(String interpreter)
Which interpreter (python or jinja) should be used during expansion.
|
TemplateContents |
setMainTemplate(String mainTemplate)
The filename of the mainTemplate
|
TemplateContents |
setSchema(String schema)
The contents of the template schema.
|
TemplateContents |
setTemplate(String template)
The contents of the main template file.
|
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 List<ImportFile> getImports()
null
for nonepublic TemplateContents setImports(List<ImportFile> imports)
imports
- imports or null
for nonepublic String getInterpreter()
null
for nonepublic TemplateContents setInterpreter(String interpreter)
interpreter
- interpreter or null
for nonepublic String getMainTemplate()
null
for nonepublic TemplateContents setMainTemplate(String mainTemplate)
mainTemplate
- mainTemplate or null
for nonepublic String getSchema()
null
for nonepublic TemplateContents setSchema(String schema)
schema
- schema or null
for nonepublic String getTemplate()
null
for nonepublic TemplateContents setTemplate(String template)
template
- template or null
for nonepublic TemplateContents set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TemplateContents clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.