Project Model¶
This module contains the definition of a Project object in MapRoulette.
-
class
maproulette.models.project.
ProjectModel
(name, id=None, description=None, groups=None, enabled=None, is_virtual=None, display_name=None, featured=None)¶ Bases:
object
Definition for a MapRoulette Project
-
READONLY
= ['id']¶
-
property
description
¶ The description for the project
-
property
display_name
¶ The friendly name that can be displayed to users
-
property
enabled
¶ Whether this project is enabled for use or not
-
property
featured
¶ Whether or not the project is featured
-
property
groups
¶ The groups that are associated with the project
-
property
id
¶ The ID of the project
-
property
is_virtual
¶ Whether or not a project is virtual
-
property
name
¶ The internal name of the project
-
property
path
¶ The path to the project
-
to_dict
()¶ Converts all non-null properties of a project object into a dictionary
-
to_json
()¶ Converts all non-null properties of a project object into a JSON object
-