/* Options: Date: 2025-09-14 06:43:16 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SaveCommunication.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Inserts a communication that is not already saved. */ @Api(Description="Inserts a communication that is not already saved.") public static class SaveCommunication implements IReturn, ISubscription { /** * Guid representing the external systems datasource information. */ @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", IsRequired=true, Name="SuiteDataSourceInstanceId", ParameterType="query") public UUID SuiteDataSourceInstanceId = null; /** * The unique key that represents the communication on the external system. */ @ApiMember(DataType="string", Description="The unique key that represents the communication on the external system.", Name="AlternateKey", ParameterType="query") public String AlternateKey = null; /** * Guid of the communication object within Eros. If ObjectId is known, the external system may pass this insted of the alternate key. */ @ApiMember(DataType="Guid", Description="Guid of the communication object within Eros. If ObjectId is known, the external system may pass this insted of the alternate key.", IsRequired=true, Name="ObjectId", ParameterType="query") public UUID ObjectId = null; public Boolean IgnoreValidation = null; /** * Communication Status Id. */ @ApiMember(DataType="Guid", Description="Communication Status Id.", IsRequired=true, Name="CommunicationStatusId", ParameterType="query") public UUID CommunicationStatusId = null; /** * XML containing the content of the communication. */ @ApiMember(DataType="string", Description="XML containing the content of the communication.", IsRequired=true, Name="CommunicationXml", ParameterType="query") public String CommunicationXml = null; /** * Guid of the object this communication is related to. */ @ApiMember(DataType="Guid", Description="Guid of the object this communication is related to.", IsRequired=true, Name="ObjectIdPrepositional", ParameterType="query") public UUID ObjectIdPrepositional = null; public UUID getSuiteDataSourceInstanceId() { return SuiteDataSourceInstanceId; } public SaveCommunication setSuiteDataSourceInstanceId(UUID value) { this.SuiteDataSourceInstanceId = value; return this; } public String getAlternateKey() { return AlternateKey; } public SaveCommunication setAlternateKey(String value) { this.AlternateKey = value; return this; } public UUID getObjectId() { return ObjectId; } public SaveCommunication setObjectId(UUID value) { this.ObjectId = value; return this; } public Boolean isIgnoreValidation() { return IgnoreValidation; } public SaveCommunication setIgnoreValidation(Boolean value) { this.IgnoreValidation = value; return this; } public UUID getCommunicationStatusId() { return CommunicationStatusId; } public SaveCommunication setCommunicationStatusId(UUID value) { this.CommunicationStatusId = value; return this; } public String getCommunicationXml() { return CommunicationXml; } public SaveCommunication setCommunicationXml(String value) { this.CommunicationXml = value; return this; } public UUID getObjectIdPrepositional() { return ObjectIdPrepositional; } public SaveCommunication setObjectIdPrepositional(UUID value) { this.ObjectIdPrepositional = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String ErrorCode = null; @DataMember(Order=2) public String Message = null; @DataMember(Order=3) public String StackTrace = null; @DataMember(Order=4) public ArrayList Errors = null; @DataMember(Order=5) public HashMap Meta = null; public String getErrorCode() { return ErrorCode; } public ResponseStatus setErrorCode(String value) { this.ErrorCode = value; return this; } public String getMessage() { return Message; } public ResponseStatus setMessage(String value) { this.Message = value; return this; } public String getStackTrace() { return StackTrace; } public ResponseStatus setStackTrace(String value) { this.StackTrace = value; return this; } public ArrayList getErrors() { return Errors; } public ResponseStatus setErrors(ArrayList value) { this.Errors = value; return this; } public HashMap getMeta() { return Meta; } public ResponseStatus setMeta(HashMap value) { this.Meta = value; return this; } } public static interface ISubscription { public UUID SuiteDataSourceInstanceId = null; public UUID ObjectId = null; public String AlternateKey = null; public Boolean IgnoreValidation = null; } }