Class: Xberg::StructuredDataResult
- Inherits:
-
Object
- Object
- Xberg::StructuredDataResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#flattened ⇒ Array[String]
readonly
Returns the value of attribute flattened.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#metadata ⇒ Hash[String, String]
readonly
Returns the value of attribute metadata.
-
#text_fields ⇒ Array[String]
readonly
Returns the value of attribute text_fields.
-
#value ⇒ String?
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ StructuredDataResult
constructor
A new instance of StructuredDataResult.
Constructor Details
#initialize ⇒ StructuredDataResult
Returns a new instance of StructuredDataResult.
2434 |
# File 'sig/types.rbs', line 2434
def initialize: (content: String, format: String, metadata: Hash[String, String], text_fields: Array[String], ?value: String, flattened: Array[String]) -> void
|
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
2427 2428 2429 |
# File 'sig/types.rbs', line 2427 def content @content end |
#flattened ⇒ Array[String] (readonly)
Returns the value of attribute flattened.
2432 2433 2434 |
# File 'sig/types.rbs', line 2432 def flattened @flattened end |
#format ⇒ String (readonly)
Returns the value of attribute format.
2428 2429 2430 |
# File 'sig/types.rbs', line 2428 def format @format end |
#metadata ⇒ Hash[String, String] (readonly)
Returns the value of attribute metadata.
2429 2430 2431 |
# File 'sig/types.rbs', line 2429 def @metadata end |
#text_fields ⇒ Array[String] (readonly)
Returns the value of attribute text_fields.
2430 2431 2432 |
# File 'sig/types.rbs', line 2430 def text_fields @text_fields end |
#value ⇒ String? (readonly)
Returns the value of attribute value.
2431 2432 2433 |
# File 'sig/types.rbs', line 2431 def value @value end |