MicrosoftGraphSpecialFolder Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSpecialFolder

Implements

public final class MicrosoftGraphSpecialFolder
implements JsonSerializable<MicrosoftGraphSpecialFolder>

specialFolder.

Constructor Summary

Constructor Description
MicrosoftGraphSpecialFolder()

Creates an instance of MicrosoftGraphSpecialFolder class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: specialFolder.

static MicrosoftGraphSpecialFolder fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSpecialFolder from the JsonReader.

String name()

Get the name property: The unique identifier for this item in the /drive/special collection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSpecialFolder withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: specialFolder.

MicrosoftGraphSpecialFolder withName(String name)

Set the name property: The unique identifier for this item in the /drive/special collection.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSpecialFolder

public MicrosoftGraphSpecialFolder()

Creates an instance of MicrosoftGraphSpecialFolder class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: specialFolder.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSpecialFolder fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSpecialFolder from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSpecialFolder if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphSpecialFolder.

name

public String name()

Get the name property: The unique identifier for this item in the /drive/special collection.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSpecialFolder withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: specialFolder.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSpecialFolder object itself.

withName

public MicrosoftGraphSpecialFolder withName(String name)

Set the name property: The unique identifier for this item in the /drive/special collection.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphSpecialFolder object itself.

Applies to