Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Location
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationConstraintItemcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the resolveAvailability property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetResolveAvailability(Boolean value) Sets the resolveAvailability property value.Methods inherited from class com.microsoft.graph.models.Location
getAdditionalData, getAddress, getBackingStore, getCoordinates, getDisplayName, getLocationEmailAddress, getLocationType, getLocationUri, getOdataType, getUniqueId, getUniqueIdType, setAdditionalData, setAddress, setBackingStore, setCoordinates, setDisplayName, setLocationEmailAddress, setLocationType, setLocationUri, setOdataType, setUniqueId, setUniqueIdType
-
Constructor Details
-
LocationConstraintItem
public LocationConstraintItem()Instantiates a newLocationConstraintItemand 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classLocation- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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 -
setResolveAvailability
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.
-