ContentTask: ContentTask

ContentTaskR Documentation

ContentTask

Description

ContentTask

ContentTask

Details

An R6 class that represents a Task for a piece of Content

Super class

connectapi::Content -> ContentTask

Public fields

task

The task.

data

The task data.

Methods

Public methods

Inherited methods

Method new()

Initialize this task.

Usage
ContentTask$new(connect, content, task)
Arguments
connect

The Connect instance.

content

The Content instance.

task

The task data.


Method get_task()

Return the underlying task.

Usage
ContentTask$get_task()

Method add_data()

Set the data.

Usage
ContentTask$add_data(data)
Arguments
data

The data.


Method get_data()

Get the data.

Usage
ContentTask$get_data()

Method print()

Print this object.

Usage
ContentTask$print(...)
Arguments
...

Unused.


Method clone()

The objects of this class are cloneable with this method.

Usage
ContentTask$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other R6 classes: Bundle, Content, Environment, PositConnect, Task, Vanity, Variant, VariantSchedule, VariantTask


rstudio/connectapi documentation built on Dec. 20, 2024, 1:48 p.m.