(* Options: Date: 2025-09-14 07:50:33 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: SaveContactRole.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Saguna.Common.WebAPI.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type RuleValidationResult() = member val RuleCode:String = null with get,set member val Message:String = null with get,set member val Key:String = null with get,set member val Tag:String = null with get,set member val ErrorCode:String = null with get,set [] type ValidationErrorList() = member val ValidationErrors:ResizeArray = null with get,set [] type ISubscription = abstract SuiteDataSourceInstanceId:Guid with get,set abstract ObjectId:Guid with get,set abstract AlternateKey:String with get,set abstract IgnoreValidation:Boolean with get,set [] type SubscriptionContactRoleModel() = /// ///Name of the role. /// [] member val RoleName:String = null with get,set /// ///Short version of the role name. /// [] member val RoleShortName:String = null with get,set /// ///Description of the role purpose. /// [] member val RoleDescription:String = null with get,set /// ///If true, the role will be pending for a contact until they accept it. /// [] member val RequireContactsToAccept:Boolean = new Boolean() with get,set /// ///Contact Types that may have this role. /// [", Description="Contact Types that may have this role.", Name="ContactTypes", ParameterType="query")>] member val ContactTypes:ResizeArray = null with get,set /// ///Role Filters this role should be added to. /// [", Description="Role Filters this role should be added to.", Name="ListItemFilters", ParameterType="query")>] member val ListItemFilters:ResizeArray = null with get,set [] type SaveContactRole() = inherit ValidationErrorList() interface IReturn /// ///Guid representing the external systems data source information. /// [] member val SuiteDataSourceInstanceId:Guid = new Guid() with get,set /// ///The unique key that represents the contact role on the external system. /// [] member val AlternateKey:String = null with 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. /// [] member val ObjectId:Guid = new Guid() with get,set /// ///Object containing all details of the contact role to be inserted or updated. /// [] member val ContactRole:SubscriptionContactRoleModel = null with get,set member val IgnoreValidation:Boolean = new Boolean() with get,set