Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::Preset
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::Preset
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/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, FaceDetectorPreset, 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.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb', line 23 def initialize @odatatype = "Preset" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
27 28 29 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb', line 27 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for Preset class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb', line 34 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 |