/* Options: Date: 2025-12-17 00:49:36 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://shortlinks-api.qa.platform.georiot.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostAutopilotOptionsRequest.* //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="/v4/autopilot-options", Verbs="POST") @DataContract open class PostAutopilotOptionsRequest : IReturn, IPostAutopilotOptionsRequest { @DataMember(Name="frequency") @SerializedName("frequency") @ApiMember(IsRequired=true, Name="frequency") override var frequency:AutopilotFrequency? = null @DataMember(Name="level") @SerializedName("level") @ApiMember(IsRequired=true, Name="level") override var level:AutopilotLevel? = null @DataMember(Name="enabled") @SerializedName("enabled") @ApiMember(Name="enabled") override var enabled:Boolean? = null @DataMember(Name="identifier") @SerializedName("identifier") @ApiMember(IsRequired=true, Name="identifier") override var identifier:String? = null @DataMember(Name="choicePageOptions") @SerializedName("choicePageOptions") @ApiMember(IsRequired=true, Name="choicePageOptions") override var choicePageOptions:HashMap = HashMap() companion object { private val responseType = PostAutopilotOptionsResponse::class.java } override fun getResponseType(): Any? = PostAutopilotOptionsRequest.responseType } @DataContract open class PostAutopilotOptionsResponse : IPostAutopilotOptionsResponse { @DataMember(Name="responseStatus") @SerializedName("responseStatus") open var responseStatus:ResponseStatus? = null @DataMember(Name="success") @SerializedName("success") override var success:Boolean? = null } enum class AutopilotFrequency { Daily, Hourly, Once, } enum class AutopilotLevel { ShortLink, Group, Account, } interface IPostAutopilotOptionsRequest { var frequency:AutopilotFrequency? var level:AutopilotLevel? var enabled:Boolean? var identifier:String? var choicePageOptions:HashMap? } interface IPostAutopilotOptionsResponse { var success:Boolean? }