# 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
    #
    # Data flow debug session info.
    #
    class DataFlowDebugSessionInfo

      include MsRestAzure

      # @return Unmatched properties from the message are deserialized this
      # collection
      attr_accessor :additional_properties

      # @return [String] The name of the data flow.
      attr_accessor :data_flow_name

      # @return [String] Compute type of the cluster.
      attr_accessor :compute_type

      # @return [Integer] Core count of the cluster.
      attr_accessor :core_count

      # @return [Integer] Node count of the cluster. (deprecated property)
      attr_accessor :node_count

      # @return [String] Attached integration runtime name of data flow debug
      # session.
      attr_accessor :integration_runtime_name

      # @return [String] The ID of data flow debug session.
      attr_accessor :session_id

      # @return [String] Start time of data flow debug session.
      attr_accessor :start_time

      # @return [Integer] Compute type of the cluster.
      attr_accessor :time_to_live_in_minutes

      # @return [String] Last activity time of data flow debug session.
      attr_accessor :last_activity_time


      #
      # Mapper for DataFlowDebugSessionInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DataFlowDebugSessionInfo',
          type: {
            name: 'Composite',
            class_name: 'DataFlowDebugSessionInfo',
            model_properties: {
              additional_properties: {
                client_side_validation: true,
                required: false,
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ObjectElementType',
                      type: {
                        name: 'Object'
                      }
                  }
                }
              },
              data_flow_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'dataFlowName',
                type: {
                  name: 'String'
                }
              },
              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'
                }
              },
              node_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'nodeCount',
                type: {
                  name: 'Number'
                }
              },
              integration_runtime_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'integrationRuntimeName',
                type: {
                  name: 'String'
                }
              },
              session_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sessionId',
                type: {
                  name: 'String'
                }
              },
              start_time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'startTime',
                type: {
                  name: 'String'
                }
              },
              time_to_live_in_minutes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'timeToLiveInMinutes',
                type: {
                  name: 'Number'
                }
              },
              last_activity_time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'lastActivityTime',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
