MicrosoftGraphExtensionPropertyInner Class

public final class MicrosoftGraphExtensionPropertyInner
extends MicrosoftGraphDirectoryObjectInner

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

Constructor Summary

Constructor Description
MicrosoftGraphExtensionPropertyInner()

Creates an instance of MicrosoftGraphExtensionPropertyInner class.

Method Summary

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

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

String appDisplayName()

Get the appDisplayName property: Display name of the application object on which this extension property is defined.

String dataType()

Get the dataType property: Specifies the data type of the value the extension property can hold.

static MicrosoftGraphExtensionPropertyInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExtensionPropertyInner from the JsonReader.

Boolean isSyncedFromOnPremises()

Get the isSyncedFromOnPremises property: Indicates if this extension property was sycned from onpremises directory using Azure AD Connect.

String name()

Get the name property: Name of the extension property.

List<String> targetObjects()

Get the targetObjects property: Following values are supported.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphExtensionPropertyInner withAdditionalProperties(Map<String,Object> additionalProperties)

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

MicrosoftGraphExtensionPropertyInner withAppDisplayName(String appDisplayName)

Set the appDisplayName property: Display name of the application object on which this extension property is defined.

MicrosoftGraphExtensionPropertyInner withDataType(String dataType)

Set the dataType property: Specifies the data type of the value the extension property can hold.

MicrosoftGraphExtensionPropertyInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphExtensionPropertyInner withId(String id)

Set the id property: Read-only.

MicrosoftGraphExtensionPropertyInner withIsSyncedFromOnPremises(Boolean isSyncedFromOnPremises)

Set the isSyncedFromOnPremises property: Indicates if this extension property was sycned from onpremises directory using Azure AD Connect.

MicrosoftGraphExtensionPropertyInner withName(String name)

Set the name property: Name of the extension property.

MicrosoftGraphExtensionPropertyInner withTargetObjects(List<String> targetObjects)

Set the targetObjects property: Following values are supported.

Methods inherited from MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphExtensionPropertyInner

public MicrosoftGraphExtensionPropertyInner()

Creates an instance of MicrosoftGraphExtensionPropertyInner 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:

MicrosoftGraphExtensionPropertyInner.additionalProperties()

Returns:

the additionalProperties value.

appDisplayName

public String appDisplayName()

Get the appDisplayName property: Display name of the application object on which this extension property is defined. Read-only.

Returns:

the appDisplayName value.

dataType

public String dataType()

Get the dataType property: Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum.

Returns:

the dataType value.

fromJson

public static MicrosoftGraphExtensionPropertyInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExtensionPropertyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isSyncedFromOnPremises

public Boolean isSyncedFromOnPremises()

Get the isSyncedFromOnPremises property: Indicates if this extension property was sycned from onpremises directory using Azure AD Connect. Read-only.

Returns:

the isSyncedFromOnPremises value.

name

public String name()

Get the name property: Name of the extension property. Not nullable.

Returns:

the name value.

targetObjects

public List targetObjects()

Get the targetObjects property: Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication.

Returns:

the targetObjects value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphExtensionPropertyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphExtensionPropertyInner.validate()

withAdditionalProperties

public MicrosoftGraphExtensionPropertyInner 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:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

withAppDisplayName

public MicrosoftGraphExtensionPropertyInner withAppDisplayName(String appDisplayName)

Set the appDisplayName property: Display name of the application object on which this extension property is defined. Read-only.

Parameters:

appDisplayName - the appDisplayName value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

withDataType

public MicrosoftGraphExtensionPropertyInner withDataType(String dataType)

Set the dataType property: Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum.

Parameters:

dataType - the dataType value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

withDeletedDateTime

public MicrosoftGraphExtensionPropertyInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphExtensionPropertyInner.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

withId

public MicrosoftGraphExtensionPropertyInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphExtensionPropertyInner.withId(String id)

Parameters:

id

withIsSyncedFromOnPremises

public MicrosoftGraphExtensionPropertyInner withIsSyncedFromOnPremises(Boolean isSyncedFromOnPremises)

Set the isSyncedFromOnPremises property: Indicates if this extension property was sycned from onpremises directory using Azure AD Connect. Read-only.

Parameters:

isSyncedFromOnPremises - the isSyncedFromOnPremises value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

withName

public MicrosoftGraphExtensionPropertyInner withName(String name)

Set the name property: Name of the extension property. Not nullable.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

withTargetObjects

public MicrosoftGraphExtensionPropertyInner withTargetObjects(List targetObjects)

Set the targetObjects property: Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication.

Parameters:

targetObjects - the targetObjects value to set.

Returns:

the MicrosoftGraphExtensionPropertyInner object itself.

Applies to