@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AttachmentExplain extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AttachmentExplain.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ALLOW_MORE_UPLOADS |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_DETAILS |
static String |
SERIALIZED_NAME_TITLE |
| 构造器和说明 |
|---|
AttachmentExplain() |
| 限定符和类型 | 方法和说明 |
|---|---|
AttachmentExplain |
addDetailsItem(Detail detailsItem) |
AttachmentExplain |
allowMoreUploads(Boolean allowMoreUploads) |
AttachmentExplain |
description(String description) |
AttachmentExplain |
details(List<Detail> details) |
boolean |
equals(Object o) |
static AttachmentExplain |
fromJson(String jsonString)
Create an instance of AttachmentExplain 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.
|
Boolean |
getAllowMoreUploads()
允许上传更多附件。
|
String |
getDescription()
描述
|
List<Detail> |
getDetails()
附件列表
|
String |
getTitle()
附件标题(collect_attachement值为true时必填
|
int |
hashCode() |
AttachmentExplain |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAllowMoreUploads(Boolean allowMoreUploads) |
void |
setDescription(String description) |
void |
setDetails(List<Detail> details) |
void |
setTitle(String title) |
AttachmentExplain |
title(String title) |
String |
toJson()
Convert an instance of AttachmentExplain 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 static final String SERIALIZED_NAME_ALLOW_MORE_UPLOADS
public AttachmentExplain allowMoreUploads(Boolean allowMoreUploads)
@Nullable public Boolean getAllowMoreUploads()
public void setAllowMoreUploads(Boolean allowMoreUploads)
public AttachmentExplain description(String description)
public void setDescription(String description)
public AttachmentExplain details(List<Detail> details)
public AttachmentExplain addDetailsItem(Detail detailsItem)
public AttachmentExplain title(String title)
public void setTitle(String title)
public AttachmentExplain 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 AttachmentExplainpublic static AttachmentExplain fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AttachmentExplainpublic String toJson()
Copyright © 2024. All rights reserved.