Class ResourceOperation

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

@Generated("com.microsoft.kiota") public class ResourceOperation extends Entity implements com.microsoft.kiota.serialization.Parsable
Describes the resourceOperation resource (entity) of the Microsoft Graph API (REST), which supports Intune workflows related to role-based access control (RBAC).
  • Constructor Details

    • ResourceOperation

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

    • createFromDiscriminatorValue

      @Nonnull public static ResourceOperation 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 ResourceOperation
    • getActionName

      @Nullable public String getActionName()
      Gets the actionName property value. Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible.
      Returns:
      a String
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal.
      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>>
    • getResourceName

      @Nullable public String getResourceName()
      Gets the resourceName property value. Name of the Resource this operation is performed on.
      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
    • setActionName

      public void setActionName(@Nullable String value)
      Sets the actionName property value. Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible.
      Parameters:
      value - Value to set for the actionName property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal.
      Parameters:
      value - Value to set for the description property.
    • setResourceName

      public void setResourceName(@Nullable String value)
      Sets the resourceName property value. Name of the Resource this operation is performed on.
      Parameters:
      value - Value to set for the resourceName property.