Class: Google::Apis::MigrationcenterV1::ImportRowErrorXlsxErrorDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Error details for an XLSX file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportRowErrorXlsxErrorDetails

Returns a new instance of ImportRowErrorXlsxErrorDetails.



2255
2256
2257
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2255

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#row_numberFixnum

The row number where the error was detected. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


2248
2249
2250
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2248

def row_number
  @row_number
end

#sheetString

The name of the sheet where the error was detected. Corresponds to the JSON property sheet

Returns:

  • (String)


2253
2254
2255
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2253

def sheet
  @sheet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2260
2261
2262
2263
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2260

def update!(**args)
  @row_number = args[:row_number] if args.key?(:row_number)
  @sheet = args[:sheet] if args.key?(:sheet)
end