API reference

UserOptions Class

The user_options configuration is used to specify additional settings for the com.meta.horizon.platform.ovr.models.User. It allows you to customize the response by specifying the time window, maximum number of users, and service providers for which linked accounts should be retrieved.

Constructors

UserOptions ()
Signature
com.meta.horizon.platform.ovr.options.UserOptions.UserOptions()

Protected Methods

finalize ()
Signature
void com.meta.horizon.platform.ovr.options.UserOptions.finalize()
Returns
void

Methods

addServiceProvider ( value )
It's an array of ServiceProvider objects that specifies the service providers for which linked accounts should be retrieved.
Signature
void com.meta.horizon.platform.ovr.options.UserOptions.addServiceProvider(ServiceProvider value)
Parameters
value: ServiceProvider
Returns
void
clearServiceProviders ()
Signature
void com.meta.horizon.platform.ovr.options.UserOptions.clearServiceProviders()
Returns
void
getHandle ()
Signature
long com.meta.horizon.platform.ovr.options.UserOptions.getHandle()
Returns
long
setMaxUsers ( value )
This field specifies the maximum number of com.meta.horizon.platform.ovr.models.User that should be returned in the response.
Signature
void com.meta.horizon.platform.ovr.options.UserOptions.setMaxUsers(long value)
Parameters
value: long
Returns
void
setTimeWindow ( value )
This field specifies the time window in seconds for which the linked accounts should be retrieved.
Signature
void com.meta.horizon.platform.ovr.options.UserOptions.setTimeWindow(TimeWindow value)
Parameters
value: TimeWindow
Returns
void