# 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::Compute::Mgmt::V2018_10_01
  module Models
    #
    # Response after calling a manual recovery walk
    #
    class RecoveryWalkResponse

      include MsRestAzure

      # @return [Boolean] Whether the recovery walk was performed
      attr_accessor :walk_performed

      # @return [Integer] The next update domain that needs to be walked. Null
      # means walk spanning all update domains has been completed
      attr_accessor :next_platform_update_domain


      #
      # Mapper for RecoveryWalkResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RecoveryWalkResponse',
          type: {
            name: 'Composite',
            class_name: 'RecoveryWalkResponse',
            model_properties: {
              walk_performed: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'walkPerformed',
                type: {
                  name: 'Boolean'
                }
              },
              next_platform_update_domain: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'nextPlatformUpdateDomain',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
