# Package architecture

> Package architecture - Instantiate an object of this class using the data directly from the server,
> meaning that the keys may have the wrong camel casing

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.819352+00:00` (UTC).

## Primary page

- [Package architecture](https://docs.datarobot.com/en/docs/api/reference/sdk/api-object.html): Full documentation for this topic (HTML).

## Sections on this page

- [classdatarobot.models.api_object.APIObject](https://docs.datarobot.com/en/docs/api/reference/sdk/api-object.html#datarobot.models.api_object.APIObject): In-page section heading.
- [classmethodfrom_data(data)](https://docs.datarobot.com/en/docs/api/reference/sdk/api-object.html#datarobot.models.api_object.APIObject.from_data): In-page section heading.
- [classmethodfrom_server_data(data, keep_attrs=None)](https://docs.datarobot.com/en/docs/api/reference/sdk/api-object.html#datarobot.models.api_object.APIObject.from_server_data): In-page section heading.

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [API reference](https://docs.datarobot.com/en/docs/api/reference/index.html): Linked from this page.
- [Python API client](https://docs.datarobot.com/en/docs/api/reference/sdk/index.html): Linked from this page.
- [Client configuration](https://docs.datarobot.com/en/docs/api/reference/sdk/tag-clientconfig.html): Linked from this page.

## Documentation content

### class datarobot.models.api_object.APIObject

#### classmethod from_data(data)

Instantiate an object of this class using a dict.

- Parameters: data ( dict ) – Correctly snake_cased keys and their values.
- Return type: TypeVar ( T , bound= APIObject)

#### classmethod from_server_data(data, keep_attrs=None)

Instantiate an object of this class using the data directly from the server,
meaning that the keys may have the wrong camel casing

- Parameters:
- Return type: TypeVar ( T , bound= APIObject)
