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

class ColumnDescription extends \Google\Collection
{
  protected $collection_key = 'labels';
  /**
   * @var string
   */
  public $dataType;
  /**
   * @var DateDetails
   */
  public $dateDetails;
  protected $dateDetailsType = DateDetails::class;
  protected $dateDetailsDataType = '';
  /**
   * @var string
   */
  public $id;
  /**
   * @var LabeledItem[]
   */
  public $labels;
  protected $labelsType = LabeledItem::class;
  protected $labelsDataType = 'array';
  /**
   * @var LookupDetails
   */
  public $lookupDetails;
  protected $lookupDetailsType = LookupDetails::class;
  protected $lookupDetailsDataType = '';
  /**
   * @var bool
   */
  public $multipleValuesDisallowed;
  /**
   * @var string
   */
  public $name;
  /**
   * @var bool
   */
  public $readonly;
  /**
   * @var RelationshipDetails
   */
  public $relationshipDetails;
  protected $relationshipDetailsType = RelationshipDetails::class;
  protected $relationshipDetailsDataType = '';

  /**
   * @param string
   */
  public function setDataType($dataType)
  {
    $this->dataType = $dataType;
  }
  /**
   * @return string
   */
  public function getDataType()
  {
    return $this->dataType;
  }
  /**
   * @param DateDetails
   */
  public function setDateDetails(DateDetails $dateDetails)
  {
    $this->dateDetails = $dateDetails;
  }
  /**
   * @return DateDetails
   */
  public function getDateDetails()
  {
    return $this->dateDetails;
  }
  /**
   * @param string
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * @param LabeledItem[]
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return LabeledItem[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * @param LookupDetails
   */
  public function setLookupDetails(LookupDetails $lookupDetails)
  {
    $this->lookupDetails = $lookupDetails;
  }
  /**
   * @return LookupDetails
   */
  public function getLookupDetails()
  {
    return $this->lookupDetails;
  }
  /**
   * @param bool
   */
  public function setMultipleValuesDisallowed($multipleValuesDisallowed)
  {
    $this->multipleValuesDisallowed = $multipleValuesDisallowed;
  }
  /**
   * @return bool
   */
  public function getMultipleValuesDisallowed()
  {
    return $this->multipleValuesDisallowed;
  }
  /**
   * @param string
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * @param bool
   */
  public function setReadonly($readonly)
  {
    $this->readonly = $readonly;
  }
  /**
   * @return bool
   */
  public function getReadonly()
  {
    return $this->readonly;
  }
  /**
   * @param RelationshipDetails
   */
  public function setRelationshipDetails(RelationshipDetails $relationshipDetails)
  {
    $this->relationshipDetails = $relationshipDetails;
  }
  /**
   * @return RelationshipDetails
   */
  public function getRelationshipDetails()
  {
    return $this->relationshipDetails;
  }
}

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