Package com.microsoft.graph.models
Class AttributeMapping
java.lang.Object
com.microsoft.graph.models.AttributeMapping
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class AttributeMapping
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Attribute Mapping.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Default Value.The Export Missing References.The Flow Behavior.The Flow Type.The Matching Priority.the OData type of the object as returned by the serviceThe Source.The Target Attribute Name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
defaultValue
@SerializedName(value="defaultValue", alternate="DefaultValue") @Expose @Nullable public String defaultValueThe Default Value. Default value to be used in case the source property was evaluated to null. Optional. -
exportMissingReferences
@SerializedName(value="exportMissingReferences", alternate="ExportMissingReferences") @Expose @Nullable public Boolean exportMissingReferencesThe Export Missing References. For internal use only. -
flowBehavior
@SerializedName(value="flowBehavior", alternate="FlowBehavior") @Expose @Nullable public AttributeFlowBehavior flowBehaviorThe Flow Behavior. Defines when this attribute should be exported to the target directory. Possible values are: FlowWhenChanged and FlowAlways. Default is FlowWhenChanged. -
flowType
@SerializedName(value="flowType", alternate="FlowType") @Expose @Nullable public AttributeFlowType flowTypeThe Flow Type. Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly - If there is a current value, only flows 'Add' operations; will not flow 'Remove' operations AttributeAddOnly - Only propagates changes if no current value exists at all -
matchingPriority
@SerializedName(value="matchingPriority", alternate="MatchingPriority") @Expose @Nullable public Integer matchingPriorityThe Matching Priority. If higher than 0, this attribute will be used to perform an initial match of the objects between source and target directories. The synchronization engine will try to find the matching object using attribute with lowest value of matching priority first. If not found, the attribute with the next matching priority will be used, and so on a until match is found or no more matching attributes are left. Only attributes that are expected to have unique values, such as email, should be used as matching attributes. -
source
@SerializedName(value="source", alternate="Source") @Expose @Nullable public AttributeMappingSource sourceThe Source. Defines how a value should be extracted (or transformed) from the source object. -
targetAttributeName
@SerializedName(value="targetAttributeName", alternate="TargetAttributeName") @Expose @Nullable public String targetAttributeNameThe Target Attribute Name. Name of the attribute on the target object.
-
-
Constructor Details
-
AttributeMapping
public AttributeMapping()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-