public class CounterModel extends Object implements Serializable, Comparable<CounterModel>
| Modifier and Type | Field and Description |
|---|---|
protected String |
challengePeriodEventId
カウントアップ可能な期間を指定するイベントマスター のGRN
|
protected String |
counterId
カウンターの種類
|
protected String |
metadata
メタデータ
|
protected String |
name
カウンター名
|
protected List<CounterScopeModel> |
scopes
カウンターのリセットタイミング
|
| Constructor and Description |
|---|
CounterModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CounterModel o) |
boolean |
equals(Object o) |
String |
getChallengePeriodEventId()
カウントアップ可能な期間を指定するイベントマスター のGRNを取得
|
String |
getCounterId()
カウンターの種類を取得
|
String |
getMetadata()
メタデータを取得
|
String |
getName()
カウンター名を取得
|
List<CounterScopeModel> |
getScopes()
カウンターのリセットタイミングを取得
|
int |
hashCode() |
void |
setChallengePeriodEventId(String challengePeriodEventId)
カウントアップ可能な期間を指定するイベントマスター のGRNを設定
|
void |
setCounterId(String counterId)
カウンターの種類を設定
|
void |
setMetadata(String metadata)
メタデータを設定
|
void |
setName(String name)
カウンター名を設定
|
void |
setScopes(List<CounterScopeModel> scopes)
カウンターのリセットタイミングを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
CounterModel |
withChallengePeriodEventId(String challengePeriodEventId)
カウントアップ可能な期間を指定するイベントマスター のGRNを設定
|
CounterModel |
withCounterId(String counterId)
カウンターの種類を設定
|
CounterModel |
withMetadata(String metadata)
メタデータを設定
|
CounterModel |
withName(String name)
カウンター名を設定
|
CounterModel |
withScopes(List<CounterScopeModel> scopes)
カウンターのリセットタイミングを設定
|
protected String counterId
protected String name
protected String metadata
protected List<CounterScopeModel> scopes
protected String challengePeriodEventId
public String getCounterId()
public void setCounterId(String counterId)
counterId - カウンターの種類public CounterModel withCounterId(String counterId)
counterId - カウンターの種類public String getName()
public void setName(String name)
name - カウンター名public CounterModel withName(String name)
name - カウンター名public String getMetadata()
public void setMetadata(String metadata)
metadata - メタデータpublic CounterModel withMetadata(String metadata)
metadata - メタデータpublic List<CounterScopeModel> getScopes()
public void setScopes(List<CounterScopeModel> scopes)
scopes - カウンターのリセットタイミングpublic CounterModel withScopes(List<CounterScopeModel> scopes)
scopes - カウンターのリセットタイミングpublic String getChallengePeriodEventId()
public void setChallengePeriodEventId(String challengePeriodEventId)
challengePeriodEventId - カウントアップ可能な期間を指定するイベントマスター のGRNpublic CounterModel withChallengePeriodEventId(String challengePeriodEventId)
challengePeriodEventId - カウントアップ可能な期間を指定するイベントマスター のGRNpublic com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(CounterModel o)
compareTo in interface Comparable<CounterModel>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.