/* Options: Date: 2024-10-06 10:33: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: ExternalDegreeUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Academic/{uuid}/ExternalDegree/Update/{id}", "POST") class ExternalDegreeUpdateRequest implements IReturn, IConvertible, IPost { String? uuid; int? id; int? institution_id; String? degree_name; String? degree_override_name; int? start_year; int? end_year; String? graduation_month; String? authorizing_uuid; ExternalDegreeUpdateRequest({this.uuid,this.id,this.institution_id,this.degree_name,this.degree_override_name,this.start_year,this.end_year,this.graduation_month,this.authorizing_uuid}); ExternalDegreeUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; id = json['id']; 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, 'id': id, '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() => "ExternalDegreeUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'ExternalDegreeUpdateRequest': TypeInfo(TypeOf.Class, create:() => ExternalDegreeUpdateRequest()), });