/* Options: Date: 2024-12-15 19:40:13 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RemoveOrganisationMemberRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class DeleteOperationUnTenanted implements IDelete { DeleteOperationUnTenanted(); DeleteOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DeleteOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class Organisation implements IIdentifiableResource, IConvertible { String? displayName; List? owners; bool? isDefault; String? id; Organisation({this.displayName,this.owners,this.isDefault,this.id}); Organisation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { displayName = json['displayName']; owners = JsonConverters.fromJson(json['owners'],'List',context!); isDefault = json['isDefault']; id = json['id']; return this; } Map toJson() => { 'displayName': displayName, 'owners': JsonConverters.toJson(owners,'List',context!), 'isDefault': isDefault, 'id': id }; getTypeName() => "Organisation"; TypeContext? context = _ctx; } abstract class IIdentifiableResource { String? id; } class RemoveOrganisationMemberResponse implements IConvertible { ResponseStatus? responseStatus; Organisation? organisation; RemoveOrganisationMemberResponse({this.responseStatus,this.organisation}); RemoveOrganisationMemberResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); organisation = JsonConverters.fromJson(json['organisation'],'Organisation',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'organisation': JsonConverters.toJson(organisation,'Organisation',context!) }; getTypeName() => "RemoveOrganisationMemberResponse"; TypeContext? context = _ctx; } // @Route("/organisations/{Id}/members/{UserAccountId}", "DELETE") class RemoveOrganisationMemberRequest extends DeleteOperationUnTenanted implements IReturn, IConvertible { String? id; String? userAccountId; RemoveOrganisationMemberRequest({this.id,this.userAccountId}); RemoveOrganisationMemberRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; userAccountId = json['userAccountId']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id, 'userAccountId': userAccountId }); createResponse() => RemoveOrganisationMemberResponse(); getResponseTypeName() => "RemoveOrganisationMemberResponse"; getTypeName() => "RemoveOrganisationMemberRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'DeleteOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'Organisation': TypeInfo(TypeOf.Class, create:() => Organisation()), 'IIdentifiableResource': TypeInfo(TypeOf.Interface), 'RemoveOrganisationMemberResponse': TypeInfo(TypeOf.Class, create:() => RemoveOrganisationMemberResponse()), 'RemoveOrganisationMemberRequest': TypeInfo(TypeOf.Class, create:() => RemoveOrganisationMemberRequest()), });