Class WallRepostQuery

    • Constructor Detail

      • WallRepostQuery

        public WallRepostQuery​(VkApiClient client,
                               UserActor actor,
                               java.lang.String object)
        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
        object - value of "object" parameter.
    • Method Detail

      • object

        protected WallRepostQuery object​(java.lang.String value)
        ID of the object to be reposted on the wall. Example: "wall66748_3675"
        Parameters:
        value - value of "object" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • message

        public WallRepostQuery message​(java.lang.String value)
        Comment to be added along with the reposted object.
        Parameters:
        value - value of "message" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupId

        public WallRepostQuery groupId​(java.lang.Integer value)
        Target community ID when reposting to a community.
        Parameters:
        value - value of "group id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • markAsAds

        public WallRepostQuery markAsAds​(java.lang.Boolean value)
        Set mark as ads
        Parameters:
        value - value of "mark as ads" parameter. By default false.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • muteNotifications

        public WallRepostQuery muteNotifications​(java.lang.Boolean value)
        Set mute notifications
        Parameters:
        value - value of "mute notifications" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.