ResultResource

@JsonClass(generateAdapter = true)
data class ResultResource(@Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "id") val id: String, @Json(name = "description") val description: String?, @Json(name = "rule") val rule: RuleResource, @Json(name = "type") val type: SeverityType, @Json(name = "source") val source: Source, @Json(name = "screenshots") val screenshots: List<String>, @Json(name = "links") val links: Links) : Resource, HasDescription, HasLinks

Data class representing a ResultResource. Conforms to Resource, HasDescription and HasLinks.

Parameters

createdAt

The timestamp when the result was created.

updatedAt

The timestamp when the result was last updated.

id

The unique identifier of the result.

description

A description with more information about the result (optional).

rule

The RuleResource associated with the result.

type

The SeverityType of the result.

source

The Source of the result.

screenshots

An array containing links to screenshots of the result.

links

The links associated with the result.

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 = "description") description: String?, @Json(name = "rule") rule: RuleResource, @Json(name = "type") type: SeverityType, @Json(name = "source") source: Source, @Json(name = "screenshots") screenshots: List<String>, @Json(name = "links") links: Links)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val createdAt: String
Link copied to clipboard
open override val description: 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val updatedAt: String