Skip to contents

Class representing a PetroVisor tag entry.

Public fields

tag_name

The name of the tag.

entity_name

The name of the tagged entity.

start

The start date of the tag entry.

end

The end date of the tag entry.

Methods


Method new()

Create a new TagEntry instance.

Usage

TagEntry$new(tag_name = NULL, entity_name = NULL, start = NULL, end = NULL)

Arguments

tag_name

The name of the tag.

entity_name

The name of the tagged entity.

start

The start date of the tag entry.

end

(Optional) The end date of the tag entry.


Method to_list()

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

Usage

TagEntry$to_list()


Method clone()

The objects of this class are cloneable with this method.

Usage

TagEntry$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) { # \dontrun{
# create a new instance of the service provider
sp <- ServiceProvider$new("Host", 8095, "WorkspaceA", "UserX", "Password")

# create a new tag entry
TagEntry$new(entity_name = "Well 01" ,
             tag_name = "Active",
             start = "2020-02-01T00:00:00.000Z")
} # }