Sha256: abcd868f0bd083ff699d604d18d71b608565dbf4fa65a1e4a4c05eabe64e725f

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Performance monitor API response.
    #
    class PerfMonResponse

      include MsRestAzure

      # @return [String] The response code.
      attr_accessor :code

      # @return [String] The message.
      attr_accessor :message

      # @return [PerfMonSet] The performance monitor counters.
      attr_accessor :data


      #
      # Mapper for PerfMonResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PerfMonResponse',
          type: {
            name: 'Composite',
            class_name: 'PerfMonResponse',
            model_properties: {
              code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              },
              data: {
                client_side_validation: true,
                required: false,
                serialized_name: 'data',
                type: {
                  name: 'Composite',
                  class_name: 'PerfMonSet'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_response.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_response.rb