com.genesys.internal.workspace.model.VoicecallsidreconnectData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workspace Show documentation
Show all versions of workspace Show documentation
A Java library to interface to Genesys Workspace public API
/*
* Workspace API
* Agent API
*
* OpenAPI spec version: v9.0.000.20.2204
*
*
* 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.genesys.internal.workspace.model.Kvpair;
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;
/**
* VoicecallsidreconnectData
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-13T13:01:20.719Z")
public class VoicecallsidreconnectData {
@SerializedName("heldConnId")
private String heldConnId = null;
@SerializedName("reasons")
private List reasons = null;
@SerializedName("extensions")
private List extensions = null;
public VoicecallsidreconnectData heldConnId(String heldConnId) {
this.heldConnId = heldConnId;
return this;
}
/**
* The ID of the held call (will be retrieved).
* @return heldConnId
**/
@ApiModelProperty(required = true, value = "The ID of the held call (will be retrieved).")
public String getHeldConnId() {
return heldConnId;
}
public void setHeldConnId(String heldConnId) {
this.heldConnId = heldConnId;
}
public VoicecallsidreconnectData reasons(List reasons) {
this.reasons = reasons;
return this;
}
public VoicecallsidreconnectData addReasonsItem(Kvpair reasonsItem) {
if (this.reasons == null) {
this.reasons = new ArrayList();
}
this.reasons.add(reasonsItem);
return this;
}
/**
* Information on causes for, and results of, actions taken by the user of the current DN. For details about reasons, refer to the [Genesys Events and Models Reference Manual](https://docs.genesys.com/Documentation/System/Current/GenEM/Reasons).
* @return reasons
**/
@ApiModelProperty(value = "Information on causes for, and results of, actions taken by the user of the current DN. For details about reasons, refer to the [Genesys Events and Models Reference Manual](https://docs.genesys.com/Documentation/System/Current/GenEM/Reasons).")
public List getReasons() {
return reasons;
}
public void setReasons(List reasons) {
this.reasons = reasons;
}
public VoicecallsidreconnectData extensions(List extensions) {
this.extensions = extensions;
return this;
}
public VoicecallsidreconnectData addExtensionsItem(Kvpair extensionsItem) {
if (this.extensions == null) {
this.extensions = new ArrayList();
}
this.extensions.add(extensionsItem);
return this;
}
/**
* Media device/hardware reason codes and similar information. For details about extensions, refer to the [Genesys Events and Models Reference Manual](https://docs.genesys.com/Documentation/System/Current/GenEM/Extensions).
* @return extensions
**/
@ApiModelProperty(value = "Media device/hardware reason codes and similar information. For details about extensions, refer to the [Genesys Events and Models Reference Manual](https://docs.genesys.com/Documentation/System/Current/GenEM/Extensions).")
public List getExtensions() {
return extensions;
}
public void setExtensions(List extensions) {
this.extensions = extensions;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
VoicecallsidreconnectData voicecallsidreconnectData = (VoicecallsidreconnectData) o;
return Objects.equals(this.heldConnId, voicecallsidreconnectData.heldConnId) &&
Objects.equals(this.reasons, voicecallsidreconnectData.reasons) &&
Objects.equals(this.extensions, voicecallsidreconnectData.extensions);
}
@Override
public int hashCode() {
return Objects.hash(heldConnId, reasons, extensions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class VoicecallsidreconnectData {\n");
sb.append(" heldConnId: ").append(toIndentedString(heldConnId)).append("\n");
sb.append(" reasons: ").append(toIndentedString(reasons)).append("\n");
sb.append(" extensions: ").append(toIndentedString(extensions)).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