Sha256: aaeb92399fdcc21f87ad798e2f359b252f797f38b716912799521439e7bfe9d4

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 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
    #
    # Configures the Explicit Analog Television Output Restriction control
    # bits. For further details see the PlayReady Compliance Rules.
    #
    class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

      include MsRestAzure

      # @return [Boolean] Indicates whether this restriction is enforced on a
      # Best Effort basis.
      attr_accessor :best_effort

      # @return [Integer] Configures the restriction control bits. Must be
      # between 0 and 3 inclusive.
      attr_accessor :configuration_data


      #
      # Mapper for ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
      # class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction',
          type: {
            name: 'Composite',
            class_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction',
            model_properties: {
              best_effort: {
                client_side_validation: true,
                required: true,
                serialized_name: 'bestEffort',
                type: {
                  name: 'Boolean'
                }
              },
              configuration_data: {
                client_side_validation: true,
                required: true,
                serialized_name: 'configurationData',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      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_play_ready_explicit_analog_television_restriction.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb