Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStore
Stores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrinterLocation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the altitudeInMeters property value.com.microsoft.kiota.store.BackingStore
Gets the backingStore property value.Gets the building property value.getCity()
Gets the city property value.Gets the countryOrRegion property value.The deserialization information for the current modelgetFloor()
Gets the floor property value.Gets the floorDescription property value.Gets the latitude property value.Gets the longitude property value.Gets the @odata.type property value.Gets the organization property value.Gets the postalCode property value.Gets the roomDescription property value.Gets the roomName property value.getSite()
Gets the site property value.Gets the stateOrProvince property value.Gets the streetAddress property value.Gets the subdivision property value.Gets the subunit property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdditionalData
(Map<String, Object> value) Sets the AdditionalData property value.void
setAltitudeInMeters
(Integer value) Sets the altitudeInMeters property value.void
setBackingStore
(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.void
setBuilding
(String value) Sets the building property value.void
Sets the city property value.void
setCountryOrRegion
(String value) Sets the countryOrRegion property value.void
Sets the floor property value.void
setFloorDescription
(String value) Sets the floorDescription property value.void
setLatitude
(Double value) Sets the latitude property value.void
setLongitude
(Double value) Sets the longitude property value.void
setOdataType
(String value) Sets the @odata.type property value.void
setOrganization
(List<String> value) Sets the organization property value.void
setPostalCode
(String value) Sets the postalCode property value.void
setRoomDescription
(String value) Sets the roomDescription property value.void
setRoomName
(String value) Sets the roomName property value.void
Sets the site property value.void
setStateOrProvince
(String value) Sets the stateOrProvince property value.void
setStreetAddress
(String value) Sets the streetAddress property value.void
setSubdivision
(List<String> value) Sets the subdivision property value.void
setSubunit
(List<String> value) Sets the subunit property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
PrinterLocation
public PrinterLocation()Instantiates a newPrinterLocation
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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
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 interfacecom.microsoft.kiota.store.BackedModel
- Returns:
- a
BackingStore
-
getBuilding
Gets the building property value. The building that the printer is located in.- Returns:
- a
String
-
getCity
Gets the city property value. The city that the printer is located in.- Returns:
- a
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 -
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
Gets the floorDescription property value. The description of the floor that the printer is located on.- Returns:
- a
String
-
getLatitude
Gets the latitude property value. The latitude that the printer is located at.- Returns:
- a
Double
-
getLongitude
Gets the longitude property value. The longitude that the printer is located at.- Returns:
- a
Double
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOrganization
Gets the organization property value. The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. -
getPostalCode
Gets the postalCode property value. The postal code that the printer is located in.- Returns:
- a
String
-
getRoomDescription
Gets the roomDescription property value. The description of the room that the printer is located in.- Returns:
- a
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
Gets the site property value. The site that the printer is located in.- Returns:
- a
String
-
getStateOrProvince
Gets the stateOrProvince property value. The state or province that the printer is located in.- Returns:
- a
String
-
getStreetAddress
Gets the streetAddress property value. The street address where the printer is located.- Returns:
- a
String
-
getSubdivision
Gets the subdivision property value. The subdivision that the printer is located in. The elements should be in hierarchical order. -
getSubunit
Gets the subunit property value. The subunit property -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAdditionalData
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
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
Sets the building property value. The building that the printer is located in.- Parameters:
value
- Value to set for the building property.
-
setCity
Sets the city property value. The city that the printer is located in.- Parameters:
value
- Value to set for the city property.
-
setCountryOrRegion
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
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
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
Sets the latitude property value. The latitude that the printer is located at.- Parameters:
value
- Value to set for the latitude property.
-
setLongitude
Sets the longitude property value. The longitude that the printer is located at.- Parameters:
value
- Value to set for the longitude property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value
- Value to set for the @odata.type property.
-
setOrganization
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
Sets the postalCode property value. The postal code that the printer is located in.- Parameters:
value
- Value to set for the postalCode property.
-
setRoomDescription
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
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
Sets the site property value. The site that the printer is located in.- Parameters:
value
- Value to set for the site property.
-
setStateOrProvince
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
Sets the streetAddress property value. The street address where the printer is located.- Parameters:
value
- Value to set for the streetAddress property.
-
setSubdivision
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
Sets the subunit property value. The subunit property- Parameters:
value
- Value to set for the subunit property.
-