/* Options: Date: 2026-04-04 08:38:56 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetContactRoleGroupDetails.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class RoleGroupRolesModel { /** @description Role Id */ // @ApiMember(DataType="Guid", Description="Role Id", Name="RoleId") public RoleId: string; /** @description Role Name */ // @ApiMember(DataType="string", Description="Role Name", Name="RoleName") public RoleName: string; /** @description Role Group Id */ // @ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId") public RoleGroupId: string; /** @description Role Group Name */ // @ApiMember(DataType="string", Description="Role Group Name", Name="RoleGroupName") public RoleGroupName: string; /** @description Role Group Role Id */ // @ApiMember(DataType="Guid", Description="Role Group Role Id", Name="RoleGroupRoleId") public RoleGroupRoleId: string; /** @description 'A' (Active), 'I' (Inactive) */ // @ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus") public RecordStatus: string; /** @description Owner Contact Id */ // @ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId") public OwnerContactId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class RoleGroupModel { /** @description Role Group Id */ // @ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId") public RoleGroupId: string; /** @description Role Group Name */ // @ApiMember(DataType="string", Description="Role Group Name", Name="Name") public Name: string; /** @description Owner Contact Id */ // @ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId") public OwnerContactId: string; /** @description Number of Roles */ // @ApiMember(DataType="int", Description="Number of Roles", Name="NumberOfRoles") public NumberOfRoles: number; /** @description Roles belonging to the Role Group */ // @ApiMember(DataType="List", Description="Roles belonging to the Role Group", Name="Roles") public Roles: RoleGroupRolesModel[]; /** @description 'A' (Active), 'I' (Inactive) */ // @ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus") public RecordStatus: string; /** @description 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 AllowEdit: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="Details of the specified contact role group") export class GetContactRoleGroupDetailsResponse { public ContactRoleGroup: RoleGroupModel; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Get details of the specified contact role group */ // @Route("/contactrolegroup/{ContactRoleGroupId}") // @Api(Description="Get details of the specified contact role group") export class GetContactRoleGroupDetails implements IReturn { /** @description 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 ContactRoleGroupId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetContactRoleGroupDetails'; } public getMethod() { return 'GET'; } public createResponse() { return new GetContactRoleGroupDetailsResponse(); } }