Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInput
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobInput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb
Overview
Base class for inputs to a Job.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#label ⇒ String
to satisfy a reference used in the Transform.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobInput class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ JobInput
constructor
A new instance of JobInput.
Constructor Details
#initialize ⇒ JobInput
Returns a new instance of JobInput.
21 22 23 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb', line 21 def initialize @odatatype = "JobInput" end |
Instance Attribute Details
#label ⇒ String
to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label ‘xyz’ and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label ‘xyz’.
33 34 35 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb', line 33 def label @label end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
25 26 27 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb', line 25 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for JobInput class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobInput', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'JobInput', class_name: 'JobInput', model_properties: { label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } } } } } end |