Package com.microsoft.graph.models
Class MobileAppAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileAppAssignment
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MobileAppAssignment
extends Entity
implements com.microsoft.kiota.serialization.Parsable
A class containing the properties used for Group Assignment of a Mobile App.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MobileAppAssignmentcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the intent property value.Gets the settings property value.Gets the target property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetIntent(InstallIntent value) Sets the intent property value.voidSets the settings property value.voidSets the target property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MobileAppAssignment
public MobileAppAssignment()Instantiates a newMobileAppAssignmentand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MobileAppAssignment 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
MobileAppAssignment
-
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>>
-
getIntent
Gets the intent property value. Possible values for the install intent chosen by the admin.- Returns:
- a
InstallIntent
-
getSettings
Gets the settings property value. The settings for target assignment defined by the admin.- Returns:
- a
MobileAppAssignmentSettings
-
getTarget
Gets the target property value. The target group assignment defined by the admin.- Returns:
- a
DeviceAndAppManagementAssignmentTarget
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setIntent
Sets the intent property value. Possible values for the install intent chosen by the admin.- Parameters:
value- Value to set for the intent property.
-
setSettings
Sets the settings property value. The settings for target assignment defined by the admin.- Parameters:
value- Value to set for the settings property.
-
setTarget
Sets the target property value. The target group assignment defined by the admin.- Parameters:
value- Value to set for the target property.
-