Sha256: 79ce906008c38750194ea93530d3d41941e0f4764622e21f95c8b64b53848f57

Contents?: true

Size: 1.63 KB

Versions: 12

Compression:

Stored size: 1.63 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
    #
    # Specifies a symmetric key for token validation.
    #
    class ContentKeyPolicySymmetricTokenKey < ContentKeyPolicyRestrictionTokenKey

      include MsRestAzure


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

      attr_accessor :odatatype

      # @return [Array<Integer>] The key value of the key
      attr_accessor :key_value


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