Tags API Parameters

This feature is available on the Advanced & Ultimate Tiers. Learn more

TagCollectionDTO

The TagCollectionDTO contains the name of a Tag Collection and a set of Tags within that collection (see below)

global with sharing class TagCollectionDTO {

        global String TagCollectionName { get; set; }
        global Set<String> TagNames { get; private set; }​

        /**
        * Constructor
        *
        * @param tagCollection name of the Tag Collection
        */
        global TagCollectionDTO(String tagCollection);

        /**
        * Constructor
        *
        * @param tagCollection name of the Tag Collection
        * @param tagNameSet set of Tags in the Tag Collection
        */
        global TagCollectionDTO(String tagCollection, Set<String> tagNameSet);

        /**
        * Add a Tag to the Tag Collection
        *
        * @param tagName Tag
        */
        global void add(String tagName);

        /**
        * Add a set of Tags to the Tag Collection
        *
        * @param tagNameSet Set of Tags
        */
        global void addAll(Set<String> tagNameSet);

}

How did we do?

Tags API

Contact