Package io.sendon.model
Class UploadImage
- java.lang.Object
-
- io.sendon.model.UploadImage
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]", comments="Generator version: 7.7.0") public class UploadImage extends Object
UploadImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUploadImage.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FILENAMEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_SIZE
-
Constructor Summary
Constructors Constructor Description UploadImage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UploadImagefilename(String filename)static UploadImagefromJson(String jsonString)Create an instance of UploadImage given an JSON stringStringgetFilename()이미지 파일명StringgetId()이미지 IDBigDecimalgetSize()이미지 용량inthashCode()UploadImageid(String id)voidsetFilename(String filename)voidsetId(String id)voidsetSize(BigDecimal size)UploadImagesize(BigDecimal size)StringtoJson()Convert an instance of UploadImage 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE
public static final String SERIALIZED_NAME_SIZE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILENAME
public static final String SERIALIZED_NAME_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public UploadImage id(String id)
-
setId
public void setId(String id)
-
size
public UploadImage size(BigDecimal size)
-
getSize
@Nonnull public BigDecimal getSize()
이미지 용량- Returns:
- size
-
setSize
public void setSize(BigDecimal size)
-
filename
public UploadImage filename(String filename)
-
setFilename
public void setFilename(String filename)
-
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 UploadImage
-
fromJson
public static UploadImage fromJson(String jsonString) throws IOException
Create an instance of UploadImage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UploadImage
- Throws:
IOException- if the JSON string is invalid with respect to UploadImage
-
toJson
public String toJson()
Convert an instance of UploadImage to an JSON string- Returns:
- JSON string
-
-