Class ApikeyActivity

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ApikeyActivity
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Apikeys activity details.
    • 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