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 OTRSArticlearticleprotected OTRSAttachment[]attachmentprotected StringcustomerUserLoginprotected OTRSDynamicField[]dynamicFieldprotected Stringpasswordprotected StringsessionIDprotected OTRSTicketCreateTicketticketprotected StringuserLogin
-
Constructor Summary
Constructors Constructor Description TicketCreate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OTRSArticlegetArticle()Gets the value of the article property.OTRSAttachment[]getAttachment()OTRSAttachmentgetAttachment(int idx)intgetAttachmentLength()StringgetCustomerUserLogin()Gets the value of the customerUserLogin property.OTRSDynamicField[]getDynamicField()OTRSDynamicFieldgetDynamicField(int idx)intgetDynamicFieldLength()StringgetPassword()Gets the value of the password property.StringgetSessionID()Gets the value of the sessionID property.OTRSTicketCreateTicketgetTicket()Gets the value of the ticket property.StringgetUserLogin()Gets the value of the userLogin property.voidsetArticle(OTRSArticle value)Sets the value of the article property.OTRSAttachmentsetAttachment(int idx, OTRSAttachment value)voidsetAttachment(OTRSAttachment[] values)voidsetCustomerUserLogin(String value)Sets the value of the customerUserLogin property.OTRSDynamicFieldsetDynamicField(int idx, OTRSDynamicField value)voidsetDynamicField(OTRSDynamicField[] values)voidsetPassword(String value)Sets the value of the password property.voidsetSessionID(String value)Sets the value of the sessionID property.voidsetTicket(OTRSTicketCreateTicket value)Sets the value of the ticket property.voidsetUserLogin(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
-
-