kollapsminoriteten/wp-content/plugins/google-site-kit/third-party/google/apiclient-services-subscrib.../SubscribewithGoogle/Reader.php

151 lines
3.2 KiB
PHP
Raw Normal View History

2022-12-15 17:34:08 +01:00
<?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.
*/
2025-02-28 08:42:11 +01:00
namespace Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle;
2022-12-15 17:34:08 +01:00
2025-02-28 08:42:11 +01:00
class Reader extends \Google\Site_Kit_Dependencies\Google\Model
2022-12-15 17:34:08 +01:00
{
/**
* @var string
*/
2025-02-28 08:42:11 +01:00
public $displayName;
2022-12-15 17:34:08 +01:00
/**
* @var string
*/
2025-02-28 08:42:11 +01:00
public $emailAddress;
2022-12-15 17:34:08 +01:00
/**
* @var string
*/
2025-02-28 08:42:11 +01:00
public $familyName;
2022-12-15 17:34:08 +01:00
/**
* @var string
*/
2025-02-28 08:42:11 +01:00
public $givenName;
2022-12-15 17:34:08 +01:00
/**
2025-02-28 08:42:11 +01:00
* @var bool
2022-12-15 17:34:08 +01:00
*/
2025-02-28 08:42:11 +01:00
public $isReaderInfoAvailable;
2022-12-15 17:34:08 +01:00
/**
* @var string
*/
public $name;
/**
* @var string
*/
2025-02-28 08:42:11 +01:00
public $readerId;
2022-12-15 17:34:08 +01:00
/**
* @param string
*/
2025-02-28 08:42:11 +01:00
public function setDisplayName($displayName)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->displayName = $displayName;
2022-12-15 17:34:08 +01:00
}
/**
* @return string
*/
2025-02-28 08:42:11 +01:00
public function getDisplayName()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->displayName;
2022-12-15 17:34:08 +01:00
}
/**
* @param string
*/
2025-02-28 08:42:11 +01:00
public function setEmailAddress($emailAddress)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->emailAddress = $emailAddress;
2022-12-15 17:34:08 +01:00
}
/**
* @return string
*/
2025-02-28 08:42:11 +01:00
public function getEmailAddress()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->emailAddress;
2022-12-15 17:34:08 +01:00
}
/**
* @param string
*/
2025-02-28 08:42:11 +01:00
public function setFamilyName($familyName)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->familyName = $familyName;
2022-12-15 17:34:08 +01:00
}
/**
* @return string
*/
2025-02-28 08:42:11 +01:00
public function getFamilyName()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->familyName;
2022-12-15 17:34:08 +01:00
}
/**
* @param string
*/
2025-02-28 08:42:11 +01:00
public function setGivenName($givenName)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->givenName = $givenName;
2022-12-15 17:34:08 +01:00
}
/**
* @return string
*/
2025-02-28 08:42:11 +01:00
public function getGivenName()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->givenName;
2022-12-15 17:34:08 +01:00
}
/**
2025-02-28 08:42:11 +01:00
* @param bool
2022-12-15 17:34:08 +01:00
*/
2025-02-28 08:42:11 +01:00
public function setIsReaderInfoAvailable($isReaderInfoAvailable)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->isReaderInfoAvailable = $isReaderInfoAvailable;
2022-12-15 17:34:08 +01:00
}
/**
2025-02-28 08:42:11 +01:00
* @return bool
2022-12-15 17:34:08 +01:00
*/
2025-02-28 08:42:11 +01:00
public function getIsReaderInfoAvailable()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->isReaderInfoAvailable;
2022-12-15 17:34:08 +01:00
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
2025-02-28 08:42:11 +01:00
public function setReaderId($readerId)
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
$this->readerId = $readerId;
2022-12-15 17:34:08 +01:00
}
/**
* @return string
*/
2025-02-28 08:42:11 +01:00
public function getReaderId()
2022-12-15 17:34:08 +01:00
{
2025-02-28 08:42:11 +01:00
return $this->readerId;
2022-12-15 17:34:08 +01:00
}
}
// Adding a class alias for backwards compatibility with the previous class name.
2025-02-28 08:42:11 +01:00
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Reader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_SubscribewithGoogle_Reader');