diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md b/clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md index 1320bcd3b0b..0ede8d4b4e7 100644 --- a/clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-travelimpactmodel - v1-rev20260602-2.0.0 + v1-rev20260615-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260602-2.0.0' + implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260615-2.0.0' } ``` diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/TravelImpactModel.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/TravelImpactModel.java index b46c0d92d42..f9ad6baa18b 100644 --- a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/TravelImpactModel.java +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/TravelImpactModel.java @@ -153,6 +153,128 @@ public Flights flights() { */ public class Flights { + /** + * Retrieves detailed emission estimates. Detailed Flight Emissions are transparent per-passenger + * greenhouse gas emission estimates supplemented by comprehensive metadata detailing the + * calculation methodology, emissions breakdown, contrail impact, and data provenance. Details on + * how emission estimates are computed are in [GitHub](https://github.com/google/travel-impact- + * model). The response will contain all entries that match the input flight legs, in the same + * order. If there are no estimates available for a certain flight leg, the response will return the + * flight leg object with empty emission fields. The request will still be considered successful. + * Reasons for missing emission estimates include: * The flight is unknown to the server. * The + * input flight leg is missing one or more identifiers. * The flight date is in the past. * The + * aircraft type is not supported by the model. * Missing seat configuration. The request can + * contain up to 100 flight legs. If the request has more than 100 flight legs, it will fail with an + * INVALID_ARGUMENT error. + * + * Create a request for the method "flights.computeDetailedFlightEmissions". + * + * This request holds the parameters needed by the travelimpactmodel server. After setting any + * optional parameters, call the {@link ComputeDetailedFlightEmissions#execute()} method to invoke + * the remote operation. + * + * @param content the {@link com.google.api.services.travelimpactmodel.v1.model.ComputeDetailedFlightEmissionsRequest} + * @return the request + */ + public ComputeDetailedFlightEmissions computeDetailedFlightEmissions(com.google.api.services.travelimpactmodel.v1.model.ComputeDetailedFlightEmissionsRequest content) throws java.io.IOException { + ComputeDetailedFlightEmissions result = new ComputeDetailedFlightEmissions(content); + initialize(result); + return result; + } + + public class ComputeDetailedFlightEmissions extends TravelImpactModelRequest { + + private static final String REST_PATH = "v1/flights:computeDetailedFlightEmissions"; + + /** + * Retrieves detailed emission estimates. Detailed Flight Emissions are transparent per-passenger + * greenhouse gas emission estimates supplemented by comprehensive metadata detailing the + * calculation methodology, emissions breakdown, contrail impact, and data provenance. Details on + * how emission estimates are computed are in [GitHub](https://github.com/google/travel-impact- + * model). The response will contain all entries that match the input flight legs, in the same + * order. If there are no estimates available for a certain flight leg, the response will return + * the flight leg object with empty emission fields. The request will still be considered + * successful. Reasons for missing emission estimates include: * The flight is unknown to the + * server. * The input flight leg is missing one or more identifiers. * The flight date is in the + * past. * The aircraft type is not supported by the model. * Missing seat configuration. The + * request can contain up to 100 flight legs. If the request has more than 100 flight legs, it + * will fail with an INVALID_ARGUMENT error. + * + * Create a request for the method "flights.computeDetailedFlightEmissions". + * + * This request holds the parameters needed by the the travelimpactmodel server. After setting + * any optional parameters, call the {@link ComputeDetailedFlightEmissions#execute()} method to + * invoke the remote operation.

{@link ComputeDetailedFlightEmissions#initialize(com.google.ap + * i.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param content the {@link com.google.api.services.travelimpactmodel.v1.model.ComputeDetailedFlightEmissionsRequest} + * @since 1.13 + */ + protected ComputeDetailedFlightEmissions(com.google.api.services.travelimpactmodel.v1.model.ComputeDetailedFlightEmissionsRequest content) { + super(TravelImpactModel.this, "POST", REST_PATH, content, com.google.api.services.travelimpactmodel.v1.model.ComputeDetailedFlightEmissionsResponse.class); + } + + @Override + public ComputeDetailedFlightEmissions set$Xgafv(java.lang.String $Xgafv) { + return (ComputeDetailedFlightEmissions) super.set$Xgafv($Xgafv); + } + + @Override + public ComputeDetailedFlightEmissions setAccessToken(java.lang.String accessToken) { + return (ComputeDetailedFlightEmissions) super.setAccessToken(accessToken); + } + + @Override + public ComputeDetailedFlightEmissions setAlt(java.lang.String alt) { + return (ComputeDetailedFlightEmissions) super.setAlt(alt); + } + + @Override + public ComputeDetailedFlightEmissions setCallback(java.lang.String callback) { + return (ComputeDetailedFlightEmissions) super.setCallback(callback); + } + + @Override + public ComputeDetailedFlightEmissions setFields(java.lang.String fields) { + return (ComputeDetailedFlightEmissions) super.setFields(fields); + } + + @Override + public ComputeDetailedFlightEmissions setKey(java.lang.String key) { + return (ComputeDetailedFlightEmissions) super.setKey(key); + } + + @Override + public ComputeDetailedFlightEmissions setOauthToken(java.lang.String oauthToken) { + return (ComputeDetailedFlightEmissions) super.setOauthToken(oauthToken); + } + + @Override + public ComputeDetailedFlightEmissions setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ComputeDetailedFlightEmissions) super.setPrettyPrint(prettyPrint); + } + + @Override + public ComputeDetailedFlightEmissions setQuotaUser(java.lang.String quotaUser) { + return (ComputeDetailedFlightEmissions) super.setQuotaUser(quotaUser); + } + + @Override + public ComputeDetailedFlightEmissions setUploadType(java.lang.String uploadType) { + return (ComputeDetailedFlightEmissions) super.setUploadType(uploadType); + } + + @Override + public ComputeDetailedFlightEmissions setUploadProtocol(java.lang.String uploadProtocol) { + return (ComputeDetailedFlightEmissions) super.setUploadProtocol(uploadProtocol); + } + + @Override + public ComputeDetailedFlightEmissions set(String parameterName, Object value) { + return (ComputeDetailedFlightEmissions) super.set(parameterName, value); + } + } /** * Retrieves emission estimates. Details on how emission estimates are computed are in * [GitHub](https://github.com/google/travel-impact-model). The response will contain all entries diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsRequest.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsRequest.java new file mode 100644 index 00000000000..9872bbf1438 --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsRequest.java @@ -0,0 +1,67 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Input definition for the ComputeDetailedFlightEmissions request. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ComputeDetailedFlightEmissionsRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Direct flights to return emission estimates for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List flights; + + /** + * Required. Direct flights to return emission estimates for. + * @return value or {@code null} for none + */ + public java.util.List getFlights() { + return flights; + } + + /** + * Required. Direct flights to return emission estimates for. + * @param flights flights or {@code null} for none + */ + public ComputeDetailedFlightEmissionsRequest setFlights(java.util.List flights) { + this.flights = flights; + return this; + } + + @Override + public ComputeDetailedFlightEmissionsRequest set(String fieldName, Object value) { + return (ComputeDetailedFlightEmissionsRequest) super.set(fieldName, value); + } + + @Override + public ComputeDetailedFlightEmissionsRequest clone() { + return (ComputeDetailedFlightEmissionsRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsResponse.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsResponse.java new file mode 100644 index 00000000000..9b89bcc233a --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/ComputeDetailedFlightEmissionsResponse.java @@ -0,0 +1,94 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Output definition for the ComputeDetailedFlightEmissions 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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ComputeDetailedFlightEmissionsResponse extends com.google.api.client.json.GenericJson { + + /** + * List of flight legs with emission estimates. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List flightsWithDetailedEmissions; + + /** + * The model version under which emission estimates for all flights in this response were + * computed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ModelVersion modelVersion; + + /** + * List of flight legs with emission estimates. + * @return value or {@code null} for none + */ + public java.util.List getFlightsWithDetailedEmissions() { + return flightsWithDetailedEmissions; + } + + /** + * List of flight legs with emission estimates. + * @param flightsWithDetailedEmissions flightsWithDetailedEmissions or {@code null} for none + */ + public ComputeDetailedFlightEmissionsResponse setFlightsWithDetailedEmissions(java.util.List flightsWithDetailedEmissions) { + this.flightsWithDetailedEmissions = flightsWithDetailedEmissions; + return this; + } + + /** + * The model version under which emission estimates for all flights in this response were + * computed. + * @return value or {@code null} for none + */ + public ModelVersion getModelVersion() { + return modelVersion; + } + + /** + * The model version under which emission estimates for all flights in this response were + * computed. + * @param modelVersion modelVersion or {@code null} for none + */ + public ComputeDetailedFlightEmissionsResponse setModelVersion(ModelVersion modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + @Override + public ComputeDetailedFlightEmissionsResponse set(String fieldName, Object value) { + return (ComputeDetailedFlightEmissionsResponse) super.set(fieldName, value); + } + + @Override + public ComputeDetailedFlightEmissionsResponse clone() { + return (ComputeDetailedFlightEmissionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsBreakdown.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsBreakdown.java new file mode 100644 index 00000000000..b34e7a3785d --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsBreakdown.java @@ -0,0 +1,104 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Details about the various emissions portions of the total emissions_grams_per_pax value. The + * value of the summed breakdowns should always equal emissions_grams_per_pax. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class EmissionsBreakdown extends com.google.api.client.json.GenericJson { + + /** + * Per-passenger tank-to-wake emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsGramsPerPax ttwEmissionsGramsPerPax; + + /** + * Per-passenger well-to-tank emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsGramsPerPax wttEmissionsGramsPerPax; + + /** + * Per-passenger tank-to-wake emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * @return value or {@code null} for none + */ + public EmissionsGramsPerPax getTtwEmissionsGramsPerPax() { + return ttwEmissionsGramsPerPax; + } + + /** + * Per-passenger tank-to-wake emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * @param ttwEmissionsGramsPerPax ttwEmissionsGramsPerPax or {@code null} for none + */ + public EmissionsBreakdown setTtwEmissionsGramsPerPax(EmissionsGramsPerPax ttwEmissionsGramsPerPax) { + this.ttwEmissionsGramsPerPax = ttwEmissionsGramsPerPax; + return this; + } + + /** + * Per-passenger well-to-tank emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * @return value or {@code null} for none + */ + public EmissionsGramsPerPax getWttEmissionsGramsPerPax() { + return wttEmissionsGramsPerPax; + } + + /** + * Per-passenger well-to-tank emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeFlightEmissions. + * @param wttEmissionsGramsPerPax wttEmissionsGramsPerPax or {@code null} for none + */ + public EmissionsBreakdown setWttEmissionsGramsPerPax(EmissionsGramsPerPax wttEmissionsGramsPerPax) { + this.wttEmissionsGramsPerPax = wttEmissionsGramsPerPax; + return this; + } + + @Override + public EmissionsBreakdown set(String fieldName, Object value) { + return (EmissionsBreakdown) super.set(fieldName, value); + } + + @Override + public EmissionsBreakdown clone() { + return (EmissionsBreakdown) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsMetadata.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsMetadata.java new file mode 100644 index 00000000000..8eeb541b018 --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsMetadata.java @@ -0,0 +1,124 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * All additional metadata. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class EmissionsMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. Metadata about the EASA Flight Emissions Label. Only set when the emissions data + * source is EASA. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EasaLabelMetadata easaLabelMetadata; + + /** + * Output only. Details about the provenance of data used to calculate the emissions data, + * including the contributing factors with their data sources. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsProvenance emissionsProvenance; + + /** + * Output only. Link to the `travelimpactmodel.org` Emissions Calculator website. Example: + * https://travelimpactmodel.org/lookup/flight?itinerary=ZRH-BOS-LX-52-20261225. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timWebsiteEmissionsCalculatorUrl; + + /** + * Output only. Metadata about the EASA Flight Emissions Label. Only set when the emissions data + * source is EASA. + * @return value or {@code null} for none + */ + public EasaLabelMetadata getEasaLabelMetadata() { + return easaLabelMetadata; + } + + /** + * Output only. Metadata about the EASA Flight Emissions Label. Only set when the emissions data + * source is EASA. + * @param easaLabelMetadata easaLabelMetadata or {@code null} for none + */ + public EmissionsMetadata setEasaLabelMetadata(EasaLabelMetadata easaLabelMetadata) { + this.easaLabelMetadata = easaLabelMetadata; + return this; + } + + /** + * Output only. Details about the provenance of data used to calculate the emissions data, + * including the contributing factors with their data sources. + * @return value or {@code null} for none + */ + public EmissionsProvenance getEmissionsProvenance() { + return emissionsProvenance; + } + + /** + * Output only. Details about the provenance of data used to calculate the emissions data, + * including the contributing factors with their data sources. + * @param emissionsProvenance emissionsProvenance or {@code null} for none + */ + public EmissionsMetadata setEmissionsProvenance(EmissionsProvenance emissionsProvenance) { + this.emissionsProvenance = emissionsProvenance; + return this; + } + + /** + * Output only. Link to the `travelimpactmodel.org` Emissions Calculator website. Example: + * https://travelimpactmodel.org/lookup/flight?itinerary=ZRH-BOS-LX-52-20261225. + * @return value or {@code null} for none + */ + public java.lang.String getTimWebsiteEmissionsCalculatorUrl() { + return timWebsiteEmissionsCalculatorUrl; + } + + /** + * Output only. Link to the `travelimpactmodel.org` Emissions Calculator website. Example: + * https://travelimpactmodel.org/lookup/flight?itinerary=ZRH-BOS-LX-52-20261225. + * @param timWebsiteEmissionsCalculatorUrl timWebsiteEmissionsCalculatorUrl or {@code null} for none + */ + public EmissionsMetadata setTimWebsiteEmissionsCalculatorUrl(java.lang.String timWebsiteEmissionsCalculatorUrl) { + this.timWebsiteEmissionsCalculatorUrl = timWebsiteEmissionsCalculatorUrl; + return this; + } + + @Override + public EmissionsMetadata set(String fieldName, Object value) { + return (EmissionsMetadata) super.set(fieldName, value); + } + + @Override + public EmissionsMetadata clone() { + return (EmissionsMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenance.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenance.java new file mode 100644 index 00000000000..364a98e112e --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenance.java @@ -0,0 +1,68 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Information about the provenance of the data used to calculate emissions estimates, including + * contributing factors and their data sources. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class EmissionsProvenance extends com.google.api.client.json.GenericJson { + + /** + * Output only. All contributing factors used to calculate emissions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List provenanceEntries; + + /** + * Output only. All contributing factors used to calculate emissions. + * @return value or {@code null} for none + */ + public java.util.List getProvenanceEntries() { + return provenanceEntries; + } + + /** + * Output only. All contributing factors used to calculate emissions. + * @param provenanceEntries provenanceEntries or {@code null} for none + */ + public EmissionsProvenance setProvenanceEntries(java.util.List provenanceEntries) { + this.provenanceEntries = provenanceEntries; + return this; + } + + @Override + public EmissionsProvenance set(String fieldName, Object value) { + return (EmissionsProvenance) super.set(fieldName, value); + } + + @Override + public EmissionsProvenance clone() { + return (EmissionsProvenance) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenanceEntry.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenanceEntry.java new file mode 100644 index 00000000000..39fe21255de --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/EmissionsProvenanceEntry.java @@ -0,0 +1,391 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Details about a single contributing factor in emissions calculations. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class EmissionsProvenanceEntry extends com.google.api.client.json.GenericJson { + + /** + * Output only. The cargo mass fraction value. If not set, the cargo mass fraction value is not + * available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double cargoMassFractionData; + + /** + * Output only. Strategy for T100 cargo mass fraction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cargoMassFractionT100Strategy; + + /** + * Output only. Data category of the data source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataCategory; + + /** + * Output only. Strategy for distance adjustment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String distanceAdjustmentStrategy; + + /** + * Output only. The estimated distance flown in CCD flight phase in kilometers value calculated + * using the distance adjustment factor (DAF). If not set, the estimated flight distance value is + * not available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer estimatedFlightDistanceKm; + + /** + * Output only. Strategy for EEA fuel burn. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fuelBurnEeaStrategy; + + /** + * Output only. Strategy for CH Aviation load factors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String loadFactorsChAviationStrategy; + + /** + * Output only. The load factors data value. If not set, the load factors value is not available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double loadFactorsData; + + /** + * Output only. Strategy for T100 load factors. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String loadFactorsT100Strategy; + + /** + * Output only. The type of the provenance entry. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String provenanceEntryType; + + /** + * Output only. The seat area ratio value for each seating class. If not set, the seat area ratio + * value is not available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SeatAreaRatioData seatAreaRatioData; + + /** + * Output only. Strategy for IATA seat area ratios. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String seatAreaRatioIataStrategy; + + /** + * Output only. The source of the data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Output only. The version of the source data. For example, "2025/04". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceVersion; + + /** + * Output only. The cargo mass fraction value. If not set, the cargo mass fraction value is not + * available. + * @return value or {@code null} for none + */ + public java.lang.Double getCargoMassFractionData() { + return cargoMassFractionData; + } + + /** + * Output only. The cargo mass fraction value. If not set, the cargo mass fraction value is not + * available. + * @param cargoMassFractionData cargoMassFractionData or {@code null} for none + */ + public EmissionsProvenanceEntry setCargoMassFractionData(java.lang.Double cargoMassFractionData) { + this.cargoMassFractionData = cargoMassFractionData; + return this; + } + + /** + * Output only. Strategy for T100 cargo mass fraction. + * @return value or {@code null} for none + */ + public java.lang.String getCargoMassFractionT100Strategy() { + return cargoMassFractionT100Strategy; + } + + /** + * Output only. Strategy for T100 cargo mass fraction. + * @param cargoMassFractionT100Strategy cargoMassFractionT100Strategy or {@code null} for none + */ + public EmissionsProvenanceEntry setCargoMassFractionT100Strategy(java.lang.String cargoMassFractionT100Strategy) { + this.cargoMassFractionT100Strategy = cargoMassFractionT100Strategy; + return this; + } + + /** + * Output only. Data category of the data source. + * @return value or {@code null} for none + */ + public java.lang.String getDataCategory() { + return dataCategory; + } + + /** + * Output only. Data category of the data source. + * @param dataCategory dataCategory or {@code null} for none + */ + public EmissionsProvenanceEntry setDataCategory(java.lang.String dataCategory) { + this.dataCategory = dataCategory; + return this; + } + + /** + * Output only. Strategy for distance adjustment. + * @return value or {@code null} for none + */ + public java.lang.String getDistanceAdjustmentStrategy() { + return distanceAdjustmentStrategy; + } + + /** + * Output only. Strategy for distance adjustment. + * @param distanceAdjustmentStrategy distanceAdjustmentStrategy or {@code null} for none + */ + public EmissionsProvenanceEntry setDistanceAdjustmentStrategy(java.lang.String distanceAdjustmentStrategy) { + this.distanceAdjustmentStrategy = distanceAdjustmentStrategy; + return this; + } + + /** + * Output only. The estimated distance flown in CCD flight phase in kilometers value calculated + * using the distance adjustment factor (DAF). If not set, the estimated flight distance value is + * not available. + * @return value or {@code null} for none + */ + public java.lang.Integer getEstimatedFlightDistanceKm() { + return estimatedFlightDistanceKm; + } + + /** + * Output only. The estimated distance flown in CCD flight phase in kilometers value calculated + * using the distance adjustment factor (DAF). If not set, the estimated flight distance value is + * not available. + * @param estimatedFlightDistanceKm estimatedFlightDistanceKm or {@code null} for none + */ + public EmissionsProvenanceEntry setEstimatedFlightDistanceKm(java.lang.Integer estimatedFlightDistanceKm) { + this.estimatedFlightDistanceKm = estimatedFlightDistanceKm; + return this; + } + + /** + * Output only. Strategy for EEA fuel burn. + * @return value or {@code null} for none + */ + public java.lang.String getFuelBurnEeaStrategy() { + return fuelBurnEeaStrategy; + } + + /** + * Output only. Strategy for EEA fuel burn. + * @param fuelBurnEeaStrategy fuelBurnEeaStrategy or {@code null} for none + */ + public EmissionsProvenanceEntry setFuelBurnEeaStrategy(java.lang.String fuelBurnEeaStrategy) { + this.fuelBurnEeaStrategy = fuelBurnEeaStrategy; + return this; + } + + /** + * Output only. Strategy for CH Aviation load factors. + * @return value or {@code null} for none + */ + public java.lang.String getLoadFactorsChAviationStrategy() { + return loadFactorsChAviationStrategy; + } + + /** + * Output only. Strategy for CH Aviation load factors. + * @param loadFactorsChAviationStrategy loadFactorsChAviationStrategy or {@code null} for none + */ + public EmissionsProvenanceEntry setLoadFactorsChAviationStrategy(java.lang.String loadFactorsChAviationStrategy) { + this.loadFactorsChAviationStrategy = loadFactorsChAviationStrategy; + return this; + } + + /** + * Output only. The load factors data value. If not set, the load factors value is not available. + * @return value or {@code null} for none + */ + public java.lang.Double getLoadFactorsData() { + return loadFactorsData; + } + + /** + * Output only. The load factors data value. If not set, the load factors value is not available. + * @param loadFactorsData loadFactorsData or {@code null} for none + */ + public EmissionsProvenanceEntry setLoadFactorsData(java.lang.Double loadFactorsData) { + this.loadFactorsData = loadFactorsData; + return this; + } + + /** + * Output only. Strategy for T100 load factors. + * @return value or {@code null} for none + */ + public java.lang.String getLoadFactorsT100Strategy() { + return loadFactorsT100Strategy; + } + + /** + * Output only. Strategy for T100 load factors. + * @param loadFactorsT100Strategy loadFactorsT100Strategy or {@code null} for none + */ + public EmissionsProvenanceEntry setLoadFactorsT100Strategy(java.lang.String loadFactorsT100Strategy) { + this.loadFactorsT100Strategy = loadFactorsT100Strategy; + return this; + } + + /** + * Output only. The type of the provenance entry. + * @return value or {@code null} for none + */ + public java.lang.String getProvenanceEntryType() { + return provenanceEntryType; + } + + /** + * Output only. The type of the provenance entry. + * @param provenanceEntryType provenanceEntryType or {@code null} for none + */ + public EmissionsProvenanceEntry setProvenanceEntryType(java.lang.String provenanceEntryType) { + this.provenanceEntryType = provenanceEntryType; + return this; + } + + /** + * Output only. The seat area ratio value for each seating class. If not set, the seat area ratio + * value is not available. + * @return value or {@code null} for none + */ + public SeatAreaRatioData getSeatAreaRatioData() { + return seatAreaRatioData; + } + + /** + * Output only. The seat area ratio value for each seating class. If not set, the seat area ratio + * value is not available. + * @param seatAreaRatioData seatAreaRatioData or {@code null} for none + */ + public EmissionsProvenanceEntry setSeatAreaRatioData(SeatAreaRatioData seatAreaRatioData) { + this.seatAreaRatioData = seatAreaRatioData; + return this; + } + + /** + * Output only. Strategy for IATA seat area ratios. + * @return value or {@code null} for none + */ + public java.lang.String getSeatAreaRatioIataStrategy() { + return seatAreaRatioIataStrategy; + } + + /** + * Output only. Strategy for IATA seat area ratios. + * @param seatAreaRatioIataStrategy seatAreaRatioIataStrategy or {@code null} for none + */ + public EmissionsProvenanceEntry setSeatAreaRatioIataStrategy(java.lang.String seatAreaRatioIataStrategy) { + this.seatAreaRatioIataStrategy = seatAreaRatioIataStrategy; + return this; + } + + /** + * Output only. The source of the data. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. The source of the data. + * @param source source or {@code null} for none + */ + public EmissionsProvenanceEntry setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Output only. The version of the source data. For example, "2025/04". + * @return value or {@code null} for none + */ + public java.lang.String getSourceVersion() { + return sourceVersion; + } + + /** + * Output only. The version of the source data. For example, "2025/04". + * @param sourceVersion sourceVersion or {@code null} for none + */ + public EmissionsProvenanceEntry setSourceVersion(java.lang.String sourceVersion) { + this.sourceVersion = sourceVersion; + return this; + } + + @Override + public EmissionsProvenanceEntry set(String fieldName, Object value) { + return (EmissionsProvenanceEntry) super.set(fieldName, value); + } + + @Override + public EmissionsProvenanceEntry clone() { + return (EmissionsProvenanceEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightEmissionsDetails.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightEmissionsDetails.java new file mode 100644 index 00000000000..44a86e860da --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightEmissionsDetails.java @@ -0,0 +1,151 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Details about the specific flight's emissions. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class FlightEmissionsDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. The significance of contrails warming impact compared to the total CO2e emissions + * impact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contrailsImpactBucket; + + /** + * Output only. Details about the various emissions portions of the total emissions_grams_per_pax + * value. The value of the summed breakdowns should always equal emissions_grams_per_pax. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsBreakdown emissionsBreakdown; + + /** + * Output only. Per-passenger emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeDetailedFlightEmissions + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsGramsPerPax emissionsGramsPerPax; + + /** + * Output only. The source of the emissions data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Output only. The significance of contrails warming impact compared to the total CO2e emissions + * impact. + * @return value or {@code null} for none + */ + public java.lang.String getContrailsImpactBucket() { + return contrailsImpactBucket; + } + + /** + * Output only. The significance of contrails warming impact compared to the total CO2e emissions + * impact. + * @param contrailsImpactBucket contrailsImpactBucket or {@code null} for none + */ + public FlightEmissionsDetails setContrailsImpactBucket(java.lang.String contrailsImpactBucket) { + this.contrailsImpactBucket = contrailsImpactBucket; + return this; + } + + /** + * Output only. Details about the various emissions portions of the total emissions_grams_per_pax + * value. The value of the summed breakdowns should always equal emissions_grams_per_pax. + * @return value or {@code null} for none + */ + public EmissionsBreakdown getEmissionsBreakdown() { + return emissionsBreakdown; + } + + /** + * Output only. Details about the various emissions portions of the total emissions_grams_per_pax + * value. The value of the summed breakdowns should always equal emissions_grams_per_pax. + * @param emissionsBreakdown emissionsBreakdown or {@code null} for none + */ + public FlightEmissionsDetails setEmissionsBreakdown(EmissionsBreakdown emissionsBreakdown) { + this.emissionsBreakdown = emissionsBreakdown; + return this; + } + + /** + * Output only. Per-passenger emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeDetailedFlightEmissions + * @return value or {@code null} for none + */ + public EmissionsGramsPerPax getEmissionsGramsPerPax() { + return emissionsGramsPerPax; + } + + /** + * Output only. Per-passenger emission estimate numbers. Will not be present if emissions could + * not be computed. For the list of reasons why emissions could not be computed, see + * ComputeDetailedFlightEmissions + * @param emissionsGramsPerPax emissionsGramsPerPax or {@code null} for none + */ + public FlightEmissionsDetails setEmissionsGramsPerPax(EmissionsGramsPerPax emissionsGramsPerPax) { + this.emissionsGramsPerPax = emissionsGramsPerPax; + return this; + } + + /** + * Output only. The source of the emissions data. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. The source of the emissions data. + * @param source source or {@code null} for none + */ + public FlightEmissionsDetails setSource(java.lang.String source) { + this.source = source; + return this; + } + + @Override + public FlightEmissionsDetails set(String fieldName, Object value) { + return (FlightEmissionsDetails) super.set(fieldName, value); + } + + @Override + public FlightEmissionsDetails clone() { + return (FlightEmissionsDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightWithDetailedEmissions.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightWithDetailedEmissions.java new file mode 100644 index 00000000000..fba5b570d5c --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightWithDetailedEmissions.java @@ -0,0 +1,118 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Direct flight with emission estimates details. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class FlightWithDetailedEmissions extends com.google.api.client.json.GenericJson { + + /** + * Output only. Additional metadata about the flight emissions calculation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EmissionsMetadata emissionsMetadata; + + /** + * Output only. Matches the flight identifiers in the request. Note: all IATA codes are + * capitalized. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Flight flight; + + /** + * Output only. All the flight emissions data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FlightEmissionsDetails flightEmissionsDetails; + + /** + * Output only. Additional metadata about the flight emissions calculation. + * @return value or {@code null} for none + */ + public EmissionsMetadata getEmissionsMetadata() { + return emissionsMetadata; + } + + /** + * Output only. Additional metadata about the flight emissions calculation. + * @param emissionsMetadata emissionsMetadata or {@code null} for none + */ + public FlightWithDetailedEmissions setEmissionsMetadata(EmissionsMetadata emissionsMetadata) { + this.emissionsMetadata = emissionsMetadata; + return this; + } + + /** + * Output only. Matches the flight identifiers in the request. Note: all IATA codes are + * capitalized. + * @return value or {@code null} for none + */ + public Flight getFlight() { + return flight; + } + + /** + * Output only. Matches the flight identifiers in the request. Note: all IATA codes are + * capitalized. + * @param flight flight or {@code null} for none + */ + public FlightWithDetailedEmissions setFlight(Flight flight) { + this.flight = flight; + return this; + } + + /** + * Output only. All the flight emissions data. + * @return value or {@code null} for none + */ + public FlightEmissionsDetails getFlightEmissionsDetails() { + return flightEmissionsDetails; + } + + /** + * Output only. All the flight emissions data. + * @param flightEmissionsDetails flightEmissionsDetails or {@code null} for none + */ + public FlightWithDetailedEmissions setFlightEmissionsDetails(FlightEmissionsDetails flightEmissionsDetails) { + this.flightEmissionsDetails = flightEmissionsDetails; + return this; + } + + @Override + public FlightWithDetailedEmissions set(String fieldName, Object value) { + return (FlightWithDetailedEmissions) super.set(fieldName, value); + } + + @Override + public FlightWithDetailedEmissions clone() { + return (FlightWithDetailedEmissions) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/SeatAreaRatioData.java b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/SeatAreaRatioData.java new file mode 100644 index 00000000000..9627ccfbdfd --- /dev/null +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/SeatAreaRatioData.java @@ -0,0 +1,141 @@ +/* + * 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://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.travelimpactmodel.v1.model; + +/** + * Seat area ratio data values. Economy is always 1.0 and serves as the reference point; other class + * values are relative to economy. All 4 fields are always set whether the seating class exists on + * the aircraft or not. + * + *

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 Travel Impact Model API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SeatAreaRatioData extends com.google.api.client.json.GenericJson { + + /** + * Output only. Business seating class data value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double business; + + /** + * Output only. Economy seating class data value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double economy; + + /** + * Output only. First seating class data value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double first; + + /** + * Output only. Premium economy seating class data value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double premiumEconomy; + + /** + * Output only. Business seating class data value. + * @return value or {@code null} for none + */ + public java.lang.Double getBusiness() { + return business; + } + + /** + * Output only. Business seating class data value. + * @param business business or {@code null} for none + */ + public SeatAreaRatioData setBusiness(java.lang.Double business) { + this.business = business; + return this; + } + + /** + * Output only. Economy seating class data value. + * @return value or {@code null} for none + */ + public java.lang.Double getEconomy() { + return economy; + } + + /** + * Output only. Economy seating class data value. + * @param economy economy or {@code null} for none + */ + public SeatAreaRatioData setEconomy(java.lang.Double economy) { + this.economy = economy; + return this; + } + + /** + * Output only. First seating class data value. + * @return value or {@code null} for none + */ + public java.lang.Double getFirst() { + return first; + } + + /** + * Output only. First seating class data value. + * @param first first or {@code null} for none + */ + public SeatAreaRatioData setFirst(java.lang.Double first) { + this.first = first; + return this; + } + + /** + * Output only. Premium economy seating class data value. + * @return value or {@code null} for none + */ + public java.lang.Double getPremiumEconomy() { + return premiumEconomy; + } + + /** + * Output only. Premium economy seating class data value. + * @param premiumEconomy premiumEconomy or {@code null} for none + */ + public SeatAreaRatioData setPremiumEconomy(java.lang.Double premiumEconomy) { + this.premiumEconomy = premiumEconomy; + return this; + } + + @Override + public SeatAreaRatioData set(String fieldName, Object value) { + return (SeatAreaRatioData) super.set(fieldName, value); + } + + @Override + public SeatAreaRatioData clone() { + return (SeatAreaRatioData) super.clone(); + } + +} diff --git a/clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml b/clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml index e67e7e75b74..bc4c115c903 100644 --- a/clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml +++ b/clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-travelimpactmodel - v1-rev20260602-2.0.0 - Travel Impact Model API v1-rev20260602-2.0.0 + v1-rev20260615-2.0.0 + Travel Impact Model API v1-rev20260615-2.0.0 jar 2011 diff --git a/clients/google-api-services-travelimpactmodel/v1/README.md b/clients/google-api-services-travelimpactmodel/v1/README.md index 1320bcd3b0b..0ede8d4b4e7 100644 --- a/clients/google-api-services-travelimpactmodel/v1/README.md +++ b/clients/google-api-services-travelimpactmodel/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-travelimpactmodel - v1-rev20260602-2.0.0 + v1-rev20260615-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260602-2.0.0' + implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260615-2.0.0' } ```