/* Options: Date: 2024-12-29 02:34:35 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: ExternalDegreeCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Academic/{uuid}/ExternalDegree/Create", "POST") class ExternalDegreeCreateRequest implements IReturn, IConvertible, IPost { String? uuid; int? institution_id; String? degree_name; String? degree_override_name; int? start_year; int? end_year; String? graduation_month; String? authorizing_uuid; ExternalDegreeCreateRequest({this.uuid,this.institution_id,this.degree_name,this.degree_override_name,this.start_year,this.end_year,this.graduation_month,this.authorizing_uuid}); ExternalDegreeCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; institution_id = json['institution_id']; degree_name = json['degree_name']; degree_override_name = json['degree_override_name']; start_year = json['start_year']; end_year = json['end_year']; graduation_month = json['graduation_month']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'institution_id': institution_id, 'degree_name': degree_name, 'degree_override_name': degree_override_name, 'start_year': start_year, 'end_year': end_year, 'graduation_month': graduation_month, 'authorizing_uuid': authorizing_uuid }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ExternalDegreeCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'ExternalDegreeCreateRequest': TypeInfo(TypeOf.Class, create:() => ExternalDegreeCreateRequest()), });