Skip to content

Commit f190711

Browse files
[TASKSCLOUD-388] - Deployed new 20.6 version.
1 parent 6de35b7 commit f190711

19 files changed

+1492
-95
lines changed

TestData/Cost_Res.mpp

177 KB
Binary file not shown.

src/Aspose/Tasks/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class Configuration
135135
* Version of Aspose.Tasks Cloud API
136136
*
137137
*/
138-
protected $clientVersion = '19.12';
138+
protected $clientVersion = '20.6';
139139

140140
/*
141141
* Constructor
Lines changed: 377 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,377 @@
1+
<?php
2+
/*
3+
* --------------------------------------------------------------------------------------------------------------------
4+
* <copyright company="Aspose" file="ProjectServerSaveOptionsDTO.php">
5+
* Copyright (c) 2020 Aspose.Tasks Cloud
6+
* </copyright>
7+
* <summary>
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
* </summary>
26+
* --------------------------------------------------------------------------------------------------------------------
27+
*/
28+
/*
29+
* ProjectServerSaveOptionsDTO
30+
*/
31+
32+
namespace Aspose\Tasks\Model;
33+
use \Aspose\Tasks\ObjectSerializer;
34+
35+
/*
36+
* ProjectServerSaveOptionsDTO
37+
*
38+
*/
39+
class ProjectServerSaveOptionsDTO
40+
{
41+
const DISCRIMINATOR = null;
42+
43+
/*
44+
* The original name of the model.
45+
*
46+
* @var string
47+
*/
48+
protected static $swaggerModelName = "ProjectServerSaveOptionsDTO";
49+
50+
/*
51+
* Array of property to type mappings. Used for (de)serialization
52+
*
53+
* @var string[]
54+
*/
55+
protected static $swaggerTypes = [
56+
'project_name' => 'string',
57+
'project_guid' => 'string',
58+
'timeout' => 'string',
59+
'polling_interval' => 'string'
60+
];
61+
62+
/*
63+
* Array of property to format mappings. Used for (de)serialization
64+
*
65+
* @var string[]
66+
*/
67+
protected static $swaggerFormats = [
68+
'project_name' => null,
69+
'project_guid' => null,
70+
'timeout' => null,
71+
'polling_interval' => null
72+
];
73+
74+
/*
75+
* Array of property to type mappings. Used for (de)serialization
76+
*
77+
* @return array
78+
*/
79+
public static function swaggerTypes()
80+
{
81+
return self::$swaggerTypes;
82+
}
83+
84+
/*
85+
* Array of property to format mappings. Used for (de)serialization
86+
*
87+
* @return array
88+
*/
89+
public static function swaggerFormats()
90+
{
91+
return self::$swaggerFormats;
92+
}
93+
94+
/*
95+
* Array of attributes where the key is the local name,
96+
* and the value is the original name
97+
*
98+
* @var string[]
99+
*/
100+
protected static $attributeMap = [
101+
'project_name' => 'ProjectName',
102+
'project_guid' => 'ProjectGuid',
103+
'timeout' => 'Timeout',
104+
'polling_interval' => 'PollingInterval'
105+
];
106+
107+
/*
108+
* Array of attributes to setter functions (for deserialization of responses)
109+
*
110+
* @var string[]
111+
*/
112+
protected static $setters = [
113+
'project_name' => 'setProjectName',
114+
'project_guid' => 'setProjectGuid',
115+
'timeout' => 'setTimeout',
116+
'polling_interval' => 'setPollingInterval'
117+
];
118+
119+
/*
120+
* Array of attributes to getter functions (for serialization of requests)
121+
*
122+
* @var string[]
123+
*/
124+
protected static $getters = [
125+
'project_name' => 'getProjectName',
126+
'project_guid' => 'getProjectGuid',
127+
'timeout' => 'getTimeout',
128+
'polling_interval' => 'getPollingInterval'
129+
];
130+
131+
/*
132+
* Array of attributes where the key is the local name,
133+
* and the value is the original name
134+
*
135+
* @return array
136+
*/
137+
public static function attributeMap()
138+
{
139+
return parent::attributeMap() + self::$attributeMap;
140+
}
141+
142+
/*
143+
* Array of attributes to setter functions (for deserialization of responses)
144+
*
145+
* @return array
146+
*/
147+
public static function setters()
148+
{
149+
return parent::setters() + self::$setters;
150+
}
151+
152+
/*
153+
* Array of attributes to getter functions (for serialization of requests)
154+
*
155+
* @return array
156+
*/
157+
public static function getters()
158+
{
159+
return parent::getters() + self::$getters;
160+
}
161+
162+
/*
163+
* The original name of the model.
164+
*
165+
* @return string
166+
*/
167+
public function getModelName()
168+
{
169+
return self::$swaggerModelName;
170+
}
171+
172+
/*
173+
* Constructor
174+
*
175+
* @param mixed[] $data Associated array of property values
176+
* initializing the model
177+
*/
178+
public function __construct(array $data = null)
179+
{
180+
$this->container['project_name'] = isset($data['project_name']) ? $data['project_name'] : null;
181+
$this->container['project_guid'] = isset($data['project_guid']) ? $data['project_guid'] : null;
182+
$this->container['timeout'] = isset($data['timeout']) ? $data['timeout'] : null;
183+
$this->container['polling_interval'] = isset($data['polling_interval']) ? $data['polling_interval'] : null;
184+
}
185+
186+
/*
187+
* Show all the invalid properties with reasons.
188+
*
189+
* @return array invalid properties with reasons
190+
*/
191+
public function listInvalidProperties()
192+
{
193+
$invalidProperties = [];
194+
195+
return $invalidProperties;
196+
}
197+
198+
/*
199+
* Validate all the properties in the model
200+
* return true if all passed
201+
*
202+
* @return bool True if all properties are valid
203+
*/
204+
public function valid()
205+
{
206+
return true;
207+
}
208+
209+
/*
210+
* Gets project_name
211+
*
212+
* @return string
213+
*/
214+
public function getProjectName()
215+
{
216+
return $this->container['project_name'];
217+
}
218+
219+
/*
220+
* Sets project_name
221+
*
222+
* @param string $project_name project_name
223+
*
224+
* @return $this
225+
*/
226+
public function setProjectName($project_name)
227+
{
228+
$this->container['project_name'] = $project_name;
229+
230+
return $this;
231+
}
232+
233+
/*
234+
* Gets project_guid
235+
*
236+
* @return string
237+
*/
238+
239+
public function getProjectGuid()
240+
{
241+
return $this->container['project_guid'];
242+
}
243+
244+
/*
245+
* Sets project_guid
246+
*
247+
* @param string $project_guid project_guid
248+
*
249+
* @return $this
250+
*/
251+
public function setProjectGuid($project_guid)
252+
{
253+
$this->container['project_guid'] = $project_guid;
254+
255+
return $this;
256+
}
257+
258+
/*
259+
* Gets timeout
260+
*
261+
* @return string
262+
*/
263+
public function getTimeout()
264+
{
265+
return $this->container['timeout'];
266+
}
267+
268+
/*
269+
* Sets timeout
270+
*
271+
* @param string $timeout timeout
272+
*
273+
* @return $this
274+
*/
275+
public function setTimeout($timeout)
276+
{
277+
$this->container['timeout'] = $timeout;
278+
279+
return $this;
280+
}
281+
282+
/*
283+
* Gets polling_interval
284+
*
285+
* @return string
286+
*/
287+
public function getPollingInterval()
288+
{
289+
return $this->container['polling_interval'];
290+
}
291+
292+
/*
293+
* Sets polling_interval
294+
*
295+
* @param string $polling_interval polling_interval
296+
*
297+
* @return $this
298+
*/
299+
public function setPollingInterval($polling_interval)
300+
{
301+
$this->container['polling_interval'] = $polling_interval;
302+
303+
return $this;
304+
}
305+
306+
/*
307+
* Returns true if offset exists. False otherwise.
308+
*
309+
* @param integer $offset Offset
310+
*
311+
* @return boolean
312+
*/
313+
public function offsetExists($offset)
314+
{
315+
return isset($this->container[$offset]);
316+
}
317+
318+
/*
319+
* Gets offset.
320+
*
321+
* @param integer $offset Offset
322+
*
323+
* @return mixed
324+
*/
325+
public function offsetGet($offset)
326+
{
327+
return isset($this->container[$offset]) ? $this->container[$offset] : null;
328+
}
329+
330+
/*
331+
* Sets value based on offset.
332+
*
333+
* @param integer $offset Offset
334+
* @param mixed $value Value to be set
335+
*
336+
* @return void
337+
*/
338+
public function offsetSet($offset, $value)
339+
{
340+
if (is_null($offset)) {
341+
$this->container[] = $value;
342+
} else {
343+
$this->container[$offset] = $value;
344+
}
345+
}
346+
347+
/*
348+
* Unsets offset.
349+
*
350+
* @param integer $offset Offset
351+
*
352+
* @return void
353+
*/
354+
public function offsetUnset($offset)
355+
{
356+
unset($this->container[$offset]);
357+
}
358+
359+
/*
360+
* Gets the string presentation of the object
361+
*
362+
* @return string
363+
*/
364+
public function __toString()
365+
{
366+
if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
367+
return json_encode(
368+
ObjectSerializer::sanitizeForSerialization($this),
369+
JSON_PRETTY_PRINT
370+
);
371+
}
372+
373+
return json_encode(ObjectSerializer::sanitizeForSerialization($this));
374+
}
375+
}
376+
377+

0 commit comments

Comments
 (0)