/* Options: Date: 2026-02-28 16:38:55 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: PersonLibraryLoginCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PersonLibraryLoginStatusResponse implements IConvertible { ResponseStatus? responseStatus; bool? has_library_login; bool? is_expired; bool? can_create_login; bool? created_library_login; bool? updated_library_login; String? regent_login; DateTime? expiry_date; String? message; PersonLibraryLoginStatusResponse({this.responseStatus,this.has_library_login,this.is_expired,this.can_create_login,this.created_library_login,this.updated_library_login,this.regent_login,this.expiry_date,this.message}); PersonLibraryLoginStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); has_library_login = json['has_library_login']; is_expired = json['is_expired']; can_create_login = json['can_create_login']; created_library_login = json['created_library_login']; updated_library_login = json['updated_library_login']; regent_login = json['regent_login']; expiry_date = JsonConverters.fromJson(json['expiry_date'],'DateTime',context!); message = json['message']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'has_library_login': has_library_login, 'is_expired': is_expired, 'can_create_login': can_create_login, 'created_library_login': created_library_login, 'updated_library_login': updated_library_login, 'regent_login': regent_login, 'expiry_date': JsonConverters.toJson(expiry_date,'DateTime',context!), 'message': message }; getTypeName() => "PersonLibraryLoginStatusResponse"; TypeContext? context = _ctx; } // @Route("/person/{uuid}/library-login/create", "POST") class PersonLibraryLoginCreateRequest implements IReturn, IConvertible, IPost { String? uuid; String? authorizing_uuid; PersonLibraryLoginCreateRequest({this.uuid,this.authorizing_uuid}); PersonLibraryLoginCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'authorizing_uuid': authorizing_uuid }; createResponse() => PersonLibraryLoginStatusResponse(); getResponseTypeName() => "PersonLibraryLoginStatusResponse"; getTypeName() => "PersonLibraryLoginCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'PersonLibraryLoginStatusResponse': TypeInfo(TypeOf.Class, create:() => PersonLibraryLoginStatusResponse()), 'PersonLibraryLoginCreateRequest': TypeInfo(TypeOf.Class, create:() => PersonLibraryLoginCreateRequest()), });