Class WallPinQuery

    • Constructor Detail

      • WallPinQuery

        public WallPinQuery​(VkApiClient client,
                            UserActor actor,
                            int postId)
        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
        postId - value of "post id" parameter. Minimum is 0.
    • Method Detail

      • ownerId

        public WallPinQuery ownerId​(java.lang.Integer value)
        ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • postId

        protected WallPinQuery postId​(int value)
        Post ID.
        Parameters:
        value - value of "post id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.