/* Options: Date: 2024-12-29 03:47:05 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: AcademicCredentialStatusesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AcademicCredentialStatusResponse implements IConvertible { ResponseStatus? responseStatus; int? id; String? status_code; String? status_name; AcademicCredentialStatusResponse({this.responseStatus,this.id,this.status_code,this.status_name}); AcademicCredentialStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); id = json['id']; status_code = json['status_code']; status_name = json['status_name']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'id': id, 'status_code': status_code, 'status_name': status_name }; getTypeName() => "AcademicCredentialStatusResponse"; TypeContext? context = _ctx; } class AcademicCredentialStatusesResponse implements IConvertible { ResponseStatus? responseStatus; List? academicCredentialStatuses; AcademicCredentialStatusesResponse({this.responseStatus,this.academicCredentialStatuses}); AcademicCredentialStatusesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); academicCredentialStatuses = JsonConverters.fromJson(json['academicCredentialStatuses'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'academicCredentialStatuses': JsonConverters.toJson(academicCredentialStatuses,'List',context!) }; getTypeName() => "AcademicCredentialStatusesResponse"; TypeContext? context = _ctx; } // @Route("/AcademicCredentialStatuses", "POST") class AcademicCredentialStatusesRequest implements IReturn, IConvertible, IPost { AcademicCredentialStatusesRequest(); AcademicCredentialStatusesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AcademicCredentialStatusesResponse(); getResponseTypeName() => "AcademicCredentialStatusesResponse"; getTypeName() => "AcademicCredentialStatusesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'AcademicCredentialStatusResponse': TypeInfo(TypeOf.Class, create:() => AcademicCredentialStatusResponse()), 'AcademicCredentialStatusesResponse': TypeInfo(TypeOf.Class, create:() => AcademicCredentialStatusesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AcademicCredentialStatusesRequest': TypeInfo(TypeOf.Class, create:() => AcademicCredentialStatusesRequest()), });