VendorResource

@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, Slug, HasDescription, HasName, HasLinks

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

Parameters

createdAt

The timestamp when the vendor was created.

updatedAt

The timestamp when the vendor was last updated.

id

The unique identifier of the vendor.

slug

The unique slug of the vendor.

name

The name of the vendor.

description

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

rules

The rules provided by the vendor.

links

The links associated with the vendor.

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 = "name") name: String, @Json(name = "description") description: String, @Json(name = "rules") rules: List<RuleResource>, @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
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val slug: String
Link copied to clipboard
open override val updatedAt: String