Class AdsGetLookalikeRequestsQuery

    • Constructor Detail

      • AdsGetLookalikeRequestsQuery

        public AdsGetLookalikeRequestsQuery​(VkApiClient client,
                                            UserActor actor,
                                            int accountId)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
        accountId - value of "account id" parameter.
    • Method Detail

      • accountId

        protected AdsGetLookalikeRequestsQuery accountId​(int value)
        Set account id
        Parameters:
        value - value of "account id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • clientId

        public AdsGetLookalikeRequestsQuery clientId​(java.lang.Integer value)
        Set client id
        Parameters:
        value - value of "client id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • requestsIds

        public AdsGetLookalikeRequestsQuery requestsIds​(java.lang.String value)
        Set requests ids
        Parameters:
        value - value of "requests ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

        public AdsGetLookalikeRequestsQuery offset​(java.lang.Integer value)
        Set offset
        Parameters:
        value - value of "offset" parameter. Minimum is 0. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • limit

        public AdsGetLookalikeRequestsQuery limit​(java.lang.Integer value)
        Set limit
        Parameters:
        value - value of "limit" parameter. Maximum is 200. Minimum is 0. By default 10.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • sortBy

        public AdsGetLookalikeRequestsQuery sortBy​(java.lang.String value)
        Set sort by
        Parameters:
        value - value of "sort by" parameter. By default id.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.