Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb

Overview

Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady Compliance Rules.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#best_effortBoolean

Best Effort basis.

Returns:

  • (Boolean)

    Indicates whether this restriction is enforced on a



18
19
20
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb', line 18

def best_effort
  @best_effort
end

#configuration_dataInteger

between 0 and 3 inclusive.

Returns:

  • (Integer)

    Configures the restriction control bits. Must be



22
23
24
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb', line 22

def configuration_data
  @configuration_data
end

Class Method Details

.mapperObject

Mapper for ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb', line 30

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