class SharingLinkData
This class stores basic overview information about the link URL, including limited data about the object the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/sharepoint/sharing/links/data.py
4 - 69
moderate
Purpose
This class stores basic overview information about the link URL, including limited data about the object the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link.
Source Code
class SharingLinkData(ClientValue):
"""
This class stores basic overview information about the link URL, including limited data
about the object the link URL refers to and any additional sharing link data if the link URL
is a tokenized sharing link.
"""
def __init__(
self,
blocks_download=None,
description=None,
embeddable=None,
expiration=None,
has_external_guest_invitees=None,
is_anonymous=None,
is_create_only_link=None,
is_forms_link=None,
is_manage_list_link=None,
is_originated_from_sharing_flow=None,
is_review_link=None,
is_sharing_link=None,
is_writable=None,
link_kind=None,
object_type=None,
):
"""
:param bool blocks_download:
:param str description:
:param bool embeddable:
:param str expiration: The UTC date/time string with complete representation for calendar date and time of
day which represents the time and date of expiry for the tokenized sharing link
(i.e. is not accessible anymore)
:param bool has_external_guest_invitees: Boolean indicating whether the link URL is a tokenized sharing link
that has any external guest invitees (external users explicitly invited by email address).
:param bool is_anonymous: Boolean indicating if the link is anonymously accessible.
:param bool is_create_only_link:
:param bool is_forms_link: Indicates if the link URL is a tokenized sharing link that supports forms sharing.
This is limited to only tokenized sharing links generated with the Excel Survey feature.
:param bool is_manage_list_link:
:param bool is_originated_from_sharing_flow:
:param bool is_review_link: Indicates if the link URL is a tokenized sharing link that supports review
operations. This value MUST be true only if the link URL is a tokenized sharing link which is configured to
support access with the review role, otherwise this MUST be false.
:param bool is_sharing_link: Indicates if the link URL is a tokenized sharing link. This value MUST be true
only if the link URL is a tokenized sharing link, otherwise this MUST be false.
:param bool is_writable: Indicates if the link URL is a tokenized sharing link that supports write/edit
operations. This value MUST be true only if the link URL is a tokenized sharing link which is configured
to support access with the edit role, otherwise this MUST be false.
:param int link_kind: The kind of link that the link URL refers to.
:param int object_type: The type of object the link URL refers to.
"""
self.BlocksDownload = blocks_download
self.Description = description
self.Embeddable = embeddable
self.Expiration = expiration
self.HasExternalGuestInvitees = has_external_guest_invitees
self.IsAnonymous = is_anonymous
self.IsCreateOnlyLink = is_create_only_link
self.IsFormsLink = is_forms_link
self.IsManageListLink = is_manage_list_link
self.IsOriginatedFromSharingFlow = is_originated_from_sharing_flow
self.IsReviewLink = is_review_link
self.IsSharingLink = is_sharing_link
self.IsWritable = is_writable
self.LinkKind = link_kind
self.ObjectType = object_type
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
bases: Parameter of type ClientValue
Return Value
Returns unspecified type
Class Interface
Methods
__init__(self, blocks_download, description, embeddable, expiration, has_external_guest_invitees, is_anonymous, is_create_only_link, is_forms_link, is_manage_list_link, is_originated_from_sharing_flow, is_review_link, is_sharing_link, is_writable, link_kind, object_type)
Purpose: :param bool blocks_download: :param str description: :param bool embeddable: :param str expiration: The UTC date/time string with complete representation for calendar date and time of day which represents the time and date of expiry for the tokenized sharing link (i.e. is not accessible anymore) :param bool has_external_guest_invitees: Boolean indicating whether the link URL is a tokenized sharing link that has any external guest invitees (external users explicitly invited by email address). :param bool is_anonymous: Boolean indicating if the link is anonymously accessible. :param bool is_create_only_link: :param bool is_forms_link: Indicates if the link URL is a tokenized sharing link that supports forms sharing. This is limited to only tokenized sharing links generated with the Excel Survey feature. :param bool is_manage_list_link: :param bool is_originated_from_sharing_flow: :param bool is_review_link: Indicates if the link URL is a tokenized sharing link that supports review operations. This value MUST be true only if the link URL is a tokenized sharing link which is configured to support access with the review role, otherwise this MUST be false. :param bool is_sharing_link: Indicates if the link URL is a tokenized sharing link. This value MUST be true only if the link URL is a tokenized sharing link, otherwise this MUST be false. :param bool is_writable: Indicates if the link URL is a tokenized sharing link that supports write/edit operations. This value MUST be true only if the link URL is a tokenized sharing link which is configured to support access with the edit role, otherwise this MUST be false. :param int link_kind: The kind of link that the link URL refers to. :param int object_type: The type of object the link URL refers to.
Parameters:
blocks_download: Parameterdescription: Parameterembeddable: Parameterexpiration: Parameterhas_external_guest_invitees: Parameteris_anonymous: Parameteris_create_only_link: Parameteris_forms_link: Parameteris_manage_list_link: Parameteris_originated_from_sharing_flow: Parameteris_review_link: Parameteris_sharing_link: Parameteris_writable: Parameterlink_kind: Parameterobject_type: Parameter
Returns: None
Required Imports
from office365.runtime.client_value import ClientValue
Usage Example
# Example usage:
# result = SharingLinkData(bases)
Tags
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class SharingLinkInfo 75.9% similar
-
class SharingLinkKind 70.1% similar
-
class SharingLinkDefaultTemplate 70.1% similar
-
class ShareLinkRequest 67.6% similar
-
class SharingLinkAccessRequest 66.2% similar