@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class McardStylInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
McardStylInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BACKGROUND_ID |
static String |
SERIALIZED_NAME_BG_COLOR |
static String |
SERIALIZED_NAME_LOGO_ID |
| 构造器和说明 |
|---|
McardStylInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
McardStylInfo |
backgroundId(String backgroundId) |
McardStylInfo |
bgColor(String bgColor) |
boolean |
equals(Object o) |
static McardStylInfo |
fromJson(String jsonString)
Create an instance of McardStylInfo 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 |
getBackgroundId()
背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片 图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif; 尺寸不小于1020*643px; 图片不得有圆角,不得拉伸变形
|
String |
getBgColor()
背景色
|
String |
getLogoId()
logo的图片ID,通过接口(alipay.offline.material.image.upload)上传图片 图片说明:1M以内,格式bmp、png、jpeg、jpg、gif; 尺寸不小于500*500px的正方形; 请优先使用商家LOGO;
|
int |
hashCode() |
McardStylInfo |
logoId(String logoId) |
McardStylInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBackgroundId(String backgroundId) |
void |
setBgColor(String bgColor) |
void |
setLogoId(String logoId) |
String |
toJson()
Convert an instance of McardStylInfo 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 McardStylInfo backgroundId(String backgroundId)
@Nullable public String getBackgroundId()
public void setBackgroundId(String backgroundId)
public McardStylInfo bgColor(String bgColor)
public void setBgColor(String bgColor)
public McardStylInfo logoId(String logoId)
@Nullable public String getLogoId()
public void setLogoId(String logoId)
public McardStylInfo 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 McardStylInfopublic static McardStylInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to McardStylInfopublic String toJson()
Copyright © 2024. All rights reserved.