Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb
Overview
Properties of the Streaming Locator.
Instance Attribute Summary collapse
-
#asset_name ⇒ String
Asset Name.
-
#created ⇒ DateTime
The creation time of the Streaming Locator.
-
#default_content_key_policy_name ⇒ String
Streaming Locator.
-
#end_time ⇒ DateTime
The end time of the Streaming Locator.
-
#name ⇒ String
Streaming Locator name.
-
#start_time ⇒ DateTime
The start time of the Streaming Locator.
-
#streaming_locator_id ⇒ Object
StreamingLocatorId of the Streaming Locator.
-
#streaming_policy_name ⇒ String
Locator.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AssetStreamingLocator class as Ruby Hash.
Instance Attribute Details
#asset_name ⇒ String
Returns Asset Name.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 19 def asset_name @asset_name end |
#created ⇒ DateTime
Returns The creation time of the Streaming Locator.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 22 def created @created end |
#default_content_key_policy_name ⇒ String
Streaming Locator.
39 40 41 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 39 def default_content_key_policy_name @default_content_key_policy_name end |
#end_time ⇒ DateTime
Returns The end time of the Streaming Locator.
28 29 30 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 28 def end_time @end_time end |
#name ⇒ String
Returns Streaming Locator name.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 16 def name @name end |
#start_time ⇒ DateTime
Returns The start time of the Streaming Locator.
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 25 def start_time @start_time end |
#streaming_locator_id ⇒ Object
Returns StreamingLocatorId of the Streaming Locator.
31 32 33 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 31 def streaming_locator_id @streaming_locator_id end |
#streaming_policy_name ⇒ String
Locator.
35 36 37 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 35 def streaming_policy_name @streaming_policy_name end |
Class Method Details
.mapper ⇒ Object
Mapper for AssetStreamingLocator 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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb', line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AssetStreamingLocator', type: { name: 'Composite', class_name: 'AssetStreamingLocator', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, asset_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assetName', type: { name: 'String' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'DateTime' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', type: { name: 'DateTime' } }, streaming_locator_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'streamingLocatorId', type: { name: 'String' } }, streaming_policy_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'streamingPolicyName', type: { name: 'String' } }, default_content_key_policy_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultContentKeyPolicyName', type: { name: 'String' } } } } } end |