Package com.boldsign.model
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBase64File.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BASE64static StringSERIALIZED_NAME_FILE_NAME
-
Constructor Summary
Constructors Constructor Description Base64File()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Base64Filebase64(String base64)Map<String,Object>createFormData()booleanequals(Object o)Base64FilefileName(String fileName)static Base64FilefromJson(String jsonString)Create an instance of Base64File given an JSON stringStringgetBase64()Get base64StringgetFileName()Get fileNameinthashCode()voidsetBase64(String base64)voidsetFileName(String fileName)StringtoJson()Convert an instance of Base64File to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BASE64
public static final String SERIALIZED_NAME_BASE64
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_NAME
public static final String SERIALIZED_NAME_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
base64
public Base64File base64(String base64)
-
setBase64
public void setBase64(String base64)
-
fileName
public Base64File fileName(String fileName)
-
setFileName
public void setFileName(String fileName)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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
-
-