
com.google.api.services.qpxExpress.model.TripOptionsResponse Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://code.google.com/p/google-apis-client-generator/
* (build: 2014-04-15 19:10:39 UTC)
* on 2014-04-29 at 16:57:52 UTC
* Modify at your own risk.
*/
package com.google.api.services.qpxExpress.model;
/**
* A QPX Express search response.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the QPX Express API. For a detailed explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class TripOptionsResponse extends com.google.api.client.json.GenericJson {
/**
* Informational data global to list of solutions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Data data;
/**
* Identifies this as a QPX Express trip response object, which consists of zero or more
* solutions. Value: the fixed string qpxexpress#tripOptions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
* An identifier uniquely identifying this response.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String requestId;
/**
* A list of priced itinerary solutions to the QPX Express query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List tripOption;
/**
* Informational data global to list of solutions.
* @return value or {@code null} for none
*/
public Data getData() {
return data;
}
/**
* Informational data global to list of solutions.
* @param data data or {@code null} for none
*/
public TripOptionsResponse setData(Data data) {
this.data = data;
return this;
}
/**
* Identifies this as a QPX Express trip response object, which consists of zero or more
* solutions. Value: the fixed string qpxexpress#tripOptions.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
return kind;
}
/**
* Identifies this as a QPX Express trip response object, which consists of zero or more
* solutions. Value: the fixed string qpxexpress#tripOptions.
* @param kind kind or {@code null} for none
*/
public TripOptionsResponse setKind(java.lang.String kind) {
this.kind = kind;
return this;
}
/**
* An identifier uniquely identifying this response.
* @return value or {@code null} for none
*/
public java.lang.String getRequestId() {
return requestId;
}
/**
* An identifier uniquely identifying this response.
* @param requestId requestId or {@code null} for none
*/
public TripOptionsResponse setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
/**
* A list of priced itinerary solutions to the QPX Express query.
* @return value or {@code null} for none
*/
public java.util.List getTripOption() {
return tripOption;
}
/**
* A list of priced itinerary solutions to the QPX Express query.
* @param tripOption tripOption or {@code null} for none
*/
public TripOptionsResponse setTripOption(java.util.List tripOption) {
this.tripOption = tripOption;
return this;
}
@Override
public TripOptionsResponse set(String fieldName, Object value) {
return (TripOptionsResponse) super.set(fieldName, value);
}
@Override
public TripOptionsResponse clone() {
return (TripOptionsResponse) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy