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.



4736
4737
4738
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4736

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)


4729
4730
4731
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4729

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)


4734
4735
4736
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4734

def sheet
  @sheet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4741
4742
4743
4744
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4741

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