Sha256: 68daf2368c803253322c51730c959a3ff9e73bf6802362e2b36613fcbf52cb8a
Contents?: true
Size: 1.41 KB
Versions: 6
Compression:
Stored size: 1.41 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::V2017_12_01_preview module Models # # Describes the format of Error response. # class ErrorResponse include MsRestAzure # @return [String] Error code attr_accessor :code # @return [String] Error message indicating why the operation failed. attr_accessor :message # # Mapper for ErrorResponse class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { name: 'Composite', class_name: 'ErrorResponse', 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' } } } } } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems