Package com.microsoft.graph.models
Class PrintConnector
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrintConnector
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PrintConnector
extends Entity
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 PrintConnectorcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appVersion property value.Gets the displayName property value.The deserialization information for the current modelGets the fullyQualifiedDomainName property value.Gets the location property value.Gets the operatingSystem property value.Gets the registeredDateTime property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppVersion(String value) Sets the appVersion property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the fullyQualifiedDomainName property value.voidsetLocation(PrinterLocation value) Sets the location property value.voidsetOperatingSystem(String value) Sets the operatingSystem property value.voidSets the registeredDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PrintConnector
public PrintConnector()Instantiates a newPrintConnectorand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrintConnector 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
PrintConnector
-
getAppVersion
Gets the appVersion property value. The connector's version.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the connector.- 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 classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFullyQualifiedDomainName
Gets the fullyQualifiedDomainName property value. The connector machine's hostname.- Returns:
- a
String
-
getLocation
Gets the location property value. The physical and/or organizational location of the connector.- Returns:
- a
PrinterLocation
-
getOperatingSystem
Gets the operatingSystem property value. The connector machine's operating system version.- Returns:
- a
String
-
getRegisteredDateTime
Gets the registeredDateTime property value. The DateTimeOffset when the connector was registered.- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppVersion
Sets the appVersion property value. The connector's version.- Parameters:
value- Value to set for the appVersion property.
-
setDisplayName
Sets the displayName property value. The name of the connector.- Parameters:
value- Value to set for the displayName property.
-
setFullyQualifiedDomainName
Sets the fullyQualifiedDomainName property value. The connector machine's hostname.- Parameters:
value- Value to set for the fullyQualifiedDomainName property.
-
setLocation
Sets the location property value. The physical and/or organizational location of the connector.- Parameters:
value- Value to set for the location property.
-
setOperatingSystem
Sets the operatingSystem property value. The connector machine's operating system version.- Parameters:
value- Value to set for the operatingSystem property.
-
setRegisteredDateTime
Sets the registeredDateTime property value. The DateTimeOffset when the connector was registered.- Parameters:
value- Value to set for the registeredDateTime property.
-