Sha256: 4d7efeb3f0a5f8b358bfd1023ddd07293fdc371a37d48b6d2535ce32ad114227

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 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::ServiceFabric::Mgmt::V2016_09_01
  module Models
    #
    # The structure of the error
    #
    class ErrorModel

      include MsRestAzure

      # @return [ErrorModelError] The error detail
      attr_accessor :error


      #
      # Mapper for ErrorModel class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ErrorModel',
          type: {
            name: 'Composite',
            class_name: 'ErrorModel',
            model_properties: {
              error: {
                client_side_validation: true,
                required: false,
                serialized_name: 'error',
                type: {
                  name: 'Composite',
                  class_name: 'ErrorModelError'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.17.3 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
azure_mgmt_service_fabric-0.17.2 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
azure_mgmt_service_fabric-0.17.1 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
azure_mgmt_service_fabric-0.17.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
azure_mgmt_service_fabric-0.16.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
azure_mgmt_service_fabric-0.15.2 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb