@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayEcoDocTemplateCreateModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayEcoDocTemplateCreateModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTENT_MD5 |
static String |
SERIALIZED_NAME_CONTENT_TYPE |
static String |
SERIALIZED_NAME_CONVERT_TO_PDF |
static String |
SERIALIZED_NAME_FILE_NAME |
| 构造器和说明 |
|---|
AlipayEcoDocTemplateCreateModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayEcoDocTemplateCreateModel |
contentMd5(String contentMd5) |
AlipayEcoDocTemplateCreateModel |
contentType(String contentType) |
AlipayEcoDocTemplateCreateModel |
convertToPdf(String convertToPdf) |
boolean |
equals(Object o) |
AlipayEcoDocTemplateCreateModel |
fileName(String fileName) |
static AlipayEcoDocTemplateCreateModel |
fromJson(String jsonString)
Create an instance of AlipayEcoDocTemplateCreateModel 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 |
getContentMd5()
模版文件的md5值。
|
String |
getContentType()
目标文件的MIME类型。
|
String |
getConvertToPdf()
是否需要转成pdf,如果模板文件为.doc/.docx 传true,为pdf传false
|
String |
getFileName()
文件名称,必须带上文件扩展名如 .pdf、.doc、.docx,否则会导致后续发起流程校验异常。
|
int |
hashCode() |
AlipayEcoDocTemplateCreateModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setContentMd5(String contentMd5) |
void |
setContentType(String contentType) |
void |
setConvertToPdf(String convertToPdf) |
void |
setFileName(String fileName) |
String |
toJson()
Convert an instance of AlipayEcoDocTemplateCreateModel 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_CONVERT_TO_PDF
public AlipayEcoDocTemplateCreateModel contentMd5(String contentMd5)
@Nullable public String getContentMd5()
public void setContentMd5(String contentMd5)
public AlipayEcoDocTemplateCreateModel contentType(String contentType)
@Nullable public String getContentType()
public void setContentType(String contentType)
public AlipayEcoDocTemplateCreateModel convertToPdf(String convertToPdf)
@Nullable public String getConvertToPdf()
public void setConvertToPdf(String convertToPdf)
public AlipayEcoDocTemplateCreateModel fileName(String fileName)
@Nullable public String getFileName()
public void setFileName(String fileName)
public AlipayEcoDocTemplateCreateModel 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 AlipayEcoDocTemplateCreateModelpublic static AlipayEcoDocTemplateCreateModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayEcoDocTemplateCreateModelpublic String toJson()
Copyright © 2024. All rights reserved.