# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MediaServices::Mgmt::V2020_05_01
  module Models
    #
    # HTTP Live Streaming (HLS) packing setting for the live output.
    #
    class Hls

      include MsRestAzure

      # @return [Integer] The number of fragments in an HTTP Live Streaming
      # (HLS) TS segment in the output of the live event. This value does not
      # affect the packing ratio for HLS CMAF output.
      attr_accessor :fragments_per_ts_segment


      #
      # Mapper for Hls class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Hls',
          type: {
            name: 'Composite',
            class_name: 'Hls',
            model_properties: {
              fragments_per_ts_segment: {
                client_side_validation: true,
                required: false,
                serialized_name: 'fragmentsPerTsSegment',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
