Sha256: b757716cfc32f100f3827d7b73eab716d17698376dd562ab5f561b8edd2e4e7c

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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
    #
    # Represents a ContentKeyPolicyRestriction that is unavailable in the
    # current API version.
    #
    class ContentKeyPolicyUnknownRestriction < ContentKeyPolicyRestriction

      include MsRestAzure


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

      attr_accessor :odatatype


      #
      # Mapper for ContentKeyPolicyUnknownRestriction class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.ContentKeyPolicyUnknownRestriction',
          type: {
            name: 'Composite',
            class_name: 'ContentKeyPolicyUnknownRestriction',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                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/content_key_policy_unknown_restriction.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb