gbox_sdk.resources package

Subpackages

Module contents

class gbox_sdk.resources.AsyncV1Resource(client)

Bases: AsyncAPIResource

property boxes: AsyncBoxesResource
property devices: AsyncDevicesResource
property with_raw_response: AsyncV1ResourceWithRawResponse

This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.

For more information, see https://www.github.com/babelcloud/gbox-sdk-py#accessing-raw-response-data-eg-headers

property with_streaming_response: AsyncV1ResourceWithStreamingResponse

An alternative to .with_raw_response that doesn’t eagerly read the response body.

For more information, see https://www.github.com/babelcloud/gbox-sdk-py#with_streaming_response

class gbox_sdk.resources.AsyncV1ResourceWithRawResponse(v1)

Bases: object

property boxes: AsyncBoxesResourceWithRawResponse
property devices: AsyncDevicesResourceWithRawResponse
class gbox_sdk.resources.AsyncV1ResourceWithStreamingResponse(v1)

Bases: object

property boxes: AsyncBoxesResourceWithStreamingResponse
property devices: AsyncDevicesResourceWithStreamingResponse
class gbox_sdk.resources.V1Resource(client)

Bases: SyncAPIResource

property boxes: BoxesResource
property devices: DevicesResource
property with_raw_response: V1ResourceWithRawResponse

This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.

For more information, see https://www.github.com/babelcloud/gbox-sdk-py#accessing-raw-response-data-eg-headers

property with_streaming_response: V1ResourceWithStreamingResponse

An alternative to .with_raw_response that doesn’t eagerly read the response body.

For more information, see https://www.github.com/babelcloud/gbox-sdk-py#with_streaming_response

class gbox_sdk.resources.V1ResourceWithRawResponse(v1)

Bases: object

property boxes: BoxesResourceWithRawResponse
property devices: DevicesResourceWithRawResponse
class gbox_sdk.resources.V1ResourceWithStreamingResponse(v1)

Bases: object

property boxes: BoxesResourceWithStreamingResponse
property devices: DevicesResourceWithStreamingResponse