# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class PipelineRunGraphDetail(Model):
    """PipelineRunGraphDetail.

    :param graph:
    :type graph: ~designer.models.PipelineGraph
    :param graph_nodes_status: This is a dictionary
    :type graph_nodes_status: dict[str, ~designer.models.GraphNodeStatusInfo]
    """

    _attribute_map = {
        'graph': {'key': 'graph', 'type': 'PipelineGraph'},
        'graph_nodes_status': {'key': 'graphNodesStatus', 'type': '{GraphNodeStatusInfo}'},
    }

    def __init__(self, **kwargs):
        super(PipelineRunGraphDetail, self).__init__(**kwargs)
        self.graph = kwargs.get('graph', None)
        self.graph_nodes_status = kwargs.get('graph_nodes_status', None)
