Class Base64File


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

      • Base64File

        public Base64File()
    • Method Detail

      • getBase64

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

        public void setBase64​(String base64)
      • getFileName

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

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