Source code for azure.eventgrid.models.media_job_output_progress_event_data
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# 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
[docs]class MediaJobOutputProgressEventData(Model):
"""Job Output Progress Event Data.
:param label: Gets the Job output label.
:type label: str
:param progress: Gets the Job output progress.
:type progress: long
:param job_correlation_data: Gets the Job correlation data.
:type job_correlation_data: dict[str, str]
"""
_attribute_map = {
'label': {'key': 'label', 'type': 'str'},
'progress': {'key': 'progress', 'type': 'long'},
'job_correlation_data': {'key': 'jobCorrelationData', 'type': '{str}'},
}
def __init__(self, **kwargs):
super(MediaJobOutputProgressEventData, self).__init__(**kwargs)
self.label = kwargs.get('label', None)
self.progress = kwargs.get('progress', None)
self.job_correlation_data = kwargs.get('job_correlation_data', None)