/* Options: Date: 2024-12-15 20:57:38 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetCurrentPersonRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/persons/current", Verbs="GET") open class GetCurrentPersonRequest : GetOperationUnTenanted(), IReturn { companion object { private val responseType = GetCurrentPersonResponse::class.java } override fun getResponseType(): Any? = GetCurrentPersonRequest.responseType } open class GetCurrentPersonResponse { var responseStatus:ResponseStatus? = null var person:CurrentPerson? = null } open class GetOperationUnTenanted : IHasGetOptions, IGet { var embed:String? = null } open interface IHasGetOptions { var embed:String? } open class Person : IIdentifiableResource { var name:UserAccountName? = null var displayName:String? = null var email:String? = null var phoneNumber:String? = null var timezone:String? = null var defaultOrganisationId:String? = null var id:String? = null } open class CurrentPerson : Person() { var isAuthenticated:Boolean? = null var roles:ArrayList = ArrayList() } open interface IIdentifiableResource { var id:String? } open class UserAccountName { var firstName:String? = null var lastName:String? = null }