Class NSTicketInfo
A small carrier that contains information about a ticket.
Constructors
NSTicketInfo()
Initializes a new instance of the NSTicketInfo class.
Declaration
NSTicketInfo Methods
GetCategoryName()
Declaration
String GetCategoryName() Examples
NSTicketInfo thing;
String categoryName = thing.GetCategoryName();
Returns
| Type | Description |
| String | The name of the category for the request. |
GetContactName()
Declaration
String GetContactName() Examples
NSTicketInfo thing;
String contactName = thing.GetContactName();
Returns
| Type | Description |
| String | The name of the contact/company connected to the ticket. |
GetOwnerName()
Declaration
String GetOwnerName() Examples
NSTicketInfo thing;
String ownerName = thing.GetOwnerName();
Returns
| Type | Description |
| String | The name of the owner which the request was assigned to. |
GetPersonName()
Declaration
String GetPersonName() Examples
NSTicketInfo thing;
String personName = thing.GetPersonName();
Returns
| Type | Description |
| String | The name of the person/customer connected to the ticket. |
GetPriorityName()
Declaration
String GetPriorityName() Examples
NSTicketInfo thing;
String priorityName = thing.GetPriorityName();
Returns
| Type | Description |
| String | The name of the priority for the request. |
GetTicketId()
Declaration
Integer GetTicketId() Examples
NSTicketInfo thing;
Integer ticketId = thing.GetTicketId();
Returns
| Type | Description |
| Integer | The ID of the created ticket. |
GetTicketUrl()
Declaration
String GetTicketUrl() Examples
NSTicketInfo thing;
String ticketUrl = thing.GetTicketUrl();
Returns
| Type | Description |
| String | A URL leading directly to the created request. This is a URL meant to be used by a Service user. |
GetTitle()
Declaration
String GetTitle() Examples
NSTicketInfo thing;
String title = thing.GetTitle();
Returns
| Type | Description |
| String | The title/subject of the created ticket. |
SetCategoryName(String)
Declaration
Void SetCategoryName(String categoryName) Examples
NSTicketInfo thing;
String categoryName;
thing.SetCategoryName(categoryName);
Parameters
| Type | Name | Description |
| String | categoryName | The name of the category for the request. |
Returns
| Type | Description |
| Void |
SetContactName(String)
Declaration
Void SetContactName(String contactName) Examples
NSTicketInfo thing;
String contactName;
thing.SetContactName(contactName);
Parameters
| Type | Name | Description |
| String | contactName | The name of the contact/company connected to the ticket. |
Returns
| Type | Description |
| Void |
SetOwnerName(String)
Declaration
Void SetOwnerName(String ownerName) Examples
NSTicketInfo thing;
String ownerName;
thing.SetOwnerName(ownerName);
Parameters
| Type | Name | Description |
| String | ownerName | The name of the owner which the request was assigned to. |
Returns
| Type | Description |
| Void |
SetPersonName(String)
Declaration
Void SetPersonName(String personName) Examples
NSTicketInfo thing;
String personName;
thing.SetPersonName(personName);
Parameters
| Type | Name | Description |
| String | personName | The name of the person/customer connected to the ticket. |
Returns
| Type | Description |
| Void |
SetPriorityName(String)
Declaration
Void SetPriorityName(String priorityName) Examples
NSTicketInfo thing;
String priorityName;
thing.SetPriorityName(priorityName);
Parameters
| Type | Name | Description |
| String | priorityName | The name of the priority for the request. |
Returns
| Type | Description |
| Void |
SetTicketId(Integer)
Declaration
Void SetTicketId(Integer ticketId) Examples
NSTicketInfo thing;
Integer ticketId;
thing.SetTicketId(ticketId);
Parameters
| Type | Name | Description |
| Integer | ticketId | The ID of the created ticket. |
Returns
| Type | Description |
| Void |
SetTicketUrl(String)
Declaration
Void SetTicketUrl(String ticketUrl) Examples
NSTicketInfo thing;
String ticketUrl;
thing.SetTicketUrl(ticketUrl);
Parameters
| Type | Name | Description |
| String | ticketUrl | A URL leading directly to the created request. This is a URL meant to be used by a Service user. |
Returns
| Type | Description |
| Void |