Class LeadsGetStatsQuery

    • Constructor Detail

      • LeadsGetStatsQuery

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

      • leadId

        protected LeadsGetStatsQuery leadId​(int value)
        Lead ID.
        Parameters:
        value - value of "lead id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • secret

        public LeadsGetStatsQuery secret​(java.lang.String value)
        Secret key obtained from the lead testing interface.
        Parameters:
        value - value of "secret" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • dateStart

        public LeadsGetStatsQuery dateStart​(java.lang.String value)
        Day to start stats from (YYYY_MM_DD, e.g.2011-09-17).
        Parameters:
        value - value of "date start" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • dateEnd

        public LeadsGetStatsQuery dateEnd​(java.lang.String value)
        Day to finish stats (YYYY_MM_DD, e.g.2011-09-17).
        Parameters:
        value - value of "date end" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.