Sha256: 994425afcabdbbb262c30608ca22d7a075198b0db010adbddba4c75a02587b85

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 KB

Contents

# 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::Security::Mgmt::V2020_01_01
  module Models
    #
    # The result of the assessment
    #
    class AssessmentStatus

      include MsRestAzure

      # @return [AssessmentStatusCode] Programmatic code for the status of the
      # assessment. Possible values include: 'Healthy', 'Unhealthy',
      # 'NotApplicable'
      attr_accessor :code

      # @return [String] Programmatic code for the cause of the assessment
      # status
      attr_accessor :cause

      # @return [String] Human readable description of the assessment status
      attr_accessor :description


      #
      # Mapper for AssessmentStatus class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AssessmentStatus',
          type: {
            name: 'Composite',
            class_name: 'AssessmentStatus',
            model_properties: {
              code: {
                client_side_validation: true,
                required: true,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              cause: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cause',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb
azure_mgmt_security-0.18.2 lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb