Package com.okta.sdk.resource.model
Class RiskEvent
java.lang.Object
com.okta.sdk.resource.model.RiskEvent
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class RiskEvent
extends Object
implements Serializable
RiskEvent
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddSubjectsItem
(RiskEventSubject subjectsItem) boolean
expiresAt
(OffsetDateTime expiresAt) Timestamp at which the event expires (expressed as a UTC time zone using ISO 8601 format: yyyy-MM-dd`T`HH:mm:ss.SSS`Z`).List of Risk Event SubjectsTimestamp of when the event is produced (expressed as a UTC time zone using ISO 8601 format: yyyy-MM-dd`T`HH:mm:ss.SSS`Z`)int
hashCode()
void
setExpiresAt
(OffsetDateTime expiresAt) void
setSubjects
(List<RiskEventSubject> subjects) void
setTimestamp
(OffsetDateTime timestamp) subjects
(List<RiskEventSubject> subjects) timestamp
(OffsetDateTime timestamp) toString()
-
Field Details
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_SUBJECTS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
RiskEvent
public RiskEvent()
-
-
Method Details
-
expiresAt
-
getExpiresAt
Timestamp at which the event expires (expressed as a UTC time zone using ISO 8601 format: yyyy-MM-dd`T`HH:mm:ss.SSS`Z`). If this optional field is not included, Okta automatically expires the event 24 hours after the event is consumed.- Returns:
- expiresAt
-
setExpiresAt
-
subjects
-
addSubjectsItem
-
getSubjects
List of Risk Event Subjects- Returns:
- subjects
-
setSubjects
-
timestamp
-
getTimestamp
Timestamp of when the event is produced (expressed as a UTC time zone using ISO 8601 format: yyyy-MM-dd`T`HH:mm:ss.SSS`Z`)- Returns:
- timestamp
-
setTimestamp
-
equals
-
hashCode
public int hashCode() -
toString
-