gfwapiclient.resources.bulk_downloads.file.models.response¶
Global Fishing Watch (GFW) API Python Client - Download bulk Report (URL File) Response Models.
Module Contents¶
Classes¶
Result item for the Download bulk Report (URL File) API endpoint. |
|
Result for the Download bulk Report (URL File) API endpoint. |
Data¶
API¶
- gfwapiclient.resources.bulk_downloads.file.models.response.__all__ = ['BulkReportFileItem', 'BulkReportFileResult']¶
- class gfwapiclient.resources.bulk_downloads.file.models.response.BulkReportFileItem(/, **data: typing.Any)¶
Bases:
gfwapiclient.http.models.ResultItemResult item for the Download bulk Report (URL File) API endpoint.
Represents signed URL to download the file (i.e., “DATA”, “README”, or “GEOM”) of the previously created bulk report.
For more details on the Download bulk Report (URL File) API endpoint supported response bodies, please refer to the official Global Fishing Watch API documentation:
See: https://globalfishingwatch.org/our-apis/documentation#download-bulk-report-http-response
- Attributes:
- url (Optional[str]):
Signed URL to download the file.
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.bulk_downloads.file.models.response.BulkReportFileResult(data: gfwapiclient.resources.bulk_downloads.file.models.response.BulkReportFileItem)¶
Bases:
gfwapiclient.http.models.Result[gfwapiclient.resources.bulk_downloads.file.models.response.BulkReportFileItem]Result for the Download bulk Report (URL File) API endpoint.
For more details on the Download bulk Report (URL File) API endpoint supported response bodies, please refer to the official Global Fishing Watch API documentation:
See: https://globalfishingwatch.org/our-apis/documentation#download-bulk-report-http-response
- Attributes:
- _result_item_class (Type[BulkReportFileItem]):
The model used for individual result items.
- _data (BulkReportFileItem):
The bulk report file item returned in the response.
Initialization
Initializes a new BulkReportFileResult.
- Args:
- data (BulkReportFileItem):
The bulk report file download details.
- _result_item_class: Type[gfwapiclient.resources.bulk_downloads.file.models.response.BulkReportFileItem] = None¶