Package com.symphony.api.model
Class V2ImportResponse
- java.lang.Object
-
- com.symphony.api.model.V2ImportResponse
-
public class V2ImportResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description V2ImportResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V2ImportResponse
diagnostic(String diagnostic)
String
getDiagnostic()
A diagnostic message containing an error message in the event that the message import failed.String
getMessageId()
If the message was successfully imported then the message ID in the system of the newly created message.String
getOriginalMessageId()
The ID of the message in the original system.String
getOriginatingSystemId()
The ID of the system through which the message was originally sent.V2ImportResponse
messageId(String messageId)
V2ImportResponse
originalMessageId(String originalMessageId)
V2ImportResponse
originatingSystemId(String originatingSystemId)
void
setDiagnostic(String diagnostic)
void
setMessageId(String messageId)
void
setOriginalMessageId(String originalMessageId)
void
setOriginatingSystemId(String originatingSystemId)
String
toString()
-
-
-
Method Detail
-
getMessageId
public String getMessageId()
If the message was successfully imported then the message ID in the system of the newly created message.- Returns:
- messageId
-
setMessageId
public void setMessageId(String messageId)
-
messageId
public V2ImportResponse messageId(String messageId)
-
getOriginatingSystemId
public String getOriginatingSystemId()
The ID of the system through which the message was originally sent.- Returns:
- originatingSystemId
-
setOriginatingSystemId
public void setOriginatingSystemId(String originatingSystemId)
-
originatingSystemId
public V2ImportResponse originatingSystemId(String originatingSystemId)
-
getOriginalMessageId
public String getOriginalMessageId()
The ID of the message in the original system.- Returns:
- originalMessageId
-
setOriginalMessageId
public void setOriginalMessageId(String originalMessageId)
-
originalMessageId
public V2ImportResponse originalMessageId(String originalMessageId)
-
getDiagnostic
public String getDiagnostic()
A diagnostic message containing an error message in the event that the message import failed. May also be present in the case of a successful call if there is useful narrative to return.- Returns:
- diagnostic
-
setDiagnostic
public void setDiagnostic(String diagnostic)
-
diagnostic
public V2ImportResponse diagnostic(String diagnostic)
-
-