@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Context extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Context.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTION_NAME |
static String |
SERIALIZED_NAME_FIRST |
static String |
SERIALIZED_NAME_HEAD_COLOR |
static String |
SERIALIZED_NAME_KEYWORD1 |
static String |
SERIALIZED_NAME_KEYWORD2 |
static String |
SERIALIZED_NAME_REMARK |
static String |
SERIALIZED_NAME_URL |
| 构造器和说明 |
|---|
Context() |
| 限定符和类型 | 方法和说明 |
|---|---|
Context |
actionName(String actionName) |
boolean |
equals(Object o) |
Context |
first(Keyword first) |
static Context |
fromJson(String jsonString)
Create an instance of Context given an JSON string
|
String |
getActionName()
底部链接描述文字,如“查看详情”,最多能传8个汉字或16个英文字符,长度超出会报错
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Keyword |
getFirst()
Get first
|
String |
getHeadColor()
顶部色条的色值
|
Keyword |
getKeyword1()
Get keyword1
|
Keyword |
getKeyword2()
Get keyword2
|
Keyword |
getRemark()
Get remark
|
String |
getUrl()
点击消息后承接页的地址
|
int |
hashCode() |
Context |
headColor(String headColor) |
Context |
keyword1(Keyword keyword1) |
Context |
keyword2(Keyword keyword2) |
Context |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Context |
remark(Keyword remark) |
void |
setActionName(String actionName) |
void |
setFirst(Keyword first) |
void |
setHeadColor(String headColor) |
void |
setKeyword1(Keyword keyword1) |
void |
setKeyword2(Keyword keyword2) |
void |
setRemark(Keyword remark) |
void |
setUrl(String url) |
String |
toJson()
Convert an instance of Context to an JSON string
|
String |
toString() |
Context |
url(String url) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
@Nullable public String getActionName()
public void setActionName(String actionName)
public void setFirst(Keyword first)
public void setHeadColor(String headColor)
public void setKeyword1(Keyword keyword1)
public void setKeyword2(Keyword keyword2)
public void setRemark(Keyword remark)
public void setUrl(String url)
public Context 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 Contextpublic static Context fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Contextpublic String toJson()
Copyright © 2024. All rights reserved.