@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherAvailableGeographyScopeInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherAvailableGeographyScopeInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AVAILABLE_GEOGRAPHY_CITY_INFO |
static String |
SERIALIZED_NAME_AVAILABLE_GEOGRAPHY_SCOPE_TYPE |
static String |
SERIALIZED_NAME_AVAILABLE_GEOGRAPHY_SHOP_INFO |
| 构造器和说明 |
|---|
VoucherAvailableGeographyScopeInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherAvailableGeographyScopeInfo |
availableGeographyCityInfo(VoucherAvailableGeographyCityInfo availableGeographyCityInfo) |
VoucherAvailableGeographyScopeInfo |
availableGeographyScopeType(String availableGeographyScopeType) |
VoucherAvailableGeographyScopeInfo |
availableGeographyShopInfo(VoucherAvailableGeographyShopInfo availableGeographyShopInfo) |
boolean |
equals(Object o) |
static VoucherAvailableGeographyScopeInfo |
fromJson(String jsonString)
Create an instance of VoucherAvailableGeographyScopeInfo 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.
|
VoucherAvailableGeographyCityInfo |
getAvailableGeographyCityInfo()
Get availableGeographyCityInfo
|
String |
getAvailableGeographyScopeType()
券可用地理位置类型。
|
VoucherAvailableGeographyShopInfo |
getAvailableGeographyShopInfo()
Get availableGeographyShopInfo
|
int |
hashCode() |
VoucherAvailableGeographyScopeInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAvailableGeographyCityInfo(VoucherAvailableGeographyCityInfo availableGeographyCityInfo) |
void |
setAvailableGeographyScopeType(String availableGeographyScopeType) |
void |
setAvailableGeographyShopInfo(VoucherAvailableGeographyShopInfo availableGeographyShopInfo) |
String |
toJson()
Convert an instance of VoucherAvailableGeographyScopeInfo 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_AVAILABLE_GEOGRAPHY_CITY_INFO
public static final String SERIALIZED_NAME_AVAILABLE_GEOGRAPHY_SCOPE_TYPE
public static final String SERIALIZED_NAME_AVAILABLE_GEOGRAPHY_SHOP_INFO
public VoucherAvailableGeographyScopeInfo availableGeographyCityInfo(VoucherAvailableGeographyCityInfo availableGeographyCityInfo)
@Nullable public VoucherAvailableGeographyCityInfo getAvailableGeographyCityInfo()
public void setAvailableGeographyCityInfo(VoucherAvailableGeographyCityInfo availableGeographyCityInfo)
public VoucherAvailableGeographyScopeInfo availableGeographyScopeType(String availableGeographyScopeType)
@Nullable public String getAvailableGeographyScopeType()
public void setAvailableGeographyScopeType(String availableGeographyScopeType)
public VoucherAvailableGeographyScopeInfo availableGeographyShopInfo(VoucherAvailableGeographyShopInfo availableGeographyShopInfo)
@Nullable public VoucherAvailableGeographyShopInfo getAvailableGeographyShopInfo()
public void setAvailableGeographyShopInfo(VoucherAvailableGeographyShopInfo availableGeographyShopInfo)
public VoucherAvailableGeographyScopeInfo 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 VoucherAvailableGeographyScopeInfopublic static VoucherAvailableGeographyScopeInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherAvailableGeographyScopeInfopublic String toJson()
Copyright © 2024. All rights reserved.