-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathPlannerPlan.php
73 lines (71 loc) · 2.29 KB
/
PlannerPlan.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
* Modified: 2020-05-26T22:12:31+00:00
*/
namespace Office365\Planner\Plans;
use Office365\Directory\Identities\IdentitySet;
use Office365\Entity;
use Office365\Runtime\ResourcePath;
/**
* The **plannerPlan** resource represents a plan in Office 365. A plan can be owned by a [group](group.md) and contains a collection of [plannerTasks](plannertask.md). It can also have a collection of [plannerBuckets](plannerbucket.md). Each plan object has a [details](plannerplandetails.md) object that can contain more information about the plan. For more information about the relationships between groups, plans, and tasks, see [Planner](planner-overview.md).
*/
class PlannerPlan extends Entity
{
/**
* Read-only. The user who created the plan.
* @return IdentitySet
*/
public function getCreatedBy()
{
return $this->getProperty("CreatedBy", new IdentitySet());
}
/**
* Read-only. The user who created the plan.
* @var IdentitySet
*/
public function setCreatedBy($value)
{
$this->setProperty("CreatedBy", $value, true);
}
/**
* ID of the [Group](group.md) that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.
* @return string
*/
public function getOwner()
{
return $this->getProperty("Owner");
}
/**
* ID of the [Group](group.md) that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.
* @var string
*/
public function setOwner($value)
{
$this->setProperty("Owner", $value, true);
}
/**
* Required. Title of the plan.
* @return string
*/
public function getTitle()
{
return $this->getProperty("Title");
}
/**
* Required. Title of the plan.
* @var string
*/
public function setTitle($value)
{
$this->setProperty("Title", $value, true);
}
/**
* Read-only. Nullable. Additional details about the plan.
* @return PlannerPlanDetails
*/
public function getDetails()
{
return $this->getProperty("Details",
new PlannerPlanDetails($this->getContext(),new ResourcePath("Details", $this->getResourcePath())));
}
}