Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Preset

Inherits:
Object
  • Object
show all
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.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePreset

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

#odatatypeObject

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

.mapperObject

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