Class DocumentInfo


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

      • DocumentInfo

        public DocumentInfo()
    • Method Detail

      • getTitle

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

        public void setTitle​(String title)
      • 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><li><i>16</i> - Japanese</li><li><i>17</i> - Thai</li><li><i>18</i> - SimplifiedChinese</li><li><i>19</i> - TraditionalChinese</li><li><i>20</i> - Korean</li></ul>
        Returns:
        language
      • getDescription

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

        public void setDescription​(String description)
      • 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 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