Class representing a PetroVisor unit measurement object.
Public fields
name
The name of the unit measurement.
canonical_unit_name
The name of the unit measurement's canonical unit.
Methods
Method new()
Create a new UnitMeasurement instance.
Arguments
name
The name of the unit measurement.
canonical_unit_name
The name of the unit measurement's canonical
unit.
Method 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
UnitMeasurement$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
if (FALSE) { # \dontrun{
UnitMeasurement$new(name = "Length", canonical_unit_name = "m")
} # }