2 * Copyright (c) 2019-2020. Developed by Hedgecode.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.hedgecode.chess.scanner.json.chessbomb;
19 import java.util.Date;
21 import com.google.gson.annotations.SerializedName;
23 import org.hedgecode.chess.scanner.format.chessbomb.Room;
28 * @author Dmitry Samoshin aka gotty
30 public class JSONRoom implements Room {
35 @SerializedName("indexId")
38 @SerializedName("slug")
41 @SerializedName("name")
44 @SerializedName("shortName")
45 private String shortName;
47 @SerializedName("weight")
50 @SerializedName("startAt")
53 @SerializedName("endAt")
56 @SerializedName("updateAt")
57 private Date updateAt;
59 @SerializedName("eventType")
60 private String eventType;
62 @SerializedName("scoring")
63 private String scoring;
65 @SerializedName("officialUrl")
66 private String officialUrl;
77 public int indexId() {
82 public String slug() {
87 public String name() {
92 public String shortName() {
102 public Date startAt() {
107 public Date endAt() {
112 public Date updateAt() {
117 public String eventType() {
122 public String scoring() {
127 public String officialUrl() {