Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/codec.rb
Overview
Describes the basic properties of all codecs.
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#label ⇒ String
to control muxing behavior.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Codec class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Codec
constructor
A new instance of Codec.
Constructor Details
#initialize ⇒ Codec
Returns a new instance of Codec.
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/codec.rb', line 26 def initialize @odatatype = "Codec" end |
Instance Attribute Details
#label ⇒ String
to control muxing behavior.
34 35 36 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/codec.rb', line 34 def label @label end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
30 31 32 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/codec.rb', line 30 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for Codec class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/codec.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Codec', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'Codec', class_name: 'Codec', model_properties: { label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } } } } } end |