/* Options: Date: 2025-10-28 01:11:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ClientsById.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class ClientsByIdResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=5) ResponseStatus? ResponseStatus; ClientsByIdResponse({this.Id,this.ResponseStatus}); ClientsByIdResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ClientsByIdResponse"; TypeContext? context = _ctx; } // @Route("/clients/{Id}", "GET") // @DataContract class ClientsById implements IReturn, IConvertible, IGet { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; ClientsById({this.Id}); ClientsById.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => ClientsByIdResponse(); getResponseTypeName() => "ClientsByIdResponse"; getTypeName() => "ClientsById"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'ClientsByIdResponse': TypeInfo(TypeOf.Class, create:() => ClientsByIdResponse()), 'ClientsById': TypeInfo(TypeOf.Class, create:() => ClientsById()), });