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\CloudHealthcare;
19
20class InfoTypeTransformation extends \Google\Collection
21{
22  protected $collection_key = 'infoTypes';
23  protected $characterMaskConfigType = CharacterMaskConfig::class;
24  protected $characterMaskConfigDataType = '';
25  protected $cryptoHashConfigType = CryptoHashConfig::class;
26  protected $cryptoHashConfigDataType = '';
27  protected $dateShiftConfigType = DateShiftConfig::class;
28  protected $dateShiftConfigDataType = '';
29  /**
30   * @var string[]
31   */
32  public $infoTypes;
33  protected $redactConfigType = RedactConfig::class;
34  protected $redactConfigDataType = '';
35  protected $replaceWithInfoTypeConfigType = ReplaceWithInfoTypeConfig::class;
36  protected $replaceWithInfoTypeConfigDataType = '';
37
38  /**
39   * @param CharacterMaskConfig
40   */
41  public function setCharacterMaskConfig(CharacterMaskConfig $characterMaskConfig)
42  {
43    $this->characterMaskConfig = $characterMaskConfig;
44  }
45  /**
46   * @return CharacterMaskConfig
47   */
48  public function getCharacterMaskConfig()
49  {
50    return $this->characterMaskConfig;
51  }
52  /**
53   * @param CryptoHashConfig
54   */
55  public function setCryptoHashConfig(CryptoHashConfig $cryptoHashConfig)
56  {
57    $this->cryptoHashConfig = $cryptoHashConfig;
58  }
59  /**
60   * @return CryptoHashConfig
61   */
62  public function getCryptoHashConfig()
63  {
64    return $this->cryptoHashConfig;
65  }
66  /**
67   * @param DateShiftConfig
68   */
69  public function setDateShiftConfig(DateShiftConfig $dateShiftConfig)
70  {
71    $this->dateShiftConfig = $dateShiftConfig;
72  }
73  /**
74   * @return DateShiftConfig
75   */
76  public function getDateShiftConfig()
77  {
78    return $this->dateShiftConfig;
79  }
80  /**
81   * @param string[]
82   */
83  public function setInfoTypes($infoTypes)
84  {
85    $this->infoTypes = $infoTypes;
86  }
87  /**
88   * @return string[]
89   */
90  public function getInfoTypes()
91  {
92    return $this->infoTypes;
93  }
94  /**
95   * @param RedactConfig
96   */
97  public function setRedactConfig(RedactConfig $redactConfig)
98  {
99    $this->redactConfig = $redactConfig;
100  }
101  /**
102   * @return RedactConfig
103   */
104  public function getRedactConfig()
105  {
106    return $this->redactConfig;
107  }
108  /**
109   * @param ReplaceWithInfoTypeConfig
110   */
111  public function setReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig $replaceWithInfoTypeConfig)
112  {
113    $this->replaceWithInfoTypeConfig = $replaceWithInfoTypeConfig;
114  }
115  /**
116   * @return ReplaceWithInfoTypeConfig
117   */
118  public function getReplaceWithInfoTypeConfig()
119  {
120    return $this->replaceWithInfoTypeConfig;
121  }
122}
123
124// Adding a class alias for backwards compatibility with the previous class name.
125class_alias(InfoTypeTransformation::class, 'Google_Service_CloudHealthcare_InfoTypeTransformation');
126