Class TemplateTag


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.8.0")
    public class TemplateTag
    extends Object
    TemplateTag
    • Constructor Detail

      • TemplateTag

        public TemplateTag()
    • Method Detail

      • getTemplateId

        @Nonnull
        public String getTemplateId()
        Get templateId
        Returns:
        templateId
      • setTemplateId

        public void setTemplateId​(String templateId)
      • addDocumentLabelsItem

        public TemplateTag addDocumentLabelsItem​(String documentLabelsItem)
      • getDocumentLabels

        @Nullable
        public List<String> getDocumentLabels()
        Get documentLabels
        Returns:
        documentLabels
      • setDocumentLabels

        public void setDocumentLabels​(List<String> documentLabels)
      • addTemplateLabelsItem

        public TemplateTag addTemplateLabelsItem​(String templateLabelsItem)
      • getTemplateLabels

        @Nullable
        public List<String> getTemplateLabels()
        Get templateLabels
        Returns:
        templateLabels
      • setTemplateLabels

        public void setTemplateLabels​(List<String> templateLabels)
      • getOnBehalfOf

        @Nullable
        public String getOnBehalfOf()
        Get onBehalfOf
        Returns:
        onBehalfOf
      • setOnBehalfOf

        public void setOnBehalfOf​(String onBehalfOf)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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