/* Options: Date: 2025-12-17 00:48:20 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://shortlinks-api.qa.platform.georiot.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: PostAutopilotOptionsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Geniuslink.Shortlinks.Contracts.Autopilot; using ShortlinksAPI.Contracts.V4.Requests; using ShortlinksAPI.Contracts.V4.Responses; using ShortlinksAPI.ServiceModel.V4.Requests; using ShortlinksAPI.ServiceModel.V4.Responses; namespace Geniuslink.Shortlinks.Contracts.Autopilot { public enum AutopilotFrequency { Daily, Hourly, Once, } public enum AutopilotLevel { ShortLink, Group, Account, } } namespace ShortlinksAPI.Contracts.V4.Requests { public partial interface IPostAutopilotOptionsRequest { AutopilotFrequency? Frequency { get; set; } AutopilotLevel? Level { get; set; } bool Enabled { get; set; } string Identifier { get; set; } Dictionary ChoicePageOptions { get; set; } } } namespace ShortlinksAPI.Contracts.V4.Responses { public partial interface IPostAutopilotOptionsResponse { bool Success { get; set; } } } namespace ShortlinksAPI.ServiceModel.V4.Requests { [Route("/v4/autopilot-options", "POST")] [DataContract] public partial class PostAutopilotOptionsRequest : IReturn, IPostAutopilotOptionsRequest { [DataMember(Name="frequency")] [ApiMember(IsRequired=true, Name="frequency")] public virtual AutopilotFrequency? Frequency { get; set; } [DataMember(Name="level")] [ApiMember(IsRequired=true, Name="level")] public virtual AutopilotLevel? Level { get; set; } [DataMember(Name="enabled")] [ApiMember(Name="enabled")] public virtual bool Enabled { get; set; } [DataMember(Name="identifier")] [ApiMember(IsRequired=true, Name="identifier")] public virtual string Identifier { get; set; } [DataMember(Name="choicePageOptions")] [ApiMember(IsRequired=true, Name="choicePageOptions")] public virtual Dictionary ChoicePageOptions { get; set; } = new(); } } namespace ShortlinksAPI.ServiceModel.V4.Responses { [DataContract] public partial class PostAutopilotOptionsResponse : IPostAutopilotOptionsResponse { [DataMember(Name="responseStatus")] public virtual ResponseStatus ResponseStatus { get; set; } [DataMember(Name="success")] public virtual bool Success { get; set; } } }