/* Options: Date: 2025-12-06 09:20:39 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PropagationsById.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PropagationsByIdResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=8) ResponseStatus? responseStatus; PropagationsByIdResponse({this.id,this.responseStatus}); PropagationsByIdResponse.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() => "PropagationsByIdResponse"; TypeContext? context = _ctx; } // @Route("/propagations/{Id}", "GET") // @DataContract class PropagationsById implements IReturn, IConvertible, IGet { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; PropagationsById({this.id}); PropagationsById.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => PropagationsByIdResponse(); getResponseTypeName() => "PropagationsByIdResponse"; getTypeName() => "PropagationsById"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'PropagationsByIdResponse': TypeInfo(TypeOf.Class, create:() => PropagationsByIdResponse()), 'PropagationsById': TypeInfo(TypeOf.Class, create:() => PropagationsById()), });