/* Options: Date: 2025-09-14 07:40:02 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: SaveContactRole.* //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.Library.ValidationEngine; using Eros.Saguna.Common.WebAPI.ServiceModel; using Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription; namespace Eros.Saguna.Common.Library.ValidationEngine { public partial class RuleValidationResult { public virtual string RuleCode { get; set; } public virtual string Message { get; set; } public virtual string Key { get; set; } public virtual string Tag { get; set; } public virtual string ErrorCode { get; set; } } public partial class ValidationErrorList { public virtual List ValidationErrors { get; set; } } } 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 SaveContactRole : ValidationErrorList, IReturn, ISubscription { /// ///Guid representing the external systems data source information. /// [ApiMember(DataType="Guid", Description="Guid representing the external systems data source information.", IsRequired=true, Name="SuiteDataSourceInstanceId", ParameterType="query")] public virtual Guid SuiteDataSourceInstanceId { get; set; } /// ///The unique key that represents the contact role on the external system. /// [ApiMember(DataType="string", Description="The unique key that represents the contact role on the external system.", IsRequired=true, Name="AlternateKey", ParameterType="query")] public virtual string AlternateKey { get; set; } /// ///Guid of the contact role 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 contact role 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; } /// ///Object containing all details of the contact role to be inserted or updated. /// [ApiMember(DataType="SubscriptionContactRoleModel", Description="Object containing all details of the contact role to be inserted or updated.", IsRequired=true, Name="ContactRole", ParameterType="query")] public virtual SubscriptionContactRoleModel ContactRole { get; set; } public virtual bool IgnoreValidation { get; set; } } public partial class SubscriptionContactRoleModel { /// ///Name of the role. /// [ApiMember(DataType="string", Description="Name of the role.", Name="RoleName", ParameterType="query")] public virtual string RoleName { get; set; } /// ///Short version of the role name. /// [ApiMember(DataType="string", Description="Short version of the role name.", Name="RoleShortName", ParameterType="query")] public virtual string RoleShortName { get; set; } /// ///Description of the role purpose. /// [ApiMember(DataType="string", Description="Description of the role purpose.", Name="RoleDescription", ParameterType="query")] public virtual string RoleDescription { get; set; } /// ///If true, the role will be pending for a contact until they accept it. /// [ApiMember(DataType="bool", Description="If true, the role will be pending for a contact until they accept it.", Name="RequireContactsToAccept", ParameterType="query")] public virtual bool RequireContactsToAccept { get; set; } /// ///Contact Types that may have this role. /// [ApiMember(DataType="List", Description="Contact Types that may have this role.", Name="ContactTypes", ParameterType="query")] public virtual List ContactTypes { get; set; } /// ///Role Filters this role should be added to. /// [ApiMember(DataType="List", Description="Role Filters this role should be added to.", Name="ListItemFilters", ParameterType="query")] public virtual List ListItemFilters { get; set; } } }