/* Options: Date: 2024-11-22 23:55:41 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: ResourceItemSearchRequest.* //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 ResourceItemForSearch { public ResourceItemForSearch() { Categories = new List{}; CategoryIndexes = new List{}; Tags = new List{}; } public virtual string Id { get; set; } public virtual string Type { get; set; } public virtual List Categories { get; set; } public virtual List CategoryIndexes { get; set; } public virtual string Title { get; set; } public virtual string Description { get; set; } public virtual string DescriptionSummary { get; set; } public virtual string Content { get; set; } public virtual List Tags { get; set; } public virtual bool IsComplete { get; set; } public virtual bool IsFavorite { get; set; } public virtual bool IsImplicitlyComplete { get; set; } public virtual string Transcript { get; set; } public virtual string Thumbnail { get; set; } public virtual string Difficulty { get; set; } public virtual string Duration { get; set; } public virtual string MediaPath { get; set; } } public partial class SearchResult { public SearchResult() { ResourceItems = new List{}; SearchItems = new List{}; Tags = new List{}; } public virtual string Id { get; set; } public virtual List ResourceItems { get; set; } public virtual List SearchItems { get; set; } public virtual List Tags { get; set; } public virtual long ItemCount { 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("/searchResults", "GET")] public partial class ResourceItemSearchRequest : BasicResourceLibraryRequest, IReturn { public ResourceItemSearchRequest() { Tags = new List{}; } public virtual string Request { get; set; } public virtual List Tags { get; set; } public virtual string CategoryId { get; set; } public virtual int Offset { get; set; } public virtual int Limit { get; set; } public virtual bool digitalFitness { get; set; } } public partial class ResourceItemSearchResponse { public virtual SearchResult SearchResults { get; set; } } }