Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 2.02 KB

AceShortDto.md

File metadata and controls

31 lines (23 loc) · 2.02 KB

AceShortDto

One line of a document sharing list in display form: who the document is shared with and the label of their access level, rather than an access record with identifiers. Entries that deny access and invitation links are left out, so the list names only the subjects and links that can currently open the document.

Properties

Name Type Description Notes
user str Who or what the line stands for, as a display string: the display name of a member, the name of a group, or the title given to a shared link when isLink is true. It is empty when the subject has no name to show - a shared link that was never given a title, for instance. [optional]
permissions str The access level of that subject as a localized label, not a code: inside a room it usually names the role the subject holds there (Viewer, Editor, Room Manager), while outside a room it names the access itself (Read Only, Full Access). The wording comes from the portal resources and is translated for the current language, so show it to a person rather than compare it in code. [optional]
is_link bool Whether the line stands for a shared link instead of a member or a group. Clients use it to draw a link badge where they would otherwise draw an avatar. [optional]

Example

from docspace_api_sdk.models.ace_short_dto import AceShortDto

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

# convert the object into a dict
ace_short_dto_dict = ace_short_dto_instance.to_dict()
# create an instance of AceShortDto from a dict
ace_short_dto_from_dict = AceShortDto.from_dict(ace_short_dto_dict)

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