Package com.boldsign.model
Class ImageInfo
- java.lang.Object
-
- com.boldsign.model.ImageInfo
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class ImageInfo extends Object
ImageInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ALLOWED_FILE_EXTENSIONSstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_TITLE
-
Constructor Summary
Constructors Constructor Description ImageInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageInfoallowedFileExtensions(String allowedFileExtensions)Map<String,Object>createFormData()ImageInfodescription(String description)booleanequals(Object o)static ImageInfofromJson(String jsonString)Create an instance of ImageInfo given an JSON stringStringgetAllowedFileExtensions()Get allowedFileExtensionsStringgetDescription()Get descriptionStringgetTitle()Get titleinthashCode()voidsetAllowedFileExtensions(String allowedFileExtensions)voidsetDescription(String description)voidsetTitle(String title)ImageInfotitle(String title)StringtoJson()Convert an instance of ImageInfo 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_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOWED_FILE_EXTENSIONS
public static final String SERIALIZED_NAME_ALLOWED_FILE_EXTENSIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setTitle
public void setTitle(String title)
-
getAllowedFileExtensions
@Nullable public String getAllowedFileExtensions()
Get allowedFileExtensions- Returns:
- allowedFileExtensions
-
setAllowedFileExtensions
public void setAllowedFileExtensions(String allowedFileExtensions)
-
setDescription
public void setDescription(String description)
-
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 ImageInfo
-
fromJson
public static ImageInfo fromJson(String jsonString) throws IOException
Create an instance of ImageInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImageInfo
- Throws:
IOException- if the JSON string is invalid with respect to ImageInfo
-
toJson
public String toJson()
Convert an instance of ImageInfo to an JSON string- Returns:
- JSON string
-
-