/* Options: Date: 2024-11-21 05:02:21 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: FavoritesRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.IO; using ASH.ResourceLibrary.Interfaces.ServiceModels; using ASH.ResourceLibrary.Interfaces.Models; namespace ASH.ResourceLibrary.Interfaces.Models { public partial class Meta { public virtual int ResourceCount { get; set; } public virtual string Title { get; set; } } public partial class ResourceCard { public ResourceCard() { Tags = new List{}; Screenshots = new List{}; } public virtual string Id { get; set; } public virtual string Title { get; set; } public virtual string Description { get; set; } public virtual string DescriptionSummary { get; set; } public virtual string Type { get; set; } public virtual string Content { get; set; } public virtual bool IsComplete { get; set; } public virtual bool IsFavorite { get; set; } public virtual bool IsImplicitlyComplete { get; set; } public virtual string MediaPath { get; set; } public virtual bool IsConfirmable { get; set; } public virtual bool IsWcagCompliant { get; set; } public virtual string Duration { get; set; } public virtual string Preview { get; set; } public virtual int Calories { get; set; } public virtual string Instructor { get; set; } public virtual string Thumbnail { get; set; } public virtual string Difficulty { get; set; } public virtual List Tags { get; set; } public virtual string Subtitles { get; set; } public virtual List Screenshots { get; set; } public virtual bool DrmEncrypted { get; set; } } public partial class ScreenshotItem { public virtual string LargeFilepathS3 { get; set; } public virtual string ThumbFilepathS3 { get; set; } public virtual decimal Order { get; set; } public virtual string Description { get; set; } } public partial class Tag { public virtual string Id { get; set; } public virtual string Title { get; set; } } } namespace ASH.ResourceLibrary.Interfaces.ServiceModels { public partial class BasicResourceLibraryRequest { public virtual int ResourceLibraryMemberId { get; set; } } [Route("/favorites", "GET,POST")] public partial class FavoritesRequest : BasicResourceLibraryRequest, IReturn { /// ///Set it to true if requesting saved resources only from digital library /// [ApiMember(Description="Set it to true if requesting saved resources only from digital library")] public virtual bool DigitalFitness { get; set; } /// ///Set it to true if requesting saved resources only from health library /// [ApiMember(Description="Set it to true if requesting saved resources only from health library")] public virtual bool HealthLibrary { get; set; } /// ///Set it to true if requesting saved resources only from vptr /// [ApiMember(Description="Set it to true if requesting saved resources only from vptr")] public virtual bool Vptr { get; set; } /// ///Set it to true if requesting saved resources only from wellbeing /// [ApiMember(Description="Set it to true if requesting saved resources only from wellbeing")] public virtual bool Wellbeing { get; set; } /// ///Set it to true if requesting saved resources only from health /// [ApiMember(Description="Set it to true if requesting saved resources only from health")] public virtual bool Health { get; set; } public virtual string Limit { get; set; } public virtual string Offset { get; set; } } public partial interface IResourceItemsLiteResponse { } public partial class ResourceItemsLiteResponse : IResourceItemsLiteResponse { public ResourceItemsLiteResponse() { ResourceItems = new List{}; } public virtual List ResourceItems { get; set; } public virtual Meta Meta { get; set; } } }