Values.MockInputSourceA JSON object that contains a mocked result or errorOutput.
type nonrec t = {result : SensitiveData.t option;A JSON string containing the mocked result of the state invocation.
*)errorOutput : MockErrorOutput.t option;The mocked error output when calling TestState. When specified, the mocked response is returned as a JSON object that contains an error and cause field.
*)fieldValidationMode : MockResponseValidationMode.t option;Determines the level of strictness when validating mocked results against their respective API models. Values include: STRICT: All required fields must be present, and all present fields must conform to the API's schema. PRESENT: All present fields must conform to the API's schema. NONE: No validation is performed. If no value is specified, the default value is STRICT.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of SensitiveData.t
| `Structure of (string * [> `String of SensitiveError.t ]) list ])
list ]