InlineResponse200.java 7.96 KB
Newer Older
EnesKarakas's avatar
daw  
EnesKarakas committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
package io.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;

/**
 * InlineResponse200
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2024-06-08T14:34:21.706302463Z[GMT]")


public class InlineResponse200   {
  @JsonProperty("latitude")
  private Float latitude = null;

  @JsonProperty("longitude")
  private Float longitude = null;

  @JsonProperty("generationtime_ms")
  private Float generationtimeMs = null;

  @JsonProperty("utc_offset_seconds")
  private Integer utcOffsetSeconds = null;

  @JsonProperty("timezone")
  private String timezone = null;

  @JsonProperty("timezone_abbreviation")
  private String timezoneAbbreviation = null;

  @JsonProperty("elevation")
  private Integer elevation = null;

  @JsonProperty("hourly_units")
  private Object hourlyUnits = null;

  @JsonProperty("hourly")
  private Object hourly = null;

  @JsonProperty("daily_units")
  private Object dailyUnits = null;

  @JsonProperty("daily")
  private Object daily = null;

  public InlineResponse200 latitude(Float latitude) {
    this.latitude = latitude;
    return this;
  }

  /**
   * Get latitude
   * @return latitude
   **/
  @Schema(description = "")
      @NotNull

    public Float getLatitude() {
    return latitude;
  }

  public void setLatitude(Float latitude) {
    this.latitude = latitude;
  }

  public InlineResponse200 longitude(Float longitude) {
    this.longitude = longitude;
    return this;
  }

  /**
   * Get longitude
   * @return longitude
   **/
  @Schema(description = "")
      @NotNull

    public Float getLongitude() {
    return longitude;
  }

  public void setLongitude(Float longitude) {
    this.longitude = longitude;
  }

  public InlineResponse200 generationtimeMs(Float generationtimeMs) {
    this.generationtimeMs = generationtimeMs;
    return this;
  }

  /**
   * Get generationtimeMs
   * @return generationtimeMs
   **/
  @Schema(description = "")
      @NotNull

    public Float getGenerationtimeMs() {
    return generationtimeMs;
  }

  public void setGenerationtimeMs(Float generationtimeMs) {
    this.generationtimeMs = generationtimeMs;
  }

  public InlineResponse200 utcOffsetSeconds(Integer utcOffsetSeconds) {
    this.utcOffsetSeconds = utcOffsetSeconds;
    return this;
  }

  /**
   * Get utcOffsetSeconds
   * @return utcOffsetSeconds
   **/
  @Schema(description = "")
      @NotNull

    public Integer getUtcOffsetSeconds() {
    return utcOffsetSeconds;
  }

  public void setUtcOffsetSeconds(Integer utcOffsetSeconds) {
    this.utcOffsetSeconds = utcOffsetSeconds;
  }

  public InlineResponse200 timezone(String timezone) {
    this.timezone = timezone;
    return this;
  }

  /**
   * Get timezone
   * @return timezone
   **/
  @Schema(description = "")
      @NotNull

    public String getTimezone() {
    return timezone;
  }

  public void setTimezone(String timezone) {
    this.timezone = timezone;
  }

  public InlineResponse200 timezoneAbbreviation(String timezoneAbbreviation) {
    this.timezoneAbbreviation = timezoneAbbreviation;
    return this;
  }

  /**
   * Get timezoneAbbreviation
   * @return timezoneAbbreviation
   **/
  @Schema(description = "")
      @NotNull

    public String getTimezoneAbbreviation() {
    return timezoneAbbreviation;
  }

  public void setTimezoneAbbreviation(String timezoneAbbreviation) {
    this.timezoneAbbreviation = timezoneAbbreviation;
  }

  public InlineResponse200 elevation(Integer elevation) {
    this.elevation = elevation;
    return this;
  }

  /**
   * Get elevation
   * @return elevation
   **/
  @Schema(description = "")
      @NotNull

    public Integer getElevation() {
    return elevation;
  }

  public void setElevation(Integer elevation) {
    this.elevation = elevation;
  }

  public InlineResponse200 hourlyUnits(Object hourlyUnits) {
    this.hourlyUnits = hourlyUnits;
    return this;
  }

  /**
   * Get hourlyUnits
   * @return hourlyUnits
   **/
  @Schema(description = "")
      @NotNull

    public Object getHourlyUnits() {
    return hourlyUnits;
  }

  public void setHourlyUnits(Object hourlyUnits) {
    this.hourlyUnits = hourlyUnits;
  }

  public InlineResponse200 hourly(Object hourly) {
    this.hourly = hourly;
    return this;
  }

  /**
   * Get hourly
   * @return hourly
   **/
  @Schema(description = "")
      @NotNull

    public Object getHourly() {
    return hourly;
  }

  public void setHourly(Object hourly) {
    this.hourly = hourly;
  }

  public InlineResponse200 dailyUnits(Object dailyUnits) {
    this.dailyUnits = dailyUnits;
    return this;
  }

  /**
   * Get dailyUnits
   * @return dailyUnits
   **/
  @Schema(description = "")
      @NotNull

    public Object getDailyUnits() {
    return dailyUnits;
  }

  public void setDailyUnits(Object dailyUnits) {
    this.dailyUnits = dailyUnits;
  }

  public InlineResponse200 daily(Object daily) {
    this.daily = daily;
    return this;
  }

  /**
   * Get daily
   * @return daily
   **/
  @Schema(description = "")
      @NotNull

    public Object getDaily() {
    return daily;
  }

  public void setDaily(Object daily) {
    this.daily = daily;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    InlineResponse200 inlineResponse200 = (InlineResponse200) o;
    return Objects.equals(this.latitude, inlineResponse200.latitude) &&
        Objects.equals(this.longitude, inlineResponse200.longitude) &&
        Objects.equals(this.generationtimeMs, inlineResponse200.generationtimeMs) &&
        Objects.equals(this.utcOffsetSeconds, inlineResponse200.utcOffsetSeconds) &&
        Objects.equals(this.timezone, inlineResponse200.timezone) &&
        Objects.equals(this.timezoneAbbreviation, inlineResponse200.timezoneAbbreviation) &&
        Objects.equals(this.elevation, inlineResponse200.elevation) &&
        Objects.equals(this.hourlyUnits, inlineResponse200.hourlyUnits) &&
        Objects.equals(this.hourly, inlineResponse200.hourly) &&
        Objects.equals(this.dailyUnits, inlineResponse200.dailyUnits) &&
        Objects.equals(this.daily, inlineResponse200.daily);
  }

  @Override
  public int hashCode() {
    return Objects.hash(latitude, longitude, generationtimeMs, utcOffsetSeconds, timezone, timezoneAbbreviation, elevation, hourlyUnits, hourly, dailyUnits, daily);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class InlineResponse200 {\n");
    
    sb.append("    latitude: ").append(toIndentedString(latitude)).append("\n");
    sb.append("    longitude: ").append(toIndentedString(longitude)).append("\n");
    sb.append("    generationtimeMs: ").append(toIndentedString(generationtimeMs)).append("\n");
    sb.append("    utcOffsetSeconds: ").append(toIndentedString(utcOffsetSeconds)).append("\n");
    sb.append("    timezone: ").append(toIndentedString(timezone)).append("\n");
    sb.append("    timezoneAbbreviation: ").append(toIndentedString(timezoneAbbreviation)).append("\n");
    sb.append("    elevation: ").append(toIndentedString(elevation)).append("\n");
    sb.append("    hourlyUnits: ").append(toIndentedString(hourlyUnits)).append("\n");
    sb.append("    hourly: ").append(toIndentedString(hourly)).append("\n");
    sb.append("    dailyUnits: ").append(toIndentedString(dailyUnits)).append("\n");
    sb.append("    daily: ").append(toIndentedString(daily)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}