Class: Google::Apis::MigrationcenterV1alpha1::ImportRowErrorXlsxErrorDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/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.



4330
4331
4332
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4330

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)


4323
4324
4325
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4323

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)


4328
4329
4330
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4328

def sheet
  @sheet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4335
4336
4337
4338
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4335

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