Show / Hide Table of Contents

Class NSTicketStatusEntity

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Syntax

Constructors

NSTicketStatusEntity()

Initializes a new instance of the NSTicketStatusEntity class.

Declaration
NSTicketStatusEntity

Methods

GetName()

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
String GetName()
Returns
Type Description
String

Name of user defined ticket status.

Examples
NSTicketStatusEntity thing;
String name = thing.GetName();

GetNoEmailReopen()

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Bool GetNoEmailReopen()
Returns
Type Description
Bool

Whether inbound emails can reopen requests with this status or not.

Examples
NSTicketStatusEntity thing;
Bool noEmailReopen = thing.GetNoEmailReopen();

GetStatus()

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Integer GetStatus()
Returns
Type Description
Integer

The classic ticket status (active/closed/postponed/deleted). See TicketBaseStatus.

Examples
NSTicketStatusEntity thing;
Integer status = thing.GetStatus();

GetTicketStatusId()

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Integer GetTicketStatusId()
Returns
Type Description
Integer

The primary key (auto-incremented).

Examples
NSTicketStatusEntity thing;
Integer ticketStatusId = thing.GetTicketStatusId();

GetTimeCounter()

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Integer GetTimeCounter()
Returns
Type Description
Integer

Which field in ticket we count time spent on (queue, internal, external). See TicketStatusTimeCounter.

Examples
NSTicketStatusEntity thing;
Integer timeCounter = thing.GetTimeCounter();

SetName(String)

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Name of user defined ticket status.

Returns
Type Description
Void
Examples
NSTicketStatusEntity thing;
String name;
thing.SetName(name);

SetNoEmailReopen(Bool)

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Void SetNoEmailReopen(Bool noEmailReopen)
Parameters
Type Name Description
Bool noEmailReopen

Whether inbound emails can reopen requests with this status or not.

Returns
Type Description
Void
Examples
NSTicketStatusEntity thing;
Bool noEmailReopen;
thing.SetNoEmailReopen(noEmailReopen);

SetStatus(Integer)

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Void SetStatus(Integer status)
Parameters
Type Name Description
Integer status

The classic ticket status (active/closed/postponed/deleted). See TicketBaseStatus.

Returns
Type Description
Void
Examples
NSTicketStatusEntity thing;
Integer status;
thing.SetStatus(status);

SetTicketStatusId(Integer)

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Void SetTicketStatusId(Integer ticketStatusId)
Parameters
Type Name Description
Integer ticketStatusId

The primary key (auto-incremented).

Returns
Type Description
Void
Examples
NSTicketStatusEntity thing;
Integer ticketStatusId;
thing.SetTicketStatusId(ticketStatusId);

SetTimeCounter(Integer)

Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Declaration
Void SetTimeCounter(Integer timeCounter)
Parameters
Type Name Description
Integer timeCounter

Which field in ticket we count time spent on (queue, internal, external). See TicketStatusTimeCounter.

Returns
Type Description
Void
Examples
NSTicketStatusEntity thing;
Integer timeCounter;
thing.SetTimeCounter(timeCounter);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top