class Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo

Scenario specific error details.

Attributes

info[RW]

@return The scenario specific error details.

type[RW]

@return [String] The type of included error details.

Private Class Methods

mapper() click to toggle source

Mapper for TypedErrorInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TypedErrorInfo',
    type: {
      name: 'Composite',
      class_name: 'TypedErrorInfo',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'info',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end