PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / trunk
Booking for Appointments and Events Calendar – Amelia vtrunk
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / microsoft / microsoft-graph / src / Core / GraphConstants.php
ameliabooking / vendor / microsoft / microsoft-graph / src / Core Last commit date
Enum.php 5 years ago ExceptionWrapper.php 6 months ago GraphConstants.php 1 year ago
GraphConstants.php
47 lines
1 <?php
2 /**
3 * Copyright (c) Microsoft Corporation. All Rights Reserved.
4 * Licensed under the MIT License. See License in the project root
5 * for license information.
6 *
7 * Constants File
8 * PHP version 7
9 *
10 * @category Library
11 * @package Microsoft.Graph
12 * @copyright 2020 Microsoft Corporation
13 * @license https://opensource.org/licenses/MIT MIT License
14 * @link https://graph.microsoft.com
15 */
16
17 namespace Microsoft\Graph\Core;
18
19 final class GraphConstants
20 {
21 // These can be overwritten in setters in the Graph object
22 const API_VERSION = "v1.0";
23 const REST_ENDPOINT = "https://graph.microsoft.com/";
24
25 // Define HTTP request constants
26 const SDK_VERSION = "1.61.0";
27
28 // Define error constants
29 const MAX_PAGE_SIZE = 999;
30 const MAX_PAGE_SIZE_ERROR = "Page size must be less than " . self::MAX_PAGE_SIZE;
31 const TIMEOUT = "Timeout error";
32
33 // Define error message constants
34 const BASE_URL_MISSING = "Base URL cannot be null or empty.";
35 const REQUEST_TIMED_OUT = "The request timed out.";
36 const UNABLE_TO_CREATE_INSTANCE_OF_TYPE = "Unable to create instance of type";
37
38 // Define user error constants
39 const INVALID_FILE = "Unable to open file stream for the given path.";
40 const NO_ACCESS_TOKEN = "No access token has been provided.";
41 const NO_APP_ID = "No app ID has been provided.";
42 const NO_APP_SECRET = "No app secret has been provided.";
43
44 // Define server error constants
45 const UNABLE_TO_PARSE_RESPONSE = "The HTTP client sent back an invalid response";
46 }
47