Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight

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

Overview

Configures the Play Right in the PlayReady license.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#agc_and_color_stripe_restrictionInteger

Stripe in the license. Must be between 0 and 3 inclusive.

Returns:

  • (Integer)

    Configures Automatic Gain Control (AGC) and Color



25
26
27
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 25

def agc_and_color_stripe_restriction
  @agc_and_color_stripe_restriction
end

#allow_passing_video_content_to_unknown_outputContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license. Possible values include: ‘Unknown’, ‘NotAllowed’, ‘Allowed’, ‘AllowedWithVideoConstriction’



48
49
50
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 48

def allow_passing_video_content_to_unknown_output
  @allow_passing_video_content_to_unknown_output
end

#analog_video_oplInteger

digital audio.

Returns:

  • (Integer)

    Specifies the output protection level for compressed



60
61
62
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 60

def analog_video_opl
  @analog_video_opl
end

#compressed_digital_audio_oplInteger

digital audio.

Returns:

  • (Integer)

    Specifies the output protection level for compressed



64
65
66
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 64

def compressed_digital_audio_opl
  @compressed_digital_audio_opl
end

#compressed_digital_video_oplInteger

digital video.

Returns:

  • (Integer)

    Specifies the output protection level for compressed



56
57
58
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 56

def compressed_digital_video_opl
  @compressed_digital_video_opl
end

#digital_video_only_content_restrictionBoolean

Video Restriction in the license.

Returns:

  • (Boolean)

    Enables the Image Constraint For Analog Component



34
35
36
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 34

def digital_video_only_content_restriction
  @digital_video_only_content_restriction
end

#explicit_analog_television_output_restrictionContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.



30
31
32
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 30

def explicit_analog_television_output_restriction
  @explicit_analog_television_output_restriction
end

#first_play_expirationDuration

the license is first used to play content.

Returns:

  • (Duration)

    The amount of time that the license is valid after



17
18
19
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 17

def first_play_expiration
  @first_play_expiration
end

#image_constraint_for_analog_component_video_restrictionBoolean

Video Restriction in the license.

Returns:

  • (Boolean)

    Enables the Image Constraint For Analog Component



38
39
40
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 38

def image_constraint_for_analog_component_video_restriction
  @image_constraint_for_analog_component_video_restriction
end

#image_constraint_for_analog_computer_monitor_restrictionBoolean

Video Restriction in the license.

Returns:

  • (Boolean)

    Enables the Image Constraint For Analog Component



42
43
44
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 42

def image_constraint_for_analog_computer_monitor_restriction
  @image_constraint_for_analog_computer_monitor_restriction
end

#scms_restrictionInteger

in the license. Must be between 0 and 3 inclusive.

Returns:

  • (Integer)

    Configures the Serial Copy Management System (SCMS)



21
22
23
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 21

def scms_restriction
  @scms_restriction
end

#uncompressed_digital_audio_oplInteger

uncompressed digital audio.

Returns:

  • (Integer)

    Specifies the output protection level for



68
69
70
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 68

def uncompressed_digital_audio_opl
  @uncompressed_digital_audio_opl
end

#uncompressed_digital_video_oplInteger

uncompressed digital video.

Returns:

  • (Integer)

    Specifies the output protection level for



52
53
54
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 52

def uncompressed_digital_video_opl
  @uncompressed_digital_video_opl
end

Class Method Details

.mapperObject

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



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb', line 75

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContentKeyPolicyPlayReadyPlayRight',
    type: {
      name: 'Composite',
      class_name: 'ContentKeyPolicyPlayReadyPlayRight',
      model_properties: {
        first_play_expiration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'firstPlayExpiration',
          type: {
            name: 'TimeSpan'
          }
        },
        scms_restriction: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scmsRestriction',
          type: {
            name: 'Number'
          }
        },
        agc_and_color_stripe_restriction: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agcAndColorStripeRestriction',
          type: {
            name: 'Number'
          }
        },
        explicit_analog_television_output_restriction: {
          client_side_validation: true,
          required: false,
          serialized_name: 'explicitAnalogTelevisionOutputRestriction',
          type: {
            name: 'Composite',
            class_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction'
          }
        },
        digital_video_only_content_restriction: {
          client_side_validation: true,
          required: true,
          serialized_name: 'digitalVideoOnlyContentRestriction',
          type: {
            name: 'Boolean'
          }
        },
        image_constraint_for_analog_component_video_restriction: {
          client_side_validation: true,
          required: true,
          serialized_name: 'imageConstraintForAnalogComponentVideoRestriction',
          type: {
            name: 'Boolean'
          }
        },
        image_constraint_for_analog_computer_monitor_restriction: {
          client_side_validation: true,
          required: true,
          serialized_name: 'imageConstraintForAnalogComputerMonitorRestriction',
          type: {
            name: 'Boolean'
          }
        },
        allow_passing_video_content_to_unknown_output: {
          client_side_validation: true,
          required: true,
          serialized_name: 'allowPassingVideoContentToUnknownOutput',
          type: {
            name: 'String'
          }
        },
        uncompressed_digital_video_opl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'uncompressedDigitalVideoOpl',
          type: {
            name: 'Number'
          }
        },
        compressed_digital_video_opl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'compressedDigitalVideoOpl',
          type: {
            name: 'Number'
          }
        },
        analog_video_opl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'analogVideoOpl',
          type: {
            name: 'Number'
          }
        },
        compressed_digital_audio_opl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'compressedDigitalAudioOpl',
          type: {
            name: 'Number'
          }
        },
        uncompressed_digital_audio_opl: {
          client_side_validation: true,
          required: false,
          serialized_name: 'uncompressedDigitalAudioOpl',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end