Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::Codec
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2020_05_01::Models::Codec
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-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.
27 28 29 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/codec.rb', line 27 def initialize @odatatype = "Codec" end |
Instance Attribute Details
#label ⇒ String
to control muxing behavior.
35 36 37 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/codec.rb', line 35 def label @label end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
31 32 33 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/codec.rb', line 31 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for Codec class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/codec.rb', line 42 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 |