Class LikesIsLikedQuery

    • Constructor Detail

      • LikesIsLikedQuery

        public LikesIsLikedQuery​(VkApiClient client,
                                 UserActor actor,
                                 Type type,
                                 int itemId)
        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
        type - value of "type" parameter.
        itemId - value of "item id" parameter. Minimum is 0.
    • Method Detail

      • userId

        public LikesIsLikedQuery userId​(java.lang.Integer value)
        User ID.
        Parameters:
        value - value of "user id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • type

        protected LikesIsLikedQuery type​(Type value)
        Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion
        Parameters:
        value - value of "type" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • ownerId

        public LikesIsLikedQuery ownerId​(java.lang.Integer value)
        ID of the user or community that owns the object.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • itemId

        protected LikesIsLikedQuery itemId​(int value)
        Object ID.
        Parameters:
        value - value of "item id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.