IntelligenceX

API Reference

Class

ConfigReadResult

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

Represents the app-server configuration read response. Includes merged effective config plus metadata describing value origins and layers.

Inheritance

  • Object
  • ConfigReadResult

Constructors

public ConfigReadResult(JsonObject config, IReadOnlyDictionary<String, ConfigLayerMetadata> origins, IReadOnlyList<ConfigLayer> layers, JsonObject raw, JsonObject additional) #

Initializes a new configuration read result.

Parameters

config IntelligenceX.Json.JsonObject requiredposition: 0
origins System.Collections.Generic.IReadOnlyDictionary{System.String,IntelligenceX.OpenAI.AppServer.Models.ConfigLayerMetadata} requiredposition: 1
layers System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.ConfigLayer} requiredposition: 2
raw IntelligenceX.Json.JsonObject requiredposition: 3
additional IntelligenceX.Json.JsonObject requiredposition: 4

Methods

public static ConfigReadResult FromJson(JsonObject obj) #
Returns: ConfigReadResult

Parses a configuration read result from JSON.

Parameters

obj IntelligenceX.Json.JsonObject requiredposition: 0
Source JSON object.

Returns

The parsed result.

Properties

public JsonObject Config { get; } #

Gets the merged effective configuration object.

public IReadOnlyDictionary<String, ConfigLayerMetadata> Origins { get; } #

Gets metadata keyed by configuration field name that describes where each value originated.

public IReadOnlyList<ConfigLayer> Layers { get; } #

Gets configuration layers in evaluation order.

public JsonObject Raw { get; } #

Gets the original raw JSON payload returned by app-server.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.