Class NSTicketPriorityEntity
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Syntax
Constructors
NSTicketPriorityEntity()
Initializes a new instance of the NSTicketPriorityEntity class.
Declaration
NSTicketPriorityEntity
Methods
GetChangedOwner()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetChangedOwner()
Returns
| Type | Description |
|---|---|
| Integer | What to do with the escalation chain when the request changes owner (manually). See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer changedOwner = thing.GetChangedOwner();
GetDeadline()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetDeadline()
Returns
| Type | Description |
|---|---|
| Integer | Deadline to add if escalated (minutes). |
Examples
NSTicketPriorityEntity thing;
Integer deadline = thing.GetDeadline();
GetFlags()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetFlags()
Returns
| Type | Description |
|---|---|
| Integer | A bit mask of flags. See TicketPriorityFlags. |
Examples
NSTicketPriorityEntity thing;
Integer flags = thing.GetFlags();
GetFriStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetFriStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Fridays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime friStart = thing.GetFriStart();
GetFriStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetFriStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Fridays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime friStop = thing.GetFriStop();
GetMonStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetMonStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Mondays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime monStart = thing.GetMonStart();
GetMonStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetMonStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Mondays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime monStop = thing.GetMonStop();
GetName()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
String GetName()
Returns
| Type | Description |
|---|---|
| String | The name of the priority. |
Examples
NSTicketPriorityEntity thing;
String name = thing.GetName();
GetNonDates()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime[] GetNonDates()
Returns
| Type | Description |
|---|---|
| DateTime[] | Dates which the escalation time should not be running. |
Remarks
Note that only the day of the year (day and month) is used. So the year and time part is not used even if this is a DateTime
Examples
NSTicketPriorityEntity thing;
DateTime[] nonDates = thing.GetNonDates();
GetSatStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetSatStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Saturdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime satStart = thing.GetSatStart();
GetSatStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetSatStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Saturdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime satStop = thing.GetSatStop();
GetSortOrder()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetSortOrder()
Returns
| Type | Description |
|---|---|
| Integer | Indicates the sort order for this priority. 1 is first, 100 is last. |
Examples
NSTicketPriorityEntity thing;
Integer sortOrder = thing.GetSortOrder();
GetStatus()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetStatus()
Returns
| Type | Description |
|---|---|
| Integer | The status (normal/deleted) of the priority. See TicketPriorityStatus |
Examples
NSTicketPriorityEntity thing;
Integer status = thing.GetStatus();
GetSunStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetSunStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Sundays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime sunStart = thing.GetSunStart();
GetSunStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetSunStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Sundays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime sunStop = thing.GetSunStop();
GetThuStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetThuStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Thursdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime thuStart = thing.GetThuStart();
GetThuStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetThuStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Thursdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime thuStop = thing.GetThuStop();
GetTicketChangedPriority()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketChangedPriority()
Returns
| Type | Description |
|---|---|
| Integer | What to do with the escalation chain when the request is changed into this priority. See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer ticketChangedPriority = thing.GetTicketChangedPriority();
GetTicketClosed()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketClosed()
Returns
| Type | Description |
|---|---|
| Integer | indicates what to do with the escalation chain when the request is closed. See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer ticketClosed = thing.GetTicketClosed();
GetTicketNew()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketNew()
Returns
| Type | Description |
|---|---|
| Integer | What to do with the escalation chain when a new request is registered. See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer ticketNew = thing.GetTicketNew();
GetTicketNewinfo()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketNewinfo()
Returns
| Type | Description |
|---|---|
| Integer | What to do with the escalation chain when the request gets new info. See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer ticketNewinfo = thing.GetTicketNewinfo();
GetTicketPriorityId()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketPriorityId()
Returns
| Type | Description |
|---|---|
| Integer | The primary key (auto-incremented). |
Examples
NSTicketPriorityEntity thing;
Integer ticketPriorityId = thing.GetTicketPriorityId();
GetTicketRead()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Integer GetTicketRead()
Returns
| Type | Description |
|---|---|
| Integer | What to do with the escalation chain when the request is read. See TicketPriorityEscalateEvent. |
Examples
NSTicketPriorityEntity thing;
Integer ticketRead = thing.GetTicketRead();
GetTueStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetTueStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Tuesdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime tueStart = thing.GetTueStart();
GetTueStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetTueStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Tuesdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime tueStop = thing.GetTueStop();
GetWedStart()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetWedStart()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour start for Wednesdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime wedStart = thing.GetWedStart();
GetWedStop()
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
DateTime GetWedStop()
Returns
| Type | Description |
|---|---|
| DateTime | The work hour stop for Wednesdays. Note that only the time part of the DateTime is used. |
Examples
NSTicketPriorityEntity thing;
DateTime wedStop = thing.GetWedStop();
SetChangedOwner(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetChangedOwner(Integer changedOwner)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | changedOwner | What to do with the escalation chain when the request changes owner (manually). See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer changedOwner;
thing.SetChangedOwner(changedOwner);
SetDeadline(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetDeadline(Integer deadline)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | deadline | Deadline to add if escalated (minutes). |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer deadline;
thing.SetDeadline(deadline);
SetFlags(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetFlags(Integer flags)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | flags | A bitmask of flags. See TicketPriorityFlags. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer flags;
thing.SetFlags(flags);
SetFriStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetFriStart(DateTime friStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | friStart | The work hour start for Fridays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime friStart;
thing.SetFriStart(friStart);
SetFriStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetFriStop(DateTime friStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | friStop | The work hour stop for Fridays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime friStop;
thing.SetFriStop(friStop);
SetMonStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetMonStart(DateTime monStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | monStart | The work hour start for Mondays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime monStart;
thing.SetMonStart(monStart);
SetMonStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetMonStop(DateTime monStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | monStop | The work hour stop for Mondays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime monStop;
thing.SetMonStop(monStop);
SetName(String)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetName(String name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | The name of the priority. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
String name;
thing.SetName(name);
SetNonDates(DateTime[])
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetNonDates(DateTime[] nonDates)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime[] | nonDates | Dates which the escalation time should not be running. Note that only the day of the year (day and month) is used. So the year and time part is not used even if this is a DateTime. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime[] nonDates;
thing.SetNonDates(nonDates);
SetSatStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetSatStart(DateTime satStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | satStart | The work hour start for Saturdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime satStart;
thing.SetSatStart(satStart);
SetSatStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetSatStop(DateTime satStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | satStop | The work hour stop for Saturdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime satStop;
thing.SetSatStop(satStop);
SetSortOrder(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetSortOrder(Integer sortOrder)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | sortOrder | Indicates the sort order for this priority. 1 is first, 100 is last. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer sortOrder;
thing.SetSortOrder(sortOrder);
SetStatus(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetStatus(Integer status)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | status | The status (normal/deleted) of the priority. See TicketPriorityStatus. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer status;
thing.SetStatus(status);
SetSunStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetSunStart(DateTime sunStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | sunStart | The work hour start for Sundays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime sunStart;
thing.SetSunStart(sunStart);
SetSunStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetSunStop(DateTime sunStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | sunStop | The work hour stop for Sundays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime sunStop;
thing.SetSunStop(sunStop);
SetThuStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetThuStart(DateTime thuStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | thuStart | The work hour start for Thursdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime thuStart;
thing.SetThuStart(thuStart);
SetThuStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetThuStop(DateTime thuStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | thuStop | The work hour stop for Thursdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime thuStop;
thing.SetThuStop(thuStop);
SetTicketChangedPriority(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketChangedPriority(Integer ticketChangedPriority)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketChangedPriority | Indicates what to do with the escalation chain when the request is changed into this priority. See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketChangedPriority;
thing.SetTicketChangedPriority(ticketChangedPriority);
SetTicketClosed(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketClosed(Integer ticketClosed)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketClosed | Indicates what to do with the escalation chain when the request is closed. See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketClosed;
thing.SetTicketClosed(ticketClosed);
SetTicketNew(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketNew(Integer ticketNew)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketNew | Indicates what to do with the escalation chain when a new request is registered. See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketNew;
thing.SetTicketNew(ticketNew);
SetTicketNewinfo(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketNewinfo(Integer ticketNewinfo)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketNewinfo | Indicates what to do with the escalation chain when the request gets new info. See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketNewinfo;
thing.SetTicketNewinfo(ticketNewinfo);
SetTicketPriorityId(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketPriorityId(Integer ticketPriorityId)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketPriorityId | The primary key (auto-incremented). |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketPriorityId;
thing.SetTicketPriorityId(ticketPriorityId);
SetTicketRead(Integer)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTicketRead(Integer ticketRead)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | ticketRead | What to do with the escalation chain when the request is read. See TicketPriorityEscalateEvent. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
Integer ticketRead;
thing.SetTicketRead(ticketRead);
SetTueStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTueStart(DateTime tueStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | tueStart | The work hour start for Tuesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime tueStart;
thing.SetTueStart(tueStart);
SetTueStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetTueStop(DateTime tueStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | tueStop | The work hour stop for Tuesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime tueStop;
thing.SetTueStop(tueStop);
SetWedStart(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetWedStart(DateTime wedStart)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | wedStart | The work hour start for Wednesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime wedStart;
thing.SetWedStart(wedStart);
SetWedStop(DateTime)
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Declaration
Void SetWedStop(DateTime wedStop)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | wedStop | The work hour stop for Wednesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSTicketPriorityEntity thing;
DateTime wedStop;
thing.SetWedStop(wedStop);