Class 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
  • Constructor Details

    • Workspace

      public Workspace()
      Instantiates a new Workspace and 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

      @Nullable public Integer getCapacity()
      Gets the capacity property value. The maximum number of individual desks within a workspace.
      Returns:
      a Integer
    • getDisplayDeviceName

      @Nullable public String 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

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Place
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMode

      @Nullable public PlaceMode 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

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Place
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCapacity

      public void setCapacity(@Nullable Integer value)
      Sets the capacity property value. The maximum number of individual desks within a workspace.
      Parameters:
      value - Value to set for the capacity property.
    • setDisplayDeviceName

      public void setDisplayDeviceName(@Nullable String value)
      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

      public void setEmailAddress(@Nullable String value)
      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

      public void setMode(@Nullable PlaceMode value)
      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

      public void setNickname(@Nullable String value)
      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.