Sha256: 79c90ec4f042943101097c66e72fe03ee8c0552b37959ee8c8a2fb90ba784825

Contents?: true

Size: 1.5 KB

Versions: 8

Compression:

Stored size: 1.5 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
    #
    # Class to specify properties of default content key for each encryption
    # scheme
    #
    class DefaultKey

      include MsRestAzure

      # @return [String] Label can be used to specify Content Key when creating
      # Streaming Locator
      attr_accessor :label

      # @return [String] Policy used by Default Key
      attr_accessor :policy_name


      #
      # Mapper for DefaultKey class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DefaultKey',
          type: {
            name: 'Composite',
            class_name: 'DefaultKey',
            model_properties: {
              label: {
                client_side_validation: true,
                required: false,
                serialized_name: 'label',
                type: {
                  name: 'String'
                }
              },
              policy_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'policyName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.21.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.20.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.20.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.19.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.19.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.18.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.18.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb