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

        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: GetApplicableContentTypesForListWithListIdGetResponse
        
msgraph/generated/groups/item/sites/item/get_by_path_with_path/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_get_response.py