你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphSharingLink Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphSharingLink
- com.
Implements
public final class MicrosoftGraphSharingLink
implements JsonSerializable<MicrosoftGraphSharingLink>
sharingLink.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphSharingLink() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
application()
Get the application property: identity. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
preventsDownload()
Get the prevents |
String |
scope()
Get the scope property: The scope of the link represented by this permission. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the link created. |
void |
validate()
Validates the instance. |
String |
webHtml()
Get the web |
String |
webUrl()
Get the web |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withApplication(MicrosoftGraphIdentity application)
Set the application property: identity. |
Microsoft |
withPreventsDownload(Boolean preventsDownload)
Set the prevents |
Microsoft |
withScope(String scope)
Set the scope property: The scope of the link represented by this permission. |
Microsoft |
withType(String type)
Set the type property: The type of the link created. |
Microsoft |
withWebHtml(String webHtml)
Set the web |
Microsoft |
withWebUrl(String webUrl)
Set the web |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphSharingLink
public MicrosoftGraphSharingLink()
Creates an instance of MicrosoftGraphSharingLink class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: sharingLink.
Returns:
application
public MicrosoftGraphIdentity application()
Get the application property: identity.
Returns:
fromJson
public static MicrosoftGraphSharingLink fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphSharingLink from the JsonReader.
Parameters:
Returns:
Throws:
preventsDownload
public Boolean preventsDownload()
Get the preventsDownload property: 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.
Returns:
scope
public String scope()
Get the scope property: 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.
Returns:
toJson
type
public String type()
Get the type property: The type of the link created.
Returns:
validate
public void validate()
Validates the instance.
webHtml
public String webHtml()
Get the webHtml property: For embed links, this property contains the HTML code for an
Returns:
webUrl
public String webUrl()
Get the webUrl property: A URL that opens the item in the browser on the OneDrive website.
Returns:
withAdditionalProperties
public MicrosoftGraphSharingLink withAdditionalProperties(Map
Set the additionalProperties property: sharingLink.
Parameters:
Returns:
withApplication
public MicrosoftGraphSharingLink withApplication(MicrosoftGraphIdentity application)
Set the application property: identity.
Parameters:
Returns:
withPreventsDownload
public MicrosoftGraphSharingLink withPreventsDownload(Boolean preventsDownload)
Set the preventsDownload property: 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.
Parameters:
Returns:
withScope
public MicrosoftGraphSharingLink withScope(String scope)
Set the scope property: 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.
Parameters:
Returns:
withType
public MicrosoftGraphSharingLink withType(String type)
Set the type property: The type of the link created.
Parameters:
Returns:
withWebHtml
public MicrosoftGraphSharingLink withWebHtml(String webHtml)
Set the webHtml property: For embed links, this property contains the HTML code for an
Parameters:
Returns:
withWebUrl
public MicrosoftGraphSharingLink withWebUrl(String webUrl)
Set the webUrl property: A URL that opens the item in the browser on the OneDrive website.
Parameters:
Returns: