_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Name of the bucket. * * @param string $val The name * * @return PlannerBucket */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the orderHint * Hint used to order items of this type in a list view. For details about the supported format, see Using order hints in Planner. * * @return string|null The orderHint */ public function getOrderHint() { if (array_key_exists("orderHint", $this->_propDict)) { return $this->_propDict["orderHint"]; } else { return null; } } /** * Sets the orderHint * Hint used to order items of this type in a list view. For details about the supported format, see Using order hints in Planner. * * @param string $val The orderHint * * @return PlannerBucket */ public function setOrderHint($val) { $this->_propDict["orderHint"] = $val; return $this; } /** * Gets the planId * Plan ID to which the bucket belongs. * * @return string|null The planId */ public function getPlanId() { if (array_key_exists("planId", $this->_propDict)) { return $this->_propDict["planId"]; } else { return null; } } /** * Sets the planId * Plan ID to which the bucket belongs. * * @param string $val The planId * * @return PlannerBucket */ public function setPlanId($val) { $this->_propDict["planId"] = $val; return $this; } /** * Gets the tasks * Read-only. Nullable. The collection of tasks in the bucket. * * @return array|null The tasks */ public function getTasks() { if (array_key_exists("tasks", $this->_propDict)) { return $this->_propDict["tasks"]; } else { return null; } } /** * Sets the tasks * Read-only. Nullable. The collection of tasks in the bucket. * * @param PlannerTask[] $val The tasks * * @return PlannerBucket */ public function setTasks($val) { $this->_propDict["tasks"] = $val; return $this; } }