Share via


Place Class

Place (entity type: "https://schema.org/Place").

Constructor

pydantic model Place

Parameters

Name Description
address
Required

Address of the place (may be string or complex object of type PostalAddress)

geo
Required

Geo coordinates of the place (may be complex object of type GeoCoordinates or GeoShape)

has_map
Required

Map to the place (may be string (URL) or complex object of type Map)

type
Required
str

The type of the thing

name
Required
str

The name of the thing

Keyword-Only Parameters

Name Description
type
Default value: EntityTypes.PLACE
address
Default value: None
geo
Default value: None
hasMap
Default value: None
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.

address

field address: object = None

geo

field geo: object = None

has_map

field has_map: object = None (alias 'hasMap')

name

field name: str = None

type

field type: PLACE: 'Place'>] = EntityTypes.PLACE