/* Options: Date: 2024-12-29 04:10:10 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: ActiveDirectoryCreateUserRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ActiveDirectoryCreateUserResponse implements IConvertible { ResponseStatus? responseStatus; String? set_password_url; ActiveDirectoryCreateUserResponse({this.responseStatus,this.set_password_url}); ActiveDirectoryCreateUserResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); set_password_url = json['set_password_url']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'set_password_url': set_password_url }; getTypeName() => "ActiveDirectoryCreateUserResponse"; TypeContext? context = _ctx; } // @Route("/ActiveDirectory/CreateUser", "POST") class ActiveDirectoryCreateUserRequest implements IReturn, IConvertible, IPost { int? regent_id; String? regent_login; ActiveDirectoryCreateUserRequest({this.regent_id,this.regent_login}); ActiveDirectoryCreateUserRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; regent_login = json['regent_login']; return this; } Map toJson() => { 'regent_id': regent_id, 'regent_login': regent_login }; createResponse() => ActiveDirectoryCreateUserResponse(); getResponseTypeName() => "ActiveDirectoryCreateUserResponse"; getTypeName() => "ActiveDirectoryCreateUserRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'ActiveDirectoryCreateUserResponse': TypeInfo(TypeOf.Class, create:() => ActiveDirectoryCreateUserResponse()), 'ActiveDirectoryCreateUserRequest': TypeInfo(TypeOf.Class, create:() => ActiveDirectoryCreateUserRequest()), });