Class WallEditAdsStealthQuery

    • Constructor Detail

      • WallEditAdsStealthQuery

        public WallEditAdsStealthQuery​(VkApiClient client,
                                       UserActor actor,
                                       int postId)
        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
        postId - value of "post id" parameter. Minimum is 0.
    • Method Detail

      • ownerId

        public WallEditAdsStealthQuery ownerId​(java.lang.Integer value)
        User ID or community ID. Use a negative value to designate a community ID.
        Parameters:
        value - value of "owner id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • postId

        protected WallEditAdsStealthQuery postId​(int value)
        Post ID. Used for publishing of scheduled and suggested posts.
        Parameters:
        value - value of "post id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • message

        public WallEditAdsStealthQuery message​(java.lang.String value)
        (Required if 'attachments' is not set.) Text of the post.
        Parameters:
        value - value of "message" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • signed

        public WallEditAdsStealthQuery signed​(java.lang.Boolean value)
        Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
        Parameters:
        value - value of "signed" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • lat

        public WallEditAdsStealthQuery lat​(java.lang.Number value)
        Geographical latitude of a check-in, in degrees (from -90 to 90).
        Parameters:
        value - value of "lat" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • lng

        public WallEditAdsStealthQuery lng​(java.lang.Number value)
        Geographical longitude of a check-in, in degrees (from -180 to 180).
        Parameters:
        value - value of "long" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • placeId

        public WallEditAdsStealthQuery placeId​(java.lang.Integer value)
        ID of the location where the user was tagged.
        Parameters:
        value - value of "place id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkButton

        public WallEditAdsStealthQuery linkButton​(java.lang.String value)
        Link button ID
        Parameters:
        value - value of "link button" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkTitle

        public WallEditAdsStealthQuery linkTitle​(java.lang.String value)
        Link title
        Parameters:
        value - value of "link title" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkImage

        public WallEditAdsStealthQuery linkImage​(java.lang.String value)
        Link image url
        Parameters:
        value - value of "link image" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkVideo

        public WallEditAdsStealthQuery linkVideo​(java.lang.String value)
        Link video ID in format "_"
        Parameters:
        value - value of "link video" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • attachments

        public WallEditAdsStealthQuery attachments​(java.lang.String... value)
        attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "_,_", ' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '' — ID of the media application owner. '' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error will be thrown."
        Parameters:
        value - value of "attachments" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • attachments

        public WallEditAdsStealthQuery attachments​(java.util.List<java.lang.String> value)
        (Required if 'message' is not set.) List of objects attached to the post, in the following format: "_,_", ' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '' — ID of the media application owner. '' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error will be thrown."
        Parameters:
        value - value of "attachments" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.