/* Options: Date: 2025-10-13 19:32:21 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SyncCompanyMembers.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/mailchimp/member/company/sync", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class SyncCompanyMembers implements IConvertible, IPut { /** * Should we delete emails that do not exist in BokaMera. */ // @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") bool? DeleteNonExisting; /** * Determines if it is a test user */ // @ApiMember(Description="Determines if it is a test user") bool? Test; /** * Determines if it sync was executed manually by click in superAdmin */ // @ApiMember(Description="Determines if it sync was executed manually by click in superAdmin") bool? Manual; /** * The company id of member of which members you want to sync. */ // @ApiMember(Description="The company id of member of which members you want to sync.") String? MemberCompanyId; SyncCompanyMembers({this.DeleteNonExisting,this.Test,this.Manual,this.MemberCompanyId}); SyncCompanyMembers.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DeleteNonExisting = json['DeleteNonExisting']; Test = json['Test']; Manual = json['Manual']; MemberCompanyId = json['MemberCompanyId']; return this; } Map toJson() => { 'DeleteNonExisting': DeleteNonExisting, 'Test': Test, 'Manual': Manual, 'MemberCompanyId': MemberCompanyId }; getTypeName() => "SyncCompanyMembers"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'SyncCompanyMembers': TypeInfo(TypeOf.Class, create:() => SyncCompanyMembers()), });