public class SessionInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
protected java.util.List<ServiceInfo> |
services
A list listing all services that can be accessed using this session
|
protected int |
servicesNSizeIs
Size of services list
|
protected java.lang.String |
sid
Session ID
|
Constructor and Description |
---|
SessionInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.util.List<ServiceInfo> |
getServices()
Gets the value of the services property.
|
int |
getServicesNSizeIs()
Gets the value of the servicesNSizeIs property.
|
java.lang.String |
getSid()
Gets the value of the sid property.
|
int |
hashCode() |
void |
setServices(java.util.List<ServiceInfo> services)
Sets the value of the services property.
|
void |
setServicesNSizeIs(int value)
Sets the value of the servicesNSizeIs property.
|
void |
setSid(java.lang.String value)
Sets the value of the sid property.
|
java.lang.String |
toString() |
SessionInfo |
withServices(java.util.Collection<ServiceInfo> values) |
SessionInfo |
withServices(ServiceInfo... values) |
SessionInfo |
withServicesNSizeIs(int value) |
SessionInfo |
withSid(java.lang.String value) |
private static final long serialVersionUID
protected java.lang.String sid
protected int servicesNSizeIs
protected java.util.List<ServiceInfo> services
public java.lang.String getSid()
String
public void setSid(java.lang.String value)
value
- allowed object is
String
public int getServicesNSizeIs()
public void setServicesNSizeIs(int value)
public java.util.List<ServiceInfo> getServices()
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 services property.
For example, to add a new item, do as follows:
getServices().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceInfo
public SessionInfo withSid(java.lang.String value)
public SessionInfo withServicesNSizeIs(int value)
public SessionInfo withServices(ServiceInfo... values)
public SessionInfo withServices(java.util.Collection<ServiceInfo> values)
public void setServices(java.util.List<ServiceInfo> services)
services
- allowed object is
ServiceInfo
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.