Class FileInfo
java.lang.Object
com.boldsign.model.FileInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.8.0")
public class FileInfo
extends Object
FileInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanstatic FileInfoCreate an instance of FileInfo given an JSON stringGet contentTypeGet extensionGet fileNameGet fileSizeinthashCode()voidsetContentType(String contentType) voidsetExtension(String extension) voidsetFileName(String fileName) voidsetFileSize(Integer fileSize) toJson()Convert an instance of FileInfo to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FILE_NAME
- See Also:
-
SERIALIZED_NAME_FILE_SIZE
- See Also:
-
SERIALIZED_NAME_CONTENT_TYPE
- See Also:
-
SERIALIZED_NAME_EXTENSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FileInfo
public FileInfo()
-
-
Method Details
-
fileName
-
getFileName
-
setFileName
-
fileSize
-
getFileSize
-
setFileSize
-
contentType
-
getContentType
-
setContentType
-
extension
-
getExtension
-
setExtension
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
validateJsonElement
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 FileInfo
-
fromJson
Create an instance of FileInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FileInfo
- Throws:
IOException- if the JSON string is invalid with respect to FileInfo
-
toJson
-