# 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
    #
    # Reference objects for custom activity
    #
    class CustomActivityReferenceObject

      include MsRestAzure

      # @return [Array<LinkedServiceReference>] Linked service references.
      attr_accessor :linked_services

      # @return [Array<DatasetReference>] Dataset references.
      attr_accessor :datasets


      #
      # Mapper for CustomActivityReferenceObject class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CustomActivityReferenceObject',
          type: {
            name: 'Composite',
            class_name: 'CustomActivityReferenceObject',
            model_properties: {
              linked_services: {
                client_side_validation: true,
                required: false,
                serialized_name: 'linkedServices',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'LinkedServiceReferenceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'LinkedServiceReference'
                      }
                  }
                }
              },
              datasets: {
                client_side_validation: true,
                required: false,
                serialized_name: 'datasets',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DatasetReferenceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DatasetReference'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
