Class: Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
- Inherits:
-
Object
- Object
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb
Overview
Metadata for search results.
Instance Attribute Summary collapse
-
#aggregated_grouping_fields ⇒ String
The aggregated grouping fields.
-
#aggregated_value_field ⇒ String
The aggregated value field.
-
#core_summaries ⇒ Array<CoreSummary>
The core summaries.
-
#e_tag ⇒ String
The ETag of the search results.
-
#id ⇒ String
The id of the search results request.
-
#last_updated ⇒ DateTime
The time of last update.
-
#max ⇒ Integer
The max of all aggregates returned in the result set.
-
#request_time ⇒ Integer
The request time.
-
#result_type ⇒ String
The search result type.
-
#schema ⇒ SearchMetadataSchema
The schema.
-
#search_id ⇒ String
The request id of the search.
-
#sort ⇒ Array<SearchSort>
How the results are sorted.
-
#start_time ⇒ DateTime
The start time for the search.
-
#status ⇒ String
The status of the search results.
-
#sum ⇒ Integer
The sum of all aggregates returned in the result set.
-
#top ⇒ Integer
The number of top search results.
-
#total ⇒ Integer
The total number of search results.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SearchMetadata class as Ruby Hash.
Instance Attribute Details
#aggregated_grouping_fields ⇒ String
Returns The aggregated grouping fields.
55 56 57 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 55 def aggregated_grouping_fields @aggregated_grouping_fields end |
#aggregated_value_field ⇒ String
Returns The aggregated value field.
52 53 54 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 52 def aggregated_value_field @aggregated_value_field end |
#core_summaries ⇒ Array<CoreSummary>
Returns The core summaries.
31 32 33 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 31 def core_summaries @core_summaries end |
#e_tag ⇒ String
Returns The ETag of the search results.
43 44 45 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 43 def e_tag @e_tag end |
#id ⇒ String
Returns The id of the search results request.
28 29 30 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 28 def id @id end |
#last_updated ⇒ DateTime
Returns The time of last update.
40 41 42 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 40 def last_updated @last_updated end |
#max ⇒ Integer
Returns The max of all aggregates returned in the result set.
61 62 63 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 61 def max @max end |
#request_time ⇒ Integer
Returns The request time.
49 50 51 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 49 def request_time @request_time end |
#result_type ⇒ String
Returns The search result type.
19 20 21 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 19 def result_type @result_type end |
#schema ⇒ SearchMetadataSchema
Returns The schema.
64 65 66 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 64 def schema @schema end |
#search_id ⇒ String
Returns The request id of the search.
16 17 18 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 16 def search_id @search_id end |
#sort ⇒ Array<SearchSort>
Returns How the results are sorted.
46 47 48 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 46 def sort @sort end |
#start_time ⇒ DateTime
Returns The start time for the search.
37 38 39 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 37 def start_time @start_time end |
#status ⇒ String
Returns The status of the search results.
34 35 36 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 34 def status @status end |
#sum ⇒ Integer
Returns The sum of all aggregates returned in the result set.
58 59 60 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 58 def sum @sum end |
#top ⇒ Integer
Returns The number of top search results.
25 26 27 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 25 def top @top end |
#total ⇒ Integer
Returns The total number of search results.
22 23 24 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 22 def total @total end |
Class Method Details
.mapper ⇒ Object
Mapper for SearchMetadata class as Ruby Hash. This will be used for serialization/deserialization.
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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb', line 71 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SearchMetadata', type: { name: 'Composite', class_name: 'SearchMetadata', model_properties: { search_id: { client_side_validation: true, required: false, serialized_name: 'requestId', type: { name: 'String' } }, result_type: { client_side_validation: true, required: false, serialized_name: 'resultType', type: { name: 'String' } }, total: { client_side_validation: true, required: false, serialized_name: 'total', type: { name: 'Number' } }, top: { client_side_validation: true, required: false, serialized_name: 'top', type: { name: 'Number' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, core_summaries: { client_side_validation: true, required: false, serialized_name: 'coreSummaries', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'CoreSummaryElementType', type: { name: 'Composite', class_name: 'CoreSummary' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, last_updated: { client_side_validation: true, required: false, serialized_name: 'lastUpdated', type: { name: 'DateTime' } }, e_tag: { client_side_validation: true, required: false, serialized_name: 'eTag', type: { name: 'String' } }, sort: { client_side_validation: true, required: false, serialized_name: 'sort', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SearchSortElementType', type: { name: 'Composite', class_name: 'SearchSort' } } } }, request_time: { client_side_validation: true, required: false, serialized_name: 'requestTime', type: { name: 'Number' } }, aggregated_value_field: { client_side_validation: true, required: false, serialized_name: 'aggregatedValueField', type: { name: 'String' } }, aggregated_grouping_fields: { client_side_validation: true, required: false, serialized_name: 'aggregatedGroupingFields', type: { name: 'String' } }, sum: { client_side_validation: true, required: false, serialized_name: 'sum', type: { name: 'Number' } }, max: { client_side_validation: true, required: false, serialized_name: 'max', type: { name: 'Number' } }, schema: { client_side_validation: true, required: false, serialized_name: 'schema', type: { name: 'Composite', class_name: 'SearchMetadataSchema' } } } } } end |