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\Digitalassetlinks;
19
20class BulkCheckRequest extends \Google\Collection
21{
22  protected $collection_key = 'statements';
23  /**
24   * @var bool
25   */
26  public $allowGoogleInternalDataSources;
27  /**
28   * @var string
29   */
30  public $defaultRelation;
31  protected $defaultSourceType = Asset::class;
32  protected $defaultSourceDataType = '';
33  protected $defaultTargetType = Asset::class;
34  protected $defaultTargetDataType = '';
35  /**
36   * @var bool
37   */
38  public $skipCacheLookup;
39  protected $statementsType = StatementTemplate::class;
40  protected $statementsDataType = 'array';
41
42  /**
43   * @param bool
44   */
45  public function setAllowGoogleInternalDataSources($allowGoogleInternalDataSources)
46  {
47    $this->allowGoogleInternalDataSources = $allowGoogleInternalDataSources;
48  }
49  /**
50   * @return bool
51   */
52  public function getAllowGoogleInternalDataSources()
53  {
54    return $this->allowGoogleInternalDataSources;
55  }
56  /**
57   * @param string
58   */
59  public function setDefaultRelation($defaultRelation)
60  {
61    $this->defaultRelation = $defaultRelation;
62  }
63  /**
64   * @return string
65   */
66  public function getDefaultRelation()
67  {
68    return $this->defaultRelation;
69  }
70  /**
71   * @param Asset
72   */
73  public function setDefaultSource(Asset $defaultSource)
74  {
75    $this->defaultSource = $defaultSource;
76  }
77  /**
78   * @return Asset
79   */
80  public function getDefaultSource()
81  {
82    return $this->defaultSource;
83  }
84  /**
85   * @param Asset
86   */
87  public function setDefaultTarget(Asset $defaultTarget)
88  {
89    $this->defaultTarget = $defaultTarget;
90  }
91  /**
92   * @return Asset
93   */
94  public function getDefaultTarget()
95  {
96    return $this->defaultTarget;
97  }
98  /**
99   * @param bool
100   */
101  public function setSkipCacheLookup($skipCacheLookup)
102  {
103    $this->skipCacheLookup = $skipCacheLookup;
104  }
105  /**
106   * @return bool
107   */
108  public function getSkipCacheLookup()
109  {
110    return $this->skipCacheLookup;
111  }
112  /**
113   * @param StatementTemplate[]
114   */
115  public function setStatements($statements)
116  {
117    $this->statements = $statements;
118  }
119  /**
120   * @return StatementTemplate[]
121   */
122  public function getStatements()
123  {
124    return $this->statements;
125  }
126}
127
128// Adding a class alias for backwards compatibility with the previous class name.
129class_alias(BulkCheckRequest::class, 'Google_Service_Digitalassetlinks_BulkCheckRequest');
130