Class LeadsStartQuery

    • Constructor Detail

      • LeadsStartQuery

        public LeadsStartQuery​(VkApiClient client,
                               UserActor actor,
                               int leadId,
                               java.lang.String secret)
        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.
        secret - value of "secret" parameter.
      • LeadsStartQuery

        public LeadsStartQuery​(VkApiClient client,
                               ServiceActor actor,
                               int leadId,
                               java.lang.String secret)
        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.
        secret - value of "secret" parameter.
    • Method Detail

      • leadId

        protected LeadsStartQuery 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

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

        public LeadsStartQuery uid​(java.lang.Integer value)
        Set uid
        Parameters:
        value - value of "uid" parameter. Minimum is 0. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • aid

        public LeadsStartQuery aid​(java.lang.Integer value)
        Set aid
        Parameters:
        value - value of "aid" parameter. Minimum is 0. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • testMode

        public LeadsStartQuery testMode​(java.lang.Boolean value)
        Set test mode
        Parameters:
        value - value of "test mode" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • force

        public LeadsStartQuery force​(java.lang.Boolean value)
        Set force
        Parameters:
        value - value of "force" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.