Class GroupsSetLongPollSettingsQuery

    • Constructor Detail

      • GroupsSetLongPollSettingsQuery

        public GroupsSetLongPollSettingsQuery​(VkApiClient client,
                                              UserActor actor,
                                              int groupId)
        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
        groupId - value of "group id" parameter. Minimum is 1.
      • GroupsSetLongPollSettingsQuery

        public GroupsSetLongPollSettingsQuery​(VkApiClient client,
                                              GroupActor actor,
                                              int groupId)
        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
        groupId - value of "group id" parameter. Minimum is 1.
    • Method Detail

      • groupId

        protected GroupsSetLongPollSettingsQuery groupId​(int value)
        Community ID.
        Parameters:
        value - value of "group id" parameter. Minimum is 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • enabled

        public GroupsSetLongPollSettingsQuery enabled​(java.lang.Boolean value)
        Sets whether Long Poll is enabled ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "enabled" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • apiVersion

        public GroupsSetLongPollSettingsQuery apiVersion​(java.lang.String value)
        Set api version
        Parameters:
        value - value of "api version" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageNew

        public GroupsSetLongPollSettingsQuery messageNew​(java.lang.Boolean value)
        A new incoming message has been received ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "message new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageReply

        public GroupsSetLongPollSettingsQuery messageReply​(java.lang.Boolean value)
        A new outcoming message has been received ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "message reply" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageAllow

        public GroupsSetLongPollSettingsQuery messageAllow​(java.lang.Boolean value)
        Allowed messages notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "message allow" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageDeny

        public GroupsSetLongPollSettingsQuery messageDeny​(java.lang.Boolean value)
        Denied messages notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "message deny" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageEdit

        public GroupsSetLongPollSettingsQuery messageEdit​(java.lang.Boolean value)
        A message has been edited ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "message edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageTypingState

        public GroupsSetLongPollSettingsQuery messageTypingState​(java.lang.Boolean value)
        Set message typing state
        Parameters:
        value - value of "message typing state" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoNew

        public GroupsSetLongPollSettingsQuery photoNew​(java.lang.Boolean value)
        New photos notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "photo new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • audioNew

        public GroupsSetLongPollSettingsQuery audioNew​(java.lang.Boolean value)
        New audios notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "audio new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • videoNew

        public GroupsSetLongPollSettingsQuery videoNew​(java.lang.Boolean value)
        New videos notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "video new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallReplyNew

        public GroupsSetLongPollSettingsQuery wallReplyNew​(java.lang.Boolean value)
        New wall replies notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall reply new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallReplyEdit

        public GroupsSetLongPollSettingsQuery wallReplyEdit​(java.lang.Boolean value)
        Wall replies edited notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall reply edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallReplyDelete

        public GroupsSetLongPollSettingsQuery wallReplyDelete​(java.lang.Boolean value)
        A wall comment has been deleted ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall reply delete" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallReplyRestore

        public GroupsSetLongPollSettingsQuery wallReplyRestore​(java.lang.Boolean value)
        A wall comment has been restored ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall reply restore" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallPostNew

        public GroupsSetLongPollSettingsQuery wallPostNew​(java.lang.Boolean value)
        New wall posts notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall post new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • wallRepost

        public GroupsSetLongPollSettingsQuery wallRepost​(java.lang.Boolean value)
        New wall posts notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "wall repost" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • boardPostNew

        public GroupsSetLongPollSettingsQuery boardPostNew​(java.lang.Boolean value)
        New board posts notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "board post new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • boardPostEdit

        public GroupsSetLongPollSettingsQuery boardPostEdit​(java.lang.Boolean value)
        Board posts edited notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "board post edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • boardPostRestore

        public GroupsSetLongPollSettingsQuery boardPostRestore​(java.lang.Boolean value)
        Board posts restored notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "board post restore" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • boardPostDelete

        public GroupsSetLongPollSettingsQuery boardPostDelete​(java.lang.Boolean value)
        Board posts deleted notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "board post delete" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoCommentNew

        public GroupsSetLongPollSettingsQuery photoCommentNew​(java.lang.Boolean value)
        New comment to photo notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "photo comment new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoCommentEdit

        public GroupsSetLongPollSettingsQuery photoCommentEdit​(java.lang.Boolean value)
        A photo comment has been edited ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "photo comment edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoCommentDelete

        public GroupsSetLongPollSettingsQuery photoCommentDelete​(java.lang.Boolean value)
        A photo comment has been deleted ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "photo comment delete" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • photoCommentRestore

        public GroupsSetLongPollSettingsQuery photoCommentRestore​(java.lang.Boolean value)
        A photo comment has been restored ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "photo comment restore" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • videoCommentNew

        public GroupsSetLongPollSettingsQuery videoCommentNew​(java.lang.Boolean value)
        New comment to video notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "video comment new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • videoCommentEdit

        public GroupsSetLongPollSettingsQuery videoCommentEdit​(java.lang.Boolean value)
        A video comment has been edited ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "video comment edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • videoCommentDelete

        public GroupsSetLongPollSettingsQuery videoCommentDelete​(java.lang.Boolean value)
        A video comment has been deleted ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "video comment delete" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • videoCommentRestore

        public GroupsSetLongPollSettingsQuery videoCommentRestore​(java.lang.Boolean value)
        A video comment has been restored ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "video comment restore" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • marketCommentNew

        public GroupsSetLongPollSettingsQuery marketCommentNew​(java.lang.Boolean value)
        New comment to market item notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "market comment new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • marketCommentEdit

        public GroupsSetLongPollSettingsQuery marketCommentEdit​(java.lang.Boolean value)
        A market comment has been edited ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "market comment edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • marketCommentDelete

        public GroupsSetLongPollSettingsQuery marketCommentDelete​(java.lang.Boolean value)
        A market comment has been deleted ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "market comment delete" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • marketCommentRestore

        public GroupsSetLongPollSettingsQuery marketCommentRestore​(java.lang.Boolean value)
        A market comment has been restored ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "market comment restore" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • pollVoteNew

        public GroupsSetLongPollSettingsQuery pollVoteNew​(java.lang.Boolean value)
        A vote in a public poll has been added ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "poll vote new" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupJoin

        public GroupsSetLongPollSettingsQuery groupJoin​(java.lang.Boolean value)
        Joined community notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "group join" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupLeave

        public GroupsSetLongPollSettingsQuery groupLeave​(java.lang.Boolean value)
        Left community notifications ('0' — disabled, '1' — enabled).
        Parameters:
        value - value of "group leave" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupChangeSettings

        public GroupsSetLongPollSettingsQuery groupChangeSettings​(java.lang.Boolean value)
        Set group change settings
        Parameters:
        value - value of "group change settings" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupChangePhoto

        public GroupsSetLongPollSettingsQuery groupChangePhoto​(java.lang.Boolean value)
        Set group change photo
        Parameters:
        value - value of "group change photo" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupOfficersEdit

        public GroupsSetLongPollSettingsQuery groupOfficersEdit​(java.lang.Boolean value)
        Set group officers edit
        Parameters:
        value - value of "group officers edit" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userBlock

        public GroupsSetLongPollSettingsQuery userBlock​(java.lang.Boolean value)
        User added to community blacklist
        Parameters:
        value - value of "user block" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userUnblock

        public GroupsSetLongPollSettingsQuery userUnblock​(java.lang.Boolean value)
        User removed from community blacklist
        Parameters:
        value - value of "user unblock" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • likeAdd

        public GroupsSetLongPollSettingsQuery likeAdd​(java.lang.Boolean value)
        Set like add
        Parameters:
        value - value of "like add" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • likeRemove

        public GroupsSetLongPollSettingsQuery likeRemove​(java.lang.Boolean value)
        Set like remove
        Parameters:
        value - value of "like remove" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • messageEvent

        public GroupsSetLongPollSettingsQuery messageEvent​(java.lang.Boolean value)
        Set message event
        Parameters:
        value - value of "message event" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutSubscriptionCreate

        public GroupsSetLongPollSettingsQuery donutSubscriptionCreate​(java.lang.Boolean value)
        Set donut subscription create
        Parameters:
        value - value of "donut subscription create" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutSubscriptionProlonged

        public GroupsSetLongPollSettingsQuery donutSubscriptionProlonged​(java.lang.Boolean value)
        Set donut subscription prolonged
        Parameters:
        value - value of "donut subscription prolonged" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutSubscriptionCancelled

        public GroupsSetLongPollSettingsQuery donutSubscriptionCancelled​(java.lang.Boolean value)
        Set donut subscription cancelled
        Parameters:
        value - value of "donut subscription cancelled" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutSubscriptionPriceChanged

        public GroupsSetLongPollSettingsQuery donutSubscriptionPriceChanged​(java.lang.Boolean value)
        Set donut subscription price changed
        Parameters:
        value - value of "donut subscription price changed" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutSubscriptionExpired

        public GroupsSetLongPollSettingsQuery donutSubscriptionExpired​(java.lang.Boolean value)
        Set donut subscription expired
        Parameters:
        value - value of "donut subscription expired" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutMoneyWithdraw

        public GroupsSetLongPollSettingsQuery donutMoneyWithdraw​(java.lang.Boolean value)
        Set donut money withdraw
        Parameters:
        value - value of "donut money withdraw" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • donutMoneyWithdrawError

        public GroupsSetLongPollSettingsQuery donutMoneyWithdrawError​(java.lang.Boolean value)
        Set donut money withdraw error
        Parameters:
        value - value of "donut money withdraw error" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.