/* Options: Date: 2026-04-04 08:36:35 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: GetPermissionMatrix.* //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.Models; using Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Subtle.Canvara.WebAPIModel.Models { public partial class PermissionLevelModel { public virtual Guid? PermissionValueId { get; set; } public virtual Guid ObjectId { get; set; } public virtual string ObjectName { get; set; } public virtual string ObjectGroup { get; set; } public virtual int ContactsAffected { get; set; } public virtual bool? PermissionValue { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Get a value for the current permission and object. Including the relevant data that affects the permission value outcome. /// [Route("/permissions/{PermissionId}/matrix/")] [Api(Description="Get a value for the current permission and object. Including the relevant data that affects the permission value outcome.")] public partial class GetPermissionMatrix : IReturn { /// ///Permission Id to retrieve matrix for. /// [ApiMember(DataType="Guid", Description="Permission Id to retrieve matrix for.", IsRequired=true, Name="PermissionId")] public virtual Guid PermissionId { get; set; } /// ///Object Id to retrieve permissions for. This will be either a contact, role list item or licensee contact. /// [ApiMember(DataType="Guid", Description="Object Id to retrieve permissions for. This will be either a contact, role list item or licensee contact.", IsRequired=true, Name="ObjectId")] public virtual Guid ObjectId { get; set; } } [ApiResponse(Description="Returns the Permission Value for an object and the permission levels that make up the determination of the permission.")] public partial class GetPermissionMatrixResponse { public virtual bool PermissionLevelValue { get; set; } public virtual List PermissionsMatrix { 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; } } }