/* Options: Date: 2026-02-14 09:59:59 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateClaimClientProcessed.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICommandResponse { } class TokenDto implements ICommandResponse, IConvertible { String token = ""; TokenDto({this.token}); TokenDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; return this; } Map toJson() => { 'token': token }; getTypeName() => "TokenDto"; TypeContext? context = _ctx; } /** * Claim */ // @Route("/claim/{ClaimId}/processed", "PUT") // @Api(Description="Claim") // @ApiResponse(Description="Command received", IsDefaultResponse=true, ResponseType=typeof(TokenDto), StatusCode=202) class UpdateClaimClientProcessed implements IReturn, IConvertible, IPut { /** * Claim ID or Token */ // @ApiMember(Description="Claim ID or Token", ExcludeInSchema=true, ParameterType="path") String claimId = ""; /** * Customer claim reference in destination system */ // @ApiMember(Description="Customer claim reference in destination system") String customerReference = ""; /** * Date and Time claim was processed in destination system */ // @ApiMember(Description="Date and Time claim was processed in destination system") DateTime customerProcessedDate = DateTime(0); UpdateClaimClientProcessed({this.claimId,this.customerReference,this.customerProcessedDate}); UpdateClaimClientProcessed.fromJson(Map json) { fromMap(json); } fromMap(Map json) { claimId = json['claimId']; customerReference = json['customerReference']; customerProcessedDate = JsonConverters.fromJson(json['customerProcessedDate'],'DateTime',context!); return this; } Map toJson() => { 'claimId': claimId, 'customerReference': customerReference, 'customerProcessedDate': JsonConverters.toJson(customerProcessedDate,'DateTime',context!) }; createResponse() => TokenDto(); getResponseTypeName() => "TokenDto"; getTypeName() => "UpdateClaimClientProcessed"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stf_api_uat.data_xchange.co.za', types: { 'ICommandResponse': TypeInfo(TypeOf.Interface), 'TokenDto': TypeInfo(TypeOf.Class, create:() => TokenDto()), 'UpdateClaimClientProcessed': TypeInfo(TypeOf.Class, create:() => UpdateClaimClientProcessed()), });