Package org.otrs.ticketconnector
Class TicketCreate
- java.lang.Object
-
- org.otrs.ticketconnector.TicketCreate
-
- All Implemented Interfaces:
java.io.Serializable
public class TicketCreate extends java.lang.Object implements java.io.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 java.lang.String
customerUserLogin
protected OTRSDynamicField[]
dynamicField
protected java.lang.String
password
protected java.lang.String
sessionID
protected OTRSTicketCreateTicket
ticket
protected java.lang.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()
java.lang.String
getCustomerUserLogin()
Gets the value of the customerUserLogin property.OTRSDynamicField[]
getDynamicField()
OTRSDynamicField
getDynamicField(int idx)
int
getDynamicFieldLength()
java.lang.String
getPassword()
Gets the value of the password property.java.lang.String
getSessionID()
Gets the value of the sessionID property.OTRSTicketCreateTicket
getTicket()
Gets the value of the ticket property.java.lang.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(java.lang.String value)
Sets the value of the customerUserLogin property.OTRSDynamicField
setDynamicField(int idx, OTRSDynamicField value)
void
setDynamicField(OTRSDynamicField[] values)
void
setPassword(java.lang.String value)
Sets the value of the password property.void
setSessionID(java.lang.String value)
Sets the value of the sessionID property.void
setTicket(OTRSTicketCreateTicket value)
Sets the value of the ticket property.void
setUserLogin(java.lang.String value)
Sets the value of the userLogin property.
-
-
-
Field Detail
-
userLogin
protected java.lang.String userLogin
-
customerUserLogin
protected java.lang.String customerUserLogin
-
sessionID
protected java.lang.String sessionID
-
password
protected java.lang.String password
-
ticket
protected OTRSTicketCreateTicket ticket
-
article
protected OTRSArticle article
-
dynamicField
protected OTRSDynamicField[] dynamicField
-
attachment
protected OTRSAttachment[] attachment
-
-
Method Detail
-
getUserLogin
public java.lang.String getUserLogin()
Gets the value of the userLogin property.- Returns:
- possible object is
String
-
setUserLogin
public void setUserLogin(java.lang.String value)
Sets the value of the userLogin property.- Parameters:
value
- allowed object isString
-
getCustomerUserLogin
public java.lang.String getCustomerUserLogin()
Gets the value of the customerUserLogin property.- Returns:
- possible object is
String
-
setCustomerUserLogin
public void setCustomerUserLogin(java.lang.String value)
Sets the value of the customerUserLogin property.- Parameters:
value
- allowed object isString
-
getSessionID
public java.lang.String getSessionID()
Gets the value of the sessionID property.- Returns:
- possible object is
String
-
setSessionID
public void setSessionID(java.lang.String value)
Sets the value of the sessionID property.- Parameters:
value
- allowed object isString
-
getPassword
public java.lang.String getPassword()
Gets the value of the password property.- Returns:
- possible object is
String
-
setPassword
public void setPassword(java.lang.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
-
-