MicrosoftGraphDirectoryObjectInner Class

public class MicrosoftGraphDirectoryObjectInner
extends MicrosoftGraphEntity

directoryObject Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Constructor Summary

Constructor Description
MicrosoftGraphDirectoryObjectInner()

Creates an instance of MicrosoftGraphDirectoryObjectInner class.

Method Summary

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

Get the additionalProperties property: Represents an Azure Active Directory object.

OffsetDateTime deletedDateTime()

Get the deletedDateTime property: The deletedDateTime property.

static MicrosoftGraphDirectoryObjectInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDirectoryObjectInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphDirectoryObjectInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object.

MicrosoftGraphDirectoryObjectInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphDirectoryObjectInner withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDirectoryObjectInner

public MicrosoftGraphDirectoryObjectInner()

Creates an instance of MicrosoftGraphDirectoryObjectInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphDirectoryObjectInner.additionalProperties()

Returns:

the additionalProperties value.

deletedDateTime

public OffsetDateTime deletedDateTime()

Get the deletedDateTime property: The deletedDateTime property.

Returns:

the deletedDateTime value.

fromJson

public static MicrosoftGraphDirectoryObjectInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDirectoryObjectInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphDirectoryObjectInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDirectoryObjectInner.validate()

withAdditionalProperties

public MicrosoftGraphDirectoryObjectInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDirectoryObjectInner object itself.

withDeletedDateTime

public MicrosoftGraphDirectoryObjectInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Parameters:

deletedDateTime - the deletedDateTime value to set.

Returns:

the MicrosoftGraphDirectoryObjectInner object itself.

withId

public MicrosoftGraphDirectoryObjectInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDirectoryObjectInner.withId(String id)

Parameters:

id

Applies to