# This file was generated by jschema_to_python version 1.2.3.

import attr


@attr.s
class Edge(object):
    """Represents a directed edge in a graph."""

    id = attr.ib(metadata={"schema_property_name": "id"})
    source_node_id = attr.ib(metadata={"schema_property_name": "sourceNodeId"})
    target_node_id = attr.ib(metadata={"schema_property_name": "targetNodeId"})
    label = attr.ib(default=None, metadata={"schema_property_name": "label"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
