|
29 | 29 | class ReportProblemWithStopResource(SyncAPIResource): |
30 | 30 | @cached_property |
31 | 31 | def with_raw_response(self) -> ReportProblemWithStopResourceWithRawResponse: |
| 32 | + """ |
| 33 | + This property can be used as a prefix for any HTTP method call to return the |
| 34 | + the raw response object instead of the parsed content. |
| 35 | +
|
| 36 | + For more information, see https://www.github.com/OneBusAway/python-sdk#accessing-raw-response-data-eg-headers |
| 37 | + """ |
32 | 38 | return ReportProblemWithStopResourceWithRawResponse(self) |
33 | 39 |
|
34 | 40 | @cached_property |
35 | 41 | def with_streaming_response(self) -> ReportProblemWithStopResourceWithStreamingResponse: |
| 42 | + """ |
| 43 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. |
| 44 | +
|
| 45 | + For more information, see https://www.github.com/OneBusAway/python-sdk#with_streaming_response |
| 46 | + """ |
36 | 47 | return ReportProblemWithStopResourceWithStreamingResponse(self) |
37 | 48 |
|
38 | 49 | def retrieve( |
@@ -101,10 +112,21 @@ def retrieve( |
101 | 112 | class AsyncReportProblemWithStopResource(AsyncAPIResource): |
102 | 113 | @cached_property |
103 | 114 | def with_raw_response(self) -> AsyncReportProblemWithStopResourceWithRawResponse: |
| 115 | + """ |
| 116 | + This property can be used as a prefix for any HTTP method call to return the |
| 117 | + the raw response object instead of the parsed content. |
| 118 | +
|
| 119 | + For more information, see https://www.github.com/OneBusAway/python-sdk#accessing-raw-response-data-eg-headers |
| 120 | + """ |
104 | 121 | return AsyncReportProblemWithStopResourceWithRawResponse(self) |
105 | 122 |
|
106 | 123 | @cached_property |
107 | 124 | def with_streaming_response(self) -> AsyncReportProblemWithStopResourceWithStreamingResponse: |
| 125 | + """ |
| 126 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. |
| 127 | +
|
| 128 | + For more information, see https://www.github.com/OneBusAway/python-sdk#with_streaming_response |
| 129 | + """ |
108 | 130 | return AsyncReportProblemWithStopResourceWithStreamingResponse(self) |
109 | 131 |
|
110 | 132 | async def retrieve( |
|
0 commit comments