Package com.boldsign.model
Class EmbeddedTemplatePreview
- java.lang.Object
-
- com.boldsign.model.EmbeddedTemplatePreview
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class EmbeddedTemplatePreview extends Object
EmbeddedTemplatePreview
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmbeddedTemplatePreview.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TEMPLATE_URL
-
Constructor Summary
Constructors Constructor Description EmbeddedTemplatePreview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)static EmbeddedTemplatePreviewfromJson(String jsonString)Create an instance of EmbeddedTemplatePreview given an JSON stringURIgetTemplateUrl()Get templateUrlinthashCode()voidsetTemplateUrl(URI templateUrl)EmbeddedTemplatePreviewtemplateUrl(URI templateUrl)StringtoJson()Convert an instance of EmbeddedTemplatePreview to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
templateUrl
public EmbeddedTemplatePreview templateUrl(URI templateUrl)
-
setTemplateUrl
public void setTemplateUrl(URI templateUrl)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to EmbeddedTemplatePreview
-
fromJson
public static EmbeddedTemplatePreview fromJson(String jsonString) throws IOException
Create an instance of EmbeddedTemplatePreview given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EmbeddedTemplatePreview
- Throws:
IOException- if the JSON string is invalid with respect to EmbeddedTemplatePreview
-
toJson
public String toJson()
Convert an instance of EmbeddedTemplatePreview to an JSON string- Returns:
- JSON string
-
-