Skip to content

Commit 1abfdd9

Browse files
1 parent 948c777 commit 1abfdd9

File tree

5 files changed

+232
-6
lines changed

5 files changed

+232
-6
lines changed

clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-travelimpactmodel</artifactId>
25-
<version>v1-rev20250605-2.0.0</version>
25+
<version>v1-rev20250624-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250605-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250624-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.travelimpactmodel.v1.model;
18+
19+
/**
20+
* Metadata about the EASA Flight Emissions Label.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Travel Impact Model API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class EasaLabelMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The date when the label expires. The label can be displayed until the end of this date.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private Date labelExpiryDate;
39+
40+
/**
41+
* The date when the label was issued.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private Date labelIssueDate;
46+
47+
/**
48+
* Version of the label.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String labelVersion;
53+
54+
/**
55+
* Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a
56+
* percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%.
57+
* This discount and reduction in emissions are reported by the EASA label but they are not
58+
* included in the CO2e estimates distributed by this API.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.Double safDiscountPercentage;
63+
64+
/**
65+
* The date when the label expires. The label can be displayed until the end of this date.
66+
* @return value or {@code null} for none
67+
*/
68+
public Date getLabelExpiryDate() {
69+
return labelExpiryDate;
70+
}
71+
72+
/**
73+
* The date when the label expires. The label can be displayed until the end of this date.
74+
* @param labelExpiryDate labelExpiryDate or {@code null} for none
75+
*/
76+
public EasaLabelMetadata setLabelExpiryDate(Date labelExpiryDate) {
77+
this.labelExpiryDate = labelExpiryDate;
78+
return this;
79+
}
80+
81+
/**
82+
* The date when the label was issued.
83+
* @return value or {@code null} for none
84+
*/
85+
public Date getLabelIssueDate() {
86+
return labelIssueDate;
87+
}
88+
89+
/**
90+
* The date when the label was issued.
91+
* @param labelIssueDate labelIssueDate or {@code null} for none
92+
*/
93+
public EasaLabelMetadata setLabelIssueDate(Date labelIssueDate) {
94+
this.labelIssueDate = labelIssueDate;
95+
return this;
96+
}
97+
98+
/**
99+
* Version of the label.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.String getLabelVersion() {
103+
return labelVersion;
104+
}
105+
106+
/**
107+
* Version of the label.
108+
* @param labelVersion labelVersion or {@code null} for none
109+
*/
110+
public EasaLabelMetadata setLabelVersion(java.lang.String labelVersion) {
111+
this.labelVersion = labelVersion;
112+
return this;
113+
}
114+
115+
/**
116+
* Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a
117+
* percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%.
118+
* This discount and reduction in emissions are reported by the EASA label but they are not
119+
* included in the CO2e estimates distributed by this API.
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.Double getSafDiscountPercentage() {
123+
return safDiscountPercentage;
124+
}
125+
126+
/**
127+
* Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a
128+
* percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%.
129+
* This discount and reduction in emissions are reported by the EASA label but they are not
130+
* included in the CO2e estimates distributed by this API.
131+
* @param safDiscountPercentage safDiscountPercentage or {@code null} for none
132+
*/
133+
public EasaLabelMetadata setSafDiscountPercentage(java.lang.Double safDiscountPercentage) {
134+
this.safDiscountPercentage = safDiscountPercentage;
135+
return this;
136+
}
137+
138+
@Override
139+
public EasaLabelMetadata set(String fieldName, Object value) {
140+
return (EasaLabelMetadata) super.set(fieldName, value);
141+
}
142+
143+
@Override
144+
public EasaLabelMetadata clone() {
145+
return (EasaLabelMetadata) super.clone();
146+
}
147+
148+
}

clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/FlightWithEmissions.java

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030
@SuppressWarnings("javadoc")
3131
public final class FlightWithEmissions extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. The significance of contrails warming impact compared to the total CO2e emissions
35+
* impact.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String contrailsImpactBucket;
40+
41+
/**
42+
* Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data
43+
* source is EASA.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private EasaLabelMetadata easaLabelMetadata;
48+
3349
/**
3450
* Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not
3551
* be computed. For the list of reasons why emissions could not be computed, see
@@ -46,6 +62,51 @@ public final class FlightWithEmissions extends com.google.api.client.json.Generi
4662
@com.google.api.client.util.Key
4763
private Flight flight;
4864

65+
/**
66+
* Optional. The source of the emissions data.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.String source;
71+
72+
/**
73+
* Optional. The significance of contrails warming impact compared to the total CO2e emissions
74+
* impact.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getContrailsImpactBucket() {
78+
return contrailsImpactBucket;
79+
}
80+
81+
/**
82+
* Optional. The significance of contrails warming impact compared to the total CO2e emissions
83+
* impact.
84+
* @param contrailsImpactBucket contrailsImpactBucket or {@code null} for none
85+
*/
86+
public FlightWithEmissions setContrailsImpactBucket(java.lang.String contrailsImpactBucket) {
87+
this.contrailsImpactBucket = contrailsImpactBucket;
88+
return this;
89+
}
90+
91+
/**
92+
* Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data
93+
* source is EASA.
94+
* @return value or {@code null} for none
95+
*/
96+
public EasaLabelMetadata getEasaLabelMetadata() {
97+
return easaLabelMetadata;
98+
}
99+
100+
/**
101+
* Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data
102+
* source is EASA.
103+
* @param easaLabelMetadata easaLabelMetadata or {@code null} for none
104+
*/
105+
public FlightWithEmissions setEasaLabelMetadata(EasaLabelMetadata easaLabelMetadata) {
106+
this.easaLabelMetadata = easaLabelMetadata;
107+
return this;
108+
}
109+
49110
/**
50111
* Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not
51112
* be computed. For the list of reasons why emissions could not be computed, see
@@ -84,6 +145,23 @@ public FlightWithEmissions setFlight(Flight flight) {
84145
return this;
85146
}
86147

148+
/**
149+
* Optional. The source of the emissions data.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.lang.String getSource() {
153+
return source;
154+
}
155+
156+
/**
157+
* Optional. The source of the emissions data.
158+
* @param source source or {@code null} for none
159+
*/
160+
public FlightWithEmissions setSource(java.lang.String source) {
161+
this.source = source;
162+
return this;
163+
}
164+
87165
@Override
88166
public FlightWithEmissions set(String fieldName, Object value) {
89167
return (FlightWithEmissions) super.set(fieldName, value);

clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-travelimpactmodel</artifactId>
11-
<version>v1-rev20250605-2.0.0</version>
12-
<name>Travel Impact Model API v1-rev20250605-2.0.0</name>
11+
<version>v1-rev20250624-2.0.0</version>
12+
<name>Travel Impact Model API v1-rev20250624-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-travelimpactmodel/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-travelimpactmodel</artifactId>
25-
<version>v1-rev20250605-2.0.0</version>
25+
<version>v1-rev20250624-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250605-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250624-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)