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

io.gs2.identifier.request.UpdateUserRequest Maven / Gradle / Ivy

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.identifier.request;

import org.json.JSONObject;
import java.util.List;
import java.util.Map;
import io.gs2.identifier.model.*;
import io.gs2.control.Gs2BasicRequest;

/**
 * ユーザを更新します のリクエストモデル
 *
 * @author Game Server Services, Inc.
 */
@SuppressWarnings("serial")
public class UpdateUserRequest extends Gs2BasicRequest {

    /** ユーザー名 */
    private String userName;

    /**
     * ユーザー名を取得
     *
     * @return ユーザを更新します
     */
    public String getUserName() {
        return userName;
    }

    /**
     * ユーザー名を設定
     *
     * @param userName ユーザを更新します
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * ユーザー名を設定
     *
     * @param userName ユーザを更新します
     * @return this
     */
    public UpdateUserRequest withUserName(String userName) {
        setUserName(userName);
        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 UpdateUserRequest withDescription(String description) {
        setDescription(description);
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy