/* Options: Date: 2026-04-15 21:18:18 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://api.booklinker.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: GetIsbnMetadataRequest.* //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 ProductAPI.Contracts.V1.Requests; using Booklinker.API.Contracts.V1.Requests; using Booklinker.API.ServiceModel.V1.DTOs; using ProductAPI.Contracts.V1.DTOs; using Booklinker.API.ServiceModel.V1.Requests; using Booklinker.API.ServiceModel.V1.Responses; namespace Booklinker.API.Contracts.V1.Requests { public partial interface IGetIsbnMetadataRequest { string Isbn { get; set; } } } namespace Booklinker.API.ServiceModel.V1.DTOs { [DataContract] public partial class ProductMetadata : ProductMetadata { } } namespace Booklinker.API.ServiceModel.V1.Requests { [Route("/v1/product/metadata/isbn", "GET")] [DataContract] public partial class GetIsbnMetadataRequest : GetIsbnMetadataRequestBase, IReturn, IGetIsbnMetadataRequest { [DataMember(Name="isbn")] [ApiMember(IsRequired=true)] public virtual string Isbn { get; set; } } } namespace Booklinker.API.ServiceModel.V1.Responses { [DataContract] public partial class GetProductMetadataResponse { [DataMember(Name="productMetadata")] public virtual ProductMetadata ProductMetadata { get; set; } [DataMember(Name="isSupported")] public virtual bool IsSupported { get; set; } [DataMember(Name="responseStatus")] public virtual ResponseStatus ResponseStatus { get; set; } } } namespace ProductAPI.Contracts.V1.DTOs { [DataContract] public partial class ProductMetadata { [DataMember(Name="title")] public virtual string Title { get; set; } [DataMember(Name="author")] public virtual string Author { get; set; } [DataMember(Name="url")] public virtual Uri Url { get; set; } [DataMember(Name="description")] public virtual string Description { get; set; } [DataMember(Name="retailer")] public virtual string Retailer { get; set; } [DataMember(Name="productImages")] public virtual IDictionary ProductImages { get; set; } } } namespace ProductAPI.Contracts.V1.Requests { public partial class GetIsbnMetadataRequestBase { [ApiMember(IsRequired=true, Name="isbn")] public virtual string Isbn { get; set; } } }