Class GroupsEditManagerQuery

    • Constructor Detail

      • GroupsEditManagerQuery

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

      • groupId

        protected GroupsEditManagerQuery 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.
      • userId

        protected GroupsEditManagerQuery userId​(int value)
        User ID.
        Parameters:
        value - value of "user id" parameter. Minimum is 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • role

        public GroupsEditManagerQuery role​(GroupRole value)
        Manager role. Possible values: *'moderator',, *'editor',, *'administrator',, *'advertiser'.
        Parameters:
        value - value of "role" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • isContact

        public GroupsEditManagerQuery isContact​(java.lang.Boolean value)
        '1' — to show the manager in Contacts block of the community.
        Parameters:
        value - value of "is contact" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • contactPosition

        public GroupsEditManagerQuery contactPosition​(java.lang.String value)
        Position to show in Contacts block.
        Parameters:
        value - value of "contact position" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • contactPhone

        public GroupsEditManagerQuery contactPhone​(java.lang.String value)
        Contact phone.
        Parameters:
        value - value of "contact phone" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • contactEmail

        public GroupsEditManagerQuery contactEmail​(java.lang.String value)
        Contact e-mail.
        Parameters:
        value - value of "contact email" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.