public class GlpiTicket extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
_category |
private int |
_id
The id of ticket
|
private int |
_status
The status id of ticket
|
private String |
_title
The title of ticket
|
private int |
_type |
| Constructor and Description |
|---|
GlpiTicket(int id,
String title,
int status)
Create a
GlpiTicket |
GlpiTicket(int id,
String title,
int status,
int type,
String category)
Create a
GlpiTicket |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Get the category of ticket
|
int |
getId()
Get the id of ticket
|
int |
getStatusId()
Get the status id of ticket
|
String |
getTitle()
Get the title of ticket
|
int |
getType()
Get the type of ticket
|
void |
setCategory(String category)
Set the category of ticket
|
void |
setId(int id)
Set the id of ticket
|
void |
setStatus(int status)
Set the status id of ticket
|
void |
setTitle(String title)
Set the title of ticket
|
void |
setType(int type)
Set the type of ticket
|
private int _id
private int _status
private int _type
public GlpiTicket(int id, String title, int status)
GlpiTicketid - The id of tickettitle - The title of ticketstatus - The status id of ticketpublic GlpiTicket(int id, String title, int status, int type, String category)
GlpiTicketid - The id of tickettitle - The title of ticketstatus - The status id of tickettype - The typecategory - The categorypublic int getId()
public void setId(int id)
id - The id of ticket to setpublic void setTitle(String title)
title - The title of ticket to setpublic int getStatusId()
public void setStatus(int status)
status - The status id of ticket to setpublic String getCategory()
public void setCategory(String category)
category - the categorypublic int getType()
public void setType(int type)
type - the type