class Google::Apis::PolyV1::ObjParseError
Details of an error resulting from parsing an OBJ file
Attributes
The type of problem found (required). Corresponds to the JSON property `code` @return [String]
The ending character index at which the problem was found. Corresponds to the JSON property `endIndex` @return [Fixnum]
The file path in which the problem was found. Corresponds to the JSON property `filePath` @return [String]
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 at which the problem was found. Corresponds to the JSON property `lineNumber` @return [Fixnum]
The starting character index at which the problem was found. Corresponds to the JSON property `startIndex` @return [Fixnum]
Public Class Methods
# File lib/google/apis/poly_v1/classes.rb, line 437 def initialize(**args) update!(**args) end
Public Instance Methods
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