Skip to contents

Class representing a PetroVisor UserSetting object.

Public fields

name

The name of the user setting.

value

The value of the user setting.

Methods


Method new()

Create a new UserSetting instance.

Usage

UserSetting$new(name = NULL, value = NULL)

Arguments

name

The name of the user setting.

value

The value of the user setting.


Method toList()

Usage

UserSetting$toList()

Details

Convert the object to a list. This function is mainly used by the RepositoryService to convert the objects to lists and then call the web API.


Method clone()

The objects of this class are cloneable with this method.

Usage

UserSetting$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) { # \dontrun{
UserSetting$new(name = "MySetting", value = "MySettingValue")
} # }