Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::FromEachInputFile

Inherits:
InputDefinition
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-05-01/generated/azure_mgmt_media_services/models/from_each_input_file.rb

Overview

An InputDefinition that looks at each input file provided to select tracks specified by the IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute to select tracks from each file given.

Instance Attribute Summary collapse

Attributes inherited from InputDefinition

#included_tracks

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFromEachInputFile

Returns a new instance of FromEachInputFile.



19
20
21
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/from_each_input_file.rb', line 19

def initialize
  @odatatype = "#Microsoft.Media.FromEachInputFile"
end

Instance Attribute Details

#odatatypeObject

Returns the value of attribute odatatype.



23
24
25
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/from_each_input_file.rb', line 23

def odatatype
  @odatatype
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/from_each_input_file.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: '#Microsoft.Media.FromEachInputFile',
    type: {
      name: 'Composite',
      class_name: 'FromEachInputFile',
      model_properties: {
        included_tracks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'includedTracks',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TrackDescriptorElementType',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: '@odata.type',
                  uber_parent: 'TrackDescriptor',
                  class_name: 'TrackDescriptor'
                }
            }
          }
        },
        odatatype: {
          client_side_validation: true,
          required: true,
          serialized_name: '@odata\\.type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end