Resource Class

Base resource object.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
Resource

Constructor

Resource(*, etag: Optional[str] = None, **kwargs)

Parameters

etag
str
Required

The entity tag used for optimistic concurrency when modifying the resource.

Variables

id
str

ID of the resource.

name
str

Name of the resource.

type
str

Type of Resource.