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
  • Constructor Details

    • AccessPackageAssignment

      public AccessPackageAssignment()
      Instantiates a new AccessPackageAssignment and 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

      @Nullable public AccessPackage getAccessPackage()
      Gets the accessPackage property value. Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
      Returns:
      a AccessPackage
    • getAssignmentPolicy

      @Nullable public AccessPackageAssignmentPolicy getAssignmentPolicy()
      Gets the assignmentPolicy property value. Read-only. Supports $filter (eq) on the id property and $expand query parameters.
      Returns:
      a AccessPackageAssignmentPolicy
    • getCustomExtensionCalloutInstances

      @Nullable public List<CustomExtensionCalloutInstance> 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

      @Nullable public OffsetDateTime 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getSchedule

      @Nullable public EntitlementManagementSchedule getSchedule()
      Gets the schedule property value. When the access assignment is to be in place. Read-only.
      Returns:
      a EntitlementManagementSchedule
    • getState

      @Nullable public AccessPackageAssignmentState 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

      @Nullable public String getStatus()
      Gets the status property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.
      Returns:
      a String
    • getTarget

      @Nullable public AccessPackageSubject 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAccessPackage

      public void setAccessPackage(@Nullable AccessPackage value)
      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

      public void setAssignmentPolicy(@Nullable AccessPackageAssignmentPolicy value)
      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

      public void setExpiredDateTime(@Nullable OffsetDateTime value)
      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

      public void setSchedule(@Nullable EntitlementManagementSchedule value)
      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

      public void setState(@Nullable AccessPackageAssignmentState value)
      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

      public void setStatus(@Nullable String value)
      Sets the status property value. More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only.
      Parameters:
      value - Value to set for the status property.
    • setTarget

      public void setTarget(@Nullable AccessPackageSubject value)
      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.