Class NSTicketInfo
A small carrier that contains information about a ticket.
Syntax
Constructors
NSTicketInfo()
Initializes a new instance of the NSTicketInfo class.
Declaration
NSTicketInfo
Methods
GetCategoryName()
A small carrier that contains information about a ticket.
Declaration
String GetCategoryName()
Returns
Type | Description |
---|---|
String | The name of the category for the request. |
Examples
NSTicketInfo thing;
String categoryName = thing.GetCategoryName();
GetContactName()
A small carrier that contains information about a ticket.
Declaration
String GetContactName()
Returns
Type | Description |
---|---|
String | The name of the contact/company connected to the ticket. |
Examples
NSTicketInfo thing;
String contactName = thing.GetContactName();
GetOwnerName()
A small carrier that contains information about a ticket.
Declaration
String GetOwnerName()
Returns
Type | Description |
---|---|
String | The name of the owner which the request was assigned to. |
Examples
NSTicketInfo thing;
String ownerName = thing.GetOwnerName();
GetPersonName()
A small carrier that contains information about a ticket.
Declaration
String GetPersonName()
Returns
Type | Description |
---|---|
String | The name of the person/customer connected to the ticket. |
Examples
NSTicketInfo thing;
String personName = thing.GetPersonName();
GetPriorityName()
A small carrier that contains information about a ticket.
Declaration
String GetPriorityName()
Returns
Type | Description |
---|---|
String | The name of the priority for the request. |
Examples
NSTicketInfo thing;
String priorityName = thing.GetPriorityName();
GetTicketId()
A small carrier that contains information about a ticket.
Declaration
Integer GetTicketId()
Returns
Type | Description |
---|---|
Integer | The ID of the created ticket. |
Examples
NSTicketInfo thing;
Integer ticketId = thing.GetTicketId();
GetTicketUrl()
A small carrier that contains information about a ticket.
Declaration
String 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. |
Examples
NSTicketInfo thing;
String ticketUrl = thing.GetTicketUrl();
GetTitle()
A small carrier that contains information about a ticket.
Declaration
String GetTitle()
Returns
Type | Description |
---|---|
String | The title/subject of the created ticket. |
Examples
NSTicketInfo thing;
String title = thing.GetTitle();
SetCategoryName(String)
A small carrier that contains information about a ticket.
Declaration
Void SetCategoryName(String categoryName)
Parameters
Type | Name | Description |
---|---|---|
String | categoryName | The name of the category for the request. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String categoryName;
thing.SetCategoryName(categoryName);
SetContactName(String)
A small carrier that contains information about a ticket.
Declaration
Void SetContactName(String contactName)
Parameters
Type | Name | Description |
---|---|---|
String | contactName | The name of the contact/company connected to the ticket. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String contactName;
thing.SetContactName(contactName);
SetOwnerName(String)
A small carrier that contains information about a ticket.
Declaration
Void SetOwnerName(String ownerName)
Parameters
Type | Name | Description |
---|---|---|
String | ownerName | The name of the owner which the request was assigned to. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String ownerName;
thing.SetOwnerName(ownerName);
SetPersonName(String)
A small carrier that contains information about a ticket.
Declaration
Void SetPersonName(String personName)
Parameters
Type | Name | Description |
---|---|---|
String | personName | The name of the person/customer connected to the ticket. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String personName;
thing.SetPersonName(personName);
SetPriorityName(String)
A small carrier that contains information about a ticket.
Declaration
Void SetPriorityName(String priorityName)
Parameters
Type | Name | Description |
---|---|---|
String | priorityName | The name of the priority for the request. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String priorityName;
thing.SetPriorityName(priorityName);
SetTicketId(Integer)
A small carrier that contains information about a ticket.
Declaration
Void SetTicketId(Integer ticketId)
Parameters
Type | Name | Description |
---|---|---|
Integer | ticketId | The ID of the created ticket. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
Integer ticketId;
thing.SetTicketId(ticketId);
SetTicketUrl(String)
A small carrier that contains information about a ticket.
Declaration
Void SetTicketUrl(String 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 |
Examples
NSTicketInfo thing;
String ticketUrl;
thing.SetTicketUrl(ticketUrl);
SetTitle(String)
A small carrier that contains information about a ticket.
Declaration
Void SetTitle(String title)
Parameters
Type | Name | Description |
---|---|---|
String | title | The title/subject of the created ticket. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTicketInfo thing;
String title;
thing.SetTitle(title);