📄 Source: ActionDetail.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\DriveActivity;
class ActionDetail extends \Google\Model
{
protected $appliedLabelChangeType = AppliedLabelChange::class;
protected $appliedLabelChangeDataType = '';
protected $commentType = Comment::class;
protected $commentDataType = '';
protected $createType = Create::class;
protected $createDataType = '';
protected $deleteType = Delete::class;
protected $deleteDataType = '';
protected $dlpChangeType = DataLeakPreventionChange::class;
protected $dlpChangeDataType = '';
protected $editType = Edit::class;
protected $editDataType = '';
protected $moveType = Move::class;
protected $moveDataType = '';
protected $permissionChangeType = PermissionChange::class;
protected $permissionChangeDataType = '';
protected $referenceType = ApplicationReference::class;
protected $referenceDataType = '';
protected $renameType = Rename::class;
protected $renameDataType = '';
protected $restoreType = Restore::class;
protected $restoreDataType = '';
protected $settingsChangeType = SettingsChange::class;
protected $settingsChangeDataType = '';
/**
* Label was changed.
*
* @param AppliedLabelChange $appliedLabelChange
*/
public function setAppliedLabelChange(AppliedLabelChange $appliedLabelChange)
{
$this->appliedLabelChange = $appliedLabelChange;
}
/**
* @return AppliedLabelChange
*/
public function getAppliedLabelChange()
{
return $this->appliedLabelChange;
}
/**
* A change about comments was made.
*
* @param Comment $comment
*/
public function setComment(Comment $comment)
{
$this->comment = $comment;
}
/**
* @return Comment
*/
public function getComment()
{
return $this->comment;
}
/**
* An object was created.
*
* @param Create $create
*/
public function setCreate(Create $create)
{
$this->create = $create;
}
/**
* @return Create
*/
public function getCreate()
{
return $this->create;
}
/**
* An object was deleted.
*
* @param Delete $delete
*/
public function setDelete(Delete $delete)
{
$this->delete = $delete;
}
/**
* @return Delete
*/
public function getDelete()
{
return $this->delete;
}
/**
* A change happened in data leak prevention status.
*
* @param DataLeakPreventionChange $dlpChange
*/
public function setDlpChange(DataLeakPreventionChange $dlpChange)
{
$this->dlpChange = $dlpChange;
}
/**
* @return DataLeakPreventionChange
*/
public function getDlpChange()
{
return $this->dlpChange;
}
/**
* An object was edited.
*
* @param Edit $edit
*/
public function setEdit(Edit $edit)
{
$this->edit = $edit;
}
/**
* @return Edit
*/
public function getEdit()
{
return $this->edit;
}
/**
* An object was moved.
*
* @param Move $move
*/
public function setMove(Move $move)
{
$this->move = $move;
}
/**
* @return Move
*/
public function getMove()
{
return $this->move;
}
/**
* The permission on an object was changed.
*
* @param PermissionChange $permissionChange
*/
public function setPermissionChange(PermissionChange $permissionChange)
{
$this->permissionChange = $permissionChange;
}
/**
* @return PermissionChange
*/
public function getPermissionChange()
{
return $this->permissionChange;
}
/**
* An object was referenced in an application outside of Drive/Docs.
*
* @param ApplicationReference $reference
*/
public function setReference(ApplicationReference $reference)
{
$this->reference = $reference;
}
/**
* @return ApplicationReference
*/
public function getReference()
{
return $this->reference;
}
/**
* An object was renamed.
*
* @param Rename $rename
*/
public function setRename(Rename $rename)
{
$this->rename = $rename;
}
/**
* @return Rename
*/
public function getRename()
{
return $this->rename;
}
/**
* A deleted object was restored.
*
* @param Restore $restore
*/
public function setRestore(Restore $restore)
{
$this->restore = $restore;
}
/**
* @return Restore
*/
public function getRestore()
{
return $this->restore;
}
/**
* Settings were changed.
*
* @param SettingsChange $settingsChange
*/
public function setSettingsChange(SettingsChange $settingsChange)
{
$this->settingsChange = $settingsChange;
}
/**
* @return SettingsChange
*/
public function getSettingsChange()
{
return $this->settingsChange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActionDetail::class, 'Google_Service_DriveActivity_ActionDetail');
← Back