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

com.genesys.internal.provisioning.model.AddUserDataData Maven / Gradle / Ivy

There is a newer version: 9.0.75
Show newest version
/*
 * Provisioning API
 * The provisioning service will be used to create objects in configuration server in a way that is consistent with the BEC model. The \"users\" resource will be used to perform CRUD operations on config server person objects. Note that this API will extend the low level configuration server API to add additional functionality that will allow persons to be created in a way that makes them immediately useable in BEC. Operations on this resource may result in other configuration objects being modified as well. 
 *
 * OpenAPI spec version: 9.0.000.85.4562
 * 
 *
 * 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.provisioning.model;

import java.util.Objects;
import java.util.Arrays;
import com.genesys.internal.provisioning.model.AddUserDataDataWwe;
import com.genesys.internal.provisioning.model.Extension;
import com.genesys.internal.provisioning.model.Skill;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * AddUserDataData
 */
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-09-09T20:06:47.736Z")
public class AddUserDataData {
  @SerializedName("changePasswordOnNextLogin")
  private Boolean changePasswordOnNextLogin = null;

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

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

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

  @SerializedName("enabled")
  private Boolean enabled = null;

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

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

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

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

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

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

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

  @SerializedName("isAgent")
  private Boolean isAgent = null;

  @SerializedName("callRecording")
  private Boolean callRecording = null;

  @SerializedName("wwe")
  private AddUserDataDataWwe wwe = null;

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

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

  @SerializedName("supportSoftPhone")
  private Boolean supportSoftPhone = null;

  /**
   * The SIP phone type if you set the **supportSoftPhone** parameter to `true`. This specifies the SIP phone type and corresponding annex to be written to the DN's \"TServer\" section. * Disable CTI * Genesys SoftPhone (sip-cti-control: talk, hold, dtmf) * Genesys 420HT / AudioCodes 4xxHD (sip-cti-control: talk, hold) * Generic Phone (sip-cti-control: talk) * Genesys SoftPhone with WebRTC (sip-cti-control: talk,dtmf, dual-dialog-enabled: false) 
   */
  @JsonAdapter(SipPhoneTypeEnum.Adapter.class)
  public enum SipPhoneTypeEnum {
    DISABLE_CTI("DISABLE_CTI"),
    
    GENESYS_SOFTPHONE("GENESYS_SOFTPHONE"),
    
    GENESYS_420HT_AUDIOCODES_4XXHD("GENESYS_420HT_AUDIOCODES_4xxHD"),
    
    GENERIC_PHONE("GENERIC_PHONE"),
    
    GENESYS_SOFTPHONE_WEBRTC("GENESYS_SOFTPHONE_WEBRTC");

    private String value;

    SipPhoneTypeEnum(String value) {
      this.value = value;
    }

    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    public static SipPhoneTypeEnum fromValue(String text) {
      for (SipPhoneTypeEnum b : SipPhoneTypeEnum.values()) {
        if (String.valueOf(b.value).equals(text)) {
          return b;
        }
      }
      return null;
    }

    public static class Adapter extends TypeAdapter {
      @Override
      public void write(final JsonWriter jsonWriter, final SipPhoneTypeEnum enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }

      @Override
      public SipPhoneTypeEnum read(final JsonReader jsonReader) throws IOException {
        String value = jsonReader.nextString();
        return SipPhoneTypeEnum.fromValue(String.valueOf(value));
      }
    }
  }

  @SerializedName("sipPhoneType")
  private SipPhoneTypeEnum sipPhoneType = null;

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

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

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

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

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

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

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

  public AddUserDataData changePasswordOnNextLogin(Boolean changePasswordOnNextLogin) {
    this.changePasswordOnNextLogin = changePasswordOnNextLogin;
    return this;
  }

   /**
   * Specifies whether to ask the user to change their password the first time they login. The default is `false`. 
   * @return changePasswordOnNextLogin
  **/
  @ApiModelProperty(value = "Specifies whether to ask the user to change their password the first time they login. The default is `false`. ")
  public Boolean isChangePasswordOnNextLogin() {
    return changePasswordOnNextLogin;
  }

