/* Options:
Date: 2025-09-14 06:43:56
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: SaveCommunication.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Eros.Saguna.Common.WebAPI.ServiceModel;
using Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription;
namespace Eros.Saguna.Common.WebAPI.ServiceModel
{
public partial interface ISubscription
{
Guid SuiteDataSourceInstanceId { get; set; }
Guid ObjectId { get; set; }
string AlternateKey { get; set; }
bool IgnoreValidation { get; set; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription
{
///
///Inserts a communication that is not already saved.
///
[Api(Description="Inserts a communication that is not already saved.")]
public partial class SaveCommunication
: 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 virtual Guid SuiteDataSourceInstanceId { get; set; }
///
///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 virtual string AlternateKey { get; set; }
///
///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 virtual Guid ObjectId { get; set; }
public virtual bool IgnoreValidation { get; set; }
///
///Communication Status Id.
///
[ApiMember(DataType="Guid", Description="Communication Status Id.", IsRequired=true, Name="CommunicationStatusId", ParameterType="query")]
public virtual Guid CommunicationStatusId { get; set; }
///
///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 virtual string CommunicationXml { get; set; }
///
///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 virtual Guid ObjectIdPrepositional { get; set; }
}
}