/* Options:
Date: 2024-11-21 11:36:15
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: UpdateVanderbiltCodeLockSetting.*
//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 CodeLockVanderbiltSettingResponse
{
public virtual Guid CompanyId { get; set; }
///
///The api endpoint of the code lock
///
[ApiMember(DataType="string", Description="The api endpoint of the code lock")]
public virtual string ApiEndpoint { get; set; }
///
///The api port for the code lock.
///
[ApiMember(DataType="string", Description="The api port for the code lock.")]
public virtual int ApiPort { get; set; }
///
///The default identifier for the code lock.
///
[ApiMember(DataType="string", Description="The default identifier for the code lock.")]
public virtual string Identifier { get; set; }
///
///The default facility id to be used when no set on the resource.
///
[ApiMember(DataType="string", Description="The default facility id to be used when no set on the resource.")]
public virtual int? DefaultFacilityId { get; set; }
///
///When settings was created
///
[ApiMember(DataType="datetime", Description="When settings was created")]
public virtual DateTime Created { get; set; }
///
///When settings was updated
///
[ApiMember(DataType="datetime", Description="When settings was updated")]
public virtual DateTime Updated { get; set; }
}
[Route("/codelock/vanderbilt/settings", "PUT")]
[ValidateRequest("IsAuthenticated")]
[ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)]
[ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)]
public partial class UpdateVanderbiltCodeLockSetting
: IReturn, ICompany
{
///
///The company id, if empty will use the company id for the user you are logged in with.
///
[ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")]
public virtual Guid? CompanyId { get; set; }
///
///The api endpoint of the code lock
///
[ApiMember(DataType="string", Description="The api endpoint of the code lock")]
public virtual string ApiEndpoint { get; set; }
///
///The api port for the code lock.
///
[ApiMember(DataType="string", Description="The api port for the code lock.")]
public virtual string ApiPort { get; set; }
///
///The default identifier for the code lock.
///
[ApiMember(DataType="string", Description="The default identifier for the code lock.")]
public virtual string Identifier { get; set; }
///
///The default facility id to be used when no set on the resource.
///
[ApiMember(DataType="string", Description="The default facility id to be used when no set on the resource.")]
public virtual string DefaultFacilityId { get; set; }
}
}
namespace BokaMera.API.ServiceModel.Interfaces
{
public partial interface ICompany
{
Guid? CompanyId { get; set; }
}
}