@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class DeliveryTargetRegion extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DeliveryTargetRegion.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_REGION_CODE |
static String |
SERIALIZED_NAME_REGION_NAME |
static String |
SERIALIZED_NAME_REGION_TYPE |
| 构造器和说明 |
|---|
DeliveryTargetRegion() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static DeliveryTargetRegion |
fromJson(String jsonString)
Create an instance of DeliveryTargetRegion 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 |
getRegionCode()
区域编码,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>
|
String |
getRegionName()
区域名,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>
|
String |
getRegionType()
区域类型,1代表全国,2代表省级区域,3代表市级区域,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>
|
int |
hashCode() |
DeliveryTargetRegion |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
DeliveryTargetRegion |
regionCode(String regionCode) |
DeliveryTargetRegion |
regionName(String regionName) |
DeliveryTargetRegion |
regionType(String regionType) |
void |
setRegionCode(String regionCode) |
void |
setRegionName(String regionName) |
void |
setRegionType(String regionType) |
String |
toJson()
Convert an instance of DeliveryTargetRegion 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 DeliveryTargetRegion regionCode(String regionCode)
@Nullable public String getRegionCode()
public void setRegionCode(String regionCode)
public DeliveryTargetRegion regionName(String regionName)
@Nullable public String getRegionName()
public void setRegionName(String regionName)
public DeliveryTargetRegion regionType(String regionType)
@Nullable public String getRegionType()
public void setRegionType(String regionType)
public DeliveryTargetRegion 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 DeliveryTargetRegionpublic static DeliveryTargetRegion fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to DeliveryTargetRegionpublic String toJson()
Copyright © 2024. All rights reserved.