Class AdsCheckLinkQuery

    • Constructor Detail

      • AdsCheckLinkQuery

        public AdsCheckLinkQuery​(VkApiClient client,
                                 UserActor actor,
                                 int accountId,
                                 CheckLinkLinkType linkType,
                                 java.lang.String linkUrl)
        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
        accountId - value of "account id" parameter.
        linkType - value of "link type" parameter.
        linkUrl - value of "link url" parameter.
    • Method Detail

      • accountId

        protected AdsCheckLinkQuery accountId​(int value)
        Advertising account ID.
        Parameters:
        value - value of "account id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkType

        protected AdsCheckLinkQuery linkType​(CheckLinkLinkType value)
        Object type: *'community' — community,, *'post' — community post,, *'application' — VK application,, *'video' — video,, *'site' — external site.
        Parameters:
        value - value of "link type" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkUrl

        protected AdsCheckLinkQuery linkUrl​(java.lang.String value)
        Object URL.
        Parameters:
        value - value of "link url" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • campaignId

        public AdsCheckLinkQuery campaignId​(java.lang.Integer value)
        Campaign ID
        Parameters:
        value - value of "campaign id" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.