/* Options: Date: 2024-12-29 03:07:52 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: StudentExemptionCredentialCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/StudentExemptionCredential/{uuid}/Create", "POST") class StudentExemptionCredentialCreateRequest implements IReturn, IConvertible, IPost { String? uuid; String? course_name; String? title; double? credit_value; String? authorizing_uuid; StudentExemptionCredentialCreateRequest({this.uuid,this.course_name,this.title,this.credit_value,this.authorizing_uuid}); StudentExemptionCredentialCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; course_name = json['course_name']; title = json['title']; credit_value = JsonConverters.toDouble(json['credit_value']); authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'course_name': course_name, 'title': title, 'credit_value': credit_value, 'authorizing_uuid': authorizing_uuid }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "StudentExemptionCredentialCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentExemptionCredentialCreateRequest': TypeInfo(TypeOf.Class, create:() => StudentExemptionCredentialCreateRequest()), });