Sha256: e3810dc73e460888a8b5b1c73c18c67a9feb78f523c8661b66ca353f9c271918

Contents?: true

Size: 1.71 KB

Versions: 11

Compression:

Stored size: 1.71 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_06_01_preview
  module Models
    #
    # Class to specify DRM configurations of CommonEncryptionCenc scheme in
    # Streaming Policy
    #
    class CencDrmConfiguration

      include MsRestAzure

      # @return [StreamingPolicyPlayReadyConfiguration] PlayReady
      # configurations
      attr_accessor :play_ready

      # @return [StreamingPolicyWidevineConfiguration] Widevine configurations
      attr_accessor :widevine


      #
      # Mapper for CencDrmConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CencDrmConfiguration',
          type: {
            name: 'Composite',
            class_name: 'CencDrmConfiguration',
            model_properties: {
              play_ready: {
                client_side_validation: true,
                required: false,
                serialized_name: 'playReady',
                type: {
                  name: 'Composite',
                  class_name: 'StreamingPolicyPlayReadyConfiguration'
                }
              },
              widevine: {
                client_side_validation: true,
                required: false,
                serialized_name: 'widevine',
                type: {
                  name: 'Composite',
                  class_name: 'StreamingPolicyWidevineConfiguration'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.21.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.20.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.20.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.19.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.19.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.18.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.18.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.17.2 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.17.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb
azure_mgmt_media_services-0.17.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb