Sha256: 5604633b59b8f193c35c63cee400a6db209e4b9f27ee65ed09b85f6730e02625

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MediaServices::Mgmt::V2019_05_01_preview
  module Models
    #
    # Describes a list of inputs to a Job.
    #
    class JobInputs < JobInput

      include MsRestAzure


      def initialize
        @odatatype = "#Microsoft.Media.JobInputs"
      end

      attr_accessor :odatatype

      # @return [Array<JobInput>] List of inputs to a Job.
      attr_accessor :inputs


      #
      # Mapper for JobInputs class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.JobInputs',
          type: {
            name: 'Composite',
            class_name: 'JobInputs',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              },
              inputs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'inputs',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'JobInputElementType',
                      type: {
                        name: 'Composite',
                        polymorphic_discriminator: '@odata.type',
                        uber_parent: 'JobInput',
                        class_name: 'JobInput'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.0 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb
azure_mgmt_media_services-0.20.1 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb
azure_mgmt_media_services-0.20.0 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb
azure_mgmt_media_services-0.19.1 lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb