Sha256: 2cea8e0132e5c041d1a93f3b313feaef0a6c0a955169f657ddb36feabde0b906
Contents?: true
Size: 1.5 KB
Versions: 3
Compression:
Stored size: 1.5 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::EventHub::Mgmt::V2017_04_01 module Models # # Error response indicates EventHub service is not able to process the # incoming request. The reason is provided in the error message. # 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
3 entries across 3 versions & 1 rubygems