Class PrinterLocation

java.lang.Object
com.microsoft.graph.models.PrinterLocation
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class PrinterLocation extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • PrinterLocation

      public PrinterLocation()
      Instantiates a new PrinterLocation and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static PrinterLocation 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 PrinterLocation
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAltitudeInMeters

      @Nullable public Integer getAltitudeInMeters()
      Gets the altitudeInMeters property value. The altitude, in meters, that the printer is located at.
      Returns:
      a Integer
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getBuilding

      @Nullable public String getBuilding()
      Gets the building property value. The building that the printer is located in.
      Returns:
      a String
    • getCity

      @Nullable public String getCity()
      Gets the city property value. The city that the printer is located in.
      Returns:
      a String
    • getCountryOrRegion

      @Nullable public String getCountryOrRegion()
      Gets the countryOrRegion property value. The country or region that the printer is located in.
      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
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFloor

      @Nullable public String getFloor()
      Gets the floor property value. The floor that the printer is located on. Only numerical values are supported right now.
      Returns:
      a String
    • getFloorDescription

      @Nullable public String getFloorDescription()
      Gets the floorDescription property value. The description of the floor that the printer is located on.
      Returns:
      a String
    • getLatitude

      @Nullable public Double getLatitude()
      Gets the latitude property value. The latitude that the printer is located at.
      Returns:
      a Double
    • getLongitude

      @Nullable public Double getLongitude()
      Gets the longitude property value. The longitude that the printer is located at.
      Returns:
      a Double
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getOrganization

      @Nullable public List<String> getOrganization()
      Gets the organization property value. The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order.
      Returns:
      a List<String>
    • getPostalCode

      @Nullable public String getPostalCode()
      Gets the postalCode property value. The postal code that the printer is located in.
      Returns:
      a String
    • getRoomDescription

      @Nullable public String getRoomDescription()
      Gets the roomDescription property value. The description of the room that the printer is located in.
      Returns:
      a String
    • getRoomName

      @Nullable public String getRoomName()
      Gets the roomName property value. The room that the printer is located in. Only numerical values are supported right now.
      Returns:
      a String
    • getSite

      @Nullable public String getSite()
      Gets the site property value. The site that the printer is located in.
      Returns:
      a String
    • getStateOrProvince

      @Nullable public String getStateOrProvince()
      Gets the stateOrProvince property value. The state or province that the printer is located in.
      Returns:
      a String
    • getStreetAddress

      @Nullable public String getStreetAddress()
      Gets the streetAddress property value. The street address where the printer is located.
      Returns:
      a String
    • getSubdivision

      @Nullable public List<String> getSubdivision()
      Gets the subdivision property value. The subdivision that the printer is located in. The elements should be in hierarchical order.
      Returns:
      a List<String>
    • getSubunit

      @Nullable public List<String> getSubunit()
      Gets the subunit property value. The subunit property
      Returns:
      a List<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
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setAltitudeInMeters

      public void setAltitudeInMeters(@Nullable Integer value)
      Sets the altitudeInMeters property value. The altitude, in meters, that the printer is located at.
      Parameters:
      value - Value to set for the altitudeInMeters property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setBuilding

      public void setBuilding(@Nullable String value)
      Sets the building property value. The building that the printer is located in.
      Parameters:
      value - Value to set for the building property.
    • setCity

      public void setCity(@Nullable String value)
      Sets the city property value. The city that the printer is located in.
      Parameters:
      value - Value to set for the city property.
    • setCountryOrRegion

      public void setCountryOrRegion(@Nullable String value)
      Sets the countryOrRegion property value. The country or region that the printer is located in.
      Parameters:
      value - Value to set for the countryOrRegion property.
    • setFloor

      public void setFloor(@Nullable String value)
      Sets the floor property value. The floor that the printer is located on. Only numerical values are supported right now.
      Parameters:
      value - Value to set for the floor property.
    • setFloorDescription

      public void setFloorDescription(@Nullable String value)
      Sets the floorDescription property value. The description of the floor that the printer is located on.
      Parameters:
      value - Value to set for the floorDescription property.
    • setLatitude

      public void setLatitude(@Nullable Double value)
      Sets the latitude property value. The latitude that the printer is located at.
      Parameters:
      value - Value to set for the latitude property.
    • setLongitude

      public void setLongitude(@Nullable Double value)
      Sets the longitude property value. The longitude that the printer is located at.
      Parameters:
      value - Value to set for the longitude property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setOrganization

      public void setOrganization(@Nullable List<String> value)
      Sets the organization property value. The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order.
      Parameters:
      value - Value to set for the organization property.
    • setPostalCode

      public void setPostalCode(@Nullable String value)
      Sets the postalCode property value. The postal code that the printer is located in.
      Parameters:
      value - Value to set for the postalCode property.
    • setRoomDescription

      public void setRoomDescription(@Nullable String value)
      Sets the roomDescription property value. The description of the room that the printer is located in.
      Parameters:
      value - Value to set for the roomDescription property.
    • setRoomName

      public void setRoomName(@Nullable String value)
      Sets the roomName property value. The room that the printer is located in. Only numerical values are supported right now.
      Parameters:
      value - Value to set for the roomName property.
    • setSite

      public void setSite(@Nullable String value)
      Sets the site property value. The site that the printer is located in.
      Parameters:
      value - Value to set for the site property.
    • setStateOrProvince

      public void setStateOrProvince(@Nullable String value)
      Sets the stateOrProvince property value. The state or province that the printer is located in.
      Parameters:
      value - Value to set for the stateOrProvince property.
    • setStreetAddress

      public void setStreetAddress(@Nullable String value)
      Sets the streetAddress property value. The street address where the printer is located.
      Parameters:
      value - Value to set for the streetAddress property.
    • setSubdivision

      public void setSubdivision(@Nullable List<String> value)
      Sets the subdivision property value. The subdivision that the printer is located in. The elements should be in hierarchical order.
      Parameters:
      value - Value to set for the subdivision property.
    • setSubunit

      public void setSubunit(@Nullable List<String> value)
      Sets the subunit property value. The subunit property
      Parameters:
      value - Value to set for the subunit property.