Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_media_services/models/output_file.rb

Overview

Represents an output file produced.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#labelsArray<String>

encoder should multiplex video and audio into an output file. For example, if the encoder is producing two video layers with labels v1 and v2, and one audio layer with label a1, then an array like ‘[v1, a1]’ tells the encoder to produce an output file with the video track represented by v1 and the audio track represented by a1.

Returns:

  • (Array<String>)

    The list of labels that describe how the



21
22
23
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/output_file.rb', line 21

def labels
  @labels
end

Class Method Details

.mapperObject

Mapper for OutputFile class as Ruby Hash. This will be used for serialization/deserialization.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/output_file.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OutputFile',
    type: {
      name: 'Composite',
      class_name: 'OutputFile',
      model_properties: {
        labels: {
          client_side_validation: true,
          required: true,
          serialized_name: 'labels',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end