/* Options: Date: 2025-04-10 06:11:38 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: PersonKeyRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PersonKeyResponse implements IConvertible { ResponseStatus? responseStatus; int? regent_id; int? re_id; String? sugar_id; String? uuid; int? student_id; String? regent_login; PersonKeyResponse({this.responseStatus,this.regent_id,this.re_id,this.sugar_id,this.uuid,this.student_id,this.regent_login}); PersonKeyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); regent_id = json['regent_id']; re_id = json['re_id']; sugar_id = json['sugar_id']; uuid = json['uuid']; student_id = json['student_id']; regent_login = json['regent_login']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'regent_id': regent_id, 're_id': re_id, 'sugar_id': sugar_id, 'uuid': uuid, 'student_id': student_id, 'regent_login': regent_login }; getTypeName() => "PersonKeyResponse"; TypeContext? context = _ctx; } // @Route("/person/keys", "POST") class PersonKeyRequest implements IReturn, IConvertible, IPost { int? regent_id; String? uuid; String? regent_login; String? regent_network_login; PersonKeyRequest({this.regent_id,this.uuid,this.regent_login,this.regent_network_login}); PersonKeyRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; uuid = json['uuid']; regent_login = json['regent_login']; regent_network_login = json['regent_network_login']; return this; } Map toJson() => { 'regent_id': regent_id, 'uuid': uuid, 'regent_login': regent_login, 'regent_network_login': regent_network_login }; createResponse() => PersonKeyResponse(); getResponseTypeName() => "PersonKeyResponse"; getTypeName() => "PersonKeyRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'PersonKeyResponse': TypeInfo(TypeOf.Class, create:() => PersonKeyResponse()), 'PersonKeyRequest': TypeInfo(TypeOf.Class, create:() => PersonKeyRequest()), });