/* Options: Date: 2024-11-21 04:47:09 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: ResourceItemCompletionRequest.* //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.Models; using ASH.ResourceLibrary.Interfaces.ServiceModels; namespace ASH.ResourceLibrary.Interfaces.Models { public partial class ResourceItemCompletion { public virtual int ResourceCompletionId { get; set; } public virtual int ResourceProgressId { get; set; } public virtual int ProgressOnCompletion { get; set; } public virtual string ResourceId { get; set; } public virtual string ResourceName { get; set; } public virtual string ResourceType { get; set; } public virtual DateTime CompletionDate { get; set; } } } namespace ASH.ResourceLibrary.Interfaces.ServiceModels { [Route("/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}", "GET")] [Route("/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}/{ResourceType}", "GET")] [Route("/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}/{ResourceType}/{RetrievalAmount}", "GET")] public partial class ResourceItemCompletionRequest : IReturn { public virtual int MemberId { get; set; } public virtual DateTime StartDate { get; set; } public virtual DateTime EndDate { get; set; } public virtual string ResourceType { get; set; } public virtual int? RetrievalAmount { get; set; } } public partial class ResourceItemCompletionResponse { public ResourceItemCompletionResponse() { ResourceCompletions = new List{}; } public virtual int MemberId { get; set; } public virtual DateTime StartDate { get; set; } public virtual DateTime EndDate { get; set; } public virtual int TotalCompletions { get; set; } public virtual int RetrievalAmount { get; set; } public virtual List ResourceCompletions { get; set; } } }