JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "WeeklyMaintenanceWindow.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/CloudMemorystoreforMemcached/WeeklyMaintenanceWindow.php
File size: 2.71 KB
MIME-type: text/x-php
Charset: utf-8
<?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\CloudMemorystoreforMemcached;
class WeeklyMaintenanceWindow extends \Google\Model
{
/**
* The day of the week is unspecified.
*/
public const DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const DAY_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const DAY_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const DAY_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const DAY_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const DAY_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const DAY_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const DAY_SUNDAY = 'SUNDAY';
/**
* Required. Allows to define schedule that runs specified day of the week.
*
* @var string
*/
public $day;
/**
* Required. Duration of the time window.
*
* @var string
*/
public $duration;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Required. Allows to define schedule that runs specified day of the week.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_* $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return self::DAY_*
*/
public function getDay()
{
return $this->day;
}
/**
* Required. Duration of the time window.
*
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* Required. Start time of the window in UTC.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WeeklyMaintenanceWindow::class, 'Google_Service_CloudMemorystoreforMemcached_WeeklyMaintenanceWindow');