<?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.
 */

class Google_Service_AndroidManagement_Device extends Google_Collection
{
  protected $collection_key = 'previousDeviceNames';
  public $apiLevel;
  protected $applicationReportsType = 'Google_Service_AndroidManagement_ApplicationReport';
  protected $applicationReportsDataType = 'array';
  public $appliedPolicyName;
  public $appliedPolicyVersion;
  public $appliedState;
  protected $commonCriteriaModeInfoType = 'Google_Service_AndroidManagement_CommonCriteriaModeInfo';
  protected $commonCriteriaModeInfoDataType = '';
  protected $deviceSettingsType = 'Google_Service_AndroidManagement_DeviceSettings';
  protected $deviceSettingsDataType = '';
  protected $disabledReasonType = 'Google_Service_AndroidManagement_UserFacingMessage';
  protected $disabledReasonDataType = '';
  protected $displaysType = 'Google_Service_AndroidManagement_Display';
  protected $displaysDataType = 'array';
  public $enrollmentTime;
  public $enrollmentTokenData;
  public $enrollmentTokenName;
  protected $hardwareInfoType = 'Google_Service_AndroidManagement_HardwareInfo';
  protected $hardwareInfoDataType = '';
  protected $hardwareStatusSamplesType = 'Google_Service_AndroidManagement_HardwareStatus';
  protected $hardwareStatusSamplesDataType = 'array';
  public $lastPolicyComplianceReportTime;
  public $lastPolicySyncTime;
  public $lastStatusReportTime;
  public $managementMode;
  protected $memoryEventsType = 'Google_Service_AndroidManagement_MemoryEvent';
  protected $memoryEventsDataType = 'array';
  protected $memoryInfoType = 'Google_Service_AndroidManagement_MemoryInfo';
  protected $memoryInfoDataType = '';
  public $name;
  protected $networkInfoType = 'Google_Service_AndroidManagement_NetworkInfo';
  protected $networkInfoDataType = '';
  protected $nonComplianceDetailsType = 'Google_Service_AndroidManagement_NonComplianceDetail';
  protected $nonComplianceDetailsDataType = 'array';
  public $ownership;
  public $policyCompliant;
  public $policyName;
  protected $powerManagementEventsType = 'Google_Service_AndroidManagement_PowerManagementEvent';
  protected $powerManagementEventsDataType = 'array';
  public $previousDeviceNames;
  protected $securityPostureType = 'Google_Service_AndroidManagement_SecurityPosture';
  protected $securityPostureDataType = '';
  protected $softwareInfoType = 'Google_Service_AndroidManagement_SoftwareInfo';
  protected $softwareInfoDataType = '';
  public $state;
  public $systemProperties;
  protected $userType = 'Google_Service_AndroidManagement_User';
  protected $userDataType = '';
  public $userName;

