def create_from_discriminator_value(parse_node: ParseNode) -> FilterByCurrentUserWithOnGetResponse:
        """
        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: FilterByCurrentUserWithOnGetResponse
        """
        if parse_node is None:
            raise TypeError("parse_node cannot be null.")
        return FilterByCurrentUserWithOnGetResponse()

        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: FilterByCurrentUserWithOnGetResponse
        
msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_get_response.py