Compartilhar via


MicrosoftGraphDirectory Class

public final class MicrosoftGraphDirectory
extends MicrosoftGraphEntity

directory.

Constructor Summary

Constructor Description
MicrosoftGraphDirectory()

Creates an instance of MicrosoftGraphDirectory class.

Method Summary

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

Get the additionalProperties property: directory.

List<MicrosoftGraphAdministrativeUnit> administrativeUnits()

Get the administrativeUnits property: The administrativeUnits property.

List<MicrosoftGraphDirectoryObjectInner> deletedItems()

Get the deletedItems property: Recently deleted items.

static MicrosoftGraphDirectory fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDirectory from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphDirectory withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: directory.

MicrosoftGraphDirectory withAdministrativeUnits(List<MicrosoftGraphAdministrativeUnit> administrativeUnits)

Set the administrativeUnits property: The administrativeUnits property.

MicrosoftGraphDirectory withDeletedItems(List<MicrosoftGraphDirectoryObjectInner> deletedItems)

Set the deletedItems property: Recently deleted items.

MicrosoftGraphDirectory withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDirectory

public MicrosoftGraphDirectory()

Creates an instance of MicrosoftGraphDirectory class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: directory.

Overrides:

MicrosoftGraphDirectory.additionalProperties()

Returns:

the additionalProperties value.

administrativeUnits

public List administrativeUnits()

Get the administrativeUnits property: The administrativeUnits property.

Returns:

the administrativeUnits value.

deletedItems

public List deletedItems()

Get the deletedItems property: Recently deleted items. Read-only. Nullable.

Returns:

the deletedItems value.

fromJson

public static MicrosoftGraphDirectory fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDirectory from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphDirectory 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 MicrosoftGraphDirectory.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphDirectory.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDirectory.validate()

withAdditionalProperties

public MicrosoftGraphDirectory withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: directory.

Overrides:

MicrosoftGraphDirectory.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDirectory object itself.

withAdministrativeUnits

public MicrosoftGraphDirectory withAdministrativeUnits(List administrativeUnits)

Set the administrativeUnits property: The administrativeUnits property.

Parameters:

administrativeUnits - the administrativeUnits value to set.

Returns:

the MicrosoftGraphDirectory object itself.

withDeletedItems

public MicrosoftGraphDirectory withDeletedItems(List deletedItems)

Set the deletedItems property: Recently deleted items. Read-only. Nullable.

Parameters:

deletedItems - the deletedItems value to set.

Returns:

the MicrosoftGraphDirectory object itself.

withId

public MicrosoftGraphDirectory withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDirectory.withId(String id)

Parameters:

id

Applies to