/* Options: Date: 2024-12-22 12:57:54 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: UpdateOrganizationMember.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UpdateOrganizationMemberResponse implements IConvertible { ResponseStatus? responseStatus; UpdateOrganizationMemberResponse({this.responseStatus}); UpdateOrganizationMemberResponse.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() => "UpdateOrganizationMemberResponse"; TypeContext? context = _ctx; } // @Route("/orgs/{OrganizationId}/members/{Id}", "PUT") class UpdateOrganizationMember implements IReturn, IPut, IConvertible { int? organizationId; int? userId; bool? isOwner; bool? isModerator; bool? denyPosts; bool? denyComments; bool? denyAll; String? notes; UpdateOrganizationMember({this.organizationId,this.userId,this.isOwner,this.isModerator,this.denyPosts,this.denyComments,this.denyAll,this.notes}); UpdateOrganizationMember.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; userId = json['userId']; isOwner = json['isOwner']; isModerator = json['isModerator']; denyPosts = json['denyPosts']; denyComments = json['denyComments']; denyAll = json['denyAll']; notes = json['notes']; return this; } Map toJson() => { 'organizationId': organizationId, 'userId': userId, 'isOwner': isOwner, 'isModerator': isModerator, 'denyPosts': denyPosts, 'denyComments': denyComments, 'denyAll': denyAll, 'notes': notes }; createResponse() => UpdateOrganizationMemberResponse(); getResponseTypeName() => "UpdateOrganizationMemberResponse"; getTypeName() => "UpdateOrganizationMember"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'UpdateOrganizationMemberResponse': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationMemberResponse()), 'UpdateOrganizationMember': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationMember()), });