Class: Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb
Overview
Class representing a Traffic Manager HeatMap traffic flow properties.
Instance Attribute Summary collapse
-
#latitude ⇒ Float
from.
-
#longitude ⇒ Float
from.
-
#query_experiences ⇒ Array<QueryExperience>
HeatMap calculation.
-
#source_ip ⇒ String
from.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TrafficFlow class as Ruby Hash.
Instance Attribute Details
#latitude ⇒ Float
from.
21 22 23 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb', line 21 def latitude @latitude end |
#longitude ⇒ Float
from.
25 26 27 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb', line 25 def longitude @longitude end |
#query_experiences ⇒ Array<QueryExperience>
HeatMap calculation.
29 30 31 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb', line 29 def query_experiences @query_experiences end |
#source_ip ⇒ String
from.
17 18 19 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb', line 17 def source_ip @source_ip end |
Class Method Details
.mapper ⇒ Object
Mapper for TrafficFlow class as Ruby Hash. This will be used for serialization/deserialization.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TrafficFlow', type: { name: 'Composite', class_name: 'TrafficFlow', model_properties: { source_ip: { client_side_validation: true, required: false, serialized_name: 'sourceIp', type: { name: 'String' } }, latitude: { client_side_validation: true, required: false, serialized_name: 'latitude', type: { name: 'Double' } }, longitude: { client_side_validation: true, required: false, serialized_name: 'longitude', type: { name: 'Double' } }, query_experiences: { client_side_validation: true, required: false, serialized_name: 'queryExperiences', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'QueryExperienceElementType', type: { name: 'Composite', class_name: 'QueryExperience' } } } } } } } end |