Class DocumentInfo

java.lang.Object
com.boldsign.model.DocumentInfo

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

  • Constructor Details

    • DocumentInfo

      public DocumentInfo()
  • Method Details

    • locale

      public DocumentInfo locale(DocumentInfo.LocaleEnum locale)
    • getLocale

      @Nonnull public DocumentInfo.LocaleEnum getLocale()
      Get locale
      Returns:
      locale
    • setLocale

      public void setLocale(DocumentInfo.LocaleEnum locale)
    • title

      public DocumentInfo title(String title)
    • getTitle

      @Nonnull public String getTitle()
      Get title
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • language

      public DocumentInfo language(DocumentInfo.LanguageEnum language)
    • getLanguage

      @Nullable public DocumentInfo.LanguageEnum getLanguage()
      <p>Description:</p><ul><li><i>0</i> - None</li><li><i>1</i> - English</li><li><i>2</i> - Spanish</li><li><i>3</i> - German</li><li><i>4</i> - French</li><li><i>5</i> - Romanian</li><li><i>6</i> - Norwegian</li><li><i>7</i> - Bulgarian</li><li><i>8</i> - Italian</li><li><i>9</i> - Danish</li><li><i>10</i> - Polish</li><li><i>11</i> - Portuguese</li><li><i>12</i> - Czech</li><li><i>13</i> - Dutch</li><li><i>14</i> - Swedish</li><li><i>15</i> - Russian</li></ul>
      Returns:
      language
    • setLanguage

      public void setLanguage(DocumentInfo.LanguageEnum language)
    • description

      public DocumentInfo description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • createFormData

      public Map<String,Object> createFormData() throws ApiException
      Throws:
      ApiException
    • 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 DocumentInfo
    • fromJson

      public static DocumentInfo fromJson(String jsonString) throws IOException
      Create an instance of DocumentInfo given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of DocumentInfo
      Throws:
      IOException - if the JSON string is invalid with respect to DocumentInfo
    • toJson

      public String toJson()
      Convert an instance of DocumentInfo to an JSON string
      Returns:
      JSON string