All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingLink Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Authorization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// 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