Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransformOutput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb

Overview

Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#on_errorOnErrorType

This property defines what the service should do when one output fails

  • either continue to produce other outputs, or, stop the other outputs.

The default is stop. Possible values include: ‘StopProcessingJob’, ‘ContinueJob’

Returns:

  • (OnErrorType)

    A Transform can define more than one outputs.



21
22
23
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb', line 21

def on_error
  @on_error
end

#presetPreset

to modify, transcode, or extract insights from the source file to generate the output.

Returns:

  • (Preset)

    Preset that describes the operations that will be used



32
33
34
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb', line 32

def preset
  @preset
end

#relative_priorityPriority

within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal. Possible values include: ‘Low’, ‘Normal’, ‘High’

Returns:

  • (Priority)

    Sets the relative priority of the TransformOutputs



27
28
29
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb', line 27

def relative_priority
  @relative_priority
end

Class Method Details

.mapperObject

Mapper for TransformOutput class as Ruby Hash. This will be used for serialization/deserialization.



39
40
41
42
43
44
45
46
47
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TransformOutput',
    type: {
      name: 'Composite',
      class_name: 'TransformOutput',
      model_properties: {
        on_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'onError',
          type: {
            name: 'Enum',
            module: 'OnErrorType'
          }
        },
        relative_priority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'relativePriority',
          type: {
            name: 'Enum',
            module: 'Priority'
          }
        },
        preset: {
          client_side_validation: true,
          required: true,
          serialized_name: 'preset',
          type: {
            name: 'Composite',
            polymorphic_discriminator: '@odata.type',
            uber_parent: 'Preset',
            class_name: 'Preset'
          }
        }
      }
    }
  }
end