""" Options: Date: 2026-04-04 08:34:38 Version: 8.52 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: GetContactRoleGroupDetails.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class RoleGroupRolesModel: # @ApiMember(DataType="Guid", Description="Role Id", Name="RoleId") role_id: Optional[str] = None """ Role Id """ # @ApiMember(DataType="string", Description="Role Name", Name="RoleName") role_name: Optional[str] = None """ Role Name """ # @ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId") role_group_id: Optional[str] = None """ Role Group Id """ # @ApiMember(DataType="string", Description="Role Group Name", Name="RoleGroupName") role_group_name: Optional[str] = None """ Role Group Name """ # @ApiMember(DataType="Guid", Description="Role Group Role Id", Name="RoleGroupRoleId") role_group_role_id: Optional[str] = None """ Role Group Role Id """ # @ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus") record_status: Optional[str] = None """ 'A' (Active), 'I' (Inactive) """ # @ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId") owner_contact_id: Optional[str] = None """ Owner Contact Id """ @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class RoleGroupModel: # @ApiMember(DataType="Guid", Description="Role Group Id", Name="RoleGroupId") role_group_id: Optional[str] = None """ Role Group Id """ # @ApiMember(DataType="string", Description="Role Group Name", Name="Name") name: Optional[str] = None """ Role Group Name """ # @ApiMember(DataType="Guid", Description="Owner Contact Id", Name="OwnerContactId") owner_contact_id: Optional[str] = None """ Owner Contact Id """ # @ApiMember(DataType="int", Description="Number of Roles", Name="NumberOfRoles") number_of_roles: int = 0 """ Number of Roles """ # @ApiMember(DataType="List", Description="Roles belonging to the Role Group", Name="Roles") roles: Optional[List[RoleGroupRolesModel]] = None """ Roles belonging to the Role Group """ # @ApiMember(DataType="string", Description="'A' (Active), 'I' (Inactive)", Name="RecordStatus") record_status: Optional[str] = None """ 'A' (Active), 'I' (Inactive) """ # @ApiMember(DataType="bool", Description="True if Licensee-owned, allowing editing, deleting, archiving", Name="AllowEdit", ParameterType="query") allow_edit: bool = False """ True if Licensee-owned, allowing editing, deleting, archiving """ # @ApiResponse(Description="Details of the specified contact role group") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetContactRoleGroupDetailsResponse: contact_role_group: Optional[RoleGroupModel] = None response_status: Optional[ResponseStatus] = None # @Route("/contactrolegroup/{ContactRoleGroupId}") # @Api(Description="Get details of the specified contact role group") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetContactRoleGroupDetails(IReturn[GetContactRoleGroupDetailsResponse]): """ Get details of the specified contact 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") contact_role_group_id: Optional[str] = None """ The Contact Role Group Guid. Records retrieved will belong to this role group. """