_propDict)) { return $this->_propDict["sortBy"]; } else { return null; } } /** * Sets the sortBy * The method by which the folder should be sorted. * * @param string $val The value of the sortBy * * @return FolderView */ public function setSortBy($val) { $this->_propDict["sortBy"] = $val; return $this; } /** * Gets the sortOrder * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. * * @return string|null The sortOrder */ public function getSortOrder() { if (array_key_exists("sortOrder", $this->_propDict)) { return $this->_propDict["sortOrder"]; } else { return null; } } /** * Sets the sortOrder * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. * * @param string $val The value of the sortOrder * * @return FolderView */ public function setSortOrder($val) { $this->_propDict["sortOrder"] = $val; return $this; } /** * Gets the viewType * The type of view that should be used to represent the folder. * * @return string|null The viewType */ public function getViewType() { if (array_key_exists("viewType", $this->_propDict)) { return $this->_propDict["viewType"]; } else { return null; } } /** * Sets the viewType * The type of view that should be used to represent the folder. * * @param string $val The value of the viewType * * @return FolderView */ public function setViewType($val) { $this->_propDict["viewType"] = $val; return $this; } }