Class MicrosoftGraphExtensionPropertyInner


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 Details

    • MicrosoftGraphExtensionPropertyInner

      public MicrosoftGraphExtensionPropertyInner()
      Creates an instance of MicrosoftGraphExtensionPropertyInner class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • name

      public String name()
      Get the name property: Name of the extension property. Not nullable.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the extension property. Not nullable.
      Parameters:
      name - the name value to set.
      Returns:
      the MicrosoftGraphExtensionPropertyInner object itself.
    • targetObjects

      public List<String> targetObjects()
      Get the targetObjects property: Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication.
      Returns:
      the targetObjects value.
    • withTargetObjects

      public MicrosoftGraphExtensionPropertyInner withTargetObjects(List<String> targetObjects)
      Set the targetObjects property: Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication.
      Parameters:
      targetObjects - the targetObjects value to set.
      Returns:
      the MicrosoftGraphExtensionPropertyInner object itself.
    • additionalProperties

      public Map<String,Object> 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:
      additionalProperties in class MicrosoftGraphDirectoryObjectInner
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphExtensionPropertyInner withAdditionalProperties(Map<String,Object> 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:
      withAdditionalProperties in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphExtensionPropertyInner object itself.
    • withDeletedDateTime

      public MicrosoftGraphExtensionPropertyInner withDeletedDateTime(OffsetDateTime deletedDateTime)
      Set the deletedDateTime property: The deletedDateTime property.
      Overrides:
      withDeletedDateTime in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      deletedDateTime - the deletedDateTime value to set.
      Returns:
      the MicrosoftGraphDirectoryObjectInner object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphDirectoryObjectInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.