Class GroupsBanQuery

    • Constructor Detail

      • GroupsBanQuery

        public GroupsBanQuery​(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.
    • Method Detail

      • groupId

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

        public GroupsBanQuery ownerId​(java.lang.Integer value)
        Set owner id
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • endDate

        public GroupsBanQuery endDate​(java.lang.Integer value)
        Set end date
        Parameters:
        value - value of "end date" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • reason

        public GroupsBanQuery reason​(java.lang.Integer value)
        Set reason
        Parameters:
        value - value of "reason" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • comment

        public GroupsBanQuery comment​(java.lang.String value)
        Set comment
        Parameters:
        value - value of "comment" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • commentVisible

        public GroupsBanQuery commentVisible​(java.lang.Boolean value)
        Set comment visible
        Parameters:
        value - value of "comment visible" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.