Skip to content

Shared Link Type

Bases: str, Enum

Shared link type

from_json(json_str: str) -> Self

Create an instance of SharedLinkType from a JSON string

Source code in immichpy/client/generated/models/shared_link_type.py
31
32
33
34
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of SharedLinkType from a JSON string"""
    return cls(json.loads(json_str))