  public void setChangePasswordOnNextLogin(Boolean changePasswordOnNextLogin) {
    this.changePasswordOnNextLogin = changePasswordOnNextLogin;
  }

  public AddUserDataData emailAddress(String emailAddress) {
    this.emailAddress = emailAddress;
    return this;
  }

   /**
   * The user's email address. 
   * @return emailAddress
  **/
  @ApiModelProperty(value = "The user's email address. ")
  public String getEmailAddress() {
    return emailAddress;
  }

  public void setEmailAddress(String emailAddress) {
    this.emailAddress = emailAddress;
  }

  public AddUserDataData employeeID(String employeeID) {
    this.employeeID = employeeID;
    return this;
  }

   /**
   * The user's employee ID. 
   * @return employeeID
  **/
  @ApiModelProperty(value = "The user's employee ID. ")
  public String getEmployeeID() {
    return employeeID;
  }

  public void setEmployeeID(String employeeID) {
    this.employeeID = employeeID;
  }

  public AddUserDataData externalID(String externalID) {
    this.externalID = externalID;
    return this;
  }

   /**
   * The user's external ID. 
   * @return externalID
  **/
  @ApiModelProperty(value = "The user's external ID. ")
  public String getExternalID() {
    return externalID;
  }

  public void setExternalID(String externalID) {
    this.externalID = externalID;
  }

  public AddUserDataData enabled(Boolean enabled) {
    this.enabled = enabled;
    return this;
  }

   /**
   * Specifies whether the user is enabled. 
   * @return enabled
  **/
  @ApiModelProperty(value = "Specifies whether the user is enabled. ")
  public Boolean isEnabled() {
    return enabled;
  }

  public void setEnabled(Boolean enabled) {
    this.enabled = enabled;
  }

  public AddUserDataData folder(String folder) {
    this.folder = folder;
    return this;
  }

   /**
   * The location where the Provisioning API should create the user. This is also where the API creates DNs, places, agent logins and so on. If not specified, the API creates the user in a root folder. 
   * @return folder
  **/
  @ApiModelProperty(value = "The location where the Provisioning API should create the user. This is also where the API creates DNs, places, agent logins and so on. If not specified, the API creates the user in a root folder. ")
  public String getFolder() {
    return folder;
  }

  public void setFolder(String folder) {
    this.folder = folder;
  }

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

   /**
   * The user's unique login. 
   * @return userName
  **/
  @ApiModelProperty(required = true, value = "The user's unique login. ")
  public String getUserName() {
    return userName;
  }

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

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

   /**
   * The user's first name. 
   * @return firstName
  **/
  @ApiModelProperty(required = true, value = "The user's first name. ")
  public String getFirstName() {
    return firstName;
  }

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

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

   /**
   * The user's last name. 
   * @return lastName
  **/
  @ApiModelProperty(required = true, value = "The user's last name. ")
  public String getLastName() {
    return lastName;
  }

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

  public AddUserDataData loginCode(String loginCode) {
    this.loginCode = loginCode;
    return this;
  }

   /**
   * The user's login code. This creates a corresponding [CfgAgentLogin](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgAgentLogin) on all switches in the **switchNames** collection. It's then assigned to the CfgPerson being created. 
   * @return loginCode
  **/
  @ApiModelProperty(value = "The user's login code. This creates a corresponding [CfgAgentLogin](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgAgentLogin) on all switches in the **switchNames** collection. It's then assigned to the CfgPerson being created. ")
  public String getLoginCode() {
    return loginCode;
  }

  public void setLoginCode(String loginCode) {
    this.loginCode = loginCode;
  }

  public AddUserDataData password(String password) {
    this.password = password;
    return this;
  }

   /**
   * The user's password as plain text. 
   * @return password
  **/
  @ApiModelProperty(required = true, value = "The user's password as plain text. ")
  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public AddUserDataData placeNames(List placeNames) {
    this.placeNames = placeNames;
    return this;
  }

