Flatlogic Bot 41e2f42e41 Aaaaaaa
2025-12-08 14:28:21 +00:00

75 lines
2.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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\AndroidManagement;
class WipeAction extends \Google\Model
{
/**
* Whether the factory-reset protection data is preserved on the device. This
* setting doesnt apply to work profiles.
*
* @var bool
*/
public $preserveFrp;
/**
* Number of days the policy is non-compliant before the device or work
* profile is wiped. wipeAfterDays must be greater than blockAfterDays.
*
* @var int
*/
public $wipeAfterDays;
/**
* Whether the factory-reset protection data is preserved on the device. This
* setting doesnt apply to work profiles.
*
* @param bool $preserveFrp
*/
public function setPreserveFrp($preserveFrp)
{
$this->preserveFrp = $preserveFrp;
}
/**
* @return bool
*/
public function getPreserveFrp()
{
return $this->preserveFrp;
}
/**
* Number of days the policy is non-compliant before the device or work
* profile is wiped. wipeAfterDays must be greater than blockAfterDays.
*
* @param int $wipeAfterDays
*/
public function setWipeAfterDays($wipeAfterDays)
{
$this->wipeAfterDays = $wipeAfterDays;
}
/**
* @return int
*/
public function getWipeAfterDays()
{
return $this->wipeAfterDays;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WipeAction::class, 'Google_Service_AndroidManagement_WipeAction');