Skip to content

Commit 1733fe5

Browse files
committed
Add location field to Club domain object
This change adds the 'location' field to the Club domain object. This field appears to be a free-form text field, so the values returned in it may not actually represent the club's location.
1 parent a35582f commit 1733fe5

File tree

1 file changed

+8
-0
lines changed
  • src/main/java/io/github/sornerol/chess/pubapi/domain/club

1 file changed

+8
-0
lines changed

src/main/java/io/github/sornerol/chess/pubapi/domain/club/Club.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public class Club {
4545
@JsonProperty("country")
4646
private String countryApiUrl;
4747

48+
/**
49+
* The club's location. Note that this field appears to accept free-form
50+
* text, so the returned value may not actually represent any sort
51+
* of location.
52+
*/
53+
@JsonProperty("location")
54+
private String location;
55+
4856
/**
4957
* The average daily rating of club members
5058
*/

0 commit comments

Comments
 (0)