Sha256: 181a12ea68f789e2056526246f3f689684cd654be0ee9c8e56cd3e92051adb68

Contents?: true

Size: 1.59 KB

Versions: 12

Compression:

Stored size: 1.59 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
    #
    # Base class for content key ID location. A derived class must be used to
    # represent the location.
    #
    class ContentKeyPolicyPlayReadyContentKeyLocation

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
      @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"

      def initialize
        @odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation"
      end

      attr_accessor :odatatype


      #
      # Mapper for ContentKeyPolicyPlayReadyContentKeyLocation class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContentKeyPolicyPlayReadyContentKeyLocation',
          type: {
            name: 'Composite',
            polymorphic_discriminator: '@odata.type',
            uber_parent: 'ContentKeyPolicyPlayReadyContentKeyLocation',
            class_name: 'ContentKeyPolicyPlayReadyContentKeyLocation',
            model_properties: {
            }
          }
        }
      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/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.21.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.20.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.20.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.19.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.19.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.18.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.18.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.17.2 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.17.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.17.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
azure_mgmt_media_services-0.16.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb