/* Options: Date: 2024-12-22 12:49:58 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateOrganizationMemberInvite.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UpdateOrganizationMemberInviteResponse implements IConvertible { ResponseStatus? responseStatus; UpdateOrganizationMemberInviteResponse({this.responseStatus}); UpdateOrganizationMemberInviteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "UpdateOrganizationMemberInviteResponse"; TypeContext? context = _ctx; } // @Route("/orgs/{OrganizationId}/invites/{UserId}", "PUT") class UpdateOrganizationMemberInvite implements IReturn, IPut, IConvertible { int? organizationId; String? userName; bool? approve; bool? dismiss; UpdateOrganizationMemberInvite({this.organizationId,this.userName,this.approve,this.dismiss}); UpdateOrganizationMemberInvite.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; userName = json['userName']; approve = json['approve']; dismiss = json['dismiss']; return this; } Map toJson() => { 'organizationId': organizationId, 'userName': userName, 'approve': approve, 'dismiss': dismiss }; createResponse() => UpdateOrganizationMemberInviteResponse(); getResponseTypeName() => "UpdateOrganizationMemberInviteResponse"; getTypeName() => "UpdateOrganizationMemberInvite"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'UpdateOrganizationMemberInviteResponse': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationMemberInviteResponse()), 'UpdateOrganizationMemberInvite': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationMemberInvite()), });