Sha256: 70f36f83f164e0c5f828c4b68d5107737b9756971cd7bd03b14673903a9f52fa

Contents?: true

Size: 1.5 KB

Versions: 4

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
      # Stremaing 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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.17.2 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.17.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.17.0 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.16.1 lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb