Sha256: 6ba3f222412201318664d0eb5c3300e4c95dfd82c983133902bc64f7955aec56

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 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::Monitor::Mgmt::V2015_05_01
  module Models
    #
    # Error associated with trying to create annotation with Id that already
    # exist
    #
    class AnnotationError

      include MsRestAzure

      # @return [String] Error detail code and explanation
      attr_accessor :code

      # @return [String] Error message
      attr_accessor :message

      # @return [InnerError]
      attr_accessor :innererror


      #
      # Mapper for AnnotationError class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AnnotationError',
          type: {
            name: 'Composite',
            class_name: 'AnnotationError',
            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'
                }
              },
              innererror: {
                client_side_validation: true,
                required: false,
                serialized_name: 'innererror',
                type: {
                  name: 'Composite',
                  class_name: 'InnerError'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb
azure_mgmt_monitor-0.18.0 lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb
azure_mgmt_monitor-0.17.6 lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb
azure_mgmt_monitor-0.17.5 lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb