Source code for bungieapi.generated.components.schemas.config.clan_banner
# generated by update to not change manually
import dataclasses as dt
import typing as t
from bungieapi.json import to_json
[docs]@dt.dataclass(frozen=True)
class ClanBannerSource:
...
[docs] def to_json(self) -> t.Mapping[str, t.Any]:
return {}
[docs]@dt.dataclass(frozen=True)
class ClanBannerDecal:
background_path: t.Optional[str] = None
foreground_path: t.Optional[str] = None
identifier: t.Optional[str] = None
[docs] def to_json(self) -> t.Mapping[str, t.Any]:
return {
"identifier": to_json(self.identifier),
"foregroundPath": to_json(self.foreground_path),
"backgroundPath": to_json(self.background_path),
}