class Google::Apis::PolyV1::ObjParseError

Details of an error resulting from parsing an OBJ file

Attributes

code[RW]

The type of problem found (required). Corresponds to the JSON property `code` @return [String]

end_index[RW]

The ending character index at which the problem was found. Corresponds to the JSON property `endIndex` @return [Fixnum]

file_path[RW]

The file path in which the problem was found. Corresponds to the JSON property `filePath` @return [String]

line[RW]

The text of the line. Note that this may be truncated if the line was very long. This may not include the error if it occurs after line truncation. Corresponds to the JSON property `line` @return [String]

line_number[RW]

Line number at which the problem was found. Corresponds to the JSON property `lineNumber` @return [Fixnum]

start_index[RW]

The starting character index at which the problem was found. Corresponds to the JSON property `startIndex` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/poly_v1/classes.rb, line 437
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/poly_v1/classes.rb, line 442
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @end_index = args[:end_index] if args.key?(:end_index)
  @file_path = args[:file_path] if args.key?(:file_path)
  @line = args[:line] if args.key?(:line)
  @line_number = args[:line_number] if args.key?(:line_number)
  @start_index = args[:start_index] if args.key?(:start_index)
end