Package com.microsoft.graph.models
Class ExtensionProperty
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionPropertycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appDisplayName property value.Gets the dataType property value.The deserialization information for the current modelGets the isMultiValued property value.Gets the isSyncedFromOnPremises property value.getName()Gets the name property value.Gets the targetObjects property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppDisplayName(String value) Sets the appDisplayName property value.voidsetDataType(String value) Sets the dataType property value.voidsetIsMultiValued(Boolean value) Sets the isMultiValued property value.voidsetIsSyncedFromOnPremises(Boolean value) Sets the isSyncedFromOnPremises property value.voidSets the name property value.voidsetTargetObjects(List<String> value) Sets the targetObjects property value.Methods inherited from class com.microsoft.graph.models.DirectoryObject
getDeletedDateTime, setDeletedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ExtensionProperty
public ExtensionProperty()Instantiates a newExtensionPropertyand 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
Gets the appDisplayName property value. Display name of the application object on which this extension property is defined. Read-only.- Returns:
- a
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDirectoryObject- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
Gets the name property value. Name of the extension property. Not nullable. Supports $filter (eq).- Returns:
- a
String
-
getTargetObjects
Gets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDirectoryObject- Parameters:
writer- Serialization writer to use to serialize this model
-
setAppDisplayName
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
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
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
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
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
Sets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization- Parameters:
value- Value to set for the targetObjects property.
-