  public AddUserDataData addPlaceNamesItem(String placeNamesItem) {
    if (this.placeNames == null) {
      this.placeNames = new ArrayList();
    }
    this.placeNames.add(placeNamesItem);
    return this;
  }

   /**
   * A list of places (phones) available to the user (for multimedia only users). The list is written to the current [CfgPerson's](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgPerson) \"htcc\" annex. For example, CfgPerson/userProperties/htcc/place = p1, p2, p3. 
   * @return placeNames
  **/
  @ApiModelProperty(value = "A list of places (phones) available to the user (for multimedia only users). The list is written to the current [CfgPerson's](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgPerson) \"htcc\" annex. For example, CfgPerson/userProperties/htcc/place = p1, p2, p3. ")
  public List getPlaceNames() {
    return placeNames;
  }

  public void setPlaceNames(List placeNames) {
    this.placeNames = placeNames;
  }

  public AddUserDataData isAgent(Boolean isAgent) {
    this.isAgent = isAgent;
    return this;
  }

   /**
   * Specifies if the user is an agent (default `true`). 
   * @return isAgent
  **/
  @ApiModelProperty(value = "Specifies if the user is an agent (default `true`). ")
  public Boolean isIsAgent() {
    return isAgent;
  }

  public void setIsAgent(Boolean isAgent) {
    this.isAgent = isAgent;
  }

  public AddUserDataData callRecording(Boolean callRecording) {
    this.callRecording = callRecording;
    return this;
  }

   /**
   * Specifies if call recording is enabled for the user in a SIP Cluster environment. 
   * @return callRecording
  **/
  @ApiModelProperty(value = "Specifies if call recording is enabled for the user in a SIP Cluster environment. ")
  public Boolean isCallRecording() {
    return callRecording;
  }

  public void setCallRecording(Boolean callRecording) {
    this.callRecording = callRecording;
  }

  public AddUserDataData wwe(AddUserDataDataWwe wwe) {
    this.wwe = wwe;
    return this;
  }

   /**
   * Get wwe
   * @return wwe
  **/
  @ApiModelProperty(value = "")
  public AddUserDataDataWwe getWwe() {
    return wwe;
  }

  public void setWwe(AddUserDataDataWwe wwe) {
    this.wwe = wwe;
  }

  public AddUserDataData switchNames(List switchNames) {
    this.switchNames = switchNames;
    return this;
  }

  public AddUserDataData addSwitchNamesItem(String switchNamesItem) {
    if (this.switchNames == null) {
      this.switchNames = new ArrayList();
    }
    this.switchNames.add(switchNamesItem);
    return this;
  }

   /**
   * The switch names the user works on (where their DNs, agent logins and so on are created). 
   * @return switchNames
  **/
  @ApiModelProperty(value = "The switch names the user works on (where their DNs, agent logins and so on are created). ")
  public List getSwitchNames() {
    return switchNames;
  }

  public void setSwitchNames(List switchNames) {
    this.switchNames = switchNames;
  }

  public AddUserDataData phones(List phones) {
    this.phones = phones;
    return this;
  }

  public AddUserDataData addPhonesItem(Extension phonesItem) {
    if (this.phones == null) {
      this.phones = new ArrayList();
    }
    this.phones.add(phonesItem);
    return this;
  }

   /**
   * A list of phone number descriptors used to create the user's DNs. For each phone number, a corresponding DN is created on all switches specified by **switchNames** and assigned to the specified place. 
   * @return phones
  **/
  @ApiModelProperty(value = "A list of phone number descriptors used to create the user's DNs. For each phone number, a corresponding DN is created on all switches specified by **switchNames** and assigned to the specified place. ")
  public List getPhones() {
    return phones;
  }

  public void setPhones(List phones) {
    this.phones = phones;
  }

  public AddUserDataData supportSoftPhone(Boolean supportSoftPhone) {
    this.supportSoftPhone = supportSoftPhone;
    return this;
  }

