/* Options: Date: 2024-12-03 17:21:44 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cip-reporting-preview.chargeitpro.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TransactionsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/Transactions/Company/{CompanyId}") // @Route("/Transactions/Company/{CompanyId}/{Start}/{Take}") // @Route("/Transactions/Company/{CompanyId}/{Start}/{Take}/{ColumnNameToOrderBy}/{OrderByDesc}") // @Route("/Transactions/Company/{CompanyId}/{UserId}") // @Route("/Transactions/Company/{CompanyId}/{Start}/{Take}/{UserId}") class TransactionsRequest implements IConvertible { int? CompanyId; int? Start; int? Take; String? UserId; int? ColumnNameToOrderBy; bool? OrderByDesc; bool? Inactive; TransactionsRequest({this.CompanyId,this.Start,this.Take,this.UserId,this.ColumnNameToOrderBy,this.OrderByDesc,this.Inactive}); TransactionsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Start = json['Start']; Take = json['Take']; UserId = json['UserId']; ColumnNameToOrderBy = json['ColumnNameToOrderBy']; OrderByDesc = json['OrderByDesc']; Inactive = json['Inactive']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Start': Start, 'Take': Take, 'UserId': UserId, 'ColumnNameToOrderBy': ColumnNameToOrderBy, 'OrderByDesc': OrderByDesc, 'Inactive': Inactive }; getTypeName() => "TransactionsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'cip_reporting_preview.chargeitpro.com', types: { 'TransactionsRequest': TypeInfo(TypeOf.Class, create:() => TransactionsRequest()), });