class Azure::Network::Mgmt::V2017_09_01::Models::AzureReachabilityReportLatencyInfo

Details on latency for a time series.

Attributes

score[RW]

@return [Integer] The relative latency score between 1 and 100, higher values indicating a faster connection.

time_stamp[RW]

@return [DateTime] The time stamp.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb, line 26
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