# 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::V2019_05_01_preview module Models # # Describes the properties for generating an MPEG-2 Transport Stream # (ISO/IEC 13818-1) output video file(s). # class TransportStreamFormat < MultiBitrateFormat include MsRestAzure def initialize @odatatype = "#Microsoft.Media.TransportStreamFormat" end attr_accessor :odatatype # # Mapper for TransportStreamFormat class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.TransportStreamFormat', type: { name: 'Composite', class_name: 'TransportStreamFormat', model_properties: { filename_pattern: { client_side_validation: true, required: true, serialized_name: 'filenamePattern', type: { name: 'String' } }, odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, output_files: { client_side_validation: true, required: false, serialized_name: 'outputFiles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'OutputFileElementType', type: { name: 'Composite', class_name: 'OutputFile' } } } } } } } end end end end