/* Options: Date: 2026-04-04 08:38:53 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: GetContactRolesForLicensee.* //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.Saguna.Common.WebAPIModel.Models; using Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Saguna.Common.WebAPIModel.Models { public partial class RoleModel { /// ///Role Id /// [ApiMember(DataType="Guid", Description="Role Id", IsRequired=true, Name="RoleId")] public virtual Guid RoleId { get; set; } /// ///Role Name /// [ApiMember(DataType="string", Description="Role Name", Name="RoleName")] public virtual string RoleName { get; set; } /// ///Is the role a licensee role? /// [ApiMember(DataType="bool", Description="Is the role a licensee role?", Name="IsLicensee")] public virtual bool IsLicenseeRole { get; set; } /// ///Is manage contacts role? /// [ApiMember(DataType="bool", Description="Is manage contacts role?", Name="IsManageContacts")] public virtual bool IsManageContacts { get; set; } /// ///Is the role a Platform role? /// [ApiMember(DataType="bool", Description="Is the role a Platform role?", Name="IsPlatformRole")] public virtual bool IsPlatformRole { get; set; } /// ///Is the role a services role? /// [ApiMember(DataType="bool", Description="Is the role a services role?", Name="IsServiceRole")] public virtual bool IsServiceRole { get; set; } /// ///Is the role a customer role? /// [ApiMember(DataType="bool", Description="Is the role a customer role?", Name="IsCustomerRole")] public virtual bool IsCustomerRole { get; set; } /// ///Is the role a functional role? /// [ApiMember(DataType="bool", Description="Is the role a functional role?", Name="IsFunctionalRole")] public virtual bool IsFunctionalRole { get; set; } /// ///Is the role an auto-accept role? /// [ApiMember(DataType="bool", Description="Is the role an auto-accept role?", Name="IsRequestAutoAccepted")] public virtual bool IsRequestAutoAccepted { get; set; } /// ///Suite that the role belongs to /// [ApiMember(DataType="Guid", Description="Suite that the role belongs to", Name="SuiteId")] public virtual Guid SuiteId { get; set; } /// ///Suite that the role belongs to /// [ApiMember(DataType="string", Description="Suite that the role belongs to", Name="SuiteName")] public virtual string SuiteName { get; set; } /// ///'A' (Active) or 'I' (Inactive) /// [ApiMember(DataType="string", Description="'A' (Active) or 'I' (Inactive)", Name="RecordStatus")] public virtual string RecordStatus { get; set; } /// ///Object Connection Id, which is populated when the roles are returned based on those that are connected to an object. /// [ApiMember(DataType="Guid", Description="Object Connection Id, which is populated when the roles are returned based on those that are connected to an object.", Name="ObjectConnectionId")] public virtual Guid ObjectConnectionId { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Get contact roles (custom and/or standard) for the specified licensee /// [Route("/contactroles/{LicenseeId}")] [Api(Description="Get contact roles (custom and/or standard) for the specified licensee")] public partial class GetContactRolesForLicensee : IReturn { /// ///Get contact roles (custom and/or standard) for the specified licensee /// [ApiMember(DataType="Guid", Description="Get contact roles (custom and/or standard) for the specified licensee", IsRequired=true, Name="LicenseeId", ParameterType="query")] public virtual Guid LicenseeId { get; set; } /// ///Contact Types /// [ApiMember(DataType="List", Description="Contact Types", Name="ContactTypes", ParameterType="query")] public virtual List ContactTypes { get; set; } /// ///Custom/Standard filter /// [ApiMember(DataType="List", Description="Custom/Standard filter", Name="OwnerFilterIds", ParameterType="query")] public virtual List OwnerFilterIds { get; set; } /// ///Active/Archived filter /// [ApiMember(DataType="string", Description="Active/Archived filter", Name="RecordStatus", ParameterType="query")] public virtual string RecordStatus { get; set; } /// ///Text filter /// [ApiMember(DataType="string", Description="Text filter", Name="SearchText", ParameterType="query")] public virtual string SearchText { get; set; } } [ApiResponse(Description="List of contact roles (custom and/or standard) for the specified licensee")] public partial class GetContactRolesForLicenseeResponse { public virtual List Roles { 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; } } }