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

    • PrintConnector

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

      @Nullable public String getAppVersion()
      Gets the appVersion property value. The connector's version.
      Returns:
      a String
    • getDisplayName

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

      @Nullable public String getFullyQualifiedDomainName()
      Gets the fullyQualifiedDomainName property value. The connector machine's hostname.
      Returns:
      a String
    • getLocation

      @Nullable public PrinterLocation getLocation()
      Gets the location property value. The physical and/or organizational location of the connector.
      Returns:
      a PrinterLocation
    • getOperatingSystem

      @Nullable public String getOperatingSystem()
      Gets the operatingSystem property value. The connector machine's operating system version.
      Returns:
      a String
    • getRegisteredDateTime

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

      public void setAppVersion(@Nullable String value)
      Sets the appVersion property value. The connector's version.
      Parameters:
      value - Value to set for the appVersion property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the connector.
      Parameters:
      value - Value to set for the displayName property.
    • setFullyQualifiedDomainName

      public void setFullyQualifiedDomainName(@Nullable String value)
      Sets the fullyQualifiedDomainName property value. The connector machine's hostname.
      Parameters:
      value - Value to set for the fullyQualifiedDomainName property.
    • setLocation

      public void setLocation(@Nullable PrinterLocation value)
      Sets the location property value. The physical and/or organizational location of the connector.
      Parameters:
      value - Value to set for the location property.
    • setOperatingSystem

      public void setOperatingSystem(@Nullable String value)
      Sets the operatingSystem property value. The connector machine's operating system version.
      Parameters:
      value - Value to set for the operatingSystem property.
    • setRegisteredDateTime

      public void setRegisteredDateTime(@Nullable OffsetDateTime value)
      Sets the registeredDateTime property value. The DateTimeOffset when the connector was registered.
      Parameters:
      value - Value to set for the registeredDateTime property.