Package com.boldsign.model
Class TemplateTag
- java.lang.Object
-
- com.boldsign.model.TemplateTag
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateTag extends Object
TemplateTag
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateTag.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DOCUMENT_LABELSstatic StringSERIALIZED_NAME_ON_BEHALF_OFstatic StringSERIALIZED_NAME_TEMPLATE_IDstatic StringSERIALIZED_NAME_TEMPLATE_LABELS
-
Constructor Summary
Constructors Constructor Description TemplateTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateTagaddDocumentLabelsItem(String documentLabelsItem)TemplateTagaddTemplateLabelsItem(String templateLabelsItem)Map<String,Object>createFormData()TemplateTagdocumentLabels(List<String> documentLabels)booleanequals(Object o)static TemplateTagfromJson(String jsonString)Create an instance of TemplateTag given an JSON stringList<String>getDocumentLabels()Get documentLabelsStringgetOnBehalfOf()Get onBehalfOfStringgetTemplateId()Get templateIdList<String>getTemplateLabels()Get templateLabelsinthashCode()TemplateTagonBehalfOf(String onBehalfOf)voidsetDocumentLabels(List<String> documentLabels)voidsetOnBehalfOf(String onBehalfOf)voidsetTemplateId(String templateId)voidsetTemplateLabels(List<String> templateLabels)TemplateTagtemplateId(String templateId)TemplateTagtemplateLabels(List<String> templateLabels)StringtoJson()Convert an instance of TemplateTag to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TEMPLATE_ID
public static final String SERIALIZED_NAME_TEMPLATE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_LABELS
public static final String SERIALIZED_NAME_DOCUMENT_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPLATE_LABELS
public static final String SERIALIZED_NAME_TEMPLATE_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ON_BEHALF_OF
public static final String SERIALIZED_NAME_ON_BEHALF_OF
- See Also:
- Constant Field Values
-
-
Method Detail
-
templateId
public TemplateTag templateId(String templateId)
-
setTemplateId
public void setTemplateId(String templateId)
-
documentLabels
public TemplateTag documentLabels(List<String> documentLabels)
-
addDocumentLabelsItem
public TemplateTag addDocumentLabelsItem(String documentLabelsItem)
-
getDocumentLabels
@Nullable public List<String> getDocumentLabels()
Get documentLabels- Returns:
- documentLabels
-
templateLabels
public TemplateTag templateLabels(List<String> templateLabels)
-
addTemplateLabelsItem
public TemplateTag addTemplateLabelsItem(String templateLabelsItem)
-
getTemplateLabels
@Nullable public List<String> getTemplateLabels()
Get templateLabels- Returns:
- templateLabels
-
onBehalfOf
public TemplateTag onBehalfOf(String onBehalfOf)
-
setOnBehalfOf
public void setOnBehalfOf(String onBehalfOf)
-
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 TemplateTag
-
fromJson
public static TemplateTag fromJson(String jsonString) throws IOException
Create an instance of TemplateTag given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateTag
- Throws:
IOException- if the JSON string is invalid with respect to TemplateTag
-
toJson
public String toJson()
Convert an instance of TemplateTag to an JSON string- Returns:
- JSON string
-
-