Package-level declarations

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AppResource(@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 = "icon") val icon: String, @Json(name = "identifier") val identifier: String, @Json(name = "platform") val platform: Platform, @Json(name = "links") val links: Links) : Resource, HasName, HasIcon, HasLinks

Data class representing an AppResource. Conforms to Resource, HasName, HasIcon and HasLinks.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class OrganisationResource(@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 = "icon") val icon: String, @Json(name = "has_active_subscription") val hasActiveSubscription: Boolean, @Json(name = "is_admin") val isAdmin: Boolean, @Json(name = "links") val links: Links) : Resource, HasName, HasIcon, HasLinks

Data class representing an OrganisationResource. Conforms to Resource, HasName, HasIcon and HasLinks.

Link copied to clipboard
@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.

Link copied to clipboard
@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.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RuleResource(@Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "id") val id: String, @Json(name = "slug") val slug: String, @Json(name = "vendor") val vendor: String, @Json(name = "name") val name: String, @Json(name = "description") val description: String?, @Json(name = "status") val status: RuleStatus, @Json(name = "tags") val tags: List<TagResource>, @Json(name = "links") val links: Links) : Resource, HasSlug, HasDescription, HasName, HasLinks

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

Link copied to clipboard
@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.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TagResource(@Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "id") val id: String, @Json(name = "slug") val slug: String, @Json(name = "name") val name: String, @Json(name = "links") val links: Links) : Resource, HasSlug, HasName, HasLinks

Data class representing a TagResource. Conforms to Resource, HasSlug, HasName and HasLinks.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TeamResource(@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 = "icon") val icon: String, @Json(name = "links") val links: Links) : Resource, HasName, HasIcon, HasLinks

Data class representing a TeamResource. Conforms to Resource, HasName, HasIcon and HasLinks.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class UserResource(@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 = "email") val email: String, @Json(name = "administrator") val administrator: Boolean, @Json(name = "token") val token: String, @Json(name = "email_verified_at") val emailVerifiedAt: String?) : Resource, HasName

Data class representing a UserResource. Conforms to Resource and HasName.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class VendorResource(@Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "id") val id: String, @Json(name = "slug") val slug: String, @Json(name = "name") val name: String, @Json(name = "description") val description: String, @Json(name = "rules") val rules: List<RuleResource>, @Json(name = "links") val links: Links) : Resource, HasSlug, HasDescription, HasName, HasLinks

Data class representing a VendorResource. Conforms to Resource, HasSlug and HasName, HasDescription and HasLinks.