SaveObservationsOptions

Options for saving observations through MeasurementsResource.

  • Stable unknown
  • Release candidate since 0.1.0-rc.4
  • Development since 0.1.0-dev.24+fa54770
public record SaveObservationsOptions(RequestOptions requestOptions, List<String> identifierSystems, boolean replace)

Options for saving observations through MeasurementsResource.

Components:

  • requestOptions: per-request options; null means defaults
  • identifierSystems: extra identifier systems that identify one reading; null means none
  • replace: true replaces an existing reading with the same identifier instead of skipping it

Constructors

SaveObservationsOptions

public SaveObservationsOptions(
        RequestOptions requestOptions,
        List<String> identifierSystems,
        boolean replace)

Creates options, replacing null values with defaults.

Parameters:

  • requestOptions: per-request options; null means defaults
  • identifierSystems: extra identifier systems that identify one reading; null means none
  • replace: true replaces an existing reading with the same identifier instead of skipping it

Methods

defaults

public static SaveObservationsOptions defaults()

Returns default options: no extra identifier systems, no replace.

Returns: the default options

Last updated on

On this page