Package org.otrs.ticketconnector
Class TicketCreate
- java.lang.Object
-
- org.otrs.ticketconnector.TicketCreate
-
- All Implemented Interfaces:
Serializable
public class TicketCreate extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="UserLogin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CustomerUserLogin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="SessionID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </choice> <element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Ticket" type="{http://www.otrs.org/TicketConnector/}OTRS_TicketCreate_Ticket"/> <element name="Article" type="{http://www.otrs.org/TicketConnector/}OTRS_Article"/> <element name="DynamicField" type="{http://www.otrs.org/TicketConnector/}OTRS_DynamicField" maxOccurs="unbounded" minOccurs="0"/> <element name="Attachment" type="{http://www.otrs.org/TicketConnector/}OTRS_Attachment" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected OTRSArticle
article
protected OTRSAttachment[]
attachment
protected String
customerUserLogin
protected OTRSDynamicField[]
dynamicField
protected String
password
protected String
sessionID
protected OTRSTicketCreateTicket
ticket
protected String
userLogin
-
Constructor Summary
Constructors Constructor Description TicketCreate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OTRSArticle
getArticle()
Gets the value of the article property.OTRSAttachment[]
getAttachment()
OTRSAttachment
getAttachment(int idx)
int
getAttachmentLength()
String
getCustomerUserLogin()
Gets the value of the customerUserLogin property.OTRSDynamicField[]
getDynamicField()
OTRSDynamicField
getDynamicField(int idx)
int
getDynamicFieldLength()
String
getPassword()
Gets the value of the password property.String
getSessionID()
Gets the value of the sessionID property.OTRSTicketCreateTicket
getTicket()
Gets the value of the ticket property.String
getUserLogin()
Gets the value of the userLogin property.void
setArticle(OTRSArticle value)
Sets the value of the article property.OTRSAttachment
setAttachment(int idx, OTRSAttachment value)
void
setAttachment(OTRSAttachment[] values)
void
setCustomerUserLogin(String value)
Sets the value of the customerUserLogin property.OTRSDynamicField
setDynamicField(int idx, OTRSDynamicField value)
void
setDynamicField(OTRSDynamicField[] values)
void
setPassword(String value)
Sets the value of the password property.void
setSessionID(String value)
Sets the value of the sessionID property.void
setTicket(OTRSTicketCreateTicket value)
Sets the value of the ticket property.void
setUserLogin(String value)
Sets the value of the userLogin property.
-
-
-
Field Detail
-
userLogin
protected String userLogin
-
customerUserLogin
protected String customerUserLogin
-
sessionID
protected String sessionID
-
password
protected String password
-
ticket
protected OTRSTicketCreateTicket ticket
-
article
protected OTRSArticle article
-
dynamicField
protected OTRSDynamicField[] dynamicField
-
attachment
protected OTRSAttachment[] attachment
-
-
Method Detail
-
getUserLogin
public String getUserLogin()
Gets the value of the userLogin property.- Returns:
- possible object is
String
-
setUserLogin
public void setUserLogin(String value)
Sets the value of the userLogin property.- Parameters:
value
- allowed object isString
-
getCustomerUserLogin
public String getCustomerUserLogin()
Gets the value of the customerUserLogin property.- Returns:
- possible object is
String
-
setCustomerUserLogin
public void setCustomerUserLogin(String value)
Sets the value of the customerUserLogin property.- Parameters:
value
- allowed object isString
-
getSessionID
public String getSessionID()
Gets the value of the sessionID property.- Returns:
- possible object is
String
-
setSessionID
public void setSessionID(String value)
Sets the value of the sessionID property.- Parameters:
value
- allowed object isString
-
getPassword
public String getPassword()
Gets the value of the password property.- Returns:
- possible object is
String
-
setPassword
public void setPassword(String value)
Sets the value of the password property.- Parameters:
value
- allowed object isString
-
getTicket
public OTRSTicketCreateTicket getTicket()
Gets the value of the ticket property.- Returns:
- possible object is
OTRSTicketCreateTicket
-
setTicket
public void setTicket(OTRSTicketCreateTicket value)
Sets the value of the ticket property.- Parameters:
value
- allowed object isOTRSTicketCreateTicket
-
getArticle
public OTRSArticle getArticle()
Gets the value of the article property.- Returns:
- possible object is
OTRSArticle
-
setArticle
public void setArticle(OTRSArticle value)
Sets the value of the article property.- Parameters:
value
- allowed object isOTRSArticle
-
getDynamicField
public OTRSDynamicField[] getDynamicField()
- Returns:
- array of
OTRSDynamicField
-
getDynamicField
public OTRSDynamicField getDynamicField(int idx)
- Returns:
- one of
OTRSDynamicField
-
getDynamicFieldLength
public int getDynamicFieldLength()
-
setDynamicField
public void setDynamicField(OTRSDynamicField[] values)
- Parameters:
values
- allowed objects areOTRSDynamicField
-
setDynamicField
public OTRSDynamicField setDynamicField(int idx, OTRSDynamicField value)
- Parameters:
value
- allowed object isOTRSDynamicField
-
getAttachment
public OTRSAttachment[] getAttachment()
- Returns:
- array of
OTRSAttachment
-
getAttachment
public OTRSAttachment getAttachment(int idx)
- Returns:
- one of
OTRSAttachment
-
getAttachmentLength
public int getAttachmentLength()
-
setAttachment
public void setAttachment(OTRSAttachment[] values)
- Parameters:
values
- allowed objects areOTRSAttachment
-
setAttachment
public OTRSAttachment setAttachment(int idx, OTRSAttachment value)
- Parameters:
value
- allowed object isOTRSAttachment
-
-