class Azure::StorageSync::Mgmt::V2018_10_01::Models::StorageSyncError

Error type

Attributes

error[RW]

@return [StorageSyncApiError] Error details of the given entry.

innererror[RW]

@return [StorageSyncApiError] Error details of the given entry.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageSyncError',
    type: {
      name: 'Composite',
      class_name: 'StorageSyncError',
      model_properties: {
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'StorageSyncApiError'
          }
        },
        innererror: {
          client_side_validation: true,
          required: false,
          serialized_name: 'innererror',
          type: {
            name: 'Composite',
            class_name: 'StorageSyncApiError'
          }
        }
      }
    }
  }
end