  public function setApiLevel($apiLevel)
  {
    $this->apiLevel = $apiLevel;
  }
  public function getApiLevel()
  {
    return $this->apiLevel;
  }
  /**
   * @param Google_Service_AndroidManagement_ApplicationReport[]
   */
  public function setApplicationReports($applicationReports)
  {
    $this->applicationReports = $applicationReports;
  }
  /**
   * @return Google_Service_AndroidManagement_ApplicationReport[]
   */
  public function getApplicationReports()
  {
    return $this->applicationReports;
  }
  public function setAppliedPolicyName($appliedPolicyName)
  {
    $this->appliedPolicyName = $appliedPolicyName;
  }
  public function getAppliedPolicyName()
  {
    return $this->appliedPolicyName;
  }
  public function setAppliedPolicyVersion($appliedPolicyVersion)
  {
    $this->appliedPolicyVersion = $appliedPolicyVersion;
  }
  public function getAppliedPolicyVersion()
  {
    return $this->appliedPolicyVersion;
  }
  public function setAppliedState($appliedState)
  {
    $this->appliedState = $appliedState;
  }
  public function getAppliedState()
  {
    return $this->appliedState;
  }
  /**
   * @param Google_Service_AndroidManagement_CommonCriteriaModeInfo
   */
  public function setCommonCriteriaModeInfo(Google_Service_AndroidManagement_CommonCriteriaModeInfo $commonCriteriaModeInfo)
  {
    $this->commonCriteriaModeInfo = $commonCriteriaModeInfo;
  }
  /**
   * @return Google_Service_AndroidManagement_CommonCriteriaModeInfo
   */
  public function getCommonCriteriaModeInfo()
  {
    return $this->commonCriteriaModeInfo;
  }
  /**
   * @param Google_Service_AndroidManagement_DeviceSettings
   */
  public function setDeviceSettings(Google_Service_AndroidManagement_DeviceSettings $deviceSettings)
  {
    $this->deviceSettings = $deviceSettings;
  }
  /**
   * @return Google_Service_AndroidManagement_DeviceSettings
   */
  public function getDeviceSettings()
  {
    return $this->deviceSettings;
  }
  /**
   * @param Google_Service_AndroidManagement_UserFacingMessage
   */
  public function setDisabledReason(Google_Service_AndroidManagement_UserFacingMessage $disabledReason)
  {
    $this->disabledReason = $disabledReason;
  }
  /**
   * @return Google_Service_AndroidManagement_UserFacingMessage
   */
  public function getDisabledReason()
  {
    return $this->disabledReason;
  }
  /**
   * @param Google_Service_AndroidManagement_Display[]
   */
  public function setDisplays($displays)
  {
    $this->displays = $displays;
  }
  /**
   * @return Google_Service_AndroidManagement_Display[]
   */
  public function getDisplays()
  {
    return $this->displays;
  }
  public function setEnrollmentTime($enrollmentTime)
  {
    $this->enrollmentTime = $enrollmentTime;
  }
  public function getEnrollmentTime()
  {
    return $this->enrollmentTime;
  }
  public function setEnrollmentTokenData($enrollmentTokenData)
  {
    $this->enrollmentTokenData = $enrollmentTokenData;
  }
  public function getEnrollmentTokenData()
  {
    return $this->enrollmentTokenData;
  }
  public function setEnrollmentTokenName($enrollmentTokenName)
  {
    $this->enrollmentTokenName = $enrollmentTokenName;
  }
  public function getEnrollmentTokenName()
  {
    return $this->enrollmentTokenName;
  }
  /**
   * @param Google_Service_AndroidManagement_HardwareInfo
   */
  public function setHardwareInfo(Google_Service_AndroidManagement_HardwareInfo $hardwareInfo)
  {
    $this->hardwareInfo = $hardwareInfo;
  }
  /**
   * @return Google_Service_AndroidManagement_HardwareInfo
   */
  public function getHardwareInfo()
  {
    return $this->hardwareInfo;
  }
  /**
   * @param Google_Service_AndroidManagement_HardwareStatus[]
   */
  public function setHardwareStatusSamples($hardwareStatusSamples)
  {
    $this->hardwareStatusSamples = $hardwareStatusSamples;
  }
  /**
   * @return Google_Service_AndroidManagement_HardwareStatus[]
   */
  public function getHardwareStatusSamples()
  {
    return $this->hardwareStatusSamples;
  }
  public function setLastPolicyComplianceReportTime($lastPolicyComplianceReportTime)
  {
    $this->lastPolicyComplianceReportTime = $lastPolicyComplianceReportTime;
  }
  public function getLastPolicyComplianceReportTime()
  {
    return $this->lastPolicyComplianceReportTime;
  }
  public function setLastPolicySyncTime($lastPolicySyncTime)
  {
    $this->lastPolicySyncTime = $lastPolicySyncTime;
  }
  public function getLastPolicySyncTime()
  {
    return $this->lastPolicySyncTime;
  }
  public function setLastStatusReportTime($lastStatusReportTime)
  {
    $this->lastStatusReportTime = $lastStatusReportTime;
  }
  public function getLastStatusReportTime()
  {
    return $this->lastStatusReportTime;
  }
  public function setManagementMode($managementMode)
  {
    $this->managementMode = $managementMode;
  }
  public function getManagementMode()
  {
    return $this->managementMode;
  }
  /**
   * @param Google_Service_AndroidManagement_MemoryEvent[]
   */
  public function setMemoryEvents($memoryEvents)
  {
    $this->memoryEvents = $memoryEvents;
  }
  /**
   * @return Google_Service_AndroidManagement_MemoryEvent[]
   */
  public function getMemoryEvents()
  {
    return $this->memoryEvents;
  }
  /**
   * @param Google_Service_AndroidManagement_MemoryInfo
   */
  public function setMemoryInfo(Google_Service_AndroidManagement_MemoryInfo $memoryInfo)
  {
    $this->memoryInfo = $memoryInfo;
  }
  /**
   * @return Google_Service_AndroidManagement_MemoryInfo
   */
  public function getMemoryInfo()
  {
    return $this->memoryInfo;
  }
  public function setName($name)
  {
    $this->name = $name;
  }
  public function getName()
  {
    return $this->name;
  }
  /**
   * @param Google_Service_AndroidManagement_NetworkInfo
   */
  public function setNetworkInfo(Google_Service_AndroidManagement_NetworkInfo $networkInfo)
  {
    $this->networkInfo = $networkInfo;
  }
  /**
   * @return Google_Service_AndroidManagement_NetworkInfo
   */
  public function getNetworkInfo()
  {
    return $this->networkInfo;
  }
  /**
   * @param Google_Service_AndroidManagement_NonComplianceDetail[]
   */
  public function setNonComplianceDetails($nonComplianceDetails)
  {
    $this->nonComplianceDetails = $nonComplianceDetails;
  }
  /**
   * @return Google_Service_AndroidManagement_NonComplianceDetail[]
   */
  public function getNonComplianceDetails()
  {
    return $this->nonComplianceDetails;
  }
  public function setOwnership($ownership)
  {
    $this->ownership = $ownership;
  }
  public function getOwnership()
  {
    return $this->ownership;
  }
  public function setPolicyCompliant($policyCompliant)
  {
    $this->policyCompliant = $policyCompliant;
  }
  public function getPolicyCompliant()
  {
    return $this->policyCompliant;
  }
  public function setPolicyName($policyName)
  {
    $this->policyName = $policyName;
  }
  public function getPolicyName()
  {
    return $this->policyName;
  }
  /**
   * @param Google_Service_AndroidManagement_PowerManagementEvent[]
   */
  public function setPowerManagementEvents($powerManagementEvents)
  {
    $this->powerManagementEvents = $powerManagementEvents;
  }
  /**
   * @return Google_Service_AndroidManagement_PowerManagementEvent[]
   */
  public function getPowerManagementEvents()
  {
    return $this->powerManagementEvents;
  }
  public function setPreviousDeviceNames($previousDeviceNames)
  {
    $this->previousDeviceNames = $previousDeviceNames;
  }
  public function getPreviousDeviceNames()
  {
    return $this->previousDeviceNames;
  }
  /**
   * @param Google_Service_AndroidManagement_SecurityPosture
   */
  public function setSecurityPosture(Google_Service_AndroidManagement_SecurityPosture $securityPosture)
  {
    $this->securityPosture = $securityPosture;
  }
  /**
   * @return Google_Service_AndroidManagement_SecurityPosture
   */
  public function getSecurityPosture()
  {
    return $this->securityPosture;
  }
  /**
   * @param Google_Service_AndroidManagement_SoftwareInfo
   */
  public function setSoftwareInfo(Google_Service_AndroidManagement_SoftwareInfo $softwareInfo)
  {
    $this->softwareInfo = $softwareInfo;
  }
  /**
   * @return Google_Service_AndroidManagement_SoftwareInfo
   */
  public function getSoftwareInfo()
  {
    return $this->softwareInfo;
  }
  public function setState($state)
  {
    $this->state = $state;
  }
  public function getState()
  {
    return $this->state;
  }
  public function setSystemProperties($systemProperties)
  {
    $this->systemProperties = $systemProperties;
  }
  public function getSystemProperties()
  {
    return $this->systemProperties;
  }
  /**
   * @param Google_Service_AndroidManagement_User
   */
  public function setUser(Google_Service_AndroidManagement_User $user)
  {
    $this->user = $user;
  }
  /**
   * @return Google_Service_AndroidManagement_User
   */
  public function getUser()
  {
    return $this->user;
  }
  public function setUserName($userName)
  {
    $this->userName = $userName;
  }
  public function getUserName()
  {
    return $this->userName;
  }
}
