Sha256: 92a6c50e1dea6154ff870a15432de77eac44ae31d52696327df00f629875097b

Contents?: true

Size: 1.94 KB

Versions: 12

Compression:

Stored size: 1.94 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::V2018_03_30_preview
  module Models
    #
    # A video analyzer preset that extracts insights (rich metadata) from both
    # audio and video, and outputs a JSON format file.
    #
    class VideoAnalyzerPreset < AudioAnalyzerPreset

      include MsRestAzure


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

      attr_accessor :odatatype

      # @return [Boolean] Whether to only extract audio insights when
      # processing a video file.
      attr_accessor :audio_insights_only


      #
      # Mapper for VideoAnalyzerPreset class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.VideoAnalyzerPreset',
          type: {
            name: 'Composite',
            class_name: 'VideoAnalyzerPreset',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              },
              audio_language: {
                client_side_validation: true,
                required: false,
                serialized_name: 'audioLanguage',
                type: {
                  name: 'String'
                }
              },
              audio_insights_only: {
                client_side_validation: true,
                required: false,
                serialized_name: 'audioInsightsOnly',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.21.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.20.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.20.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.19.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.19.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.18.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.18.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.17.2 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.17.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.17.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb
azure_mgmt_media_services-0.16.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb