# 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::RecoveryServices::Mgmt::V2016_06_01
  module Models
    #
    # Summary of the replication job data for this vault.
    #
    class JobsSummary

      include MsRestAzure

      # @return [Integer] Count of failed jobs.
      attr_accessor :failed_jobs

      # @return [Integer] Count of suspended jobs.
      attr_accessor :suspended_jobs

      # @return [Integer] Count of in-progress jobs.
      attr_accessor :in_progress_jobs


      #
      # Mapper for JobsSummary class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'JobsSummary',
          type: {
            name: 'Composite',
            class_name: 'JobsSummary',
            model_properties: {
              failed_jobs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'failedJobs',
                type: {
                  name: 'Number'
                }
              },
              suspended_jobs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'suspendedJobs',
                type: {
                  name: 'Number'
                }
              },
              in_progress_jobs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'inProgressJobs',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
