<?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\DLP;

class GooglePrivacyDlpV2TransformationSummary extends \Google\Collection
{
  protected $collection_key = 'results';
  /**
   * @var GooglePrivacyDlpV2FieldId
   */
  public $field;
  protected $fieldType = GooglePrivacyDlpV2FieldId::class;
  protected $fieldDataType = '';
  /**
   * @var GooglePrivacyDlpV2FieldTransformation[]
   */
  public $fieldTransformations;
  protected $fieldTransformationsType = GooglePrivacyDlpV2FieldTransformation::class;
  protected $fieldTransformationsDataType = 'array';
  /**
   * @var GooglePrivacyDlpV2InfoType
   */
  public $infoType;
  protected $infoTypeType = GooglePrivacyDlpV2InfoType::class;
  protected $infoTypeDataType = '';
  /**
   * @var GooglePrivacyDlpV2RecordSuppression
   */
  public $recordSuppress;
  protected $recordSuppressType = GooglePrivacyDlpV2RecordSuppression::class;
  protected $recordSuppressDataType = '';
  /**
   * @var GooglePrivacyDlpV2SummaryResult[]
   */
  public $results;
  protected $resultsType = GooglePrivacyDlpV2SummaryResult::class;
  protected $resultsDataType = 'array';
  /**
   * @var GooglePrivacyDlpV2PrimitiveTransformation
   */
  public $transformation;
  protected $transformationType = GooglePrivacyDlpV2PrimitiveTransformation::class;
  protected $transformationDataType = '';
  /**
   * @var string
   */
  public $transformedBytes;

  /**
   * @param GooglePrivacyDlpV2FieldId
   */
  public function setField(GooglePrivacyDlpV2FieldId $field)
  {
    $this->field = $field;
  }
  /**
   * @return GooglePrivacyDlpV2FieldId
   */
  public function getField()
  {
    return $this->field;
  }
  /**
   * @param GooglePrivacyDlpV2FieldTransformation[]
   */
  public function setFieldTransformations($fieldTransformations)
  {
    $this->fieldTransformations = $fieldTransformations;
  }
  /**
   * @return GooglePrivacyDlpV2FieldTransformation[]
   */
  public function getFieldTransformations()
  {
    return $this->fieldTransformations;
  }
  /**
   * @param GooglePrivacyDlpV2InfoType
   */
  public function setInfoType(GooglePrivacyDlpV2InfoType $infoType)
  {
    $this->infoType = $infoType;
  }
  /**
   * @return GooglePrivacyDlpV2InfoType
   */
  public function getInfoType()
  {
    return $this->infoType;
  }
  /**
   * @param GooglePrivacyDlpV2RecordSuppression
   */
  public function setRecordSuppress(GooglePrivacyDlpV2RecordSuppression $recordSuppress)
  {
    $this->recordSuppress = $recordSuppress;
  }
  /**
   * @return GooglePrivacyDlpV2RecordSuppression
   */
  public function getRecordSuppress()
  {
    return $this->recordSuppress;
  }
  /**
   * @param GooglePrivacyDlpV2SummaryResult[]
   */
  public function setResults($results)
  {
    $this->results = $results;
  }
  /**
   * @return GooglePrivacyDlpV2SummaryResult[]
   */
  public function getResults()
  {
    return $this->results;
  }
  /**
   * @param GooglePrivacyDlpV2PrimitiveTransformation
   */
  public function setTransformation(GooglePrivacyDlpV2PrimitiveTransformation $transformation)
  {
    $this->transformation = $transformation;
  }
  /**
   * @return GooglePrivacyDlpV2PrimitiveTransformation
   */
  public function getTransformation()
  {
    return $this->transformation;
  }
  /**
   * @param string
   */
  public function setTransformedBytes($transformedBytes)
  {
    $this->transformedBytes = $transformedBytes;
  }
  /**
   * @return string
   */
  public function getTransformedBytes()
  {
    return $this->transformedBytes;
  }
}

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