public class ChannelState
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
channelName
Channel name.
|
protected int |
genesysStateID
The current agent Genesys state.
|
protected int |
hasChannelName
Channel name presence indicator
|
protected java.util.List<java.lang.String> |
reasonCodes
The reason Codes array.
|
protected int |
reasonCodesSize
The number of reason codes.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ChannelState() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.lang.String |
getChannelName()
Gets the value of the channelName property.
|
int |
getGenesysStateID()
Gets the value of the genesysStateID property.
|
int |
getHasChannelName()
Gets the value of the hasChannelName property.
|
java.util.List<java.lang.String> |
getReasonCodes()
Gets the value of the reasonCodes property.
|
int |
getReasonCodesSize()
Gets the value of the reasonCodesSize property.
|
int |
hashCode() |
void |
setChannelName(java.lang.String value)
Sets the value of the channelName property.
|
void |
setGenesysStateID(int value)
Sets the value of the genesysStateID property.
|
void |
setHasChannelName(int value)
Sets the value of the hasChannelName property.
|
void |
setReasonCodes(java.util.List<java.lang.String> reasonCodes)
Sets the value of the reasonCodes property.
|
void |
setReasonCodesSize(int value)
Sets the value of the reasonCodesSize property.
|
java.lang.String |
toString() |
ChannelState |
withChannelName(java.lang.String value) |
ChannelState |
withGenesysStateID(int value) |
ChannelState |
withHasChannelName(int value) |
ChannelState |
withReasonCodes(java.util.Collection<java.lang.String> values) |
ChannelState |
withReasonCodes(java.lang.String... values) |
ChannelState |
withReasonCodesSize(int value) |
private static final long serialVersionUID
protected int hasChannelName
protected java.lang.String channelName
protected int genesysStateID
protected int reasonCodesSize
protected java.util.List<java.lang.String> reasonCodes
public int getHasChannelName()
int
public void setHasChannelName(int value)
value
- allowed object is int
public java.lang.String getChannelName()
String
public void setChannelName(java.lang.String value)
value
- allowed object is
String
public int getGenesysStateID()
public void setGenesysStateID(int value)
public int getReasonCodesSize()
public void setReasonCodesSize(int value)
public java.util.List<java.lang.String> getReasonCodes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the reasonCodes property.
For example, to add a new item, do as follows:
getReasonCodes().add(newItem);
Objects of the following type(s) are allowed in the list
String
public void setReasonCodes(java.util.List<java.lang.String> reasonCodes)
reasonCodes
- allowed object is
String
public ChannelState withGenesysStateID(int value)
public ChannelState withReasonCodesSize(int value)
public ChannelState withReasonCodes(java.lang.String... values)
public ChannelState withReasonCodes(java.util.Collection<java.lang.String> values)
public ChannelState withChannelName(java.lang.String value)
public ChannelState withHasChannelName(int value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.