Source code for azure.mgmt.media.models.hls_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 Hls(Model): """The HLS configuration. :param fragments_per_ts_segment: The amount of fragments per HTTP Live Streaming (HLS) segment. :type fragments_per_ts_segment: int """ _attribute_map = { 'fragments_per_ts_segment': {'key': 'fragmentsPerTsSegment', 'type': 'int'}, } def __init__(self, *, fragments_per_ts_segment: int=None, **kwargs) -> None: super(Hls, self).__init__(**kwargs) self.fragments_per_ts_segment = fragments_per_ts_segment