/* Options: Date: 2026-04-04 01:02:21 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: ConnectionStatusUpdate.* //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.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Update the status of the specified connection /// [Route("/connections/{ConnectionId}/cancel")] [Route("/connections/{ConnectionId}/remove")] [Api(Description="Update the status of the specified connection")] public partial class ConnectionStatusUpdate : IReturn { /// ///Connection to be updated /// [ApiMember(Description="Connection to be updated", IsRequired=true, Name="ConnectionId")] public virtual Guid ConnectionId { get; set; } /// ///Id of the contact linked to the connection /// [ApiMember(Description="Id of the contact linked to the connection", IsRequired=true, Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///Type of contact being connected with. For e.g. Real Person, Virtual Person etc. /// [ApiMember(DataType="Guid", Description="Type of contact being connected with. For e.g. Real Person, Virtual Person etc.", IsRequired=true, Name="ContactTypeId")] public virtual Guid ContactTypeId { get; set; } /// ///Role Id linked to the connection request /// [ApiMember(Description="Role Id linked to the connection request", IsRequired=true, Name="RoleId")] public virtual Guid RoleId { get; set; } } public partial class ConnectionStatusUpdateResponse { 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; } } }