/* Options: Date: 2025-02-05 14:09:45 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: FindJournal.* //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/Journal") @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Journal") public static class FindJournal 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 JournalInstance { public Integer JournalId = null; public Date JournalDate = null; public String Title = null; public String Comment = null; public Integer MessageType = null; public String UserName = null; public MemberInstance Member = null; @References(MemberInstance.class) public Integer MemberId = null; public MessageInstance Message = null; @References(MessageInstance.class) public Integer MessageId = null; public Date ViewedDate = null; public Boolean Deleted = null; public Boolean Demo = null; public Boolean Permanent = null; public Date alertDate = null; public Integer AssignedToUserId = null; public Boolean Completed = null; public Date CompletedDate = null; public Integer CreatedByUserId = null; public Integer PostponedCount = null; public Boolean SendSMSReminder = null; public Boolean NoShow = null; public Integer getJournalId() { return JournalId; } public JournalInstance setJournalId(Integer value) { this.JournalId = value; return this; } public Date getJournalDate() { return JournalDate; } public JournalInstance setJournalDate(Date value) { this.JournalDate = value; return this; } public String getTitle() { return Title; } public JournalInstance setTitle(String value) { this.Title = value; return this; } public String getComment() { return Comment; } public JournalInstance setComment(String value) { this.Comment = value; return this; } public Integer getMessageType() { return MessageType; } public JournalInstance setMessageType(Integer value) { this.MessageType = value; return this; } public String getUserName() { return UserName; } public JournalInstance setUserName(String value) { this.UserName = value; return this; } public MemberInstance getMember() { return Member; } public JournalInstance setMember(MemberInstance value) { this.Member = value; return this; } public Integer getMemberId() { return MemberId; } public JournalInstance setMemberId(Integer value) { this.MemberId = value; return this; } public MessageInstance getMessage() { return Message; } public JournalInstance setMessage(MessageInstance value) { this.Message = value; return this; } public Integer getMessageId() { return MessageId; } public JournalInstance setMessageId(Integer value) { this.MessageId = value; return this; } public Date getViewedDate() { return ViewedDate; } public JournalInstance setViewedDate(Date value) { this.ViewedDate = value; return this; } public Boolean isDeleted() { return Deleted; } public JournalInstance setDeleted(Boolean value) { this.Deleted = value; return this; } public Boolean isDemo() { return Demo; } public JournalInstance setDemo(Boolean value) { this.Demo = value; return this; } public Boolean isPermanent() { return Permanent; } public JournalInstance setPermanent(Boolean value) { this.Permanent = value; return this; } public Date getAlertDate() { return alertDate; } public JournalInstance setAlertDate(Date value) { this.alertDate = value; return this; } public Integer getAssignedToUserId() { return AssignedToUserId; } public JournalInstance setAssignedToUserId(Integer value) { this.AssignedToUserId = value; return this; } public Boolean isCompleted() { return Completed; } public JournalInstance setCompleted(Boolean value) { this.Completed = value; return this; } public Date getCompletedDate() { return CompletedDate; } public JournalInstance setCompletedDate(Date value) { this.CompletedDate = value; return this; } public Integer getCreatedByUserId() { return CreatedByUserId; } public JournalInstance setCreatedByUserId(Integer value) { this.CreatedByUserId = value; return this; } public Integer getPostponedCount() { return PostponedCount; } public JournalInstance setPostponedCount(Integer value) { this.PostponedCount = value; return this; } public Boolean isSendSMSReminder() { return SendSMSReminder; } public JournalInstance setSendSMSReminder(Boolean value) { this.SendSMSReminder = value; return this; } public Boolean isNoShow() { return NoShow; } public JournalInstance setNoShow(Boolean value) { this.NoShow = value; return this; } } 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 MessageInstance { public Integer MessageId = null; public Date DueDate = null; public Date SentDate = null; public Boolean Processed = null; public Integer Failures = null; public Integer InstanceId = null; public String MessageSid = null; public MessageTemplateInstance MessageTemplate = null; @References(MessageTemplateInstance.class) public Integer MessageTemplateId = null; public Date OpenedDate = null; public Date BouncedDate = null; public Date DeliveredDate = null; public Date UnsubscribedDate = null; public Date SpamReportDate = null; public UserInstance User = null; @References(UserInstance.class) public Integer UserId = null; public Integer InstanceType = null; public Integer getMessageId() { return MessageId; } public MessageInstance setMessageId(Integer value) { this.MessageId = value; return this; } public Date getDueDate() { return DueDate; } public MessageInstance setDueDate(Date value) { this.DueDate = value; return this; } public Date getSentDate() { return SentDate; } public MessageInstance setSentDate(Date value) { this.SentDate = value; return this; } public Boolean isProcessed() { return Processed; } public MessageInstance setProcessed(Boolean value) { this.Processed = value; return this; } public Integer getFailures() { return Failures; } public MessageInstance setFailures(Integer value) { this.Failures = value; return this; } public Integer getInstanceId() { return InstanceId; } public MessageInstance setInstanceId(Integer value) { this.InstanceId = value; return this; } public String getMessageSid() { return MessageSid; } public MessageInstance setMessageSid(String value) { this.MessageSid = value; return this; } public MessageTemplateInstance getMessageTemplate() { return MessageTemplate; } public MessageInstance setMessageTemplate(MessageTemplateInstance value) { this.MessageTemplate = value; return this; } public Integer getMessageTemplateId() { return MessageTemplateId; } public MessageInstance setMessageTemplateId(Integer value) { this.MessageTemplateId = value; return this; } public Date getOpenedDate() { return OpenedDate; } public MessageInstance setOpenedDate(Date value) { this.OpenedDate = value; return this; } public Date getBouncedDate() { return BouncedDate; } public MessageInstance setBouncedDate(Date value) { this.BouncedDate = value; return this; } public Date getDeliveredDate() { return DeliveredDate; } public MessageInstance setDeliveredDate(Date value) { this.DeliveredDate = value; return this; } public Date getUnsubscribedDate() { return UnsubscribedDate; } public MessageInstance setUnsubscribedDate(Date value) { this.UnsubscribedDate = value; return this; } public Date getSpamReportDate() { return SpamReportDate; } public MessageInstance setSpamReportDate(Date value) { this.SpamReportDate = value; return this; } public UserInstance getUser() { return User; } public MessageInstance setUser(UserInstance value) { this.User = value; return this; } public Integer getUserId() { return UserId; } public MessageInstance setUserId(Integer value) { this.UserId = value; return this; } public Integer getInstanceType() { return InstanceType; } public MessageInstance setInstanceType(Integer value) { this.InstanceType = value; return this; } } public static class MessageTemplateInstance { public Integer MessageTemplateId = null; public String Name = null; public String Subject = null; public String Body = null; public Integer ReportId = null; public Integer TemplateType = null; public Date Created = null; public Integer CreatedBy = null; public Date Modified = null; public Integer ModifiedBy = null; public Date Deleted = null; public Integer DeletedBy = null; public Integer EventType = null; public Integer ContentType = null; public Boolean Hidden = null; public Integer ParentMessageTemplateId = null; public String InclusionTags = null; public String ExclusionTags = null; public Integer getMessageTemplateId() { return MessageTemplateId; } public MessageTemplateInstance setMessageTemplateId(Integer value) { this.MessageTemplateId = value; return this; } public String getName() { return Name; } public MessageTemplateInstance setName(String value) { this.Name = value; return this; } public String getSubject() { return Subject; } public MessageTemplateInstance setSubject(String value) { this.Subject = value; return this; } public String getBody() { return Body; } public MessageTemplateInstance setBody(String value) { this.Body = value; return this; } public Integer getReportId() { return ReportId; } public MessageTemplateInstance setReportId(Integer value) { this.ReportId = value; return this; } public Integer getTemplateType() { return TemplateType; } public MessageTemplateInstance setTemplateType(Integer value) { this.TemplateType = value; return this; } public Date getCreated() { return Created; } public MessageTemplateInstance setCreated(Date value) { this.Created = value; return this; } public Integer getCreatedBy() { return CreatedBy; } public MessageTemplateInstance setCreatedBy(Integer value) { this.CreatedBy = value; return this; } public Date getModified() { return Modified; } public MessageTemplateInstance setModified(Date value) { this.Modified = value; return this; } public Integer getModifiedBy() { return ModifiedBy; } public MessageTemplateInstance setModifiedBy(Integer value) { this.ModifiedBy = value; return this; } public Date getDeleted() { return Deleted; } public MessageTemplateInstance setDeleted(Date value) { this.Deleted = value; return this; } public Integer getDeletedBy() { return DeletedBy; } public MessageTemplateInstance setDeletedBy(Integer value) { this.DeletedBy = value; return this; } public Integer getEventType() { return EventType; } public MessageTemplateInstance setEventType(Integer value) { this.EventType = value; return this; } public Integer getContentType() { return ContentType; } public MessageTemplateInstance setContentType(Integer value) { this.ContentType = value; return this; } public Boolean isHidden() { return Hidden; } public MessageTemplateInstance setHidden(Boolean value) { this.Hidden = value; return this; } public Integer getParentMessageTemplateId() { return ParentMessageTemplateId; } public MessageTemplateInstance setParentMessageTemplateId(Integer value) { this.ParentMessageTemplateId = value; return this; } public String getInclusionTags() { return InclusionTags; } public MessageTemplateInstance setInclusionTags(String value) { this.InclusionTags = value; return this; } public String getExclusionTags() { return ExclusionTags; } public MessageTemplateInstance setExclusionTags(String value) { this.ExclusionTags = 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; } } @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; } } }