# 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::ARM::Web module Models # # A class that describes the reason for a validation failure. # class VnetValidationFailureDetails < ProxyOnlyResource include MsRestAzure include MsRest::JSONable # @return [Boolean] A flag describing whether or not validation failed. attr_accessor :failed # @return [Array] A list of tests that failed # in the validation. attr_accessor :failed_tests # # Mapper for VnetValidationFailureDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VnetValidationFailureDetails', type: { name: 'Composite', class_name: 'VnetValidationFailureDetails', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, failed: { required: false, serialized_name: 'properties.failed', type: { name: 'Boolean' } }, failed_tests: { required: false, serialized_name: 'properties.failedTests', type: { name: 'Sequence', element: { required: false, serialized_name: 'VnetValidationTestFailureElementType', type: { name: 'Composite', class_name: 'VnetValidationTestFailure' } } } } } } } end end end end