Class DatabaseGetSchoolsQuery

    • Constructor Detail

      • DatabaseGetSchoolsQuery

        public DatabaseGetSchoolsQuery​(VkApiClient client,
                                       UserActor actor,
                                       int cityId)
        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
        cityId - value of "city id" parameter. Minimum is 0.
      • DatabaseGetSchoolsQuery

        public DatabaseGetSchoolsQuery​(VkApiClient client,
                                       ServiceActor actor,
                                       int cityId)
        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
        cityId - value of "city id" parameter. Minimum is 0.
    • Method Detail

      • q

        public DatabaseGetSchoolsQuery q​(java.lang.String value)
        Search query.
        Parameters:
        value - value of "q" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • cityId

        protected DatabaseGetSchoolsQuery cityId​(int value)
        City ID.
        Parameters:
        value - value of "city id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • offset

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

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