// Path: api-common/src/main/java/org/openweathermap/api/common/Coordinate.java
// @Data
// @NoArgsConstructor
// @AllArgsConstructor
// public class Coordinate {
//     /**
//      * City geo location, longitude
//      */
//     @SerializedName("lon")
//     private String longitude;
// 
//     /**
//      * City geo location, latitude
//      */
//     @SerializedName("lat")
//     private String latitude;
// }
// 
// Path: api-model/src/main/java/org/openweathermap/api/model/AbstractWeatherInformation.java
// @EqualsAndHashCode(callSuper = true)
// @Data
// public class AbstractWeatherInformation extends AbstractWeatherResponse {
// 
//     @SerializedName("main")
//     private MainParameters mainParameters;
// 
//     private Wind wind;
// 
//     private Clouds clouds;
// 
//     private Rain rain;
// 
//     private Snow snow;
// }
// 
// Path: api-model/src/main/java/org/openweathermap/api/model/SystemParameters.java
// @Data
// public class SystemParameters {
//     @SerializedName("type")
//     private String type;
//     @SerializedName("id")
//     private String id;
//     @SerializedName("message")
//     private String message;
//     @SerializedName("country")
//     private String country;
//     @JsonAdapter(SecondsDateTypeAdapter.class)
//     @SerializedName("sunrise")
//     private Date sunrise;
//     @JsonAdapter(SecondsDateTypeAdapter.class)
//     @SerializedName("sunset")
//     private Date sunset;
// }


import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.openweathermap.api.common.Coordinate;
import org.openweathermap.api.model.AbstractWeatherInformation;
import org.openweathermap.api.model.SystemParameters;
import java.lang.reflect.Type;
import java.util.List;
/*
 * Copyright 2021, Yurii Serhiichuk
 *
 * 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.
 *
 */

package org.openweathermap.api.model.currentweather;



@EqualsAndHashCode(callSuper = true)
@Data
public class CurrentWeather extends AbstractWeatherInformation {

// Path: api-common/src/main/java/org/openweathermap/api/common/Coordinate.java
// @Data
// @NoArgsConstructor
// @AllArgsConstructor
// public class Coordinate {
//     /**
//      * City geo location, longitude
//      */
//     @SerializedName("lon")
//     private String longitude;
// 
//     /**
//      * City geo location, latitude
//      */
//     @SerializedName("lat")
//     private String latitude;
// }
// 
// Path: api-model/src/main/java/org/openweathermap/api/model/AbstractWeatherInformation.java
// @EqualsAndHashCode(callSuper = true)
// @Data
// public class AbstractWeatherInformation extends AbstractWeatherResponse {
// 
//     @SerializedName("main")
//     private MainParameters mainParameters;
// 
//     private Wind wind;
// 
//     private Clouds clouds;
// 
//     private Rain rain;
// 
//     private Snow snow;
// }
// 
// Path: api-model/src/main/java/org/openweathermap/api/model/SystemParameters.java
// @Data
// public class SystemParameters {
//     @SerializedName("type")
//     private String type;
//     @SerializedName("id")
//     private String id;
//     @SerializedName("message")
//     private String message;
//     @SerializedName("country")
//     private String country;
//     @JsonAdapter(SecondsDateTypeAdapter.class)
//     @SerializedName("sunrise")
//     private Date sunrise;
//     @JsonAdapter(SecondsDateTypeAdapter.class)
//     @SerializedName("sunset")
//     private Date sunset;
// }


// Path: api-model/src/main/java/org/openweathermap/api/model/currentweather/CurrentWeather.java
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.openweathermap.api.common.Coordinate;
import org.openweathermap.api.model.AbstractWeatherInformation;
import org.openweathermap.api.model.SystemParameters;
import java.lang.reflect.Type;
import java.util.List;

/*
 * Copyright 2021, Yurii Serhiichuk
 *
 * 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.
 *
 */

package org.openweathermap.api.model.currentweather;



@EqualsAndHashCode(callSuper = true)
@Data
public class CurrentWeather extends AbstractWeatherInformation {

    public static final Type TYPE = TypeToken.get(CurrentWeather.class).getType();