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

class PrintServer extends \Google\Model
{
  /**
   * Output only. Time when the print server was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Editable. Description of the print server (as shown in the Admin console).
   *
   * @var string
   */
  public $description;
  /**
   * Editable. Display name of the print server (as shown in the Admin console).
   *
   * @var string
   */
  public $displayName;
  /**
   * Immutable. ID of the print server. Leave empty when creating.
   *
   * @var string
   */
  public $id;
  /**
   * Identifier. Resource name of the print server. Leave empty when creating.
   * Format: `customers/{customer.id}/printServers/{print_server.id}`
   *
   * @var string
   */
  public $name;
  /**
   * ID of the organization unit (OU) that owns this print server. This value
   * can only be set when the print server is initially created. If it's not
   * populated, the print server is placed under the root OU. The `org_unit_id`
   * can be retrieved using the [Directory API](https://developers.google.com/wo
   * rkspace/admin/directory/reference/rest/v1/orgunits).
   *
   * @var string
   */
  public $orgUnitId;
  /**
   * Editable. Print server URI.
   *
   * @var string
   */
  public $uri;

  /**
   * Output only. Time when the print server was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Editable. Description of the print server (as shown in the Admin console).
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Editable. Display name of the print server (as shown in the Admin console).
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Immutable. ID of the print server. Leave empty when creating.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Identifier. Resource name of the print server. Leave empty when creating.
   * Format: `customers/{customer.id}/printServers/{print_server.id}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * ID of the organization unit (OU) that owns this print server. This value
   * can only be set when the print server is initially created. If it's not
   * populated, the print server is placed under the root OU. The `org_unit_id`
   * can be retrieved using the [Directory API](https://developers.google.com/wo
   * rkspace/admin/directory/reference/rest/v1/orgunits).
   *
   * @param string $orgUnitId
   */
  public function setOrgUnitId($orgUnitId)
  {
    $this->orgUnitId = $orgUnitId;
  }
  /**
   * @return string
   */
  public function getOrgUnitId()
  {
    return $this->orgUnitId;
  }
  /**
   * Editable. Print server URI.
   *
   * @param string $uri
   */
  public function setUri($uri)
  {
    $this->uri = $uri;
  }
  /**
   * @return string
   */
  public function getUri()
  {
    return $this->uri;
  }
}

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