Class: Xberg::StructuredData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStructuredData

Returns a new instance of StructuredData.

Parameters:



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

def initialize: (data_type: StructuredDataType, raw_json: String, ?schema_type: String) -> void

Instance Attribute Details

#data_typeStructuredDataType (readonly)

Returns the value of attribute data_type.

Returns:



1337
1338
1339
# File 'sig/types.rbs', line 1337

def data_type
  @data_type
end

#raw_jsonString (readonly)

Returns the value of attribute raw_json.

Returns:

  • (String)


1338
1339
1340
# File 'sig/types.rbs', line 1338

def raw_json
  @raw_json
end

#schema_typeString (readonly)

Returns the value of attribute schema_type.

Returns:

  • (String)


1339
1340
1341
# File 'sig/types.rbs', line 1339

def schema_type
  @schema_type
end