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

    :param run_id:
    :type run_id: str
    :param run_url:
    :type run_url: str
    :param experiment_name:
    :type experiment_name: str
    :param experiment_id:
    :type experiment_id: str
    :param description:
    :type description: str
    :param status:
    :type status: ~designer.models.PipelineRunStatus
    :param create_time:
    :type create_time: long
    :param start_time:
    :type start_time: long
    :param end_time:
    :type end_time: long
    :param profiling_time:
    :type profiling_time: long
    :param step_runs_profile:
    :type step_runs_profile: list[~designer.models.StepRunProfile]
    """

    _attribute_map = {
        'run_id': {'key': 'runId', 'type': 'str'},
        'run_url': {'key': 'runUrl', 'type': 'str'},
        'experiment_name': {'key': 'experimentName', 'type': 'str'},
        'experiment_id': {'key': 'experimentId', 'type': 'str'},
        'description': {'key': 'description', 'type': 'str'},
        'status': {'key': 'status', 'type': 'PipelineRunStatus'},
        'create_time': {'key': 'createTime', 'type': 'long'},
        'start_time': {'key': 'startTime', 'type': 'long'},
        'end_time': {'key': 'endTime', 'type': 'long'},
        'profiling_time': {'key': 'profilingTime', 'type': 'long'},
        'step_runs_profile': {'key': 'stepRunsProfile', 'type': '[StepRunProfile]'},
    }

    def __init__(self, **kwargs):
        super(PipelineRunProfile, self).__init__(**kwargs)
        self.run_id = kwargs.get('run_id', None)
        self.run_url = kwargs.get('run_url', None)
        self.experiment_name = kwargs.get('experiment_name', None)
        self.experiment_id = kwargs.get('experiment_id', None)
        self.description = kwargs.get('description', None)
        self.status = kwargs.get('status', None)
        self.create_time = kwargs.get('create_time', None)
        self.start_time = kwargs.get('start_time', None)
        self.end_time = kwargs.get('end_time', None)
        self.profiling_time = kwargs.get('profiling_time', None)
        self.step_runs_profile = kwargs.get('step_runs_profile', None)
