Sha256: 66681680c651346f276800d3a5af76f2348620a70b1a7a8be45cae13cc2ce408

Contents?: true

Size: 1.68 KB

Versions: 31

Compression:

Stored size: 1.68 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Network::Mgmt::V2018_07_01
  module Models
    #
    # Details on latency for a time series.
    #
    class AzureReachabilityReportLatencyInfo

      include MsRestAzure

      # @return [DateTime] The time stamp.
      attr_accessor :time_stamp

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


      #
      # Mapper for AzureReachabilityReportLatencyInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.5 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.4 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.3 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.2 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.1 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.18.0 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.17.4 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.17.3 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.17.2 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb
azure_mgmt_network-0.17.1 lib/2018-07-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb