/* Options: Date: 2025-03-14 04:46:47 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CompanyIncentiveQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/companies/{CompanyId}/incentives", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) open class CompanyIncentiveQuery : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.", IsRequired=true, ParameterType="path") var CompanyId:UUID? = null companion object { private val responseType = CompanyIncentivesQueryResponse::class.java } override fun getResponseType(): Any? = CompanyIncentiveQuery.responseType } open class CompanyIncentivesQueryResponse { var Incentives:IList? = null var CompanyId:UUID? = null } open interface ICompany { var CompanyId:UUID? } open class CompanyIncentiveResponse { var Id:Int? = null var Heading:String? = null var StorageUrl:String? = null var SuccessButtonText:String? = null var ActionId:Int? = null var InitialDelayInSeconds:Int? = null var MaxDisplayCount:Int? = null var ValidFrom:Date? = null var ValidTo:Date? = null var Action:IncentiveAction? = null var Payload:String? = null } open class BaseModel { } open class IncentiveAction : BaseModel() { var Id:Int? = null var ActionType:IncentiveActionType? = null var Page:String? = null var Segment:String? = null var Element:String? = null } enum class IncentiveActionType(val value:Int) { Upgrade(1), AddOn(2), Information(3), }