# 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::V2017_09_01_preview
  module Models
    #
    # Factory's VSTS repo information.
    #
    class FactoryRepoUpdate

      include MsRestAzure

      # @return [String] The factory resource id.
      attr_accessor :factory_resource_id

      # @return [String] The resource group name.
      attr_accessor :resource_group_name

      # @return [FactoryVSTSConfiguration] VSTS repo information of the
      # factory.
      attr_accessor :vsts_configuration


      #
      # Mapper for FactoryRepoUpdate class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FactoryRepoUpdate',
          type: {
            name: 'Composite',
            class_name: 'FactoryRepoUpdate',
            model_properties: {
              factory_resource_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'factoryResourceId',
                type: {
                  name: 'String'
                }
              },
              resource_group_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resourceGroupName',
                type: {
                  name: 'String'
                }
              },
              vsts_configuration: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vstsConfiguration',
                type: {
                  name: 'Composite',
                  class_name: 'FactoryVSTSConfiguration'
                }
              }
            }
          }
        }
      end
    end
  end
end
