/* Options: Date: 2026-04-04 06:47:10 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: GetContactRoleGroupDetails.* //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 RoleGroupModel { /// ///Role Group Id /// [ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId")] public virtual Guid RoleGroupId { get; set; } /// ///Role Group Name /// [ApiMember(DataType="string", Description="Role Group Name", Name="Name")] public virtual string Name { get; set; } /// ///Owner Contact Id /// [ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId")] public virtual Guid OwnerContactId { get; set; } /// ///Number of Roles /// [ApiMember(DataType="int", Description="Number of Roles", Name="NumberOfRoles")] public virtual int NumberOfRoles { get; set; } /// ///Roles belonging to the Role Group /// [ApiMember(DataType="List", Description="Roles belonging to the Role Group", Name="Roles")] public virtual List Roles { get; set; } /// ///'A' (Active), 'I' (Inactive) /// [ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus")] public virtual string RecordStatus { get; set; } /// ///True if Licensee-owned, allowing editing, deleting, archiving /// [ApiMember(DataType="bool", Description="True if Licensee-owned, allowing editing, deleting, archiving", Name="AllowEdit", ParameterType="query")] public virtual bool AllowEdit { get; set; } } public partial class RoleGroupRolesModel { /// ///Role Id /// [ApiMember(DataType="Guid", Description="Role Id", Name="RoleId")] public virtual Guid RoleId { get; set; } /// ///Role Name /// [ApiMember(DataType="string", Description="Role Name", Name="RoleName")] public virtual string RoleName { get; set; } /// ///Role Group Id /// [ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId")] public virtual Guid RoleGroupId { get; set; } /// ///Role Group Name /// [ApiMember(DataType="string", Description="Role Group Name", Name="RoleGroupName")] public virtual string RoleGroupName { get; set; } /// ///Role Group Role Id /// [ApiMember(DataType="Guid", Description="Role Group Role Id", Name="RoleGroupRoleId")] public virtual Guid RoleGroupRoleId { get; set; } /// ///'A' (Active), 'I' (Inactive) /// [ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus")] public virtual string RecordStatus { get; set; } /// ///Owner Contact Id /// [ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId")] public virtual Guid OwnerContactId { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Get details of the specified contact role group /// [Route("/contactrolegroup/{ContactRoleGroupId}")] [Api(Description="Get details of the specified contact role group")] public partial class GetContactRoleGroupDetails : IReturn { /// ///The Contact Role Group Guid. Records retrieved will belong to this role group. /// [ApiMember(DataType="Guid", Description="The Contact Role Group Guid. Records retrieved will belong to this role group.", IsRequired=true, Name="ContactRoleGroupId", ParameterType="query")] public virtual Guid ContactRoleGroupId { get; set; } } [ApiResponse(Description="Details of the specified contact role group")] public partial class GetContactRoleGroupDetailsResponse { public virtual RoleGroupModel ContactRoleGroup { 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; } } }