Interface ValidateSvamlRequest
public interface ValidateSvamlRequest
Request payload for validating a SVAML document before using it in a call.
Use validationType to control how strictly the payload is checked.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builderstatic classControls how strictly the SVAML payload is validated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidateSvamlRequest.Builderbuilder()Getting buildergetSvaml()The SVAML payload to validate.Controls how strictly the SVAML payload is validated.
-
Method Details
-
getSvaml
SvamlInput getSvaml()The SVAML payload to validate.Field is required
- Returns:
- svaml
-
getValidationType
ValidateSvamlRequest.ValidationTypeEnum getValidationType()Controls how strictly the SVAML payload is validated.NORMAL: applies the same validation rules used when initiating a call. Unknown or extra properties are ignored.STRICT: applies stricter validation rules. Returns errors for any properties that are not recognised or not expected in the given context.If omitted, the server applies
NORMAL.- Returns:
- validationType
-
builder
Getting builder- Returns:
- New Builder instance
-