/* Options: Date: 2025-01-18 08:00:04 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: SyncCompanyMembers.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.IO; using BokaMera.API.ServiceModel.Dtos; using MailChimp.Net.Models; namespace BokaMera.API.ServiceModel.Dtos { public partial class MemberResponse { public MemberResponse() { Tags = new List{}; } public virtual string EmailAddress { get; set; } public virtual string FullName { get; set; } public virtual List Tags { get; set; } } [Route("/mailchimp/member/company/sync", "PUT")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] public partial class SyncCompanyMembers : IReturn { /// ///Should we delete emails that do not exist in BokaMera. /// [ApiMember(Description="Should we delete emails that do not exist in BokaMera.")] public virtual bool DeleteNonExisting { get; set; } /// ///Determines if it is a test user /// [ApiMember(Description="Determines if it is a test user")] public virtual bool Test { get; set; } /// ///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.")] public virtual Guid? MemberCompanyId { get; set; } } public partial class SyncMembersResponse { public SyncMembersResponse() { FailedSyncedMembers = new List{}; SuccessSyncedMembers = new List{}; } public virtual List FailedSyncedMembers { get; set; } public virtual List SuccessSyncedMembers { get; set; } } } namespace MailChimp.Net.Models { public partial class MemberTag { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual DateTime? DateAdded { get; set; } public virtual string Status { get; set; } } }