Class Image
java.lang.Object
cloud.liblibai.openapi.client.model.Image
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-05T15:10:08.947334966+08:00[Asia/Shanghai]",
comments="Generator version: 7.10.0")
public class Image
extends Object
Image
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauditStatus(AuditStatus auditStatus) booleanstatic ImageCreate an instance of Image given an JSON stringGet auditStatus图片地址,可直接访问,地址有时效性:7天getSeed()随机种子值inthashCode()voidsetAuditStatus(AuditStatus auditStatus) voidsetImageUrl(String imageUrl) voidtoJson()Convert an instance of Image 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_IMAGE_URL
- See Also:
-
SERIALIZED_NAME_SEED
- See Also:
-
SERIALIZED_NAME_AUDIT_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
imageUrl
-
getImageUrl
-
setImageUrl
-
seed
-
getSeed
-
setSeed
-
auditStatus
-
getAuditStatus
-
setAuditStatus
-
equals
-
hashCode
-
toString
-
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 Image
-
fromJson
Create an instance of Image given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Image
- Throws:
IOException- if the JSON string is invalid with respect to Image
-
toJson
-