Skip to content

Commit c66d8af

Browse files
[TASKSCLOUD-445] - Deployed new 20.11 version.
1 parent e32b380 commit c66d8af

File tree

8 files changed

+886
-78
lines changed

8 files changed

+886
-78
lines changed

src/Aspose/Tasks/Configuration.php

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ class Configuration
9696
*/
9797
protected $host = 'https://api.aspose.cloud';
9898

99+
100+
/*
101+
* The auth url
102+
*
103+
* @var string
104+
*/
105+
protected $authUrl = '';
106+
99107
/*
100108
* The version
101109
*
@@ -135,7 +143,7 @@ class Configuration
135143
* Version of Aspose.Tasks Cloud API
136144
*
137145
*/
138-
protected $clientVersion = '20.8';
146+
protected $clientVersion = '20.11';
139147

140148
/*
141149
* Constructor
@@ -355,6 +363,19 @@ public function setHost($host)
355363
return $this;
356364
}
357365

366+
/*
367+
* Sets the auth url
368+
*
369+
* @param string $authUrl auth url
370+
*
371+
* @return $this
372+
*/
373+
public function setAuthUrl($authUrl)
374+
{
375+
$this->authUrl = $authUrl;
376+
return $this;
377+
}
378+
358379
/*
359380
* Gets the host
360381
*
@@ -365,6 +386,16 @@ public function getHost()
365386
return $this->host;
366387
}
367388

389+
/*
390+
* Gets the auth url
391+
*
392+
* @return string url
393+
*/
394+
public function getAuthUrl()
395+
{
396+
return $this->authUrl;
397+
}
398+
368399
/*
369400
* Gets the API version
370401
*
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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

Comments
 (0)