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])


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

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)


638
639
640
# File 'sig/types.rbs', line 638

def content
  @content
end

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


639
640
641
# File 'sig/types.rbs', line 639

def format
  @format
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


640
641
642
# File 'sig/types.rbs', line 640

def 
  @metadata
end

#text_fieldsArray[String] (readonly)

Returns the value of attribute text_fields.

Returns:

  • (Array[String])


641
642
643
# File 'sig/types.rbs', line 641

def text_fields
  @text_fields
end