|
| 1 | +<?php |
| 2 | + |
| 3 | +/* |
| 4 | + * -------------------------------------------------------------------------------------------------------------------- |
| 5 | + * <copyright company="Aspose" file="PostTaskRequests.php"> |
| 6 | + * Copyright (c) 2020 Aspose.Tasks Cloud |
| 7 | + * </copyright> |
| 8 | + * <summary> |
| 9 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 10 | + * of this software and associated documentation files (the "Software"), to deal |
| 11 | + * in the Software without restriction, including without limitation the rights |
| 12 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 13 | + * copies of the Software, and to permit persons to whom the Software is |
| 14 | + * furnished to do so, subject to the following conditions: |
| 15 | + * |
| 16 | + * The above copyright notice and this permission notice shall be included in all |
| 17 | + * copies or substantial portions of the Software. |
| 18 | + * |
| 19 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 20 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 22 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 23 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 24 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 25 | + * SOFTWARE. |
| 26 | + * </summary> |
| 27 | + * -------------------------------------------------------------------------------------------------------------------- |
| 28 | + */ |
| 29 | +namespace Aspose\Tasks\Model\Requests; |
| 30 | + |
| 31 | +/* |
| 32 | + * Request model for postTasks" operation. |
| 33 | + */ |
| 34 | +class PostTasksRequest |
| 35 | +{ |
| 36 | + /* |
| 37 | + * Initializes a new instance of the PostTasksRequest class. |
| 38 | + * |
| 39 | + * @param string $name The name of the file. |
| 40 | + * @param string $requests Requests to create tasks |
| 41 | + * @param string $file_name The name of the project document to save changes to. If this parameter is omitted then the changes will be saved to the source project document. |
| 42 | + * @param string $storage The document storage. |
| 43 | + * @param string $folder The document folder. |
| 44 | + */ |
| 45 | + public function __construct($name, $requests, $file_name = null, $storage = null, $folder = null) |
| 46 | + { |
| 47 | + $this->name = $name; |
| 48 | + $this->requests = $requests; |
| 49 | + $this->file_name = $file_name; |
| 50 | + $this->storage = $storage; |
| 51 | + $this->folder = $folder; |
| 52 | + } |
| 53 | + |
| 54 | + /* |
| 55 | + * The name of the file. |
| 56 | + */ |
| 57 | + public $name; |
| 58 | + |
| 59 | + /* |
| 60 | + * Requests to create tasks. |
| 61 | + */ |
| 62 | + public $requests; |
| 63 | + |
| 64 | + /* |
| 65 | + * The name of the project document to save changes to. |
| 66 | + * If this parameter is omitted then the changes will be saved to the source project document. |
| 67 | + */ |
| 68 | + public $file_name; |
| 69 | + |
| 70 | + /* |
| 71 | + * The document storage. |
| 72 | + */ |
| 73 | + public $storage; |
| 74 | + |
| 75 | + /* |
| 76 | + * The document folder. |
| 77 | + */ |
| 78 | + public $folder; |
| 79 | +} |
0 commit comments