Sha256: ff5fa34c2eae8f4fc5b3f60a2b0191dd3834d648b0dc1df3b18381b636ec2c7a

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Graph
  module Models
    #
    # Active Directory error information
    #
    class GraphError

      include MsRestAzure

      # @return [String] Error code.
      attr_accessor :code

      # @return [String] Error message value.
      attr_accessor :message


      #
      # Mapper for GraphError class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'GraphError',
          type: {
            name: 'Composite',
            class_name: 'GraphError',
            model_properties: {
              code: {
                required: false,
                serialized_name: 'odata\\.error.code',
                type: {
                  name: 'String'
                }
              },
              message: {
                required: false,
                serialized_name: 'odata\\.error.message.value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.7.0 lib/generated/azure_mgmt_graph/models/graph_error.rb
azure_mgmt_graph-0.6.0 lib/generated/azure_mgmt_graph/models/graph_error.rb
azure_mgmt_graph-0.5.0 lib/generated/azure_mgmt_graph/models/graph_error.rb