/* Options:
Date: 2024-11-21 11:30:16
Version: 8.23
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bokamera.se
//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: True
//ExportValueTypes: False
IncludeTypes: UpdateBookingPrintout.*
//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.Globalization;
using ServiceStack.Data;
using System.IO;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;
namespace BokaMera.API.ServiceModel.Dtos
{
public partial class BookingPrintoutQueryResponse
{
///
///Report id
///
[ApiMember(Description="Report id")]
public virtual int Id { get; set; }
///
///Report Name
///
[ApiMember(Description="Report Name")]
public virtual string Name { get; set; }
///
///Report header left cell content
///
[ApiMember(Description="Report header left cell content", IsRequired=true)]
public virtual string HeaderLeftCell { get; set; }
///
///Report header middle cell content
///
[ApiMember(Description="Report header middle cell content", IsRequired=true)]
public virtual string HeaderMiddleCell { get; set; }
///
///Report header right cell content
///
[ApiMember(Description="Report header right cell content", IsRequired=true)]
public virtual string HeaderRightCell { get; set; }
///
///Report body cell content
///
[ApiMember(Description="Report body cell content", IsRequired=true)]
public virtual string BodyCell { get; set; }
///
///Report footer left cell content
///
[ApiMember(Description="Report footer left cell content", IsRequired=true)]
public virtual string FooterLeftCell { get; set; }
///
///Report footer middle cell content
///
[ApiMember(Description="Report footer middle cell content", IsRequired=true)]
public virtual string FooterMiddleCell { get; set; }
///
///Report footer right cell content
///
[ApiMember(Description="Report footer right cell content", IsRequired=true)]
public virtual string FooterRightCell { get; set; }
}
[Route("/reports/booking/printout/{Id}", "PUT")]
[ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)]
[ValidateRequest("IsAuthenticated")]
public partial class UpdateBookingPrintout
: IReturn, ICompany
{
///
///Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used
///
[ApiMember(Description="Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used", ParameterType="query")]
public virtual Guid? CompanyId { get; set; }
///
///Report id
///
[ApiMember(Description="Report id", IsRequired=true, ParameterType="path")]
public virtual int Id { get; set; }
///
///Report Name
///
[ApiMember(Description="Report Name", IsRequired=true)]
public virtual string Name { get; set; }
///
///Report header left cell content
///
[ApiMember(Description="Report header left cell content", IsRequired=true)]
public virtual string HeaderLeftCell { get; set; }
///
///Report header middle cell content
///
[ApiMember(Description="Report header middle cell content", IsRequired=true)]
public virtual string HeaderMiddleCell { get; set; }
///
///Report header right cell content
///
[ApiMember(Description="Report header right cell content", IsRequired=true)]
public virtual string HeaderRightCell { get; set; }
///
///Report body cell content
///
[ApiMember(Description="Report body cell content", IsRequired=true)]
public virtual string BodyCell { get; set; }
///
///Report footer left cell content
///
[ApiMember(Description="Report footer left cell content", IsRequired=true)]
public virtual string FooterLeftCell { get; set; }
///
///Report footer middle cell content
///
[ApiMember(Description="Report footer middle cell content", IsRequired=true)]
public virtual string FooterMiddleCell { get; set; }
///
///Report footer right cell content
///
[ApiMember(Description="Report footer right cell content", IsRequired=true)]
public virtual string FooterRightCell { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}