/* Options:
Date: 2025-09-14 06:39:22
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: SaveObjectDynamicContent.*
//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
{
public partial class DynamicContentModel
{
///
///Dynamic Content Definition indicating the content type.
///
[ApiMember(DataType="DynamicContentModel", Description="Dynamic Content Definition indicating the content type.", IsRequired=true, Name="DynamicContentDefinitionId")]
public virtual Guid DynamicContentDefinitionId { get; set; }
///
///Guid indicating the content format. Not required to be passed.
///
[ApiMember(DataType="DynamicContentModel", Description="Guid indicating the content format. Not required to be passed.", Name="ContentFormatId")]
public virtual Guid ContentFormatId { get; set; }
///
///Actual Content to be added to the object.
///
[ApiMember(DataType="DynamicContentModel", Description="Actual Content to be added to the object.", IsRequired=true, Name="Content")]
public virtual string Content { get; set; }
}
///
///Inserts or Updates dynamic content for an object.
///
[Api(Description="Inserts or Updates dynamic content for an object.")]
public partial class SaveObjectDynamicContent
: IReturn, ISubscription
{
///
///Guid representing the external systems datasource information.
///
[ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", IsRequired=true, Name="SuiteDataSourceInstanceId")]
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")]
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")]
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")]
public virtual Guid RmsTableCtxId { get; set; }
public virtual bool IgnoreValidation { get; set; }
///
///Dynamic Content to be added to the object.
///
[ApiMember(DataType="DynamicContentModel", Description="Dynamic Content to be added to the object.", IsRequired=true, Name="DynamicContent")]
public virtual DynamicContentModel DynamicContent { get; set; }
}
}