Table of Contents

Class ResourceCatalog

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

A catalog is a top level element and holds a list of resources.

public record ResourceCatalog : IEquatable<ResourceCatalog>
Inheritance
ResourceCatalog
Implements
Inherited Members

Constructors

ResourceCatalog(string, IReadOnlyDictionary<string, JsonElement>?, IReadOnlyList<Resource>?)

A catalog is a top level element and holds a list of resources.

public ResourceCatalog(string Id, IReadOnlyDictionary<string, JsonElement>? Properties, IReadOnlyList<Resource>? Resources)

Parameters

Id string

Gets the identifier.

Properties IReadOnlyDictionary<string, JsonElement>

Gets the properties.

Resources IReadOnlyList<Resource>

Gets the list of representations.

Properties

Id

Gets the identifier.

public string Id { get; init; }

Property Value

string

Properties

Gets the properties.

public IReadOnlyDictionary<string, JsonElement>? Properties { get; init; }

Property Value

IReadOnlyDictionary<string, JsonElement>

Resources

Gets the list of representations.

public IReadOnlyList<Resource>? Resources { get; init; }

Property Value

IReadOnlyList<Resource>