Class ExtensionProperty

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ExtensionProperty extends DirectoryObject implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ExtensionProperty

      public ExtensionProperty()
      Instantiates a new ExtensionProperty and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ExtensionProperty createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ExtensionProperty
    • getAppDisplayName

      @Nullable public String getAppDisplayName()
      Gets the appDisplayName property value. Display name of the application object on which this extension property is defined. Read-only.
      Returns:
      a String
    • getDataType

      @Nullable public String getDataType()
      Gets the dataType property value. Specifies the data type of the value the extension property can hold. Following values are supported. 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 maximumNot nullable. For multivalued directory extensions, these limits apply per value in the collection.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DirectoryObject
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsMultiValued

      @Nullable public Boolean getIsMultiValued()
      Gets the isMultiValued property value. Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of string types such as 'extensionb7b1c57b532f40b8b5ed4b7a7ba67401jobGroupTracker': ['String 1', 'String 2']. The default value is false. Supports $filter (eq).
      Returns:
      a Boolean
    • getIsSyncedFromOnPremises

      @Nullable public Boolean getIsSyncedFromOnPremises()
      Gets the isSyncedFromOnPremises property value. Indicates if this extension property was synced from on-premises active directory using Microsoft Entra Connect. Read-only.
      Returns:
      a Boolean
    • getName

      @Nullable public String getName()
      Gets the name property value. Name of the extension property. Not nullable. Supports $filter (eq).
      Returns:
      a String
    • getTargetObjects

      @Nullable public List<String> getTargetObjects()
      Gets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DirectoryObject
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppDisplayName

      public void setAppDisplayName(@Nullable String value)
      Sets the appDisplayName property value. Display name of the application object on which this extension property is defined. Read-only.
      Parameters:
      value - Value to set for the appDisplayName property.
    • setDataType

      public void setDataType(@Nullable String value)
      Sets the dataType property value. Specifies the data type of the value the extension property can hold. Following values are supported. 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 maximumNot nullable. For multivalued directory extensions, these limits apply per value in the collection.
      Parameters:
      value - Value to set for the dataType property.
    • setIsMultiValued

      public void setIsMultiValued(@Nullable Boolean value)
      Sets the isMultiValued property value. Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of string types such as 'extensionb7b1c57b532f40b8b5ed4b7a7ba67401jobGroupTracker': ['String 1', 'String 2']. The default value is false. Supports $filter (eq).
      Parameters:
      value - Value to set for the isMultiValued property.
    • setIsSyncedFromOnPremises

      public void setIsSyncedFromOnPremises(@Nullable Boolean value)
      Sets the isSyncedFromOnPremises property value. Indicates if this extension property was synced from on-premises active directory using Microsoft Entra Connect. Read-only.
      Parameters:
      value - Value to set for the isSyncedFromOnPremises property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. Name of the extension property. Not nullable. Supports $filter (eq).
      Parameters:
      value - Value to set for the name property.
    • setTargetObjects

      public void setTargetObjects(@Nullable List<String> value)
      Sets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization
      Parameters:
      value - Value to set for the targetObjects property.