Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb
Overview
An Asset.
Instance Attribute Summary collapse
-
#alternate_id ⇒ String
The alternate ID of the Asset.
-
#asset_id ⇒ Object
The Asset ID.
-
#container ⇒ String
The name of the asset blob container.
-
#created ⇒ DateTime
The creation date of the Asset.
-
#description ⇒ String
The Asset description.
-
#last_modified ⇒ DateTime
The last modified date of the Asset.
-
#storage_account_name ⇒ String
The name of the storage account.
-
#storage_encryption_format ⇒ AssetStorageEncryptionFormat
of None or MediaStorageEncryption.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Asset class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#alternate_id ⇒ String
Returns The alternate ID of the Asset.
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 25 def alternate_id @alternate_id end |
#asset_id ⇒ Object
Returns The Asset ID.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 16 def asset_id @asset_id end |
#container ⇒ String
Returns The name of the asset blob container.
31 32 33 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 31 def container @container end |
#created ⇒ DateTime
Returns The creation date of the Asset.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 19 def created @created end |
#description ⇒ String
Returns The Asset description.
28 29 30 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 28 def description @description end |
#last_modified ⇒ DateTime
Returns The last modified date of the Asset.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 22 def last_modified @last_modified end |
#storage_account_name ⇒ String
Returns The name of the storage account.
34 35 36 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 34 def storage_account_name @storage_account_name end |
#storage_encryption_format ⇒ AssetStorageEncryptionFormat
of None or MediaStorageEncryption. Possible values include: ‘None’, ‘MediaStorageClientEncryption’
39 40 41 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 39 def storage_encryption_format @storage_encryption_format end |
Class Method Details
.mapper ⇒ Object
Mapper for Asset class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Asset', type: { name: 'Composite', class_name: 'Asset', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, asset_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.assetId', type: { name: 'String' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', type: { name: 'DateTime' } }, last_modified: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', type: { name: 'DateTime' } }, alternate_id: { client_side_validation: true, required: false, serialized_name: 'properties.alternateId', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, container: { client_side_validation: true, required: false, serialized_name: 'properties.container', type: { name: 'String' } }, storage_account_name: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountName', type: { name: 'String' } }, storage_encryption_format: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.storageEncryptionFormat', type: { name: 'String' } } } } } end |