blob: 9a4c9cb750c3d9aeaa4457b91c05a5cc2ce8d258 [file] [view]
# DAGRunCollectionResponse
Dag Run collection response supporting both offset and cursor pagination. A single flat model is used instead of a discriminated union (``Annotated[Offset | Cursor, Field(discriminator=...)]``) because the OpenAPI ``oneOf`` + ``discriminator`` construct is not handled correctly by ``@hey-api/openapi-ts`` / ``@7nohe/openapi-react-query-codegen``: return types degrade to ``unknown`` in JSDoc and can produce incorrect TypeScript types (see hey-api/openapi-ts#1613, #3270).
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dag_runs** | [**List[DAGRunResponse]**](DAGRunResponse.md) | |
**next_cursor** | **str** | | [optional]
**previous_cursor** | **str** | | [optional]
**total_entries** | **int** | | [optional]
## Example
```python
from airflow_client.client.models.dag_run_collection_response import DAGRunCollectionResponse
# TODO update the JSON string below
json = "{}"
# create an instance of DAGRunCollectionResponse from a JSON string
dag_run_collection_response_instance = DAGRunCollectionResponse.from_json(json)
# print the JSON string representation of the object
print(DAGRunCollectionResponse.to_json())
# convert the object into a dict
dag_run_collection_response_dict = dag_run_collection_response_instance.to_dict()
# create an instance of DAGRunCollectionResponse from a dict
dag_run_collection_response_from_dict = DAGRunCollectionResponse.from_dict(dag_run_collection_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)