Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobOutputAsset
- Inherits:
-
JobOutput
- Object
- JobOutput
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobOutputAsset
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb
Overview
Represents an Asset used as a JobOutput.
Instance Attribute Summary collapse
-
#asset_name ⇒ String
The name of the output Asset.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Attributes inherited from JobOutput
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobOutputAsset class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ JobOutputAsset
constructor
A new instance of JobOutputAsset.
Constructor Details
#initialize ⇒ JobOutputAsset
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb', line 16 def initialize @odatatype = "#Microsoft.Media.JobOutputAsset" end |
Instance Attribute Details
#asset_name ⇒ String
23 24 25 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb', line 23 def asset_name @asset_name end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb', line 20 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for JobOutputAsset 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 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 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobOutputAsset', type: { name: 'Composite', class_name: 'JobOutputAsset', model_properties: { error: { client_side_validation: true, required: false, read_only: true, serialized_name: 'error', type: { name: 'Composite', class_name: 'JobError' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'Enum', module: 'JobState' } }, progress: { client_side_validation: true, required: false, read_only: true, serialized_name: 'progress', type: { name: 'Number' } }, odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, asset_name: { client_side_validation: true, required: true, serialized_name: 'assetName', type: { name: 'String' } } } } } end |