@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class OrderJourneyElement extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OrderJourneyElement.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ARRIVAL |
static String |
SERIALIZED_NAME_DEPARTURE |
static String |
SERIALIZED_NAME_DURATION |
static String |
SERIALIZED_NAME_END_TIME |
static String |
SERIALIZED_NAME_END_TIME_DESC |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_FUNCTIONAL_SERVICES |
static String |
SERIALIZED_NAME_PASSAGERS |
static String |
SERIALIZED_NAME_SERVICE_CHANGE_INFO |
static String |
SERIALIZED_NAME_SERVICE_PROVIDER |
static String |
SERIALIZED_NAME_START_TIME |
static String |
SERIALIZED_NAME_START_TIME_DESC |
| 构造器和说明 |
|---|
OrderJourneyElement() |
public static final String SERIALIZED_NAME_FUNCTIONAL_SERVICES
public static final String SERIALIZED_NAME_SERVICE_CHANGE_INFO
public static final String SERIALIZED_NAME_SERVICE_PROVIDER
public static final String SERIALIZED_NAME_START_TIME_DESC
public OrderJourneyElement arrival(JourneyLocation arrival)
@Nullable public JourneyLocation getArrival()
public void setArrival(JourneyLocation arrival)
public OrderJourneyElement departure(JourneyLocation departure)
@Nullable public JourneyLocation getDeparture()
public void setDeparture(JourneyLocation departure)
public OrderJourneyElement duration(String duration)
public void setDuration(String duration)
public OrderJourneyElement endTime(String endTime)
public void setEndTime(String endTime)
public OrderJourneyElement endTimeDesc(String endTimeDesc)
public void setEndTimeDesc(String endTimeDesc)
public OrderJourneyElement extInfo(List<OrderExtInfo> extInfo)
public OrderJourneyElement addExtInfoItem(OrderExtInfo extInfoItem)
@Nullable public List<OrderExtInfo> getExtInfo()
public void setExtInfo(List<OrderExtInfo> extInfo)
public OrderJourneyElement functionalServices(List<FunctionalService> functionalServices)
public OrderJourneyElement addFunctionalServicesItem(FunctionalService functionalServicesItem)
@Nullable public List<FunctionalService> getFunctionalServices()
public void setFunctionalServices(List<FunctionalService> functionalServices)
public OrderJourneyElement passagers(List<UserInfomation> passagers)
public OrderJourneyElement addPassagersItem(UserInfomation passagersItem)
@Nullable public List<UserInfomation> getPassagers()
public void setPassagers(List<UserInfomation> passagers)
public OrderJourneyElement serviceChangeInfo(JourneyServiceChangeInfo serviceChangeInfo)
@Nullable public JourneyServiceChangeInfo getServiceChangeInfo()
public void setServiceChangeInfo(JourneyServiceChangeInfo serviceChangeInfo)
public OrderJourneyElement serviceProvider(JourneyMerchantInfo serviceProvider)
@Nullable public JourneyMerchantInfo getServiceProvider()
public void setServiceProvider(JourneyMerchantInfo serviceProvider)
public OrderJourneyElement startTime(String startTime)
public void setStartTime(String startTime)
public OrderJourneyElement startTimeDesc(String startTimeDesc)
public void setStartTimeDesc(String startTimeDesc)
public OrderJourneyElement 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 OrderJourneyElementpublic static OrderJourneyElement fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to OrderJourneyElementpublic String toJson()
Copyright © 2024. All rights reserved.