Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgreementAcceptance
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the agreementFileId property value.Gets the agreementId property value.Gets the deviceDisplayName property value.Gets the deviceId property value.Gets the deviceOSType property value.Gets the deviceOSVersion property value.Gets the expirationDateTime property value.The deserialization information for the current modelGets the recordedDateTime property value.getState()
Gets the state property value.Gets the userDisplayName property value.Gets the userEmail property value.Gets the userId property value.Gets the userPrincipalName property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAgreementFileId
(String value) Sets the agreementFileId property value.void
setAgreementId
(String value) Sets the agreementId property value.void
setDeviceDisplayName
(String value) Sets the deviceDisplayName property value.void
setDeviceId
(String value) Sets the deviceId property value.void
setDeviceOSType
(String value) Sets the deviceOSType property value.void
setDeviceOSVersion
(String value) Sets the deviceOSVersion property value.void
Sets the expirationDateTime property value.void
Sets the recordedDateTime property value.void
setState
(AgreementAcceptanceState value) Sets the state property value.void
setUserDisplayName
(String value) Sets the userDisplayName property value.void
setUserEmail
(String value) Sets the userEmail property value.void
Sets the userId property value.void
setUserPrincipalName
(String value) Sets the userPrincipalName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AgreementAcceptance
public AgreementAcceptance()Instantiates a newAgreementAcceptance
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
Gets the agreementFileId property value. The identifier of the agreement file accepted by the user.- Returns:
- a
String
-
getAgreementId
Gets the agreementId property value. The identifier of the agreement.- Returns:
- a
String
-
getDeviceDisplayName
Gets the deviceDisplayName property value. The display name of the device used for accepting the agreement.- Returns:
- a
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
Gets the deviceOSType property value. The operating system used to accept the agreement.- Returns:
- a
String
-
getDeviceOSVersion
Gets the deviceOSVersion property value. The operating system version of the device used to accept the agreement.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the state property value. The state of the agreement acceptance. Possible values are: accepted, declined. Supports $filter (eq).- Returns:
- a
AgreementAcceptanceState
-
getUserDisplayName
Gets the userDisplayName property value. Display name of the user when the acceptance was recorded.- Returns:
- a
String
-
getUserEmail
Gets the userEmail property value. Email of the user when the acceptance was recorded.- Returns:
- a
String
-
getUserId
Gets the userId property value. The identifier of the user who accepted the agreement. Supports $filter (eq).- Returns:
- a
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 -
setAgreementFileId
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
Sets the agreementId property value. The identifier of the agreement.- Parameters:
value
- Value to set for the agreementId property.
-
setDeviceDisplayName
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
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
Sets the deviceOSType property value. The operating system used to accept the agreement.- Parameters:
value
- Value to set for the deviceOSType property.
-
setDeviceOSVersion
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
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
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
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
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
Sets the userEmail property value. Email of the user when the acceptance was recorded.- Parameters:
value
- Value to set for the userEmail property.
-
setUserId
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
Sets the userPrincipalName property value. UPN of the user when the acceptance was recorded.- Parameters:
value
- Value to set for the userPrincipalName property.
-