' Options: 'Date: 2025-09-14 07:32:47 '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 '''MakeDataContractsExtensible: 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 Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Eros.Saguna.Common.Library.ValidationEngine Imports Eros.Saguna.Common.WebAPI.ServiceModel Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription Namespace Global Namespace Eros.Saguna.Common.Library.ValidationEngine Public Partial Class RuleValidationResult Public Overridable Property RuleCode As String Public Overridable Property Message As String Public Overridable Property Key As String Public Overridable Property Tag As String Public Overridable Property ErrorCode As String End Class Public Partial Class ValidationErrorList Public Overridable Property ValidationErrors As List(Of RuleValidationResult) End Class End Namespace Namespace Eros.Saguna.Common.WebAPI.ServiceModel Public Interface ISubscription Property SuiteDataSourceInstanceId As Guid Property ObjectId As Guid Property AlternateKey As String Property IgnoreValidation As Boolean End Interface End Namespace Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription Public Partial Class SaveContactRole Inherits ValidationErrorList Implements IReturn(Of ResponseStatus) Implements ISubscription ''' '''Guid representing the external systems data source information. ''' Public Overridable Property SuiteDataSourceInstanceId As Guid Implements ISubscription.SuiteDataSourceInstanceId ''' '''The unique key that represents the contact role on the external system. ''' Public Overridable Property AlternateKey As String Implements ISubscription.AlternateKey ''' '''Guid of the contact role object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. ''' Public Overridable Property ObjectId As Guid Implements ISubscription.ObjectId ''' '''Object containing all details of the contact role to be inserted or updated. ''' Public Overridable Property ContactRole As SubscriptionContactRoleModel Public Overridable Property IgnoreValidation As Boolean Implements ISubscription.IgnoreValidation End Class Public Partial Class SubscriptionContactRoleModel ''' '''Name of the role. ''' Public Overridable Property RoleName As String ''' '''Short version of the role name. ''' Public Overridable Property RoleShortName As String ''' '''Description of the role purpose. ''' Public Overridable Property RoleDescription As String ''' '''If true, the role will be pending for a contact until they accept it. ''' Public Overridable Property RequireContactsToAccept As Boolean ''' '''Contact Types that may have this role. ''' ", Description:="Contact Types that may have this role.", Name:="ContactTypes", ParameterType:="query")> Public Overridable Property ContactTypes As List(Of Guid) ''' '''Role Filters this role should be added to. ''' ", Description:="Role Filters this role should be added to.", Name:="ListItemFilters", ParameterType:="query")> Public Overridable Property ListItemFilters As List(Of Guid) End Class End Namespace End Namespace