IntelligenceX
Class

ConfigReadResult

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

Represents the configuration read response.

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
origins System.Collections.Generic.IReadOnlyDictionary{System.String,IntelligenceX.OpenAI.AppServer.Models.ConfigLayerMetadata}
layers System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.ConfigLayer}
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

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

Parses a configuration read result from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed result.

Properties

public JsonObject Config { get; } #

Gets the merged configuration.

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

Gets metadata about configuration origins.

public IReadOnlyList<ConfigLayer> Layers { get; } #

Gets the configuration layers.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.