Class LeadsGetUsersQuery

    • Constructor Detail

      • LeadsGetUsersQuery

        public LeadsGetUsersQuery​(VkApiClient client,
                                  UserActor actor,
                                  int offerId,
                                  java.lang.String secret)
        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
        offerId - value of "offer id" parameter. Minimum is 0.
        secret - value of "secret" parameter.
      • LeadsGetUsersQuery

        public LeadsGetUsersQuery​(VkApiClient client,
                                  ServiceActor actor,
                                  int offerId,
                                  java.lang.String secret)
        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
        offerId - value of "offer id" parameter. Minimum is 0.
        secret - value of "secret" parameter.
    • Method Detail

      • offerId

        protected LeadsGetUsersQuery offerId​(int value)
        Offer ID.
        Parameters:
        value - value of "offer id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • secret

        protected LeadsGetUsersQuery secret​(java.lang.String value)
        Secret key obtained in the lead testing interface.
        Parameters:
        value - value of "secret" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

        public LeadsGetUsersQuery offset​(java.lang.Integer value)
        Offset needed to return a specific subset of results.
        Parameters:
        value - value of "offset" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • count

        public LeadsGetUsersQuery count​(java.lang.Integer value)
        Number of results to return.
        Parameters:
        value - value of "count" parameter. Maximum is 1000. Minimum is 0. By default 100.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • status

        public LeadsGetUsersQuery status​(LeadsStatus value)
        Action type. Possible values: *'0' — start,, *'1' — finish,, *'2' — blocking users,, *'3' — start in a test mode,, *'4' — finish in a test mode.
        Parameters:
        value - value of "status" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • reverse

        public LeadsGetUsersQuery reverse​(java.lang.Boolean value)
        Sort order. Possible values: *'1' — chronological,, *'0' — reverse chronological.
        Parameters:
        value - value of "reverse" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.