# 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::MachineLearningServices::Mgmt::V2018_11_19
  module Models
    #
    # Compute nodes information related to a Machine Learning compute. Might
    # differ for every type of compute.
    #
    class ComputeNodesInformation

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["AmlCompute"] = "AmlComputeNodesInformation"

      def initialize
        @computeType = "ComputeNodesInformation"
      end

      attr_accessor :computeType

      # @return [String] The continuation token.
      attr_accessor :next_link


      #
      # Mapper for ComputeNodesInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ComputeNodesInformation',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'computeType',
            uber_parent: 'ComputeNodesInformation',
            class_name: 'ComputeNodesInformation',
            model_properties: {
              next_link: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'nextLink',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
