Class: Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse

Inherits:
ProxyOnlyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb

Overview

Class representing Reponse from Diagnostic Detectors

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#abnormal_time_periodsArray<DetectorAbnormalTimePeriod>

found by the detector



32
33
34
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 32

def abnormal_time_periods
  @abnormal_time_periods
end

#dataArray<Array<NameValuePair>>

wants to send.



36
37
38
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 36

def data
  @data
end

#detector_definitionDetectorDefinition



25
26
27
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 25

def detector_definition
  @detector_definition
end

#end_timeDateTime



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 19

def end_time
  @end_time
end

#issue_detectedBoolean



22
23
24
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 22

def issue_detected
  @issue_detected
end

#metricsArray<DiagnosticMetricSet>



28
29
30
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 28

def metrics
  @metrics
end

#response_meta_dataResponseMetaData



39
40
41
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 39

def 
  
end

#start_timeDateTime



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 16

def start_time
  @start_time
end

Class Method Details

.mapperObject

Mapper for DiagnosticDetectorResponse class as Ruby Hash. This will be used for serialization/deserialization.



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb', line 46

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DiagnosticDetectorResponse',
    type: {
      name: 'Composite',
      class_name: 'DiagnosticDetectorResponse',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        issue_detected: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.issueDetected',
          type: {
            name: 'Boolean'
          }
        },
        detector_definition: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.detectorDefinition',
          type: {
            name: 'Composite',
            class_name: 'DetectorDefinition'
          }
        },
        metrics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.metrics',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DiagnosticMetricSetElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DiagnosticMetricSet'
                }
            }
          }
        },
        abnormal_time_periods: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.abnormalTimePeriods',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DetectorAbnormalTimePeriodElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DetectorAbnormalTimePeriod'
                }
            }
          }
        },
        data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.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'
                      }
                  }
                }
            }
          }
        },
        response_meta_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.responseMetaData',
          type: {
            name: 'Composite',
            class_name: 'ResponseMetaData'
          }
        }
      }
    }
  }
end