@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PointCard extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PointCard.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DESC |
static String |
SERIALIZED_NAME_END_TIME |
static String |
SERIALIZED_NAME_LOGO |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_START_TIME |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
PointCard() |
| 限定符和类型 | 方法和说明 |
|---|---|
PointCard |
desc(String desc) |
PointCard |
endTime(String endTime) |
boolean |
equals(Object o) |
static PointCard |
fromJson(String jsonString)
Create an instance of PointCard 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 |
getDesc()
工具的描述
|
String |
getEndTime()
工具的有效期的结束时间(必须晚于活动的结束时间)
|
String |
getLogo()
工具的LOGO文件ID
|
String |
getName()
工具的名称
|
String |
getStartTime()
工具的有效期的起始时间
|
String |
getType()
工具类型,目前支持: 集点卡:POINT_CARD
|
int |
hashCode() |
PointCard |
logo(String logo) |
PointCard |
name(String name) |
PointCard |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDesc(String desc) |
void |
setEndTime(String endTime) |
void |
setLogo(String logo) |
void |
setName(String name) |
void |
setStartTime(String startTime) |
void |
setType(String type) |
PointCard |
startTime(String startTime) |
String |
toJson()
Convert an instance of PointCard to an JSON string
|
String |
toString() |
PointCard |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public void setDesc(String desc)
public void setEndTime(String endTime)
public void setLogo(String logo)
public void setName(String name)
public void setStartTime(String startTime)
public void setType(String type)
public PointCard 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 PointCardpublic static PointCard fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PointCardpublic String toJson()
Copyright © 2024. All rights reserved.