Sha256: 298e97a2f35e038d2863f78a8020fa0f40de278142ab982da233167c419652f7
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 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::CDN::Mgmt::V2020_09_01 module Models # # Model object. # # class WafRankingsResponseDataItemMetricsItem include MsRestAzure # @return [String] attr_accessor :metric # @return [Integer] attr_accessor :value # @return [Float] attr_accessor :percentage # # Mapper for WafRankingsResponseDataItemMetricsItem class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WafRankingsResponse_dataItem_metricsItem', type: { name: 'Composite', class_name: 'WafRankingsResponseDataItemMetricsItem', model_properties: { metric: { client_side_validation: true, required: false, serialized_name: 'metric', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Number' } }, percentage: { client_side_validation: true, required: false, serialized_name: 'percentage', type: { name: 'Double' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems