/* Options: Date: 2025-10-27 21:30:58 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: LookupListsAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LookupListsAddResponse implements IConvertible { // @DataMember(Order=2) String? Description; // @DataMember(Order=3) bool? IsEnabled; // @DataMember(Order=4) int? LookupListCategoryId; // @DataMember(Order=5) DateTime? LastModifiedDate; // @DataMember(Order=6) String? RowVersionGuid; // @DataMember(Order=8) ResponseStatus? ResponseStatus; LookupListsAddResponse({this.Description,this.IsEnabled,this.LookupListCategoryId,this.LastModifiedDate,this.RowVersionGuid,this.ResponseStatus}); LookupListsAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Description = json['Description']; IsEnabled = json['IsEnabled']; LookupListCategoryId = json['LookupListCategoryId']; LastModifiedDate = JsonConverters.fromJson(json['LastModifiedDate'],'DateTime',context!); RowVersionGuid = json['RowVersionGuid']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Description': Description, 'IsEnabled': IsEnabled, 'LookupListCategoryId': LookupListCategoryId, 'LastModifiedDate': JsonConverters.toJson(LastModifiedDate,'DateTime',context!), 'RowVersionGuid': RowVersionGuid, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "LookupListsAddResponse"; TypeContext? context = _ctx; } // @Route("/lookup_lists", "POST") // @DataContract class LookupListsAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) // @Validate(Validator="NotNull") String? Description; // @DataMember(Order=3) // @Validate(Validator="NotNull") bool? IsEnabled; // @DataMember(Order=4) // @Validate(Validator="NotNull") int? LookupListCategoryId; // @DataMember(Order=5) // @Validate(Validator="NotNull") DateTime? LastModifiedDate; // @DataMember(Order=6) // @Validate(Validator="NotNull") String? RowVersionGuid; LookupListsAdd({this.Description,this.IsEnabled,this.LookupListCategoryId,this.LastModifiedDate,this.RowVersionGuid}); LookupListsAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Description = json['Description']; IsEnabled = json['IsEnabled']; LookupListCategoryId = json['LookupListCategoryId']; LastModifiedDate = JsonConverters.fromJson(json['LastModifiedDate'],'DateTime',context!); RowVersionGuid = json['RowVersionGuid']; return this; } Map toJson() => { 'Description': Description, 'IsEnabled': IsEnabled, 'LookupListCategoryId': LookupListCategoryId, 'LastModifiedDate': JsonConverters.toJson(LastModifiedDate,'DateTime',context!), 'RowVersionGuid': RowVersionGuid }; createResponse() => LookupListsAddResponse(); getResponseTypeName() => "LookupListsAddResponse"; getTypeName() => "LookupListsAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'LookupListsAddResponse': TypeInfo(TypeOf.Class, create:() => LookupListsAddResponse()), 'LookupListsAdd': TypeInfo(TypeOf.Class, create:() => LookupListsAdd()), });