Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceApp
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the application property value.Gets the effectiveDateTime property value.The deserialization information for the current modelGets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the registrationDateTime property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setApplication
(Identity value) Sets the application property value.void
Sets the effectiveDateTime property value.void
setLastModifiedBy
(IdentitySet value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
Sets the registrationDateTime property value.void
setStatus
(ServiceAppStatus value) Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ServiceApp
public ServiceApp()Instantiates a newServiceApp
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
Gets the application property value. The Entra ID application ID.- Returns:
- a
Identity
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedBy
Gets the lastModifiedBy property value. Identity of the person who last modified the entity.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Timestamp of the last modification of the entity.- Returns:
- a
OffsetDateTime
-
getRegistrationDateTime
Gets the registrationDateTime property value. Timestamp of the creation of the service app entity.- Returns:
- a
OffsetDateTime
-
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 -
setApplication
Sets the application property value. The Entra ID application ID.- Parameters:
value
- Value to set for the application property.
-
setEffectiveDateTime
Sets the effectiveDateTime property value. Timestamp of the effective activation of the service app.- Parameters:
value
- Value to set for the effectiveDateTime property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. Identity of the person who last modified the entity.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Timestamp of the last modification of the entity.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setRegistrationDateTime
Sets the registrationDateTime property value. Timestamp of the creation of the service app entity.- Parameters:
value
- Value to set for the registrationDateTime property.
-
setStatus
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.
-