Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Karakas
SWP_SS24_Wetterdaten_sammeln
Commits
19b790d3
Commit
19b790d3
authored
Jun 09, 2024
by
EnesKarakas
Browse files
hg
parent
1d2e4b53
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
src/main/java/io/swagger/api/ForecastweatherApiController.java
View file @
19b790d3
This diff is collapsed.
Click to expand it.
src/main/java/io/swagger/api/HistoricalweatherApi.java
View file @
19b790d3
src/main/java/io/swagger/api/HistoricalweatherApiController.java
View file @
19b790d3
...
...
@@ -61,7 +61,7 @@ public class HistoricalweatherApiController implements HistoricalweatherApi {
)
{
try
{
String
datafree
=
"{\"location\":{},\"current\": {\"condition\": {},\"air_quality\": {}}}"
;
RestTemplate
restTemplate
=
new
RestTemplate
();
ApiService
apiService
=
new
ApiService
(
restTemplate
);
...
...
src/main/java/io/swagger/model/DayCondition.java
View file @
19b790d3
...
...
@@ -70,7 +70,7 @@ public class DayCondition {
private
Integer
dailyChanceOfSnow
=
null
;
@JsonProperty
(
"uv"
)
private
Float
uv
_day
=
null
;
private
Float
uv
=
null
;
public
DayCondition
maxtempC
(
Float
maxtempC
)
{
this
.
maxtempC
=
maxtempC
;
...
...
@@ -429,25 +429,25 @@ public class DayCondition {
this
.
dailyChanceOfSnow
=
dailyChanceOfSnow
;
}
public
DayCondition
uv
_day
(
Float
uv
_day
)
{
this
.
uv
_day
=
uv
_day
;
public
DayCondition
uv
(
Float
uv
)
{
this
.
uv
=
uv
;
return
this
;
}
/**
* Get uv
_day
* Get uv
*
* @return uv
_day
* @return uv
**/
@Schema
(
description
=
""
)
@NotNull
public
Float
getUv
_day
()
{
return
uv
_day
;
public
Float
getUv
()
{
return
uv
;
}
public
void
setUv
_day
(
Float
uv
_day
)
{
this
.
uv
_day
=
uv
_day
;
public
void
setUv
(
Float
uv
)
{
this
.
uv
=
uv
;
}
@Override
...
...
@@ -476,14 +476,14 @@ public class DayCondition {
Objects
.
equals
(
this
.
dailyChanceOfRain
,
dayCondition
.
dailyChanceOfRain
)
&&
Objects
.
equals
(
this
.
dailyWillItSnow
,
dayCondition
.
dailyWillItSnow
)
&&
Objects
.
equals
(
this
.
dailyChanceOfSnow
,
dayCondition
.
dailyChanceOfSnow
)
&&
Objects
.
equals
(
this
.
uv
_day
,
dayCondition
.
uv
_day
);
Objects
.
equals
(
this
.
uv
,
dayCondition
.
uv
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
maxtempC
,
maxtempF
,
mintempC
,
mintempF
,
avgtempC
,
avgtempF
,
maxwindMph
,
maxwindKph
,
totalprecipMm
,
totalprecipIn
,
avgvisKm
,
avgvisMiles
,
avghumidity
,
dailyWillItRain
,
dailyChanceOfRain
,
dailyWillItSnow
,
dailyChanceOfSnow
,
uv
_day
);
dailyWillItSnow
,
dailyChanceOfSnow
,
uv
);
}
@Override
...
...
@@ -508,7 +508,7 @@ public class DayCondition {
sb
.
append
(
" dailyChanceOfRain: "
).
append
(
toIndentedString
(
dailyChanceOfRain
)).
append
(
"\n"
);
sb
.
append
(
" dailyWillItSnow: "
).
append
(
toIndentedString
(
dailyWillItSnow
)).
append
(
"\n"
);
sb
.
append
(
" dailyChanceOfSnow: "
).
append
(
toIndentedString
(
dailyChanceOfSnow
)).
append
(
"\n"
);
sb
.
append
(
" uv
_day
: "
).
append
(
toIndentedString
(
uv
_day
)).
append
(
"\n"
);
sb
.
append
(
" uv: "
).
append
(
toIndentedString
(
uv
)).
append
(
"\n"
);
sb
.
append
(
"}"
);
return
sb
.
toString
();
}
...
...
src/main/java/io/swagger/model/HourCondition.java
View file @
19b790d3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment