1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dialogflow;
19
20class GoogleCloudDialogflowCxV3TransitionCoverageTransition extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $covered;
26  protected $eventHandlerType = GoogleCloudDialogflowCxV3EventHandler::class;
27  protected $eventHandlerDataType = '';
28  /**
29   * @var int
30   */
31  public $index;
32  protected $sourceType = GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode::class;
33  protected $sourceDataType = '';
34  protected $targetType = GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode::class;
35  protected $targetDataType = '';
36  protected $transitionRouteType = GoogleCloudDialogflowCxV3TransitionRoute::class;
37  protected $transitionRouteDataType = '';
38
39  /**
40   * @param bool
41   */
42  public function setCovered($covered)
43  {
44    $this->covered = $covered;
45  }
46  /**
47   * @return bool
48   */
49  public function getCovered()
50  {
51    return $this->covered;
52  }
53  /**
54   * @param GoogleCloudDialogflowCxV3EventHandler
55   */
56  public function setEventHandler(GoogleCloudDialogflowCxV3EventHandler $eventHandler)
57  {
58    $this->eventHandler = $eventHandler;
59  }
60  /**
61   * @return GoogleCloudDialogflowCxV3EventHandler
62   */
63  public function getEventHandler()
64  {
65    return $this->eventHandler;
66  }
67  /**
68   * @param int
69   */
70  public function setIndex($index)
71  {
72    $this->index = $index;
73  }
74  /**
75   * @return int
76   */
77  public function getIndex()
78  {
79    return $this->index;
80  }
81  /**
82   * @param GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
83   */
84  public function setSource(GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode $source)
85  {
86    $this->source = $source;
87  }
88  /**
89   * @return GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
90   */
91  public function getSource()
92  {
93    return $this->source;
94  }
95  /**
96   * @param GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
97   */
98  public function setTarget(GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode $target)
99  {
100    $this->target = $target;
101  }
102  /**
103   * @return GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
104   */
105  public function getTarget()
106  {
107    return $this->target;
108  }
109  /**
110   * @param GoogleCloudDialogflowCxV3TransitionRoute
111   */
112  public function setTransitionRoute(GoogleCloudDialogflowCxV3TransitionRoute $transitionRoute)
113  {
114    $this->transitionRoute = $transitionRoute;
115  }
116  /**
117   * @return GoogleCloudDialogflowCxV3TransitionRoute
118   */
119  public function getTransitionRoute()
120  {
121    return $this->transitionRoute;
122  }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(GoogleCloudDialogflowCxV3TransitionCoverageTransition::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TransitionCoverageTransition');
127