Package com.microsoft.graph.models
Class Room
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Place
com.microsoft.graph.models.Room
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Room
extends Place
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 RoomcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the audioDeviceName property value.Gets the bookingType property value.Gets the building property value.Gets the capacity property value.Gets the displayDeviceName property value.Gets the emailAddress property value.The deserialization information for the current modelGets the floorLabel property value.Gets the floorNumber property value.Gets the nickname property value.Gets the videoDeviceName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAudioDeviceName(String value) Sets the audioDeviceName property value.voidsetBookingType(BookingType value) Sets the bookingType property value.voidsetBuilding(String value) Sets the building property value.voidsetCapacity(Integer value) Sets the capacity property value.voidsetDisplayDeviceName(String value) Sets the displayDeviceName property value.voidsetEmailAddress(String value) Sets the emailAddress property value.voidsetFloorLabel(String value) Sets the floorLabel property value.voidsetFloorNumber(Integer value) Sets the floorNumber property value.voidsetNickname(String value) Sets the nickname property value.voidsetVideoDeviceName(String value) Sets the videoDeviceName property value.Methods inherited from class com.microsoft.graph.models.Place
getAddress, getCheckIns, getDisplayName, getGeoCoordinates, getIsWheelChairAccessible, getLabel, getParentId, getPhone, getTags, setAddress, setCheckIns, setDisplayName, setGeoCoordinates, setIsWheelChairAccessible, setLabel, setParentId, setPhone, setTagsMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Room
public Room()Instantiates a newRoomand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Room 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
Room
-
getAudioDeviceName
Gets the audioDeviceName property value. Specifies the name of the audio device in the room.- Returns:
- a
String
-
getBookingType
Gets the bookingType property value. Type of room. Possible values are: unknown, standard, reserved.- Returns:
- a
BookingType
-
getBuilding
Gets the building property value. Specifies the building name or building number that the room is in.- Returns:
- a
String
-
getCapacity
Gets the capacity property value. Specifies the capacity of the room.- Returns:
- a
Integer
-
getDisplayDeviceName
Gets the displayDeviceName property value. Specifies the name of the display device in the room.- Returns:
- a
String
-
getEmailAddress
Gets the emailAddress property value. Email address of the room.- 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 classPlace- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFloorLabel
Gets the floorLabel property value. Specifies a descriptive label for the floor, for example, P.- Returns:
- a
String
-
getFloorNumber
Gets the floorNumber property value. Specifies the floor number that the room is on.- Returns:
- a
Integer
-
getNickname
Gets the nickname property value. Specifies a nickname for the room, for example, 'conf room'.- Returns:
- a
String
-
getVideoDeviceName
Gets the videoDeviceName property value. Specifies the name of the video device in the room.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAudioDeviceName
Sets the audioDeviceName property value. Specifies the name of the audio device in the room.- Parameters:
value- Value to set for the audioDeviceName property.
-
setBookingType
Sets the bookingType property value. Type of room. Possible values are: unknown, standard, reserved.- Parameters:
value- Value to set for the bookingType property.
-
setBuilding
Sets the building property value. Specifies the building name or building number that the room is in.- Parameters:
value- Value to set for the building property.
-
setCapacity
Sets the capacity property value. Specifies the capacity of the room.- Parameters:
value- Value to set for the capacity property.
-
setDisplayDeviceName
Sets the displayDeviceName property value. Specifies the name of the display device in the room.- Parameters:
value- Value to set for the displayDeviceName property.
-
setEmailAddress
Sets the emailAddress property value. Email address of the room.- Parameters:
value- Value to set for the emailAddress property.
-
setFloorLabel
Sets the floorLabel property value. Specifies a descriptive label for the floor, for example, P.- Parameters:
value- Value to set for the floorLabel property.
-
setFloorNumber
Sets the floorNumber property value. Specifies the floor number that the room is on.- Parameters:
value- Value to set for the floorNumber property.
-
setNickname
Sets the nickname property value. Specifies a nickname for the room, for example, 'conf room'.- Parameters:
value- Value to set for the nickname property.
-
setVideoDeviceName
Sets the videoDeviceName property value. Specifies the name of the video device in the room.- Parameters:
value- Value to set for the videoDeviceName property.
-