ServiceResourceInfo Class
Contains information about a service resource.
The following are constructors for ServiceResourceInfo.
-
ServiceResourceInfo(userId, userName, email, serviceResourceId, territoryIds, resourceType)
Creates a new instance of the
lxscheduler.ServiceResourceInfoclass using the specified service resource details.
Creates a new instance of the lxscheduler.ServiceResourceInfo class using the specified service resource details.
public ServiceResourceInfo(String userId, String userName, String email, String serviceResourceId, List<String> territoryIds, String resourceType)
-
userId:
Type: String
The user ID of the service resource.
-
userName:
Type: String
The user name of the service resource.
-
email:
Type: String
The email ID of the service resource.
-
serviceResourceId:
Type: String
The ID of the service resource.
-
territoryIds:
Type: List<String>
A list of requested service territories for the service resource.
-
resourceType:
Type: String
The type of the service resource such as Technician or Asset.
The following are methods for ServiceResourceInfo.
-
Returns the email ID of the service resource.
-
Returns the type of the service resource such as Technician or Asset.
-
Returns the ID of the service resource.
-
Returns a list of requested service territories for the service resource.
-
Returns the user ID of the service resource.
-
Returns the user name of the service resource.
Returns the email ID of the service resource.
public String getEmail()
Type: String
Returns the type of the service resource such as Technician or Asset.
public String getResourceType()
Type: String
Returns the ID of the service resource.
public String getServiceResourceId()
Type: String
Returns a list of requested service territories for the service resource.
public List<String> getTerritoryIds()
Type: List<String>
Returns the user ID of the service resource.
public String getUserId()
Type: String
Returns the user name of the service resource.
public String getUserName()
Type: String