Class: Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/query_experience.rb
Overview
Class representing a Traffic Manager HeatMap query experience properties.
Instance Attribute Summary collapse
-
#endpoint_id ⇒ Integer
which these queries were routed to.
-
#latency ⇒ Float
this location.
-
#query_count ⇒ Integer
The number of queries originating from this location.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for QueryExperience class as Ruby Hash.
Instance Attribute Details
#endpoint_id ⇒ Integer
which these queries were routed to.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/query_experience.rb', line 17 def endpoint_id @endpoint_id end |
#latency ⇒ Float
this location.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/query_experience.rb', line 24 def latency @latency end |
#query_count ⇒ Integer
Returns The number of queries originating from this location.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/query_experience.rb', line 20 def query_count @query_count end |
Class Method Details
.mapper ⇒ Object
Mapper for QueryExperience class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/query_experience.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'QueryExperience', type: { name: 'Composite', class_name: 'QueryExperience', model_properties: { endpoint_id: { client_side_validation: true, required: true, serialized_name: 'endpointId', type: { name: 'Number' } }, query_count: { client_side_validation: true, required: true, serialized_name: 'queryCount', type: { name: 'Number' } }, latency: { client_side_validation: true, required: false, serialized_name: 'latency', type: { name: 'Double' } } } } } end |