Package com.microsoft.graph.models
Class ManagedEBookAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedEBookAssignment
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
IosVppEBookAssignment
@Generated("com.microsoft.kiota")
public class ManagedEBookAssignment
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Contains properties used to assign a eBook to a group.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedEBookAssignment
createFromDiscriminatorValue
(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 installIntent property value.Gets the target property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setInstallIntent
(InstallIntent value) Sets the installIntent property value.void
Sets the target property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ManagedEBookAssignment
public ManagedEBookAssignment()Instantiates a newManagedEBookAssignment
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ManagedEBookAssignment 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
ManagedEBookAssignment
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInstallIntent
Gets the installIntent property value. Possible values for the install intent chosen by the admin.- Returns:
- a
InstallIntent
-
getTarget
Gets the target property value. The assignment target for eBook.- Returns:
- a
DeviceAndAppManagementAssignmentTarget
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setInstallIntent
Sets the installIntent property value. Possible values for the install intent chosen by the admin.- Parameters:
value
- Value to set for the installIntent property.
-
setTarget
Sets the target property value. The assignment target for eBook.- Parameters:
value
- Value to set for the target property.
-