IntelligenceX

API Reference

Class

ConfigLayer

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

Represents a single configuration layer considered by app-server.

Inheritance

  • Object
  • ConfigLayer

Constructors

public ConfigLayer(ConfigLayerSourceInfo source, String version, JsonValue config, String disabledReason, JsonObject raw, JsonObject additional) #

Initializes a new configuration layer.

Parameters

source IntelligenceX.OpenAI.AppServer.Models.ConfigLayerSourceInfo requiredposition: 0
version System.String requiredposition: 1
config IntelligenceX.Json.JsonValue requiredposition: 2
disabledReason System.String requiredposition: 3
raw IntelligenceX.Json.JsonObject requiredposition: 4
additional IntelligenceX.Json.JsonObject requiredposition: 5

Methods

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

Parses a configuration layer from JSON.

Parameters

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

Returns

The parsed layer.

Properties

public ConfigLayerSourceInfo Source { get; } #

Gets source descriptor information for this layer.

public String Version { get; } #

Gets the configuration version.

public JsonValue Config { get; } #

Gets the configuration payload.

public String DisabledReason { get; } #

Gets the reason the layer was disabled, if this layer was not active.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.