Package com.microsoft.graph.models
Class Workspace
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Place
com.microsoft.graph.models.Workspace
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Workspace
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 WorkspacecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the capacity property value.Gets the displayDeviceName property value.Gets the emailAddress property value.The deserialization information for the current modelgetMode()Gets the mode property value.Gets the nickname property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCapacity(Integer value) Sets the capacity property value.voidsetDisplayDeviceName(String value) Sets the displayDeviceName property value.voidsetEmailAddress(String value) Sets the emailAddress property value.voidSets the mode property value.voidsetNickname(String value) Sets the nickname 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
-
Workspace
public Workspace()Instantiates a newWorkspaceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Workspace 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
Workspace
-
getCapacity
Gets the capacity property value. The maximum number of individual desks within a workspace.- Returns:
- a
Integer
-
getDisplayDeviceName
Gets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available in the workspace.- Returns:
- a
String
-
getEmailAddress
Gets the emailAddress property value. The email address that is associated with the workspace. This email address is used for booking.- 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>>
-
getMode
Gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.- Returns:
- a
PlaceMode
-
getNickname
Gets the nickname property value. A short, friendly name for the workspace, often used for easier identification or display in the UI.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCapacity
Sets the capacity property value. The maximum number of individual desks within a workspace.- Parameters:
value- Value to set for the capacity property.
-
setDisplayDeviceName
Sets the displayDeviceName property value. The name of the display device (for example, monitor or projector) that is available in the workspace.- Parameters:
value- Value to set for the displayDeviceName property.
-
setEmailAddress
Sets the emailAddress property value. The email address that is associated with the workspace. This email address is used for booking.- Parameters:
value- Value to set for the emailAddress property.
-
setMode
Sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.- Parameters:
value- Value to set for the mode property.
-
setNickname
Sets the nickname property value. A short, friendly name for the workspace, often used for easier identification or display in the UI.- Parameters:
value- Value to set for the nickname property.
-