# 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
    #
    # Activity dependency information.
    #
    class ActivityDependency

      include MsRestAzure

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

      # @return [String] Activity name.
      attr_accessor :activity

      # @return [Array<DependencyCondition>] Match-Condition for the
      # dependency.
      attr_accessor :dependency_conditions


      #
      # Mapper for ActivityDependency class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ActivityDependency',
          type: {
            name: 'Composite',
            class_name: 'ActivityDependency',
            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'
                      }
                  }
                }
              },
              activity: {
                client_side_validation: true,
                required: true,
                serialized_name: 'activity',
                type: {
                  name: 'String'
                }
              },
              dependency_conditions: {
                client_side_validation: true,
                required: true,
                serialized_name: 'dependencyConditions',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DependencyConditionElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
