Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey
- Inherits:
-
ContentKeyPolicyRestrictionTokenKey
- Object
- ContentKeyPolicyRestrictionTokenKey
- Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb
Overview
Specifies a symmetric key for token validation.
Instance Attribute Summary collapse
-
#key_value ⇒ Array<Integer>
The key value of the key.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicySymmetricTokenKey class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ContentKeyPolicySymmetricTokenKey
constructor
A new instance of ContentKeyPolicySymmetricTokenKey.
Constructor Details
#initialize ⇒ ContentKeyPolicySymmetricTokenKey
Returns a new instance of ContentKeyPolicySymmetricTokenKey.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb', line 16 def initialize @odatatype = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey" end |
Instance Attribute Details
#key_value ⇒ Array<Integer>
Returns The key value of the key.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb', line 23 def key_value @key_value end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb', line 20 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicySymmetricTokenKey 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-07-01/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb', line 30 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 |