API Reference
Class
ConfigLayer
Represents a single configuration layer considered by app-server.
Inheritance
- Object
- ConfigLayer
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ConfigLayer.FromJson
- Property ConfigReadResult.Layers
Accepted by parameters
- Constructor ConfigReadResult.ConfigReadResult
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
- version System.String
- config IntelligenceX.Json.JsonValue
- disabledReason System.String
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
public static ConfigLayer FromJson(JsonObject obj) #Returns:
ConfigLayerParses a configuration layer from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed layer.
Inherited Methods
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.