IntelligenceX
Class

ConfigRequirements

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

Describes allowed configuration values.

Inheritance

  • Object
  • ConfigRequirements

Constructors

public ConfigRequirements(IReadOnlyList<String> allowedApprovalPolicies, IReadOnlyList<String> allowedSandboxModes, JsonObject raw, JsonObject additional) #

Initializes a new configuration requirements model.

Parameters

allowedApprovalPolicies System.Collections.Generic.IReadOnlyList{System.String}
allowedSandboxModes System.Collections.Generic.IReadOnlyList{System.String}
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Methods

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

Parses requirements from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed requirements.

Properties

public IReadOnlyList<String> AllowedApprovalPolicies { get; } #

Gets the allowed approval policies.

public IReadOnlyList<String> AllowedSandboxModes { get; } #

Gets the allowed sandbox modes.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.