/* Options: Date: 2025-09-14 02:14:09 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: SaveObjectConnection.* //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; } } public partial class SubscriptionObjectModel : 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 object on the external system. /// [ApiMember(DataType="string", Description="The unique key that represents the object on the external system.", IsRequired=true, Name="AlternateKey", ParameterType="query")] public virtual string AlternateKey { get; set; } /// ///Guid of the object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. /// [ApiMember(DataType="Guid", Description="Guid of the object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key.", Name="ObjectId", ParameterType="query")] public virtual Guid ObjectId { get; set; } /// ///Guid of the RmsTableCtx within Eros. This is used if the alternate key is provided to identify the object to update. /// [ApiMember(DataType="Guid", Description="Guid of the RmsTableCtx within Eros. This is used if the alternate key is provided to identify the object to update.", Name="RmsTableCtxId", ParameterType="query")] public virtual Guid RmsTableCtxId { get; set; } /// ///Validation ensures that this object has a value in alternateKey or ObjectId, ignoring validation skips this requirement. /// [ApiMember(DataType="bool", Description="Validation ensures that this object has a value in alternateKey or ObjectId, ignoring validation skips this requirement.", Name="IgnoreValidation", ParameterType="query")] public virtual bool IgnoreValidation { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription { /// ///Inserts an object connection between 2 valid objects. /// [Api(Description="Inserts an object connection between 2 valid objects.")] public partial class SaveObjectConnection : IReturn { /// ///Information to allow retrieval of the object from Eros that will be the 'From' object in the connection. /// [ApiMember(DataType="SubscriptionObjectModel", Description="Information to allow retrieval of the object from Eros that will be the 'From' object in the connection.", IsRequired=true, Name="FromObject")] public virtual SubscriptionObjectModel FromObject { get; set; } /// ///Information to allow retrieval of the object from Eros that will be the 'To' object in the connection. /// [ApiMember(DataType="SubscriptionObjectModel", Description="Information to allow retrieval of the object from Eros that will be the 'To' object in the connection.", IsRequired=true, Name="ToObject")] public virtual SubscriptionObjectModel ToObject { get; set; } /// ///Guid representing the Connection Method to use to connect the objects with. /// [ApiMember(DataType="Guid", Description="Guid representing the Connection Method to use to connect the objects with.", IsRequired=true, Name="RmsTableCtxIdConnectionMethod")] public virtual Guid RmsTableCtxIdConnectionMethod { get; set; } } }