Package com.microsoft.graph.models
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).
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceOperationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the actionName property value.Gets the description property value.The deserialization information for the current modelGets the resourceName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetActionName(String value) Sets the actionName property value.voidsetDescription(String value) Sets the description property value.voidsetResourceName(String value) Sets the resourceName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ResourceOperation
public ResourceOperation()Instantiates a newResourceOperationand 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
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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 -
setActionName
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
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
Sets the resourceName property value. Name of the Resource this operation is performed on.- Parameters:
value- Value to set for the resourceName property.
-