   /**
   * Specifies whether to enable a SIP phone. This writes the corresponding information to the T-Server annex of the created DNs (see **sipPhoneType** below). 
   * @return supportSoftPhone
  **/
  @ApiModelProperty(value = "Specifies whether to enable a SIP phone. This writes the corresponding information to the T-Server annex of the created DNs (see **sipPhoneType** below). ")
  public Boolean isSupportSoftPhone() {
    return supportSoftPhone;
  }

  public void setSupportSoftPhone(Boolean supportSoftPhone) {
    this.supportSoftPhone = supportSoftPhone;
  }

  public AddUserDataData sipPhoneType(SipPhoneTypeEnum sipPhoneType) {
    this.sipPhoneType = sipPhoneType;
    return this;
  }

   /**
   * The SIP phone type if you set the **supportSoftPhone** parameter to `true`. This specifies the SIP phone type and corresponding annex to be written to the DN's \"TServer\" section. * Disable CTI * Genesys SoftPhone (sip-cti-control: talk, hold, dtmf) * Genesys 420HT / AudioCodes 4xxHD (sip-cti-control: talk, hold) * Generic Phone (sip-cti-control: talk) * Genesys SoftPhone with WebRTC (sip-cti-control: talk,dtmf, dual-dialog-enabled: false) 
   * @return sipPhoneType
  **/
  @ApiModelProperty(value = "The SIP phone type if you set the **supportSoftPhone** parameter to `true`. This specifies the SIP phone type and corresponding annex to be written to the DN's \"TServer\" section. * Disable CTI * Genesys SoftPhone (sip-cti-control: talk, hold, dtmf) * Genesys 420HT / AudioCodes 4xxHD (sip-cti-control: talk, hold) * Generic Phone (sip-cti-control: talk) * Genesys SoftPhone with WebRTC (sip-cti-control: talk,dtmf, dual-dialog-enabled: false) ")
  public SipPhoneTypeEnum getSipPhoneType() {
    return sipPhoneType;
  }

  public void setSipPhoneType(SipPhoneTypeEnum sipPhoneType) {
    this.sipPhoneType = sipPhoneType;
  }

  public AddUserDataData skills(List skills) {
    this.skills = skills;
    return this;
  }

  public AddUserDataData addSkillsItem(Skill skillsItem) {
    if (this.skills == null) {
      this.skills = new ArrayList();
    }
    this.skills.add(skillsItem);
    return this;
  }

   /**
   * A list of skills to assign to the user. If the Provisioning API finds the corresponding skill, it assigns it to the user with the specified level. If not found, the API creates the skill and assigns it to the user. 
   * @return skills
  **/
  @ApiModelProperty(value = "A list of skills to assign to the user. If the Provisioning API finds the corresponding skill, it assigns it to the user with the specified level. If not found, the API creates the skill and assigns it to the user. ")
  public List getSkills() {
    return skills;
  }

  public void setSkills(List skills) {
    this.skills = skills;
  }

  public AddUserDataData agentGroups(List agentGroups) {
    this.agentGroups = agentGroups;
    return this;
  }

  public AddUserDataData addAgentGroupsItem(String agentGroupsItem) {
    if (this.agentGroups == null) {
      this.agentGroups = new ArrayList();
    }
    this.agentGroups.add(agentGroupsItem);
    return this;
  }

   /**
   * A list of agent groups to assign to the user. If a group doesn't exist, it is created by the Provisioning API. 
   * @return agentGroups
  **/
  @ApiModelProperty(value = "A list of agent groups to assign to the user. If a group doesn't exist, it is created by the Provisioning API. ")
  public List getAgentGroups() {
    return agentGroups;
  }

  public void setAgentGroups(List agentGroups) {
    this.agentGroups = agentGroups;
  }

  public AddUserDataData accessGroups(List accessGroups) {
    this.accessGroups = accessGroups;
    return this;
  }

  public AddUserDataData addAccessGroupsItem(String accessGroupsItem) {
    if (this.accessGroups == null) {
      this.accessGroups = new ArrayList();
    }
    this.accessGroups.add(accessGroupsItem);
    return this;
  }

