Package com.microsoft.graph.models
Class Place
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Place
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Place
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlacecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the address property value.Gets the checkIns property value.Gets the displayName property value.The deserialization information for the current modelGets the geoCoordinates property value.Gets the isWheelChairAccessible property value.getLabel()Gets the label property value.Gets the parentId property value.getPhone()Gets the phone property value.getTags()Gets the tags property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAddress(PhysicalAddress value) Sets the address property value.voidsetCheckIns(List<CheckInClaim> value) Sets the checkIns property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the geoCoordinates property value.voidsetIsWheelChairAccessible(Boolean value) Sets the isWheelChairAccessible property value.voidSets the label property value.voidsetParentId(String value) Sets the parentId property value.voidSets the phone property value.voidSets the tags property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Place
public Place()Instantiates a newPlaceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Place 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
Place
-
getAddress
Gets the address property value. The physical address of the place, including the street, city, state, country or region, and postal code.- Returns:
- a
PhysicalAddress
-
getCheckIns
Gets the checkIns property value. A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.- Returns:
- a
List<CheckInClaim>
-
getDisplayName
Gets the displayName property value. The name that is associated with the place.- Returns:
- a
String
-
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 classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGeoCoordinates
Gets the geoCoordinates property value. Specifies the place location in latitude, longitude, and (optionally) altitude coordinates.- Returns:
- a
OutlookGeoCoordinates
-
getIsWheelChairAccessible
Gets the isWheelChairAccessible property value. Indicates whether the place is wheelchair accessible.- Returns:
- a
Boolean
-
getLabel
Gets the label property value. User-defined description of the place.- Returns:
- a
String
-
getParentId
Gets the parentId property value. The ID of a parent place.- Returns:
- a
String
-
getPhone
Gets the phone property value. The phone number of the place.- Returns:
- a
String
-
getTags
Gets the tags property value. Custom tags that are associated with the place for categorization or filtering. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAddress
Sets the address property value. The physical address of the place, including the street, city, state, country or region, and postal code.- Parameters:
value- Value to set for the address property.
-
setCheckIns
Sets the checkIns property value. A subresource of a place object that indicates the check-in status of an Outlook calendar event booked at the place.- Parameters:
value- Value to set for the checkIns property.
-
setDisplayName
Sets the displayName property value. The name that is associated with the place.- Parameters:
value- Value to set for the displayName property.
-
setGeoCoordinates
Sets the geoCoordinates property value. Specifies the place location in latitude, longitude, and (optionally) altitude coordinates.- Parameters:
value- Value to set for the geoCoordinates property.
-
setIsWheelChairAccessible
Sets the isWheelChairAccessible property value. Indicates whether the place is wheelchair accessible.- Parameters:
value- Value to set for the isWheelChairAccessible property.
-
setLabel
Sets the label property value. User-defined description of the place.- Parameters:
value- Value to set for the label property.
-
setParentId
Sets the parentId property value. The ID of a parent place.- Parameters:
value- Value to set for the parentId property.
-
setPhone
Sets the phone property value. The phone number of the place.- Parameters:
value- Value to set for the phone property.
-
setTags
Sets the tags property value. Custom tags that are associated with the place for categorization or filtering.- Parameters:
value- Value to set for the tags property.
-