@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class DelayInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DelayInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUE |
| 构造器和说明 |
|---|
DelayInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static DelayInfo |
fromJson(String jsonString)
Create an instance of DelayInfo 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 |
getType()
延迟类型,目前支持以下类型 ABSOLUTELY:按绝对值延迟 BYDAY:按天延迟
|
String |
getValue()
延迟值,单位分钟 按绝对值延迟延迟24*60 (1天)表示,当日08:00:00领到的券要到隔日的08:00:00才能使用 按天延迟延迟24*60(1天)表示,当日08:00:00领到的券,隔日00:00:00点就可以用
|
int |
hashCode() |
DelayInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setType(String type) |
void |
setValue(String value) |
String |
toJson()
Convert an instance of DelayInfo to an JSON string
|
String |
toString() |
DelayInfo |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
DelayInfo |
value(String value) |
public void setType(String type)
@Nullable public String getValue()
public void setValue(String value)
public DelayInfo 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 DelayInfopublic static DelayInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to DelayInfopublic String toJson()
Copyright © 2024. All rights reserved.