# 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::Web::Mgmt::V2020_09_01 module Models # # Class Representing Detector Evidence used for analysis # class AnalysisData include MsRestAzure # @return [String] Name of the Detector attr_accessor :source # @return [DetectorDefinition] Detector Definition attr_accessor :detector_definition # @return [Array] Source Metrics attr_accessor :metrics # @return [Array>] Additional Source Data attr_accessor :data # @return [ResponseMetaData] Detector Meta Data attr_accessor :detector_meta_data # # Mapper for AnalysisData class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AnalysisData', type: { name: 'Composite', class_name: 'AnalysisData', model_properties: { source: { client_side_validation: true, required: false, serialized_name: 'source', type: { name: 'String' } }, detector_definition: { client_side_validation: true, required: false, serialized_name: 'detectorDefinition', type: { name: 'Composite', class_name: 'DetectorDefinition' } }, metrics: { client_side_validation: true, required: false, serialized_name: 'metrics', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DiagnosticMetricSetElementType', type: { name: 'Composite', class_name: 'DiagnosticMetricSet' } } } }, data: { client_side_validation: true, required: false, serialized_name: 'data', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NameValuePairElementType', type: { name: 'Composite', class_name: 'NameValuePair' } } } } } }, detector_meta_data: { client_side_validation: true, required: false, serialized_name: 'detectorMetaData', type: { name: 'Composite', class_name: 'ResponseMetaData' } } } } } end end end end