/* Options: Date: 2026-04-04 06:54:59 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/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: AddConnectionsInRole.* //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.Causal.Common.Entity; using Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Causal.Common.Entity { public partial class GuidLookup { public virtual Guid LookupId { get; set; } public virtual Guid Value { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Connect two contacts in the specified roles /// [Route("/connections/{ContactId}/role/{RoleId}")] [Api(Description="Connect two contacts in the specified roles")] public partial class AddConnectionsInRole : IReturn { /// ///Create a connection from this contact to the specified list of contacts in the specified role. /// [ApiMember(DataType="Guid", Description="Create a connection from this contact to the specified list of contacts in the specified role.", IsRequired=true, Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///List of contacts to add to the role, including the type of contact /// [ApiMember(DataType="List", Description="List of contacts to add to the role, including the type of contact", IsRequired=true, Name="ToContacts")] public virtual List ToContacts { get; set; } = []; /// ///Create a connection between contacts in the specified role. /// [ApiMember(DataType="Guid", Description="Create a connection between contacts in the specified role.", IsRequired=true, Name="RoleId")] public virtual Guid RoleId { get; set; } /// ///Send connection emails for auto - accept roles that are being assigned? Note: emails will always be sent if the role requires user acceptance /// [ApiMember(DataType="boolean", Description="Send connection emails for auto - accept roles that are being assigned? Note: emails will always be sent if the role requires user acceptance", IsRequired=true, Name="SendConnectionEmails")] public virtual bool SendConnectionEmails { get; set; } } [ApiResponse(Description="List of roles available for connection from the specified contact for specified contact types")] public partial class ConnectContactsInRolesResponse { public virtual ResponseStatus ResponseStatus { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }