Class ServiceApp

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

@Generated("com.microsoft.kiota") public class ServiceApp extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ServiceApp

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

    • createFromDiscriminatorValue

      @Nonnull public static ServiceApp 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 ServiceApp
    • getApplication

      @Nullable public Identity getApplication()
      Gets the application property value. The Entra ID application ID.
      Returns:
      a Identity
    • getEffectiveDateTime

      @Nullable public OffsetDateTime getEffectiveDateTime()
      Gets the effectiveDateTime property value. Timestamp of the effective activation of the service app.
      Returns:
      a OffsetDateTime
    • 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>>
    • getLastModifiedBy

      @Nullable public IdentitySet getLastModifiedBy()
      Gets the lastModifiedBy property value. Identity of the person who last modified the entity.
      Returns:
      a IdentitySet
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Timestamp of the last modification of the entity.
      Returns:
      a OffsetDateTime
    • getRegistrationDateTime

      @Nullable public OffsetDateTime getRegistrationDateTime()
      Gets the registrationDateTime property value. Timestamp of the creation of the service app entity.
      Returns:
      a OffsetDateTime
    • getStatus

      @Nullable public ServiceAppStatus getStatus()
      Gets the status property value. The status of the service app. This value indicates whether or not the application can be used to control the backup service. The possible values are: inactive, active, pendingActive, pendingInactive, unknownFutureValue.
      Returns:
      a ServiceAppStatus
    • 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
    • setApplication

      public void setApplication(@Nullable Identity value)
      Sets the application property value. The Entra ID application ID.
      Parameters:
      value - Value to set for the application property.
    • setEffectiveDateTime

      public void setEffectiveDateTime(@Nullable OffsetDateTime value)
      Sets the effectiveDateTime property value. Timestamp of the effective activation of the service app.
      Parameters:
      value - Value to set for the effectiveDateTime property.
    • setLastModifiedBy

      public void setLastModifiedBy(@Nullable IdentitySet value)
      Sets the lastModifiedBy property value. Identity of the person who last modified the entity.
      Parameters:
      value - Value to set for the lastModifiedBy property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. Timestamp of the last modification of the entity.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setRegistrationDateTime

      public void setRegistrationDateTime(@Nullable OffsetDateTime value)
      Sets the registrationDateTime property value. Timestamp of the creation of the service app entity.
      Parameters:
      value - Value to set for the registrationDateTime property.
    • setStatus

      public void setStatus(@Nullable ServiceAppStatus value)
      Sets the status property value. The status of the service app. This value indicates whether or not the application can be used to control the backup service. The possible values are: inactive, active, pendingActive, pendingInactive, unknownFutureValue.
      Parameters:
      value - Value to set for the status property.