# 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 PipelineRunGraphStatus(Model):
    """PipelineRunGraphStatus.

    :param status:
    :type status: ~designer.models.PipelineStatus
    :param graph_nodes_status: This is a dictionary
    :type graph_nodes_status: dict[str, ~designer.models.GraphNodeStatusInfo]
    :param experiment_id:
    :type experiment_id: str
    :param is_experiment_archived:
    :type is_experiment_archived: bool
    """

    _attribute_map = {
        'status': {'key': 'status', 'type': 'PipelineStatus'},
        'graph_nodes_status': {'key': 'graphNodesStatus', 'type': '{GraphNodeStatusInfo}'},
        'experiment_id': {'key': 'experimentId', 'type': 'str'},
        'is_experiment_archived': {'key': 'isExperimentArchived', 'type': 'bool'},
    }

    def __init__(self, *, status=None, graph_nodes_status=None, experiment_id: str=None, is_experiment_archived: bool=None, **kwargs) -> None:
        super(PipelineRunGraphStatus, self).__init__(**kwargs)
        self.status = status
        self.graph_nodes_status = graph_nodes_status
        self.experiment_id = experiment_id
        self.is_experiment_archived = is_experiment_archived
