Source code for azure.mgmt.media.models.streaming_policy_play_ready_configuration_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 StreamingPolicyPlayReadyConfiguration(Model): """Class to specify configurations of PlayReady in Streaming Policy. :param custom_license_acquisition_url_template: The template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys. :type custom_license_acquisition_url_template: str :param play_ready_custom_attributes: Custom attributes for PlayReady :type play_ready_custom_attributes: str """ _attribute_map = { 'custom_license_acquisition_url_template': {'key': 'customLicenseAcquisitionUrlTemplate', 'type': 'str'}, 'play_ready_custom_attributes': {'key': 'playReadyCustomAttributes', 'type': 'str'}, } def __init__(self, *, custom_license_acquisition_url_template: str=None, play_ready_custom_attributes: str=None, **kwargs) -> None: super(StreamingPolicyPlayReadyConfiguration, self).__init__(**kwargs) self.custom_license_acquisition_url_template = custom_license_acquisition_url_template self.play_ready_custom_attributes = play_ready_custom_attributes