Package com.microsoft.graph.models
Class AccessPackageAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessPackageAssignment
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessPackageAssignment
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPackageAssignmentcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the accessPackage property value.Gets the assignmentPolicy property value.Gets the customExtensionCalloutInstances property value.Gets the expiredDateTime property value.The deserialization information for the current modelGets the schedule property value.getState()Gets the state property value.Gets the status property value.Gets the target property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAccessPackage(AccessPackage value) Sets the accessPackage property value.voidSets the assignmentPolicy property value.voidSets the customExtensionCalloutInstances property value.voidsetExpiredDateTime(OffsetDateTime value) Sets the expiredDateTime property value.voidSets the schedule property value.voidSets the state property value.voidSets the status property value.voidsetTarget(AccessPackageSubject value) Sets the target property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageAssignment
public AccessPackageAssignment()Instantiates a newAccessPackageAssignmentand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessPackageAssignment 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
AccessPackageAssignment
-
getAccessPackage
Gets the accessPackage property value. Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.- Returns:
- a
AccessPackage
-
getAssignmentPolicy
Gets the assignmentPolicy property value. Read-only. Supports $filter (eq) on the id property and $expand query parameters.- Returns:
- a
AccessPackageAssignmentPolicy
-
getCustomExtensionCalloutInstances
Gets the customExtensionCalloutInstances property value. Information about all the custom extension calls that were made during the access package assignment workflow.- Returns:
- a
List<CustomExtensionCalloutInstance>
-
getExpiredDateTime
Gets the expiredDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Returns:
- a
OffsetDateTime
-
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>>
-
getSchedule
Gets the schedule property value. When the access assignment is to be in place. Read-only.- Returns:
- a
EntitlementManagementSchedule
-
getState
Gets the state property value. The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq).- Returns:
- a
AccessPackageAssignmentState
-
getStatus
Gets the status property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.- Returns:
- a
String
-
getTarget
Gets the target property value. The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.- Returns:
- a
AccessPackageSubject
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAccessPackage
Sets the accessPackage property value. Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.- Parameters:
value- Value to set for the accessPackage property.
-
setAssignmentPolicy
Sets the assignmentPolicy property value. Read-only. Supports $filter (eq) on the id property and $expand query parameters.- Parameters:
value- Value to set for the assignmentPolicy property.
-
setCustomExtensionCalloutInstances
public void setCustomExtensionCalloutInstances(@Nullable List<CustomExtensionCalloutInstance> value) Sets the customExtensionCalloutInstances property value. Information about all the custom extension calls that were made during the access package assignment workflow.- Parameters:
value- Value to set for the customExtensionCalloutInstances property.
-
setExpiredDateTime
Sets the expiredDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.- Parameters:
value- Value to set for the expiredDateTime property.
-
setSchedule
Sets the schedule property value. When the access assignment is to be in place. Read-only.- Parameters:
value- Value to set for the schedule property.
-
setState
Sets the state property value. The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq).- Parameters:
value- Value to set for the state property.
-
setStatus
Sets the status property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, AutoAssignmentInGracePeriod, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.- Parameters:
value- Value to set for the status property.
-
setTarget
Sets the target property value. The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.- Parameters:
value- Value to set for the target property.
-