/* Options: Date: 2024-12-29 04:18:59 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RateCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Rates/{term}/Create", "POST") class RateCreateRequest implements IReturn, IConvertible, IPost { String? authorizing_uuid; String? rate_code; String? rate_description; String? term; double? charge; double? credit; double? percentage; double? budget; bool? is_benefit; bool? is_financial_aid; bool? duplicate_in_future_terms; RateCreateRequest({this.authorizing_uuid,this.rate_code,this.rate_description,this.term,this.charge,this.credit,this.percentage,this.budget,this.is_benefit,this.is_financial_aid,this.duplicate_in_future_terms}); RateCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { authorizing_uuid = json['authorizing_uuid']; rate_code = json['rate_code']; rate_description = json['rate_description']; term = json['term']; charge = JsonConverters.toDouble(json['charge']); credit = JsonConverters.toDouble(json['credit']); percentage = JsonConverters.toDouble(json['percentage']); budget = JsonConverters.toDouble(json['budget']); is_benefit = json['is_benefit']; is_financial_aid = json['is_financial_aid']; duplicate_in_future_terms = json['duplicate_in_future_terms']; return this; } Map toJson() => { 'authorizing_uuid': authorizing_uuid, 'rate_code': rate_code, 'rate_description': rate_description, 'term': term, 'charge': charge, 'credit': credit, 'percentage': percentage, 'budget': budget, 'is_benefit': is_benefit, 'is_financial_aid': is_financial_aid, 'duplicate_in_future_terms': duplicate_in_future_terms }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "RateCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RateCreateRequest': TypeInfo(TypeOf.Class, create:() => RateCreateRequest()), });