ScreenResource

@JsonClass(generateAdapter = true)
data class ScreenResource(@Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "id") val id: String, @Json(name = "name") val name: String, @Json(name = "results") val results: Map<SeverityType, Int?>, @Json(name = "path") val path: String?, @Json(name = "classname") val className: String?, @Json(name = "links") val links: Links) : Resource, HasName, HasLinks, HasResults

Data class representing a ScreenResource. Conforms to Resource, HasName, HasLinks and HasResults.

Parameters

createdAt

The timestamp when the screen was created.

updatedAt

The timestamp when the screen was last updated.

id

The unique identifier of the screen.

name

The name of the screen.

results

The results count for the report.

path

The path to get to the screen (optional).

className

The class name associated with the screen (optional).

links

The links associated with the screen.

Constructors

Link copied to clipboard
constructor(@Json(name = "created_at") createdAt: String, @Json(name = "updated_at") updatedAt: String, @Json(name = "id") id: String, @Json(name = "name") name: String, @Json(name = "results") results: Map<SeverityType, Int?>, @Json(name = "path") path: String?, @Json(name = "classname") className: String?, @Json(name = "links") links: Links)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val createdAt: String
Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
open override val links: Links
Link copied to clipboard
open override val name: String
Link copied to clipboard
val path: String?
Link copied to clipboard
open override val results: Map<SeverityType, Int?>
Link copied to clipboard
open override val updatedAt: String