Class: Xberg::StructuredDataResult

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStructuredDataResult

Returns a new instance of StructuredDataResult.

Parameters:

  • content: (String)
  • format: (String)
  • metadata: (Hash[String, String])
  • text_fields: (Array[String])


583
# File 'sig/types.rbs', line 583

def initialize: (content: String, format: String, metadata: Hash[String, String], text_fields: Array[String]) -> void

Instance Attribute Details

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


578
579
580
# File 'sig/types.rbs', line 578

def content
  @content
end

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


579
580
581
# File 'sig/types.rbs', line 579

def format
  @format
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


580
581
582
# File 'sig/types.rbs', line 580

def 
  @metadata
end

#text_fieldsArray[String] (readonly)

Returns the value of attribute text_fields.

Returns:

  • (Array[String])


581
582
583
# File 'sig/types.rbs', line 581

def text_fields
  @text_fields
end