Constructor ServerApi
ServerApi(ServerApiVersion, Optional<bool?>, Optional<bool?>)
Initializes a new instance of the ServerApi class.
public ServerApi(ServerApiVersion version, Optional<bool?> strict = default, Optional<bool?> deprecationErrors = default)
Parameters
version
ServerApiVersionThe server API version.
strict
Optional<bool?>The flag for strict server API version enforcement.
deprecationErrors
Optional<bool?>The flag for treating deprecated server APIs as errors.