Sha256: af637faa69962da20171d7a6e6a35013aec50b5e2e936834113054f6b75407c4

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

# 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
    #
    # Class to select a track
    #
    class TrackSelection

      include MsRestAzure

      # @return [Array<TrackPropertyCondition>] TrackSelections is a track
      # property condition list which can specify track(s)
      attr_accessor :track_selections


      #
      # Mapper for TrackSelection class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TrackSelection',
          type: {
            name: 'Composite',
            class_name: 'TrackSelection',
            model_properties: {
              track_selections: {
                client_side_validation: true,
                required: false,
                serialized_name: 'trackSelections',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'TrackPropertyConditionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'TrackPropertyCondition'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.0 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb
azure_mgmt_media_services-0.20.1 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb
azure_mgmt_media_services-0.20.0 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb
azure_mgmt_media_services-0.19.1 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb