Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::Format
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::Format
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/format.rb
Overview
Base class for output.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#filename_pattern ⇒ String
files.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Format class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Format
constructor
A new instance of Format.
Constructor Details
#initialize ⇒ Format
Returns a new instance of Format.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/format.rb', line 23 def initialize @odatatype = "Format" end |
Instance Attribute Details
#filename_pattern ⇒ String
files. The following macros are supported in the file name: Basename
-
The base name of the input video Extension - The appropriate
extension for this format. Label - The label assigned to the codec/layer. Index - A unique index for thumbnails. Only applicable to thumbnails. Bitrate - The audio/video bitrate. Not applicable to thumbnails. Codec - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename.
37 38 39 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/format.rb', line 37 def filename_pattern @filename_pattern end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
27 28 29 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/format.rb', line 27 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for Format class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/format.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Format', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'Format', class_name: 'Format', model_properties: { filename_pattern: { client_side_validation: true, required: true, serialized_name: 'filenamePattern', type: { name: 'String' } } } } } end |