/* Options: Date: 2024-12-23 11:54:18 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: ReferBusinessLinkUsedRequest.* //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-business-link-used", Verbs="POST") public static class ReferBusinessLinkUsedRequest implements IReturn, IPost { public String referBusinessToken = null; public String getReferBusinessToken() { return referBusinessToken; } public ReferBusinessLinkUsedRequest setReferBusinessToken(String value) { this.referBusinessToken = value; return this; } private static Object responseType = ReferBusinessLinkUsedResponse.class; public Object getResponseType() { return responseType; } } public static class ReferBusinessLinkUsedResponse { public ReferBusinessUser referringUser = null; public ReferredPlace referredPlace = null; public Date expiresAt = null; public ReferBusinessState state = null; public ReferBusinessUser getReferringUser() { return referringUser; } public ReferBusinessLinkUsedResponse setReferringUser(ReferBusinessUser value) { this.referringUser = value; return this; } public ReferredPlace getReferredPlace() { return referredPlace; } public ReferBusinessLinkUsedResponse setReferredPlace(ReferredPlace value) { this.referredPlace = value; return this; } public Date getExpiresAt() { return expiresAt; } public ReferBusinessLinkUsedResponse setExpiresAt(Date value) { this.expiresAt = value; return this; } public ReferBusinessState getState() { return state; } public ReferBusinessLinkUsedResponse setState(ReferBusinessState value) { this.state = value; return this; } } public static class ReferBusinessUser { public String firstName = null; public String lastName = null; public String profilePhotoUrl = null; public String getFirstName() { return firstName; } public ReferBusinessUser setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public ReferBusinessUser setLastName(String value) { this.lastName = value; return this; } public String getProfilePhotoUrl() { return profilePhotoUrl; } public ReferBusinessUser setProfilePhotoUrl(String value) { this.profilePhotoUrl = value; return this; } } public static class ReferredPlace { public Long id = null; public UUID guid = null; public String name = null; public String logoUrl = null; public String imageUrl = null; public Long getId() { return id; } public ReferredPlace setId(Long value) { this.id = value; return this; } public UUID getGuid() { return guid; } public ReferredPlace setGuid(UUID value) { this.guid = value; return this; } public String getName() { return name; } public ReferredPlace setName(String value) { this.name = value; return this; } public String getLogoUrl() { return logoUrl; } public ReferredPlace setLogoUrl(String value) { this.logoUrl = value; return this; } public String getImageUrl() { return imageUrl; } public ReferredPlace setImageUrl(String value) { this.imageUrl = value; return this; } } public static enum ReferBusinessState { SignInToSee, Available, CanNotReferYourself, AlreadyClaimedByYou, AlreadyClaimedBySomeoneElse, Expired; } }