Class LocationConstraintItem

java.lang.Object
com.microsoft.graph.models.Location
com.microsoft.graph.models.LocationConstraintItem
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • LocationConstraintItem

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

    • createFromDiscriminatorValue

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

      @Nullable public Boolean getResolveAvailability()
      Gets the resolveAvailability property value. If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true.
      Returns:
      a Boolean
    • 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 Location
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setResolveAvailability

      public void setResolveAvailability(@Nullable Boolean value)
      Sets the resolveAvailability property value. If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true.
      Parameters:
      value - Value to set for the resolveAvailability property.