/* Options: Date: 2025-10-27 22:21:12 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: IntervalsAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class IntervalsAddResponse implements IConvertible { // @DataMember(Order=2) String? Name; // @DataMember(Order=4) ResponseStatus? ResponseStatus; IntervalsAddResponse({this.Name,this.ResponseStatus}); IntervalsAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Name': Name, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "IntervalsAddResponse"; TypeContext? context = _ctx; } // @Route("/intervals", "POST") // @DataContract class IntervalsAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) // @Validate(Validator="NotNull") String? Name; IntervalsAdd({this.Name}); IntervalsAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; return this; } Map toJson() => { 'Name': Name }; createResponse() => IntervalsAddResponse(); getResponseTypeName() => "IntervalsAddResponse"; getTypeName() => "IntervalsAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'IntervalsAddResponse': TypeInfo(TypeOf.Class, create:() => IntervalsAddResponse()), 'IntervalsAdd': TypeInfo(TypeOf.Class, create:() => IntervalsAdd()), });