Package com.okta.sdk.resource.model
Class ServiceAccount
java.lang.Object
com.okta.sdk.resource.model.ServiceAccount
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServiceAccountDetailsAppAccount,ServiceAccountDetailsOktaUserAccount
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class ServiceAccount
extends Object
implements Serializable
ServiceAccount
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountType(ServiceAccountType accountType) addownerGroupIdsItem(String ownerGroupIdsItem) addownerUserIdsItem(String ownerUserIdsItem) description(String description) booleanGet accountTypeTimestamp when the service account was createdThe description of the service accountgetId()The UUID of the service accountTimestamp when the service account was last updatedgetName()The user-defined name for the service accountA list of IDs of the Okta groups that own the service accountA list of IDs of the Okta users that own the service accountGet statusGet statusDetailinthashCode()ownerGroupIds(List<String> ownerGroupIds) ownerUserIds(List<String> ownerUserIds) voidsetAccountType(ServiceAccountType accountType) voidsetDescription(String description) voidvoidsetOwnerGroupIds(List<String> ownerGroupIds) voidsetOwnerUserIds(List<String> ownerUserIds) voidsetStatus(ServiceAccountStatus status) voidsetStatusDetail(ServiceAccountStatusDetail statusDetail) status(ServiceAccountStatus status) statusDetail(ServiceAccountStatusDetail statusDetail) toString()
-
Field Details
-
JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
-
accountType
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OWNER_GROUP_IDS
- See Also:
-
JSON_PROPERTY_OWNER_USER_IDS
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_STATUS_DETAIL
- See Also:
-
-
Constructor Details
-
ServiceAccount
public ServiceAccount()
-
-
Method Details
-
accountType
-
getAccountType
Get accountType- Returns:
- accountType
-
setAccountType
-
getCreated
Timestamp when the service account was created- Returns:
- created
-
description
-
getDescription
The description of the service account- Returns:
- description
-
setDescription
-
getId
The UUID of the service account- Returns:
- id
-
getLastUpdated
Timestamp when the service account was last updated- Returns:
- lastUpdated
-
name
-
getName
The user-defined name for the service account- Returns:
- name
-
setName
-
ownerGroupIds
-
addownerGroupIdsItem
-
getOwnerGroupIds
A list of IDs of the Okta groups that own the service account- Returns:
- ownerGroupIds
-
setOwnerGroupIds
-
ownerUserIds
-
addownerUserIdsItem
-
getOwnerUserIds
A list of IDs of the Okta users that own the service account- Returns:
- ownerUserIds
-
setOwnerUserIds
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
statusDetail
-
getStatusDetail
Get statusDetail- Returns:
- statusDetail
-
setStatusDetail
-
equals
-
hashCode
public int hashCode() -
toString
-