Package com.microsoft.graph.models
Class SharingLink
java.lang.Object
com.microsoft.graph.models.SharingLink
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Sharing Link.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
application
@SerializedName(value="application", alternate="Application") @Expose @Nullable public Identity applicationThe Application. The app the link is associated with. -
preventsDownload
@SerializedName(value="preventsDownload", alternate="PreventsDownload") @Expose @Nullable public Boolean preventsDownloadThe Prevents Download. If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. -
scope
The Scope. The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. -
type
The Type. The type of the link created. -
webHtml
The Web Html. For embed links, this property contains the HTML code for an <iframe> element that will embed the item in a webpage. -
webUrl
The Web Url. A URL that opens the item in the browser on the OneDrive website.
-
-
Constructor Details
-
SharingLink
public SharingLink()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-