@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class SubscribeRelation extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SubscribeRelation.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_KEEP_STATE |
static String |
SERIALIZED_NAME_SHOW |
static String |
SERIALIZED_NAME_SUBSCRIBE_STATE |
static String |
SERIALIZED_NAME_SUBSCRIBE_TYPE |
static String |
SERIALIZED_NAME_TEMPLATE_ID |
| 构造器和说明 |
|---|
SubscribeRelation() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static SubscribeRelation |
fromJson(String jsonString)
Create an instance of SubscribeRelation 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 |
getKeepState()
订阅保持状态,即用户勾选“总是保持以上选择,不再询问”选项时勾选的订阅状态。
|
Boolean |
getShow()
模板是否展示在订阅组件中。
|
String |
getSubscribeState()
订阅状态。
|
String |
getSubscribeType()
消息模板的订阅类型。
|
String |
getTemplateId()
消息模板id
|
int |
hashCode() |
SubscribeRelation |
keepState(String keepState) |
SubscribeRelation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setKeepState(String keepState) |
void |
setShow(Boolean show) |
void |
setSubscribeState(String subscribeState) |
void |
setSubscribeType(String subscribeType) |
void |
setTemplateId(String templateId) |
SubscribeRelation |
show(Boolean show) |
SubscribeRelation |
subscribeState(String subscribeState) |
SubscribeRelation |
subscribeType(String subscribeType) |
SubscribeRelation |
templateId(String templateId) |
String |
toJson()
Convert an instance of SubscribeRelation 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_SUBSCRIBE_STATE
public static final String SERIALIZED_NAME_SUBSCRIBE_TYPE
public SubscribeRelation keepState(String keepState)
@Nullable public String getKeepState()
public void setKeepState(String keepState)
public SubscribeRelation show(Boolean show)
@Nullable public Boolean getShow()
public void setShow(Boolean show)
public SubscribeRelation subscribeState(String subscribeState)
@Nullable public String getSubscribeState()
public void setSubscribeState(String subscribeState)
public SubscribeRelation subscribeType(String subscribeType)
@Nullable public String getSubscribeType()
public void setSubscribeType(String subscribeType)
public SubscribeRelation templateId(String templateId)
public void setTemplateId(String templateId)
public SubscribeRelation 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 SubscribeRelationpublic static SubscribeRelation fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SubscribeRelationpublic String toJson()
Copyright © 2024. All rights reserved.