Class ActivateRunScope
java.lang.Object
com.microsoft.graph.models.identitygovernance.ActivationScope
com.microsoft.graph.models.identitygovernance.ActivateRunScope
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ActivateRunScope
extends ActivationScope
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.identitygovernance.ActivationScope
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivateRunScopecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelgetRun()Gets the run property value.Gets the taskScope property value.Gets the userScope property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the run property value.voidSets the taskScope property value.voidSets the userScope property value.Methods inherited from class com.microsoft.graph.models.identitygovernance.ActivationScope
getAdditionalData, getBackingStore, getOdataType, setAdditionalData, setBackingStore, setOdataType
-
Constructor Details
-
ActivateRunScope
public ActivateRunScope()Instantiates a newActivateRunScopeand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ActivateRunScope 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
ActivateRunScope
-
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 classActivationScope- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getRun
Gets the run property value. The run property- Returns:
- a
Run
-
getTaskScope
Gets the taskScope property value. The taskScope property- Returns:
- a
ActivationTaskScopeType
-
getUserScope
Gets the userScope property value. The userScope property- Returns:
- a
ActivationUserScopeType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classActivationScope- Parameters:
writer- Serialization writer to use to serialize this model
-
setRun
Sets the run property value. The run property- Parameters:
value- Value to set for the run property.
-
setTaskScope
Sets the taskScope property value. The taskScope property- Parameters:
value- Value to set for the taskScope property.
-
setUserScope
Sets the userScope property value. The userScope property- Parameters:
value- Value to set for the userScope property.
-