/* Options: Date: 2024-12-22 12:21:15 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: RequestOrganizationMemberInvite.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RequestOrganizationMemberInviteResponse implements IConvertible { int? organizationId; ResponseStatus? responseStatus; RequestOrganizationMemberInviteResponse({this.organizationId,this.responseStatus}); RequestOrganizationMemberInviteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'organizationId': organizationId, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "RequestOrganizationMemberInviteResponse"; TypeContext? context = _ctx; } // @Route("/orgs/{OrganizationId}/invites", "POST") class RequestOrganizationMemberInvite implements IReturn, IPost, IConvertible { int? organizationId; RequestOrganizationMemberInvite({this.organizationId}); RequestOrganizationMemberInvite.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; return this; } Map toJson() => { 'organizationId': organizationId }; createResponse() => RequestOrganizationMemberInviteResponse(); getResponseTypeName() => "RequestOrganizationMemberInviteResponse"; getTypeName() => "RequestOrganizationMemberInvite"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'RequestOrganizationMemberInviteResponse': TypeInfo(TypeOf.Class, create:() => RequestOrganizationMemberInviteResponse()), 'RequestOrganizationMemberInvite': TypeInfo(TypeOf.Class, create:() => RequestOrganizationMemberInvite()), });