@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ArticleAttachmentInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ArticleAttachmentInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FILE_NAME |
static String |
SERIALIZED_NAME_KEY |
static String |
SERIALIZED_NAME_URL |
| 构造器和说明 |
|---|
ArticleAttachmentInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
ArticleAttachmentInfo |
fileName(String fileName) |
static ArticleAttachmentInfo |
fromJson(String jsonString)
Create an instance of ArticleAttachmentInfo 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 |
getFileName()
文章附件
|
String |
getKey()
附件完整Key
|
String |
getUrl()
附件的url
|
int |
hashCode() |
ArticleAttachmentInfo |
key(String key) |
ArticleAttachmentInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFileName(String fileName) |
void |
setKey(String key) |
void |
setUrl(String url) |
String |
toJson()
Convert an instance of ArticleAttachmentInfo to an JSON string
|
String |
toString() |
ArticleAttachmentInfo |
url(String url) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public ArticleAttachmentInfo fileName(String fileName)
public void setFileName(String fileName)
public ArticleAttachmentInfo key(String key)
public void setKey(String key)
public ArticleAttachmentInfo url(String url)
public void setUrl(String url)
public ArticleAttachmentInfo 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 ArticleAttachmentInfopublic static ArticleAttachmentInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ArticleAttachmentInfopublic String toJson()
Copyright © 2024. All rights reserved.