Class ManagedAppOperation

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

@Generated("com.microsoft.kiota") public class ManagedAppOperation extends Entity implements com.microsoft.kiota.serialization.Parsable
Represents an operation applied against an app registration.
  • Constructor Details

    • ManagedAppOperation

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

    • createFromDiscriminatorValue

      @Nonnull public static ManagedAppOperation 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 ManagedAppOperation
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The operation name.
      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>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The last time the app operation was modified.
      Returns:
      a OffsetDateTime
    • getState

      @Nullable public String getState()
      Gets the state property value. The current state of the operation
      Returns:
      a String
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. Version of the entity.
      Returns:
      a String
    • 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
    • setDisplayName

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

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The last time the app operation was modified.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setState

      public void setState(@Nullable String value)
      Sets the state property value. The current state of the operation
      Parameters:
      value - Value to set for the state property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. Version of the entity.
      Parameters:
      value - Value to set for the version property.