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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • ObjectMapping

      public ObjectMapping()
      Instantiates a new ObjectMapping and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAttributeMappings

      @Nullable public List<AttributeMapping> 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:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getEnabled

      @Nullable public Boolean 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFlowTypes

      @Nullable public EnumSet<ObjectFlowTypes> getFlowTypes()
      Gets the flowTypes property value. The flowTypes property
      Returns:
      a EnumSet<ObjectFlowTypes>
    • getMetadata

      @Nullable public List<ObjectMappingMetadataEntry> getMetadata()
      Gets the metadata property value. Additional extension properties. Unless mentioned explicitly, metadata values should not be changed.
      Returns:
      a List<ObjectMappingMetadataEntry>
    • getName

      @Nullable public String getName()
      Gets the name property value. Human-friendly name of the object mapping.
      Returns:
      a String
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getScope

      @Nullable public Filter 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

      @Nullable public String 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

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setAttributeMappings(@Nullable List<AttributeMapping> value)
      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

      public void setEnabled(@Nullable Boolean value)
      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

      public void setFlowTypes(@Nullable EnumSet<ObjectFlowTypes> value)
      Sets the flowTypes property value. The flowTypes property
      Parameters:
      value - Value to set for the flowTypes property.
    • setMetadata

      public void setMetadata(@Nullable List<ObjectMappingMetadataEntry> value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. Human-friendly name of the object mapping.
      Parameters:
      value - Value to set for the name property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setScope

      public void setScope(@Nullable Filter value)
      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

      public void setSourceObjectName(@Nullable String value)
      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

      public void setTargetObjectName(@Nullable String value)
      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.