# 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 starting data flow debug session.
    #
    class DataFlowDebugPackage

      include MsRestAzure

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

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

      # @return [DataFlowDebugResource] Data flow instance.
      attr_accessor :data_flow

      # @return [Array<DatasetDebugResource>] List of datasets.
      attr_accessor :datasets

      # @return [Array<LinkedServiceDebugResource>] List of linked services.
      attr_accessor :linked_services

      # @return [DataFlowStagingInfo] Staging info for debug session.
      attr_accessor :staging

      # @return [DataFlowDebugPackageDebugSettings] Data flow debug settings.
      attr_accessor :debug_settings


      #
      # Mapper for DataFlowDebugPackage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DataFlowDebugPackage',
          type: {
            name: 'Composite',
            class_name: 'DataFlowDebugPackage',
            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'
                      }
                  }
                }
              },
              session_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sessionId',
                type: {
                  name: 'String'
                }
              },
              data_flow: {
                client_side_validation: true,
                required: false,
                serialized_name: 'dataFlow',
                type: {
                  name: 'Composite',
                  class_name: 'DataFlowDebugResource'
                }
              },
              datasets: {
                client_side_validation: true,
                required: false,
                serialized_name: 'datasets',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DatasetDebugResourceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DatasetDebugResource'
                      }
                  }
                }
              },
              linked_services: {
                client_side_validation: true,
                required: false,
                serialized_name: 'linkedServices',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'LinkedServiceDebugResourceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'LinkedServiceDebugResource'
                      }
                  }
                }
              },
              staging: {
                client_side_validation: true,
                required: false,
                serialized_name: 'staging',
                type: {
                  name: 'Composite',
                  class_name: 'DataFlowStagingInfo'
                }
              },
              debug_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'debugSettings',
                type: {
                  name: 'Composite',
                  class_name: 'DataFlowDebugPackageDebugSettings'
                }
              }
            }
          }
        }
      end
    end
  end
end
