Skip to content

Commit b8183c8

Browse files
[TASKSCLOUD-629] - Deployed new 22.01 version.
1 parent ff9d9ef commit b8183c8

File tree

233 files changed

+20448
-8326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+20448
-8326
lines changed

src/Aspose/Tasks/ApiException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="ApiException.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/Aspose/Tasks/Configuration.php

Lines changed: 21 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="Configuration.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -95,21 +95,13 @@ class Configuration
9595
* @var string
9696
*/
9797
protected $host = 'https://api.aspose.cloud';
98-
99-
98+
10099
/*
101-
* The auth url
102-
*
100+
* Version of API to use, possible values are v1, v1.1, v2, v3.0
101+
* default value is v3.0
103102
* @var string
104103
*/
105-
protected $authUrl = '';
106-
107-
/*
108-
* The version
109-
*
110-
* @var string
111-
*/
112-
protected $version = 'v3.0';
104+
protected $base_path = "v3.0";
113105

114106
/*
115107
* User agent of the HTTP request, set to "PHP-Swagger" by default
@@ -143,14 +135,15 @@ class Configuration
143135
* Version of Aspose.Tasks Cloud API
144136
*
145137
*/
146-
protected $clientVersion = '21.10';
138+
protected $clientVersion = '22.01';
147139

148140
/*
149141
* Constructor
150142
*/
151143
public function __construct()
152144
{
153145
$this->tempFolderPath = sys_get_temp_dir();
146+
date_default_timezone_set('UTC');
154147
}
155148

156149
/*
@@ -363,19 +356,6 @@ public function setHost($host)
363356
return $this;
364357
}
365358

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-
379359
/*
380360
* Gets the host
381361
*
@@ -385,25 +365,28 @@ public function getHost()
385365
{
386366
return $this->host;
387367
}
388-
368+
389369
/*
390-
* Gets the auth url
370+
* Sets the base_path
371+
*
372+
* @param string $base_path api version
391373
*
392-
* @return string url
374+
* @return $this
393375
*/
394-
public function getAuthUrl()
376+
public function setBasePath($base_path)
395377
{
396-
return $this->authUrl;
378+
$this->base_path = $base_path;
379+
return $this;
397380
}
398381

399382
/*
400-
* Gets the API version
383+
* Gets the base_path
401384
*
402-
* @return string Version
385+
* @return string base_path
403386
*/
404-
public function getVersion()
387+
public function getBasePath()
405388
{
406-
return $this->version;
389+
return $this->base_path;
407390
}
408391

409392
/*
@@ -539,7 +522,7 @@ public static function toDebugReport()
539522
$report = 'PHP SDK (Aspose\Tasks) Debug Report:' . PHP_EOL;
540523
$report .= ' OS: ' . php_uname() . PHP_EOL;
541524
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
542-
$report .= ' OpenAPI Spec Version: 1.0' . PHP_EOL;
525+
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
543526
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
544527

545528
return $report;

src/Aspose/Tasks/HeaderSelector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="HeaderSelector.php">
5-
* Copyright (c) 2017 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/Aspose/Tasks/Model/AsposeResponse.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AsposeResponse.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -96,8 +96,8 @@ public static function swaggerFormats()
9696
* @var string[]
9797
*/
9898
protected static $attributeMap = [
99-
'code' => 'Code',
100-
'status' => 'Status'
99+
'code' => 'code',
100+
'status' => 'status'
101101
];
102102

103103
/*

src/Aspose/Tasks/Model/AssignmentBaseline.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentBaseline.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -95,8 +95,8 @@ public static function swaggerFormats()
9595
* @var string[]
9696
*/
9797
protected static $attributeMap = [
98-
'start' => 'Start',
99-
'finish' => 'Finish'
98+
'start' => 'start',
99+
'finish' => 'finish'
100100
];
101101

102102
/*

src/Aspose/Tasks/Model/AssignmentItem.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentItem.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -101,10 +101,10 @@ public static function swaggerFormats()
101101
* @var string[]
102102
*/
103103
protected static $attributeMap = [
104-
'link' => 'Link',
105-
'uid' => 'Uid',
106-
'task_uid' => 'TaskUid',
107-
'resource_uid' => 'ResourceUid'
104+
'link' => 'link',
105+
'uid' => 'uid',
106+
'task_uid' => 'taskUid',
107+
'resource_uid' => 'resourceUid'
108108
];
109109

110110
/*

src/Aspose/Tasks/Model/AssignmentItemResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentItemResponse.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -92,7 +92,7 @@ public static function swaggerFormats()
9292
* @var string[]
9393
*/
9494
protected static $attributeMap = [
95-
'assignment_item' => 'AssignmentItem'
95+
'assignment_item' => 'assignmentItem'
9696
];
9797

9898
/*

src/Aspose/Tasks/Model/AssignmentItems.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentItems.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -92,7 +92,7 @@ public static function swaggerFormats()
9292
* @var string[]
9393
*/
9494
protected static $attributeMap = [
95-
'assignment_item' => 'AssignmentItem'
95+
'assignment_item' => 'assignmentItem'
9696
];
9797

9898
/*
@@ -169,7 +169,7 @@ public function __construct(array $data = null)
169169
{
170170
parent::__construct($data);
171171

172-
$this->container['assignment_item'] = isset($data['assignment_item']) ? $data['assignment_item'] : null;
172+
$this->container['assignment_item'] = isset($data['assignment_item']) ? $data['assignment_item'] : array();
173173
}
174174

175175
/*

src/Aspose/Tasks/Model/AssignmentItemsResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentItemsResponse.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -92,7 +92,7 @@ public static function swaggerFormats()
9292
* @var string[]
9393
*/
9494
protected static $attributeMap = [
95-
'assignments' => 'Assignments'
95+
'assignments' => 'assignments'
9696
];
9797

9898
/*

src/Aspose/Tasks/Model/AssignmentResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
/*
2+
/**
33
* --------------------------------------------------------------------------------------------------------------------
44
* <copyright company="Aspose" file="AssignmentResponse.php">
5-
* Copyright (c) 2018 Aspose.Tasks Cloud
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
66
* </copyright>
77
* <summary>
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -93,7 +93,7 @@ public static function swaggerFormats()
9393
* @var string[]
9494
*/
9595
protected static $attributeMap = [
96-
'assignment' => 'Assignment'
96+
'assignment' => 'assignment'
9797
];
9898

9999
/*

0 commit comments

Comments
 (0)