miro_api.models.project_role
Miro Developer Platform
### Miro Developer Platform concepts - New to the Miro Developer Platform? Interested in learning more about platform concepts?? Read our introduction page and familiarize yourself with the Miro Developer Platform capabilities in a few minutes. ### Getting started with the Miro REST API - Quickstart (video): try the REST API in less than 3 minutes. - Quickstart (article): get started and try the REST API in less than 3 minutes. ### Miro REST API tutorials Check out our how-to articles with step-by-step instructions and code examples so you can: - Get started with OAuth 2.0 and Miro ### Miro App Examples Clone our Miro App Examples repository to get inspiration, customize, and explore apps built on top of Miro's Developer Platform 2.0.
The version of the OpenAPI document: v2.0 Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
1# coding: utf-8 2 3""" 4Miro Developer Platform 5 6<img src=\"https://content.pstmn.io/47449ea6-0ef7-4af2-bac1-e58a70e61c58/aW1hZ2UucG5n\" width=\"1685\" height=\"593\"> ### Miro Developer Platform concepts - New to the Miro Developer Platform? Interested in learning more about platform concepts?? [Read our introduction page](https://beta.developers.miro.com/docs/introduction) and familiarize yourself with the Miro Developer Platform capabilities in a few minutes. ### Getting started with the Miro REST API - [Quickstart (video):](https://beta.developers.miro.com/docs/try-out-the-rest-api-in-less-than-3-minutes) try the REST API in less than 3 minutes. - [Quickstart (article):](https://beta.developers.miro.com/docs/build-your-first-hello-world-app-1) get started and try the REST API in less than 3 minutes. ### Miro REST API tutorials Check out our how-to articles with step-by-step instructions and code examples so you can: - [Get started with OAuth 2.0 and Miro](https://beta.developers.miro.com/docs/getting-started-with-oauth) ### Miro App Examples Clone our [Miro App Examples repository](https://github.com/miroapp/app-examples) to get inspiration, customize, and explore apps built on top of Miro's Developer Platform 2.0. 7 8The version of the OpenAPI document: v2.0 9Generated by OpenAPI Generator (https://openapi-generator.tech) 10 11Do not edit the class manually. 12""" # noqa: E501 13 14 15from __future__ import annotations 16import json 17from enum import Enum 18from typing_extensions import Self 19 20 21class ProjectRole(str, Enum): 22 """ 23 Role of the project member. 24 """ 25 26 """ 27 allowed enum values 28 """ 29 OWNER = "owner" 30 EDITOR = "editor" 31 VIEWER = "viewer" 32 COMMENTATOR = "commentator" 33 COOWNER = "coowner" 34 35 @classmethod 36 def from_json(cls, json_str: str) -> Self: 37 """Create an instance of ProjectRole from a JSON string""" 38 return cls(json.loads(json_str))
22class ProjectRole(str, Enum): 23 """ 24 Role of the project member. 25 """ 26 27 """ 28 allowed enum values 29 """ 30 OWNER = "owner" 31 EDITOR = "editor" 32 VIEWER = "viewer" 33 COMMENTATOR = "commentator" 34 COOWNER = "coowner" 35 36 @classmethod 37 def from_json(cls, json_str: str) -> Self: 38 """Create an instance of ProjectRole from a JSON string""" 39 return cls(json.loads(json_str))
Role of the project member.
36 @classmethod 37 def from_json(cls, json_str: str) -> Self: 38 """Create an instance of ProjectRole from a JSON string""" 39 return cls(json.loads(json_str))
Create an instance of ProjectRole from a JSON string
Inherited Members
- enum.Enum
- name
- value
- builtins.str
- encode
- replace
- split
- rsplit
- join
- capitalize
- casefold
- title
- center
- count
- expandtabs
- find
- partition
- index
- ljust
- lower
- lstrip
- rfind
- rindex
- rjust
- rstrip
- rpartition
- splitlines
- strip
- swapcase
- translate
- upper
- startswith
- endswith
- removeprefix
- removesuffix
- isascii
- islower
- isupper
- istitle
- isspace
- isdecimal
- isdigit
- isnumeric
- isalpha
- isalnum
- isidentifier
- isprintable
- zfill
- format
- format_map
- maketrans