Class LevelMap

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

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

    • LevelMap

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

    • createFromDiscriminatorValue

      @Nonnull public static LevelMap 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 LevelMap
    • 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 BaseMapFeature
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFixtures

      @Nullable public List<FixtureMap> getFixtures()
      Gets the fixtures property value. Collection of fixtures (such as furniture or equipment) on this level. Supports upsert.
      Returns:
      a List<FixtureMap>
    • getPlaceId

      @Nullable public String getPlaceId()
      Gets the placeId property value. Identifier of the floor to which this levelMap belongs.
      Returns:
      a String
    • getSections

      @Nullable public List<SectionMap> getSections()
      Gets the sections property value. Collection of sections (such as zones or partitions) on this level. Supports upsert.
      Returns:
      a List<SectionMap>
    • getUnits

      @Nullable public List<UnitMap> getUnits()
      Gets the units property value. Collection of units (such as rooms or offices) on this level. Supports upsert.
      Returns:
      a List<UnitMap>
    • 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 BaseMapFeature
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setFixtures

      public void setFixtures(@Nullable List<FixtureMap> value)
      Sets the fixtures property value. Collection of fixtures (such as furniture or equipment) on this level. Supports upsert.
      Parameters:
      value - Value to set for the fixtures property.
    • setPlaceId

      public void setPlaceId(@Nullable String value)
      Sets the placeId property value. Identifier of the floor to which this levelMap belongs.
      Parameters:
      value - Value to set for the placeId property.
    • setSections

      public void setSections(@Nullable List<SectionMap> value)
      Sets the sections property value. Collection of sections (such as zones or partitions) on this level. Supports upsert.
      Parameters:
      value - Value to set for the sections property.
    • setUnits

      public void setUnits(@Nullable List<UnitMap> value)
      Sets the units property value. Collection of units (such as rooms or offices) on this level. Supports upsert.
      Parameters:
      value - Value to set for the units property.