nextpyp.client.gen.ProjectData#

class nextpyp.client.gen.ProjectData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

ProjectData

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

owner

(no description yet)

permissions

(no description yet)

project_id

(no description yet)

project_number

(no description yet)

project_name

(no description yet)

created

(no description yet)

images

urls of representative images for the project, small size

path

(no description yet)

Details

__init__(owner, permissions, project_id, project_number, project_name, created, images, path)#
Parameters:
  • owner (UserData) –

  • permissions (Set[ProjectPermission]) –

  • project_id (str) –

  • project_number (int | None) –

  • project_name (str) –

  • created (int) –

  • images (List[str]) –

  • path (str) –

Return type:

None

created: int#

(no description yet)

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

ProjectData

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –

images: List[str]#

urls of representative images for the project, small size

owner: UserData#

(no description yet)

path: str#

(no description yet)

permissions: Set[ProjectPermission]#

(no description yet)

project_id: str#

(no description yet)

project_name: str#

(no description yet)

project_number: Optional[int]#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]