Class ApikeyActivity
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ApikeyActivity
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ApikeyActivity extends com.ibm.cloud.sdk.core.service.model.GenericModelApikeys activity details.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Gets the id.java.lang.StringgetLastAuthn()Gets the lastAuthn.java.lang.StringgetName()Gets the name.ApikeyActivityServiceidgetServiceid()Gets the serviceid.java.lang.StringgetType()Gets the type.ApikeyActivityUsergetUser()Gets the user.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id. Unique id of the apikey.- Returns:
- the id
-
getName
public java.lang.String getName()
Gets the name. Name provided during creation of the apikey.- Returns:
- the name
-
getType
public java.lang.String getType()
Gets the type. Type of the apikey. Supported values are `serviceid` and `user`.- Returns:
- the type
-
getServiceid
public ApikeyActivityServiceid getServiceid()
Gets the serviceid. serviceid details will be present if type is `serviceid`.- Returns:
- the serviceid
-
getUser
public ApikeyActivityUser getUser()
Gets the user. user details will be present if type is `user`.- Returns:
- the user
-
getLastAuthn
public java.lang.String getLastAuthn()
Gets the lastAuthn. Time when the apikey was last authenticated.- Returns:
- the lastAuthn
-
-