class Azure::StorageSync::Mgmt::V2019_03_01::Models::StorageSyncApiError

Error type

Attributes

code[RW]

@return [String] Error code of the given entry.

details[RW]

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

message[RW]

@return [String] Error message of the given entry.

target[RW]

@return [String] Target of the given error entry.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageSyncApiError',
    type: {
      name: 'Composite',
      class_name: 'StorageSyncApiError',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        },
        details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'details',
          type: {
            name: 'Composite',
            class_name: 'StorageSyncErrorDetails'
          }
        }
      }
    }
  }
end