/* Options: Date: 2025-10-28 02:17:48 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: StatusTypesAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class StatusTypesAddResponse implements IConvertible { // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) String? Description; // @DataMember(Order=5) ResponseStatus? ResponseStatus; StatusTypesAddResponse({this.TenantsId,this.Description,this.ResponseStatus}); StatusTypesAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; Description = json['Description']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'TenantsId': TenantsId, 'Description': Description, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "StatusTypesAddResponse"; TypeContext? context = _ctx; } // @Route("/status_types", "POST") // @DataContract class StatusTypesAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) int? TenantsId; // @DataMember(Order=3) // @Validate(Validator="NotNull") String? Description; StatusTypesAdd({this.TenantsId,this.Description}); StatusTypesAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenantsId = json['TenantsId']; Description = json['Description']; return this; } Map toJson() => { 'TenantsId': TenantsId, 'Description': Description }; createResponse() => StatusTypesAddResponse(); getResponseTypeName() => "StatusTypesAddResponse"; getTypeName() => "StatusTypesAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'StatusTypesAddResponse': TypeInfo(TypeOf.Class, create:() => StatusTypesAddResponse()), 'StatusTypesAdd': TypeInfo(TypeOf.Class, create:() => StatusTypesAdd()), });