Source code for azure.mgmt.media.models.track_property_condition_py3

# 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 TrackPropertyCondition(Model): """Class to specify one track property condition. All required parameters must be populated in order to send to Azure. :param property: Required. Track property type. Possible values include: 'Unknown', 'FourCC' :type property: str or ~azure.mgmt.media.models.TrackPropertyType :param operation: Required. Track property condition operation. Possible values include: 'Unknown', 'Equal' :type operation: str or ~azure.mgmt.media.models.TrackPropertyCompareOperation :param value: Track property value :type value: str """ _validation = { 'property': {'required': True}, 'operation': {'required': True}, } _attribute_map = { 'property': {'key': 'property', 'type': 'TrackPropertyType'}, 'operation': {'key': 'operation', 'type': 'TrackPropertyCompareOperation'}, 'value': {'key': 'value', 'type': 'str'}, } def __init__(self, *, property, operation, value: str=None, **kwargs) -> None: super(TrackPropertyCondition, self).__init__(**kwargs) self.property = property self.operation = operation self.value = value