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


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

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)


609
610
611
# File 'sig/types.rbs', line 609

def content
  @content
end

#formatString (readonly)

Returns the value of attribute format.

Returns:

  • (String)


610
611
612
# File 'sig/types.rbs', line 610

def format
  @format
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


611
612
613
# File 'sig/types.rbs', line 611

def 
  @metadata
end

#text_fieldsArray[String] (readonly)

Returns the value of attribute text_fields.

Returns:

  • (Array[String])


612
613
614
# File 'sig/types.rbs', line 612

def text_fields
  @text_fields
end