GetUserSshkeysKey

data class GetUserSshkeysKey(val createdAt: String, val expiresAt: String, val key: String, val keyId: Int, val title: String, val userId: Int)

Constructors

Link copied to clipboard
constructor(createdAt: String, expiresAt: String, key: String, keyId: Int, title: String, userId: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The time when this key was created in GitLab.

Link copied to clipboard

The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)

Link copied to clipboard
val key: String

The ssh key. The SSH key comment (trailing part) is optional and ignored for diffing, because GitLab overrides it with the username and GitLab hostname.

Link copied to clipboard
val keyId: Int

The ID of the ssh key.

Link copied to clipboard

The title of the ssh key.

Link copied to clipboard
val userId: Int

The ID or username of the user. If this field is omitted, this resource manages a SSH key for the current user. Otherwise, this resource manages a SSH key for the specified user, and an admin token is required.