# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # Request body structure for creating data flow debug session.
    #
    class CreateDataFlowDebugSessionRequest

      include MsRestAzure

      # @return [String] Compute type of the cluster. The value will be
      # overwritten by the same setting in integration runtime if provided.
      attr_accessor :compute_type

      # @return [Integer] Core count of the cluster. The value will be
      # overwritten by the same setting in integration runtime if provided.
      attr_accessor :core_count

      # @return [Integer] Time to live setting of the cluster in minutes.
      attr_accessor :time_to_live

      # @return [IntegrationRuntimeDebugResource] Set to use integration
      # runtime setting for data flow debug session.
      attr_accessor :integration_runtime


      #
      # Mapper for CreateDataFlowDebugSessionRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreateDataFlowDebugSessionRequest',
          type: {
            name: 'Composite',
            class_name: 'CreateDataFlowDebugSessionRequest',
            model_properties: {
              compute_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'computeType',
                type: {
                  name: 'String'
                }
              },
              core_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'coreCount',
                type: {
                  name: 'Number'
                }
              },
              time_to_live: {
                client_side_validation: true,
                required: false,
                serialized_name: 'timeToLive',
                type: {
                  name: 'Number'
                }
              },
              integration_runtime: {
                client_side_validation: true,
                required: false,
                serialized_name: 'integrationRuntime',
                type: {
                  name: 'Composite',
                  class_name: 'IntegrationRuntimeDebugResource'
                }
              }
            }
          }
        }
      end
    end
  end
end
