Interface TraitApi
public interface TraitApi
Contains all api operations for handling Traits.
-
Method Summary
Modifier and TypeMethodDescriptionfindTraits
(FindTraitsRequest findTraitsRequest) Returns all the Traits matching the search criteria described by the FindTraitsRequest object.Get the Trait with the given id.getTraitByPublicId
(String publicId) Returns the Trait identified by the given public id.
-
Method Details
-
getTrait
Get the Trait with the given id.- Parameters:
traitId
- the id of the Trait- Returns:
- the found Trait
-
getTraitByPublicId
Returns the Trait identified by the given public id.- Parameters:
publicId
- the public id of the Trait- Returns:
- the found Trait
-
findTraits
Returns all the Traits matching the search criteria described by the FindTraitsRequest object.- Parameters:
findTraitsRequest
- the search criteria- Returns:
- a PagedResponse of Traits
-