Package com.okta.sdk.resource.model
Class OktaUserRiskChangeEvent
java.lang.Object
com.okta.sdk.resource.model.OktaUserRiskChangeEvent
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class OktaUserRiskChangeEvent
extends Object
implements Serializable
The user risk level changed
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Current risk level of the userstatic enum
The entity that initiated the eventstatic enum
Previous risk level of the user -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrentLevel
(OktaUserRiskChangeEvent.CurrentLevelEnum currentLevel) boolean
eventTimestamp
(Long eventTimestamp) Current risk level of the userThe time of the event (UNIX timestamp)The entity that initiated the eventPrevious risk level of the userGet reasonAdminGet reasonUserGet subjectint
hashCode()
initiatingEntity
(OktaUserRiskChangeEvent.InitiatingEntityEnum initiatingEntity) previousLevel
(OktaUserRiskChangeEvent.PreviousLevelEnum previousLevel) reasonAdmin
(CaepDeviceComplianceChangeEventReasonAdmin reasonAdmin) reasonUser
(CaepDeviceComplianceChangeEventReasonUser reasonUser) void
setCurrentLevel
(OktaUserRiskChangeEvent.CurrentLevelEnum currentLevel) void
setEventTimestamp
(Long eventTimestamp) void
setInitiatingEntity
(OktaUserRiskChangeEvent.InitiatingEntityEnum initiatingEntity) void
setPreviousLevel
(OktaUserRiskChangeEvent.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
-
OktaUserRiskChangeEvent
public OktaUserRiskChangeEvent()
-
-
Method Details
-
currentLevel
-
getCurrentLevel
Current risk level of the user- Returns:
- currentLevel
-
setCurrentLevel
-
eventTimestamp
-
getEventTimestamp
The time of the event (UNIX timestamp)- Returns:
- eventTimestamp
-
setEventTimestamp
-
initiatingEntity
public OktaUserRiskChangeEvent initiatingEntity(OktaUserRiskChangeEvent.InitiatingEntityEnum initiatingEntity) -
getInitiatingEntity
The entity that initiated the event- Returns:
- initiatingEntity
-
setInitiatingEntity
-
previousLevel
public OktaUserRiskChangeEvent previousLevel(OktaUserRiskChangeEvent.PreviousLevelEnum previousLevel) -
getPreviousLevel
Previous risk level of the user- Returns:
- previousLevel
-
setPreviousLevel
-
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
-