| 8 | import com.google.gson.annotations.SerializedName; |
| 9 | |
| 10 | public class CPTEC extends API implements CPTECCidade, CPTECClimaCapital, CPTECClimaAeroporto, CPTECClimaPrevisao, CPTECOnda { |
| 11 | private String nome; |
| 12 | private String estado; |
| 13 | private Integer id; |
| 14 | @SerializedName("codigo_icao") |
| 15 | private String codigoIcao; |
| 16 | @SerializedName("atualizado_em") |
| 17 | private Timestamp atualizadoEm; |
| 18 | @SerializedName("pressao_atmosferica") |
| 19 | private Integer pressaoAtmosferica; |
| 20 | private String visibilidade; |
| 21 | private Integer vento; |
| 22 | @SerializedName("direcao_vento") |
| 23 | private Integer direcaoVento; |
| 24 | private Integer umidade; |
| 25 | private String condicao; |
| 26 | @SerializedName("condicao_desc") |
| 27 | private String condicaoDesc; |
| 28 | private Float temp; |
| 29 | private String cidade; |
| 30 | private Clima[] clima; |
| 31 | private Onda[] ondas; |
| 32 | |
| 33 | public String getNome() { |
| 34 | return nome; |
| 35 | } |
| 36 | |
| 37 | public void setNome(String nome) { |
| 38 | this.nome = nome; |
| 39 | } |
| 40 | |
| 41 | public String getEstado() { |
| 42 | return estado; |
| 43 | } |
| 44 | |
| 45 | public void setEstado(String estado) { |
| 46 | this.estado = estado; |
| 47 | } |
| 48 | |
| 49 | public Integer getId() { |
| 50 | return id; |
| 51 | } |
| 52 | |
| 53 | public void setId(Integer id) { |
| 54 | this.id = id; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Obtém o código ICAO do aeroporto. |
| 59 | */ |
| 60 | public String getCodigoIcao() { |
| 61 | return codigoIcao; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Define o código ICAO do aeroporto. |
| 66 | */ |
| 67 | public void setCodigoIcao(String codigoIcao) { |
nothing calls this directly
no outgoing calls
no test coverage detected