Interface TraitApi


public interface TraitApi
Contains all api operations for handling Traits.
  • Method Details

    • getTrait

      Trait getTrait(UUID traitId)
      Get the Trait with the given id.
      Parameters:
      traitId - the id of the Trait
      Returns:
      the found Trait
    • getTraitByPublicId

      Trait getTraitByPublicId(String publicId)
      Returns the Trait identified by the given public id.
      Parameters:
      publicId - the public id of the Trait
      Returns:
      the found Trait
    • findTraits

      PagedResponse<Trait> findTraits(FindTraitsRequest findTraitsRequest)
      Returns all the Traits matching the search criteria described by the FindTraitsRequest object.
      Parameters:
      findTraitsRequest - the search criteria
      Returns:
      a PagedResponse of Traits