# 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::Reservations::Mgmt::V2017_11_01 module Models # # Model object. # # class Error include MsRestAzure # @return [ExtendedErrorInfo] attr_accessor :error # # Mapper for Error class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Error', type: { name: 'Composite', class_name: 'Error', model_properties: { error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ExtendedErrorInfo' } } } } } end end end end