/* Options: Date: 2024-12-23 11:42:09 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //GlobalNamespace: ConsumerApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetRewardsStatusRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class ConsumerApi { @Route(Path="/user/rewards", Verbs="GET") public static class GetRewardsStatusRequest implements IReturn, IGet { private static Object responseType = GetRewardsStatusResponse.class; public Object getResponseType() { return responseType; } } public static class GetRewardsStatusResponse { public Long pointsInTotal = null; public Long pointsExpiringAtEndOfThisYear = null; public RewardInfo referFriend = null; public RewardInfo sharePlace = null; public RewardInfo shareAdMessage = null; public RewardInfo referBusiness = null; public Long pointsAwardedForSignup = null; public ActiveLottery activeLottery = null; public Long getPointsInTotal() { return pointsInTotal; } public GetRewardsStatusResponse setPointsInTotal(Long value) { this.pointsInTotal = value; return this; } public Long getPointsExpiringAtEndOfThisYear() { return pointsExpiringAtEndOfThisYear; } public GetRewardsStatusResponse setPointsExpiringAtEndOfThisYear(Long value) { this.pointsExpiringAtEndOfThisYear = value; return this; } public RewardInfo getReferFriend() { return referFriend; } public GetRewardsStatusResponse setReferFriend(RewardInfo value) { this.referFriend = value; return this; } public RewardInfo getSharePlace() { return sharePlace; } public GetRewardsStatusResponse setSharePlace(RewardInfo value) { this.sharePlace = value; return this; } public RewardInfo getShareAdMessage() { return shareAdMessage; } public GetRewardsStatusResponse setShareAdMessage(RewardInfo value) { this.shareAdMessage = value; return this; } public RewardInfo getReferBusiness() { return referBusiness; } public GetRewardsStatusResponse setReferBusiness(RewardInfo value) { this.referBusiness = value; return this; } public Long getPointsAwardedForSignup() { return pointsAwardedForSignup; } public GetRewardsStatusResponse setPointsAwardedForSignup(Long value) { this.pointsAwardedForSignup = value; return this; } public ActiveLottery getActiveLottery() { return activeLottery; } public GetRewardsStatusResponse setActiveLottery(ActiveLottery value) { this.activeLottery = value; return this; } } public static class RewardInfo { public Long points = null; public Long count = null; public Long pointsGrantedOnSuccess = null; public Long getPoints() { return points; } public RewardInfo setPoints(Long value) { this.points = value; return this; } public Long getCount() { return count; } public RewardInfo setCount(Long value) { this.count = value; return this; } public Long getPointsGrantedOnSuccess() { return pointsGrantedOnSuccess; } public RewardInfo setPointsGrantedOnSuccess(Long value) { this.pointsGrantedOnSuccess = value; return this; } } public static class ActiveLottery { public Long id = null; public Date firstDay = null; public Date lastDay = null; public String contentBeforeSharing = null; public String contentAfterSharing = null; public String countryCode = null; public Long yourNumberOfTicketsInThisLottery = null; public Long getId() { return id; } public ActiveLottery setId(Long value) { this.id = value; return this; } public Date getFirstDay() { return firstDay; } public ActiveLottery setFirstDay(Date value) { this.firstDay = value; return this; } public Date getLastDay() { return lastDay; } public ActiveLottery setLastDay(Date value) { this.lastDay = value; return this; } public String getContentBeforeSharing() { return contentBeforeSharing; } public ActiveLottery setContentBeforeSharing(String value) { this.contentBeforeSharing = value; return this; } public String getContentAfterSharing() { return contentAfterSharing; } public ActiveLottery setContentAfterSharing(String value) { this.contentAfterSharing = value; return this; } public String getCountryCode() { return countryCode; } public ActiveLottery setCountryCode(String value) { this.countryCode = value; return this; } public Long getYourNumberOfTicketsInThisLottery() { return yourNumberOfTicketsInThisLottery; } public ActiveLottery setYourNumberOfTicketsInThisLottery(Long value) { this.yourNumberOfTicketsInThisLottery = value; return this; } } }