@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateTemplateOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateTemplateOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTENT |
static String |
SERIALIZED_NAME_NAME |
Constructor and Description |
---|
CreateTemplateOptions() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateOptions |
content(String content) |
boolean |
equals(Object o) |
static CreateTemplateOptions |
fromJson(String jsonString)
Create an instance of CreateTemplateOptions given an JSON string
|
String |
getContent()
Template content.
|
String |
getName()
Name of template
|
int |
hashCode() |
CreateTemplateOptions |
name(String name) |
void |
setContent(String content) |
void |
setName(String name) |
String |
toJson()
Convert an instance of CreateTemplateOptions 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_NAME
public static final String SERIALIZED_NAME_CONTENT
public CreateTemplateOptions name(String name)
public void setName(String name)
public CreateTemplateOptions content(String content)
@Nonnull public String getContent()
public void setContent(String content)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateTemplateOptionspublic static CreateTemplateOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateTemplateOptionspublic String toJson()
Copyright © 2023. All rights reserved.