Class AgreementAcceptance

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AgreementAcceptance
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class AgreementAcceptance extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • AgreementAcceptance

      public AgreementAcceptance()
      Instantiates a new AgreementAcceptance and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AgreementAcceptance 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 AgreementAcceptance
    • getAgreementFileId

      @Nullable public String getAgreementFileId()
      Gets the agreementFileId property value. The identifier of the agreement file accepted by the user.
      Returns:
      a String
    • getAgreementId

      @Nullable public String getAgreementId()
      Gets the agreementId property value. The identifier of the agreement.
      Returns:
      a String
    • getDeviceDisplayName

      @Nullable public String getDeviceDisplayName()
      Gets the deviceDisplayName property value. The display name of the device used for accepting the agreement.
      Returns:
      a String
    • getDeviceId

      @Nullable public String getDeviceId()
      Gets the deviceId property value. The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
      Returns:
      a String
    • getDeviceOSType

      @Nullable public String getDeviceOSType()
      Gets the deviceOSType property value. The operating system used to accept the agreement.
      Returns:
      a String
    • getDeviceOSVersion

      @Nullable public String getDeviceOSVersion()
      Gets the deviceOSVersion property value. The operating system version of the device used to accept the agreement.
      Returns:
      a String
    • getExpirationDateTime

      @Nullable public OffsetDateTime getExpirationDateTime()
      Gets the expirationDateTime property value. The expiration date time of the acceptance. 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. Supports $filter (eq, ge, le) and eq for null values.
      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>>
    • getRecordedDateTime

      @Nullable public OffsetDateTime getRecordedDateTime()
      Gets the recordedDateTime 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.
      Returns:
      a OffsetDateTime
    • getState

      @Nullable public AgreementAcceptanceState getState()
      Gets the state property value. The state of the agreement acceptance. Possible values are: accepted, declined. Supports $filter (eq).
      Returns:
      a AgreementAcceptanceState
    • getUserDisplayName

      @Nullable public String getUserDisplayName()
      Gets the userDisplayName property value. Display name of the user when the acceptance was recorded.
      Returns:
      a String
    • getUserEmail

      @Nullable public String getUserEmail()
      Gets the userEmail property value. Email of the user when the acceptance was recorded.
      Returns:
      a String
    • getUserId

      @Nullable public String getUserId()
      Gets the userId property value. The identifier of the user who accepted the agreement. Supports $filter (eq).
      Returns:
      a String
    • getUserPrincipalName

      @Nullable public String getUserPrincipalName()
      Gets the userPrincipalName property value. UPN of the user when the acceptance was recorded.
      Returns:
      a String
    • 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
    • setAgreementFileId

      public void setAgreementFileId(@Nullable String value)
      Sets the agreementFileId property value. The identifier of the agreement file accepted by the user.
      Parameters:
      value - Value to set for the agreementFileId property.
    • setAgreementId

      public void setAgreementId(@Nullable String value)
      Sets the agreementId property value. The identifier of the agreement.
      Parameters:
      value - Value to set for the agreementId property.
    • setDeviceDisplayName

      public void setDeviceDisplayName(@Nullable String value)
      Sets the deviceDisplayName property value. The display name of the device used for accepting the agreement.
      Parameters:
      value - Value to set for the deviceDisplayName property.
    • setDeviceId

      public void setDeviceId(@Nullable String value)
      Sets the deviceId property value. The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
      Parameters:
      value - Value to set for the deviceId property.
    • setDeviceOSType

      public void setDeviceOSType(@Nullable String value)
      Sets the deviceOSType property value. The operating system used to accept the agreement.
      Parameters:
      value - Value to set for the deviceOSType property.
    • setDeviceOSVersion

      public void setDeviceOSVersion(@Nullable String value)
      Sets the deviceOSVersion property value. The operating system version of the device used to accept the agreement.
      Parameters:
      value - Value to set for the deviceOSVersion property.
    • setExpirationDateTime

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      Sets the expirationDateTime property value. The expiration date time of the acceptance. 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. Supports $filter (eq, ge, le) and eq for null values.
      Parameters:
      value - Value to set for the expirationDateTime property.
    • setRecordedDateTime

      public void setRecordedDateTime(@Nullable OffsetDateTime value)
      Sets the recordedDateTime 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.
      Parameters:
      value - Value to set for the recordedDateTime property.
    • setState

      public void setState(@Nullable AgreementAcceptanceState value)
      Sets the state property value. The state of the agreement acceptance. Possible values are: accepted, declined. Supports $filter (eq).
      Parameters:
      value - Value to set for the state property.
    • setUserDisplayName

      public void setUserDisplayName(@Nullable String value)
      Sets the userDisplayName property value. Display name of the user when the acceptance was recorded.
      Parameters:
      value - Value to set for the userDisplayName property.
    • setUserEmail

      public void setUserEmail(@Nullable String value)
      Sets the userEmail property value. Email of the user when the acceptance was recorded.
      Parameters:
      value - Value to set for the userEmail property.
    • setUserId

      public void setUserId(@Nullable String value)
      Sets the userId property value. The identifier of the user who accepted the agreement. Supports $filter (eq).
      Parameters:
      value - Value to set for the userId property.
    • setUserPrincipalName

      public void setUserPrincipalName(@Nullable String value)
      Sets the userPrincipalName property value. UPN of the user when the acceptance was recorded.
      Parameters:
      value - Value to set for the userPrincipalName property.