Skip to content

ResourceObject

class in JsonApiToolkit.Models.Resources

Resource object with id, type, attributes, relationships, and links.

public class ResourceObject

Constructors

ResourceObject()

Properties

Id : string

Unique resource identifier.

Type : string

Resource type (e.g., "articles", "people").

Attributes : Dictionary

Resource attributes (properties).

Relationships : Dictionary

Relationships to other resources.

Links related to this resource.