gfwapiclient.resources.events.detail.models.response
¶
Global Fishing Watch (GFW) API Python Client - Get one by Event ID API Response Models.
Module Contents¶
Classes¶
Result item for retrieving an event by its ID. |
|
Result containing the details of a single event. |
Data¶
API¶
- gfwapiclient.resources.events.detail.models.response.__all__ = ['EventDetailItem', 'EventDetailResult']¶
- class gfwapiclient.resources.events.detail.models.response.EventDetailItem(/, **data: typing.Any)¶
Bases:
gfwapiclient.resources.events.base.models.response.EventItem
Result item for retrieving an event by its ID.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class gfwapiclient.resources.events.detail.models.response.EventDetailResult(data: gfwapiclient.resources.events.detail.models.response.EventDetailItem)¶
Bases:
gfwapiclient.http.models.Result
[gfwapiclient.resources.events.detail.models.response.EventDetailItem
]Result containing the details of a single event.
Initialization
Initializes a new EventDetailResult instance.
- Args:
- data (EventDetailItem):
The event details.
- _result_item_class: Type[gfwapiclient.resources.events.detail.models.response.EventDetailItem] = None¶