@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class TemplatePreview extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplatePreview.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_PREVIEW |
Constructor and Description |
---|
TemplatePreview() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TemplatePreview |
fromJson(String jsonString)
Create an instance of TemplatePreview given an JSON string
|
String |
getPreview()
Get preview
|
int |
hashCode() |
TemplatePreview |
preview(String preview) |
void |
setPreview(String preview) |
String |
toJson()
Convert an instance of TemplatePreview to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_PREVIEW
public TemplatePreview preview(String preview)
public void setPreview(String preview)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to TemplatePreviewpublic static TemplatePreview fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to TemplatePreviewpublic String toJson()
Copyright © 2023. All rights reserved.