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

com.genesys._internal.workspace.model.CurrentSessionDataUser Maven / Gradle / Ivy

There is a newer version: 9.0.73
Show newest version
/*
 * Workspace API
 * Application API used by Workspace Web Edition
 *
 * OpenAPI spec version: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.genesys._internal.workspace.model;

import java.util.Objects;

import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * CurrentSessionDataUser
 */
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2017-08-22T16:18:36.606Z")
public class CurrentSessionDataUser {
  @SerializedName("userName")
  private String userName = null;

  @SerializedName("userProperties")
  private List userProperties = null;

  @SerializedName("employeeId")
  private String employeeId = null;

  @SerializedName("firstName")
  private String firstName = null;

  @SerializedName("dbid")
  private Integer dbid = null;

  @SerializedName("activeSession")
  private CurrentSessionDataUserActiveSession activeSession = null;

  @SerializedName("defaultPlace")
  private String defaultPlace = null;

  @SerializedName("lastName")
  private String lastName = null;

  @SerializedName("agentLogin")
  private String agentLogin = null;

  public CurrentSessionDataUser userName(String userName) {
    this.userName = userName;
    return this;
  }

   /**
   * Get userName
   * @return userName
  **/
  @ApiModelProperty(required = true, value = "")
  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public CurrentSessionDataUser userProperties(List userProperties) {
    this.userProperties = userProperties;
    return this;
  }

  public CurrentSessionDataUser addUserPropertiesItem(Kvpair userPropertiesItem) {
    if (this.userProperties == null) {
      this.userProperties = new ArrayList();
    }
    this.userProperties.add(userPropertiesItem);
    return this;
  }

   /**
   * Get userProperties
   * @return userProperties
  **/
  @ApiModelProperty(value = "")
  public List getUserProperties() {
    return userProperties;
  }

  public void setUserProperties(List userProperties) {
    this.userProperties = userProperties;
  }

  public CurrentSessionDataUser employeeId(String employeeId) {
    this.employeeId = employeeId;
    return this;
  }

   /**
   * Get employeeId
   * @return employeeId
  **/
  @ApiModelProperty(required = true, value = "")
  public String getEmployeeId() {
    return employeeId;
  }

  public void setEmployeeId(String employeeId) {
    this.employeeId = employeeId;
  }

  public CurrentSessionDataUser firstName(String firstName) {
    this.firstName = firstName;
    return this;
  }

   /**
   * Get firstName
   * @return firstName
  **/
  @ApiModelProperty(value = "")
  public String getFirstName() {
    return firstName;
  }

  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }

  public CurrentSessionDataUser dbid(Integer dbid) {
    this.dbid = dbid;
    return this;
  }

   /**
   * Get dbid
   * @return dbid
  **/
  @ApiModelProperty(value = "")
  public Integer getDbid() {
    return dbid;
  }

  public void setDbid(Integer dbid) {
    this.dbid = dbid;
  }

  public CurrentSessionDataUser activeSession(CurrentSessionDataUserActiveSession activeSession) {
    this.activeSession = activeSession;
    return this;
  }

   /**
   * Get activeSession
   * @return activeSession
  **/
  @ApiModelProperty(value = "")
  public CurrentSessionDataUserActiveSession getActiveSession() {
    return activeSession;
  }

  public void setActiveSession(CurrentSessionDataUserActiveSession activeSession) {
    this.activeSession = activeSession;
  }

  public CurrentSessionDataUser defaultPlace(String defaultPlace) {
    this.defaultPlace = defaultPlace;
    return this;
  }

   /**
   * Get defaultPlace
   * @return defaultPlace
  **/
  @ApiModelProperty(value = "")
  public String getDefaultPlace() {
    return defaultPlace;
  }

  public void setDefaultPlace(String defaultPlace) {
    this.defaultPlace = defaultPlace;
  }

  public CurrentSessionDataUser lastName(String lastName) {
    this.lastName = lastName;
    return this;
  }

   /**
   * Get lastName
   * @return lastName
  **/
  @ApiModelProperty(value = "")
  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public CurrentSessionDataUser agentLogin(String agentLogin) {
    this.agentLogin = agentLogin;
    return this;
  }

   /**
   * Get agentLogin
   * @return agentLogin
  **/
  @ApiModelProperty(value = "")
  public String getAgentLogin() {
    return agentLogin;
  }

  public void setAgentLogin(String agentLogin) {
    this.agentLogin = agentLogin;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CurrentSessionDataUser currentSessionDataUser = (CurrentSessionDataUser) o;
    return Objects.equals(this.userName, currentSessionDataUser.userName) &&
        Objects.equals(this.userProperties, currentSessionDataUser.userProperties) &&
        Objects.equals(this.employeeId, currentSessionDataUser.employeeId) &&
        Objects.equals(this.firstName, currentSessionDataUser.firstName) &&
        Objects.equals(this.dbid, currentSessionDataUser.dbid) &&
        Objects.equals(this.activeSession, currentSessionDataUser.activeSession) &&
        Objects.equals(this.defaultPlace, currentSessionDataUser.defaultPlace) &&
        Objects.equals(this.lastName, currentSessionDataUser.lastName) &&
        Objects.equals(this.agentLogin, currentSessionDataUser.agentLogin);
  }

  @Override
  public int hashCode() {
    return Objects.hash(userName, userProperties, employeeId, firstName, dbid, activeSession, defaultPlace, lastName, agentLogin);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CurrentSessionDataUser {\n");
    
    sb.append("    userName: ").append(toIndentedString(userName)).append("\n");
    sb.append("    userProperties: ").append(toIndentedString(userProperties)).append("\n");
    sb.append("    employeeId: ").append(toIndentedString(employeeId)).append("\n");
    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    sb.append("    dbid: ").append(toIndentedString(dbid)).append("\n");
    sb.append("    activeSession: ").append(toIndentedString(activeSession)).append("\n");
    sb.append("    defaultPlace: ").append(toIndentedString(defaultPlace)).append("\n");
    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    sb.append("    agentLogin: ").append(toIndentedString(agentLogin)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
  
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy