@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class OcrTrainScanInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OcrTrainScanInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DESTINATION |
static String |
SERIALIZED_NAME_INVOICE_DATE |
static String |
SERIALIZED_NAME_ORIGIN |
static String |
SERIALIZED_NAME_PASSENGER |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_REMARK |
static String |
SERIALIZED_NAME_SEAT_CLASS |
static String |
SERIALIZED_NAME_TRAIN_NO |
| 构造器和说明 |
|---|
OcrTrainScanInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
OcrTrainScanInfo |
destination(String destination) |
boolean |
equals(Object o) |
static OcrTrainScanInfo |
fromJson(String jsonString)
Create an instance of OcrTrainScanInfo 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 |
getDestination()
目的地
|
String |
getInvoiceDate()
乘车日期
|
String |
getOrigin()
出发地
|
String |
getPassenger()
乘客
|
String |
getPrice()
金额(元)
|
String |
getRemark()
明细事由
|
String |
getSeatClass()
座次
|
String |
getTrainNo()
车次
|
int |
hashCode() |
OcrTrainScanInfo |
invoiceDate(String invoiceDate) |
OcrTrainScanInfo |
origin(String origin) |
OcrTrainScanInfo |
passenger(String passenger) |
OcrTrainScanInfo |
price(String price) |
OcrTrainScanInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
OcrTrainScanInfo |
remark(String remark) |
OcrTrainScanInfo |
seatClass(String seatClass) |
void |
setDestination(String destination) |
void |
setInvoiceDate(String invoiceDate) |
void |
setOrigin(String origin) |
void |
setPassenger(String passenger) |
void |
setPrice(String price) |
void |
setRemark(String remark) |
void |
setSeatClass(String seatClass) |
void |
setTrainNo(String trainNo) |
String |
toJson()
Convert an instance of OcrTrainScanInfo to an JSON string
|
String |
toString() |
OcrTrainScanInfo |
trainNo(String trainNo) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public OcrTrainScanInfo destination(String destination)
public void setDestination(String destination)
public OcrTrainScanInfo invoiceDate(String invoiceDate)
public void setInvoiceDate(String invoiceDate)
public OcrTrainScanInfo origin(String origin)
public void setOrigin(String origin)
public OcrTrainScanInfo passenger(String passenger)
public void setPassenger(String passenger)
public OcrTrainScanInfo price(String price)
public void setPrice(String price)
public OcrTrainScanInfo remark(String remark)
public void setRemark(String remark)
public OcrTrainScanInfo seatClass(String seatClass)
public void setSeatClass(String seatClass)
public OcrTrainScanInfo trainNo(String trainNo)
public void setTrainNo(String trainNo)
public OcrTrainScanInfo 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 OcrTrainScanInfopublic static OcrTrainScanInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to OcrTrainScanInfopublic String toJson()
Copyright © 2024. All rights reserved.