Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,108 @@
<?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 Action extends \Google\Model
{
protected $actorType = Actor::class;
protected $actorDataType = '';
protected $detailType = ActionDetail::class;
protected $detailDataType = '';
protected $targetType = Target::class;
protected $targetDataType = '';
protected $timeRangeType = TimeRange::class;
protected $timeRangeDataType = '';
/**
* @var string
*/
public $timestamp;
/**
* @param Actor
*/
public function setActor(Actor $actor)
{
$this->actor = $actor;
}
/**
* @return Actor
*/
public function getActor()
{
return $this->actor;
}
/**
* @param ActionDetail
*/
public function setDetail(ActionDetail $detail)
{
$this->detail = $detail;
}
/**
* @return ActionDetail
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param Target
*/
public function setTarget(Target $target)
{
$this->target = $target;
}
/**
* @return Target
*/
public function getTarget()
{
return $this->target;
}
/**
* @param TimeRange
*/
public function setTimeRange(TimeRange $timeRange)
{
$this->timeRange = $timeRange;
}
/**
* @return TimeRange
*/
public function getTimeRange()
{
return $this->timeRange;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Action::class, 'Google_Service_DriveActivity_Action');
@@ -0,0 +1,218 @@
<?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 = '';
/**
* @param AppliedLabelChange
*/
public function setAppliedLabelChange(AppliedLabelChange $appliedLabelChange)
{
$this->appliedLabelChange = $appliedLabelChange;
}
/**
* @return AppliedLabelChange
*/
public function getAppliedLabelChange()
{
return $this->appliedLabelChange;
}
/**
* @param Comment
*/
public function setComment(Comment $comment)
{
$this->comment = $comment;
}
/**
* @return Comment
*/
public function getComment()
{
return $this->comment;
}
/**
* @param Create
*/
public function setCreate(Create $create)
{
$this->create = $create;
}
/**
* @return Create
*/
public function getCreate()
{
return $this->create;
}
/**
* @param Delete
*/
public function setDelete(Delete $delete)
{
$this->delete = $delete;
}
/**
* @return Delete
*/
public function getDelete()
{
return $this->delete;
}
/**
* @param DataLeakPreventionChange
*/
public function setDlpChange(DataLeakPreventionChange $dlpChange)
{
$this->dlpChange = $dlpChange;
}
/**
* @return DataLeakPreventionChange
*/
public function getDlpChange()
{
return $this->dlpChange;
}
/**
* @param Edit
*/
public function setEdit(Edit $edit)
{
$this->edit = $edit;
}
/**
* @return Edit
*/
public function getEdit()
{
return $this->edit;
}
/**
* @param Move
*/
public function setMove(Move $move)
{
$this->move = $move;
}
/**
* @return Move
*/
public function getMove()
{
return $this->move;
}
/**
* @param PermissionChange
*/
public function setPermissionChange(PermissionChange $permissionChange)
{
$this->permissionChange = $permissionChange;
}
/**
* @return PermissionChange
*/
public function getPermissionChange()
{
return $this->permissionChange;
}
/**
* @param ApplicationReference
*/
public function setReference(ApplicationReference $reference)
{
$this->reference = $reference;
}
/**
* @return ApplicationReference
*/
public function getReference()
{
return $this->reference;
}
/**
* @param Rename
*/
public function setRename(Rename $rename)
{
$this->rename = $rename;
}
/**
* @return Rename
*/
public function getRename()
{
return $this->rename;
}
/**
* @param Restore
*/
public function setRestore(Restore $restore)
{
$this->restore = $restore;
}
/**
* @return Restore
*/
public function getRestore()
{
return $this->restore;
}
/**
* @param 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');
@@ -0,0 +1,106 @@
<?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 Actor extends \Google\Model
{
protected $administratorType = Administrator::class;
protected $administratorDataType = '';
protected $anonymousType = AnonymousUser::class;
protected $anonymousDataType = '';
protected $impersonationType = Impersonation::class;
protected $impersonationDataType = '';
protected $systemType = SystemEvent::class;
protected $systemDataType = '';
protected $userType = User::class;
protected $userDataType = '';
/**
* @param Administrator
*/
public function setAdministrator(Administrator $administrator)
{
$this->administrator = $administrator;
}
/**
* @return Administrator
*/
public function getAdministrator()
{
return $this->administrator;
}
/**
* @param AnonymousUser
*/
public function setAnonymous(AnonymousUser $anonymous)
{
$this->anonymous = $anonymous;
}
/**
* @return AnonymousUser
*/
public function getAnonymous()
{
return $this->anonymous;
}
/**
* @param Impersonation
*/
public function setImpersonation(Impersonation $impersonation)
{
$this->impersonation = $impersonation;
}
/**
* @return Impersonation
*/
public function getImpersonation()
{
return $this->impersonation;
}
/**
* @param SystemEvent
*/
public function setSystem(SystemEvent $system)
{
$this->system = $system;
}
/**
* @return SystemEvent
*/
public function getSystem()
{
return $this->system;
}
/**
* @param User
*/
public function setUser(User $user)
{
$this->user = $user;
}
/**
* @return User
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Actor::class, 'Google_Service_DriveActivity_Actor');
@@ -0,0 +1,25 @@
<?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 Administrator extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Administrator::class, 'Google_Service_DriveActivity_Administrator');
@@ -0,0 +1,25 @@
<?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 AnonymousUser extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnonymousUser::class, 'Google_Service_DriveActivity_AnonymousUser');
@@ -0,0 +1,25 @@
<?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 Anyone extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Anyone::class, 'Google_Service_DriveActivity_Anyone');
@@ -0,0 +1,44 @@
<?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 ApplicationReference extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplicationReference::class, 'Google_Service_DriveActivity_ApplicationReference');
@@ -0,0 +1,43 @@
<?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 AppliedLabelChange extends \Google\Collection
{
protected $collection_key = 'changes';
protected $changesType = AppliedLabelChangeDetail::class;
protected $changesDataType = 'array';
/**
* @param AppliedLabelChangeDetail[]
*/
public function setChanges($changes)
{
$this->changes = $changes;
}
/**
* @return AppliedLabelChangeDetail[]
*/
public function getChanges()
{
return $this->changes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppliedLabelChange::class, 'Google_Service_DriveActivity_AppliedLabelChange');
@@ -0,0 +1,97 @@
<?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 AppliedLabelChangeDetail extends \Google\Collection
{
protected $collection_key = 'types';
protected $fieldChangesType = FieldValueChange::class;
protected $fieldChangesDataType = 'array';
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $title;
/**
* @var string[]
*/
public $types;
/**
* @param FieldValueChange[]
*/
public function setFieldChanges($fieldChanges)
{
$this->fieldChanges = $fieldChanges;
}
/**
* @return FieldValueChange[]
*/
public function getFieldChanges()
{
return $this->fieldChanges;
}
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return string[]
*/
public function getTypes()
{
return $this->types;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppliedLabelChangeDetail::class, 'Google_Service_DriveActivity_AppliedLabelChangeDetail');
@@ -0,0 +1,60 @@
<?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 Assignment extends \Google\Model
{
protected $assignedUserType = User::class;
protected $assignedUserDataType = '';
/**
* @var string
*/
public $subtype;
/**
* @param User
*/
public function setAssignedUser(User $assignedUser)
{
$this->assignedUser = $assignedUser;
}
/**
* @return User
*/
public function getAssignedUser()
{
return $this->assignedUser;
}
/**
* @param string
*/
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
/**
* @return string
*/
public function getSubtype()
{
return $this->subtype;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Assignment::class, 'Google_Service_DriveActivity_Assignment');
@@ -0,0 +1,91 @@
<?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 Comment extends \Google\Collection
{
protected $collection_key = 'mentionedUsers';
protected $assignmentType = Assignment::class;
protected $assignmentDataType = '';
protected $mentionedUsersType = User::class;
protected $mentionedUsersDataType = 'array';
protected $postType = Post::class;
protected $postDataType = '';
protected $suggestionType = Suggestion::class;
protected $suggestionDataType = '';
/**
* @param Assignment
*/
public function setAssignment(Assignment $assignment)
{
$this->assignment = $assignment;
}
/**
* @return Assignment
*/
public function getAssignment()
{
return $this->assignment;
}
/**
* @param User[]
*/
public function setMentionedUsers($mentionedUsers)
{
$this->mentionedUsers = $mentionedUsers;
}
/**
* @return User[]
*/
public function getMentionedUsers()
{
return $this->mentionedUsers;
}
/**
* @param Post
*/
public function setPost(Post $post)
{
$this->post = $post;
}
/**
* @return Post
*/
public function getPost()
{
return $this->post;
}
/**
* @param Suggestion
*/
public function setSuggestion(Suggestion $suggestion)
{
$this->suggestion = $suggestion;
}
/**
* @return Suggestion
*/
public function getSuggestion()
{
return $this->suggestion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Comment::class, 'Google_Service_DriveActivity_Comment');
@@ -0,0 +1,58 @@
<?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 ConsolidationStrategy extends \Google\Model
{
protected $legacyType = Legacy::class;
protected $legacyDataType = '';
protected $noneType = NoConsolidation::class;
protected $noneDataType = '';
/**
* @param Legacy
*/
public function setLegacy(Legacy $legacy)
{
$this->legacy = $legacy;
}
/**
* @return Legacy
*/
public function getLegacy()
{
return $this->legacy;
}
/**
* @param NoConsolidation
*/
public function setNone(NoConsolidation $none)
{
$this->none = $none;
}
/**
* @return NoConsolidation
*/
public function getNone()
{
return $this->none;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConsolidationStrategy::class, 'Google_Service_DriveActivity_ConsolidationStrategy');
@@ -0,0 +1,42 @@
<?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 Copy extends \Google\Model
{
protected $originalObjectType = TargetReference::class;
protected $originalObjectDataType = '';
/**
* @param TargetReference
*/
public function setOriginalObject(TargetReference $originalObject)
{
$this->originalObject = $originalObject;
}
/**
* @return TargetReference
*/
public function getOriginalObject()
{
return $this->originalObject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Copy::class, 'Google_Service_DriveActivity_Copy');
@@ -0,0 +1,74 @@
<?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 Create extends \Google\Model
{
protected $copyType = Copy::class;
protected $copyDataType = '';
protected $newType = DriveactivityNew::class;
protected $newDataType = '';
protected $uploadType = Upload::class;
protected $uploadDataType = '';
/**
* @param Copy
*/
public function setCopy(Copy $copy)
{
$this->copy = $copy;
}
/**
* @return Copy
*/
public function getCopy()
{
return $this->copy;
}
/**
* @param DriveactivityNew
*/
public function setNew(DriveactivityNew $new)
{
$this->new = $new;
}
/**
* @return DriveactivityNew
*/
public function getNew()
{
return $this->new;
}
/**
* @param Upload
*/
public function setUpload(Upload $upload)
{
$this->upload = $upload;
}
/**
* @return Upload
*/
public function getUpload()
{
return $this->upload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Create::class, 'Google_Service_DriveActivity_Create');
@@ -0,0 +1,44 @@
<?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 DataLeakPreventionChange extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataLeakPreventionChange::class, 'Google_Service_DriveActivity_DataLeakPreventionChange');
@@ -0,0 +1,44 @@
<?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 Date extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_DriveActivity_Date');
@@ -0,0 +1,44 @@
<?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 Delete extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Delete::class, 'Google_Service_DriveActivity_Delete');
@@ -0,0 +1,25 @@
<?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 DeletedUser extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeletedUser::class, 'Google_Service_DriveActivity_DeletedUser');
@@ -0,0 +1,62 @@
<?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 Domain extends \Google\Model
{
/**
* @var string
*/
public $legacyId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setLegacyId($legacyId)
{
$this->legacyId = $legacyId;
}
/**
* @return string
*/
public function getLegacyId()
{
return $this->legacyId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domain::class, 'Google_Service_DriveActivity_Domain');
@@ -0,0 +1,78 @@
<?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 Drive extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $rootType = DriveItem::class;
protected $rootDataType = '';
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param DriveItem
*/
public function setRoot(DriveItem $root)
{
$this->root = $root;
}
/**
* @return DriveItem
*/
public function getRoot()
{
return $this->root;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Drive::class, 'Google_Service_DriveActivity_Drive');
@@ -0,0 +1,125 @@
<?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 DriveActivity extends \Google\Collection
{
protected $collection_key = 'targets';
protected $actionsType = Action::class;
protected $actionsDataType = 'array';
protected $actorsType = Actor::class;
protected $actorsDataType = 'array';
protected $primaryActionDetailType = ActionDetail::class;
protected $primaryActionDetailDataType = '';
protected $targetsType = Target::class;
protected $targetsDataType = 'array';
protected $timeRangeType = TimeRange::class;
protected $timeRangeDataType = '';
/**
* @var string
*/
public $timestamp;
/**
* @param Action[]
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return Action[]
*/
public function getActions()
{
return $this->actions;
}
/**
* @param Actor[]
*/
public function setActors($actors)
{
$this->actors = $actors;
}
/**
* @return Actor[]
*/
public function getActors()
{
return $this->actors;
}
/**
* @param ActionDetail
*/
public function setPrimaryActionDetail(ActionDetail $primaryActionDetail)
{
$this->primaryActionDetail = $primaryActionDetail;
}
/**
* @return ActionDetail
*/
public function getPrimaryActionDetail()
{
return $this->primaryActionDetail;
}
/**
* @param Target[]
*/
public function setTargets($targets)
{
$this->targets = $targets;
}
/**
* @return Target[]
*/
public function getTargets()
{
return $this->targets;
}
/**
* @param TimeRange
*/
public function setTimeRange(TimeRange $timeRange)
{
$this->timeRange = $timeRange;
}
/**
* @return TimeRange
*/
public function getTimeRange()
{
return $this->timeRange;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveActivity::class, 'Google_Service_DriveActivity_DriveActivity');
@@ -0,0 +1,25 @@
<?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 DriveFile extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveFile::class, 'Google_Service_DriveActivity_DriveFile');
@@ -0,0 +1,44 @@
<?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 DriveFolder extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveFolder::class, 'Google_Service_DriveActivity_DriveFolder');
@@ -0,0 +1,160 @@
<?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 DriveItem extends \Google\Model
{
protected $driveFileType = DriveFile::class;
protected $driveFileDataType = '';
protected $driveFolderType = DriveFolder::class;
protected $driveFolderDataType = '';
protected $fileType = DriveactivityFile::class;
protected $fileDataType = '';
protected $folderType = Folder::class;
protected $folderDataType = '';
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $name;
protected $ownerType = Owner::class;
protected $ownerDataType = '';
/**
* @var string
*/
public $title;
/**
* @param DriveFile
*/
public function setDriveFile(DriveFile $driveFile)
{
$this->driveFile = $driveFile;
}
/**
* @return DriveFile
*/
public function getDriveFile()
{
return $this->driveFile;
}
/**
* @param DriveFolder
*/
public function setDriveFolder(DriveFolder $driveFolder)
{
$this->driveFolder = $driveFolder;
}
/**
* @return DriveFolder
*/
public function getDriveFolder()
{
return $this->driveFolder;
}
/**
* @param DriveactivityFile
*/
public function setFile(DriveactivityFile $file)
{
$this->file = $file;
}
/**
* @return DriveactivityFile
*/
public function getFile()
{
return $this->file;
}
/**
* @param Folder
*/
public function setFolder(Folder $folder)
{
$this->folder = $folder;
}
/**
* @return Folder
*/
public function getFolder()
{
return $this->folder;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Owner
*/
public function setOwner(Owner $owner)
{
$this->owner = $owner;
}
/**
* @return Owner
*/
public function getOwner()
{
return $this->owner;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveItem::class, 'Google_Service_DriveActivity_DriveItem');
@@ -0,0 +1,126 @@
<?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 DriveItemReference extends \Google\Model
{
protected $driveFileType = DriveFile::class;
protected $driveFileDataType = '';
protected $driveFolderType = DriveFolder::class;
protected $driveFolderDataType = '';
protected $fileType = DriveactivityFile::class;
protected $fileDataType = '';
protected $folderType = Folder::class;
protected $folderDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param DriveFile
*/
public function setDriveFile(DriveFile $driveFile)
{
$this->driveFile = $driveFile;
}
/**
* @return DriveFile
*/
public function getDriveFile()
{
return $this->driveFile;
}
/**
* @param DriveFolder
*/
public function setDriveFolder(DriveFolder $driveFolder)
{
$this->driveFolder = $driveFolder;
}
/**
* @return DriveFolder
*/
public function getDriveFolder()
{
return $this->driveFolder;
}
/**
* @param DriveactivityFile
*/
public function setFile(DriveactivityFile $file)
{
$this->file = $file;
}
/**
* @return DriveactivityFile
*/
public function getFile()
{
return $this->file;
}
/**
* @param Folder
*/
public function setFolder(Folder $folder)
{
$this->folder = $folder;
}
/**
* @return Folder
*/
public function getFolder()
{
return $this->folder;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveItemReference::class, 'Google_Service_DriveActivity_DriveItemReference');
@@ -0,0 +1,62 @@
<?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 DriveReference extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveReference::class, 'Google_Service_DriveActivity_DriveReference');
@@ -0,0 +1,25 @@
<?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 DriveactivityFile extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveactivityFile::class, 'Google_Service_DriveActivity_DriveactivityFile');
@@ -0,0 +1,44 @@
<?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 DriveactivityInteger extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveactivityInteger::class, 'Google_Service_DriveActivity_DriveactivityInteger');
@@ -0,0 +1,25 @@
<?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 DriveactivityNew extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DriveactivityNew::class, 'Google_Service_DriveActivity_DriveactivityNew');
@@ -0,0 +1,25 @@
<?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 Edit extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Edit::class, 'Google_Service_DriveActivity_Edit');
@@ -0,0 +1,154 @@
<?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 FieldValue extends \Google\Model
{
protected $dateType = Date::class;
protected $dateDataType = '';
protected $integerType = DriveactivityInteger::class;
protected $integerDataType = '';
protected $selectionType = Selection::class;
protected $selectionDataType = '';
protected $selectionListType = SelectionList::class;
protected $selectionListDataType = '';
protected $textType = Text::class;
protected $textDataType = '';
protected $textListType = TextList::class;
protected $textListDataType = '';
protected $userType = SingleUser::class;
protected $userDataType = '';
protected $userListType = UserList::class;
protected $userListDataType = '';
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param DriveactivityInteger
*/
public function setInteger(DriveactivityInteger $integer)
{
$this->integer = $integer;
}
/**
* @return DriveactivityInteger
*/
public function getInteger()
{
return $this->integer;
}
/**
* @param Selection
*/
public function setSelection(Selection $selection)
{
$this->selection = $selection;
}
/**
* @return Selection
*/
public function getSelection()
{
return $this->selection;
}
/**
* @param SelectionList
*/
public function setSelectionList(SelectionList $selectionList)
{
$this->selectionList = $selectionList;
}
/**
* @return SelectionList
*/
public function getSelectionList()
{
return $this->selectionList;
}
/**
* @param Text
*/
public function setText(Text $text)
{
$this->text = $text;
}
/**
* @return Text
*/
public function getText()
{
return $this->text;
}
/**
* @param TextList
*/
public function setTextList(TextList $textList)
{
$this->textList = $textList;
}
/**
* @return TextList
*/
public function getTextList()
{
return $this->textList;
}
/**
* @param SingleUser
*/
public function setUser(SingleUser $user)
{
$this->user = $user;
}
/**
* @return SingleUser
*/
public function getUser()
{
return $this->user;
}
/**
* @param UserList
*/
public function setUserList(UserList $userList)
{
$this->userList = $userList;
}
/**
* @return UserList
*/
public function getUserList()
{
return $this->userList;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldValue::class, 'Google_Service_DriveActivity_FieldValue');
@@ -0,0 +1,94 @@
<?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 FieldValueChange extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $fieldId;
protected $newValueType = FieldValue::class;
protected $newValueDataType = '';
protected $oldValueType = FieldValue::class;
protected $oldValueDataType = '';
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setFieldId($fieldId)
{
$this->fieldId = $fieldId;
}
/**
* @return string
*/
public function getFieldId()
{
return $this->fieldId;
}
/**
* @param FieldValue
*/
public function setNewValue(FieldValue $newValue)
{
$this->newValue = $newValue;
}
/**
* @return FieldValue
*/
public function getNewValue()
{
return $this->newValue;
}
/**
* @param FieldValue
*/
public function setOldValue(FieldValue $oldValue)
{
$this->oldValue = $oldValue;
}
/**
* @return FieldValue
*/
public function getOldValue()
{
return $this->oldValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldValueChange::class, 'Google_Service_DriveActivity_FieldValueChange');
@@ -0,0 +1,96 @@
<?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 FileComment extends \Google\Model
{
/**
* @var string
*/
public $legacyCommentId;
/**
* @var string
*/
public $legacyDiscussionId;
/**
* @var string
*/
public $linkToDiscussion;
protected $parentType = DriveItem::class;
protected $parentDataType = '';
/**
* @param string
*/
public function setLegacyCommentId($legacyCommentId)
{
$this->legacyCommentId = $legacyCommentId;
}
/**
* @return string
*/
public function getLegacyCommentId()
{
return $this->legacyCommentId;
}
/**
* @param string
*/
public function setLegacyDiscussionId($legacyDiscussionId)
{
$this->legacyDiscussionId = $legacyDiscussionId;
}
/**
* @return string
*/
public function getLegacyDiscussionId()
{
return $this->legacyDiscussionId;
}
/**
* @param string
*/
public function setLinkToDiscussion($linkToDiscussion)
{
$this->linkToDiscussion = $linkToDiscussion;
}
/**
* @return string
*/
public function getLinkToDiscussion()
{
return $this->linkToDiscussion;
}
/**
* @param DriveItem
*/
public function setParent(DriveItem $parent)
{
$this->parent = $parent;
}
/**
* @return DriveItem
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileComment::class, 'Google_Service_DriveActivity_FileComment');
@@ -0,0 +1,44 @@
<?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 Folder extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Folder::class, 'Google_Service_DriveActivity_Folder');
@@ -0,0 +1,62 @@
<?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 Group extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Group::class, 'Google_Service_DriveActivity_Group');
@@ -0,0 +1,42 @@
<?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 Impersonation extends \Google\Model
{
protected $impersonatedUserType = User::class;
protected $impersonatedUserDataType = '';
/**
* @param User
*/
public function setImpersonatedUser(User $impersonatedUser)
{
$this->impersonatedUser = $impersonatedUser;
}
/**
* @return User
*/
public function getImpersonatedUser()
{
return $this->impersonatedUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Impersonation::class, 'Google_Service_DriveActivity_Impersonation');
@@ -0,0 +1,62 @@
<?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 KnownUser extends \Google\Model
{
/**
* @var bool
*/
public $isCurrentUser;
/**
* @var string
*/
public $personName;
/**
* @param bool
*/
public function setIsCurrentUser($isCurrentUser)
{
$this->isCurrentUser = $isCurrentUser;
}
/**
* @return bool
*/
public function getIsCurrentUser()
{
return $this->isCurrentUser;
}
/**
* @param string
*/
public function setPersonName($personName)
{
$this->personName = $personName;
}
/**
* @return string
*/
public function getPersonName()
{
return $this->personName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KnownUser::class, 'Google_Service_DriveActivity_KnownUser');
@@ -0,0 +1,25 @@
<?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 Legacy extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Legacy::class, 'Google_Service_DriveActivity_Legacy');
@@ -0,0 +1,59 @@
<?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 Move extends \Google\Collection
{
protected $collection_key = 'removedParents';
protected $addedParentsType = TargetReference::class;
protected $addedParentsDataType = 'array';
protected $removedParentsType = TargetReference::class;
protected $removedParentsDataType = 'array';
/**
* @param TargetReference[]
*/
public function setAddedParents($addedParents)
{
$this->addedParents = $addedParents;
}
/**
* @return TargetReference[]
*/
public function getAddedParents()
{
return $this->addedParents;
}
/**
* @param TargetReference[]
*/
public function setRemovedParents($removedParents)
{
$this->removedParents = $removedParents;
}
/**
* @return TargetReference[]
*/
public function getRemovedParents()
{
return $this->removedParents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Move::class, 'Google_Service_DriveActivity_Move');
@@ -0,0 +1,25 @@
<?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 NoConsolidation extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NoConsolidation::class, 'Google_Service_DriveActivity_NoConsolidation');
@@ -0,0 +1,90 @@
<?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 Owner extends \Google\Model
{
protected $domainType = Domain::class;
protected $domainDataType = '';
protected $driveType = DriveReference::class;
protected $driveDataType = '';
protected $teamDriveType = TeamDriveReference::class;
protected $teamDriveDataType = '';
protected $userType = User::class;
protected $userDataType = '';
/**
* @param Domain
*/
public function setDomain(Domain $domain)
{
$this->domain = $domain;
}
/**
* @return Domain
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param DriveReference
*/
public function setDrive(DriveReference $drive)
{
$this->drive = $drive;
}
/**
* @return DriveReference
*/
public function getDrive()
{
return $this->drive;
}
/**
* @param TeamDriveReference
*/
public function setTeamDrive(TeamDriveReference $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return TeamDriveReference
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
/**
* @param User
*/
public function setUser(User $user)
{
$this->user = $user;
}
/**
* @return User
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Owner::class, 'Google_Service_DriveActivity_Owner');
@@ -0,0 +1,126 @@
<?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 Permission extends \Google\Model
{
/**
* @var bool
*/
public $allowDiscovery;
protected $anyoneType = Anyone::class;
protected $anyoneDataType = '';
protected $domainType = Domain::class;
protected $domainDataType = '';
protected $groupType = Group::class;
protected $groupDataType = '';
/**
* @var string
*/
public $role;
protected $userType = User::class;
protected $userDataType = '';
/**
* @param bool
*/
public function setAllowDiscovery($allowDiscovery)
{
$this->allowDiscovery = $allowDiscovery;
}
/**
* @return bool
*/
public function getAllowDiscovery()
{
return $this->allowDiscovery;
}
/**
* @param Anyone
*/
public function setAnyone(Anyone $anyone)
{
$this->anyone = $anyone;
}
/**
* @return Anyone
*/
public function getAnyone()
{
return $this->anyone;
}
/**
* @param Domain
*/
public function setDomain(Domain $domain)
{
$this->domain = $domain;
}
/**
* @return Domain
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param Group
*/
public function setGroup(Group $group)
{
$this->group = $group;
}
/**
* @return Group
*/
public function getGroup()
{
return $this->group;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* @param User
*/
public function setUser(User $user)
{
$this->user = $user;
}
/**
* @return User
*/
public function getUser()
{
return $this->user;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Permission::class, 'Google_Service_DriveActivity_Permission');
@@ -0,0 +1,59 @@
<?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 PermissionChange extends \Google\Collection
{
protected $collection_key = 'removedPermissions';
protected $addedPermissionsType = Permission::class;
protected $addedPermissionsDataType = 'array';
protected $removedPermissionsType = Permission::class;
protected $removedPermissionsDataType = 'array';
/**
* @param Permission[]
*/
public function setAddedPermissions($addedPermissions)
{
$this->addedPermissions = $addedPermissions;
}
/**
* @return Permission[]
*/
public function getAddedPermissions()
{
return $this->addedPermissions;
}
/**
* @param Permission[]
*/
public function setRemovedPermissions($removedPermissions)
{
$this->removedPermissions = $removedPermissions;
}
/**
* @return Permission[]
*/
public function getRemovedPermissions()
{
return $this->removedPermissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PermissionChange::class, 'Google_Service_DriveActivity_PermissionChange');
@@ -0,0 +1,44 @@
<?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 Post extends \Google\Model
{
/**
* @var string
*/
public $subtype;
/**
* @param string
*/
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
/**
* @return string
*/
public function getSubtype()
{
return $this->subtype;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Post::class, 'Google_Service_DriveActivity_Post');
@@ -0,0 +1,132 @@
<?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 QueryDriveActivityRequest extends \Google\Model
{
/**
* @var string
*/
public $ancestorName;
protected $consolidationStrategyType = ConsolidationStrategy::class;
protected $consolidationStrategyDataType = '';
/**
* @var string
*/
public $filter;
/**
* @var string
*/
public $itemName;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @param string
*/
public function setAncestorName($ancestorName)
{
$this->ancestorName = $ancestorName;
}
/**
* @return string
*/
public function getAncestorName()
{
return $this->ancestorName;
}
/**
* @param ConsolidationStrategy
*/
public function setConsolidationStrategy(ConsolidationStrategy $consolidationStrategy)
{
$this->consolidationStrategy = $consolidationStrategy;
}
/**
* @return ConsolidationStrategy
*/
public function getConsolidationStrategy()
{
return $this->consolidationStrategy;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string
*/
public function setItemName($itemName)
{
$this->itemName = $itemName;
}
/**
* @return string
*/
public function getItemName()
{
return $this->itemName;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryDriveActivityRequest::class, 'Google_Service_DriveActivity_QueryDriveActivityRequest');
@@ -0,0 +1,61 @@
<?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 QueryDriveActivityResponse extends \Google\Collection
{
protected $collection_key = 'activities';
protected $activitiesType = DriveActivity::class;
protected $activitiesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DriveActivity[]
*/
public function setActivities($activities)
{
$this->activities = $activities;
}
/**
* @return DriveActivity[]
*/
public function getActivities()
{
return $this->activities;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryDriveActivityResponse::class, 'Google_Service_DriveActivity_QueryDriveActivityResponse');
@@ -0,0 +1,62 @@
<?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 Rename extends \Google\Model
{
/**
* @var string
*/
public $newTitle;
/**
* @var string
*/
public $oldTitle;
/**
* @param string
*/
public function setNewTitle($newTitle)
{
$this->newTitle = $newTitle;
}
/**
* @return string
*/
public function getNewTitle()
{
return $this->newTitle;
}
/**
* @param string
*/
public function setOldTitle($oldTitle)
{
$this->oldTitle = $oldTitle;
}
/**
* @return string
*/
public function getOldTitle()
{
return $this->oldTitle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Rename::class, 'Google_Service_DriveActivity_Rename');
@@ -0,0 +1,50 @@
<?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\Resource;
use Google\Service\DriveActivity\QueryDriveActivityRequest;
use Google\Service\DriveActivity\QueryDriveActivityResponse;
/**
* The "activity" collection of methods.
* Typical usage is:
* <code>
* $driveactivityService = new Google\Service\DriveActivity(...);
* $activity = $driveactivityService->activity;
* </code>
*/
class Activity extends \Google\Service\Resource
{
/**
* Query past activity in Google Drive. (activity.query)
*
* @param QueryDriveActivityRequest $postBody
* @param array $optParams Optional parameters.
* @return QueryDriveActivityResponse
* @throws \Google\Service\Exception
*/
public function query(QueryDriveActivityRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], QueryDriveActivityResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Activity::class, 'Google_Service_DriveActivity_Resource_Activity');
@@ -0,0 +1,44 @@
<?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 Restore extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Restore::class, 'Google_Service_DriveActivity_Restore');
@@ -0,0 +1,62 @@
<?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 RestrictionChange extends \Google\Model
{
/**
* @var string
*/
public $feature;
/**
* @var string
*/
public $newRestriction;
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param string
*/
public function setNewRestriction($newRestriction)
{
$this->newRestriction = $newRestriction;
}
/**
* @return string
*/
public function getNewRestriction()
{
return $this->newRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestrictionChange::class, 'Google_Service_DriveActivity_RestrictionChange');
@@ -0,0 +1,62 @@
<?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 Selection extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Selection::class, 'Google_Service_DriveActivity_Selection');
@@ -0,0 +1,43 @@
<?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 SelectionList extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = Selection::class;
protected $valuesDataType = 'array';
/**
* @param Selection[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Selection[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SelectionList::class, 'Google_Service_DriveActivity_SelectionList');
@@ -0,0 +1,43 @@
<?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 SettingsChange extends \Google\Collection
{
protected $collection_key = 'restrictionChanges';
protected $restrictionChangesType = RestrictionChange::class;
protected $restrictionChangesDataType = 'array';
/**
* @param RestrictionChange[]
*/
public function setRestrictionChanges($restrictionChanges)
{
$this->restrictionChanges = $restrictionChanges;
}
/**
* @return RestrictionChange[]
*/
public function getRestrictionChanges()
{
return $this->restrictionChanges;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SettingsChange::class, 'Google_Service_DriveActivity_SettingsChange');
@@ -0,0 +1,44 @@
<?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 SingleUser extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SingleUser::class, 'Google_Service_DriveActivity_SingleUser');
@@ -0,0 +1,44 @@
<?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 Suggestion extends \Google\Model
{
/**
* @var string
*/
public $subtype;
/**
* @param string
*/
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
/**
* @return string
*/
public function getSubtype()
{
return $this->subtype;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Suggestion::class, 'Google_Service_DriveActivity_Suggestion');
@@ -0,0 +1,44 @@
<?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 SystemEvent extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SystemEvent::class, 'Google_Service_DriveActivity_SystemEvent');
@@ -0,0 +1,90 @@
<?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 Target extends \Google\Model
{
protected $driveType = Drive::class;
protected $driveDataType = '';
protected $driveItemType = DriveItem::class;
protected $driveItemDataType = '';
protected $fileCommentType = FileComment::class;
protected $fileCommentDataType = '';
protected $teamDriveType = TeamDrive::class;
protected $teamDriveDataType = '';
/**
* @param Drive
*/
public function setDrive(Drive $drive)
{
$this->drive = $drive;
}
/**
* @return Drive
*/
public function getDrive()
{
return $this->drive;
}
/**
* @param DriveItem
*/
public function setDriveItem(DriveItem $driveItem)
{
$this->driveItem = $driveItem;
}
/**
* @return DriveItem
*/
public function getDriveItem()
{
return $this->driveItem;
}
/**
* @param FileComment
*/
public function setFileComment(FileComment $fileComment)
{
$this->fileComment = $fileComment;
}
/**
* @return FileComment
*/
public function getFileComment()
{
return $this->fileComment;
}
/**
* @param TeamDrive
*/
public function setTeamDrive(TeamDrive $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return TeamDrive
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Target::class, 'Google_Service_DriveActivity_Target');
@@ -0,0 +1,74 @@
<?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 TargetReference extends \Google\Model
{
protected $driveType = DriveReference::class;
protected $driveDataType = '';
protected $driveItemType = DriveItemReference::class;
protected $driveItemDataType = '';
protected $teamDriveType = TeamDriveReference::class;
protected $teamDriveDataType = '';
/**
* @param DriveReference
*/
public function setDrive(DriveReference $drive)
{
$this->drive = $drive;
}
/**
* @return DriveReference
*/
public function getDrive()
{
return $this->drive;
}
/**
* @param DriveItemReference
*/
public function setDriveItem(DriveItemReference $driveItem)
{
$this->driveItem = $driveItem;
}
/**
* @return DriveItemReference
*/
public function getDriveItem()
{
return $this->driveItem;
}
/**
* @param TeamDriveReference
*/
public function setTeamDrive(TeamDriveReference $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return TeamDriveReference
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetReference::class, 'Google_Service_DriveActivity_TargetReference');
@@ -0,0 +1,78 @@
<?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 TeamDrive extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $rootType = DriveItem::class;
protected $rootDataType = '';
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param DriveItem
*/
public function setRoot(DriveItem $root)
{
$this->root = $root;
}
/**
* @return DriveItem
*/
public function getRoot()
{
return $this->root;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TeamDrive::class, 'Google_Service_DriveActivity_TeamDrive');
@@ -0,0 +1,62 @@
<?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 TeamDriveReference extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TeamDriveReference::class, 'Google_Service_DriveActivity_TeamDriveReference');
@@ -0,0 +1,44 @@
<?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 Text extends \Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Text::class, 'Google_Service_DriveActivity_Text');
@@ -0,0 +1,43 @@
<?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 TextList extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = Text::class;
protected $valuesDataType = 'array';
/**
* @param Text[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Text[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TextList::class, 'Google_Service_DriveActivity_TextList');
@@ -0,0 +1,62 @@
<?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 TimeRange extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeRange::class, 'Google_Service_DriveActivity_TimeRange');
@@ -0,0 +1,25 @@
<?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 UnknownUser extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UnknownUser::class, 'Google_Service_DriveActivity_UnknownUser');
@@ -0,0 +1,25 @@
<?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 Upload extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Upload::class, 'Google_Service_DriveActivity_Upload');
@@ -0,0 +1,74 @@
<?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 User extends \Google\Model
{
protected $deletedUserType = DeletedUser::class;
protected $deletedUserDataType = '';
protected $knownUserType = KnownUser::class;
protected $knownUserDataType = '';
protected $unknownUserType = UnknownUser::class;
protected $unknownUserDataType = '';
/**
* @param DeletedUser
*/
public function setDeletedUser(DeletedUser $deletedUser)
{
$this->deletedUser = $deletedUser;
}
/**
* @return DeletedUser
*/
public function getDeletedUser()
{
return $this->deletedUser;
}
/**
* @param KnownUser
*/
public function setKnownUser(KnownUser $knownUser)
{
$this->knownUser = $knownUser;
}
/**
* @return KnownUser
*/
public function getKnownUser()
{
return $this->knownUser;
}
/**
* @param UnknownUser
*/
public function setUnknownUser(UnknownUser $unknownUser)
{
$this->unknownUser = $unknownUser;
}
/**
* @return UnknownUser
*/
public function getUnknownUser()
{
return $this->unknownUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(User::class, 'Google_Service_DriveActivity_User');
@@ -0,0 +1,43 @@
<?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 UserList extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = SingleUser::class;
protected $valuesDataType = 'array';
/**
* @param SingleUser[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return SingleUser[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserList::class, 'Google_Service_DriveActivity_UserList');