@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class OcrPlaneScanInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OcrPlaneScanInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DESTINATION |
static String |
SERIALIZED_NAME_FLIGHT_NO |
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 |
| 构造器和说明 |
|---|
OcrPlaneScanInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
OcrPlaneScanInfo |
destination(String destination) |
boolean |
equals(Object o) |
OcrPlaneScanInfo |
flightNo(String flightNo) |
static OcrPlaneScanInfo |
fromJson(String jsonString)
Create an instance of OcrPlaneScanInfo 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 |
getFlightNo()
航班号
|
String |
getInvoiceDate()
乘机日期
|
String |
getOrigin()
出发地
|
String |
getPassenger()
乘客
|
String |
getPrice()
金额(元)
|
String |
getRemark()
明细事由
|
String |
getSeatClass()
飞机舱位
|
int |
hashCode() |
OcrPlaneScanInfo |
invoiceDate(String invoiceDate) |
OcrPlaneScanInfo |
origin(String origin) |
OcrPlaneScanInfo |
passenger(String passenger) |
OcrPlaneScanInfo |
price(String price) |
OcrPlaneScanInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
OcrPlaneScanInfo |
remark(String remark) |
OcrPlaneScanInfo |
seatClass(String seatClass) |
void |
setDestination(String destination) |
void |
setFlightNo(String flightNo) |
void |
setInvoiceDate(String invoiceDate) |
void |
setOrigin(String origin) |
void |
setPassenger(String passenger) |
void |
setPrice(String price) |
void |
setRemark(String remark) |
void |
setSeatClass(String seatClass) |
String |
toJson()
Convert an instance of OcrPlaneScanInfo 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 OcrPlaneScanInfo destination(String destination)
public void setDestination(String destination)
public OcrPlaneScanInfo flightNo(String flightNo)
public void setFlightNo(String flightNo)
public OcrPlaneScanInfo invoiceDate(String invoiceDate)
public void setInvoiceDate(String invoiceDate)
public OcrPlaneScanInfo origin(String origin)
public void setOrigin(String origin)
public OcrPlaneScanInfo passenger(String passenger)
public void setPassenger(String passenger)
public OcrPlaneScanInfo price(String price)
public void setPrice(String price)
public OcrPlaneScanInfo remark(String remark)
public void setRemark(String remark)
public OcrPlaneScanInfo seatClass(String seatClass)
public void setSeatClass(String seatClass)
public OcrPlaneScanInfo 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 OcrPlaneScanInfopublic static OcrPlaneScanInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to OcrPlaneScanInfopublic String toJson()
Copyright © 2024. All rights reserved.