Class: Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb

Overview

Details on latency for a time series.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#scoreInteger

values indicating a faster connection.

Returns:

  • (Integer)

    The relative latency score between 1 and 100, higher


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb', line 20

def score
  @score
end

#time_stampDateTime

Returns The time stamp.

Returns:

  • (DateTime)

    The time stamp.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb', line 16

def time_stamp
  @time_stamp
end

Class Method Details

.mapperObject

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


27
28
29
30
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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureReachabilityReportLatencyInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureReachabilityReportLatencyInfo',
      model_properties: {
        time_stamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeStamp',
          type: {
            name: 'DateTime'
          }
        },
        score: {
          client_side_validation: true,
          required: false,
          serialized_name: 'score',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end