/* Options: Date: 2025-10-13 14:52:09 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: SyncCompanyCustomerMembers.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/mailchimp/member/company/customer/sync", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class SyncCompanyCustomerMembers implements ICompany, IConvertible, IPut { /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") String? CompanyId; /** * Should we delete emails that do not exist in BokaMera. */ // @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") bool? DeleteNonExisting; /** * Should we target only subscribed to newsletter customers. */ // @ApiMember(Description="Should we target only subscribed to newsletter customers.") bool? OnlySubscribed; /** * Determines if it is a test user */ // @ApiMember(Description="Determines if it is a test user") bool? Test; SyncCompanyCustomerMembers({this.CompanyId,this.DeleteNonExisting,this.OnlySubscribed,this.Test}); SyncCompanyCustomerMembers.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; DeleteNonExisting = json['DeleteNonExisting']; OnlySubscribed = json['OnlySubscribed']; Test = json['Test']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'DeleteNonExisting': DeleteNonExisting, 'OnlySubscribed': OnlySubscribed, 'Test': Test }; getTypeName() => "SyncCompanyCustomerMembers"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'SyncCompanyCustomerMembers': TypeInfo(TypeOf.Class, create:() => SyncCompanyCustomerMembers()), });