<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Dialogflow;

class GoogleCloudDialogflowCxV3TestConfig extends \Google\Collection
{
  protected $collection_key = 'trackingParameters';
  /**
   * Flow name to start the test case with. Format:
   * `projects//locations//agents//flows/`. Only one of `flow` and `page` should
   * be set to indicate the starting point of the test case. If neither is set,
   * the test case will start with start page on the default start flow.
   *
   * @var string
   */
  public $flow;
  /**
   * The page to start the test case with. Format:
   * `projects//locations//agents//flows//pages/`. Only one of `flow` and `page`
   * should be set to indicate the starting point of the test case. If neither
   * is set, the test case will start with start page on the default start flow.
   *
   * @var string
   */
  public $page;
  /**
   * Session parameters to be compared when calculating differences.
   *
   * @var string[]
   */
  public $trackingParameters;

  /**
   * Flow name to start the test case with. Format:
   * `projects//locations//agents//flows/`. Only one of `flow` and `page` should
   * be set to indicate the starting point of the test case. If neither is set,
   * the test case will start with start page on the default start flow.
   *
   * @param string $flow
   */
  public function setFlow($flow)
  {
    $this->flow = $flow;
  }
  /**
   * @return string
   */
  public function getFlow()
  {
    return $this->flow;
  }
  /**
   * The page to start the test case with. Format:
   * `projects//locations//agents//flows//pages/`. Only one of `flow` and `page`
   * should be set to indicate the starting point of the test case. If neither
   * is set, the test case will start with start page on the default start flow.
   *
   * @param string $page
   */
  public function setPage($page)
  {
    $this->page = $page;
  }
  /**
   * @return string
   */
  public function getPage()
  {
    return $this->page;
  }
  /**
   * Session parameters to be compared when calculating differences.
   *
   * @param string[] $trackingParameters
   */
  public function setTrackingParameters($trackingParameters)
  {
    $this->trackingParameters = $trackingParameters;
  }
  /**
   * @return string[]
   */
  public function getTrackingParameters()
  {
    return $this->trackingParameters;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDialogflowCxV3TestConfig::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TestConfig');
