Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb
Overview
The properties of the Content Key Policy.
Instance Attribute Summary collapse
-
#created ⇒ DateTime
The creation date of the Policy.
-
#description ⇒ String
A description for the Policy.
-
#last_modified ⇒ DateTime
The last modified date of the Policy.
-
#options ⇒ Array<ContentKeyPolicyOption>
The Key Policy options.
-
#policy_id ⇒ Object
The legacy Policy ID.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicyProperties class as Ruby Hash.
Instance Attribute Details
#created ⇒ DateTime
Returns The creation date of the Policy.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 19 def created @created end |
#description ⇒ String
Returns A description for the Policy.
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 25 def description @description end |
#last_modified ⇒ DateTime
Returns The last modified date of the Policy.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 22 def last_modified @last_modified end |
#options ⇒ Array<ContentKeyPolicyOption>
Returns The Key Policy options.
28 29 30 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 28 def @options end |
#policy_id ⇒ Object
Returns The legacy Policy ID.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 16 def policy_id @policy_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicyProperties class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyProperties', type: { name: 'Composite', class_name: 'ContentKeyPolicyProperties', model_properties: { policy_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'policyId', type: { name: 'String' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'DateTime' } }, last_modified: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', type: { name: 'DateTime' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, options: { client_side_validation: true, required: true, serialized_name: 'options', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyOptionElementType', type: { name: 'Composite', class_name: 'ContentKeyPolicyOption' } } } } } } } end |