/*
 * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License 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 org.wso2.carbon.identity.rest.api.user.association.v1.dto;

import io.swagger.annotations.*;
import com.fasterxml.jackson.annotation.*;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@ApiModel(description = "")
public class UserDTO {

    @Valid 
    private String userId = null;

    @Valid 
    private String username = null;

    @Valid 
    private String userStoreDomain = null;

    @Valid 
    private String tenantDomain = null;

    @Valid 
    private String firstName = null;

    @Valid 
    private String lastName = null;

    @Valid 
    private String email = null;

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("userId")
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("username")
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("userStoreDomain")
    public String getUserStoreDomain() {
        return userStoreDomain;
    }
    public void setUserStoreDomain(String userStoreDomain) {
        this.userStoreDomain = userStoreDomain;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("tenantDomain")
    public String getTenantDomain() {
        return tenantDomain;
    }
    public void setTenantDomain(String tenantDomain) {
        this.tenantDomain = tenantDomain;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("firstName")
    public String getFirstName() {
        return firstName;
    }
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("lastName")
    public String getLastName() {
        return lastName;
    }
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
    **/
    @ApiModelProperty(value = "")
    @JsonProperty("email")
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {

        StringBuilder sb = new StringBuilder();
        sb.append("class UserDTO {\n");
        
        sb.append("    userId: ").append(userId).append("\n");
        sb.append("    username: ").append(username).append("\n");
        sb.append("    userStoreDomain: ").append(userStoreDomain).append("\n");
        sb.append("    tenantDomain: ").append(tenantDomain).append("\n");
        sb.append("    firstName: ").append(firstName).append("\n");
        sb.append("    lastName: ").append(lastName).append("\n");
        sb.append("    email: ").append(email).append("\n");
        
        sb.append("}\n");
        return sb.toString();
    }
}
