Package com.microsoft.graph.models
Class ObjectMapping
java.lang.Object
com.microsoft.graph.models.ObjectMapping
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ObjectMapping
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectMappingcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the attributeMappings property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the enabled property value.The deserialization information for the current modelGets the flowTypes property value.Gets the metadata property value.getName()Gets the name property value.Gets the @odata.type property value.getScope()Gets the scope property value.Gets the sourceObjectName property value.Gets the targetObjectName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAttributeMappings(List<AttributeMapping> value) Sets the attributeMappings property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetEnabled(Boolean value) Sets the enabled property value.voidsetFlowTypes(EnumSet<ObjectFlowTypes> value) Sets the flowTypes property value.voidSets the metadata property value.voidSets the name property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the scope property value.voidsetSourceObjectName(String value) Sets the sourceObjectName property value.voidsetTargetObjectName(String value) Sets the targetObjectName property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
ObjectMapping
public ObjectMapping()Instantiates a newObjectMappingand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ObjectMapping 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
ObjectMapping
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAttributeMappings
Gets the attributeMappings property value. Attribute mappings define which attributes to map from the source object into the target object and how they should flow. A number of functions are available to support the transformation of the original source values.- Returns:
- a
List<AttributeMapping>
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getEnabled
Gets the enabled property value. When true, this object mapping will be processed during synchronization. When false, this object mapping will be skipped.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getFlowTypes
Gets the flowTypes property value. The flowTypes property- Returns:
- a
EnumSet<ObjectFlowTypes>
-
getMetadata
Gets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.- Returns:
- a
List<ObjectMappingMetadataEntry>
-
getName
Gets the name property value. Human-friendly name of the object mapping.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getScope
Gets the scope property value. Defines a filter to be used when deciding whether a given object should be provisioned. For example, you might want to only provision users that are located in the US.- Returns:
- a
Filter
-
getSourceObjectName
Gets the sourceObjectName property value. Name of the object in the source directory. Must match the object name from the source directory definition.- Returns:
- a
String
-
getTargetObjectName
Gets the targetObjectName property value. Name of the object in target directory. Must match the object name from the target directory definition.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAttributeMappings
Sets the attributeMappings property value. Attribute mappings define which attributes to map from the source object into the target object and how they should flow. A number of functions are available to support the transformation of the original source values.- Parameters:
value- Value to set for the attributeMappings property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setEnabled
Sets the enabled property value. When true, this object mapping will be processed during synchronization. When false, this object mapping will be skipped.- Parameters:
value- Value to set for the enabled property.
-
setFlowTypes
Sets the flowTypes property value. The flowTypes property- Parameters:
value- Value to set for the flowTypes property.
-
setMetadata
Sets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.- Parameters:
value- Value to set for the metadata property.
-
setName
Sets the name property value. Human-friendly name of the object mapping.- Parameters:
value- Value to set for the name property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setScope
Sets the scope property value. Defines a filter to be used when deciding whether a given object should be provisioned. For example, you might want to only provision users that are located in the US.- Parameters:
value- Value to set for the scope property.
-
setSourceObjectName
Sets the sourceObjectName property value. Name of the object in the source directory. Must match the object name from the source directory definition.- Parameters:
value- Value to set for the sourceObjectName property.
-
setTargetObjectName
Sets the targetObjectName property value. Name of the object in target directory. Must match the object name from the target directory definition.- Parameters:
value- Value to set for the targetObjectName property.
-