com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingLink Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.authorization.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* sharingLink.
*/
@Fluent
public final class MicrosoftGraphSharingLink implements JsonSerializable {
/*
* identity
*/
private MicrosoftGraphIdentity application;
/*
* 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.
*/
private Boolean preventsDownload;
/*
* 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.
*/
private String scope;
/*
* The type of the link created.
*/
private String type;
/*
* For embed links, this property contains the HTML code for an