All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gs2.realtime.control.UpdateGatheringPoolRequest Maven / Gradle / Ivy

/*
 * 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.realtime.control;

import org.json.JSONObject;
import java.util.List;
import io.gs2.realtime.Gs2Realtime;
import io.gs2.control.Gs2BasicRequest;

/**
 * @author Game Server Services, Inc.
 */
@SuppressWarnings("serial")
public class UpdateGatheringPoolRequest extends Gs2BasicRequest {

	public static class Constant extends Gs2Realtime.Constant {
		public static final String FUNCTION = "UpdateGatheringPool";
	}

	/** ギャザリングプールの名前を指定します。 */
	private String gatheringPoolName;

	/** ギャザリングプールの説明 */
	private String description;


	/**
	 * ギャザリングプールの名前を指定します。を取得
	 *
	 * @return ギャザリングプールの名前を指定します。
	 */
	public String getGatheringPoolName() {
		return gatheringPoolName;
	}

	/**
	 * ギャザリングプールの名前を指定します。を設定
	 *
	 * @param gatheringPoolName ギャザリングプールの名前を指定します。
	 */
	public void setGatheringPoolName(String gatheringPoolName) {
		this.gatheringPoolName = gatheringPoolName;
	}

	/**
	 * ギャザリングプールの名前を指定します。を設定
	 *
	 * @param gatheringPoolName ギャザリングプールの名前を指定します。
	 * @return this
	 */
	public UpdateGatheringPoolRequest withGatheringPoolName(String gatheringPoolName) {
		setGatheringPoolName(gatheringPoolName);
		return this;
	}

	/**
	 * ギャザリングプールの説明を取得
	 *
	 * @return ギャザリングプールの説明
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * ギャザリングプールの説明を設定
	 *
	 * @param description ギャザリングプールの説明
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * ギャザリングプールの説明を設定
	 *
	 * @param description ギャザリングプールの説明
	 * @return this
	 */
	public UpdateGatheringPoolRequest withDescription(String description) {
		setDescription(description);
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy