/* Options: Date: 2025-02-05 06:50:42 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: ViewUserGetUsers.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route("/api/Query/UserGetUsers") @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="UserGetUsers") public static class ViewUserGetUsers extends QueryDb implements IReturn> { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer Offset = null; @DataMember(Order=2) public Integer Total = null; @DataMember(Order=3) public ArrayList Results = null; @DataMember(Order=4) public HashMap Meta = null; @DataMember(Order=5) public ResponseStatus ResponseStatus = null; public Integer getOffset() { return Offset; } public QueryResponse setOffset(Integer value) { this.Offset = value; return this; } public Integer getTotal() { return Total; } public QueryResponse setTotal(Integer value) { this.Total = value; return this; } public ArrayList getResults() { return Results; } public QueryResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public QueryResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class QueryDb extends QueryBase { } public static class LossReasonInstance { public Integer LossReasonId = null; public String Reason = null; public Boolean Deleted = null; public Boolean Demo = null; public Boolean Selectable = null; public Integer getLossReasonId() { return LossReasonId; } public LossReasonInstance setLossReasonId(Integer value) { this.LossReasonId = value; return this; } public String getReason() { return Reason; } public LossReasonInstance setReason(String value) { this.Reason = value; return this; } public Boolean isDeleted() { return Deleted; } public LossReasonInstance setDeleted(Boolean value) { this.Deleted = value; return this; } public Boolean isDemo() { return Demo; } public LossReasonInstance setDemo(Boolean value) { this.Demo = value; return this; } public Boolean isSelectable() { return Selectable; } public LossReasonInstance setSelectable(Boolean value) { this.Selectable = value; return this; } } public static class MemberInstance { public Integer MemberId = null; public Integer MemberType = null; public String MembershipNumber = null; public String CardNumber = null; public String CompanyName = null; public String Surname = null; public String Forenames = null; public String Title = null; public Integer Gender = null; public Date DateOfBirth = null; public String Address1 = null; public String Address2 = null; public String City = null; public String County = null; public String Postcode = null; public String HomePhone = null; public String MobilePhone = null; public String EmailAddress = null; public Boolean EmailOptOut = null; public Boolean SmsOptOut = null; public Boolean PhoneOptOut = null; public Boolean LetterOptOut = null; public String DirectDebitAccountHolder = null; public String DirectDebitAccountNumber = null; public String DirectDebitSortCode = null; public Date JoinedDate = null; public String DirectDebitBankAddress = null; public String FullName = null; public String ExternalReference = null; public byte[] Photo = null; public Date PhotoModifiedDate = null; public String Notes = null; public Boolean Deleted = null; public Boolean Demo = null; public Boolean UseExternalStatus = null; public Integer ExternalStatus = null; public String FreeText = null; public UUID MemberKey = null; public BigDecimal Balance = null; public BigDecimal CreditLimit = null; public Date CreatedDate = null; public Date ModifiedDate = null; public Date DeletedDate = null; public Integer ExternalSource = null; public BigDecimal RetentionMetric = null; public BigDecimal MonthlyAttendanceFrequency = null; public Integer AssignedToUserId = null; public Integer CreatedByUserId = null; public Integer DeletedByUserId = null; public LossReasonInstance LossReason = null; @References(LossReasonInstance.class) public Integer LossReasonId = null; public Integer WonOrLost = null; public Date WonOrLostDate = null; public Boolean GiftAidPermission = null; public Boolean PhotoPermission = null; public Boolean FirstAidPermission = null; public String EmergencyContact = null; public UserInstance WonOrLostByUser = null; @References(UserInstance.class) public Integer WonOrLostByUserId = null; public Date AgreedToTerms = null; public Boolean OnlineBookingBanned = null; public String Country = null; public Date FingerprintEnrolled = null; public BigDecimal LastPaymentAmount = null; public String Pin = null; public Integer ProspectingPoints = null; public Integer AchievementPoints = null; public String ParentForenames = null; public String ParentSurname = null; public Integer getMemberId() { return MemberId; } public MemberInstance setMemberId(Integer value) { this.MemberId = value; return this; } public Integer getMemberType() { return MemberType; } public MemberInstance setMemberType(Integer value) { this.MemberType = value; return this; } public String getMembershipNumber() { return MembershipNumber; } public MemberInstance setMembershipNumber(String value) { this.MembershipNumber = value; return this; } public String getCardNumber() { return CardNumber; } public MemberInstance setCardNumber(String value) { this.CardNumber = value; return this; } public String getCompanyName() { return CompanyName; } public MemberInstance setCompanyName(String value) { this.CompanyName = value; return this; } public String getSurname() { return Surname; } public MemberInstance setSurname(String value) { this.Surname = value; return this; } public String getForenames() { return Forenames; } public MemberInstance setForenames(String value) { this.Forenames = value; return this; } public String getTitle() { return Title; } public MemberInstance setTitle(String value) { this.Title = value; return this; } public Integer getGender() { return Gender; } public MemberInstance setGender(Integer value) { this.Gender = value; return this; } public Date getDateOfBirth() { return DateOfBirth; } public MemberInstance setDateOfBirth(Date value) { this.DateOfBirth = value; return this; } public String getAddress1() { return Address1; } public MemberInstance setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public MemberInstance setAddress2(String value) { this.Address2 = value; return this; } public String getCity() { return City; } public MemberInstance setCity(String value) { this.City = value; return this; } public String getCounty() { return County; } public MemberInstance setCounty(String value) { this.County = value; return this; } public String getPostcode() { return Postcode; } public MemberInstance setPostcode(String value) { this.Postcode = value; return this; } public String getHomePhone() { return HomePhone; } public MemberInstance setHomePhone(String value) { this.HomePhone = value; return this; } public String getMobilePhone() { return MobilePhone; } public MemberInstance setMobilePhone(String value) { this.MobilePhone = value; return this; } public String getEmailAddress() { return EmailAddress; } public MemberInstance setEmailAddress(String value) { this.EmailAddress = value; return this; } public Boolean isEmailOptOut() { return EmailOptOut; } public MemberInstance setEmailOptOut(Boolean value) { this.EmailOptOut = value; return this; } public Boolean isSmsOptOut() { return SmsOptOut; } public MemberInstance setSmsOptOut(Boolean value) { this.SmsOptOut = value; return this; } public Boolean isPhoneOptOut() { return PhoneOptOut; } public MemberInstance setPhoneOptOut(Boolean value) { this.PhoneOptOut = value; return this; } public Boolean isLetterOptOut() { return LetterOptOut; } public MemberInstance setLetterOptOut(Boolean value) { this.LetterOptOut = value; return this; } public String getDirectDebitAccountHolder() { return DirectDebitAccountHolder; } public MemberInstance setDirectDebitAccountHolder(String value) { this.DirectDebitAccountHolder = value; return this; } public String getDirectDebitAccountNumber() { return DirectDebitAccountNumber; } public MemberInstance setDirectDebitAccountNumber(String value) { this.DirectDebitAccountNumber = value; return this; } public String getDirectDebitSortCode() { return DirectDebitSortCode; } public MemberInstance setDirectDebitSortCode(String value) { this.DirectDebitSortCode = value; return this; } public Date getJoinedDate() { return JoinedDate; } public MemberInstance setJoinedDate(Date value) { this.JoinedDate = value; return this; } public String getDirectDebitBankAddress() { return DirectDebitBankAddress; } public MemberInstance setDirectDebitBankAddress(String value) { this.DirectDebitBankAddress = value; return this; } public String getFullName() { return FullName; } public MemberInstance setFullName(String value) { this.FullName = value; return this; } public String getExternalReference() { return ExternalReference; } public MemberInstance setExternalReference(String value) { this.ExternalReference = value; return this; } public byte[] getPhoto() { return Photo; } public MemberInstance setPhoto(byte[] value) { this.Photo = value; return this; } public Date getPhotoModifiedDate() { return PhotoModifiedDate; } public MemberInstance setPhotoModifiedDate(Date value) { this.PhotoModifiedDate = value; return this; } public String getNotes() { return Notes; } public MemberInstance setNotes(String value) { this.Notes = value; return this; } public Boolean isDeleted() { return Deleted; } public MemberInstance setDeleted(Boolean value) { this.Deleted = value; return this; } public Boolean isDemo() { return Demo; } public MemberInstance setDemo(Boolean value) { this.Demo = value; return this; } public Boolean isUseExternalStatus() { return UseExternalStatus; } public MemberInstance setUseExternalStatus(Boolean value) { this.UseExternalStatus = value; return this; } public Integer getExternalStatus() { return ExternalStatus; } public MemberInstance setExternalStatus(Integer value) { this.ExternalStatus = value; return this; } public String getFreeText() { return FreeText; } public MemberInstance setFreeText(String value) { this.FreeText = value; return this; } public UUID getMemberKey() { return MemberKey; } public MemberInstance setMemberKey(UUID value) { this.MemberKey = value; return this; } public BigDecimal getBalance() { return Balance; } public MemberInstance setBalance(BigDecimal value) { this.Balance = value; return this; } public BigDecimal getCreditLimit() { return CreditLimit; } public MemberInstance setCreditLimit(BigDecimal value) { this.CreditLimit = value; return this; } public Date getCreatedDate() { return CreatedDate; } public MemberInstance setCreatedDate(Date value) { this.CreatedDate = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public MemberInstance setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Date getDeletedDate() { return DeletedDate; } public MemberInstance setDeletedDate(Date value) { this.DeletedDate = value; return this; } public Integer getExternalSource() { return ExternalSource; } public MemberInstance setExternalSource(Integer value) { this.ExternalSource = value; return this; } public BigDecimal getRetentionMetric() { return RetentionMetric; } public MemberInstance setRetentionMetric(BigDecimal value) { this.RetentionMetric = value; return this; } public BigDecimal getMonthlyAttendanceFrequency() { return MonthlyAttendanceFrequency; } public MemberInstance setMonthlyAttendanceFrequency(BigDecimal value) { this.MonthlyAttendanceFrequency = value; return this; } public Integer getAssignedToUserId() { return AssignedToUserId; } public MemberInstance setAssignedToUserId(Integer value) { this.AssignedToUserId = value; return this; } public Integer getCreatedByUserId() { return CreatedByUserId; } public MemberInstance setCreatedByUserId(Integer value) { this.CreatedByUserId = value; return this; } public Integer getDeletedByUserId() { return DeletedByUserId; } public MemberInstance setDeletedByUserId(Integer value) { this.DeletedByUserId = value; return this; } public LossReasonInstance getLossReason() { return LossReason; } public MemberInstance setLossReason(LossReasonInstance value) { this.LossReason = value; return this; } public Integer getLossReasonId() { return LossReasonId; } public MemberInstance setLossReasonId(Integer value) { this.LossReasonId = value; return this; } public Integer getWonOrLost() { return WonOrLost; } public MemberInstance setWonOrLost(Integer value) { this.WonOrLost = value; return this; } public Date getWonOrLostDate() { return WonOrLostDate; } public MemberInstance setWonOrLostDate(Date value) { this.WonOrLostDate = value; return this; } public Boolean isGiftAidPermission() { return GiftAidPermission; } public MemberInstance setGiftAidPermission(Boolean value) { this.GiftAidPermission = value; return this; } public Boolean isPhotoPermission() { return PhotoPermission; } public MemberInstance setPhotoPermission(Boolean value) { this.PhotoPermission = value; return this; } public Boolean isFirstAidPermission() { return FirstAidPermission; } public MemberInstance setFirstAidPermission(Boolean value) { this.FirstAidPermission = value; return this; } public String getEmergencyContact() { return EmergencyContact; } public MemberInstance setEmergencyContact(String value) { this.EmergencyContact = value; return this; } public UserInstance getWonOrLostByUser() { return WonOrLostByUser; } public MemberInstance setWonOrLostByUser(UserInstance value) { this.WonOrLostByUser = value; return this; } public Integer getWonOrLostByUserId() { return WonOrLostByUserId; } public MemberInstance setWonOrLostByUserId(Integer value) { this.WonOrLostByUserId = value; return this; } public Date getAgreedToTerms() { return AgreedToTerms; } public MemberInstance setAgreedToTerms(Date value) { this.AgreedToTerms = value; return this; } public Boolean isOnlineBookingBanned() { return OnlineBookingBanned; } public MemberInstance setOnlineBookingBanned(Boolean value) { this.OnlineBookingBanned = value; return this; } public String getCountry() { return Country; } public MemberInstance setCountry(String value) { this.Country = value; return this; } public Date getFingerprintEnrolled() { return FingerprintEnrolled; } public MemberInstance setFingerprintEnrolled(Date value) { this.FingerprintEnrolled = value; return this; } public BigDecimal getLastPaymentAmount() { return LastPaymentAmount; } public MemberInstance setLastPaymentAmount(BigDecimal value) { this.LastPaymentAmount = value; return this; } public String getPin() { return Pin; } public MemberInstance setPin(String value) { this.Pin = value; return this; } public Integer getProspectingPoints() { return ProspectingPoints; } public MemberInstance setProspectingPoints(Integer value) { this.ProspectingPoints = value; return this; } public Integer getAchievementPoints() { return AchievementPoints; } public MemberInstance setAchievementPoints(Integer value) { this.AchievementPoints = value; return this; } public String getParentForenames() { return ParentForenames; } public MemberInstance setParentForenames(String value) { this.ParentForenames = value; return this; } public String getParentSurname() { return ParentSurname; } public MemberInstance setParentSurname(String value) { this.ParentSurname = value; return this; } } public static class UserInstance { public Integer UserId = null; public String UserName = null; public String Name = null; public String Email = null; public String MobilePhone = null; public Boolean Enabled = null; public Date LastLogin = null; public Date Created = null; public Boolean Training = null; public Boolean Deleted = null; public Integer CoursesCompleted = null; public Boolean DisplayHomeNotification = null; public Boolean TwoFactorEnabled = null; public Boolean EmailConfirmed = null; public Boolean MobilePhoneConfirmed = null; public Boolean Notifications = null; public Date ChangePassword = null; public Date Activated = null; public Integer getUserId() { return UserId; } public UserInstance setUserId(Integer value) { this.UserId = value; return this; } public String getUserName() { return UserName; } public UserInstance setUserName(String value) { this.UserName = value; return this; } public String getName() { return Name; } public UserInstance setName(String value) { this.Name = value; return this; } public String getEmail() { return Email; } public UserInstance setEmail(String value) { this.Email = value; return this; } public String getMobilePhone() { return MobilePhone; } public UserInstance setMobilePhone(String value) { this.MobilePhone = value; return this; } public Boolean isEnabled() { return Enabled; } public UserInstance setEnabled(Boolean value) { this.Enabled = value; return this; } public Date getLastLogin() { return LastLogin; } public UserInstance setLastLogin(Date value) { this.LastLogin = value; return this; } public Date getCreated() { return Created; } public UserInstance setCreated(Date value) { this.Created = value; return this; } public Boolean isTraining() { return Training; } public UserInstance setTraining(Boolean value) { this.Training = value; return this; } public Boolean isDeleted() { return Deleted; } public UserInstance setDeleted(Boolean value) { this.Deleted = value; return this; } public Integer getCoursesCompleted() { return CoursesCompleted; } public UserInstance setCoursesCompleted(Integer value) { this.CoursesCompleted = value; return this; } public Boolean isDisplayHomeNotification() { return DisplayHomeNotification; } public UserInstance setDisplayHomeNotification(Boolean value) { this.DisplayHomeNotification = value; return this; } public Boolean isTwoFactorEnabled() { return TwoFactorEnabled; } public UserInstance setTwoFactorEnabled(Boolean value) { this.TwoFactorEnabled = value; return this; } public Boolean isEmailConfirmed() { return EmailConfirmed; } public UserInstance setEmailConfirmed(Boolean value) { this.EmailConfirmed = value; return this; } public Boolean isMobilePhoneConfirmed() { return MobilePhoneConfirmed; } public UserInstance setMobilePhoneConfirmed(Boolean value) { this.MobilePhoneConfirmed = value; return this; } public Boolean isNotifications() { return Notifications; } public UserInstance setNotifications(Boolean value) { this.Notifications = value; return this; } public Date getChangePassword() { return ChangePassword; } public UserInstance setChangePassword(Date value) { this.ChangePassword = value; return this; } public Date getActivated() { return Activated; } public UserInstance setActivated(Date value) { this.Activated = value; return this; } } public static class UserGetUsersInstance { public UserInstance User = null; @References(UserInstance.class) public Integer UserId = null; public String UserName = null; public String Name = null; public String Email = null; public String MobilePhone = null; public Boolean Enabled = null; public Date LastLogin = null; public Date Created = null; public Boolean Training = null; public Boolean Deleted = null; public Integer CoursesCompleted = null; public Boolean DisplayHomeNotification = null; public Boolean TwoFactorEnabled = null; public Boolean EmailConfirmed = null; public Boolean MobilePhoneConfirmed = null; public Boolean Notifications = null; public Date ChangePassword = null; public Date Activated = null; public MemberInstance Member = null; @References(MemberInstance.class) public Integer MemberId = null; public Integer ParentBranchId = null; public String Domain = null; public String Identity = null; public String BranchName = null; public UUID BranchKey = null; public String PublishableKey = null; public String SecretKey = null; public UserInstance getUser() { return User; } public UserGetUsersInstance setUser(UserInstance value) { this.User = value; return this; } public Integer getUserId() { return UserId; } public UserGetUsersInstance setUserId(Integer value) { this.UserId = value; return this; } public String getUserName() { return UserName; } public UserGetUsersInstance setUserName(String value) { this.UserName = value; return this; } public String getName() { return Name; } public UserGetUsersInstance setName(String value) { this.Name = value; return this; } public String getEmail() { return Email; } public UserGetUsersInstance setEmail(String value) { this.Email = value; return this; } public String getMobilePhone() { return MobilePhone; } public UserGetUsersInstance setMobilePhone(String value) { this.MobilePhone = value; return this; } public Boolean isEnabled() { return Enabled; } public UserGetUsersInstance setEnabled(Boolean value) { this.Enabled = value; return this; } public Date getLastLogin() { return LastLogin; } public UserGetUsersInstance setLastLogin(Date value) { this.LastLogin = value; return this; } public Date getCreated() { return Created; } public UserGetUsersInstance setCreated(Date value) { this.Created = value; return this; } public Boolean isTraining() { return Training; } public UserGetUsersInstance setTraining(Boolean value) { this.Training = value; return this; } public Boolean isDeleted() { return Deleted; } public UserGetUsersInstance setDeleted(Boolean value) { this.Deleted = value; return this; } public Integer getCoursesCompleted() { return CoursesCompleted; } public UserGetUsersInstance setCoursesCompleted(Integer value) { this.CoursesCompleted = value; return this; } public Boolean isDisplayHomeNotification() { return DisplayHomeNotification; } public UserGetUsersInstance setDisplayHomeNotification(Boolean value) { this.DisplayHomeNotification = value; return this; } public Boolean isTwoFactorEnabled() { return TwoFactorEnabled; } public UserGetUsersInstance setTwoFactorEnabled(Boolean value) { this.TwoFactorEnabled = value; return this; } public Boolean isEmailConfirmed() { return EmailConfirmed; } public UserGetUsersInstance setEmailConfirmed(Boolean value) { this.EmailConfirmed = value; return this; } public Boolean isMobilePhoneConfirmed() { return MobilePhoneConfirmed; } public UserGetUsersInstance setMobilePhoneConfirmed(Boolean value) { this.MobilePhoneConfirmed = value; return this; } public Boolean isNotifications() { return Notifications; } public UserGetUsersInstance setNotifications(Boolean value) { this.Notifications = value; return this; } public Date getChangePassword() { return ChangePassword; } public UserGetUsersInstance setChangePassword(Date value) { this.ChangePassword = value; return this; } public Date getActivated() { return Activated; } public UserGetUsersInstance setActivated(Date value) { this.Activated = value; return this; } public MemberInstance getMember() { return Member; } public UserGetUsersInstance setMember(MemberInstance value) { this.Member = value; return this; } public Integer getMemberId() { return MemberId; } public UserGetUsersInstance setMemberId(Integer value) { this.MemberId = value; return this; } public Integer getParentBranchId() { return ParentBranchId; } public UserGetUsersInstance setParentBranchId(Integer value) { this.ParentBranchId = value; return this; } public String getDomain() { return Domain; } public UserGetUsersInstance setDomain(String value) { this.Domain = value; return this; } public String getIdentity() { return Identity; } public UserGetUsersInstance setIdentity(String value) { this.Identity = value; return this; } public String getBranchName() { return BranchName; } public UserGetUsersInstance setBranchName(String value) { this.BranchName = value; return this; } public UUID getBranchKey() { return BranchKey; } public UserGetUsersInstance setBranchKey(UUID value) { this.BranchKey = value; return this; } public String getPublishableKey() { return PublishableKey; } public UserGetUsersInstance setPublishableKey(String value) { this.PublishableKey = value; return this; } public String getSecretKey() { return SecretKey; } public UserGetUsersInstance setSecretKey(String value) { this.SecretKey = value; return this; } } @DataContract public static class QueryBase { @DataMember(Order=1) public Integer Skip = null; @DataMember(Order=2) public Integer Take = null; @DataMember(Order=3) public String OrderBy = null; @DataMember(Order=4) public String OrderByDesc = null; @DataMember(Order=5) public String Include = null; @DataMember(Order=6) public String Fields = null; @DataMember(Order=7) public HashMap Meta = null; public Integer getSkip() { return Skip; } public QueryBase setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public QueryBase setTake(Integer value) { this.Take = value; return this; } public String getOrderBy() { return OrderBy; } public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; } public String getOrderByDesc() { return OrderByDesc; } public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; } public String getInclude() { return Include; } public QueryBase setInclude(String value) { this.Include = value; return this; } public String getFields() { return Fields; } public QueryBase setFields(String value) { this.Fields = value; return this; } public HashMap getMeta() { return Meta; } public QueryBase setMeta(HashMap value) { this.Meta = value; return this; } } }