   /**
   * A list of access groups to assign to the user. If a group doesn't exist, it is **NOT** created by the Provisioning API. 
   * @return accessGroups
  **/
  @ApiModelProperty(value = "A list of access groups to assign to the user. If a group doesn't exist, it is **NOT** created by the Provisioning API. ")
  public List getAccessGroups() {
    return accessGroups;
  }

  public void setAccessGroups(List accessGroups) {
    this.accessGroups = accessGroups;
  }

  public AddUserDataData voiceMail(Integer voiceMail) {
    this.voiceMail = voiceMail;
    return this;
  }

   /**
   * The user's voice mail. This is written to the user's CfgAgentLogin.userProperties.TServer.gvm_mailbox. 
   * @return voiceMail
  **/
  @ApiModelProperty(value = "The user's voice mail. This is written to the user's CfgAgentLogin.userProperties.TServer.gvm_mailbox. ")
  public Integer getVoiceMail() {
    return voiceMail;
  }

  public void setVoiceMail(Integer voiceMail) {
    this.voiceMail = voiceMail;
  }

  public AddUserDataData wrapUpTime(String wrapUpTime) {
    this.wrapUpTime = wrapUpTime;
    return this;
  }

   /**
   * The user's Wrap Up Time. This is configured for each [CfgAgentLogin](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgAgentLogin). 
   * @return wrapUpTime
  **/
  @ApiModelProperty(value = "The user's Wrap Up Time. This is configured for each [CfgAgentLogin](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgAgentLogin). ")
  public String getWrapUpTime() {
    return wrapUpTime;
  }

  public void setWrapUpTime(String wrapUpTime) {
    this.wrapUpTime = wrapUpTime;
  }

  public AddUserDataData capacityRule(String capacityRule) {
    this.capacityRule = capacityRule;
    return this;
  }

   /**
   * The name of a [CfgScript](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgScript) object of type 'Capacity Rule'. The Provisioning API assigns this object to the capacityRuleDBID attribute on the CfgPerson object. 
   * @return capacityRule
  **/
  @ApiModelProperty(value = "The name of a [CfgScript](https://docs.genesys.com/Documentation/PSDK/latest/ConfigLayerRef/CfgScript) object of type 'Capacity Rule'. The Provisioning API assigns this object to the capacityRuleDBID attribute on the CfgPerson object. ")
  public String getCapacityRule() {
    return capacityRule;
  }

  public void setCapacityRule(String capacityRule) {
    this.capacityRule = capacityRule;
  }

  public AddUserDataData recordingHierarchy(String recordingHierarchy) {
    this.recordingHierarchy = recordingHierarchy;
    return this;
  }

   /**
   * The recording hierarchy for an agent specifies the access control applied to recordings of calls handled by that agent. See [Access control for Recording users](https://docs.genesys.com/Documentation/PSAAS/Public/Administrator/AccessControl) in the ***PureEngage Cloud Administrator's Guide*** for more information about Recording agent hierarchy, access groups, and partitioning. 
   * @return recordingHierarchy
  **/
  @ApiModelProperty(value = "The recording hierarchy for an agent specifies the access control applied to recordings of calls handled by that agent. See [Access control for Recording users](https://docs.genesys.com/Documentation/PSAAS/Public/Administrator/AccessControl) in the ***PureEngage Cloud Administrator's Guide*** for more information about Recording agent hierarchy, access groups, and partitioning. ")
  public String getRecordingHierarchy() {
    return recordingHierarchy;
  }

