Skip to content

Latest commit

聽

History

History
42 lines (33 loc) 路 2.96 KB

ResourceCollaborator.md

File metadata and controls

42 lines (33 loc) 路 2.96 KB

ResourceCollaborator

A collaborator of a score. The userEmail and group are only available if the requesting user is a collaborator of the related score (otherwise these permissions are not listed or exposed publicly).

Properties

Name Type Description Notes
acl_read bool `True` if the current user can read the current document [default to False]
acl_write bool `True` if the current user can modify the current document. If this is a right of a Collection, the capabilities of the associated user can be lower than this permission, check out the `capabilities` property as the end-user to have the complete possibilities with the collection. [default to False]
acl_admin bool `True` if the current user can manage the current document (i.e. share, delete) If this is a right of a Collection, the capabilities of the associated user can be lower than this permission, check out the `capabilities` property as the end-user to have the complete possibilities with the collection. [default to False]
is_collaborator bool `True` if the current user is a collaborator of the current document (direct or via group). [optional] [default to False]
collaborator_type str The type of the collaborator for the resource [optional]
id str The unique identifier of the permission [optional]
var_date datetime The date when the permission was added [optional]
score str If this object is a permission of a score, this property will contain the unique identifier of the score [optional]
collection str If this object is a permission of a collection, this property will contain the unique identifier of the collection [optional]
user UserPublic [optional]
group Group [optional]
user_email str If the collaborator is not a user of Flat yet, this field will contain their email. [optional]
invited bool If this property is `true`, this is still a pending invitation [optional]

Example

from flat_api.models.resource_collaborator import ResourceCollaborator

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

# convert the object into a dict
resource_collaborator_dict = resource_collaborator_instance.to_dict()
# create an instance of ResourceCollaborator from a dict
resource_collaborator_from_dict = ResourceCollaborator.from_dict(resource_collaborator_dict)

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