udl-sdk 0.1.0a17__py3-none-any.whl → 0.1.0a18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/METADATA +1 -1
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/RECORD +136 -129
- unifieddatalibrary/_client.py +27 -61
- unifieddatalibrary/_version.py +1 -1
- unifieddatalibrary/resources/__init__.py +28 -84
- unifieddatalibrary/resources/air_operations/__init__.py +0 -14
- unifieddatalibrary/resources/air_operations/air_operations.py +0 -32
- unifieddatalibrary/resources/air_operations/aircraft_sorties.py +1507 -37
- unifieddatalibrary/resources/air_operations/crewpapers.py +4 -4
- unifieddatalibrary/resources/airload_plans.py +1311 -59
- unifieddatalibrary/resources/attitude_sets/attitude_sets.py +106 -0
- unifieddatalibrary/resources/conjunctions/conjunctions.py +4 -4
- unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py +801 -0
- unifieddatalibrary/resources/iono_observations/__init__.py +33 -0
- unifieddatalibrary/resources/{iono_observation → iono_observations}/history.py +2 -2
- unifieddatalibrary/resources/{ion_oobservation.py → iono_observations/iono_observations.py} +123 -91
- unifieddatalibrary/resources/logistics_support/logistics_support.py +5 -4
- unifieddatalibrary/resources/onorbitantenna.py +5 -4
- unifieddatalibrary/resources/onorbitbattery.py +5 -4
- unifieddatalibrary/resources/onorbitsolararray.py +5 -4
- unifieddatalibrary/resources/onorbitthruster.py +5 -4
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/__init__.py +13 -13
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/history.py +2 -2
- unifieddatalibrary/resources/{report_and_activity/report_and_activity.py → report_and_activities/report_and_activities.py} +35 -35
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_h3geo.py +1 -1
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_sigact.py +1 -1
- unifieddatalibrary/resources/scs/paths.py +4 -4
- unifieddatalibrary/resources/scs/scs.py +4 -4
- unifieddatalibrary/resources/scs/v2.py +4 -4
- unifieddatalibrary/resources/status.py +5 -4
- unifieddatalibrary/resources/supporting_data/__init__.py +0 -42
- unifieddatalibrary/resources/supporting_data/dataowner.py +257 -1
- unifieddatalibrary/resources/supporting_data/supporting_data.py +0 -96
- unifieddatalibrary/resources/track_route/track_route.py +26 -23
- unifieddatalibrary/types/__init__.py +40 -30
- unifieddatalibrary/types/air_operations/__init__.py +12 -12
- unifieddatalibrary/types/air_operations/{aircraft_sortie_list_params.py → aircraft_sorty_count_params.py} +2 -2
- unifieddatalibrary/types/air_operations/aircraft_sorty_count_response.py +7 -0
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_bulk_params.py → aircraft_sorty_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_params.py → aircraft_sorty_create_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_aodr_params.py → aircraft_sorty_history_aodr_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_count_params.py → aircraft_sorty_history_count_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_response.py → air_operations/aircraft_sorty_history_count_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_params.py → aircraft_sorty_history_query_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_response.py → aircraft_sorty_history_query_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_count_params.py → aircraft_sorty_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_params.py → airload_plan_count_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_response.py → airload_plan_count_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_create_params.py → airload_plan_create_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_list_params.py → airload_plan_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_queryhelp_response.py → airload_plan_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_retrieve_params.py → airload_plan_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_params.py → airload_plan_tuple_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_response.py → airload_plan_tuple_response.py} +2 -2
- unifieddatalibrary/types/altitude_blocks_ingest_param.py +22 -0
- unifieddatalibrary/types/{attitudeset_retrieve_params.py → attitude_set_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_params.py → gnss_raw_if_count_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_response.py → gnss_raw_if_count_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_file_get_params.py → gnss_raw_if_file_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_params.py → gnss_raw_if_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_response.py → gnss_raw_if_get_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_params.py → gnss_raw_if_list_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_response.py → gnss_raw_if_list_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_queryhelp_response.py → gnss_raw_if_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_params.py → gnss_raw_if_tuple_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_response.py → gnss_raw_if_tuple_response.py} +3 -3
- unifieddatalibrary/types/{gnss_rawif_upload_zip_params.py → gnss_raw_if_upload_zip_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_params.py → iono_observation_count_params.py} +2 -2
- unifieddatalibrary/types/{air_operations/aircraft_sortie_count_response.py → iono_observation_count_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_create_bulk_params.py → iono_observation_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_params.py → iono_observation_list_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_response.py → iono_observation_list_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_queryhelp_response.py → iono_observation_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_params.py → iono_observation_tuple_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_response.py → iono_observation_tuple_response.py} +82 -82
- unifieddatalibrary/types/{ion_oobservation_unvalidated_publish_params.py → iono_observation_unvalidated_publish_params.py} +2 -2
- unifieddatalibrary/types/logistics_remarks_ingest_param.py +25 -0
- unifieddatalibrary/types/logistics_support_create_bulk_params.py +4 -51
- unifieddatalibrary/types/logistics_support_create_params.py +4 -49
- unifieddatalibrary/types/logistics_support_unvalidated_publish_params.py +4 -51
- unifieddatalibrary/types/logistics_support_update_params.py +4 -49
- unifieddatalibrary/types/onorbitantenna_create_params.py +3 -38
- unifieddatalibrary/types/onorbitantenna_update_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_create_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_update_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_create_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_update_params.py +3 -38
- unifieddatalibrary/types/onorbitthruster_create_params.py +3 -41
- unifieddatalibrary/types/onorbitthruster_update_params.py +3 -41
- unifieddatalibrary/types/point_of_contact_ingest_param.py +41 -0
- unifieddatalibrary/types/route_points_ingest_param.py +82 -0
- unifieddatalibrary/types/shared/__init__.py +5 -0
- unifieddatalibrary/types/shared/antenna_ingest.py +62 -0
- unifieddatalibrary/types/shared/battery_ingest.py +62 -0
- unifieddatalibrary/types/shared/engine_ingest.py +65 -0
- unifieddatalibrary/types/shared/solar_array_ingest.py +62 -0
- unifieddatalibrary/types/shared/sub_status_ingest.py +74 -0
- unifieddatalibrary/types/shared_params/__init__.py +5 -0
- unifieddatalibrary/types/shared_params/antenna_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/battery_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/engine_ingest.py +48 -0
- unifieddatalibrary/types/shared_params/solar_array_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/sub_status_ingest.py +57 -0
- unifieddatalibrary/types/status_create_params.py +3 -50
- unifieddatalibrary/types/status_update_params.py +3 -50
- unifieddatalibrary/types/supporting_data/__init__.py +13 -5
- unifieddatalibrary/types/supporting_data/{query_help_retrieve_response.py → dataowner_query_help_response.py} +2 -2
- unifieddatalibrary/types/supporting_data/{dataowner_type_list_params.py → dataowner_retrieve_data_owner_types_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/dataowner_retrieve_data_owner_types_response.py +8 -0
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_params.py → dataowner_retrieve_provider_metadata_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_response.py → dataowner_retrieve_provider_metadata_response.py} +2 -2
- unifieddatalibrary/types/track_route_create_bulk_params.py +5 -267
- unifieddatalibrary/types/track_route_create_params.py +7 -122
- unifieddatalibrary/types/track_route_ingest_param.py +157 -0
- unifieddatalibrary/types/track_route_unvalidated_publish_params.py +7 -122
- unifieddatalibrary/types/track_route_update_params.py +7 -122
- unifieddatalibrary/resources/air_load_plans.py +0 -1341
- unifieddatalibrary/resources/air_operations/aircraft_sortie.py +0 -1557
- unifieddatalibrary/resources/attitudesets.py +0 -191
- unifieddatalibrary/resources/gnss_rawif.py +0 -871
- unifieddatalibrary/resources/iono_observation/__init__.py +0 -33
- unifieddatalibrary/resources/iono_observation/iono_observation.py +0 -102
- unifieddatalibrary/resources/supporting_data/dataowner_types.py +0 -186
- unifieddatalibrary/resources/supporting_data/provider_metadata.py +0 -179
- unifieddatalibrary/resources/supporting_data/query_help.py +0 -141
- unifieddatalibrary/types/air_operations/aircraft_sortie_history_count_response.py +0 -7
- unifieddatalibrary/types/supporting_data/dataowner_type_list_response.py +0 -7
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/WHEEL +0 -0
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a18.dist-info}/licenses/LICENSE +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/poi.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/__init__.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_response.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_h3geo_unvalidated_publish_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_file_get_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_unvalidated_publish_params.py +0 -0
@@ -1,1557 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
from typing import Union, Iterable
|
6
|
-
from datetime import date, datetime
|
7
|
-
from typing_extensions import Literal
|
8
|
-
|
9
|
-
import httpx
|
10
|
-
|
11
|
-
from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
|
12
|
-
from ..._utils import maybe_transform, async_maybe_transform
|
13
|
-
from ..._compat import cached_property
|
14
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
15
|
-
from ..._response import (
|
16
|
-
to_raw_response_wrapper,
|
17
|
-
to_streamed_response_wrapper,
|
18
|
-
async_to_raw_response_wrapper,
|
19
|
-
async_to_streamed_response_wrapper,
|
20
|
-
)
|
21
|
-
from ...pagination import SyncOffsetPage, AsyncOffsetPage
|
22
|
-
from ..._base_client import AsyncPaginator, make_request_options
|
23
|
-
from ...types.air_operations import (
|
24
|
-
aircraft_sortie_list_params,
|
25
|
-
aircraft_sortie_count_params,
|
26
|
-
aircraft_sortie_create_params,
|
27
|
-
aircraft_sortie_create_bulk_params,
|
28
|
-
aircraft_sortie_history_aodr_params,
|
29
|
-
aircraft_sortie_history_count_params,
|
30
|
-
aircraft_sortie_history_query_params,
|
31
|
-
)
|
32
|
-
from ...types.air_operations.aircraftsortie_abridged import AircraftsortieAbridged
|
33
|
-
from ...types.air_operations.aircraft_sortie_history_query_response import AircraftSortieHistoryQueryResponse
|
34
|
-
|
35
|
-
__all__ = ["AircraftSortieResource", "AsyncAircraftSortieResource"]
|
36
|
-
|
37
|
-
|
38
|
-
class AircraftSortieResource(SyncAPIResource):
|
39
|
-
@cached_property
|
40
|
-
def with_raw_response(self) -> AircraftSortieResourceWithRawResponse:
|
41
|
-
"""
|
42
|
-
This property can be used as a prefix for any HTTP method call to return
|
43
|
-
the raw response object instead of the parsed content.
|
44
|
-
|
45
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
46
|
-
"""
|
47
|
-
return AircraftSortieResourceWithRawResponse(self)
|
48
|
-
|
49
|
-
@cached_property
|
50
|
-
def with_streaming_response(self) -> AircraftSortieResourceWithStreamingResponse:
|
51
|
-
"""
|
52
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
53
|
-
|
54
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
55
|
-
"""
|
56
|
-
return AircraftSortieResourceWithStreamingResponse(self)
|
57
|
-
|
58
|
-
def create(
|
59
|
-
self,
|
60
|
-
*,
|
61
|
-
classification_marking: str,
|
62
|
-
data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
|
63
|
-
planned_dep_time: Union[str, datetime],
|
64
|
-
source: str,
|
65
|
-
id: str | NotGiven = NOT_GIVEN,
|
66
|
-
actual_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
67
|
-
actual_block_in_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
68
|
-
actual_block_out_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
69
|
-
actual_dep_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
70
|
-
aircraft_adsb: str | NotGiven = NOT_GIVEN,
|
71
|
-
aircraft_alt_id: str | NotGiven = NOT_GIVEN,
|
72
|
-
aircraft_event: str | NotGiven = NOT_GIVEN,
|
73
|
-
aircraft_mds: str | NotGiven = NOT_GIVEN,
|
74
|
-
aircraft_remarks: str | NotGiven = NOT_GIVEN,
|
75
|
-
alert_status: int | NotGiven = NOT_GIVEN,
|
76
|
-
alert_status_code: str | NotGiven = NOT_GIVEN,
|
77
|
-
amc_msn_num: str | NotGiven = NOT_GIVEN,
|
78
|
-
amc_msn_type: str | NotGiven = NOT_GIVEN,
|
79
|
-
arr_faa: str | NotGiven = NOT_GIVEN,
|
80
|
-
arr_iata: str | NotGiven = NOT_GIVEN,
|
81
|
-
arr_icao: str | NotGiven = NOT_GIVEN,
|
82
|
-
arr_itinerary: int | NotGiven = NOT_GIVEN,
|
83
|
-
arr_purpose_code: str | NotGiven = NOT_GIVEN,
|
84
|
-
call_sign: str | NotGiven = NOT_GIVEN,
|
85
|
-
cargo_config: str | NotGiven = NOT_GIVEN,
|
86
|
-
commander_name: str | NotGiven = NOT_GIVEN,
|
87
|
-
current_state: str | NotGiven = NOT_GIVEN,
|
88
|
-
delay_code: str | NotGiven = NOT_GIVEN,
|
89
|
-
dep_faa: str | NotGiven = NOT_GIVEN,
|
90
|
-
dep_iata: str | NotGiven = NOT_GIVEN,
|
91
|
-
dep_icao: str | NotGiven = NOT_GIVEN,
|
92
|
-
dep_itinerary: int | NotGiven = NOT_GIVEN,
|
93
|
-
dep_purpose_code: str | NotGiven = NOT_GIVEN,
|
94
|
-
dhd: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
95
|
-
dhd_reason: str | NotGiven = NOT_GIVEN,
|
96
|
-
est_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
97
|
-
est_block_in_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
98
|
-
est_block_out_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
99
|
-
est_dep_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
100
|
-
flight_time: float | NotGiven = NOT_GIVEN,
|
101
|
-
fm_desk_num: str | NotGiven = NOT_GIVEN,
|
102
|
-
fm_name: str | NotGiven = NOT_GIVEN,
|
103
|
-
fuel_req: float | NotGiven = NOT_GIVEN,
|
104
|
-
gnd_time: float | NotGiven = NOT_GIVEN,
|
105
|
-
id_aircraft: str | NotGiven = NOT_GIVEN,
|
106
|
-
id_mission: str | NotGiven = NOT_GIVEN,
|
107
|
-
jcs_priority: str | NotGiven = NOT_GIVEN,
|
108
|
-
leg_num: int | NotGiven = NOT_GIVEN,
|
109
|
-
line_number: int | NotGiven = NOT_GIVEN,
|
110
|
-
mission_id: str | NotGiven = NOT_GIVEN,
|
111
|
-
mission_update: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
112
|
-
objective_remarks: str | NotGiven = NOT_GIVEN,
|
113
|
-
origin: str | NotGiven = NOT_GIVEN,
|
114
|
-
orig_sortie_id: str | NotGiven = NOT_GIVEN,
|
115
|
-
oxy_on_crew: float | NotGiven = NOT_GIVEN,
|
116
|
-
oxy_on_pax: float | NotGiven = NOT_GIVEN,
|
117
|
-
oxy_req_crew: float | NotGiven = NOT_GIVEN,
|
118
|
-
oxy_req_pax: float | NotGiven = NOT_GIVEN,
|
119
|
-
parking_loc: str | NotGiven = NOT_GIVEN,
|
120
|
-
passengers: int | NotGiven = NOT_GIVEN,
|
121
|
-
planned_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
122
|
-
ppr_status: Literal["NOT REQUIRED", "REQUIRED NOT REQUESTED", "GRANTED", "PENDING"] | NotGiven = NOT_GIVEN,
|
123
|
-
primary_scl: str | NotGiven = NOT_GIVEN,
|
124
|
-
req_config: str | NotGiven = NOT_GIVEN,
|
125
|
-
result_remarks: str | NotGiven = NOT_GIVEN,
|
126
|
-
rvn_req: Literal["N", "R", "C6", "R6"] | NotGiven = NOT_GIVEN,
|
127
|
-
schedule_remarks: str | NotGiven = NOT_GIVEN,
|
128
|
-
secondary_scl: str | NotGiven = NOT_GIVEN,
|
129
|
-
soe: str | NotGiven = NOT_GIVEN,
|
130
|
-
sortie_date: Union[str, date] | NotGiven = NOT_GIVEN,
|
131
|
-
tail_number: str | NotGiven = NOT_GIVEN,
|
132
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
133
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
134
|
-
extra_headers: Headers | None = None,
|
135
|
-
extra_query: Query | None = None,
|
136
|
-
extra_body: Body | None = None,
|
137
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
138
|
-
) -> None:
|
139
|
-
"""
|
140
|
-
Service operation to take a single AircraftSortie as a POST body and ingest into
|
141
|
-
the database. A specific role is required to perform this service operation.
|
142
|
-
Please contact the UDL team for assistance.
|
143
|
-
|
144
|
-
Args:
|
145
|
-
classification_marking: Classification marking of the data in IC/CAPCO Portion-marked format.
|
146
|
-
|
147
|
-
data_mode:
|
148
|
-
Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
|
149
|
-
|
150
|
-
EXERCISE: Data pertaining to a government or military exercise. The data
|
151
|
-
may include both real and simulated data.
|
152
|
-
|
153
|
-
REAL: Data collected or produced that pertains to real-world objects,
|
154
|
-
events, and analysis.
|
155
|
-
|
156
|
-
SIMULATED: Synthetic data generated by a model to mimic real-world
|
157
|
-
datasets.
|
158
|
-
|
159
|
-
TEST: Specific datasets used to evaluate compliance with specifications and
|
160
|
-
requirements, and for validating technical, functional, and performance
|
161
|
-
characteristics.
|
162
|
-
|
163
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
164
|
-
UTC format with millisecond precision.
|
165
|
-
|
166
|
-
source: Source of the data.
|
167
|
-
|
168
|
-
id: Unique identifier of the record, auto-generated by the system.
|
169
|
-
|
170
|
-
actual_arr_time: The actual arrival time, in ISO 8601 UTC format with millisecond precision.
|
171
|
-
|
172
|
-
actual_block_in_time: The actual time the Aircraft comes to a complete stop in its parking position,
|
173
|
-
in ISO 8601 UTC format with millisecond precision.
|
174
|
-
|
175
|
-
actual_block_out_time: The actual time the Aircraft begins to taxi from its parking position, in ISO
|
176
|
-
8601 UTC format with millisecond precision.
|
177
|
-
|
178
|
-
actual_dep_time: The actual departure time, in ISO 8601 UTC format.
|
179
|
-
|
180
|
-
aircraft_adsb: The Automatic Dependent Surveillance-Broadcast (ADS-B) device identifier.
|
181
|
-
|
182
|
-
aircraft_alt_id: Alternate Aircraft Identifier provided by source.
|
183
|
-
|
184
|
-
aircraft_event: Aircraft event text.
|
185
|
-
|
186
|
-
aircraft_mds: The aircraft Model Design Series designation assigned to this sortie.
|
187
|
-
|
188
|
-
aircraft_remarks: Remarks concerning the aircraft.
|
189
|
-
|
190
|
-
alert_status: The amount of time allowed between launch order and takeoff, in seconds.
|
191
|
-
|
192
|
-
alert_status_code: The Alert Status code.
|
193
|
-
|
194
|
-
amc_msn_num: The Air Mobility Command (AMC) mission number of the sortie.
|
195
|
-
|
196
|
-
amc_msn_type: The type of mission (e.g. SAAM, CHNL, etc.).
|
197
|
-
|
198
|
-
arr_faa: The arrival Federal Aviation Administration (FAA) code of this sortie.
|
199
|
-
|
200
|
-
arr_iata: The arrival International Aviation Transport Association (IATA) code of this
|
201
|
-
sortie.
|
202
|
-
|
203
|
-
arr_icao: The arrival International Civil Aviation Organization (ICAO) of this sortie.
|
204
|
-
|
205
|
-
arr_itinerary: The itinerary identifier of the arrival location.
|
206
|
-
|
207
|
-
arr_purpose_code: Purpose code at the arrival location of this sortie.
|
208
|
-
|
209
|
-
call_sign: The call sign assigned to the aircraft on this sortie.
|
210
|
-
|
211
|
-
cargo_config: Description of the cargo configuration (e.g. C-1, C-2, C-3, DV-1, DV-2, AE-1,
|
212
|
-
etc.) currently on board the aircraft. Configuration meanings are determined by
|
213
|
-
the data source.
|
214
|
-
|
215
|
-
commander_name: The last name of the aircraft commander.
|
216
|
-
|
217
|
-
current_state: The current state of this sortie.
|
218
|
-
|
219
|
-
delay_code: The primary delay code.
|
220
|
-
|
221
|
-
dep_faa: The departure Federal Aviation Administration (FAA) code of this sortie.
|
222
|
-
|
223
|
-
dep_iata: The departure International Aviation Transport Association (IATA) code of this
|
224
|
-
sortie.
|
225
|
-
|
226
|
-
dep_icao: The departure International Civil Aviation Organization (ICAO) of this sortie.
|
227
|
-
|
228
|
-
dep_itinerary: The itinerary identifier of the departure location.
|
229
|
-
|
230
|
-
dep_purpose_code: Purpose code at the departure location of this sortie.
|
231
|
-
|
232
|
-
dhd: Due home date by which the aircraft must return to its home station, in ISO 8601
|
233
|
-
UTC format with millisecond precision.
|
234
|
-
|
235
|
-
dhd_reason: Reason the aircraft must return to home station by its due home date.
|
236
|
-
|
237
|
-
est_arr_time: The current estimated time that the Aircraft is planned to arrive, in ISO 8601
|
238
|
-
UTC format with millisecond precision.
|
239
|
-
|
240
|
-
est_block_in_time: The estimated time the Aircraft will come to a complete stop in its parking
|
241
|
-
position, in ISO 8601 UTC format with millisecond precision.
|
242
|
-
|
243
|
-
est_block_out_time: The estimated time the Aircraft will begin to taxi from its parking position, in
|
244
|
-
ISO 8601 UTC format with millisecond precision.
|
245
|
-
|
246
|
-
est_dep_time: The current estimated time that the Aircraft is planned to depart, in ISO 8601
|
247
|
-
UTC format with millisecond precision.
|
248
|
-
|
249
|
-
flight_time: The planned flight time for this sortie, in minutes.
|
250
|
-
|
251
|
-
fm_desk_num: Desk phone number of the flight manager assigned to the sortie. Null when no
|
252
|
-
flight manager is assigned.
|
253
|
-
|
254
|
-
fm_name: Last name of the flight manager assigned to the sortie. Null when no flight
|
255
|
-
manager is assigned.
|
256
|
-
|
257
|
-
fuel_req: Mass of fuel required for this leg of the sortie, in kilograms.
|
258
|
-
|
259
|
-
gnd_time: Scheduled ground time, in minutes.
|
260
|
-
|
261
|
-
id_aircraft: Unique identifier of the aircraft.
|
262
|
-
|
263
|
-
id_mission: The unique identifier of the mission to which this sortie is assigned.
|
264
|
-
|
265
|
-
jcs_priority: Joint Chiefs of Staff priority of this sortie.
|
266
|
-
|
267
|
-
leg_num: The leg number of this sortie.
|
268
|
-
|
269
|
-
line_number: The external system line number of this sortie.
|
270
|
-
|
271
|
-
mission_id: The mission ID according to the source system.
|
272
|
-
|
273
|
-
mission_update: Time the associated mission data was last updated in relation to the aircraft
|
274
|
-
assignment, in ISO 8601 UTC format with millisecond precision. If this time is
|
275
|
-
coming from an external system, it may not sync with the latest mission time
|
276
|
-
associated to this record.
|
277
|
-
|
278
|
-
objective_remarks: Remarks concerning the sortie objective.
|
279
|
-
|
280
|
-
origin: Originating system or organization which produced the data, if different from
|
281
|
-
the source. The origin may be different than the source if the source was a
|
282
|
-
mediating system which forwarded the data on behalf of the origin system. If
|
283
|
-
null, the source may be assumed to be the origin.
|
284
|
-
|
285
|
-
orig_sortie_id: The sortie identifier provided by the originating source.
|
286
|
-
|
287
|
-
oxy_on_crew: Liquid oxygen onboard the aircraft for the crew compartment, in liters.
|
288
|
-
|
289
|
-
oxy_on_pax: Liquid oxygen onboard the aircraft for the troop compartment, in liters.
|
290
|
-
|
291
|
-
oxy_req_crew: Liquid oxygen required on the aircraft for the crew compartment, in liters.
|
292
|
-
|
293
|
-
oxy_req_pax: Liquid oxygen required on the aircraft for the troop compartment, in liters.
|
294
|
-
|
295
|
-
parking_loc: The POI parking location.
|
296
|
-
|
297
|
-
passengers: The number of passengers tasked for this sortie.
|
298
|
-
|
299
|
-
planned_arr_time: The scheduled time that the Aircraft sortie is planned to arrive, in ISO 8601
|
300
|
-
UTC format with millisecond precision.
|
301
|
-
|
302
|
-
ppr_status: The prior permission required (PPR) status.
|
303
|
-
|
304
|
-
primary_scl: The planned primary Standard Conventional Load of the aircraft for this sortie.
|
305
|
-
|
306
|
-
req_config: Aircraft configuration required for the mission.
|
307
|
-
|
308
|
-
result_remarks: Remarks concerning the results of this sortie.
|
309
|
-
|
310
|
-
rvn_req: Type of Ravens required for this sortie (N - None, R - Raven (Security Team)
|
311
|
-
required, C6 - Consider ravens (Ground time over 6 hours), R6 - Ravens required
|
312
|
-
(Ground time over 6 hours)).
|
313
|
-
|
314
|
-
schedule_remarks: Remarks concerning the schedule.
|
315
|
-
|
316
|
-
secondary_scl: The planned secondary Standard Conventional Load of the aircraft for this
|
317
|
-
sortie.
|
318
|
-
|
319
|
-
soe: Indicates the group responsible for recording the completion time of the next
|
320
|
-
event in the sequence of events assigned to this sortie (e.g. OPS - Operations,
|
321
|
-
MX - Maintenance, TR - Transportation, etc.).
|
322
|
-
|
323
|
-
sortie_date: The scheduled UTC date for this sortie, in ISO 8601 date-only format (ex.
|
324
|
-
YYYY-MM-DD).
|
325
|
-
|
326
|
-
tail_number: The tail number of the aircraft assigned to this sortie.
|
327
|
-
|
328
|
-
extra_headers: Send extra headers
|
329
|
-
|
330
|
-
extra_query: Add additional query parameters to the request
|
331
|
-
|
332
|
-
extra_body: Add additional JSON properties to the request
|
333
|
-
|
334
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
335
|
-
"""
|
336
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
337
|
-
return self._post(
|
338
|
-
"/udl/aircraftsortie",
|
339
|
-
body=maybe_transform(
|
340
|
-
{
|
341
|
-
"classification_marking": classification_marking,
|
342
|
-
"data_mode": data_mode,
|
343
|
-
"planned_dep_time": planned_dep_time,
|
344
|
-
"source": source,
|
345
|
-
"id": id,
|
346
|
-
"actual_arr_time": actual_arr_time,
|
347
|
-
"actual_block_in_time": actual_block_in_time,
|
348
|
-
"actual_block_out_time": actual_block_out_time,
|
349
|
-
"actual_dep_time": actual_dep_time,
|
350
|
-
"aircraft_adsb": aircraft_adsb,
|
351
|
-
"aircraft_alt_id": aircraft_alt_id,
|
352
|
-
"aircraft_event": aircraft_event,
|
353
|
-
"aircraft_mds": aircraft_mds,
|
354
|
-
"aircraft_remarks": aircraft_remarks,
|
355
|
-
"alert_status": alert_status,
|
356
|
-
"alert_status_code": alert_status_code,
|
357
|
-
"amc_msn_num": amc_msn_num,
|
358
|
-
"amc_msn_type": amc_msn_type,
|
359
|
-
"arr_faa": arr_faa,
|
360
|
-
"arr_iata": arr_iata,
|
361
|
-
"arr_icao": arr_icao,
|
362
|
-
"arr_itinerary": arr_itinerary,
|
363
|
-
"arr_purpose_code": arr_purpose_code,
|
364
|
-
"call_sign": call_sign,
|
365
|
-
"cargo_config": cargo_config,
|
366
|
-
"commander_name": commander_name,
|
367
|
-
"current_state": current_state,
|
368
|
-
"delay_code": delay_code,
|
369
|
-
"dep_faa": dep_faa,
|
370
|
-
"dep_iata": dep_iata,
|
371
|
-
"dep_icao": dep_icao,
|
372
|
-
"dep_itinerary": dep_itinerary,
|
373
|
-
"dep_purpose_code": dep_purpose_code,
|
374
|
-
"dhd": dhd,
|
375
|
-
"dhd_reason": dhd_reason,
|
376
|
-
"est_arr_time": est_arr_time,
|
377
|
-
"est_block_in_time": est_block_in_time,
|
378
|
-
"est_block_out_time": est_block_out_time,
|
379
|
-
"est_dep_time": est_dep_time,
|
380
|
-
"flight_time": flight_time,
|
381
|
-
"fm_desk_num": fm_desk_num,
|
382
|
-
"fm_name": fm_name,
|
383
|
-
"fuel_req": fuel_req,
|
384
|
-
"gnd_time": gnd_time,
|
385
|
-
"id_aircraft": id_aircraft,
|
386
|
-
"id_mission": id_mission,
|
387
|
-
"jcs_priority": jcs_priority,
|
388
|
-
"leg_num": leg_num,
|
389
|
-
"line_number": line_number,
|
390
|
-
"mission_id": mission_id,
|
391
|
-
"mission_update": mission_update,
|
392
|
-
"objective_remarks": objective_remarks,
|
393
|
-
"origin": origin,
|
394
|
-
"orig_sortie_id": orig_sortie_id,
|
395
|
-
"oxy_on_crew": oxy_on_crew,
|
396
|
-
"oxy_on_pax": oxy_on_pax,
|
397
|
-
"oxy_req_crew": oxy_req_crew,
|
398
|
-
"oxy_req_pax": oxy_req_pax,
|
399
|
-
"parking_loc": parking_loc,
|
400
|
-
"passengers": passengers,
|
401
|
-
"planned_arr_time": planned_arr_time,
|
402
|
-
"ppr_status": ppr_status,
|
403
|
-
"primary_scl": primary_scl,
|
404
|
-
"req_config": req_config,
|
405
|
-
"result_remarks": result_remarks,
|
406
|
-
"rvn_req": rvn_req,
|
407
|
-
"schedule_remarks": schedule_remarks,
|
408
|
-
"secondary_scl": secondary_scl,
|
409
|
-
"soe": soe,
|
410
|
-
"sortie_date": sortie_date,
|
411
|
-
"tail_number": tail_number,
|
412
|
-
},
|
413
|
-
aircraft_sortie_create_params.AircraftSortieCreateParams,
|
414
|
-
),
|
415
|
-
options=make_request_options(
|
416
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
417
|
-
),
|
418
|
-
cast_to=NoneType,
|
419
|
-
)
|
420
|
-
|
421
|
-
def list(
|
422
|
-
self,
|
423
|
-
*,
|
424
|
-
planned_dep_time: Union[str, datetime],
|
425
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
426
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
427
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
428
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
429
|
-
extra_headers: Headers | None = None,
|
430
|
-
extra_query: Query | None = None,
|
431
|
-
extra_body: Body | None = None,
|
432
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
433
|
-
) -> SyncOffsetPage[AircraftsortieAbridged]:
|
434
|
-
"""
|
435
|
-
Service operation to dynamically query data by a variety of query parameters not
|
436
|
-
specified in this API documentation. See the queryhelp operation
|
437
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
438
|
-
parameter information.
|
439
|
-
|
440
|
-
Args:
|
441
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
442
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
443
|
-
|
444
|
-
extra_headers: Send extra headers
|
445
|
-
|
446
|
-
extra_query: Add additional query parameters to the request
|
447
|
-
|
448
|
-
extra_body: Add additional JSON properties to the request
|
449
|
-
|
450
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
451
|
-
"""
|
452
|
-
return self._get_api_list(
|
453
|
-
"/udl/aircraftsortie",
|
454
|
-
page=SyncOffsetPage[AircraftsortieAbridged],
|
455
|
-
options=make_request_options(
|
456
|
-
extra_headers=extra_headers,
|
457
|
-
extra_query=extra_query,
|
458
|
-
extra_body=extra_body,
|
459
|
-
timeout=timeout,
|
460
|
-
query=maybe_transform(
|
461
|
-
{
|
462
|
-
"planned_dep_time": planned_dep_time,
|
463
|
-
"first_result": first_result,
|
464
|
-
"max_results": max_results,
|
465
|
-
},
|
466
|
-
aircraft_sortie_list_params.AircraftSortieListParams,
|
467
|
-
),
|
468
|
-
),
|
469
|
-
model=AircraftsortieAbridged,
|
470
|
-
)
|
471
|
-
|
472
|
-
def count(
|
473
|
-
self,
|
474
|
-
*,
|
475
|
-
planned_dep_time: Union[str, datetime],
|
476
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
477
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
478
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
479
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
480
|
-
extra_headers: Headers | None = None,
|
481
|
-
extra_query: Query | None = None,
|
482
|
-
extra_body: Body | None = None,
|
483
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
484
|
-
) -> str:
|
485
|
-
"""
|
486
|
-
Service operation to return the count of records satisfying the specified query
|
487
|
-
parameters. This operation is useful to determine how many records pass a
|
488
|
-
particular query criteria without retrieving large amounts of data. See the
|
489
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on
|
490
|
-
valid/required query parameter information.
|
491
|
-
|
492
|
-
Args:
|
493
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
494
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
495
|
-
|
496
|
-
extra_headers: Send extra headers
|
497
|
-
|
498
|
-
extra_query: Add additional query parameters to the request
|
499
|
-
|
500
|
-
extra_body: Add additional JSON properties to the request
|
501
|
-
|
502
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
503
|
-
"""
|
504
|
-
extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
|
505
|
-
return self._get(
|
506
|
-
"/udl/aircraftsortie/count",
|
507
|
-
options=make_request_options(
|
508
|
-
extra_headers=extra_headers,
|
509
|
-
extra_query=extra_query,
|
510
|
-
extra_body=extra_body,
|
511
|
-
timeout=timeout,
|
512
|
-
query=maybe_transform(
|
513
|
-
{
|
514
|
-
"planned_dep_time": planned_dep_time,
|
515
|
-
"first_result": first_result,
|
516
|
-
"max_results": max_results,
|
517
|
-
},
|
518
|
-
aircraft_sortie_count_params.AircraftSortieCountParams,
|
519
|
-
),
|
520
|
-
),
|
521
|
-
cast_to=str,
|
522
|
-
)
|
523
|
-
|
524
|
-
def create_bulk(
|
525
|
-
self,
|
526
|
-
*,
|
527
|
-
body: Iterable[aircraft_sortie_create_bulk_params.Body],
|
528
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
529
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
530
|
-
extra_headers: Headers | None = None,
|
531
|
-
extra_query: Query | None = None,
|
532
|
-
extra_body: Body | None = None,
|
533
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
534
|
-
) -> None:
|
535
|
-
"""
|
536
|
-
Service operation intended for initial integration only, to take a list of
|
537
|
-
AircraftSorties as a POST body and ingest into the database. This operation is
|
538
|
-
not intended to be used for automated feeds into UDL. Data providers should
|
539
|
-
contact the UDL team for specific role assignments and for instructions on
|
540
|
-
setting up a permanent feed through an alternate mechanism.
|
541
|
-
|
542
|
-
Args:
|
543
|
-
extra_headers: Send extra headers
|
544
|
-
|
545
|
-
extra_query: Add additional query parameters to the request
|
546
|
-
|
547
|
-
extra_body: Add additional JSON properties to the request
|
548
|
-
|
549
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
550
|
-
"""
|
551
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
552
|
-
return self._post(
|
553
|
-
"/udl/aircraftsortie/createBulk",
|
554
|
-
body=maybe_transform(body, Iterable[aircraft_sortie_create_bulk_params.Body]),
|
555
|
-
options=make_request_options(
|
556
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
557
|
-
),
|
558
|
-
cast_to=NoneType,
|
559
|
-
)
|
560
|
-
|
561
|
-
def history_aodr(
|
562
|
-
self,
|
563
|
-
*,
|
564
|
-
planned_dep_time: Union[str, datetime],
|
565
|
-
columns: str | NotGiven = NOT_GIVEN,
|
566
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
567
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
568
|
-
notification: str | NotGiven = NOT_GIVEN,
|
569
|
-
output_delimiter: str | NotGiven = NOT_GIVEN,
|
570
|
-
output_format: str | NotGiven = NOT_GIVEN,
|
571
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
572
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
573
|
-
extra_headers: Headers | None = None,
|
574
|
-
extra_query: Query | None = None,
|
575
|
-
extra_body: Body | None = None,
|
576
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
577
|
-
) -> None:
|
578
|
-
"""
|
579
|
-
Service operation to dynamically query historical data by a variety of query
|
580
|
-
parameters not specified in this API documentation, then write that data to the
|
581
|
-
Secure Content Store. See the queryhelp operation
|
582
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
583
|
-
parameter information.
|
584
|
-
|
585
|
-
Args:
|
586
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
587
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
588
|
-
|
589
|
-
columns: optional, fields for retrieval. When omitted, ALL fields are assumed. See the
|
590
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid
|
591
|
-
query fields that can be selected.
|
592
|
-
|
593
|
-
notification: optional, notification method for the created file link. When omitted, EMAIL is
|
594
|
-
assumed. Current valid values are: EMAIL, SMS.
|
595
|
-
|
596
|
-
output_delimiter: optional, field delimiter when the created file is not JSON. Must be a single
|
597
|
-
character chosen from this set: (',', ';', ':', '|'). When omitted, "," is used.
|
598
|
-
It is strongly encouraged that your field delimiter be a character unlikely to
|
599
|
-
occur within the data.
|
600
|
-
|
601
|
-
output_format: optional, output format for the file. When omitted, JSON is assumed. Current
|
602
|
-
valid values are: JSON and CSV.
|
603
|
-
|
604
|
-
extra_headers: Send extra headers
|
605
|
-
|
606
|
-
extra_query: Add additional query parameters to the request
|
607
|
-
|
608
|
-
extra_body: Add additional JSON properties to the request
|
609
|
-
|
610
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
611
|
-
"""
|
612
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
613
|
-
return self._get(
|
614
|
-
"/udl/aircraftsortie/history/aodr",
|
615
|
-
options=make_request_options(
|
616
|
-
extra_headers=extra_headers,
|
617
|
-
extra_query=extra_query,
|
618
|
-
extra_body=extra_body,
|
619
|
-
timeout=timeout,
|
620
|
-
query=maybe_transform(
|
621
|
-
{
|
622
|
-
"planned_dep_time": planned_dep_time,
|
623
|
-
"columns": columns,
|
624
|
-
"first_result": first_result,
|
625
|
-
"max_results": max_results,
|
626
|
-
"notification": notification,
|
627
|
-
"output_delimiter": output_delimiter,
|
628
|
-
"output_format": output_format,
|
629
|
-
},
|
630
|
-
aircraft_sortie_history_aodr_params.AircraftSortieHistoryAodrParams,
|
631
|
-
),
|
632
|
-
),
|
633
|
-
cast_to=NoneType,
|
634
|
-
)
|
635
|
-
|
636
|
-
def history_count(
|
637
|
-
self,
|
638
|
-
*,
|
639
|
-
planned_dep_time: Union[str, datetime],
|
640
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
641
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
642
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
643
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
644
|
-
extra_headers: Headers | None = None,
|
645
|
-
extra_query: Query | None = None,
|
646
|
-
extra_body: Body | None = None,
|
647
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
648
|
-
) -> str:
|
649
|
-
"""
|
650
|
-
Service operation to return the count of records satisfying the specified query
|
651
|
-
parameters. This operation is useful to determine how many records pass a
|
652
|
-
particular query criteria without retrieving large amounts of data. See the
|
653
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on
|
654
|
-
valid/required query parameter information.
|
655
|
-
|
656
|
-
Args:
|
657
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
658
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
659
|
-
|
660
|
-
extra_headers: Send extra headers
|
661
|
-
|
662
|
-
extra_query: Add additional query parameters to the request
|
663
|
-
|
664
|
-
extra_body: Add additional JSON properties to the request
|
665
|
-
|
666
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
667
|
-
"""
|
668
|
-
extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
|
669
|
-
return self._get(
|
670
|
-
"/udl/aircraftsortie/history/count",
|
671
|
-
options=make_request_options(
|
672
|
-
extra_headers=extra_headers,
|
673
|
-
extra_query=extra_query,
|
674
|
-
extra_body=extra_body,
|
675
|
-
timeout=timeout,
|
676
|
-
query=maybe_transform(
|
677
|
-
{
|
678
|
-
"planned_dep_time": planned_dep_time,
|
679
|
-
"first_result": first_result,
|
680
|
-
"max_results": max_results,
|
681
|
-
},
|
682
|
-
aircraft_sortie_history_count_params.AircraftSortieHistoryCountParams,
|
683
|
-
),
|
684
|
-
),
|
685
|
-
cast_to=str,
|
686
|
-
)
|
687
|
-
|
688
|
-
def history_query(
|
689
|
-
self,
|
690
|
-
*,
|
691
|
-
planned_dep_time: Union[str, datetime],
|
692
|
-
columns: str | NotGiven = NOT_GIVEN,
|
693
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
694
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
695
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
696
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
697
|
-
extra_headers: Headers | None = None,
|
698
|
-
extra_query: Query | None = None,
|
699
|
-
extra_body: Body | None = None,
|
700
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
701
|
-
) -> AircraftSortieHistoryQueryResponse:
|
702
|
-
"""
|
703
|
-
Service operation to dynamically query historical data by a variety of query
|
704
|
-
parameters not specified in this API documentation. See the queryhelp operation
|
705
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
706
|
-
parameter information.
|
707
|
-
|
708
|
-
Args:
|
709
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
710
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
711
|
-
|
712
|
-
columns: optional, fields for retrieval. When omitted, ALL fields are assumed. See the
|
713
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid
|
714
|
-
query fields that can be selected.
|
715
|
-
|
716
|
-
extra_headers: Send extra headers
|
717
|
-
|
718
|
-
extra_query: Add additional query parameters to the request
|
719
|
-
|
720
|
-
extra_body: Add additional JSON properties to the request
|
721
|
-
|
722
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
723
|
-
"""
|
724
|
-
return self._get(
|
725
|
-
"/udl/aircraftsortie/history",
|
726
|
-
options=make_request_options(
|
727
|
-
extra_headers=extra_headers,
|
728
|
-
extra_query=extra_query,
|
729
|
-
extra_body=extra_body,
|
730
|
-
timeout=timeout,
|
731
|
-
query=maybe_transform(
|
732
|
-
{
|
733
|
-
"planned_dep_time": planned_dep_time,
|
734
|
-
"columns": columns,
|
735
|
-
"first_result": first_result,
|
736
|
-
"max_results": max_results,
|
737
|
-
},
|
738
|
-
aircraft_sortie_history_query_params.AircraftSortieHistoryQueryParams,
|
739
|
-
),
|
740
|
-
),
|
741
|
-
cast_to=AircraftSortieHistoryQueryResponse,
|
742
|
-
)
|
743
|
-
|
744
|
-
|
745
|
-
class AsyncAircraftSortieResource(AsyncAPIResource):
|
746
|
-
@cached_property
|
747
|
-
def with_raw_response(self) -> AsyncAircraftSortieResourceWithRawResponse:
|
748
|
-
"""
|
749
|
-
This property can be used as a prefix for any HTTP method call to return
|
750
|
-
the raw response object instead of the parsed content.
|
751
|
-
|
752
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
753
|
-
"""
|
754
|
-
return AsyncAircraftSortieResourceWithRawResponse(self)
|
755
|
-
|
756
|
-
@cached_property
|
757
|
-
def with_streaming_response(self) -> AsyncAircraftSortieResourceWithStreamingResponse:
|
758
|
-
"""
|
759
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
760
|
-
|
761
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
762
|
-
"""
|
763
|
-
return AsyncAircraftSortieResourceWithStreamingResponse(self)
|
764
|
-
|
765
|
-
async def create(
|
766
|
-
self,
|
767
|
-
*,
|
768
|
-
classification_marking: str,
|
769
|
-
data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
|
770
|
-
planned_dep_time: Union[str, datetime],
|
771
|
-
source: str,
|
772
|
-
id: str | NotGiven = NOT_GIVEN,
|
773
|
-
actual_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
774
|
-
actual_block_in_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
775
|
-
actual_block_out_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
776
|
-
actual_dep_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
777
|
-
aircraft_adsb: str | NotGiven = NOT_GIVEN,
|
778
|
-
aircraft_alt_id: str | NotGiven = NOT_GIVEN,
|
779
|
-
aircraft_event: str | NotGiven = NOT_GIVEN,
|
780
|
-
aircraft_mds: str | NotGiven = NOT_GIVEN,
|
781
|
-
aircraft_remarks: str | NotGiven = NOT_GIVEN,
|
782
|
-
alert_status: int | NotGiven = NOT_GIVEN,
|
783
|
-
alert_status_code: str | NotGiven = NOT_GIVEN,
|
784
|
-
amc_msn_num: str | NotGiven = NOT_GIVEN,
|
785
|
-
amc_msn_type: str | NotGiven = NOT_GIVEN,
|
786
|
-
arr_faa: str | NotGiven = NOT_GIVEN,
|
787
|
-
arr_iata: str | NotGiven = NOT_GIVEN,
|
788
|
-
arr_icao: str | NotGiven = NOT_GIVEN,
|
789
|
-
arr_itinerary: int | NotGiven = NOT_GIVEN,
|
790
|
-
arr_purpose_code: str | NotGiven = NOT_GIVEN,
|
791
|
-
call_sign: str | NotGiven = NOT_GIVEN,
|
792
|
-
cargo_config: str | NotGiven = NOT_GIVEN,
|
793
|
-
commander_name: str | NotGiven = NOT_GIVEN,
|
794
|
-
current_state: str | NotGiven = NOT_GIVEN,
|
795
|
-
delay_code: str | NotGiven = NOT_GIVEN,
|
796
|
-
dep_faa: str | NotGiven = NOT_GIVEN,
|
797
|
-
dep_iata: str | NotGiven = NOT_GIVEN,
|
798
|
-
dep_icao: str | NotGiven = NOT_GIVEN,
|
799
|
-
dep_itinerary: int | NotGiven = NOT_GIVEN,
|
800
|
-
dep_purpose_code: str | NotGiven = NOT_GIVEN,
|
801
|
-
dhd: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
802
|
-
dhd_reason: str | NotGiven = NOT_GIVEN,
|
803
|
-
est_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
804
|
-
est_block_in_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
805
|
-
est_block_out_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
806
|
-
est_dep_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
807
|
-
flight_time: float | NotGiven = NOT_GIVEN,
|
808
|
-
fm_desk_num: str | NotGiven = NOT_GIVEN,
|
809
|
-
fm_name: str | NotGiven = NOT_GIVEN,
|
810
|
-
fuel_req: float | NotGiven = NOT_GIVEN,
|
811
|
-
gnd_time: float | NotGiven = NOT_GIVEN,
|
812
|
-
id_aircraft: str | NotGiven = NOT_GIVEN,
|
813
|
-
id_mission: str | NotGiven = NOT_GIVEN,
|
814
|
-
jcs_priority: str | NotGiven = NOT_GIVEN,
|
815
|
-
leg_num: int | NotGiven = NOT_GIVEN,
|
816
|
-
line_number: int | NotGiven = NOT_GIVEN,
|
817
|
-
mission_id: str | NotGiven = NOT_GIVEN,
|
818
|
-
mission_update: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
819
|
-
objective_remarks: str | NotGiven = NOT_GIVEN,
|
820
|
-
origin: str | NotGiven = NOT_GIVEN,
|
821
|
-
orig_sortie_id: str | NotGiven = NOT_GIVEN,
|
822
|
-
oxy_on_crew: float | NotGiven = NOT_GIVEN,
|
823
|
-
oxy_on_pax: float | NotGiven = NOT_GIVEN,
|
824
|
-
oxy_req_crew: float | NotGiven = NOT_GIVEN,
|
825
|
-
oxy_req_pax: float | NotGiven = NOT_GIVEN,
|
826
|
-
parking_loc: str | NotGiven = NOT_GIVEN,
|
827
|
-
passengers: int | NotGiven = NOT_GIVEN,
|
828
|
-
planned_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
829
|
-
ppr_status: Literal["NOT REQUIRED", "REQUIRED NOT REQUESTED", "GRANTED", "PENDING"] | NotGiven = NOT_GIVEN,
|
830
|
-
primary_scl: str | NotGiven = NOT_GIVEN,
|
831
|
-
req_config: str | NotGiven = NOT_GIVEN,
|
832
|
-
result_remarks: str | NotGiven = NOT_GIVEN,
|
833
|
-
rvn_req: Literal["N", "R", "C6", "R6"] | NotGiven = NOT_GIVEN,
|
834
|
-
schedule_remarks: str | NotGiven = NOT_GIVEN,
|
835
|
-
secondary_scl: str | NotGiven = NOT_GIVEN,
|
836
|
-
soe: str | NotGiven = NOT_GIVEN,
|
837
|
-
sortie_date: Union[str, date] | NotGiven = NOT_GIVEN,
|
838
|
-
tail_number: str | NotGiven = NOT_GIVEN,
|
839
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
840
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
841
|
-
extra_headers: Headers | None = None,
|
842
|
-
extra_query: Query | None = None,
|
843
|
-
extra_body: Body | None = None,
|
844
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
845
|
-
) -> None:
|
846
|
-
"""
|
847
|
-
Service operation to take a single AircraftSortie as a POST body and ingest into
|
848
|
-
the database. A specific role is required to perform this service operation.
|
849
|
-
Please contact the UDL team for assistance.
|
850
|
-
|
851
|
-
Args:
|
852
|
-
classification_marking: Classification marking of the data in IC/CAPCO Portion-marked format.
|
853
|
-
|
854
|
-
data_mode:
|
855
|
-
Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
|
856
|
-
|
857
|
-
EXERCISE: Data pertaining to a government or military exercise. The data
|
858
|
-
may include both real and simulated data.
|
859
|
-
|
860
|
-
REAL: Data collected or produced that pertains to real-world objects,
|
861
|
-
events, and analysis.
|
862
|
-
|
863
|
-
SIMULATED: Synthetic data generated by a model to mimic real-world
|
864
|
-
datasets.
|
865
|
-
|
866
|
-
TEST: Specific datasets used to evaluate compliance with specifications and
|
867
|
-
requirements, and for validating technical, functional, and performance
|
868
|
-
characteristics.
|
869
|
-
|
870
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
871
|
-
UTC format with millisecond precision.
|
872
|
-
|
873
|
-
source: Source of the data.
|
874
|
-
|
875
|
-
id: Unique identifier of the record, auto-generated by the system.
|
876
|
-
|
877
|
-
actual_arr_time: The actual arrival time, in ISO 8601 UTC format with millisecond precision.
|
878
|
-
|
879
|
-
actual_block_in_time: The actual time the Aircraft comes to a complete stop in its parking position,
|
880
|
-
in ISO 8601 UTC format with millisecond precision.
|
881
|
-
|
882
|
-
actual_block_out_time: The actual time the Aircraft begins to taxi from its parking position, in ISO
|
883
|
-
8601 UTC format with millisecond precision.
|
884
|
-
|
885
|
-
actual_dep_time: The actual departure time, in ISO 8601 UTC format.
|
886
|
-
|
887
|
-
aircraft_adsb: The Automatic Dependent Surveillance-Broadcast (ADS-B) device identifier.
|
888
|
-
|
889
|
-
aircraft_alt_id: Alternate Aircraft Identifier provided by source.
|
890
|
-
|
891
|
-
aircraft_event: Aircraft event text.
|
892
|
-
|
893
|
-
aircraft_mds: The aircraft Model Design Series designation assigned to this sortie.
|
894
|
-
|
895
|
-
aircraft_remarks: Remarks concerning the aircraft.
|
896
|
-
|
897
|
-
alert_status: The amount of time allowed between launch order and takeoff, in seconds.
|
898
|
-
|
899
|
-
alert_status_code: The Alert Status code.
|
900
|
-
|
901
|
-
amc_msn_num: The Air Mobility Command (AMC) mission number of the sortie.
|
902
|
-
|
903
|
-
amc_msn_type: The type of mission (e.g. SAAM, CHNL, etc.).
|
904
|
-
|
905
|
-
arr_faa: The arrival Federal Aviation Administration (FAA) code of this sortie.
|
906
|
-
|
907
|
-
arr_iata: The arrival International Aviation Transport Association (IATA) code of this
|
908
|
-
sortie.
|
909
|
-
|
910
|
-
arr_icao: The arrival International Civil Aviation Organization (ICAO) of this sortie.
|
911
|
-
|
912
|
-
arr_itinerary: The itinerary identifier of the arrival location.
|
913
|
-
|
914
|
-
arr_purpose_code: Purpose code at the arrival location of this sortie.
|
915
|
-
|
916
|
-
call_sign: The call sign assigned to the aircraft on this sortie.
|
917
|
-
|
918
|
-
cargo_config: Description of the cargo configuration (e.g. C-1, C-2, C-3, DV-1, DV-2, AE-1,
|
919
|
-
etc.) currently on board the aircraft. Configuration meanings are determined by
|
920
|
-
the data source.
|
921
|
-
|
922
|
-
commander_name: The last name of the aircraft commander.
|
923
|
-
|
924
|
-
current_state: The current state of this sortie.
|
925
|
-
|
926
|
-
delay_code: The primary delay code.
|
927
|
-
|
928
|
-
dep_faa: The departure Federal Aviation Administration (FAA) code of this sortie.
|
929
|
-
|
930
|
-
dep_iata: The departure International Aviation Transport Association (IATA) code of this
|
931
|
-
sortie.
|
932
|
-
|
933
|
-
dep_icao: The departure International Civil Aviation Organization (ICAO) of this sortie.
|
934
|
-
|
935
|
-
dep_itinerary: The itinerary identifier of the departure location.
|
936
|
-
|
937
|
-
dep_purpose_code: Purpose code at the departure location of this sortie.
|
938
|
-
|
939
|
-
dhd: Due home date by which the aircraft must return to its home station, in ISO 8601
|
940
|
-
UTC format with millisecond precision.
|
941
|
-
|
942
|
-
dhd_reason: Reason the aircraft must return to home station by its due home date.
|
943
|
-
|
944
|
-
est_arr_time: The current estimated time that the Aircraft is planned to arrive, in ISO 8601
|
945
|
-
UTC format with millisecond precision.
|
946
|
-
|
947
|
-
est_block_in_time: The estimated time the Aircraft will come to a complete stop in its parking
|
948
|
-
position, in ISO 8601 UTC format with millisecond precision.
|
949
|
-
|
950
|
-
est_block_out_time: The estimated time the Aircraft will begin to taxi from its parking position, in
|
951
|
-
ISO 8601 UTC format with millisecond precision.
|
952
|
-
|
953
|
-
est_dep_time: The current estimated time that the Aircraft is planned to depart, in ISO 8601
|
954
|
-
UTC format with millisecond precision.
|
955
|
-
|
956
|
-
flight_time: The planned flight time for this sortie, in minutes.
|
957
|
-
|
958
|
-
fm_desk_num: Desk phone number of the flight manager assigned to the sortie. Null when no
|
959
|
-
flight manager is assigned.
|
960
|
-
|
961
|
-
fm_name: Last name of the flight manager assigned to the sortie. Null when no flight
|
962
|
-
manager is assigned.
|
963
|
-
|
964
|
-
fuel_req: Mass of fuel required for this leg of the sortie, in kilograms.
|
965
|
-
|
966
|
-
gnd_time: Scheduled ground time, in minutes.
|
967
|
-
|
968
|
-
id_aircraft: Unique identifier of the aircraft.
|
969
|
-
|
970
|
-
id_mission: The unique identifier of the mission to which this sortie is assigned.
|
971
|
-
|
972
|
-
jcs_priority: Joint Chiefs of Staff priority of this sortie.
|
973
|
-
|
974
|
-
leg_num: The leg number of this sortie.
|
975
|
-
|
976
|
-
line_number: The external system line number of this sortie.
|
977
|
-
|
978
|
-
mission_id: The mission ID according to the source system.
|
979
|
-
|
980
|
-
mission_update: Time the associated mission data was last updated in relation to the aircraft
|
981
|
-
assignment, in ISO 8601 UTC format with millisecond precision. If this time is
|
982
|
-
coming from an external system, it may not sync with the latest mission time
|
983
|
-
associated to this record.
|
984
|
-
|
985
|
-
objective_remarks: Remarks concerning the sortie objective.
|
986
|
-
|
987
|
-
origin: Originating system or organization which produced the data, if different from
|
988
|
-
the source. The origin may be different than the source if the source was a
|
989
|
-
mediating system which forwarded the data on behalf of the origin system. If
|
990
|
-
null, the source may be assumed to be the origin.
|
991
|
-
|
992
|
-
orig_sortie_id: The sortie identifier provided by the originating source.
|
993
|
-
|
994
|
-
oxy_on_crew: Liquid oxygen onboard the aircraft for the crew compartment, in liters.
|
995
|
-
|
996
|
-
oxy_on_pax: Liquid oxygen onboard the aircraft for the troop compartment, in liters.
|
997
|
-
|
998
|
-
oxy_req_crew: Liquid oxygen required on the aircraft for the crew compartment, in liters.
|
999
|
-
|
1000
|
-
oxy_req_pax: Liquid oxygen required on the aircraft for the troop compartment, in liters.
|
1001
|
-
|
1002
|
-
parking_loc: The POI parking location.
|
1003
|
-
|
1004
|
-
passengers: The number of passengers tasked for this sortie.
|
1005
|
-
|
1006
|
-
planned_arr_time: The scheduled time that the Aircraft sortie is planned to arrive, in ISO 8601
|
1007
|
-
UTC format with millisecond precision.
|
1008
|
-
|
1009
|
-
ppr_status: The prior permission required (PPR) status.
|
1010
|
-
|
1011
|
-
primary_scl: The planned primary Standard Conventional Load of the aircraft for this sortie.
|
1012
|
-
|
1013
|
-
req_config: Aircraft configuration required for the mission.
|
1014
|
-
|
1015
|
-
result_remarks: Remarks concerning the results of this sortie.
|
1016
|
-
|
1017
|
-
rvn_req: Type of Ravens required for this sortie (N - None, R - Raven (Security Team)
|
1018
|
-
required, C6 - Consider ravens (Ground time over 6 hours), R6 - Ravens required
|
1019
|
-
(Ground time over 6 hours)).
|
1020
|
-
|
1021
|
-
schedule_remarks: Remarks concerning the schedule.
|
1022
|
-
|
1023
|
-
secondary_scl: The planned secondary Standard Conventional Load of the aircraft for this
|
1024
|
-
sortie.
|
1025
|
-
|
1026
|
-
soe: Indicates the group responsible for recording the completion time of the next
|
1027
|
-
event in the sequence of events assigned to this sortie (e.g. OPS - Operations,
|
1028
|
-
MX - Maintenance, TR - Transportation, etc.).
|
1029
|
-
|
1030
|
-
sortie_date: The scheduled UTC date for this sortie, in ISO 8601 date-only format (ex.
|
1031
|
-
YYYY-MM-DD).
|
1032
|
-
|
1033
|
-
tail_number: The tail number of the aircraft assigned to this sortie.
|
1034
|
-
|
1035
|
-
extra_headers: Send extra headers
|
1036
|
-
|
1037
|
-
extra_query: Add additional query parameters to the request
|
1038
|
-
|
1039
|
-
extra_body: Add additional JSON properties to the request
|
1040
|
-
|
1041
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1042
|
-
"""
|
1043
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
1044
|
-
return await self._post(
|
1045
|
-
"/udl/aircraftsortie",
|
1046
|
-
body=await async_maybe_transform(
|
1047
|
-
{
|
1048
|
-
"classification_marking": classification_marking,
|
1049
|
-
"data_mode": data_mode,
|
1050
|
-
"planned_dep_time": planned_dep_time,
|
1051
|
-
"source": source,
|
1052
|
-
"id": id,
|
1053
|
-
"actual_arr_time": actual_arr_time,
|
1054
|
-
"actual_block_in_time": actual_block_in_time,
|
1055
|
-
"actual_block_out_time": actual_block_out_time,
|
1056
|
-
"actual_dep_time": actual_dep_time,
|
1057
|
-
"aircraft_adsb": aircraft_adsb,
|
1058
|
-
"aircraft_alt_id": aircraft_alt_id,
|
1059
|
-
"aircraft_event": aircraft_event,
|
1060
|
-
"aircraft_mds": aircraft_mds,
|
1061
|
-
"aircraft_remarks": aircraft_remarks,
|
1062
|
-
"alert_status": alert_status,
|
1063
|
-
"alert_status_code": alert_status_code,
|
1064
|
-
"amc_msn_num": amc_msn_num,
|
1065
|
-
"amc_msn_type": amc_msn_type,
|
1066
|
-
"arr_faa": arr_faa,
|
1067
|
-
"arr_iata": arr_iata,
|
1068
|
-
"arr_icao": arr_icao,
|
1069
|
-
"arr_itinerary": arr_itinerary,
|
1070
|
-
"arr_purpose_code": arr_purpose_code,
|
1071
|
-
"call_sign": call_sign,
|
1072
|
-
"cargo_config": cargo_config,
|
1073
|
-
"commander_name": commander_name,
|
1074
|
-
"current_state": current_state,
|
1075
|
-
"delay_code": delay_code,
|
1076
|
-
"dep_faa": dep_faa,
|
1077
|
-
"dep_iata": dep_iata,
|
1078
|
-
"dep_icao": dep_icao,
|
1079
|
-
"dep_itinerary": dep_itinerary,
|
1080
|
-
"dep_purpose_code": dep_purpose_code,
|
1081
|
-
"dhd": dhd,
|
1082
|
-
"dhd_reason": dhd_reason,
|
1083
|
-
"est_arr_time": est_arr_time,
|
1084
|
-
"est_block_in_time": est_block_in_time,
|
1085
|
-
"est_block_out_time": est_block_out_time,
|
1086
|
-
"est_dep_time": est_dep_time,
|
1087
|
-
"flight_time": flight_time,
|
1088
|
-
"fm_desk_num": fm_desk_num,
|
1089
|
-
"fm_name": fm_name,
|
1090
|
-
"fuel_req": fuel_req,
|
1091
|
-
"gnd_time": gnd_time,
|
1092
|
-
"id_aircraft": id_aircraft,
|
1093
|
-
"id_mission": id_mission,
|
1094
|
-
"jcs_priority": jcs_priority,
|
1095
|
-
"leg_num": leg_num,
|
1096
|
-
"line_number": line_number,
|
1097
|
-
"mission_id": mission_id,
|
1098
|
-
"mission_update": mission_update,
|
1099
|
-
"objective_remarks": objective_remarks,
|
1100
|
-
"origin": origin,
|
1101
|
-
"orig_sortie_id": orig_sortie_id,
|
1102
|
-
"oxy_on_crew": oxy_on_crew,
|
1103
|
-
"oxy_on_pax": oxy_on_pax,
|
1104
|
-
"oxy_req_crew": oxy_req_crew,
|
1105
|
-
"oxy_req_pax": oxy_req_pax,
|
1106
|
-
"parking_loc": parking_loc,
|
1107
|
-
"passengers": passengers,
|
1108
|
-
"planned_arr_time": planned_arr_time,
|
1109
|
-
"ppr_status": ppr_status,
|
1110
|
-
"primary_scl": primary_scl,
|
1111
|
-
"req_config": req_config,
|
1112
|
-
"result_remarks": result_remarks,
|
1113
|
-
"rvn_req": rvn_req,
|
1114
|
-
"schedule_remarks": schedule_remarks,
|
1115
|
-
"secondary_scl": secondary_scl,
|
1116
|
-
"soe": soe,
|
1117
|
-
"sortie_date": sortie_date,
|
1118
|
-
"tail_number": tail_number,
|
1119
|
-
},
|
1120
|
-
aircraft_sortie_create_params.AircraftSortieCreateParams,
|
1121
|
-
),
|
1122
|
-
options=make_request_options(
|
1123
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
1124
|
-
),
|
1125
|
-
cast_to=NoneType,
|
1126
|
-
)
|
1127
|
-
|
1128
|
-
def list(
|
1129
|
-
self,
|
1130
|
-
*,
|
1131
|
-
planned_dep_time: Union[str, datetime],
|
1132
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
1133
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
1134
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1135
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1136
|
-
extra_headers: Headers | None = None,
|
1137
|
-
extra_query: Query | None = None,
|
1138
|
-
extra_body: Body | None = None,
|
1139
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1140
|
-
) -> AsyncPaginator[AircraftsortieAbridged, AsyncOffsetPage[AircraftsortieAbridged]]:
|
1141
|
-
"""
|
1142
|
-
Service operation to dynamically query data by a variety of query parameters not
|
1143
|
-
specified in this API documentation. See the queryhelp operation
|
1144
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
1145
|
-
parameter information.
|
1146
|
-
|
1147
|
-
Args:
|
1148
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
1149
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
1150
|
-
|
1151
|
-
extra_headers: Send extra headers
|
1152
|
-
|
1153
|
-
extra_query: Add additional query parameters to the request
|
1154
|
-
|
1155
|
-
extra_body: Add additional JSON properties to the request
|
1156
|
-
|
1157
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1158
|
-
"""
|
1159
|
-
return self._get_api_list(
|
1160
|
-
"/udl/aircraftsortie",
|
1161
|
-
page=AsyncOffsetPage[AircraftsortieAbridged],
|
1162
|
-
options=make_request_options(
|
1163
|
-
extra_headers=extra_headers,
|
1164
|
-
extra_query=extra_query,
|
1165
|
-
extra_body=extra_body,
|
1166
|
-
timeout=timeout,
|
1167
|
-
query=maybe_transform(
|
1168
|
-
{
|
1169
|
-
"planned_dep_time": planned_dep_time,
|
1170
|
-
"first_result": first_result,
|
1171
|
-
"max_results": max_results,
|
1172
|
-
},
|
1173
|
-
aircraft_sortie_list_params.AircraftSortieListParams,
|
1174
|
-
),
|
1175
|
-
),
|
1176
|
-
model=AircraftsortieAbridged,
|
1177
|
-
)
|
1178
|
-
|
1179
|
-
async def count(
|
1180
|
-
self,
|
1181
|
-
*,
|
1182
|
-
planned_dep_time: Union[str, datetime],
|
1183
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
1184
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
1185
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1186
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1187
|
-
extra_headers: Headers | None = None,
|
1188
|
-
extra_query: Query | None = None,
|
1189
|
-
extra_body: Body | None = None,
|
1190
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1191
|
-
) -> str:
|
1192
|
-
"""
|
1193
|
-
Service operation to return the count of records satisfying the specified query
|
1194
|
-
parameters. This operation is useful to determine how many records pass a
|
1195
|
-
particular query criteria without retrieving large amounts of data. See the
|
1196
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on
|
1197
|
-
valid/required query parameter information.
|
1198
|
-
|
1199
|
-
Args:
|
1200
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
1201
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
1202
|
-
|
1203
|
-
extra_headers: Send extra headers
|
1204
|
-
|
1205
|
-
extra_query: Add additional query parameters to the request
|
1206
|
-
|
1207
|
-
extra_body: Add additional JSON properties to the request
|
1208
|
-
|
1209
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1210
|
-
"""
|
1211
|
-
extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
|
1212
|
-
return await self._get(
|
1213
|
-
"/udl/aircraftsortie/count",
|
1214
|
-
options=make_request_options(
|
1215
|
-
extra_headers=extra_headers,
|
1216
|
-
extra_query=extra_query,
|
1217
|
-
extra_body=extra_body,
|
1218
|
-
timeout=timeout,
|
1219
|
-
query=await async_maybe_transform(
|
1220
|
-
{
|
1221
|
-
"planned_dep_time": planned_dep_time,
|
1222
|
-
"first_result": first_result,
|
1223
|
-
"max_results": max_results,
|
1224
|
-
},
|
1225
|
-
aircraft_sortie_count_params.AircraftSortieCountParams,
|
1226
|
-
),
|
1227
|
-
),
|
1228
|
-
cast_to=str,
|
1229
|
-
)
|
1230
|
-
|
1231
|
-
async def create_bulk(
|
1232
|
-
self,
|
1233
|
-
*,
|
1234
|
-
body: Iterable[aircraft_sortie_create_bulk_params.Body],
|
1235
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1236
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1237
|
-
extra_headers: Headers | None = None,
|
1238
|
-
extra_query: Query | None = None,
|
1239
|
-
extra_body: Body | None = None,
|
1240
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1241
|
-
) -> None:
|
1242
|
-
"""
|
1243
|
-
Service operation intended for initial integration only, to take a list of
|
1244
|
-
AircraftSorties as a POST body and ingest into the database. This operation is
|
1245
|
-
not intended to be used for automated feeds into UDL. Data providers should
|
1246
|
-
contact the UDL team for specific role assignments and for instructions on
|
1247
|
-
setting up a permanent feed through an alternate mechanism.
|
1248
|
-
|
1249
|
-
Args:
|
1250
|
-
extra_headers: Send extra headers
|
1251
|
-
|
1252
|
-
extra_query: Add additional query parameters to the request
|
1253
|
-
|
1254
|
-
extra_body: Add additional JSON properties to the request
|
1255
|
-
|
1256
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1257
|
-
"""
|
1258
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
1259
|
-
return await self._post(
|
1260
|
-
"/udl/aircraftsortie/createBulk",
|
1261
|
-
body=await async_maybe_transform(body, Iterable[aircraft_sortie_create_bulk_params.Body]),
|
1262
|
-
options=make_request_options(
|
1263
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
1264
|
-
),
|
1265
|
-
cast_to=NoneType,
|
1266
|
-
)
|
1267
|
-
|
1268
|
-
async def history_aodr(
|
1269
|
-
self,
|
1270
|
-
*,
|
1271
|
-
planned_dep_time: Union[str, datetime],
|
1272
|
-
columns: str | NotGiven = NOT_GIVEN,
|
1273
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
1274
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
1275
|
-
notification: str | NotGiven = NOT_GIVEN,
|
1276
|
-
output_delimiter: str | NotGiven = NOT_GIVEN,
|
1277
|
-
output_format: str | NotGiven = NOT_GIVEN,
|
1278
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1279
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1280
|
-
extra_headers: Headers | None = None,
|
1281
|
-
extra_query: Query | None = None,
|
1282
|
-
extra_body: Body | None = None,
|
1283
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1284
|
-
) -> None:
|
1285
|
-
"""
|
1286
|
-
Service operation to dynamically query historical data by a variety of query
|
1287
|
-
parameters not specified in this API documentation, then write that data to the
|
1288
|
-
Secure Content Store. See the queryhelp operation
|
1289
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
1290
|
-
parameter information.
|
1291
|
-
|
1292
|
-
Args:
|
1293
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
1294
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
1295
|
-
|
1296
|
-
columns: optional, fields for retrieval. When omitted, ALL fields are assumed. See the
|
1297
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid
|
1298
|
-
query fields that can be selected.
|
1299
|
-
|
1300
|
-
notification: optional, notification method for the created file link. When omitted, EMAIL is
|
1301
|
-
assumed. Current valid values are: EMAIL, SMS.
|
1302
|
-
|
1303
|
-
output_delimiter: optional, field delimiter when the created file is not JSON. Must be a single
|
1304
|
-
character chosen from this set: (',', ';', ':', '|'). When omitted, "," is used.
|
1305
|
-
It is strongly encouraged that your field delimiter be a character unlikely to
|
1306
|
-
occur within the data.
|
1307
|
-
|
1308
|
-
output_format: optional, output format for the file. When omitted, JSON is assumed. Current
|
1309
|
-
valid values are: JSON and CSV.
|
1310
|
-
|
1311
|
-
extra_headers: Send extra headers
|
1312
|
-
|
1313
|
-
extra_query: Add additional query parameters to the request
|
1314
|
-
|
1315
|
-
extra_body: Add additional JSON properties to the request
|
1316
|
-
|
1317
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1318
|
-
"""
|
1319
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
1320
|
-
return await self._get(
|
1321
|
-
"/udl/aircraftsortie/history/aodr",
|
1322
|
-
options=make_request_options(
|
1323
|
-
extra_headers=extra_headers,
|
1324
|
-
extra_query=extra_query,
|
1325
|
-
extra_body=extra_body,
|
1326
|
-
timeout=timeout,
|
1327
|
-
query=await async_maybe_transform(
|
1328
|
-
{
|
1329
|
-
"planned_dep_time": planned_dep_time,
|
1330
|
-
"columns": columns,
|
1331
|
-
"first_result": first_result,
|
1332
|
-
"max_results": max_results,
|
1333
|
-
"notification": notification,
|
1334
|
-
"output_delimiter": output_delimiter,
|
1335
|
-
"output_format": output_format,
|
1336
|
-
},
|
1337
|
-
aircraft_sortie_history_aodr_params.AircraftSortieHistoryAodrParams,
|
1338
|
-
),
|
1339
|
-
),
|
1340
|
-
cast_to=NoneType,
|
1341
|
-
)
|
1342
|
-
|
1343
|
-
async def history_count(
|
1344
|
-
self,
|
1345
|
-
*,
|
1346
|
-
planned_dep_time: Union[str, datetime],
|
1347
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
1348
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
1349
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1350
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1351
|
-
extra_headers: Headers | None = None,
|
1352
|
-
extra_query: Query | None = None,
|
1353
|
-
extra_body: Body | None = None,
|
1354
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1355
|
-
) -> str:
|
1356
|
-
"""
|
1357
|
-
Service operation to return the count of records satisfying the specified query
|
1358
|
-
parameters. This operation is useful to determine how many records pass a
|
1359
|
-
particular query criteria without retrieving large amounts of data. See the
|
1360
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on
|
1361
|
-
valid/required query parameter information.
|
1362
|
-
|
1363
|
-
Args:
|
1364
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
1365
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
1366
|
-
|
1367
|
-
extra_headers: Send extra headers
|
1368
|
-
|
1369
|
-
extra_query: Add additional query parameters to the request
|
1370
|
-
|
1371
|
-
extra_body: Add additional JSON properties to the request
|
1372
|
-
|
1373
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1374
|
-
"""
|
1375
|
-
extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
|
1376
|
-
return await self._get(
|
1377
|
-
"/udl/aircraftsortie/history/count",
|
1378
|
-
options=make_request_options(
|
1379
|
-
extra_headers=extra_headers,
|
1380
|
-
extra_query=extra_query,
|
1381
|
-
extra_body=extra_body,
|
1382
|
-
timeout=timeout,
|
1383
|
-
query=await async_maybe_transform(
|
1384
|
-
{
|
1385
|
-
"planned_dep_time": planned_dep_time,
|
1386
|
-
"first_result": first_result,
|
1387
|
-
"max_results": max_results,
|
1388
|
-
},
|
1389
|
-
aircraft_sortie_history_count_params.AircraftSortieHistoryCountParams,
|
1390
|
-
),
|
1391
|
-
),
|
1392
|
-
cast_to=str,
|
1393
|
-
)
|
1394
|
-
|
1395
|
-
async def history_query(
|
1396
|
-
self,
|
1397
|
-
*,
|
1398
|
-
planned_dep_time: Union[str, datetime],
|
1399
|
-
columns: str | NotGiven = NOT_GIVEN,
|
1400
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
1401
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
1402
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
1403
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
1404
|
-
extra_headers: Headers | None = None,
|
1405
|
-
extra_query: Query | None = None,
|
1406
|
-
extra_body: Body | None = None,
|
1407
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
1408
|
-
) -> AircraftSortieHistoryQueryResponse:
|
1409
|
-
"""
|
1410
|
-
Service operation to dynamically query historical data by a variety of query
|
1411
|
-
parameters not specified in this API documentation. See the queryhelp operation
|
1412
|
-
(/udl/<datatype>/queryhelp) for more details on valid/required query
|
1413
|
-
parameter information.
|
1414
|
-
|
1415
|
-
Args:
|
1416
|
-
planned_dep_time: The scheduled time that the Aircraft sortie is planned to depart, in ISO 8601
|
1417
|
-
UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
|
1418
|
-
|
1419
|
-
columns: optional, fields for retrieval. When omitted, ALL fields are assumed. See the
|
1420
|
-
queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid
|
1421
|
-
query fields that can be selected.
|
1422
|
-
|
1423
|
-
extra_headers: Send extra headers
|
1424
|
-
|
1425
|
-
extra_query: Add additional query parameters to the request
|
1426
|
-
|
1427
|
-
extra_body: Add additional JSON properties to the request
|
1428
|
-
|
1429
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
1430
|
-
"""
|
1431
|
-
return await self._get(
|
1432
|
-
"/udl/aircraftsortie/history",
|
1433
|
-
options=make_request_options(
|
1434
|
-
extra_headers=extra_headers,
|
1435
|
-
extra_query=extra_query,
|
1436
|
-
extra_body=extra_body,
|
1437
|
-
timeout=timeout,
|
1438
|
-
query=await async_maybe_transform(
|
1439
|
-
{
|
1440
|
-
"planned_dep_time": planned_dep_time,
|
1441
|
-
"columns": columns,
|
1442
|
-
"first_result": first_result,
|
1443
|
-
"max_results": max_results,
|
1444
|
-
},
|
1445
|
-
aircraft_sortie_history_query_params.AircraftSortieHistoryQueryParams,
|
1446
|
-
),
|
1447
|
-
),
|
1448
|
-
cast_to=AircraftSortieHistoryQueryResponse,
|
1449
|
-
)
|
1450
|
-
|
1451
|
-
|
1452
|
-
class AircraftSortieResourceWithRawResponse:
|
1453
|
-
def __init__(self, aircraft_sortie: AircraftSortieResource) -> None:
|
1454
|
-
self._aircraft_sortie = aircraft_sortie
|
1455
|
-
|
1456
|
-
self.create = to_raw_response_wrapper(
|
1457
|
-
aircraft_sortie.create,
|
1458
|
-
)
|
1459
|
-
self.list = to_raw_response_wrapper(
|
1460
|
-
aircraft_sortie.list,
|
1461
|
-
)
|
1462
|
-
self.count = to_raw_response_wrapper(
|
1463
|
-
aircraft_sortie.count,
|
1464
|
-
)
|
1465
|
-
self.create_bulk = to_raw_response_wrapper(
|
1466
|
-
aircraft_sortie.create_bulk,
|
1467
|
-
)
|
1468
|
-
self.history_aodr = to_raw_response_wrapper(
|
1469
|
-
aircraft_sortie.history_aodr,
|
1470
|
-
)
|
1471
|
-
self.history_count = to_raw_response_wrapper(
|
1472
|
-
aircraft_sortie.history_count,
|
1473
|
-
)
|
1474
|
-
self.history_query = to_raw_response_wrapper(
|
1475
|
-
aircraft_sortie.history_query,
|
1476
|
-
)
|
1477
|
-
|
1478
|
-
|
1479
|
-
class AsyncAircraftSortieResourceWithRawResponse:
|
1480
|
-
def __init__(self, aircraft_sortie: AsyncAircraftSortieResource) -> None:
|
1481
|
-
self._aircraft_sortie = aircraft_sortie
|
1482
|
-
|
1483
|
-
self.create = async_to_raw_response_wrapper(
|
1484
|
-
aircraft_sortie.create,
|
1485
|
-
)
|
1486
|
-
self.list = async_to_raw_response_wrapper(
|
1487
|
-
aircraft_sortie.list,
|
1488
|
-
)
|
1489
|
-
self.count = async_to_raw_response_wrapper(
|
1490
|
-
aircraft_sortie.count,
|
1491
|
-
)
|
1492
|
-
self.create_bulk = async_to_raw_response_wrapper(
|
1493
|
-
aircraft_sortie.create_bulk,
|
1494
|
-
)
|
1495
|
-
self.history_aodr = async_to_raw_response_wrapper(
|
1496
|
-
aircraft_sortie.history_aodr,
|
1497
|
-
)
|
1498
|
-
self.history_count = async_to_raw_response_wrapper(
|
1499
|
-
aircraft_sortie.history_count,
|
1500
|
-
)
|
1501
|
-
self.history_query = async_to_raw_response_wrapper(
|
1502
|
-
aircraft_sortie.history_query,
|
1503
|
-
)
|
1504
|
-
|
1505
|
-
|
1506
|
-
class AircraftSortieResourceWithStreamingResponse:
|
1507
|
-
def __init__(self, aircraft_sortie: AircraftSortieResource) -> None:
|
1508
|
-
self._aircraft_sortie = aircraft_sortie
|
1509
|
-
|
1510
|
-
self.create = to_streamed_response_wrapper(
|
1511
|
-
aircraft_sortie.create,
|
1512
|
-
)
|
1513
|
-
self.list = to_streamed_response_wrapper(
|
1514
|
-
aircraft_sortie.list,
|
1515
|
-
)
|
1516
|
-
self.count = to_streamed_response_wrapper(
|
1517
|
-
aircraft_sortie.count,
|
1518
|
-
)
|
1519
|
-
self.create_bulk = to_streamed_response_wrapper(
|
1520
|
-
aircraft_sortie.create_bulk,
|
1521
|
-
)
|
1522
|
-
self.history_aodr = to_streamed_response_wrapper(
|
1523
|
-
aircraft_sortie.history_aodr,
|
1524
|
-
)
|
1525
|
-
self.history_count = to_streamed_response_wrapper(
|
1526
|
-
aircraft_sortie.history_count,
|
1527
|
-
)
|
1528
|
-
self.history_query = to_streamed_response_wrapper(
|
1529
|
-
aircraft_sortie.history_query,
|
1530
|
-
)
|
1531
|
-
|
1532
|
-
|
1533
|
-
class AsyncAircraftSortieResourceWithStreamingResponse:
|
1534
|
-
def __init__(self, aircraft_sortie: AsyncAircraftSortieResource) -> None:
|
1535
|
-
self._aircraft_sortie = aircraft_sortie
|
1536
|
-
|
1537
|
-
self.create = async_to_streamed_response_wrapper(
|
1538
|
-
aircraft_sortie.create,
|
1539
|
-
)
|
1540
|
-
self.list = async_to_streamed_response_wrapper(
|
1541
|
-
aircraft_sortie.list,
|
1542
|
-
)
|
1543
|
-
self.count = async_to_streamed_response_wrapper(
|
1544
|
-
aircraft_sortie.count,
|
1545
|
-
)
|
1546
|
-
self.create_bulk = async_to_streamed_response_wrapper(
|
1547
|
-
aircraft_sortie.create_bulk,
|
1548
|
-
)
|
1549
|
-
self.history_aodr = async_to_streamed_response_wrapper(
|
1550
|
-
aircraft_sortie.history_aodr,
|
1551
|
-
)
|
1552
|
-
self.history_count = async_to_streamed_response_wrapper(
|
1553
|
-
aircraft_sortie.history_count,
|
1554
|
-
)
|
1555
|
-
self.history_query = async_to_streamed_response_wrapper(
|
1556
|
-
aircraft_sortie.history_query,
|
1557
|
-
)
|