udl-sdk 0.1.0a17__py3-none-any.whl → 0.1.0a19__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.
Files changed (148) hide show
  1. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/METADATA +1 -1
  2. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/RECORD +137 -130
  3. unifieddatalibrary/_client.py +27 -61
  4. unifieddatalibrary/_models.py +1 -1
  5. unifieddatalibrary/_version.py +1 -1
  6. unifieddatalibrary/resources/__init__.py +28 -84
  7. unifieddatalibrary/resources/air_operations/__init__.py +0 -14
  8. unifieddatalibrary/resources/air_operations/air_operations.py +0 -32
  9. unifieddatalibrary/resources/air_operations/aircraft_sorties.py +1507 -37
  10. unifieddatalibrary/resources/air_operations/crewpapers.py +4 -4
  11. unifieddatalibrary/resources/airload_plans.py +1311 -59
  12. unifieddatalibrary/resources/attitude_sets/attitude_sets.py +106 -0
  13. unifieddatalibrary/resources/conjunctions/conjunctions.py +4 -4
  14. unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py +801 -0
  15. unifieddatalibrary/resources/iono_observations/__init__.py +33 -0
  16. unifieddatalibrary/resources/{iono_observation → iono_observations}/history.py +2 -2
  17. unifieddatalibrary/resources/{ion_oobservation.py → iono_observations/iono_observations.py} +123 -91
  18. unifieddatalibrary/resources/logistics_support/logistics_support.py +5 -4
  19. unifieddatalibrary/resources/onorbitantenna.py +5 -4
  20. unifieddatalibrary/resources/onorbitbattery.py +5 -4
  21. unifieddatalibrary/resources/onorbitsolararray.py +5 -4
  22. unifieddatalibrary/resources/onorbitthruster.py +5 -4
  23. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/__init__.py +13 -13
  24. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/history.py +2 -2
  25. unifieddatalibrary/resources/{report_and_activity/report_and_activity.py → report_and_activities/report_and_activities.py} +35 -35
  26. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_h3geo.py +1 -1
  27. unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_sigact.py +1 -1
  28. unifieddatalibrary/resources/scs/paths.py +4 -4
  29. unifieddatalibrary/resources/scs/scs.py +4 -4
  30. unifieddatalibrary/resources/scs/v2.py +4 -4
  31. unifieddatalibrary/resources/status.py +5 -4
  32. unifieddatalibrary/resources/supporting_data/__init__.py +0 -42
  33. unifieddatalibrary/resources/supporting_data/dataowner.py +257 -1
  34. unifieddatalibrary/resources/supporting_data/supporting_data.py +0 -96
  35. unifieddatalibrary/resources/track_route/track_route.py +26 -23
  36. unifieddatalibrary/types/__init__.py +40 -30
  37. unifieddatalibrary/types/air_operations/__init__.py +12 -12
  38. unifieddatalibrary/types/air_operations/{aircraft_sortie_list_params.py → aircraft_sorty_count_params.py} +2 -2
  39. unifieddatalibrary/types/air_operations/aircraft_sorty_count_response.py +7 -0
  40. unifieddatalibrary/types/air_operations/{aircraft_sortie_create_bulk_params.py → aircraft_sorty_create_bulk_params.py} +2 -2
  41. unifieddatalibrary/types/air_operations/{aircraft_sortie_create_params.py → aircraft_sorty_create_params.py} +2 -2
  42. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_aodr_params.py → aircraft_sorty_history_aodr_params.py} +2 -2
  43. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_count_params.py → aircraft_sorty_history_count_params.py} +2 -2
  44. unifieddatalibrary/types/{ion_oobservation_count_response.py → air_operations/aircraft_sorty_history_count_response.py} +2 -2
  45. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_params.py → aircraft_sorty_history_query_params.py} +2 -2
  46. unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_response.py → aircraft_sorty_history_query_response.py} +2 -2
  47. unifieddatalibrary/types/air_operations/{aircraft_sortie_count_params.py → aircraft_sorty_list_params.py} +2 -2
  48. unifieddatalibrary/types/{air_load_plan_count_params.py → airload_plan_count_params.py} +2 -2
  49. unifieddatalibrary/types/{air_load_plan_count_response.py → airload_plan_count_response.py} +2 -2
  50. unifieddatalibrary/types/{air_load_plan_create_params.py → airload_plan_create_params.py} +2 -2
  51. unifieddatalibrary/types/{air_load_plan_list_params.py → airload_plan_list_params.py} +2 -2
  52. unifieddatalibrary/types/{air_load_plan_queryhelp_response.py → airload_plan_queryhelp_response.py} +2 -2
  53. unifieddatalibrary/types/{air_load_plan_retrieve_params.py → airload_plan_retrieve_params.py} +2 -2
  54. unifieddatalibrary/types/{air_load_plan_tuple_params.py → airload_plan_tuple_params.py} +2 -2
  55. unifieddatalibrary/types/{air_load_plan_tuple_response.py → airload_plan_tuple_response.py} +2 -2
  56. unifieddatalibrary/types/altitude_blocks_ingest_param.py +22 -0
  57. unifieddatalibrary/types/{attitudeset_retrieve_params.py → attitude_set_retrieve_params.py} +2 -2
  58. unifieddatalibrary/types/{gnss_rawif_count_params.py → gnss_raw_if_count_params.py} +2 -2
  59. unifieddatalibrary/types/{gnss_rawif_count_response.py → gnss_raw_if_count_response.py} +2 -2
  60. unifieddatalibrary/types/{gnss_rawif_file_get_params.py → gnss_raw_if_file_get_params.py} +2 -2
  61. unifieddatalibrary/types/{gnss_rawif_get_params.py → gnss_raw_if_get_params.py} +2 -2
  62. unifieddatalibrary/types/{gnss_rawif_get_response.py → gnss_raw_if_get_response.py} +2 -2
  63. unifieddatalibrary/types/{gnss_rawif_list_params.py → gnss_raw_if_list_params.py} +2 -2
  64. unifieddatalibrary/types/{gnss_rawif_list_response.py → gnss_raw_if_list_response.py} +2 -2
  65. unifieddatalibrary/types/{gnss_rawif_queryhelp_response.py → gnss_raw_if_queryhelp_response.py} +2 -2
  66. unifieddatalibrary/types/{gnss_rawif_tuple_params.py → gnss_raw_if_tuple_params.py} +2 -2
  67. unifieddatalibrary/types/{gnss_rawif_tuple_response.py → gnss_raw_if_tuple_response.py} +3 -3
  68. unifieddatalibrary/types/{gnss_rawif_upload_zip_params.py → gnss_raw_if_upload_zip_params.py} +2 -2
  69. unifieddatalibrary/types/{ion_oobservation_count_params.py → iono_observation_count_params.py} +2 -2
  70. unifieddatalibrary/types/{air_operations/aircraft_sortie_count_response.py → iono_observation_count_response.py} +2 -2
  71. unifieddatalibrary/types/{ion_oobservation_create_bulk_params.py → iono_observation_create_bulk_params.py} +2 -2
  72. unifieddatalibrary/types/{ion_oobservation_list_params.py → iono_observation_list_params.py} +2 -2
  73. unifieddatalibrary/types/{ion_oobservation_list_response.py → iono_observation_list_response.py} +2 -2
  74. unifieddatalibrary/types/{ion_oobservation_queryhelp_response.py → iono_observation_queryhelp_response.py} +2 -2
  75. unifieddatalibrary/types/{ion_oobservation_tuple_params.py → iono_observation_tuple_params.py} +2 -2
  76. unifieddatalibrary/types/{ion_oobservation_tuple_response.py → iono_observation_tuple_response.py} +82 -82
  77. unifieddatalibrary/types/{ion_oobservation_unvalidated_publish_params.py → iono_observation_unvalidated_publish_params.py} +2 -2
  78. unifieddatalibrary/types/logistics_remarks_ingest_param.py +25 -0
  79. unifieddatalibrary/types/logistics_support_create_bulk_params.py +4 -51
  80. unifieddatalibrary/types/logistics_support_create_params.py +4 -49
  81. unifieddatalibrary/types/logistics_support_unvalidated_publish_params.py +4 -51
  82. unifieddatalibrary/types/logistics_support_update_params.py +4 -49
  83. unifieddatalibrary/types/onorbitantenna_create_params.py +3 -38
  84. unifieddatalibrary/types/onorbitantenna_update_params.py +3 -38
  85. unifieddatalibrary/types/onorbitbattery_create_params.py +3 -38
  86. unifieddatalibrary/types/onorbitbattery_update_params.py +3 -38
  87. unifieddatalibrary/types/onorbitsolararray_create_params.py +3 -38
  88. unifieddatalibrary/types/onorbitsolararray_update_params.py +3 -38
  89. unifieddatalibrary/types/onorbitthruster_create_params.py +3 -41
  90. unifieddatalibrary/types/onorbitthruster_update_params.py +3 -41
  91. unifieddatalibrary/types/point_of_contact_ingest_param.py +41 -0
  92. unifieddatalibrary/types/route_points_ingest_param.py +82 -0
  93. unifieddatalibrary/types/shared/__init__.py +5 -0
  94. unifieddatalibrary/types/shared/antenna_ingest.py +62 -0
  95. unifieddatalibrary/types/shared/battery_ingest.py +62 -0
  96. unifieddatalibrary/types/shared/engine_ingest.py +65 -0
  97. unifieddatalibrary/types/shared/solar_array_ingest.py +62 -0
  98. unifieddatalibrary/types/shared/sub_status_ingest.py +74 -0
  99. unifieddatalibrary/types/shared_params/__init__.py +5 -0
  100. unifieddatalibrary/types/shared_params/antenna_ingest.py +45 -0
  101. unifieddatalibrary/types/shared_params/battery_ingest.py +45 -0
  102. unifieddatalibrary/types/shared_params/engine_ingest.py +48 -0
  103. unifieddatalibrary/types/shared_params/solar_array_ingest.py +45 -0
  104. unifieddatalibrary/types/shared_params/sub_status_ingest.py +57 -0
  105. unifieddatalibrary/types/status_create_params.py +3 -50
  106. unifieddatalibrary/types/status_update_params.py +3 -50
  107. unifieddatalibrary/types/supporting_data/__init__.py +13 -5
  108. unifieddatalibrary/types/supporting_data/{query_help_retrieve_response.py → dataowner_query_help_response.py} +2 -2
  109. unifieddatalibrary/types/supporting_data/{dataowner_type_list_params.py → dataowner_retrieve_data_owner_types_params.py} +2 -2
  110. unifieddatalibrary/types/supporting_data/dataowner_retrieve_data_owner_types_response.py +8 -0
  111. unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_params.py → dataowner_retrieve_provider_metadata_params.py} +2 -2
  112. unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_response.py → dataowner_retrieve_provider_metadata_response.py} +2 -2
  113. unifieddatalibrary/types/track_route_create_bulk_params.py +5 -267
  114. unifieddatalibrary/types/track_route_create_params.py +7 -122
  115. unifieddatalibrary/types/track_route_ingest_param.py +157 -0
  116. unifieddatalibrary/types/track_route_unvalidated_publish_params.py +7 -122
  117. unifieddatalibrary/types/track_route_update_params.py +7 -122
  118. unifieddatalibrary/resources/air_load_plans.py +0 -1341
  119. unifieddatalibrary/resources/air_operations/aircraft_sortie.py +0 -1557
  120. unifieddatalibrary/resources/attitudesets.py +0 -191
  121. unifieddatalibrary/resources/gnss_rawif.py +0 -871
  122. unifieddatalibrary/resources/iono_observation/__init__.py +0 -33
  123. unifieddatalibrary/resources/iono_observation/iono_observation.py +0 -102
  124. unifieddatalibrary/resources/supporting_data/dataowner_types.py +0 -186
  125. unifieddatalibrary/resources/supporting_data/provider_metadata.py +0 -179
  126. unifieddatalibrary/resources/supporting_data/query_help.py +0 -141
  127. unifieddatalibrary/types/air_operations/aircraft_sortie_history_count_response.py +0 -7
  128. unifieddatalibrary/types/supporting_data/dataowner_type_list_response.py +0 -7
  129. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/WHEEL +0 -0
  130. {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/licenses/LICENSE +0 -0
  131. /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
  132. /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/poi.py +0 -0
  133. /unifieddatalibrary/types/{iono_observation → iono_observations}/__init__.py +0 -0
  134. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_aodr_params.py +0 -0
  135. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_params.py +0 -0
  136. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_response.py +0 -0
  137. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_params.py +0 -0
  138. /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_response.py +0 -0
  139. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/__init__.py +0 -0
  140. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
  141. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_aodr_params.py +0 -0
  142. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_params.py +0 -0
  143. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_response.py +0 -0
  144. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_params.py +0 -0
  145. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_response.py +0 -0
  146. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_h3geo_unvalidated_publish_params.py +0 -0
  147. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_file_get_params.py +0 -0
  148. /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_unvalidated_publish_params.py +0 -0
@@ -1,1341 +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 datetime
7
- from typing_extensions import Literal
8
-
9
- import httpx
10
-
11
- from ..types import (
12
- air_load_plan_list_params,
13
- air_load_plan_count_params,
14
- air_load_plan_tuple_params,
15
- air_load_plan_create_params,
16
- air_load_plan_retrieve_params,
17
- )
18
- from .._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
19
- from .._utils import maybe_transform, async_maybe_transform
20
- from .._compat import cached_property
21
- from .._resource import SyncAPIResource, AsyncAPIResource
22
- from .._response import (
23
- to_raw_response_wrapper,
24
- to_streamed_response_wrapper,
25
- async_to_raw_response_wrapper,
26
- async_to_streamed_response_wrapper,
27
- )
28
- from ..pagination import SyncOffsetPage, AsyncOffsetPage
29
- from .._base_client import AsyncPaginator, make_request_options
30
- from ..types.airloadplan_abridged import AirloadplanAbridged
31
- from ..types.shared.airloadplan_full import AirloadplanFull
32
- from ..types.air_load_plan_tuple_response import AirLoadPlanTupleResponse
33
- from ..types.air_load_plan_queryhelp_response import AirLoadPlanQueryhelpResponse
34
-
35
- __all__ = ["AirLoadPlansResource", "AsyncAirLoadPlansResource"]
36
-
37
-
38
- class AirLoadPlansResource(SyncAPIResource):
39
- @cached_property
40
- def with_raw_response(self) -> AirLoadPlansResourceWithRawResponse:
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 AirLoadPlansResourceWithRawResponse(self)
48
-
49
- @cached_property
50
- def with_streaming_response(self) -> AirLoadPlansResourceWithStreamingResponse:
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 AirLoadPlansResourceWithStreamingResponse(self)
57
-
58
- def create(
59
- self,
60
- *,
61
- classification_marking: str,
62
- data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
63
- est_dep_time: Union[str, datetime],
64
- source: str,
65
- id: str | NotGiven = NOT_GIVEN,
66
- acl_onboard: float | NotGiven = NOT_GIVEN,
67
- acl_released: float | NotGiven = NOT_GIVEN,
68
- aircraft_mds: str | NotGiven = NOT_GIVEN,
69
- air_load_plan_hazmat_actuals: Iterable[air_load_plan_create_params.AirLoadPlanHazmatActual]
70
- | NotGiven = NOT_GIVEN,
71
- air_load_plan_hr: Iterable[air_load_plan_create_params.AirLoadPlanHr] | NotGiven = NOT_GIVEN,
72
- air_load_plan_pallet_details: Iterable[air_load_plan_create_params.AirLoadPlanPalletDetail]
73
- | NotGiven = NOT_GIVEN,
74
- air_load_plan_pax_cargo: Iterable[air_load_plan_create_params.AirLoadPlanPaxCargo] | NotGiven = NOT_GIVEN,
75
- air_load_plan_uln_actuals: Iterable[air_load_plan_create_params.AirLoadPlanUlnActual] | NotGiven = NOT_GIVEN,
76
- arr_airfield: str | NotGiven = NOT_GIVEN,
77
- arr_icao: str | NotGiven = NOT_GIVEN,
78
- available_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
79
- basic_moment: float | NotGiven = NOT_GIVEN,
80
- basic_weight: float | NotGiven = NOT_GIVEN,
81
- brief_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
82
- call_sign: str | NotGiven = NOT_GIVEN,
83
- cargo_bay_fs_max: float | NotGiven = NOT_GIVEN,
84
- cargo_bay_fs_min: float | NotGiven = NOT_GIVEN,
85
- cargo_bay_width: float | NotGiven = NOT_GIVEN,
86
- cargo_config: str | NotGiven = NOT_GIVEN,
87
- cargo_moment: float | NotGiven = NOT_GIVEN,
88
- cargo_volume: float | NotGiven = NOT_GIVEN,
89
- cargo_weight: float | NotGiven = NOT_GIVEN,
90
- crew_size: int | NotGiven = NOT_GIVEN,
91
- dep_airfield: str | NotGiven = NOT_GIVEN,
92
- dep_icao: str | NotGiven = NOT_GIVEN,
93
- equip_config: str | NotGiven = NOT_GIVEN,
94
- est_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
95
- est_landing_fuel_moment: float | NotGiven = NOT_GIVEN,
96
- est_landing_fuel_weight: float | NotGiven = NOT_GIVEN,
97
- external_id: str | NotGiven = NOT_GIVEN,
98
- fuel_moment: float | NotGiven = NOT_GIVEN,
99
- fuel_weight: float | NotGiven = NOT_GIVEN,
100
- gross_cg: float | NotGiven = NOT_GIVEN,
101
- gross_moment: float | NotGiven = NOT_GIVEN,
102
- gross_weight: float | NotGiven = NOT_GIVEN,
103
- id_mission: str | NotGiven = NOT_GIVEN,
104
- id_sortie: str | NotGiven = NOT_GIVEN,
105
- landing_cg: float | NotGiven = NOT_GIVEN,
106
- landing_moment: float | NotGiven = NOT_GIVEN,
107
- landing_weight: float | NotGiven = NOT_GIVEN,
108
- leg_num: int | NotGiven = NOT_GIVEN,
109
- loadmaster_name: str | NotGiven = NOT_GIVEN,
110
- loadmaster_rank: str | NotGiven = NOT_GIVEN,
111
- load_remarks: str | NotGiven = NOT_GIVEN,
112
- mission_number: str | NotGiven = NOT_GIVEN,
113
- operating_moment: float | NotGiven = NOT_GIVEN,
114
- operating_weight: float | NotGiven = NOT_GIVEN,
115
- origin: str | NotGiven = NOT_GIVEN,
116
- pp_onboard: int | NotGiven = NOT_GIVEN,
117
- pp_released: int | NotGiven = NOT_GIVEN,
118
- sched_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
119
- seats_onboard: int | NotGiven = NOT_GIVEN,
120
- seats_released: int | NotGiven = NOT_GIVEN,
121
- tail_number: str | NotGiven = NOT_GIVEN,
122
- tank_config: str | NotGiven = NOT_GIVEN,
123
- util_code: str | NotGiven = NOT_GIVEN,
124
- zero_fuel_cg: float | NotGiven = NOT_GIVEN,
125
- zero_fuel_moment: float | NotGiven = NOT_GIVEN,
126
- zero_fuel_weight: float | NotGiven = NOT_GIVEN,
127
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
128
- # The extra values given here take precedence over values defined on the client or passed to this method.
129
- extra_headers: Headers | None = None,
130
- extra_query: Query | None = None,
131
- extra_body: Body | None = None,
132
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
133
- ) -> None:
134
- """
135
- Service operation to take a single airloadplan record as a POST body and ingest
136
- into the database. A specific role is required to perform this service
137
- operation. Please contact the UDL team for assistance.
138
-
139
- Args:
140
- classification_marking: Classification marking of the data in IC/CAPCO Portion-marked format.
141
-
142
- data_mode:
143
- Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
144
-
145
- EXERCISE: Data pertaining to a government or military exercise. The data
146
- may include both real and simulated data.
147
-
148
- REAL: Data collected or produced that pertains to real-world objects,
149
- events, and analysis.
150
-
151
- SIMULATED: Synthetic data generated by a model to mimic real-world
152
- datasets.
153
-
154
- TEST: Specific datasets used to evaluate compliance with specifications and
155
- requirements, and for validating technical, functional, and performance
156
- characteristics.
157
-
158
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
159
- UTC format with millisecond precision.
160
-
161
- source: Source of the data.
162
-
163
- id: Unique identifier of the record, auto-generated by the system.
164
-
165
- acl_onboard: Allowable Cabin Load (ACL) onboard the aircraft. The maximum weight of
166
- passengers, baggage, and cargo that can be safely transported in the aircraft
167
- cabin, in kilograms.
168
-
169
- acl_released: Allowable Cabin Load (ACL) released this leg. The weight of passengers, baggage,
170
- and cargo released from the aircraft cabin, in kilograms.
171
-
172
- aircraft_mds: The Model Design Series designation of the aircraft supporting this load plan.
173
-
174
- air_load_plan_hazmat_actuals: Collection of hazmat actuals associated with this load plan.
175
-
176
- air_load_plan_hr: Collection of human remains transport information associated with this load
177
- plan.
178
-
179
- air_load_plan_pallet_details: Collection of cargo information located at the pallet positions associated with
180
- this load plan.
181
-
182
- air_load_plan_pax_cargo: Collection of passenger and cargo details associated with this load plan for
183
- this leg of the mission.
184
-
185
- air_load_plan_uln_actuals: Collection of unit line number actuals associated with this load plan.
186
-
187
- arr_airfield: Optional identifier of arrival airfield with no International Civil Organization
188
- (ICAO) code.
189
-
190
- arr_icao: The arrival International Civil Organization (ICAO) code of the landing
191
- airfield.
192
-
193
- available_time: Time the loadmaster or boom operator is available for cargo loading/unloading,
194
- in ISO 8601 UTC format with millisecond precision.
195
-
196
- basic_moment: The basic weight of the aircraft multiplied by the distance between the
197
- reference datum and the aircraft's center of gravity, in Newton-meters.
198
-
199
- basic_weight: The weight of the aircraft without passengers, cargo, equipment, or usable fuel,
200
- in kilograms.
201
-
202
- brief_time: Time the cargo briefing was given to the loadmaster or boom operator, in ISO
203
- 8601 UTC format with millisecond precision.
204
-
205
- call_sign: The call sign of the mission supporting this load plan.
206
-
207
- cargo_bay_fs_max: Maximum fuselage station (FS) where cargo can be stored. FS is the distance from
208
- the reference datum, in meters.
209
-
210
- cargo_bay_fs_min: Minimum fuselage station (FS) where cargo can be stored. FS is the distance from
211
- the reference datum, in meters.
212
-
213
- cargo_bay_width: Width of the cargo bay, in meters.
214
-
215
- cargo_config: The cargo configuration required for this leg (e.g. C-1, C-2, C-3, DV-1, DV-2,
216
- AE-1, etc.). Configuration meanings are determined by the data source.
217
-
218
- cargo_moment: The sum of cargo moments of all cargo on board the aircraft, in Newton-meters.
219
- Each individual cargo moment is the weight of the cargo multiplied by the
220
- distance between the reference datum and the cargo's center of gravity.
221
-
222
- cargo_volume: Volume of cargo space in the aircraft, in cubic meters.
223
-
224
- cargo_weight: The weight of the cargo on board the aircraft, in kilograms.
225
-
226
- crew_size: The number of crew members on the aircraft.
227
-
228
- dep_airfield: Optional identifier of departure airfield with no International Civil
229
- Organization (ICAO) code.
230
-
231
- dep_icao: The departure International Civil Organization (ICAO) code of the departure
232
- airfield.
233
-
234
- equip_config: Description of the equipment configuration (e.g. Standard, Ferry, JBLM, CHS,
235
- Combat, etc.). Configuration meanings are determined by the data source.
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_landing_fuel_moment: The estimated weight of usable fuel upon landing multiplied by the distance
241
- between the reference datum and the fuel's center of gravity, in Newton-meters.
242
-
243
- est_landing_fuel_weight: The estimated weight of usable fuel upon landing, in kilograms.
244
-
245
- external_id: Optional ID from external systems. This field has no meaning within UDL and is
246
- provided as a convenience for systems that require tracking of an internal
247
- system generated ID.
248
-
249
- fuel_moment: The fuel weight on board the aircraft multiplied by the distance between the
250
- reference datum and the fuel's center of gravity, in Newton-meters.
251
-
252
- fuel_weight: The weight of usable fuel on board the aircraft, in kilograms.
253
-
254
- gross_cg: The center of gravity of the aircraft using the gross weight and gross moment,
255
- as a percentage of the mean aerodynamic chord (%MAC).
256
-
257
- gross_moment: The sum of moments of all items making up the gross weight of the aircraft, in
258
- Newton-meters.
259
-
260
- gross_weight: The total weight of the aircraft at takeoff including passengers, cargo,
261
- equipment, and usable fuel, in kilograms.
262
-
263
- id_mission: The UDL ID of the mission this record is associated with.
264
-
265
- id_sortie: The UDL ID of the aircraft sortie this record is associated with.
266
-
267
- landing_cg: The center of gravity of the aircraft using the landing weight and landing
268
- moment, as a percentage of the mean aerodynamic chord (%MAC).
269
-
270
- landing_moment: The sum of moments of all items making up the gross weight of the aircraft upon
271
- landing, in Newton-meters.
272
-
273
- landing_weight: The gross weight of the aircraft upon landing, in kilograms.
274
-
275
- leg_num: The leg number of the mission supporting this load plan.
276
-
277
- loadmaster_name: Name of the loadmaster or boom operator who received the cargo briefing.
278
-
279
- loadmaster_rank: Rank of the loadmaster or boom operator overseeing cargo loading/unloading.
280
-
281
- load_remarks: Remarks concerning this load plan.
282
-
283
- mission_number: The mission number of the mission supporting this load plan.
284
-
285
- operating_moment: The operating weight of the aircraft multiplied by the distance between the
286
- reference datum and the aircraft's center of gravity, in Newton-meters.
287
-
288
- operating_weight: The basic weight of the aircraft including passengers and equipment, in
289
- kilograms.
290
-
291
- origin: Originating system or organization which produced the data, if different from
292
- the source. The origin may be different than the source if the source was a
293
- mediating system which forwarded the data on behalf of the origin system. If
294
- null, the source may be assumed to be the origin.
295
-
296
- pp_onboard: Number of pallet positions on the aircraft.
297
-
298
- pp_released: Number of pallet positions released this leg.
299
-
300
- sched_time: Time the loadmaster or boom operator is scheduled to begin overseeing cargo
301
- loading/unloading, in ISO 8601 UTC format with millisecond precision.
302
-
303
- seats_onboard: Number of passenger seats on the aircraft.
304
-
305
- seats_released: Number of passenger seats released this leg.
306
-
307
- tail_number: The tail number of the aircraft supporting this load plan.
308
-
309
- tank_config: Description of the fuel tank(s) configuration (e.g. ER, NON-ER, etc.).
310
- Configuration meanings are determined by the data source.
311
-
312
- util_code: Alphanumeric code that describes general cargo-related utilization and
313
- characteristics for an itinerary point.
314
-
315
- zero_fuel_cg: The center of gravity of the aircraft using the zero fuel weight and zero fuel
316
- total moment, as a percentage of the mean aerodynamic chord (%MAC).
317
-
318
- zero_fuel_moment: The zero fuel weight of the aircraft multiplied by the distance between the
319
- reference datum and the aircraft's center of gravity, in Newton-meters.
320
-
321
- zero_fuel_weight: The operating weight of the aircraft including cargo, mail, baggage, and
322
- passengers, but without usable fuel, in kilograms.
323
-
324
- extra_headers: Send extra headers
325
-
326
- extra_query: Add additional query parameters to the request
327
-
328
- extra_body: Add additional JSON properties to the request
329
-
330
- timeout: Override the client-level default timeout for this request, in seconds
331
- """
332
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
333
- return self._post(
334
- "/udl/airloadplan",
335
- body=maybe_transform(
336
- {
337
- "classification_marking": classification_marking,
338
- "data_mode": data_mode,
339
- "est_dep_time": est_dep_time,
340
- "source": source,
341
- "id": id,
342
- "acl_onboard": acl_onboard,
343
- "acl_released": acl_released,
344
- "aircraft_mds": aircraft_mds,
345
- "air_load_plan_hazmat_actuals": air_load_plan_hazmat_actuals,
346
- "air_load_plan_hr": air_load_plan_hr,
347
- "air_load_plan_pallet_details": air_load_plan_pallet_details,
348
- "air_load_plan_pax_cargo": air_load_plan_pax_cargo,
349
- "air_load_plan_uln_actuals": air_load_plan_uln_actuals,
350
- "arr_airfield": arr_airfield,
351
- "arr_icao": arr_icao,
352
- "available_time": available_time,
353
- "basic_moment": basic_moment,
354
- "basic_weight": basic_weight,
355
- "brief_time": brief_time,
356
- "call_sign": call_sign,
357
- "cargo_bay_fs_max": cargo_bay_fs_max,
358
- "cargo_bay_fs_min": cargo_bay_fs_min,
359
- "cargo_bay_width": cargo_bay_width,
360
- "cargo_config": cargo_config,
361
- "cargo_moment": cargo_moment,
362
- "cargo_volume": cargo_volume,
363
- "cargo_weight": cargo_weight,
364
- "crew_size": crew_size,
365
- "dep_airfield": dep_airfield,
366
- "dep_icao": dep_icao,
367
- "equip_config": equip_config,
368
- "est_arr_time": est_arr_time,
369
- "est_landing_fuel_moment": est_landing_fuel_moment,
370
- "est_landing_fuel_weight": est_landing_fuel_weight,
371
- "external_id": external_id,
372
- "fuel_moment": fuel_moment,
373
- "fuel_weight": fuel_weight,
374
- "gross_cg": gross_cg,
375
- "gross_moment": gross_moment,
376
- "gross_weight": gross_weight,
377
- "id_mission": id_mission,
378
- "id_sortie": id_sortie,
379
- "landing_cg": landing_cg,
380
- "landing_moment": landing_moment,
381
- "landing_weight": landing_weight,
382
- "leg_num": leg_num,
383
- "loadmaster_name": loadmaster_name,
384
- "loadmaster_rank": loadmaster_rank,
385
- "load_remarks": load_remarks,
386
- "mission_number": mission_number,
387
- "operating_moment": operating_moment,
388
- "operating_weight": operating_weight,
389
- "origin": origin,
390
- "pp_onboard": pp_onboard,
391
- "pp_released": pp_released,
392
- "sched_time": sched_time,
393
- "seats_onboard": seats_onboard,
394
- "seats_released": seats_released,
395
- "tail_number": tail_number,
396
- "tank_config": tank_config,
397
- "util_code": util_code,
398
- "zero_fuel_cg": zero_fuel_cg,
399
- "zero_fuel_moment": zero_fuel_moment,
400
- "zero_fuel_weight": zero_fuel_weight,
401
- },
402
- air_load_plan_create_params.AirLoadPlanCreateParams,
403
- ),
404
- options=make_request_options(
405
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
406
- ),
407
- cast_to=NoneType,
408
- )
409
-
410
- def retrieve(
411
- self,
412
- id: str,
413
- *,
414
- first_result: int | NotGiven = NOT_GIVEN,
415
- max_results: int | NotGiven = NOT_GIVEN,
416
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
417
- # The extra values given here take precedence over values defined on the client or passed to this method.
418
- extra_headers: Headers | None = None,
419
- extra_query: Query | None = None,
420
- extra_body: Body | None = None,
421
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
422
- ) -> AirloadplanFull:
423
- """
424
- Service operation to get a single airloadplan record by its unique ID passed as
425
- a path parameter.
426
-
427
- Args:
428
- extra_headers: Send extra headers
429
-
430
- extra_query: Add additional query parameters to the request
431
-
432
- extra_body: Add additional JSON properties to the request
433
-
434
- timeout: Override the client-level default timeout for this request, in seconds
435
- """
436
- if not id:
437
- raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
438
- return self._get(
439
- f"/udl/airloadplan/{id}",
440
- options=make_request_options(
441
- extra_headers=extra_headers,
442
- extra_query=extra_query,
443
- extra_body=extra_body,
444
- timeout=timeout,
445
- query=maybe_transform(
446
- {
447
- "first_result": first_result,
448
- "max_results": max_results,
449
- },
450
- air_load_plan_retrieve_params.AirLoadPlanRetrieveParams,
451
- ),
452
- ),
453
- cast_to=AirloadplanFull,
454
- )
455
-
456
- def list(
457
- self,
458
- *,
459
- est_dep_time: Union[str, datetime],
460
- first_result: int | NotGiven = NOT_GIVEN,
461
- max_results: int | NotGiven = NOT_GIVEN,
462
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
463
- # The extra values given here take precedence over values defined on the client or passed to this method.
464
- extra_headers: Headers | None = None,
465
- extra_query: Query | None = None,
466
- extra_body: Body | None = None,
467
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
468
- ) -> SyncOffsetPage[AirloadplanAbridged]:
469
- """
470
- Service operation to dynamically query data by a variety of query parameters not
471
- specified in this API documentation. See the queryhelp operation
472
- (/udl/<datatype>/queryhelp) for more details on valid/required query
473
- parameter information.
474
-
475
- Args:
476
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
477
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
478
-
479
- extra_headers: Send extra headers
480
-
481
- extra_query: Add additional query parameters to the request
482
-
483
- extra_body: Add additional JSON properties to the request
484
-
485
- timeout: Override the client-level default timeout for this request, in seconds
486
- """
487
- return self._get_api_list(
488
- "/udl/airloadplan",
489
- page=SyncOffsetPage[AirloadplanAbridged],
490
- options=make_request_options(
491
- extra_headers=extra_headers,
492
- extra_query=extra_query,
493
- extra_body=extra_body,
494
- timeout=timeout,
495
- query=maybe_transform(
496
- {
497
- "est_dep_time": est_dep_time,
498
- "first_result": first_result,
499
- "max_results": max_results,
500
- },
501
- air_load_plan_list_params.AirLoadPlanListParams,
502
- ),
503
- ),
504
- model=AirloadplanAbridged,
505
- )
506
-
507
- def count(
508
- self,
509
- *,
510
- est_dep_time: Union[str, datetime],
511
- first_result: int | NotGiven = NOT_GIVEN,
512
- max_results: int | NotGiven = NOT_GIVEN,
513
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
514
- # The extra values given here take precedence over values defined on the client or passed to this method.
515
- extra_headers: Headers | None = None,
516
- extra_query: Query | None = None,
517
- extra_body: Body | None = None,
518
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
519
- ) -> str:
520
- """
521
- Service operation to return the count of records satisfying the specified query
522
- parameters. This operation is useful to determine how many records pass a
523
- particular query criteria without retrieving large amounts of data. See the
524
- queryhelp operation (/udl/<datatype>/queryhelp) for more details on
525
- valid/required query parameter information.
526
-
527
- Args:
528
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
529
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
530
-
531
- extra_headers: Send extra headers
532
-
533
- extra_query: Add additional query parameters to the request
534
-
535
- extra_body: Add additional JSON properties to the request
536
-
537
- timeout: Override the client-level default timeout for this request, in seconds
538
- """
539
- extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
540
- return self._get(
541
- "/udl/airloadplan/count",
542
- options=make_request_options(
543
- extra_headers=extra_headers,
544
- extra_query=extra_query,
545
- extra_body=extra_body,
546
- timeout=timeout,
547
- query=maybe_transform(
548
- {
549
- "est_dep_time": est_dep_time,
550
- "first_result": first_result,
551
- "max_results": max_results,
552
- },
553
- air_load_plan_count_params.AirLoadPlanCountParams,
554
- ),
555
- ),
556
- cast_to=str,
557
- )
558
-
559
- def queryhelp(
560
- self,
561
- *,
562
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
563
- # The extra values given here take precedence over values defined on the client or passed to this method.
564
- extra_headers: Headers | None = None,
565
- extra_query: Query | None = None,
566
- extra_body: Body | None = None,
567
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
568
- ) -> AirLoadPlanQueryhelpResponse:
569
- """
570
- Service operation to provide detailed information on available dynamic query
571
- parameters for a particular data type.
572
- """
573
- return self._get(
574
- "/udl/airloadplan/queryhelp",
575
- options=make_request_options(
576
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
577
- ),
578
- cast_to=AirLoadPlanQueryhelpResponse,
579
- )
580
-
581
- def tuple(
582
- self,
583
- *,
584
- columns: str,
585
- est_dep_time: Union[str, datetime],
586
- first_result: int | NotGiven = NOT_GIVEN,
587
- max_results: int | NotGiven = NOT_GIVEN,
588
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
589
- # The extra values given here take precedence over values defined on the client or passed to this method.
590
- extra_headers: Headers | None = None,
591
- extra_query: Query | None = None,
592
- extra_body: Body | None = None,
593
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
594
- ) -> AirLoadPlanTupleResponse:
595
- """
596
- Service operation to dynamically query data and only return specified
597
- columns/fields. Requested columns are specified by the 'columns' query parameter
598
- and should be a comma separated list of valid fields for the specified data
599
- type. classificationMarking is always returned. See the queryhelp operation
600
- (/udl/<datatype>/queryhelp) for more details on valid/required query parameter
601
- information. An example URI: /udl/elset/tuple?columns=satNo,period&epoch=>now-5
602
- hours would return the satNo and period of elsets with an epoch greater than 5
603
- hours ago.
604
-
605
- Args:
606
- columns: Comma-separated list of valid field names for this data type to be returned in
607
- the response. Only the fields specified will be returned as well as the
608
- classification marking of the data, if applicable. See the ‘queryhelp’ operation
609
- for a complete list of possible fields.
610
-
611
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
612
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
613
-
614
- extra_headers: Send extra headers
615
-
616
- extra_query: Add additional query parameters to the request
617
-
618
- extra_body: Add additional JSON properties to the request
619
-
620
- timeout: Override the client-level default timeout for this request, in seconds
621
- """
622
- return self._get(
623
- "/udl/airloadplan/tuple",
624
- options=make_request_options(
625
- extra_headers=extra_headers,
626
- extra_query=extra_query,
627
- extra_body=extra_body,
628
- timeout=timeout,
629
- query=maybe_transform(
630
- {
631
- "columns": columns,
632
- "est_dep_time": est_dep_time,
633
- "first_result": first_result,
634
- "max_results": max_results,
635
- },
636
- air_load_plan_tuple_params.AirLoadPlanTupleParams,
637
- ),
638
- ),
639
- cast_to=AirLoadPlanTupleResponse,
640
- )
641
-
642
-
643
- class AsyncAirLoadPlansResource(AsyncAPIResource):
644
- @cached_property
645
- def with_raw_response(self) -> AsyncAirLoadPlansResourceWithRawResponse:
646
- """
647
- This property can be used as a prefix for any HTTP method call to return
648
- the raw response object instead of the parsed content.
649
-
650
- For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
651
- """
652
- return AsyncAirLoadPlansResourceWithRawResponse(self)
653
-
654
- @cached_property
655
- def with_streaming_response(self) -> AsyncAirLoadPlansResourceWithStreamingResponse:
656
- """
657
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
658
-
659
- For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
660
- """
661
- return AsyncAirLoadPlansResourceWithStreamingResponse(self)
662
-
663
- async def create(
664
- self,
665
- *,
666
- classification_marking: str,
667
- data_mode: Literal["REAL", "TEST", "SIMULATED", "EXERCISE"],
668
- est_dep_time: Union[str, datetime],
669
- source: str,
670
- id: str | NotGiven = NOT_GIVEN,
671
- acl_onboard: float | NotGiven = NOT_GIVEN,
672
- acl_released: float | NotGiven = NOT_GIVEN,
673
- aircraft_mds: str | NotGiven = NOT_GIVEN,
674
- air_load_plan_hazmat_actuals: Iterable[air_load_plan_create_params.AirLoadPlanHazmatActual]
675
- | NotGiven = NOT_GIVEN,
676
- air_load_plan_hr: Iterable[air_load_plan_create_params.AirLoadPlanHr] | NotGiven = NOT_GIVEN,
677
- air_load_plan_pallet_details: Iterable[air_load_plan_create_params.AirLoadPlanPalletDetail]
678
- | NotGiven = NOT_GIVEN,
679
- air_load_plan_pax_cargo: Iterable[air_load_plan_create_params.AirLoadPlanPaxCargo] | NotGiven = NOT_GIVEN,
680
- air_load_plan_uln_actuals: Iterable[air_load_plan_create_params.AirLoadPlanUlnActual] | NotGiven = NOT_GIVEN,
681
- arr_airfield: str | NotGiven = NOT_GIVEN,
682
- arr_icao: str | NotGiven = NOT_GIVEN,
683
- available_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
684
- basic_moment: float | NotGiven = NOT_GIVEN,
685
- basic_weight: float | NotGiven = NOT_GIVEN,
686
- brief_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
687
- call_sign: str | NotGiven = NOT_GIVEN,
688
- cargo_bay_fs_max: float | NotGiven = NOT_GIVEN,
689
- cargo_bay_fs_min: float | NotGiven = NOT_GIVEN,
690
- cargo_bay_width: float | NotGiven = NOT_GIVEN,
691
- cargo_config: str | NotGiven = NOT_GIVEN,
692
- cargo_moment: float | NotGiven = NOT_GIVEN,
693
- cargo_volume: float | NotGiven = NOT_GIVEN,
694
- cargo_weight: float | NotGiven = NOT_GIVEN,
695
- crew_size: int | NotGiven = NOT_GIVEN,
696
- dep_airfield: str | NotGiven = NOT_GIVEN,
697
- dep_icao: str | NotGiven = NOT_GIVEN,
698
- equip_config: str | NotGiven = NOT_GIVEN,
699
- est_arr_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
700
- est_landing_fuel_moment: float | NotGiven = NOT_GIVEN,
701
- est_landing_fuel_weight: float | NotGiven = NOT_GIVEN,
702
- external_id: str | NotGiven = NOT_GIVEN,
703
- fuel_moment: float | NotGiven = NOT_GIVEN,
704
- fuel_weight: float | NotGiven = NOT_GIVEN,
705
- gross_cg: float | NotGiven = NOT_GIVEN,
706
- gross_moment: float | NotGiven = NOT_GIVEN,
707
- gross_weight: float | NotGiven = NOT_GIVEN,
708
- id_mission: str | NotGiven = NOT_GIVEN,
709
- id_sortie: str | NotGiven = NOT_GIVEN,
710
- landing_cg: float | NotGiven = NOT_GIVEN,
711
- landing_moment: float | NotGiven = NOT_GIVEN,
712
- landing_weight: float | NotGiven = NOT_GIVEN,
713
- leg_num: int | NotGiven = NOT_GIVEN,
714
- loadmaster_name: str | NotGiven = NOT_GIVEN,
715
- loadmaster_rank: str | NotGiven = NOT_GIVEN,
716
- load_remarks: str | NotGiven = NOT_GIVEN,
717
- mission_number: str | NotGiven = NOT_GIVEN,
718
- operating_moment: float | NotGiven = NOT_GIVEN,
719
- operating_weight: float | NotGiven = NOT_GIVEN,
720
- origin: str | NotGiven = NOT_GIVEN,
721
- pp_onboard: int | NotGiven = NOT_GIVEN,
722
- pp_released: int | NotGiven = NOT_GIVEN,
723
- sched_time: Union[str, datetime] | NotGiven = NOT_GIVEN,
724
- seats_onboard: int | NotGiven = NOT_GIVEN,
725
- seats_released: int | NotGiven = NOT_GIVEN,
726
- tail_number: str | NotGiven = NOT_GIVEN,
727
- tank_config: str | NotGiven = NOT_GIVEN,
728
- util_code: str | NotGiven = NOT_GIVEN,
729
- zero_fuel_cg: float | NotGiven = NOT_GIVEN,
730
- zero_fuel_moment: float | NotGiven = NOT_GIVEN,
731
- zero_fuel_weight: float | NotGiven = NOT_GIVEN,
732
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
733
- # The extra values given here take precedence over values defined on the client or passed to this method.
734
- extra_headers: Headers | None = None,
735
- extra_query: Query | None = None,
736
- extra_body: Body | None = None,
737
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
738
- ) -> None:
739
- """
740
- Service operation to take a single airloadplan record as a POST body and ingest
741
- into the database. A specific role is required to perform this service
742
- operation. Please contact the UDL team for assistance.
743
-
744
- Args:
745
- classification_marking: Classification marking of the data in IC/CAPCO Portion-marked format.
746
-
747
- data_mode:
748
- Indicator of whether the data is EXERCISE, REAL, SIMULATED, or TEST data:
749
-
750
- EXERCISE:&nbsp;Data pertaining to a government or military exercise. The data
751
- may include both real and simulated data.
752
-
753
- REAL:&nbsp;Data collected or produced that pertains to real-world objects,
754
- events, and analysis.
755
-
756
- SIMULATED:&nbsp;Synthetic data generated by a model to mimic real-world
757
- datasets.
758
-
759
- TEST:&nbsp;Specific datasets used to evaluate compliance with specifications and
760
- requirements, and for validating technical, functional, and performance
761
- characteristics.
762
-
763
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
764
- UTC format with millisecond precision.
765
-
766
- source: Source of the data.
767
-
768
- id: Unique identifier of the record, auto-generated by the system.
769
-
770
- acl_onboard: Allowable Cabin Load (ACL) onboard the aircraft. The maximum weight of
771
- passengers, baggage, and cargo that can be safely transported in the aircraft
772
- cabin, in kilograms.
773
-
774
- acl_released: Allowable Cabin Load (ACL) released this leg. The weight of passengers, baggage,
775
- and cargo released from the aircraft cabin, in kilograms.
776
-
777
- aircraft_mds: The Model Design Series designation of the aircraft supporting this load plan.
778
-
779
- air_load_plan_hazmat_actuals: Collection of hazmat actuals associated with this load plan.
780
-
781
- air_load_plan_hr: Collection of human remains transport information associated with this load
782
- plan.
783
-
784
- air_load_plan_pallet_details: Collection of cargo information located at the pallet positions associated with
785
- this load plan.
786
-
787
- air_load_plan_pax_cargo: Collection of passenger and cargo details associated with this load plan for
788
- this leg of the mission.
789
-
790
- air_load_plan_uln_actuals: Collection of unit line number actuals associated with this load plan.
791
-
792
- arr_airfield: Optional identifier of arrival airfield with no International Civil Organization
793
- (ICAO) code.
794
-
795
- arr_icao: The arrival International Civil Organization (ICAO) code of the landing
796
- airfield.
797
-
798
- available_time: Time the loadmaster or boom operator is available for cargo loading/unloading,
799
- in ISO 8601 UTC format with millisecond precision.
800
-
801
- basic_moment: The basic weight of the aircraft multiplied by the distance between the
802
- reference datum and the aircraft's center of gravity, in Newton-meters.
803
-
804
- basic_weight: The weight of the aircraft without passengers, cargo, equipment, or usable fuel,
805
- in kilograms.
806
-
807
- brief_time: Time the cargo briefing was given to the loadmaster or boom operator, in ISO
808
- 8601 UTC format with millisecond precision.
809
-
810
- call_sign: The call sign of the mission supporting this load plan.
811
-
812
- cargo_bay_fs_max: Maximum fuselage station (FS) where cargo can be stored. FS is the distance from
813
- the reference datum, in meters.
814
-
815
- cargo_bay_fs_min: Minimum fuselage station (FS) where cargo can be stored. FS is the distance from
816
- the reference datum, in meters.
817
-
818
- cargo_bay_width: Width of the cargo bay, in meters.
819
-
820
- cargo_config: The cargo configuration required for this leg (e.g. C-1, C-2, C-3, DV-1, DV-2,
821
- AE-1, etc.). Configuration meanings are determined by the data source.
822
-
823
- cargo_moment: The sum of cargo moments of all cargo on board the aircraft, in Newton-meters.
824
- Each individual cargo moment is the weight of the cargo multiplied by the
825
- distance between the reference datum and the cargo's center of gravity.
826
-
827
- cargo_volume: Volume of cargo space in the aircraft, in cubic meters.
828
-
829
- cargo_weight: The weight of the cargo on board the aircraft, in kilograms.
830
-
831
- crew_size: The number of crew members on the aircraft.
832
-
833
- dep_airfield: Optional identifier of departure airfield with no International Civil
834
- Organization (ICAO) code.
835
-
836
- dep_icao: The departure International Civil Organization (ICAO) code of the departure
837
- airfield.
838
-
839
- equip_config: Description of the equipment configuration (e.g. Standard, Ferry, JBLM, CHS,
840
- Combat, etc.). Configuration meanings are determined by the data source.
841
-
842
- est_arr_time: The current estimated time that the aircraft is planned to arrive, in ISO 8601
843
- UTC format with millisecond precision.
844
-
845
- est_landing_fuel_moment: The estimated weight of usable fuel upon landing multiplied by the distance
846
- between the reference datum and the fuel's center of gravity, in Newton-meters.
847
-
848
- est_landing_fuel_weight: The estimated weight of usable fuel upon landing, in kilograms.
849
-
850
- external_id: Optional ID from external systems. This field has no meaning within UDL and is
851
- provided as a convenience for systems that require tracking of an internal
852
- system generated ID.
853
-
854
- fuel_moment: The fuel weight on board the aircraft multiplied by the distance between the
855
- reference datum and the fuel's center of gravity, in Newton-meters.
856
-
857
- fuel_weight: The weight of usable fuel on board the aircraft, in kilograms.
858
-
859
- gross_cg: The center of gravity of the aircraft using the gross weight and gross moment,
860
- as a percentage of the mean aerodynamic chord (%MAC).
861
-
862
- gross_moment: The sum of moments of all items making up the gross weight of the aircraft, in
863
- Newton-meters.
864
-
865
- gross_weight: The total weight of the aircraft at takeoff including passengers, cargo,
866
- equipment, and usable fuel, in kilograms.
867
-
868
- id_mission: The UDL ID of the mission this record is associated with.
869
-
870
- id_sortie: The UDL ID of the aircraft sortie this record is associated with.
871
-
872
- landing_cg: The center of gravity of the aircraft using the landing weight and landing
873
- moment, as a percentage of the mean aerodynamic chord (%MAC).
874
-
875
- landing_moment: The sum of moments of all items making up the gross weight of the aircraft upon
876
- landing, in Newton-meters.
877
-
878
- landing_weight: The gross weight of the aircraft upon landing, in kilograms.
879
-
880
- leg_num: The leg number of the mission supporting this load plan.
881
-
882
- loadmaster_name: Name of the loadmaster or boom operator who received the cargo briefing.
883
-
884
- loadmaster_rank: Rank of the loadmaster or boom operator overseeing cargo loading/unloading.
885
-
886
- load_remarks: Remarks concerning this load plan.
887
-
888
- mission_number: The mission number of the mission supporting this load plan.
889
-
890
- operating_moment: The operating weight of the aircraft multiplied by the distance between the
891
- reference datum and the aircraft's center of gravity, in Newton-meters.
892
-
893
- operating_weight: The basic weight of the aircraft including passengers and equipment, in
894
- kilograms.
895
-
896
- origin: Originating system or organization which produced the data, if different from
897
- the source. The origin may be different than the source if the source was a
898
- mediating system which forwarded the data on behalf of the origin system. If
899
- null, the source may be assumed to be the origin.
900
-
901
- pp_onboard: Number of pallet positions on the aircraft.
902
-
903
- pp_released: Number of pallet positions released this leg.
904
-
905
- sched_time: Time the loadmaster or boom operator is scheduled to begin overseeing cargo
906
- loading/unloading, in ISO 8601 UTC format with millisecond precision.
907
-
908
- seats_onboard: Number of passenger seats on the aircraft.
909
-
910
- seats_released: Number of passenger seats released this leg.
911
-
912
- tail_number: The tail number of the aircraft supporting this load plan.
913
-
914
- tank_config: Description of the fuel tank(s) configuration (e.g. ER, NON-ER, etc.).
915
- Configuration meanings are determined by the data source.
916
-
917
- util_code: Alphanumeric code that describes general cargo-related utilization and
918
- characteristics for an itinerary point.
919
-
920
- zero_fuel_cg: The center of gravity of the aircraft using the zero fuel weight and zero fuel
921
- total moment, as a percentage of the mean aerodynamic chord (%MAC).
922
-
923
- zero_fuel_moment: The zero fuel weight of the aircraft multiplied by the distance between the
924
- reference datum and the aircraft's center of gravity, in Newton-meters.
925
-
926
- zero_fuel_weight: The operating weight of the aircraft including cargo, mail, baggage, and
927
- passengers, but without usable fuel, in kilograms.
928
-
929
- extra_headers: Send extra headers
930
-
931
- extra_query: Add additional query parameters to the request
932
-
933
- extra_body: Add additional JSON properties to the request
934
-
935
- timeout: Override the client-level default timeout for this request, in seconds
936
- """
937
- extra_headers = {"Accept": "*/*", **(extra_headers or {})}
938
- return await self._post(
939
- "/udl/airloadplan",
940
- body=await async_maybe_transform(
941
- {
942
- "classification_marking": classification_marking,
943
- "data_mode": data_mode,
944
- "est_dep_time": est_dep_time,
945
- "source": source,
946
- "id": id,
947
- "acl_onboard": acl_onboard,
948
- "acl_released": acl_released,
949
- "aircraft_mds": aircraft_mds,
950
- "air_load_plan_hazmat_actuals": air_load_plan_hazmat_actuals,
951
- "air_load_plan_hr": air_load_plan_hr,
952
- "air_load_plan_pallet_details": air_load_plan_pallet_details,
953
- "air_load_plan_pax_cargo": air_load_plan_pax_cargo,
954
- "air_load_plan_uln_actuals": air_load_plan_uln_actuals,
955
- "arr_airfield": arr_airfield,
956
- "arr_icao": arr_icao,
957
- "available_time": available_time,
958
- "basic_moment": basic_moment,
959
- "basic_weight": basic_weight,
960
- "brief_time": brief_time,
961
- "call_sign": call_sign,
962
- "cargo_bay_fs_max": cargo_bay_fs_max,
963
- "cargo_bay_fs_min": cargo_bay_fs_min,
964
- "cargo_bay_width": cargo_bay_width,
965
- "cargo_config": cargo_config,
966
- "cargo_moment": cargo_moment,
967
- "cargo_volume": cargo_volume,
968
- "cargo_weight": cargo_weight,
969
- "crew_size": crew_size,
970
- "dep_airfield": dep_airfield,
971
- "dep_icao": dep_icao,
972
- "equip_config": equip_config,
973
- "est_arr_time": est_arr_time,
974
- "est_landing_fuel_moment": est_landing_fuel_moment,
975
- "est_landing_fuel_weight": est_landing_fuel_weight,
976
- "external_id": external_id,
977
- "fuel_moment": fuel_moment,
978
- "fuel_weight": fuel_weight,
979
- "gross_cg": gross_cg,
980
- "gross_moment": gross_moment,
981
- "gross_weight": gross_weight,
982
- "id_mission": id_mission,
983
- "id_sortie": id_sortie,
984
- "landing_cg": landing_cg,
985
- "landing_moment": landing_moment,
986
- "landing_weight": landing_weight,
987
- "leg_num": leg_num,
988
- "loadmaster_name": loadmaster_name,
989
- "loadmaster_rank": loadmaster_rank,
990
- "load_remarks": load_remarks,
991
- "mission_number": mission_number,
992
- "operating_moment": operating_moment,
993
- "operating_weight": operating_weight,
994
- "origin": origin,
995
- "pp_onboard": pp_onboard,
996
- "pp_released": pp_released,
997
- "sched_time": sched_time,
998
- "seats_onboard": seats_onboard,
999
- "seats_released": seats_released,
1000
- "tail_number": tail_number,
1001
- "tank_config": tank_config,
1002
- "util_code": util_code,
1003
- "zero_fuel_cg": zero_fuel_cg,
1004
- "zero_fuel_moment": zero_fuel_moment,
1005
- "zero_fuel_weight": zero_fuel_weight,
1006
- },
1007
- air_load_plan_create_params.AirLoadPlanCreateParams,
1008
- ),
1009
- options=make_request_options(
1010
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1011
- ),
1012
- cast_to=NoneType,
1013
- )
1014
-
1015
- async def retrieve(
1016
- self,
1017
- id: str,
1018
- *,
1019
- first_result: int | NotGiven = NOT_GIVEN,
1020
- max_results: int | NotGiven = NOT_GIVEN,
1021
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1022
- # The extra values given here take precedence over values defined on the client or passed to this method.
1023
- extra_headers: Headers | None = None,
1024
- extra_query: Query | None = None,
1025
- extra_body: Body | None = None,
1026
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1027
- ) -> AirloadplanFull:
1028
- """
1029
- Service operation to get a single airloadplan record by its unique ID passed as
1030
- a path parameter.
1031
-
1032
- Args:
1033
- extra_headers: Send extra headers
1034
-
1035
- extra_query: Add additional query parameters to the request
1036
-
1037
- extra_body: Add additional JSON properties to the request
1038
-
1039
- timeout: Override the client-level default timeout for this request, in seconds
1040
- """
1041
- if not id:
1042
- raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
1043
- return await self._get(
1044
- f"/udl/airloadplan/{id}",
1045
- options=make_request_options(
1046
- extra_headers=extra_headers,
1047
- extra_query=extra_query,
1048
- extra_body=extra_body,
1049
- timeout=timeout,
1050
- query=await async_maybe_transform(
1051
- {
1052
- "first_result": first_result,
1053
- "max_results": max_results,
1054
- },
1055
- air_load_plan_retrieve_params.AirLoadPlanRetrieveParams,
1056
- ),
1057
- ),
1058
- cast_to=AirloadplanFull,
1059
- )
1060
-
1061
- def list(
1062
- self,
1063
- *,
1064
- est_dep_time: Union[str, datetime],
1065
- first_result: int | NotGiven = NOT_GIVEN,
1066
- max_results: int | NotGiven = NOT_GIVEN,
1067
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1068
- # The extra values given here take precedence over values defined on the client or passed to this method.
1069
- extra_headers: Headers | None = None,
1070
- extra_query: Query | None = None,
1071
- extra_body: Body | None = None,
1072
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1073
- ) -> AsyncPaginator[AirloadplanAbridged, AsyncOffsetPage[AirloadplanAbridged]]:
1074
- """
1075
- Service operation to dynamically query data by a variety of query parameters not
1076
- specified in this API documentation. See the queryhelp operation
1077
- (/udl/&lt;datatype&gt;/queryhelp) for more details on valid/required query
1078
- parameter information.
1079
-
1080
- Args:
1081
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
1082
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
1083
-
1084
- extra_headers: Send extra headers
1085
-
1086
- extra_query: Add additional query parameters to the request
1087
-
1088
- extra_body: Add additional JSON properties to the request
1089
-
1090
- timeout: Override the client-level default timeout for this request, in seconds
1091
- """
1092
- return self._get_api_list(
1093
- "/udl/airloadplan",
1094
- page=AsyncOffsetPage[AirloadplanAbridged],
1095
- options=make_request_options(
1096
- extra_headers=extra_headers,
1097
- extra_query=extra_query,
1098
- extra_body=extra_body,
1099
- timeout=timeout,
1100
- query=maybe_transform(
1101
- {
1102
- "est_dep_time": est_dep_time,
1103
- "first_result": first_result,
1104
- "max_results": max_results,
1105
- },
1106
- air_load_plan_list_params.AirLoadPlanListParams,
1107
- ),
1108
- ),
1109
- model=AirloadplanAbridged,
1110
- )
1111
-
1112
- async def count(
1113
- self,
1114
- *,
1115
- est_dep_time: Union[str, datetime],
1116
- first_result: int | NotGiven = NOT_GIVEN,
1117
- max_results: int | NotGiven = NOT_GIVEN,
1118
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1119
- # The extra values given here take precedence over values defined on the client or passed to this method.
1120
- extra_headers: Headers | None = None,
1121
- extra_query: Query | None = None,
1122
- extra_body: Body | None = None,
1123
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1124
- ) -> str:
1125
- """
1126
- Service operation to return the count of records satisfying the specified query
1127
- parameters. This operation is useful to determine how many records pass a
1128
- particular query criteria without retrieving large amounts of data. See the
1129
- queryhelp operation (/udl/&lt;datatype&gt;/queryhelp) for more details on
1130
- valid/required query parameter information.
1131
-
1132
- Args:
1133
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
1134
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
1135
-
1136
- extra_headers: Send extra headers
1137
-
1138
- extra_query: Add additional query parameters to the request
1139
-
1140
- extra_body: Add additional JSON properties to the request
1141
-
1142
- timeout: Override the client-level default timeout for this request, in seconds
1143
- """
1144
- extra_headers = {"Accept": "text/plain", **(extra_headers or {})}
1145
- return await self._get(
1146
- "/udl/airloadplan/count",
1147
- options=make_request_options(
1148
- extra_headers=extra_headers,
1149
- extra_query=extra_query,
1150
- extra_body=extra_body,
1151
- timeout=timeout,
1152
- query=await async_maybe_transform(
1153
- {
1154
- "est_dep_time": est_dep_time,
1155
- "first_result": first_result,
1156
- "max_results": max_results,
1157
- },
1158
- air_load_plan_count_params.AirLoadPlanCountParams,
1159
- ),
1160
- ),
1161
- cast_to=str,
1162
- )
1163
-
1164
- async def queryhelp(
1165
- self,
1166
- *,
1167
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1168
- # The extra values given here take precedence over values defined on the client or passed to this method.
1169
- extra_headers: Headers | None = None,
1170
- extra_query: Query | None = None,
1171
- extra_body: Body | None = None,
1172
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1173
- ) -> AirLoadPlanQueryhelpResponse:
1174
- """
1175
- Service operation to provide detailed information on available dynamic query
1176
- parameters for a particular data type.
1177
- """
1178
- return await self._get(
1179
- "/udl/airloadplan/queryhelp",
1180
- options=make_request_options(
1181
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1182
- ),
1183
- cast_to=AirLoadPlanQueryhelpResponse,
1184
- )
1185
-
1186
- async def tuple(
1187
- self,
1188
- *,
1189
- columns: str,
1190
- est_dep_time: Union[str, datetime],
1191
- first_result: int | NotGiven = NOT_GIVEN,
1192
- max_results: int | NotGiven = NOT_GIVEN,
1193
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1194
- # The extra values given here take precedence over values defined on the client or passed to this method.
1195
- extra_headers: Headers | None = None,
1196
- extra_query: Query | None = None,
1197
- extra_body: Body | None = None,
1198
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1199
- ) -> AirLoadPlanTupleResponse:
1200
- """
1201
- Service operation to dynamically query data and only return specified
1202
- columns/fields. Requested columns are specified by the 'columns' query parameter
1203
- and should be a comma separated list of valid fields for the specified data
1204
- type. classificationMarking is always returned. See the queryhelp operation
1205
- (/udl/<datatype>/queryhelp) for more details on valid/required query parameter
1206
- information. An example URI: /udl/elset/tuple?columns=satNo,period&epoch=>now-5
1207
- hours would return the satNo and period of elsets with an epoch greater than 5
1208
- hours ago.
1209
-
1210
- Args:
1211
- columns: Comma-separated list of valid field names for this data type to be returned in
1212
- the response. Only the fields specified will be returned as well as the
1213
- classification marking of the data, if applicable. See the ‘queryhelp’ operation
1214
- for a complete list of possible fields.
1215
-
1216
- est_dep_time: The current estimated time that the aircraft is planned to depart, in ISO 8601
1217
- UTC format with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
1218
-
1219
- extra_headers: Send extra headers
1220
-
1221
- extra_query: Add additional query parameters to the request
1222
-
1223
- extra_body: Add additional JSON properties to the request
1224
-
1225
- timeout: Override the client-level default timeout for this request, in seconds
1226
- """
1227
- return await self._get(
1228
- "/udl/airloadplan/tuple",
1229
- options=make_request_options(
1230
- extra_headers=extra_headers,
1231
- extra_query=extra_query,
1232
- extra_body=extra_body,
1233
- timeout=timeout,
1234
- query=await async_maybe_transform(
1235
- {
1236
- "columns": columns,
1237
- "est_dep_time": est_dep_time,
1238
- "first_result": first_result,
1239
- "max_results": max_results,
1240
- },
1241
- air_load_plan_tuple_params.AirLoadPlanTupleParams,
1242
- ),
1243
- ),
1244
- cast_to=AirLoadPlanTupleResponse,
1245
- )
1246
-
1247
-
1248
- class AirLoadPlansResourceWithRawResponse:
1249
- def __init__(self, air_load_plans: AirLoadPlansResource) -> None:
1250
- self._air_load_plans = air_load_plans
1251
-
1252
- self.create = to_raw_response_wrapper(
1253
- air_load_plans.create,
1254
- )
1255
- self.retrieve = to_raw_response_wrapper(
1256
- air_load_plans.retrieve,
1257
- )
1258
- self.list = to_raw_response_wrapper(
1259
- air_load_plans.list,
1260
- )
1261
- self.count = to_raw_response_wrapper(
1262
- air_load_plans.count,
1263
- )
1264
- self.queryhelp = to_raw_response_wrapper(
1265
- air_load_plans.queryhelp,
1266
- )
1267
- self.tuple = to_raw_response_wrapper(
1268
- air_load_plans.tuple,
1269
- )
1270
-
1271
-
1272
- class AsyncAirLoadPlansResourceWithRawResponse:
1273
- def __init__(self, air_load_plans: AsyncAirLoadPlansResource) -> None:
1274
- self._air_load_plans = air_load_plans
1275
-
1276
- self.create = async_to_raw_response_wrapper(
1277
- air_load_plans.create,
1278
- )
1279
- self.retrieve = async_to_raw_response_wrapper(
1280
- air_load_plans.retrieve,
1281
- )
1282
- self.list = async_to_raw_response_wrapper(
1283
- air_load_plans.list,
1284
- )
1285
- self.count = async_to_raw_response_wrapper(
1286
- air_load_plans.count,
1287
- )
1288
- self.queryhelp = async_to_raw_response_wrapper(
1289
- air_load_plans.queryhelp,
1290
- )
1291
- self.tuple = async_to_raw_response_wrapper(
1292
- air_load_plans.tuple,
1293
- )
1294
-
1295
-
1296
- class AirLoadPlansResourceWithStreamingResponse:
1297
- def __init__(self, air_load_plans: AirLoadPlansResource) -> None:
1298
- self._air_load_plans = air_load_plans
1299
-
1300
- self.create = to_streamed_response_wrapper(
1301
- air_load_plans.create,
1302
- )
1303
- self.retrieve = to_streamed_response_wrapper(
1304
- air_load_plans.retrieve,
1305
- )
1306
- self.list = to_streamed_response_wrapper(
1307
- air_load_plans.list,
1308
- )
1309
- self.count = to_streamed_response_wrapper(
1310
- air_load_plans.count,
1311
- )
1312
- self.queryhelp = to_streamed_response_wrapper(
1313
- air_load_plans.queryhelp,
1314
- )
1315
- self.tuple = to_streamed_response_wrapper(
1316
- air_load_plans.tuple,
1317
- )
1318
-
1319
-
1320
- class AsyncAirLoadPlansResourceWithStreamingResponse:
1321
- def __init__(self, air_load_plans: AsyncAirLoadPlansResource) -> None:
1322
- self._air_load_plans = air_load_plans
1323
-
1324
- self.create = async_to_streamed_response_wrapper(
1325
- air_load_plans.create,
1326
- )
1327
- self.retrieve = async_to_streamed_response_wrapper(
1328
- air_load_plans.retrieve,
1329
- )
1330
- self.list = async_to_streamed_response_wrapper(
1331
- air_load_plans.list,
1332
- )
1333
- self.count = async_to_streamed_response_wrapper(
1334
- air_load_plans.count,
1335
- )
1336
- self.queryhelp = async_to_streamed_response_wrapper(
1337
- air_load_plans.queryhelp,
1338
- )
1339
- self.tuple = async_to_streamed_response_wrapper(
1340
- air_load_plans.tuple,
1341
- )