Class AdsGetUploadURLQuery

    • Constructor Detail

      • AdsGetUploadURLQuery

        public AdsGetUploadURLQuery​(VkApiClient client,
                                    UserActor actor,
                                    int adFormat)
        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
        adFormat - value of "ad format" parameter.
    • Method Detail

      • adFormat

        protected AdsGetUploadURLQuery adFormat​(int value)
        Ad format: *1 — image and text,, *2 — big image,, *3 — exclusive format,, *4 — community, square image,, *7 — special app format.
        Parameters:
        value - value of "ad format" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • icon

        public AdsGetUploadURLQuery icon​(java.lang.Integer value)
        Set icon
        Parameters:
        value - value of "icon" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.