Class Base64File

java.lang.Object
com.boldsign.model.Base64File

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

  • Constructor Details

    • Base64File

      public Base64File()
  • Method Details

    • base64

      public Base64File base64(String base64)
    • getBase64

      @Nonnull public String getBase64()
      Get base64
      Returns:
      base64
    • setBase64

      public void setBase64(String base64)
    • fileName

      public Base64File fileName(String fileName)
    • getFileName

      @Nullable public String getFileName()
      Get fileName
      Returns:
      fileName
    • setFileName

      public void setFileName(String fileName)
    • 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 Base64File
    • fromJson

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

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