Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.86 KB

ResourceCollaboratorCreation.md

File metadata and controls

36 lines (27 loc) · 1.86 KB

ResourceCollaboratorCreation

Add a collaborator to a resource.

Properties

Name Type Description Notes
user str The unique identifier of a Flat user [optional]
group str The unique identifier of a Flat group [optional]
user_email str Fill this field to invite an individual user by email. [optional]
user_token str Token received in an invitation to join the score. [optional]
acl_read bool `True` if the related user can read the score. (probably true if the user has a permission on the document). [optional] [default to True]
acl_write bool `True` if the related user can modify the score. [optional] [default to False]
acl_admin bool `True` if the related user can can manage the current document, i.e. changing the document permissions and deleting the document [optional] [default to False]

Example

from flat_api.models.resource_collaborator_creation import ResourceCollaboratorCreation

# TODO update the JSON string below
json = "{}"
# create an instance of ResourceCollaboratorCreation from a JSON string
resource_collaborator_creation_instance = ResourceCollaboratorCreation.from_json(json)
# print the JSON string representation of the object
print ResourceCollaboratorCreation.to_json()

# convert the object into a dict
resource_collaborator_creation_dict = resource_collaborator_creation_instance.to_dict()
# create an instance of ResourceCollaboratorCreation from a dict
resource_collaborator_creation_form_dict = resource_collaborator_creation.from_dict(resource_collaborator_creation_dict)

[Back to Model list] [Back to API list] [Back to README]