class Azure::Monitor::Mgmt::V2015_05_01::Models::AnnotationError

Error associated with trying to create annotation with Id that already exist

Attributes

code[RW]

@return [String] Error detail code and explanation

innererror[RW]

@return [InnerError]

message[RW]

@return [String] Error message

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/annotation_error.rb, line 30
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