Class
ConfigReadResult
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:
ConfigReadResultParses a configuration read result from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed result.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.