Sha256: 0d6871fea756760a7aee04c535a707783a4336513bde53f7360954a1c07a5ddb
Contents?: true
Size: 1.35 KB
Versions: 11
Compression:
Stored size: 1.35 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::CognitiveServices::Mgmt::V2016_02_01_preview module Models # # Model object. # # class ErrorBody include MsRestAzure # @return [String] error code attr_accessor :code # @return [String] error message attr_accessor :message # # Mapper for ErrorBody class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorBody', type: { name: 'Composite', class_name: 'ErrorBody', model_properties: { code: { client_side_validation: true, required: true, serialized_name: 'code', type: { name: 'String' } }, message: { client_side_validation: true, required: true, serialized_name: 'message', type: { name: 'String' } } } } } end end end end
Version data entries
11 entries across 11 versions & 1 rubygems