/* Options: Date: 2025-01-18 06:49:10 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SyncCompanyCustomerMembers.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/mailchimp/member/company/customer/sync", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) public static class SyncCompanyCustomerMembers implements IReturn, ICompany { /** * 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.") public UUID CompanyId = null; /** * Should we delete emails that do not exist in BokaMera. */ @ApiMember(Description="Should we delete emails that do not exist in BokaMera.") public Boolean DeleteNonExisting = null; /** * Should we target only subscribed to newsletter customers. */ @ApiMember(Description="Should we target only subscribed to newsletter customers.") public Boolean OnlySubscribed = null; /** * Determines if it is a test user */ @ApiMember(Description="Determines if it is a test user") public Boolean Test = null; public UUID getCompanyId() { return CompanyId; } public SyncCompanyCustomerMembers setCompanyId(UUID value) { this.CompanyId = value; return this; } public Boolean isDeleteNonExisting() { return DeleteNonExisting; } public SyncCompanyCustomerMembers setDeleteNonExisting(Boolean value) { this.DeleteNonExisting = value; return this; } public Boolean isOnlySubscribed() { return OnlySubscribed; } public SyncCompanyCustomerMembers setOnlySubscribed(Boolean value) { this.OnlySubscribed = value; return this; } public Boolean isTest() { return Test; } public SyncCompanyCustomerMembers setTest(Boolean value) { this.Test = value; return this; } private static Object responseType = SyncMembersResponse.class; public Object getResponseType() { return responseType; } } public static class SyncMembersResponse { public ArrayList FailedSyncedMembers = null; public ArrayList SuccessSyncedMembers = null; public ArrayList getFailedSyncedMembers() { return FailedSyncedMembers; } public SyncMembersResponse setFailedSyncedMembers(ArrayList value) { this.FailedSyncedMembers = value; return this; } public ArrayList getSuccessSyncedMembers() { return SuccessSyncedMembers; } public SyncMembersResponse setSuccessSyncedMembers(ArrayList value) { this.SuccessSyncedMembers = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class MemberResponse { public String EmailAddress = null; public String FullName = null; public ArrayList Tags = null; public String getEmailAddress() { return EmailAddress; } public MemberResponse setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getFullName() { return FullName; } public MemberResponse setFullName(String value) { this.FullName = value; return this; } public ArrayList getTags() { return Tags; } public MemberResponse setTags(ArrayList value) { this.Tags = value; return this; } } public static class MemberTag { public Integer Id = null; public String Name = null; public Date DateAdded = null; public String Status = null; public Integer getId() { return Id; } public MemberTag setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public MemberTag setName(String value) { this.Name = value; return this; } public Date getDateAdded() { return DateAdded; } public MemberTag setDateAdded(Date value) { this.DateAdded = value; return this; } public String getStatus() { return Status; } public MemberTag setStatus(String value) { this.Status = value; return this; } } }