Thing Class
Thing (entity type: "https://schema.org/Thing").
Constructor
pydantic model Thing
Parameters
| Name | Description |
|---|---|
|
type
Required
|
The type of the thing |
|
name
Required
|
The name of the thing |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
type
|
Default value: EntityTypes.THING
|
|
name
|
Default value: None
|
Methods
| to_camel_for_all | |
| to_snake_for_all |
to_camel_for_all
to_camel_for_all(config)
Parameters
| Name | Description |
|---|---|
|
config
Required
|
|
to_snake_for_all
validator to_snake_for_all ยป all fields
Parameters
| Name | Description |
|---|---|
|
data
Required
|
|
Attributes
additional_properties
Returns the set of properties that are not None.
name
field name: str = None
type
field type: THING: 'Thing'>] = EntityTypes.THING