Function

EDataServergdata_task_add_status

since: 3.46

Declaration [src]

void
e_gdata_task_add_status (
  JsonBuilder* builder,
  EGDataTaskStatus value
)

Description [src]

Adds a Task::status property value into the builder, which should have started an object member.

When the value is E_GDATA_TASK_STATUS_UNKNOWN, then adds a NULL-object, to indicate removal of the property.

Available since: 3.46

Parameters

builder

Type: JsonBuilder

A JsonBuilder with a started object member.

The data is owned by the caller of the function.
value

Type: EGDataTaskStatus

A Task::status property value.