Freigeben über


MicrosoftGraphDirectoryObject Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphDirectoryObjectTypeConverter))]
public class MicrosoftGraphDirectoryObject : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDirectoryObject, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphDirectoryObjectTypeConverter))>]
type MicrosoftGraphDirectoryObject = class
    interface IMicrosoftGraphDirectoryObject
    interface IJsonSerializable
    interface IMicrosoftGraphEntityAutoGenerated
    interface IValidates
Public Class MicrosoftGraphDirectoryObject
Implements IMicrosoftGraphDirectoryObject, IValidates
Inheritance
MicrosoftGraphDirectoryObject
Attributes
Implements

Constructors

MicrosoftGraphDirectoryObject()

Creates an new MicrosoftGraphDirectoryObject instance.

Properties

DeletedDateTime
DisplayName

The name displayed in directory

Id

Read-only.

OdataId

The full id of object in directory

OdataType

The type of object in directory

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphDirectoryObject.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphDirectoryObject.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDirectoryObject. Note: the Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDirectoryObject interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of MicrosoftGraphDirectoryObject, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphDirectoryObject into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to