/* Options:
Date: 2026-04-04 06:47:39
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: GetTermsDetails.*
//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
{
///
///Retrieve details of the specified terms for the specified licensee and contact.
///
[Route("/safetycommitment", "GET")]
[Route("/terms", "GET")]
[Api(Description="Retrieve details of the specified terms for the specified licensee and contact.")]
public partial class GetTermsDetails
: 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; }
}
public partial class GetTermsDetailsResponse
{
///
///Should Commitment to Safety be displayed?
///
[ApiMember(Description="Should Commitment to Safety be displayed?", Name="DisplaySafetyCommitment")]
public virtual bool DisplaySafetyCommitment { get; set; }
///
///Commitment to Safety HTML content.
///
[ApiMember(Description="Commitment to Safety HTML content.", Name="SafetyCommitmentContent")]
public virtual string SafetyCommitmentContent { get; set; }
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; }
}
}