/* Options: Date: 2025-12-14 02:06:08 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetVossTiers.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/voss/tiers", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) open class GetVossTiers : IReturn> { open var PackageId:UUID? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetVossTiers.responseType } enum class ProductTypeEnum { Main, Addon, License, Usage, } enum class ProductGroupTypeEnum { Optional, Included, } enum class StatusEnum { Active, Terminated, } @DataContract(Name="TierProductGroupDto") open class TierProductGroupDto { @DataMember(Name="productGroupType", IsRequired=true) @SerializedName("productGroupType") open var ProductGroupType:ProductGroupTypeEnum? = null @DataMember(Name="id", IsRequired=true) @SerializedName("id") open var Id:UUID? = null @DataMember(Name="name", IsRequired=true) @SerializedName("name") open var Name:String? = null @DataMember(Name="externalId") @SerializedName("externalId") open var ExternalId:String? = null @DataMember(Name="tags", EmitDefaultValue=false) @SerializedName("tags") open var Tags:ArrayList = ArrayList() @DataMember(Name="products", EmitDefaultValue=false) @SerializedName("products") open var Products:ArrayList = ArrayList() } @DataContract(Name="ProductGroupTagDto") open class ProductGroupTagDto { @DataMember(Name="type", IsRequired=true) @SerializedName("type") open var Type:TypeEnum? = null @DataMember(Name="tag", IsRequired=true) @SerializedName("tag") open var Tag:String? = null } enum class TypeEnum { AtSubscriptionBillingPeriodEnd, AtBindingPeriodEnd, Immediately, } @DataContract(Name="TierProductDto") open class TierProductDto { @DataMember(Name="type", IsRequired=true) @SerializedName("type") open var ProductType:ProductTypeEnum? = null @DataMember(Name="status", IsRequired=true) @SerializedName("status") open var Status:StatusEnum? = null @DataMember(Name="id", IsRequired=true) @SerializedName("id") open var Id:UUID? = null @DataMember(Name="name", IsRequired=true) @SerializedName("name") open var Name:String? = null @DataMember(Name="externalId") @SerializedName("externalId") open var ExternalId:String? = null @DataMember(Name="articleNumber", IsRequired=true) @SerializedName("articleNumber") open var ArticleNumber:String? = null } @DataContract(Name="TierResult") open class TierResult { @DataMember(Name="id", IsRequired=true) @SerializedName("id") open var Id:UUID? = null @DataMember(Name="versionId", IsRequired=true) @SerializedName("versionId") open var VersionId:UUID? = null @DataMember(Name="name", IsRequired=true) @SerializedName("name") open var Name:String? = null @DataMember(Name="externalId") @SerializedName("externalId") open var ExternalId:String? = null @DataMember(Name="rank") @SerializedName("rank") open var Rank:Int? = null @DataMember(Name="productGroups", EmitDefaultValue=false) @SerializedName("productGroups") open var ProductGroups:ArrayList = ArrayList() }