  public void setRecordingHierarchy(String recordingHierarchy) {
    this.recordingHierarchy = recordingHierarchy;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AddUserDataData addUserDataData = (AddUserDataData) o;
    return Objects.equals(this.changePasswordOnNextLogin, addUserDataData.changePasswordOnNextLogin) &&
        Objects.equals(this.emailAddress, addUserDataData.emailAddress) &&
        Objects.equals(this.employeeID, addUserDataData.employeeID) &&
        Objects.equals(this.externalID, addUserDataData.externalID) &&
        Objects.equals(this.enabled, addUserDataData.enabled) &&
        Objects.equals(this.folder, addUserDataData.folder) &&
        Objects.equals(this.userName, addUserDataData.userName) &&
        Objects.equals(this.firstName, addUserDataData.firstName) &&
        Objects.equals(this.lastName, addUserDataData.lastName) &&
        Objects.equals(this.loginCode, addUserDataData.loginCode) &&
        Objects.equals(this.password, addUserDataData.password) &&
        Objects.equals(this.placeNames, addUserDataData.placeNames) &&
        Objects.equals(this.isAgent, addUserDataData.isAgent) &&
        Objects.equals(this.callRecording, addUserDataData.callRecording) &&
        Objects.equals(this.wwe, addUserDataData.wwe) &&
        Objects.equals(this.switchNames, addUserDataData.switchNames) &&
        Objects.equals(this.phones, addUserDataData.phones) &&
        Objects.equals(this.supportSoftPhone, addUserDataData.supportSoftPhone) &&
        Objects.equals(this.sipPhoneType, addUserDataData.sipPhoneType) &&
        Objects.equals(this.skills, addUserDataData.skills) &&
        Objects.equals(this.agentGroups, addUserDataData.agentGroups) &&
        Objects.equals(this.accessGroups, addUserDataData.accessGroups) &&
        Objects.equals(this.voiceMail, addUserDataData.voiceMail) &&
        Objects.equals(this.wrapUpTime, addUserDataData.wrapUpTime) &&
        Objects.equals(this.capacityRule, addUserDataData.capacityRule) &&
        Objects.equals(this.recordingHierarchy, addUserDataData.recordingHierarchy);
  }

  @Override
  public int hashCode() {
    return Objects.hash(changePasswordOnNextLogin, emailAddress, employeeID, externalID, enabled, folder, userName, firstName, lastName, loginCode, password, placeNames, isAgent, callRecording, wwe, switchNames, phones, supportSoftPhone, sipPhoneType, skills, agentGroups, accessGroups, voiceMail, wrapUpTime, capacityRule, recordingHierarchy);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AddUserDataData {\n");
    
    sb.append("    changePasswordOnNextLogin: ").append(toIndentedString(changePasswordOnNextLogin)).append("\n");
    sb.append("    emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
    sb.append("    employeeID: ").append(toIndentedString(employeeID)).append("\n");
    sb.append("    externalID: ").append(toIndentedString(externalID)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    folder: ").append(toIndentedString(folder)).append("\n");
    sb.append("    userName: ").append(toIndentedString(userName)).append("\n");
    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    sb.append("    loginCode: ").append(toIndentedString(loginCode)).append("\n");
    sb.append("    password: ").append(toIndentedString(password)).append("\n");
    sb.append("    placeNames: ").append(toIndentedString(placeNames)).append("\n");
    sb.append("    isAgent: ").append(toIndentedString(isAgent)).append("\n");
    sb.append("    callRecording: ").append(toIndentedString(callRecording)).append("\n");
    sb.append("    wwe: ").append(toIndentedString(wwe)).append("\n");
    sb.append("    switchNames: ").append(toIndentedString(switchNames)).append("\n");
    sb.append("    phones: ").append(toIndentedString(phones)).append("\n");
    sb.append("    supportSoftPhone: ").append(toIndentedString(supportSoftPhone)).append("\n");
    sb.append("    sipPhoneType: ").append(toIndentedString(sipPhoneType)).append("\n");
    sb.append("    skills: ").append(toIndentedString(skills)).append("\n");
    sb.append("    agentGroups: ").append(toIndentedString(agentGroups)).append("\n");
    sb.append("    accessGroups: ").append(toIndentedString(accessGroups)).append("\n");
    sb.append("    voiceMail: ").append(toIndentedString(voiceMail)).append("\n");
    sb.append("    wrapUpTime: ").append(toIndentedString(wrapUpTime)).append("\n");
    sb.append("    capacityRule: ").append(toIndentedString(capacityRule)).append("\n");
    sb.append("    recordingHierarchy: ").append(toIndentedString(recordingHierarchy)).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 - 2024 Weber Informatics LLC | Privacy Policy