Interface ActorApi

  • All Superinterfaces:
    ApiClient.Api

    @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public interface ActorApi
    extends ApiClient.Api
    • Method Detail

      • getActorById

        Actor getActorById​(String id)
        Finds the Actor by ID Returns the single Actor for the given ID
        Parameters:
        id - ID of the Actor to return (required)
        Returns:
        Actor
      • searchActors

        List<Actor> searchActors​(Integer p,
                                 Integer c,
                                 List<String> f,
                                 String o)
        Finds Actors Finds Actors with pagination params and filters
        Parameters:
        p - index of the page to display (required)
        c - maximum number of elements to retrieve (required)
        f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
        o - can order on attributes (optional)
        Returns:
        List<Actor>
      • searchActors

        List<Actor> searchActors​(Map<String,​Object> queryParams)
        Finds Actors Finds Actors with pagination params and filters Note, this is equivalent to the other searchActors method, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with the ActorApi.SearchActorsQueryParams class that allows for building up this map in a fluent style.
        Parameters:
        queryParams - Map of query parameters as name-value pairs

        The following elements may be specified in the query map:

        • p - index of the page to display (required)
        • c - maximum number of elements to retrieve (required)
        • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
        • o - can order on attributes (optional)
        Returns:
        List<Actor>
      • updateActorById

        void updateActorById​(String id,
                             ActorUpdateRequest actorUpdateRequest)
        Update the Actor by ID Update the Actor for the given ID
        Parameters:
        id - ID of the Actor to return (required)
        actorUpdateRequest - Fields that can be upated are `displayName` and `description` (required)