@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherAbsolutePeriodInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherAbsolutePeriodInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_TIME_RESTRICT_INFO |
static String |
SERIALIZED_NAME_VALID_BEGIN_TIME |
static String |
SERIALIZED_NAME_VALID_END_TIME |
| 构造器和说明 |
|---|
VoucherAbsolutePeriodInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static VoucherAbsolutePeriodInfo |
fromJson(String jsonString)
Create an instance of VoucherAbsolutePeriodInfo 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.
|
TimeRestrictInfo |
getTimeRestrictInfo()
Get timeRestrictInfo
|
String |
getValidBeginTime()
券可使用的开始时间。
|
String |
getValidEndTime()
券可使用的结束时间。
|
int |
hashCode() |
VoucherAbsolutePeriodInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTimeRestrictInfo(TimeRestrictInfo timeRestrictInfo) |
void |
setValidBeginTime(String validBeginTime) |
void |
setValidEndTime(String validEndTime) |
VoucherAbsolutePeriodInfo |
timeRestrictInfo(TimeRestrictInfo timeRestrictInfo) |
String |
toJson()
Convert an instance of VoucherAbsolutePeriodInfo 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
|
VoucherAbsolutePeriodInfo |
validBeginTime(String validBeginTime) |
VoucherAbsolutePeriodInfo |
validEndTime(String validEndTime) |
public static final String SERIALIZED_NAME_TIME_RESTRICT_INFO
public static final String SERIALIZED_NAME_VALID_BEGIN_TIME
public static final String SERIALIZED_NAME_VALID_END_TIME
public VoucherAbsolutePeriodInfo timeRestrictInfo(TimeRestrictInfo timeRestrictInfo)
@Nullable public TimeRestrictInfo getTimeRestrictInfo()
public void setTimeRestrictInfo(TimeRestrictInfo timeRestrictInfo)
public VoucherAbsolutePeriodInfo validBeginTime(String validBeginTime)
@Nullable public String getValidBeginTime()
public void setValidBeginTime(String validBeginTime)
public VoucherAbsolutePeriodInfo validEndTime(String validEndTime)
@Nullable public String getValidEndTime()
public void setValidEndTime(String validEndTime)
public VoucherAbsolutePeriodInfo 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 VoucherAbsolutePeriodInfopublic static VoucherAbsolutePeriodInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherAbsolutePeriodInfopublic String toJson()
Copyright © 2024. All rights reserved.