
io.gs2.lottery.request.UpdatePrizeTableMasterRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gs2-java-sdk-lottery Show documentation
Show all versions of gs2-java-sdk-lottery Show documentation
Game Server Services SDK for Java GS2-Lottery Library
The newest version!
/*
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package io.gs2.lottery.request;
import org.json.JSONObject;
import java.util.List;
import java.util.Map;
import io.gs2.lottery.model.*;
import io.gs2.control.Gs2BasicRequest;
/**
* 排出確率テーブルマスターを更新 のリクエストモデル
*
* @author Game Server Services, Inc.
*/
@SuppressWarnings("serial")
public class UpdatePrizeTableMasterRequest extends Gs2BasicRequest {
/** ネームスペース名 */
private String namespaceName;
/**
* ネームスペース名を取得
*
* @return 排出確率テーブルマスターを更新
*/
public String getNamespaceName() {
return namespaceName;
}
/**
* ネームスペース名を設定
*
* @param namespaceName 排出確率テーブルマスターを更新
*/
public void setNamespaceName(String namespaceName) {
this.namespaceName = namespaceName;
}
/**
* ネームスペース名を設定
*
* @param namespaceName 排出確率テーブルマスターを更新
* @return this
*/
public UpdatePrizeTableMasterRequest withNamespaceName(String namespaceName) {
setNamespaceName(namespaceName);
return this;
}
/** 排出確率テーブル名 */
private String prizeTableName;
/**
* 排出確率テーブル名を取得
*
* @return 排出確率テーブルマスターを更新
*/
public String getPrizeTableName() {
return prizeTableName;
}
/**
* 排出確率テーブル名を設定
*
* @param prizeTableName 排出確率テーブルマスターを更新
*/
public void setPrizeTableName(String prizeTableName) {
this.prizeTableName = prizeTableName;
}
/**
* 排出確率テーブル名を設定
*
* @param prizeTableName 排出確率テーブルマスターを更新
* @return this
*/
public UpdatePrizeTableMasterRequest withPrizeTableName(String prizeTableName) {
setPrizeTableName(prizeTableName);
return this;
}
/** 排出確率テーブルマスターの説明 */
private String description;
/**
* 排出確率テーブルマスターの説明を取得
*
* @return 排出確率テーブルマスターを更新
*/
public String getDescription() {
return description;
}
/**
* 排出確率テーブルマスターの説明を設定
*
* @param description 排出確率テーブルマスターを更新
*/
public void setDescription(String description) {
this.description = description;
}
/**
* 排出確率テーブルマスターの説明を設定
*
* @param description 排出確率テーブルマスターを更新
* @return this
*/
public UpdatePrizeTableMasterRequest withDescription(String description) {
setDescription(description);
return this;
}
/** 排出確率テーブルのメタデータ */
private String metadata;
/**
* 排出確率テーブルのメタデータを取得
*
* @return 排出確率テーブルマスターを更新
*/
public String getMetadata() {
return metadata;
}
/**
* 排出確率テーブルのメタデータを設定
*
* @param metadata 排出確率テーブルマスターを更新
*/
public void setMetadata(String metadata) {
this.metadata = metadata;
}
/**
* 排出確率テーブルのメタデータを設定
*
* @param metadata 排出確率テーブルマスターを更新
* @return this
*/
public UpdatePrizeTableMasterRequest withMetadata(String metadata) {
setMetadata(metadata);
return this;
}
/** 景品リスト */
private List prizes;
/**
* 景品リストを取得
*
* @return 排出確率テーブルマスターを更新
*/
public List getPrizes() {
return prizes;
}
/**
* 景品リストを設定
*
* @param prizes 排出確率テーブルマスターを更新
*/
public void setPrizes(List prizes) {
this.prizes = prizes;
}
/**
* 景品リストを設定
*
* @param prizes 排出確率テーブルマスターを更新
* @return this
*/
public UpdatePrizeTableMasterRequest withPrizes(List prizes) {
setPrizes(prizes);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy