Package com.okta.sdk.resource.model
Class Device
java.lang.Object
com.okta.sdk.resource.model.Device
- 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 Device
extends Object
implements Serializable
Device
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Timestamp when the device was createdgetId()
Unique key for the deviceTimestamp when the device record was last updated.getLinks()
Get linksGet profileGet resourceAlternateIdGet resourceDisplayNameAlternate key for the `id`Get resourceTypeGet statusint
hashCode()
profile
(DeviceProfile profile) resourceDisplayName
(DeviceDisplayName resourceDisplayName) void
void
setProfile
(DeviceProfile profile) void
setResourceDisplayName
(DeviceDisplayName resourceDisplayName) void
setStatus
(DeviceStatus status) status
(DeviceStatus status) toString()
-
Field Details
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_PROFILE
- See Also:
-
JSON_PROPERTY_RESOURCE_ALTERNATE_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
Device
public Device()
-
-
Method Details
-
getCreated
Timestamp when the device was created- Returns:
- created
-
getId
Unique key for the device- Returns:
- id
-
getLastUpdated
Timestamp when the device record was last updated. Updates occur when Okta collects and saves device signals during authentication, and when the lifecycle state of the device changes.- Returns:
- lastUpdated
-
profile
-
getProfile
Get profile- Returns:
- profile
-
setProfile
-
getResourceAlternateId
Get resourceAlternateId- Returns:
- resourceAlternateId
-
resourceDisplayName
-
getResourceDisplayName
Get resourceDisplayName- Returns:
- resourceDisplayName
-
setResourceDisplayName
-
getResourceId
Alternate key for the `id`- Returns:
- resourceId
-
getResourceType
Get resourceType- Returns:
- resourceType
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-