@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AttachmentDetail extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AttachmentDetail.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_FILE_NAME |
static String |
SERIALIZED_NAME_FILE_URL |
| 构造器和说明 |
|---|
AttachmentDetail() |
| 限定符和类型 | 方法和说明 |
|---|---|
AttachmentDetail |
code(String code) |
boolean |
equals(Object o) |
AttachmentDetail |
fileName(String fileName) |
AttachmentDetail |
fileUrl(String fileUrl) |
static AttachmentDetail |
fromJson(String jsonString)
Create an instance of AttachmentDetail given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCode()
创建流程时指定的附件code,可能为空。
|
String |
getFileName()
附件文件名
|
String |
getFileUrl()
附件下载地址
|
int |
hashCode() |
AttachmentDetail |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCode(String code) |
void |
setFileName(String fileName) |
void |
setFileUrl(String fileUrl) |
String |
toJson()
Convert an instance of AttachmentDetail to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public AttachmentDetail code(String code)
@Nullable public String getCode()
public void setCode(String code)
public AttachmentDetail fileName(String fileName)
public void setFileName(String fileName)
public AttachmentDetail fileUrl(String fileUrl)
public void setFileUrl(String fileUrl)
public AttachmentDetail putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to AttachmentDetailpublic static AttachmentDetail fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AttachmentDetailpublic String toJson()
Copyright © 2024. All rights reserved.