class ModerateTextResponse extends Collection (View source)

Properties

protected $collection_key
string $languageCode
bool $languageSupported
protected $moderationCategoriesType
protected $moderationCategoriesDataType

Methods

setLanguageCode($languageCode)

No description

string
getLanguageCode()

No description

setLanguageSupported($languageSupported)

No description

bool
getLanguageSupported()

No description

setModerationCategories($moderationCategories)

No description

Details

setLanguageCode($languageCode)

No description

Parameters

$languageCode

string getLanguageCode()

No description

Return Value

string

setLanguageSupported($languageSupported)

No description

Parameters

$languageSupported

bool getLanguageSupported()

No description

Return Value

bool

setModerationCategories($moderationCategories)

No description

Parameters

$moderationCategories

ClassificationCategory[] getModerationCategories()

No description

Return Value

ClassificationCategory[]