/* Options: Date: 2024-12-29 03:06:06 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: StudentAcademicCredentialExtensionUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/StudentAcademicCredentialExtensions/{uuid}/{stac_uuid}/Update", "POST") class StudentAcademicCredentialExtensionUpdateRequest implements IReturn, IConvertible, IPost { String? uuid; String? stac_uuid; DateTime? due_date; DateTime? received_date; String? grade_penalty; String? assignments; String? comments; bool? is_active; String? authorizing_uuid; StudentAcademicCredentialExtensionUpdateRequest({this.uuid,this.stac_uuid,this.due_date,this.received_date,this.grade_penalty,this.assignments,this.comments,this.is_active,this.authorizing_uuid}); StudentAcademicCredentialExtensionUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; stac_uuid = json['stac_uuid']; due_date = JsonConverters.fromJson(json['due_date'],'DateTime',context!); received_date = JsonConverters.fromJson(json['received_date'],'DateTime',context!); grade_penalty = json['grade_penalty']; assignments = json['assignments']; comments = json['comments']; is_active = json['is_active']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'stac_uuid': stac_uuid, 'due_date': JsonConverters.toJson(due_date,'DateTime',context!), 'received_date': JsonConverters.toJson(received_date,'DateTime',context!), 'grade_penalty': grade_penalty, 'assignments': assignments, 'comments': comments, 'is_active': is_active, 'authorizing_uuid': authorizing_uuid }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "StudentAcademicCredentialExtensionUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentAcademicCredentialExtensionUpdateRequest': TypeInfo(TypeOf.Class, create:() => StudentAcademicCredentialExtensionUpdateRequest()), });