/* Options: Date: 2024-12-29 02:19:47 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: ShareMyGradesUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/ShareMyGrades/{uuid}/Update", "POST") class ShareMyGradesUpdateRequest implements IReturn, IConvertible, IPost { String? uuid; bool? make_public; bool? make_private; ShareMyGradesUpdateRequest({this.uuid,this.make_public,this.make_private}); ShareMyGradesUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; make_public = json['make_public']; make_private = json['make_private']; return this; } Map toJson() => { 'uuid': uuid, 'make_public': make_public, 'make_private': make_private }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ShareMyGradesUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'ShareMyGradesUpdateRequest': TypeInfo(TypeOf.Class, create:() => ShareMyGradesUpdateRequest()), });