gfwapiclient.resources.events.list.models.response
¶
Global Fishing Watch (GFW) API Python Client - Get All Events API Response Models.
Module Contents¶
Classes¶
Result item for retrieving a list of events. |
|
Result containing a list of event items. |
Data¶
API¶
- gfwapiclient.resources.events.list.models.response.__all__ = ['EventListItem', 'EventListResult']¶
- class gfwapiclient.resources.events.list.models.response.EventListItem(/, **data: typing.Any)¶
Bases:
gfwapiclient.resources.events.base.models.response.EventItem
Result item for retrieving a list of events.
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.list.models.response.EventListResult(data: List[gfwapiclient.resources.events.list.models.response.EventListItem])¶
Bases:
gfwapiclient.http.models.Result
[gfwapiclient.resources.events.list.models.response.EventListItem
]Result containing a list of event items.
Initialization
Initializes a new EventListResult instance.
- Args:
- data (List[EventListItem]):
The list of event items.
- _result_item_class: Type[gfwapiclient.resources.events.list.models.response.EventListItem] = None¶