ReportResource

@JsonClass(generateAdapter = true)
data class ReportResource(@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 = "app") val app: AppResource, @Json(name = "state") val state: ReportState, @Json(name = "links") val links: Links) : Resource, HasName, HasLinks, HasResults

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

Parameters

createdAt

The timestamp when the report was created.

updatedAt

The timestamp when the report was last updated.

id

The unique identifier of the report.

name

The name of the report.

results

The results count for the report.

app

The AppResource associated with the report.

state

The ReportState of the report.

links

The links associated with the report.

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 = "app") app: AppResource, @Json(name = "state") state: ReportState, @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
open override val results: Map<SeverityType, Int?>
Link copied to clipboard
Link copied to clipboard
open override val updatedAt: String