/* Options: Date: 2024-12-23 11:40:26 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReferBusinessLinkUsedRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/share/refer-business-link-used", Verbs="POST") open class ReferBusinessLinkUsedRequest : IReturn, IPost { var referBusinessToken:String? = null companion object { private val responseType = ReferBusinessLinkUsedResponse::class.java } override fun getResponseType(): Any? = ReferBusinessLinkUsedRequest.responseType } open class ReferBusinessLinkUsedResponse { var referringUser:ReferBusinessUser? = null var referredPlace:ReferredPlace? = null var expiresAt:Date? = null var state:ReferBusinessState? = null } open class ReferBusinessUser { var firstName:String? = null var lastName:String? = null var profilePhotoUrl:String? = null } open class ReferredPlace { var id:Long? = null var guid:UUID? = null var name:String? = null var logoUrl:String? = null var imageUrl:String? = null } enum class ReferBusinessState { SignInToSee, Available, CanNotReferYourself, AlreadyClaimedByYou, AlreadyClaimedBySomeoneElse, Expired, }