Skip to content

Universe

Universe

Bases: BaseResource

A data model representing a universe that extends BaseResource.

ATTRIBUTE DESCRIPTION
publisher

The publisher of the universe.

TYPE: GenericItem

designation

The designation of the universe.

TYPE: str

desc

The description of the universe.

TYPE: str

image

The image URL of the universe.

TYPE: HttpUrl

gcd_id

The Grand Comics Database ID of the universe.

TYPE: int

resource_url

The URL of the universe resource.

TYPE: HttpUrl

UniversePost

Bases: BaseModel

A data model representing a universe to be created.

ATTRIBUTE DESCRIPTION
publisher

The ID of the publisher of the universe.

TYPE: int

name

The name of the universe.

TYPE: str

designation

The designation of the universe.

TYPE: str

desc

The description of the universe.

TYPE: str

image

The image URL of the universe.

TYPE: str

gcd_id

The Grand Comics Database ID of the universe.

TYPE: int

UniversePostResponse

Bases: BaseResource, UniversePost

A data model representing the response from creating a universe.

ATTRIBUTE DESCRIPTION
publisher

The ID of the publisher of the universe.

TYPE: int

name

The name of the universe.

TYPE: str

designation

The designation of the universe.

TYPE: str

desc

The description of the universe.

TYPE: str

image

The image URL of the universe.

TYPE: str

gcd_id

The Grand Comics Database ID of the universe.

TYPE: int

resource_url

The URL of the universe resource.

TYPE: HttpUrl