/* Options: Date: 2026-04-04 08:35:43 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ConnectionStatusUpdate.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ConnectionStatusUpdateResponse implements IConvertible { ResponseStatus? ResponseStatus; ConnectionStatusUpdateResponse({this.ResponseStatus}); ConnectionStatusUpdateResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ConnectionStatusUpdateResponse"; TypeContext? context = _ctx; } /** * Update the status of the specified connection */ // @Route("/connections/{ConnectionId}/cancel") // @Route("/connections/{ConnectionId}/remove") // @Api(Description="Update the status of the specified connection") class ConnectionStatusUpdate implements IReturn, IConvertible, IPut { /** * Connection to be updated */ // @ApiMember(Description="Connection to be updated", IsRequired=true, Name="ConnectionId") String? ConnectionId; /** * Id of the contact linked to the connection */ // @ApiMember(Description="Id of the contact linked to the connection", IsRequired=true, Name="ContactId") String? ContactId; /** * 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") String? ContactTypeId; /** * Role Id linked to the connection request */ // @ApiMember(Description="Role Id linked to the connection request", IsRequired=true, Name="RoleId") String? RoleId; ConnectionStatusUpdate({this.ConnectionId,this.ContactId,this.ContactTypeId,this.RoleId}); ConnectionStatusUpdate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConnectionId = json['ConnectionId']; ContactId = json['ContactId']; ContactTypeId = json['ContactTypeId']; RoleId = json['RoleId']; return this; } Map toJson() => { 'ConnectionId': ConnectionId, 'ContactId': ContactId, 'ContactTypeId': ContactTypeId, 'RoleId': RoleId }; createResponse() => ConnectionStatusUpdateResponse(); getResponseTypeName() => "ConnectionStatusUpdateResponse"; getTypeName() => "ConnectionStatusUpdate"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'ConnectionStatusUpdateResponse': TypeInfo(TypeOf.Class, create:() => ConnectionStatusUpdateResponse()), 'ConnectionStatusUpdate': TypeInfo(TypeOf.Class, create:() => ConnectionStatusUpdate()), });