Sha256: 04eb2ab636c68f914bc3891024d13229150f32e61c4dbcddadbcc29b1cff8b5f

Contents?: true

Size: 1.5 KB

Versions: 2

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::V2020_05_01
  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
      # a 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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/default_key.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/default_key.rb