Rule Resource
@JsonClass(generateAdapter = true )
Data class representing a ResultResource. Conforms to Resource, Slug, HasName, HasDescription and HasLinks.
Parameters
created At
The timestamp when the rule was created.
updated At
The timestamp when the rule was last updated.
id
The unique identifier of the rule.
slug
The unique slug of the rule.
vendor
The slug associated with the VendorResource.
name
The name of the rule.
description
A description with more information about the rule (optional).
status
The status of the rule.
tags
The tags that have been applied to the rule.
links
The links associated with the rule.
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 = "slug" ) slug: String, @Json(name = "vendor" ) vendor: String, @Json(name = "name" ) name: String, @Json(name = "description" ) description: String?, @Json(name = "status" ) status: RuleStatus, @Json(name = "tags" ) tags: List<TagResource>, @Json(name = "links" ) links: Links)