/* Options: Date: 2024-12-23 11:36:39 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: ReferFriendLinkUsedRequest.* //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="/share/refer-friend-link-used", Verbs="POST") public static class ReferFriendLinkUsedRequest implements IReturn, IPost { public String referFriendToken = null; public String getReferFriendToken() { return referFriendToken; } public ReferFriendLinkUsedRequest setReferFriendToken(String value) { this.referFriendToken = value; return this; } private static Object responseType = ReferFriendLinkUsedResponse.class; public Object getResponseType() { return responseType; } } public static class ReferFriendLinkUsedResponse { public ReferFriendUser referringUser = null; public Date expiresAt = null; public ReferFriendState state = null; public ReferFriendUser getReferringUser() { return referringUser; } public ReferFriendLinkUsedResponse setReferringUser(ReferFriendUser value) { this.referringUser = value; return this; } public Date getExpiresAt() { return expiresAt; } public ReferFriendLinkUsedResponse setExpiresAt(Date value) { this.expiresAt = value; return this; } public ReferFriendState getState() { return state; } public ReferFriendLinkUsedResponse setState(ReferFriendState value) { this.state = value; return this; } } public static class ReferFriendUser { public String firstName = null; public String lastName = null; public String profilePhotoUrl = null; public String getFirstName() { return firstName; } public ReferFriendUser setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public ReferFriendUser setLastName(String value) { this.lastName = value; return this; } public String getProfilePhotoUrl() { return profilePhotoUrl; } public ReferFriendUser setProfilePhotoUrl(String value) { this.profilePhotoUrl = value; return this; } } public static enum ReferFriendState { Available, Awarded, CanNotReferYourself, YouWereAlreadySignedUp, Expired; } }