Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip
- Inherits:
-
JobInput
- Object
- JobInput
- Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb
Overview
Represents input files for a Job.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#end_property ⇒ ClipTime
at which processing will end.
-
#files ⇒ Array<String>
Maximum of 4000 characters each.
-
#label ⇒ String
used to satisfy a reference used in the Transform.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#start ⇒ ClipTime
at which processing will start.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobInputClip class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ JobInputClip
constructor
A new instance of JobInputClip.
Constructor Details
#initialize ⇒ JobInputClip
Returns a new instance of JobInputClip.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 16 def initialize @odatatype = "#Microsoft.Media.JobInputClip" end |
Instance Attribute Details
#end_property ⇒ ClipTime
at which processing will end. Defaults to the end of the input media.
33 34 35 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 33 def end_property @end_property end |
#files ⇒ Array<String>
Maximum of 4000 characters each.
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 24 def files @files end |
#label ⇒ String
used 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’.
41 42 43 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 41 def label @label end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 20 def odatatype @odatatype end |
#start ⇒ ClipTime
at which processing will start. Defaults to the beginning of the input media.
29 30 31 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 29 def start @start end |
Class Method Details
.mapper ⇒ Object
Mapper for JobInputClip class as Ruby Hash. This will be used for serialization/deserialization.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobInputClip', type: { name: 'Composite', class_name: 'JobInputClip', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, files: { client_side_validation: true, required: false, serialized_name: 'files', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, start: { client_side_validation: true, required: false, serialized_name: 'start', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ClipTime', class_name: 'ClipTime' } }, end_property: { client_side_validation: true, required: false, serialized_name: 'end', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ClipTime', class_name: 'ClipTime' } }, label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } } } } } end |