/* Options: Date: 2026-04-04 06:46:49 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //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: AcceptTerms.* //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 Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Accept the specified terms for the specified licensee and contact. /// [Route("/safetycommitment/accept", "POST")] [Route("/terms/accept", "POST")] [Api(Description="Accept the specified terms for the specified licensee and contact.")] public partial class AcceptTerms : IReturn { /// ///Accept terms for the specified licensee contact id. /// [ApiMember(DataType="Guid", Description="Accept terms for the specified licensee contact id.", IsRequired=true, Name="LicenseeContactId")] public virtual Guid LicenseeContactId { get; set; } /// ///Terms are being accepted by the specified contact id. /// [ApiMember(DataType="Guid", Description="Terms are being accepted by the specified contact id.", IsRequired=true, Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///Contact Type e.g Real Person or Real Organisation. Defaults to real person. /// [ApiMember(DataType="Guid", Description="Contact Type e.g Real Person or Real Organisation. Defaults to real person.", IsRequired=true, Name="ContactTypeId")] public virtual Guid ContactTypeId { get; set; } /// ///Accept terms for the specified appliance id. This is not required for Safety Commitment. /// [ApiMember(DataType="Guid", Description="Accept terms for the specified appliance id. This is not required for Safety Commitment.", Name="ApplianceId")] public virtual Guid ApplianceId { get; set; } } [ApiResponse(Description="Returns the response status")] public partial class TermsActionResponse { public virtual ResponseStatus ResponseStatus { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }