Package com.okta.sdk.resource.model
Class OktaDeviceRiskChangeEvent
java.lang.Object
com.okta.sdk.resource.model.OktaDeviceRiskChangeEvent
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class OktaDeviceRiskChangeEvent
extends Object
implements Serializable
The device risk level changed
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Current risk level of the devicestatic enum
The entity that initiated the eventstatic enum
Previous risk level of the device -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrentLevel
(OktaDeviceRiskChangeEvent.CurrentLevelEnum currentLevel) boolean
eventTimestamp
(Long eventTimestamp) Current risk level of the deviceThe time of the event (UNIX timestamp)The entity that initiated the eventPrevious risk level of the deviceGet reasonAdminGet reasonUserGet subjectint
hashCode()
initiatingEntity
(OktaDeviceRiskChangeEvent.InitiatingEntityEnum initiatingEntity) previousLevel
(OktaDeviceRiskChangeEvent.PreviousLevelEnum previousLevel) reasonAdmin
(CaepDeviceComplianceChangeEventReasonAdmin reasonAdmin) reasonUser
(CaepDeviceComplianceChangeEventReasonUser reasonUser) void
setCurrentLevel
(OktaDeviceRiskChangeEvent.CurrentLevelEnum currentLevel) void
setEventTimestamp
(Long eventTimestamp) void
setInitiatingEntity
(OktaDeviceRiskChangeEvent.InitiatingEntityEnum initiatingEntity) void
setPreviousLevel
(OktaDeviceRiskChangeEvent.PreviousLevelEnum previousLevel) void
setReasonAdmin
(CaepDeviceComplianceChangeEventReasonAdmin reasonAdmin) void
void
setSubject
(SecurityEventSubject subject) subject
(SecurityEventSubject subject) toString()
-
Field Details
-
JSON_PROPERTY_CURRENT_LEVEL
- See Also:
-
JSON_PROPERTY_EVENT_TIMESTAMP
- See Also:
-
JSON_PROPERTY_INITIATING_ENTITY
- See Also:
-
JSON_PROPERTY_PREVIOUS_LEVEL
- See Also:
-
JSON_PROPERTY_REASON_ADMIN
- See Also:
-
JSON_PROPERTY_REASON_USER
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
-
Constructor Details
-
OktaDeviceRiskChangeEvent
public OktaDeviceRiskChangeEvent()
-
-
Method Details
-
currentLevel
public OktaDeviceRiskChangeEvent currentLevel(OktaDeviceRiskChangeEvent.CurrentLevelEnum currentLevel) -
getCurrentLevel
Current risk level of the device- Returns:
- currentLevel
-
setCurrentLevel
-
eventTimestamp
-
getEventTimestamp
The time of the event (UNIX timestamp)- Returns:
- eventTimestamp
-
setEventTimestamp
-
initiatingEntity
public OktaDeviceRiskChangeEvent initiatingEntity(OktaDeviceRiskChangeEvent.InitiatingEntityEnum initiatingEntity) -
getInitiatingEntity
The entity that initiated the event- Returns:
- initiatingEntity
-
setInitiatingEntity
-
previousLevel
public OktaDeviceRiskChangeEvent previousLevel(OktaDeviceRiskChangeEvent.PreviousLevelEnum previousLevel) -
getPreviousLevel
Previous risk level of the device- Returns:
- previousLevel
-
setPreviousLevel
-
reasonAdmin
public OktaDeviceRiskChangeEvent reasonAdmin(CaepDeviceComplianceChangeEventReasonAdmin reasonAdmin) -
getReasonAdmin
Get reasonAdmin- Returns:
- reasonAdmin
-
setReasonAdmin
-
reasonUser
-
getReasonUser
Get reasonUser- Returns:
- reasonUser
-
setReasonUser
-
subject
-
getSubject
Get subject- Returns:
- subject
-
setSubject
-
equals
-
hashCode
public int hashCode() -
toString
-