def create_from_discriminator_value(parse_node: ParseNode) -> PurgeDataPostRequestBody:
        """
        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: PurgeDataPostRequestBody
        """
        if parse_node is None:
            raise TypeError("parse_node cannot be null.")
        return PurgeDataPostRequestBody()

        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: PurgeDataPostRequestBody
        
msgraph/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/purge_data_post_request_body.py