@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ExtensionArea extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExtensionArea.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_GOTO_URL |
static String |
SERIALIZED_NAME_HEIGHT |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_URL |
| 构造器和说明 |
|---|
ExtensionArea() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static ExtensionArea |
fromJson(String jsonString)
Create an instance of ExtensionArea 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 |
getGotoUrl()
跳转链接,当type为\"image\"时必传,必须是https或alipays开头的url链接。
|
Integer |
getHeight()
扩展区高度,当type值为\"h5\"时必填,取值范围为200-500的整数
|
String |
getName()
扩展区名字
|
String |
getType()
扩展区类型,当前支持的值为h5,表示扩展区内容类型为h5。
|
String |
getUrl()
扩展区url,传入h5页面url,必须是https开头的链接
|
ExtensionArea |
gotoUrl(String gotoUrl) |
int |
hashCode() |
ExtensionArea |
height(Integer height) |
ExtensionArea |
name(String name) |
ExtensionArea |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setGotoUrl(String gotoUrl) |
void |
setHeight(Integer height) |
void |
setName(String name) |
void |
setType(String type) |
void |
setUrl(String url) |
String |
toJson()
Convert an instance of ExtensionArea to an JSON string
|
String |
toString() |
ExtensionArea |
type(String type) |
ExtensionArea |
url(String url) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public ExtensionArea gotoUrl(String gotoUrl)
@Nullable public String getGotoUrl()
public void setGotoUrl(String gotoUrl)
public ExtensionArea height(Integer height)
public void setHeight(Integer height)
public ExtensionArea name(String name)
public void setName(String name)
public ExtensionArea type(String type)
public void setType(String type)
public ExtensionArea url(String url)
public void setUrl(String url)
public ExtensionArea 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 ExtensionAreapublic static ExtensionArea fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ExtensionAreapublic String toJson()
Copyright © 2024. All rights reserved.