/* Options: Date: 2026-04-04 01:03:52 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: SavePermissionValue.* //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 { /// ///Save change to a Permission value. /// [Route("/permissions/{PermissionId}/licensee/")] [Route("/permissions/{PermissionId}/role/")] [Route("/permissions/{PermissionId}/contact/")] [Api(Description="Save change to a Permission value.")] public partial class SavePermissionValue : IReturn { /// ///A permission Id that we're saving the permission for. /// [ApiMember(DataType="Guid", Description="A permission Id that we're saving the permission for.", IsRequired=true, Name="PermissionId")] public virtual Guid PermissionId { get; set; } /// ///The object to save a permission for. This will either be a contact or role list item. Leave this blank if we're saving for the licensee. /// [ApiMember(DataType="Guid", Description="The object to save a permission for. This will either be a contact or role list item. Leave this blank if we're saving for the licensee.", Name="ObjectId")] public virtual Guid ObjectId { get; set; } /// ///Value to set the permission to, may be true, false or null. /// [ApiMember(DataType="bool?", Description="Value to set the permission to, may be true, false or null.", Name="PermissionValue")] public virtual bool? PermissionValue { get; set; } } [ApiResponse(Description="Returns a response status indicating success or not.")] public partial class SavePermissionValueResponse { 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; } } }