Resource Class

Base resource object.

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

Constructor

Resource(*, etag: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
etag
str

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

Default value: None

Variables

Name Description
id
str

ID of the resource.

name
str

Name of the resource.

type
str

Type of Resource.

etag
str

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