/* Options: Date: 2025-04-04 17:51:06 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: MemberService.GetMemberByKeyRequest.* //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="/api/Member/GetMemberByKey", Verbs="POST,GET") public static class GetMemberByKeyRequest implements IReturn { public UUID MemberKey = null; public UUID getMemberKey() { return MemberKey; } public GetMemberByKeyRequest setMemberKey(UUID value) { this.MemberKey = value; return this; } private static Object responseType = Member.class; public Object getResponseType() { return responseType; } } public static class Member { public Integer MemberId = null; public Integer BranchId = null; public String MembershipNumber = null; public Date JoinedDate = null; public String CardNumber = null; public String CompanyName = null; public Gender Gender = null; public String GenderName = null; public String FullName = null; public String Title = null; public String Forenames = null; public String Surname = null; public String Address1 = null; public String Address2 = null; public String County = null; public String City = null; public String HomePhone = null; public String MobilePhone = null; public String EmailAddress = null; public String ExternalReference = null; public String Country = null; public Boolean EmailOptOut = null; public Boolean SmsOptOut = null; public Boolean PhoneOptOut = null; public Boolean LetterOptOut = null; public Boolean UseExternalStatus = null; public ExternalStatus ExternalStatus = null; public Date DateOfBirth = null; public String Postcode = null; public String Notes = null; public Date StartDate = null; public Date Expires = null; public Integer SessionsRemaining = null; public Date ContractEndDate = null; public Integer DaysRemaining = null; public String MembershipType = null; public Date LastAttendance = null; public Integer Attendance = null; public MemberType MemberType = null; public Integer RecurringPayments = null; public Integer OverduePayments = null; public Integer AttendanceThisWeek = null; public BigDecimal retentionMetric = null; public BigDecimal MonthlyAttendanceFrequency = null; public BigDecimal TotalProductSpend = null; public String JournalEntry = null; public BigDecimal Balance = null; public BigDecimal CreditLimit = null; public UUID guid = null; public MembershipState MembershipState = null; public Integer BookingsAttended = null; public Date DateOfLastBooking = null; public Date PhotoModifiedDate = null; public Date CreatedDate = null; public Date ModifiedDate = null; public Date DeletedDate = null; public UUID MemberKey = null; public Integer CreatedByUserId = null; public Integer AssignedToUserId = null; public Integer DeletedByUserId = null; public Boolean GiftAidPermission = null; public Boolean FirstAidPermission = null; public Boolean PhotoPermission = null; public String EmergencyContact = null; public Integer WonOrLost = null; public Date WonOrLostDate = null; public Integer WonOrLostByUserId = null; public String LicenseReference = null; public Date LicenseStartDate = null; public Date LicenseRenewalDate = null; public Date AgreedToTerms = null; public Boolean OnlineBookingBanned = null; public Integer ChildBranchId = null; public String ChildBranch = null; public Integer ProspectingPoints = null; public Integer AchievementPoints = null; public String ParentForenames = null; public String ParentSurname = null; public Integer GradingReadiness = null; public String DirectDebitAccountHolder = null; public String DirectDebitAccountNumber = null; public String DirectDebitSortCode = null; public String DirectDebitBankAddress = null; public Date InvitedDate = null; public String Grade = null; public String ColourLeft = null; public String ColourRight = null; public Integer SessionsToComplete = null; public String UniqueId = null; public String PreferenceLink = null; public String MarketingAllLink = null; public String MarketingNoneLink = null; public String AppRegistrationId = null; public String AppRegistrationLink = null; public String AppQrImageLink = null; public String CardNumberQrImageLink = null; public String PhotoThumbnailLink = null; public MessageTemplateContentType ContentTypesOptIn = null; public MessageTemplateType TemplateTypesOptIn = null; public Boolean CanEmail = null; public Boolean CanDirectMail = null; public Boolean CanSMS = null; public Boolean CanTelephone = null; public Boolean NoMarketingConsent = null; public Boolean CanSendInvite = null; public UUID BranchKey = null; public String SageLink = null; public Date SageLastPaymentDate = null; public Date SageFirstPaymentDate = null; public BigDecimal SageLastPaymentAmount = null; public BigDecimal SageFirstPaymentAmount = null; public BigDecimal SageTotalPaid = null; public Integer getMemberId() { return MemberId; } public Member setMemberId(Integer value) { this.MemberId = value; return this; } public Integer getBranchId() { return BranchId; } public Member setBranchId(Integer value) { this.BranchId = value; return this; } public String getMembershipNumber() { return MembershipNumber; } public Member setMembershipNumber(String value) { this.MembershipNumber = value; return this; } public Date getJoinedDate() { return JoinedDate; } public Member setJoinedDate(Date value) { this.JoinedDate = value; return this; } public String getCardNumber() { return CardNumber; } public Member setCardNumber(String value) { this.CardNumber = value; return this; } public String getCompanyName() { return CompanyName; } public Member setCompanyName(String value) { this.CompanyName = value; return this; } public Gender getGender() { return Gender; } public Member setGender(Gender value) { this.Gender = value; return this; } public String getGenderName() { return GenderName; } public Member setGenderName(String value) { this.GenderName = value; return this; } public String getFullName() { return FullName; } public Member setFullName(String value) { this.FullName = value; return this; } public String getTitle() { return Title; } public Member setTitle(String value) { this.Title = value; return this; } public String getForenames() { return Forenames; } public Member setForenames(String value) { this.Forenames = value; return this; } public String getSurname() { return Surname; } public Member setSurname(String value) { this.Surname = value; return this; } public String getAddress1() { return Address1; } public Member setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public Member setAddress2(String value) { this.Address2 = value; return this; } public String getCounty() { return County; } public Member setCounty(String value) { this.County = value; return this; } public String getCity() { return City; } public Member setCity(String value) { this.City = value; return this; } public String getHomePhone() { return HomePhone; } public Member setHomePhone(String value) { this.HomePhone = value; return this; } public String getMobilePhone() { return MobilePhone; } public Member setMobilePhone(String value) { this.MobilePhone = value; return this; } public String getEmailAddress() { return EmailAddress; } public Member setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getExternalReference() { return ExternalReference; } public Member setExternalReference(String value) { this.ExternalReference = value; return this; } public String getCountry() { return Country; } public Member setCountry(String value) { this.Country = value; return this; } public Boolean isEmailOptOut() { return EmailOptOut; } public Member setEmailOptOut(Boolean value) { this.EmailOptOut = value; return this; } public Boolean isSmsOptOut() { return SmsOptOut; } public Member setSmsOptOut(Boolean value) { this.SmsOptOut = value; return this; } public Boolean isPhoneOptOut() { return PhoneOptOut; } public Member setPhoneOptOut(Boolean value) { this.PhoneOptOut = value; return this; } public Boolean isLetterOptOut() { return LetterOptOut; } public Member setLetterOptOut(Boolean value) { this.LetterOptOut = value; return this; } public Boolean isUseExternalStatus() { return UseExternalStatus; } public Member setUseExternalStatus(Boolean value) { this.UseExternalStatus = value; return this; } public ExternalStatus getExternalStatus() { return ExternalStatus; } public Member setExternalStatus(ExternalStatus value) { this.ExternalStatus = value; return this; } public Date getDateOfBirth() { return DateOfBirth; } public Member setDateOfBirth(Date value) { this.DateOfBirth = value; return this; } public String getPostcode() { return Postcode; } public Member setPostcode(String value) { this.Postcode = value; return this; } public String getNotes() { return Notes; } public Member setNotes(String value) { this.Notes = value; return this; } public Date getStartDate() { return StartDate; } public Member setStartDate(Date value) { this.StartDate = value; return this; } public Date getExpires() { return Expires; } public Member setExpires(Date value) { this.Expires = value; return this; } public Integer getSessionsRemaining() { return SessionsRemaining; } public Member setSessionsRemaining(Integer value) { this.SessionsRemaining = value; return this; } public Date getContractEndDate() { return ContractEndDate; } public Member setContractEndDate(Date value) { this.ContractEndDate = value; return this; } public Integer getDaysRemaining() { return DaysRemaining; } public Member setDaysRemaining(Integer value) { this.DaysRemaining = value; return this; } public String getMembershipType() { return MembershipType; } public Member setMembershipType(String value) { this.MembershipType = value; return this; } public Date getLastAttendance() { return LastAttendance; } public Member setLastAttendance(Date value) { this.LastAttendance = value; return this; } public Integer getAttendance() { return Attendance; } public Member setAttendance(Integer value) { this.Attendance = value; return this; } public MemberType getMemberType() { return MemberType; } public Member setMemberType(MemberType value) { this.MemberType = value; return this; } public Integer getRecurringPayments() { return RecurringPayments; } public Member setRecurringPayments(Integer value) { this.RecurringPayments = value; return this; } public Integer getOverduePayments() { return OverduePayments; } public Member setOverduePayments(Integer value) { this.OverduePayments = value; return this; } public Integer getAttendanceThisWeek() { return AttendanceThisWeek; } public Member setAttendanceThisWeek(Integer value) { this.AttendanceThisWeek = value; return this; } public BigDecimal getRetentionMetric() { return retentionMetric; } public Member setRetentionMetric(BigDecimal value) { this.retentionMetric = value; return this; } public BigDecimal getMonthlyAttendanceFrequency() { return MonthlyAttendanceFrequency; } public Member setMonthlyAttendanceFrequency(BigDecimal value) { this.MonthlyAttendanceFrequency = value; return this; } public BigDecimal getTotalProductSpend() { return TotalProductSpend; } public Member setTotalProductSpend(BigDecimal value) { this.TotalProductSpend = value; return this; } public String getJournalEntry() { return JournalEntry; } public Member setJournalEntry(String value) { this.JournalEntry = value; return this; } public BigDecimal getBalance() { return Balance; } public Member setBalance(BigDecimal value) { this.Balance = value; return this; } public BigDecimal getCreditLimit() { return CreditLimit; } public Member setCreditLimit(BigDecimal value) { this.CreditLimit = value; return this; } public UUID getGuid() { return guid; } public Member setGuid(UUID value) { this.guid = value; return this; } public MembershipState getMembershipState() { return MembershipState; } public Member setMembershipState(MembershipState value) { this.MembershipState = value; return this; } public Integer getBookingsAttended() { return BookingsAttended; } public Member setBookingsAttended(Integer value) { this.BookingsAttended = value; return this; } public Date getDateOfLastBooking() { return DateOfLastBooking; } public Member setDateOfLastBooking(Date value) { this.DateOfLastBooking = value; return this; } public Date getPhotoModifiedDate() { return PhotoModifiedDate; } public Member setPhotoModifiedDate(Date value) { this.PhotoModifiedDate = value; return this; } public Date getCreatedDate() { return CreatedDate; } public Member setCreatedDate(Date value) { this.CreatedDate = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Member setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Date getDeletedDate() { return DeletedDate; } public Member setDeletedDate(Date value) { this.DeletedDate = value; return this; } public UUID getMemberKey() { return MemberKey; } public Member setMemberKey(UUID value) { this.MemberKey = value; return this; } public Integer getCreatedByUserId() { return CreatedByUserId; } public Member setCreatedByUserId(Integer value) { this.CreatedByUserId = value; return this; } public Integer getAssignedToUserId() { return AssignedToUserId; } public Member setAssignedToUserId(Integer value) { this.AssignedToUserId = value; return this; } public Integer getDeletedByUserId() { return DeletedByUserId; } public Member setDeletedByUserId(Integer value) { this.DeletedByUserId = value; return this; } public Boolean isGiftAidPermission() { return GiftAidPermission; } public Member setGiftAidPermission(Boolean value) { this.GiftAidPermission = value; return this; } public Boolean isFirstAidPermission() { return FirstAidPermission; } public Member setFirstAidPermission(Boolean value) { this.FirstAidPermission = value; return this; } public Boolean isPhotoPermission() { return PhotoPermission; } public Member setPhotoPermission(Boolean value) { this.PhotoPermission = value; return this; } public String getEmergencyContact() { return EmergencyContact; } public Member setEmergencyContact(String value) { this.EmergencyContact = value; return this; } public Integer getWonOrLost() { return WonOrLost; } public Member setWonOrLost(Integer value) { this.WonOrLost = value; return this; } public Date getWonOrLostDate() { return WonOrLostDate; } public Member setWonOrLostDate(Date value) { this.WonOrLostDate = value; return this; } public Integer getWonOrLostByUserId() { return WonOrLostByUserId; } public Member setWonOrLostByUserId(Integer value) { this.WonOrLostByUserId = value; return this; } public String getLicenseReference() { return LicenseReference; } public Member setLicenseReference(String value) { this.LicenseReference = value; return this; } public Date getLicenseStartDate() { return LicenseStartDate; } public Member setLicenseStartDate(Date value) { this.LicenseStartDate = value; return this; } public Date getLicenseRenewalDate() { return LicenseRenewalDate; } public Member setLicenseRenewalDate(Date value) { this.LicenseRenewalDate = value; return this; } public Date getAgreedToTerms() { return AgreedToTerms; } public Member setAgreedToTerms(Date value) { this.AgreedToTerms = value; return this; } public Boolean isOnlineBookingBanned() { return OnlineBookingBanned; } public Member setOnlineBookingBanned(Boolean value) { this.OnlineBookingBanned = value; return this; } public Integer getChildBranchId() { return ChildBranchId; } public Member setChildBranchId(Integer value) { this.ChildBranchId = value; return this; } public String getChildBranch() { return ChildBranch; } public Member setChildBranch(String value) { this.ChildBranch = value; return this; } public Integer getProspectingPoints() { return ProspectingPoints; } public Member setProspectingPoints(Integer value) { this.ProspectingPoints = value; return this; } public Integer getAchievementPoints() { return AchievementPoints; } public Member setAchievementPoints(Integer value) { this.AchievementPoints = value; return this; } public String getParentForenames() { return ParentForenames; } public Member setParentForenames(String value) { this.ParentForenames = value; return this; } public String getParentSurname() { return ParentSurname; } public Member setParentSurname(String value) { this.ParentSurname = value; return this; } public Integer getGradingReadiness() { return GradingReadiness; } public Member setGradingReadiness(Integer value) { this.GradingReadiness = value; return this; } public String getDirectDebitAccountHolder() { return DirectDebitAccountHolder; } public Member setDirectDebitAccountHolder(String value) { this.DirectDebitAccountHolder = value; return this; } public String getDirectDebitAccountNumber() { return DirectDebitAccountNumber; } public Member setDirectDebitAccountNumber(String value) { this.DirectDebitAccountNumber = value; return this; } public String getDirectDebitSortCode() { return DirectDebitSortCode; } public Member setDirectDebitSortCode(String value) { this.DirectDebitSortCode = value; return this; } public String getDirectDebitBankAddress() { return DirectDebitBankAddress; } public Member setDirectDebitBankAddress(String value) { this.DirectDebitBankAddress = value; return this; } public Date getInvitedDate() { return InvitedDate; } public Member setInvitedDate(Date value) { this.InvitedDate = value; return this; } public String getGrade() { return Grade; } public Member setGrade(String value) { this.Grade = value; return this; } public String getColourLeft() { return ColourLeft; } public Member setColourLeft(String value) { this.ColourLeft = value; return this; } public String getColourRight() { return ColourRight; } public Member setColourRight(String value) { this.ColourRight = value; return this; } public Integer getSessionsToComplete() { return SessionsToComplete; } public Member setSessionsToComplete(Integer value) { this.SessionsToComplete = value; return this; } public String getUniqueId() { return UniqueId; } public Member setUniqueId(String value) { this.UniqueId = value; return this; } public String getPreferenceLink() { return PreferenceLink; } public Member setPreferenceLink(String value) { this.PreferenceLink = value; return this; } public String getMarketingAllLink() { return MarketingAllLink; } public Member setMarketingAllLink(String value) { this.MarketingAllLink = value; return this; } public String getMarketingNoneLink() { return MarketingNoneLink; } public Member setMarketingNoneLink(String value) { this.MarketingNoneLink = value; return this; } public String getAppRegistrationId() { return AppRegistrationId; } public Member setAppRegistrationId(String value) { this.AppRegistrationId = value; return this; } public String getAppRegistrationLink() { return AppRegistrationLink; } public Member setAppRegistrationLink(String value) { this.AppRegistrationLink = value; return this; } public String getAppQrImageLink() { return AppQrImageLink; } public Member setAppQrImageLink(String value) { this.AppQrImageLink = value; return this; } public String getCardNumberQrImageLink() { return CardNumberQrImageLink; } public Member setCardNumberQrImageLink(String value) { this.CardNumberQrImageLink = value; return this; } public String getPhotoThumbnailLink() { return PhotoThumbnailLink; } public Member setPhotoThumbnailLink(String value) { this.PhotoThumbnailLink = value; return this; } public MessageTemplateContentType getContentTypesOptIn() { return ContentTypesOptIn; } public Member setContentTypesOptIn(MessageTemplateContentType value) { this.ContentTypesOptIn = value; return this; } public MessageTemplateType getTemplateTypesOptIn() { return TemplateTypesOptIn; } public Member setTemplateTypesOptIn(MessageTemplateType value) { this.TemplateTypesOptIn = value; return this; } public Boolean isCanEmail() { return CanEmail; } public Member setCanEmail(Boolean value) { this.CanEmail = value; return this; } public Boolean isCanDirectMail() { return CanDirectMail; } public Member setCanDirectMail(Boolean value) { this.CanDirectMail = value; return this; } public Boolean isCanSMS() { return CanSMS; } public Member setCanSMS(Boolean value) { this.CanSMS = value; return this; } public Boolean isCanTelephone() { return CanTelephone; } public Member setCanTelephone(Boolean value) { this.CanTelephone = value; return this; } public Boolean isNoMarketingConsent() { return NoMarketingConsent; } public Member setNoMarketingConsent(Boolean value) { this.NoMarketingConsent = value; return this; } public Boolean isCanSendInvite() { return CanSendInvite; } public Member setCanSendInvite(Boolean value) { this.CanSendInvite = value; return this; } public UUID getBranchKey() { return BranchKey; } public Member setBranchKey(UUID value) { this.BranchKey = value; return this; } public String getSageLink() { return SageLink; } public Member setSageLink(String value) { this.SageLink = value; return this; } public Date getSageLastPaymentDate() { return SageLastPaymentDate; } public Member setSageLastPaymentDate(Date value) { this.SageLastPaymentDate = value; return this; } public Date getSageFirstPaymentDate() { return SageFirstPaymentDate; } public Member setSageFirstPaymentDate(Date value) { this.SageFirstPaymentDate = value; return this; } public BigDecimal getSageLastPaymentAmount() { return SageLastPaymentAmount; } public Member setSageLastPaymentAmount(BigDecimal value) { this.SageLastPaymentAmount = value; return this; } public BigDecimal getSageFirstPaymentAmount() { return SageFirstPaymentAmount; } public Member setSageFirstPaymentAmount(BigDecimal value) { this.SageFirstPaymentAmount = value; return this; } public BigDecimal getSageTotalPaid() { return SageTotalPaid; } public Member setSageTotalPaid(BigDecimal value) { this.SageTotalPaid = value; return this; } } public static enum Gender { Unknown, Male, Female, Other, PreferNotToSay; } public static enum ExternalStatus { Off, Active, Pending, CancelledInsideContract, CancelledOutsideContract, WithDebtRecovery, Suspended; } public static enum MemberType { Prospect, Active, Cancelled, Expired, Suspended, ClubCancelled, DropOut; } public static enum MembershipState { Prospect, Active, Expired, Cancelled, PaymentRequired, Suspended; } @Flags() public static enum MessageTemplateContentType { @SerializedName("1") Transactional(1), @SerializedName("2") Marketing(2), @SerializedName("1048576") None(1048576); private final int value; MessageTemplateContentType(final int intValue) { value = intValue; } public int getValue() { return value; } } @Flags() public static enum MessageTemplateType { @SerializedName("1") Sms(1), @SerializedName("2") Email(2), @SerializedName("4") Telephone(4), @SerializedName("8") DirectMail(8), @SerializedName("16") Notification(16), @SerializedName("32") Page(32), @SerializedName("1048576") None(1048576), @SerializedName("2097152") NoConsent(2097152); private final int value; MessageTemplateType(final int intValue) { value = intValue; } public int getValue() { return value; } } }