/* Options: Date: 2026-06-22 22:51:49 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RunBillingRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RunBillingResponse implements IConvertible { ResponseStatus? ResponseStatus; int? BillingRunID; String? Status; bool? Started; String? Message; RunBillingResponse({this.ResponseStatus,this.BillingRunID,this.Status,this.Started,this.Message}); RunBillingResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); BillingRunID = json['BillingRunID']; Status = json['Status']; Started = json['Started']; Message = json['Message']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'BillingRunID': BillingRunID, 'Status': Status, 'Started': Started, 'Message': Message }; getTypeName() => "RunBillingResponse"; TypeContext? context = _ctx; } // @Route("/v1/billing/run", "POST,OPTIONS") class RunBillingRequest implements IReturn, IConvertible, IPost { String? RunType; String? PeriodKey; RunBillingRequest({this.RunType,this.PeriodKey}); RunBillingRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RunType = json['RunType']; PeriodKey = json['PeriodKey']; return this; } Map toJson() => { 'RunType': RunType, 'PeriodKey': PeriodKey }; createResponse() => RunBillingResponse(); getResponseTypeName() => "RunBillingResponse"; getTypeName() => "RunBillingRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RunBillingResponse': TypeInfo(TypeOf.Class, create:() => RunBillingResponse()), 'RunBillingRequest': TypeInfo(TypeOf.Class, create:() => RunBillingRequest()), });