Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb
Overview
Base type for all Presets, which define the recipe or instructions on how the input media files should be processed.
Direct Known Subclasses
AudioAnalyzerPreset, BuiltInStandardEncoderPreset, StandardEncoderPreset
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Preset class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Preset
constructor
A new instance of Preset.
Constructor Details
#initialize ⇒ Preset
Returns a new instance of Preset.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb', line 22 def initialize @odatatype = "Preset" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
26 27 28 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb', line 26 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for Preset class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Preset', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'Preset', class_name: 'Preset', model_properties: { } } } end |