Sha256: 5b37889d721b2852a181206e97360d9c76a794d93b8cf4a5c9a1eeeea13c71ed
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 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::Automation::Mgmt::V2015_10_31 module Models # # Error response of an operation failure # 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() { required: false, serialized_name: 'ErrorResponse', type: { name: 'Composite', class_name: 'ErrorResponse', model_properties: { code: { required: false, serialized_name: 'code', type: { name: 'String' } }, message: { required: false, serialized_name: 'message', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems