Sha256: 280480f8ad5a42a0762d89a1333d9827861202136f278e7c6ba897826281591d

Contents?: true

Size: 1.8 KB

Versions: 11

Compression:

Stored size: 1.8 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
    #
    # Specifies that the content key ID is specified in the PlayReady
    # configuration.
    #
    class ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier < ContentKeyPolicyPlayReadyContentKeyLocation

      include MsRestAzure


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

      attr_accessor :odatatype

      # @return The content key ID.
      attr_accessor :key_id


      #
      # Mapper for
      # ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier',
          type: {
            name: 'Composite',
            class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              },
              key_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'keyId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.21.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.20.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.20.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.19.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.19.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.18.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.18.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.17.2 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.17.1 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
azure_mgmt_media_services-0.17.0 lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb