tContent

public static Content tContent(Object content)

Transforms an object to a Content for the API.

Return

the transformed Content

Parameters

content

the object to transform, can be a string or Content

Throws

if the object is not a supported type