135 lines
3.7 KiB
PHP
135 lines
3.7 KiB
PHP
|
|
<?php
|
|||
|
|
/*
|
|||
|
|
* Copyright 2014 Google Inc.
|
|||
|
|
*
|
|||
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|||
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|||
|
|
* the License at
|
|||
|
|
*
|
|||
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|||
|
|
*
|
|||
|
|
* Unless required by applicable law or agreed to in writing, software
|
|||
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|||
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|||
|
|
* License for the specific language governing permissions and limitations under
|
|||
|
|
* the License.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
namespace Google\Service\Docs;
|
|||
|
|
|
|||
|
|
class InlineObject extends \Google\Collection
|
|||
|
|
{
|
|||
|
|
protected $collection_key = 'suggestedDeletionIds';
|
|||
|
|
protected $inlineObjectPropertiesType = InlineObjectProperties::class;
|
|||
|
|
protected $inlineObjectPropertiesDataType = '';
|
|||
|
|
/**
|
|||
|
|
* The ID of this inline object. Can be used to update an object’s properties.
|
|||
|
|
*
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $objectId;
|
|||
|
|
/**
|
|||
|
|
* The suggested deletion IDs. If empty, then there are no suggested deletions
|
|||
|
|
* of this content.
|
|||
|
|
*
|
|||
|
|
* @var string[]
|
|||
|
|
*/
|
|||
|
|
public $suggestedDeletionIds;
|
|||
|
|
protected $suggestedInlineObjectPropertiesChangesType = SuggestedInlineObjectProperties::class;
|
|||
|
|
protected $suggestedInlineObjectPropertiesChangesDataType = 'map';
|
|||
|
|
/**
|
|||
|
|
* The suggested insertion ID. If empty, then this is not a suggested
|
|||
|
|
* insertion.
|
|||
|
|
*
|
|||
|
|
* @var string
|
|||
|
|
*/
|
|||
|
|
public $suggestedInsertionId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The properties of this inline object.
|
|||
|
|
*
|
|||
|
|
* @param InlineObjectProperties $inlineObjectProperties
|
|||
|
|
*/
|
|||
|
|
public function setInlineObjectProperties(InlineObjectProperties $inlineObjectProperties)
|
|||
|
|
{
|
|||
|
|
$this->inlineObjectProperties = $inlineObjectProperties;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* @return InlineObjectProperties
|
|||
|
|
*/
|
|||
|
|
public function getInlineObjectProperties()
|
|||
|
|
{
|
|||
|
|
return $this->inlineObjectProperties;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* The ID of this inline object. Can be used to update an object’s properties.
|
|||
|
|
*
|
|||
|
|
* @param string $objectId
|
|||
|
|
*/
|
|||
|
|
public function setObjectId($objectId)
|
|||
|
|
{
|
|||
|
|
$this->objectId = $objectId;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* @return string
|
|||
|
|
*/
|
|||
|
|
public function getObjectId()
|
|||
|
|
{
|
|||
|
|
return $this->objectId;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* The suggested deletion IDs. If empty, then there are no suggested deletions
|
|||
|
|
* of this content.
|
|||
|
|
*
|
|||
|
|
* @param string[] $suggestedDeletionIds
|
|||
|
|
*/
|
|||
|
|
public function setSuggestedDeletionIds($suggestedDeletionIds)
|
|||
|
|
{
|
|||
|
|
$this->suggestedDeletionIds = $suggestedDeletionIds;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* @return string[]
|
|||
|
|
*/
|
|||
|
|
public function getSuggestedDeletionIds()
|
|||
|
|
{
|
|||
|
|
return $this->suggestedDeletionIds;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* The suggested changes to the inline object properties, keyed by suggestion
|
|||
|
|
* ID.
|
|||
|
|
*
|
|||
|
|
* @param SuggestedInlineObjectProperties[] $suggestedInlineObjectPropertiesChanges
|
|||
|
|
*/
|
|||
|
|
public function setSuggestedInlineObjectPropertiesChanges($suggestedInlineObjectPropertiesChanges)
|
|||
|
|
{
|
|||
|
|
$this->suggestedInlineObjectPropertiesChanges = $suggestedInlineObjectPropertiesChanges;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* @return SuggestedInlineObjectProperties[]
|
|||
|
|
*/
|
|||
|
|
public function getSuggestedInlineObjectPropertiesChanges()
|
|||
|
|
{
|
|||
|
|
return $this->suggestedInlineObjectPropertiesChanges;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* The suggested insertion ID. If empty, then this is not a suggested
|
|||
|
|
* insertion.
|
|||
|
|
*
|
|||
|
|
* @param string $suggestedInsertionId
|
|||
|
|
*/
|
|||
|
|
public function setSuggestedInsertionId($suggestedInsertionId)
|
|||
|
|
{
|
|||
|
|
$this->suggestedInsertionId = $suggestedInsertionId;
|
|||
|
|
}
|
|||
|
|
/**
|
|||
|
|
* @return string
|
|||
|
|
*/
|
|||
|
|
public function getSuggestedInsertionId()
|
|||
|
|
{
|
|||
|
|
return $this->suggestedInsertionId;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|||
|
|
class_alias(InlineObject::class, 'Google_Service_Docs_InlineObject');
|