Initial commit
This commit is contained in:
141
vendor/google/apiclient-services/src/Google/Service/Blogger/Blog.php
vendored
Normal file
141
vendor/google/apiclient-services/src/Google/Service/Blogger/Blog.php
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_Blog extends Google_Model
|
||||
{
|
||||
public $customMetaData;
|
||||
public $description;
|
||||
public $id;
|
||||
public $kind;
|
||||
protected $localeType = 'Google_Service_Blogger_BlogLocale';
|
||||
protected $localeDataType = '';
|
||||
public $name;
|
||||
protected $pagesType = 'Google_Service_Blogger_BlogPages';
|
||||
protected $pagesDataType = '';
|
||||
protected $postsType = 'Google_Service_Blogger_BlogPosts';
|
||||
protected $postsDataType = '';
|
||||
public $published;
|
||||
public $selfLink;
|
||||
public $status;
|
||||
public $updated;
|
||||
public $url;
|
||||
|
||||
public function setCustomMetaData($customMetaData)
|
||||
{
|
||||
$this->customMetaData = $customMetaData;
|
||||
}
|
||||
public function getCustomMetaData()
|
||||
{
|
||||
return $this->customMetaData;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLocale(Google_Service_Blogger_BlogLocale $locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
}
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPages(Google_Service_Blogger_BlogPages $pages)
|
||||
{
|
||||
$this->pages = $pages;
|
||||
}
|
||||
public function getPages()
|
||||
{
|
||||
return $this->pages;
|
||||
}
|
||||
public function setPosts(Google_Service_Blogger_BlogPosts $posts)
|
||||
{
|
||||
$this->posts = $posts;
|
||||
}
|
||||
public function getPosts()
|
||||
{
|
||||
return $this->posts;
|
||||
}
|
||||
public function setPublished($published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
51
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogList.php
vendored
Normal file
51
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogList.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogList extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
|
||||
protected $blogUserInfosDataType = 'array';
|
||||
protected $itemsType = 'Google_Service_Blogger_Blog';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
|
||||
public function setBlogUserInfos($blogUserInfos)
|
||||
{
|
||||
$this->blogUserInfos = $blogUserInfos;
|
||||
}
|
||||
public function getBlogUserInfos()
|
||||
{
|
||||
return $this->blogUserInfos;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogLocale.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogLocale extends Google_Model
|
||||
{
|
||||
public $country;
|
||||
public $language;
|
||||
public $variant;
|
||||
|
||||
public function setCountry($country)
|
||||
{
|
||||
$this->country = $country;
|
||||
}
|
||||
public function getCountry()
|
||||
{
|
||||
return $this->country;
|
||||
}
|
||||
public function setLanguage($language)
|
||||
{
|
||||
$this->language = $language;
|
||||
}
|
||||
public function getLanguage()
|
||||
{
|
||||
return $this->language;
|
||||
}
|
||||
public function setVariant($variant)
|
||||
{
|
||||
$this->variant = $variant;
|
||||
}
|
||||
public function getVariant()
|
||||
{
|
||||
return $this->variant;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPages.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogPages extends Google_Model
|
||||
{
|
||||
public $selfLink;
|
||||
public $totalItems;
|
||||
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setTotalItems($totalItems)
|
||||
{
|
||||
$this->totalItems = $totalItems;
|
||||
}
|
||||
public function getTotalItems()
|
||||
{
|
||||
return $this->totalItems;
|
||||
}
|
||||
}
|
||||
75
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php
vendored
Normal file
75
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPerUserInfo.php
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogPerUserInfo extends Google_Model
|
||||
{
|
||||
public $blogId;
|
||||
public $hasAdminAccess;
|
||||
public $kind;
|
||||
public $photosAlbumKey;
|
||||
public $role;
|
||||
public $userId;
|
||||
|
||||
public function setBlogId($blogId)
|
||||
{
|
||||
$this->blogId = $blogId;
|
||||
}
|
||||
public function getBlogId()
|
||||
{
|
||||
return $this->blogId;
|
||||
}
|
||||
public function setHasAdminAccess($hasAdminAccess)
|
||||
{
|
||||
$this->hasAdminAccess = $hasAdminAccess;
|
||||
}
|
||||
public function getHasAdminAccess()
|
||||
{
|
||||
return $this->hasAdminAccess;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPhotosAlbumKey($photosAlbumKey)
|
||||
{
|
||||
$this->photosAlbumKey = $photosAlbumKey;
|
||||
}
|
||||
public function getPhotosAlbumKey()
|
||||
{
|
||||
return $this->photosAlbumKey;
|
||||
}
|
||||
public function setRole($role)
|
||||
{
|
||||
$this->role = $role;
|
||||
}
|
||||
public function getRole()
|
||||
{
|
||||
return $this->role;
|
||||
}
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
}
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogPosts.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogPosts extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Blogger_Post';
|
||||
protected $itemsDataType = 'array';
|
||||
public $selfLink;
|
||||
public $totalItems;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setTotalItems($totalItems)
|
||||
{
|
||||
$this->totalItems = $totalItems;
|
||||
}
|
||||
public function getTotalItems()
|
||||
{
|
||||
return $this->totalItems;
|
||||
}
|
||||
}
|
||||
53
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php
vendored
Normal file
53
vendor/google/apiclient-services/src/Google/Service/Blogger/BlogUserInfo.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_BlogUserInfo extends Google_Model
|
||||
{
|
||||
protected $internal_gapi_mappings = array(
|
||||
"blogUserInfo" => "blog_user_info",
|
||||
);
|
||||
protected $blogType = 'Google_Service_Blogger_Blog';
|
||||
protected $blogDataType = '';
|
||||
protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
|
||||
protected $blogUserInfoDataType = '';
|
||||
public $kind;
|
||||
|
||||
public function setBlog(Google_Service_Blogger_Blog $blog)
|
||||
{
|
||||
$this->blog = $blog;
|
||||
}
|
||||
public function getBlog()
|
||||
{
|
||||
return $this->blog;
|
||||
}
|
||||
public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
|
||||
{
|
||||
$this->blogUserInfo = $blogUserInfo;
|
||||
}
|
||||
public function getBlogUserInfo()
|
||||
{
|
||||
return $this->blogUserInfo;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
124
vendor/google/apiclient-services/src/Google/Service/Blogger/Comment.php
vendored
Normal file
124
vendor/google/apiclient-services/src/Google/Service/Blogger/Comment.php
vendored
Normal file
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_Comment extends Google_Model
|
||||
{
|
||||
protected $authorType = 'Google_Service_Blogger_CommentAuthor';
|
||||
protected $authorDataType = '';
|
||||
protected $blogType = 'Google_Service_Blogger_CommentBlog';
|
||||
protected $blogDataType = '';
|
||||
public $content;
|
||||
public $id;
|
||||
protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
|
||||
protected $inReplyToDataType = '';
|
||||
public $kind;
|
||||
protected $postType = 'Google_Service_Blogger_CommentPost';
|
||||
protected $postDataType = '';
|
||||
public $published;
|
||||
public $selfLink;
|
||||
public $status;
|
||||
public $updated;
|
||||
|
||||
public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
|
||||
{
|
||||
$this->author = $author;
|
||||
}
|
||||
public function getAuthor()
|
||||
{
|
||||
return $this->author;
|
||||
}
|
||||
public function setBlog(Google_Service_Blogger_CommentBlog $blog)
|
||||
{
|
||||
$this->blog = $blog;
|
||||
}
|
||||
public function getBlog()
|
||||
{
|
||||
return $this->blog;
|
||||
}
|
||||
public function setContent($content)
|
||||
{
|
||||
$this->content = $content;
|
||||
}
|
||||
public function getContent()
|
||||
{
|
||||
return $this->content;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
|
||||
{
|
||||
$this->inReplyTo = $inReplyTo;
|
||||
}
|
||||
public function getInReplyTo()
|
||||
{
|
||||
return $this->inReplyTo;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPost(Google_Service_Blogger_CommentPost $post)
|
||||
{
|
||||
$this->post = $post;
|
||||
}
|
||||
public function getPost()
|
||||
{
|
||||
return $this->post;
|
||||
}
|
||||
public function setPublished($published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentAuthor.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentAuthor extends Google_Model
|
||||
{
|
||||
public $displayName;
|
||||
public $id;
|
||||
protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
|
||||
protected $imageDataType = '';
|
||||
public $url;
|
||||
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentAuthorImage.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentAuthorImage extends Google_Model
|
||||
{
|
||||
public $url;
|
||||
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentBlog.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentBlog extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentInReplyTo.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentInReplyTo extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
68
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentList.php
vendored
Normal file
68
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentList.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentList extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_Blogger_Comment';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
public $prevPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setPrevPageToken($prevPageToken)
|
||||
{
|
||||
$this->prevPageToken = $prevPageToken;
|
||||
}
|
||||
public function getPrevPageToken()
|
||||
{
|
||||
return $this->prevPageToken;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/CommentPost.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_CommentPost extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
131
vendor/google/apiclient-services/src/Google/Service/Blogger/Page.php
vendored
Normal file
131
vendor/google/apiclient-services/src/Google/Service/Blogger/Page.php
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_Page extends Google_Model
|
||||
{
|
||||
protected $authorType = 'Google_Service_Blogger_PageAuthor';
|
||||
protected $authorDataType = '';
|
||||
protected $blogType = 'Google_Service_Blogger_PageBlog';
|
||||
protected $blogDataType = '';
|
||||
public $content;
|
||||
public $etag;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $published;
|
||||
public $selfLink;
|
||||
public $status;
|
||||
public $title;
|
||||
public $updated;
|
||||
public $url;
|
||||
|
||||
public function setAuthor(Google_Service_Blogger_PageAuthor $author)
|
||||
{
|
||||
$this->author = $author;
|
||||
}
|
||||
public function getAuthor()
|
||||
{
|
||||
return $this->author;
|
||||
}
|
||||
public function setBlog(Google_Service_Blogger_PageBlog $blog)
|
||||
{
|
||||
$this->blog = $blog;
|
||||
}
|
||||
public function getBlog()
|
||||
{
|
||||
return $this->blog;
|
||||
}
|
||||
public function setContent($content)
|
||||
{
|
||||
$this->content = $content;
|
||||
}
|
||||
public function getContent()
|
||||
{
|
||||
return $this->content;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPublished($published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/Blogger/PageAuthor.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PageAuthor extends Google_Model
|
||||
{
|
||||
public $displayName;
|
||||
public $id;
|
||||
protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
|
||||
protected $imageDataType = '';
|
||||
public $url;
|
||||
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setImage(Google_Service_Blogger_PageAuthorImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PageAuthorImage.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PageAuthorImage extends Google_Model
|
||||
{
|
||||
public $url;
|
||||
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PageBlog.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PageBlog extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/Blogger/PageList.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/Blogger/PageList.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PageList extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_Blogger_Page';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Blogger/Pageviews.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_Pageviews extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'counts';
|
||||
public $blogId;
|
||||
protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
|
||||
protected $countsDataType = 'array';
|
||||
public $kind;
|
||||
|
||||
public function setBlogId($blogId)
|
||||
{
|
||||
$this->blogId = $blogId;
|
||||
}
|
||||
public function getBlogId()
|
||||
{
|
||||
return $this->blogId;
|
||||
}
|
||||
public function setCounts($counts)
|
||||
{
|
||||
$this->counts = $counts;
|
||||
}
|
||||
public function getCounts()
|
||||
{
|
||||
return $this->counts;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Blogger/PageviewsCounts.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PageviewsCounts extends Google_Model
|
||||
{
|
||||
public $count;
|
||||
public $timeRange;
|
||||
|
||||
public function setCount($count)
|
||||
{
|
||||
$this->count = $count;
|
||||
}
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
public function setTimeRange($timeRange)
|
||||
{
|
||||
$this->timeRange = $timeRange;
|
||||
}
|
||||
public function getTimeRange()
|
||||
{
|
||||
return $this->timeRange;
|
||||
}
|
||||
}
|
||||
198
vendor/google/apiclient-services/src/Google/Service/Blogger/Post.php
vendored
Normal file
198
vendor/google/apiclient-services/src/Google/Service/Blogger/Post.php
vendored
Normal file
@@ -0,0 +1,198 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_Post extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labels';
|
||||
protected $authorType = 'Google_Service_Blogger_PostAuthor';
|
||||
protected $authorDataType = '';
|
||||
protected $blogType = 'Google_Service_Blogger_PostBlog';
|
||||
protected $blogDataType = '';
|
||||
public $content;
|
||||
public $customMetaData;
|
||||
public $etag;
|
||||
public $id;
|
||||
protected $imagesType = 'Google_Service_Blogger_PostImages';
|
||||
protected $imagesDataType = 'array';
|
||||
public $kind;
|
||||
public $labels;
|
||||
protected $locationType = 'Google_Service_Blogger_PostLocation';
|
||||
protected $locationDataType = '';
|
||||
public $published;
|
||||
public $readerComments;
|
||||
protected $repliesType = 'Google_Service_Blogger_PostReplies';
|
||||
protected $repliesDataType = '';
|
||||
public $selfLink;
|
||||
public $status;
|
||||
public $title;
|
||||
public $titleLink;
|
||||
public $updated;
|
||||
public $url;
|
||||
|
||||
public function setAuthor(Google_Service_Blogger_PostAuthor $author)
|
||||
{
|
||||
$this->author = $author;
|
||||
}
|
||||
public function getAuthor()
|
||||
{
|
||||
return $this->author;
|
||||
}
|
||||
public function setBlog(Google_Service_Blogger_PostBlog $blog)
|
||||
{
|
||||
$this->blog = $blog;
|
||||
}
|
||||
public function getBlog()
|
||||
{
|
||||
return $this->blog;
|
||||
}
|
||||
public function setContent($content)
|
||||
{
|
||||
$this->content = $content;
|
||||
}
|
||||
public function getContent()
|
||||
{
|
||||
return $this->content;
|
||||
}
|
||||
public function setCustomMetaData($customMetaData)
|
||||
{
|
||||
$this->customMetaData = $customMetaData;
|
||||
}
|
||||
public function getCustomMetaData()
|
||||
{
|
||||
return $this->customMetaData;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setImages($images)
|
||||
{
|
||||
$this->images = $images;
|
||||
}
|
||||
public function getImages()
|
||||
{
|
||||
return $this->images;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setLocation(Google_Service_Blogger_PostLocation $location)
|
||||
{
|
||||
$this->location = $location;
|
||||
}
|
||||
public function getLocation()
|
||||
{
|
||||
return $this->location;
|
||||
}
|
||||
public function setPublished($published)
|
||||
{
|
||||
$this->published = $published;
|
||||
}
|
||||
public function getPublished()
|
||||
{
|
||||
return $this->published;
|
||||
}
|
||||
public function setReaderComments($readerComments)
|
||||
{
|
||||
$this->readerComments = $readerComments;
|
||||
}
|
||||
public function getReaderComments()
|
||||
{
|
||||
return $this->readerComments;
|
||||
}
|
||||
public function setReplies(Google_Service_Blogger_PostReplies $replies)
|
||||
{
|
||||
$this->replies = $replies;
|
||||
}
|
||||
public function getReplies()
|
||||
{
|
||||
return $this->replies;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
public function setTitleLink($titleLink)
|
||||
{
|
||||
$this->titleLink = $titleLink;
|
||||
}
|
||||
public function getTitleLink()
|
||||
{
|
||||
return $this->titleLink;
|
||||
}
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
58
vendor/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php
vendored
Normal file
58
vendor/google/apiclient-services/src/Google/Service/Blogger/PostAuthor.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostAuthor extends Google_Model
|
||||
{
|
||||
public $displayName;
|
||||
public $id;
|
||||
protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
|
||||
protected $imageDataType = '';
|
||||
public $url;
|
||||
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setImage(Google_Service_Blogger_PostAuthorImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostAuthorImage.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostAuthorImage extends Google_Model
|
||||
{
|
||||
public $url;
|
||||
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostBlog.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostBlog extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostImages.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/PostImages.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostImages extends Google_Model
|
||||
{
|
||||
public $url;
|
||||
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/Blogger/PostList.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/Blogger/PostList.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostList extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
public $etag;
|
||||
protected $itemsType = 'Google_Service_Blogger_Post';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Blogger/PostLocation.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostLocation extends Google_Model
|
||||
{
|
||||
public $lat;
|
||||
public $lng;
|
||||
public $name;
|
||||
public $span;
|
||||
|
||||
public function setLat($lat)
|
||||
{
|
||||
$this->lat = $lat;
|
||||
}
|
||||
public function getLat()
|
||||
{
|
||||
return $this->lat;
|
||||
}
|
||||
public function setLng($lng)
|
||||
{
|
||||
$this->lng = $lng;
|
||||
}
|
||||
public function getLng()
|
||||
{
|
||||
return $this->lng;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setSpan($span)
|
||||
{
|
||||
$this->span = $span;
|
||||
}
|
||||
public function getSpan()
|
||||
{
|
||||
return $this->span;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/Blogger/PostPerUserInfo.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostPerUserInfo extends Google_Model
|
||||
{
|
||||
public $blogId;
|
||||
public $hasEditAccess;
|
||||
public $kind;
|
||||
public $postId;
|
||||
public $userId;
|
||||
|
||||
public function setBlogId($blogId)
|
||||
{
|
||||
$this->blogId = $blogId;
|
||||
}
|
||||
public function getBlogId()
|
||||
{
|
||||
return $this->blogId;
|
||||
}
|
||||
public function setHasEditAccess($hasEditAccess)
|
||||
{
|
||||
$this->hasEditAccess = $hasEditAccess;
|
||||
}
|
||||
public function getHasEditAccess()
|
||||
{
|
||||
return $this->hasEditAccess;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPostId($postId)
|
||||
{
|
||||
$this->postId = $postId;
|
||||
}
|
||||
public function getPostId()
|
||||
{
|
||||
return $this->postId;
|
||||
}
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
}
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Blogger/PostReplies.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostReplies extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Blogger_Comment';
|
||||
protected $itemsDataType = 'array';
|
||||
public $selfLink;
|
||||
public $totalItems;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setTotalItems($totalItems)
|
||||
{
|
||||
$this->totalItems = $totalItems;
|
||||
}
|
||||
public function getTotalItems()
|
||||
{
|
||||
return $this->totalItems;
|
||||
}
|
||||
}
|
||||
53
vendor/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php
vendored
Normal file
53
vendor/google/apiclient-services/src/Google/Service/Blogger/PostUserInfo.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostUserInfo extends Google_Model
|
||||
{
|
||||
protected $internal_gapi_mappings = array(
|
||||
"postUserInfo" => "post_user_info",
|
||||
);
|
||||
public $kind;
|
||||
protected $postType = 'Google_Service_Blogger_Post';
|
||||
protected $postDataType = '';
|
||||
protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
|
||||
protected $postUserInfoDataType = '';
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPost(Google_Service_Blogger_Post $post)
|
||||
{
|
||||
$this->post = $post;
|
||||
}
|
||||
public function getPost()
|
||||
{
|
||||
return $this->post;
|
||||
}
|
||||
public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
|
||||
{
|
||||
$this->postUserInfo = $postUserInfo;
|
||||
}
|
||||
public function getPostUserInfo()
|
||||
{
|
||||
return $this->postUserInfo;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Blogger/PostUserInfosList.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_PostUserInfosList extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
|
||||
protected $itemsDataType = 'array';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
46
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php
vendored
Normal file
46
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/BlogUserInfos.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "blogUserInfos" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $blogUserInfos = $bloggerService->blogUserInfos;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_BlogUserInfos extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
|
||||
*
|
||||
* @param string $userId ID of the user whose blogs are to be fetched. Either
|
||||
* the word 'self' (sans quote marks) or the user's profile identifier.
|
||||
* @param string $blogId The ID of the blog to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string maxPosts Maximum number of posts to pull back with the
|
||||
* blog.
|
||||
* @return Google_Service_Blogger_BlogUserInfo
|
||||
*/
|
||||
public function get($userId, $blogId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
|
||||
}
|
||||
}
|
||||
86
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php
vendored
Normal file
86
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Blogs.php
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "blogs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $blogs = $bloggerService->blogs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_Blogs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets one blog by ID. (blogs.get)
|
||||
*
|
||||
* @param string $blogId The ID of the blog to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string maxPosts Maximum number of posts to pull back with the
|
||||
* blog.
|
||||
* @opt_param string view Access level with which to view the blog. Note that
|
||||
* some fields require elevated access.
|
||||
* @return Google_Service_Blogger_Blog
|
||||
*/
|
||||
public function get($blogId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_Blog");
|
||||
}
|
||||
/**
|
||||
* Retrieve a Blog by URL. (blogs.getByUrl)
|
||||
*
|
||||
* @param string $url The URL of the blog to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string view Access level with which to view the blog. Note that
|
||||
* some fields require elevated access.
|
||||
* @return Google_Service_Blogger_Blog
|
||||
*/
|
||||
public function getByUrl($url, $optParams = array())
|
||||
{
|
||||
$params = array('url' => $url);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
|
||||
}
|
||||
/**
|
||||
* Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
|
||||
*
|
||||
* @param string $userId ID of the user whose blogs are to be fetched. Either
|
||||
* the word 'self' (sans quote marks) or the user's profile identifier.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchUserInfo Whether the response is a list of blogs with
|
||||
* per-user information instead of just blogs.
|
||||
* @opt_param string role User access types for blogs to include in the results,
|
||||
* e.g. AUTHOR will return blogs where the user has author level access. If no
|
||||
* roles are specified, defaults to ADMIN and AUTHOR roles.
|
||||
* @opt_param string status Blog statuses to include in the result (default:
|
||||
* Live blogs only). Note that ADMIN access is required to view deleted blogs.
|
||||
* @opt_param string view Access level with which to view the blogs. Note that
|
||||
* some fields require elevated access.
|
||||
* @return Google_Service_Blogger_BlogList
|
||||
*/
|
||||
public function listByUser($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
|
||||
}
|
||||
}
|
||||
159
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php
vendored
Normal file
159
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Comments.php
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "comments" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $comments = $bloggerService->comments;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_Comments extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Marks a comment as not spam. (comments.approve)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param string $commentId The ID of the comment to mark as not spam.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Comment
|
||||
*/
|
||||
public function approve($blogId, $postId, $commentId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
|
||||
}
|
||||
/**
|
||||
* Delete a comment by ID. (comments.delete)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param string $commentId The ID of the comment to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($blogId, $postId, $commentId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets one comment by ID. (comments.get)
|
||||
*
|
||||
* @param string $blogId ID of the blog to containing the comment.
|
||||
* @param string $postId ID of the post to fetch posts from.
|
||||
* @param string $commentId The ID of the comment to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string view Access level for the requested comment (default:
|
||||
* READER). Note that some comments will require elevated permissions, for
|
||||
* example comments where the parent posts which is in a draft state, or
|
||||
* comments that are pending moderation.
|
||||
* @return Google_Service_Blogger_Comment
|
||||
*/
|
||||
public function get($blogId, $postId, $commentId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_Comment");
|
||||
}
|
||||
/**
|
||||
* Retrieves the comments for a post, possibly filtered. (comments.listComments)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch comments from.
|
||||
* @param string $postId ID of the post to fetch posts from.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string endDate Latest date of comment to fetch, a date-time with
|
||||
* RFC 3339 formatting.
|
||||
* @opt_param bool fetchBodies Whether the body content of the comments is
|
||||
* included.
|
||||
* @opt_param string maxResults Maximum number of comments to include in the
|
||||
* result.
|
||||
* @opt_param string pageToken Continuation token if request is paged.
|
||||
* @opt_param string startDate Earliest date of comment to fetch, a date-time
|
||||
* with RFC 3339 formatting.
|
||||
* @opt_param string status
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require elevated access.
|
||||
* @return Google_Service_Blogger_CommentList
|
||||
*/
|
||||
public function listComments($blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
|
||||
}
|
||||
/**
|
||||
* Retrieves the comments for a blog, across all posts, possibly filtered.
|
||||
* (comments.listByBlog)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch comments from.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string endDate Latest date of comment to fetch, a date-time with
|
||||
* RFC 3339 formatting.
|
||||
* @opt_param bool fetchBodies Whether the body content of the comments is
|
||||
* included.
|
||||
* @opt_param string maxResults Maximum number of comments to include in the
|
||||
* result.
|
||||
* @opt_param string pageToken Continuation token if request is paged.
|
||||
* @opt_param string startDate Earliest date of comment to fetch, a date-time
|
||||
* with RFC 3339 formatting.
|
||||
* @opt_param string status
|
||||
* @return Google_Service_Blogger_CommentList
|
||||
*/
|
||||
public function listByBlog($blogId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
|
||||
}
|
||||
/**
|
||||
* Marks a comment as spam. (comments.markAsSpam)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param string $commentId The ID of the comment to mark as spam.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Comment
|
||||
*/
|
||||
public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
|
||||
}
|
||||
/**
|
||||
* Removes the content of a comment. (comments.removeContent)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param string $commentId The ID of the comment to delete content from.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Comment
|
||||
*/
|
||||
public function removeContent($blogId, $postId, $commentId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
|
||||
}
|
||||
}
|
||||
43
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php
vendored
Normal file
43
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/PageViews.php
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "pageViews" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $pageViews = $bloggerService->pageViews;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_PageViews extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Retrieve pageview stats for a Blog. (pageViews.get)
|
||||
*
|
||||
* @param string $blogId The ID of the blog to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string range
|
||||
* @return Google_Service_Blogger_Pageviews
|
||||
*/
|
||||
public function get($blogId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
|
||||
}
|
||||
}
|
||||
163
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php
vendored
Normal file
163
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Pages.php
vendored
Normal file
@@ -0,0 +1,163 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "pages" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $pages = $bloggerService->pages;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_Pages extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Delete a page by ID. (pages.delete)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $pageId The ID of the Page.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($blogId, $pageId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets one blog page by ID. (pages.get)
|
||||
*
|
||||
* @param string $blogId ID of the blog containing the page.
|
||||
* @param string $pageId The ID of the page to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string view
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function get($blogId, $pageId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
/**
|
||||
* Add a page. (pages.insert)
|
||||
*
|
||||
* @param string $blogId ID of the blog to add the page to.
|
||||
* @param Google_Service_Blogger_Page $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool isDraft Whether to create the page as a draft (default:
|
||||
* false).
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
/**
|
||||
* Retrieves the pages for a blog, optionally including non-LIVE statuses.
|
||||
* (pages.listPages)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch Pages from.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBodies Whether to retrieve the Page bodies.
|
||||
* @opt_param string maxResults Maximum number of Pages to fetch.
|
||||
* @opt_param string pageToken Continuation token if the request is paged.
|
||||
* @opt_param string status
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require elevated access.
|
||||
* @return Google_Service_Blogger_PageList
|
||||
*/
|
||||
public function listPages($blogId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Blogger_PageList");
|
||||
}
|
||||
/**
|
||||
* Update a page. This method supports patch semantics. (pages.patch)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $pageId The ID of the Page.
|
||||
* @param Google_Service_Blogger_Page $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool publish Whether a publish action should be performed when the
|
||||
* page is updated (default: false).
|
||||
* @opt_param bool revert Whether a revert action should be performed when the
|
||||
* page is updated (default: false).
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
/**
|
||||
* Publishes a draft page. (pages.publish)
|
||||
*
|
||||
* @param string $blogId The ID of the blog.
|
||||
* @param string $pageId The ID of the page.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function publish($blogId, $pageId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('publish', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
/**
|
||||
* Revert a published or scheduled page to draft state. (pages.revert)
|
||||
*
|
||||
* @param string $blogId The ID of the blog.
|
||||
* @param string $pageId The ID of the page.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function revert($blogId, $pageId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('revert', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
/**
|
||||
* Update a page. (pages.update)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $pageId The ID of the Page.
|
||||
* @param Google_Service_Blogger_Page $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool publish Whether a publish action should be performed when the
|
||||
* page is updated (default: false).
|
||||
* @opt_param bool revert Whether a revert action should be performed when the
|
||||
* page is updated (default: false).
|
||||
* @return Google_Service_Blogger_Page
|
||||
*/
|
||||
public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Blogger_Page");
|
||||
}
|
||||
}
|
||||
83
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php
vendored
Normal file
83
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/PostUserInfos.php
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "postUserInfos" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $postUserInfos = $bloggerService->postUserInfos;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_PostUserInfos extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets one post and user info pair, by post ID and user ID. The post user info
|
||||
* contains per-user information about the post, such as access rights, specific
|
||||
* to the user. (postUserInfos.get)
|
||||
*
|
||||
* @param string $userId ID of the user for the per-user information to be
|
||||
* fetched. Either the word 'self' (sans quote marks) or the user's profile
|
||||
* identifier.
|
||||
* @param string $blogId The ID of the blog.
|
||||
* @param string $postId The ID of the post to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string maxComments Maximum number of comments to pull back on a
|
||||
* post.
|
||||
* @return Google_Service_Blogger_PostUserInfo
|
||||
*/
|
||||
public function get($userId, $blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
|
||||
}
|
||||
/**
|
||||
* Retrieves a list of post and post user info pairs, possibly filtered. The
|
||||
* post user info contains per-user information about the post, such as access
|
||||
* rights, specific to the user. (postUserInfos.listPostUserInfos)
|
||||
*
|
||||
* @param string $userId ID of the user for the per-user information to be
|
||||
* fetched. Either the word 'self' (sans quote marks) or the user's profile
|
||||
* identifier.
|
||||
* @param string $blogId ID of the blog to fetch posts from.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string endDate Latest post date to fetch, a date-time with RFC
|
||||
* 3339 formatting.
|
||||
* @opt_param bool fetchBodies Whether the body content of posts is included.
|
||||
* Default is false.
|
||||
* @opt_param string labels Comma-separated list of labels to search for.
|
||||
* @opt_param string maxResults Maximum number of posts to fetch.
|
||||
* @opt_param string orderBy Sort order applied to search results. Default is
|
||||
* published.
|
||||
* @opt_param string pageToken Continuation token if the request is paged.
|
||||
* @opt_param string startDate Earliest post date to fetch, a date-time with RFC
|
||||
* 3339 formatting.
|
||||
* @opt_param string status
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require elevated access.
|
||||
* @return Google_Service_Blogger_PostUserInfosList
|
||||
*/
|
||||
public function listPostUserInfos($userId, $blogId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
|
||||
}
|
||||
}
|
||||
241
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php
vendored
Normal file
241
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Posts.php
vendored
Normal file
@@ -0,0 +1,241 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "posts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $posts = $bloggerService->posts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_Posts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Delete a post by ID. (posts.delete)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Get a post by ID. (posts.get)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch the post from.
|
||||
* @param string $postId The ID of the post
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBody Whether the body content of the post is included
|
||||
* (default: true). This should be set to false when the post bodies are not
|
||||
* required, to help minimize traffic.
|
||||
* @opt_param bool fetchImages Whether image URL metadata for each post is
|
||||
* included (default: false).
|
||||
* @opt_param string maxComments Maximum number of comments to pull back on a
|
||||
* post.
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require elevated access.
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function get($blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Retrieve a Post by Path. (posts.getByPath)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch the post from.
|
||||
* @param string $path Path of the Post to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string maxComments Maximum number of comments to pull back on a
|
||||
* post.
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require elevated access.
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function getByPath($blogId, $path, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'path' => $path);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Add a post. (posts.insert)
|
||||
*
|
||||
* @param string $blogId ID of the blog to add the post to.
|
||||
* @param Google_Service_Blogger_Post $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBody Whether the body content of the post is included
|
||||
* with the result (default: true).
|
||||
* @opt_param bool fetchImages Whether image URL metadata for each post is
|
||||
* included in the returned result (default: false).
|
||||
* @opt_param bool isDraft Whether to create the post as a draft (default:
|
||||
* false).
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Retrieves a list of posts, possibly filtered. (posts.listPosts)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch posts from.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string endDate Latest post date to fetch, a date-time with RFC
|
||||
* 3339 formatting.
|
||||
* @opt_param bool fetchBodies Whether the body content of posts is included
|
||||
* (default: true). This should be set to false when the post bodies are not
|
||||
* required, to help minimize traffic.
|
||||
* @opt_param bool fetchImages Whether image URL metadata for each post is
|
||||
* included.
|
||||
* @opt_param string labels Comma-separated list of labels to search for.
|
||||
* @opt_param string maxResults Maximum number of posts to fetch.
|
||||
* @opt_param string orderBy Sort search results
|
||||
* @opt_param string pageToken Continuation token if the request is paged.
|
||||
* @opt_param string startDate Earliest post date to fetch, a date-time with RFC
|
||||
* 3339 formatting.
|
||||
* @opt_param string status Statuses to include in the results.
|
||||
* @opt_param string view Access level with which to view the returned result.
|
||||
* Note that some fields require escalated access.
|
||||
* @return Google_Service_Blogger_PostList
|
||||
*/
|
||||
public function listPosts($blogId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Blogger_PostList");
|
||||
}
|
||||
/**
|
||||
* Update a post. This method supports patch semantics. (posts.patch)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param Google_Service_Blogger_Post $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBody Whether the body content of the post is included
|
||||
* with the result (default: true).
|
||||
* @opt_param bool fetchImages Whether image URL metadata for each post is
|
||||
* included in the returned result (default: false).
|
||||
* @opt_param string maxComments Maximum number of comments to retrieve with the
|
||||
* returned post.
|
||||
* @opt_param bool publish Whether a publish action should be performed when the
|
||||
* post is updated (default: false).
|
||||
* @opt_param bool revert Whether a revert action should be performed when the
|
||||
* post is updated (default: false).
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Publishes a draft post, optionally at the specific time of the given
|
||||
* publishDate parameter. (posts.publish)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string publishDate Optional date and time to schedule the
|
||||
* publishing of the Blog. If no publishDate parameter is given, the post is
|
||||
* either published at the a previously saved schedule date (if present), or the
|
||||
* current time. If a future date is given, the post will be scheduled to be
|
||||
* published.
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function publish($blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('publish', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Revert a published or scheduled post to draft state. (posts.revert)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function revert($blogId, $postId, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('revert', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
/**
|
||||
* Search for a post. (posts.search)
|
||||
*
|
||||
* @param string $blogId ID of the blog to fetch the post from.
|
||||
* @param string $q Query terms to search this blog for matching posts.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBodies Whether the body content of posts is included
|
||||
* (default: true). This should be set to false when the post bodies are not
|
||||
* required, to help minimize traffic.
|
||||
* @opt_param string orderBy Sort search results
|
||||
* @return Google_Service_Blogger_PostList
|
||||
*/
|
||||
public function search($blogId, $q, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'q' => $q);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('search', array($params), "Google_Service_Blogger_PostList");
|
||||
}
|
||||
/**
|
||||
* Update a post. (posts.update)
|
||||
*
|
||||
* @param string $blogId The ID of the Blog.
|
||||
* @param string $postId The ID of the Post.
|
||||
* @param Google_Service_Blogger_Post $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool fetchBody Whether the body content of the post is included
|
||||
* with the result (default: true).
|
||||
* @opt_param bool fetchImages Whether image URL metadata for each post is
|
||||
* included in the returned result (default: false).
|
||||
* @opt_param string maxComments Maximum number of comments to retrieve with the
|
||||
* returned post.
|
||||
* @opt_param bool publish Whether a publish action should be performed when the
|
||||
* post is updated (default: false).
|
||||
* @opt_param bool revert Whether a revert action should be performed when the
|
||||
* post is updated (default: false).
|
||||
* @return Google_Service_Blogger_Post
|
||||
*/
|
||||
public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Blogger_Post");
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Blogger/Resource/Users.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "users" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $bloggerService = new Google_Service_Blogger(...);
|
||||
* $users = $bloggerService->users;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Blogger_Resource_Users extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets one user by ID. (users.get)
|
||||
*
|
||||
* @param string $userId The ID of the user to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Blogger_User
|
||||
*/
|
||||
public function get($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Blogger_User");
|
||||
}
|
||||
}
|
||||
104
vendor/google/apiclient-services/src/Google/Service/Blogger/User.php
vendored
Normal file
104
vendor/google/apiclient-services/src/Google/Service/Blogger/User.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_User extends Google_Model
|
||||
{
|
||||
public $about;
|
||||
protected $blogsType = 'Google_Service_Blogger_UserBlogs';
|
||||
protected $blogsDataType = '';
|
||||
public $created;
|
||||
public $displayName;
|
||||
public $id;
|
||||
public $kind;
|
||||
protected $localeType = 'Google_Service_Blogger_UserLocale';
|
||||
protected $localeDataType = '';
|
||||
public $selfLink;
|
||||
public $url;
|
||||
|
||||
public function setAbout($about)
|
||||
{
|
||||
$this->about = $about;
|
||||
}
|
||||
public function getAbout()
|
||||
{
|
||||
return $this->about;
|
||||
}
|
||||
public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
|
||||
{
|
||||
$this->blogs = $blogs;
|
||||
}
|
||||
public function getBlogs()
|
||||
{
|
||||
return $this->blogs;
|
||||
}
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLocale(Google_Service_Blogger_UserLocale $locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
}
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Blogger/UserBlogs.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_UserBlogs extends Google_Model
|
||||
{
|
||||
public $selfLink;
|
||||
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Blogger/UserLocale.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Blogger_UserLocale extends Google_Model
|
||||
{
|
||||
public $country;
|
||||
public $language;
|
||||
public $variant;
|
||||
|
||||
public function setCountry($country)
|
||||
{
|
||||
$this->country = $country;
|
||||
}
|
||||
public function getCountry()
|
||||
{
|
||||
return $this->country;
|
||||
}
|
||||
public function setLanguage($language)
|
||||
{
|
||||
$this->language = $language;
|
||||
}
|
||||
public function getLanguage()
|
||||
{
|
||||
return $this->language;
|
||||
}
|
||||
public function setVariant($variant)
|
||||
{
|
||||
$this->variant = $variant;
|
||||
}
|
||||
public function getVariant()
|
||||
{
|
||||
return $this->variant;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user