forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathContract.php
More file actions
145 lines (136 loc) · 5.29 KB
/
Copy pathContract.php
File metadata and controls
145 lines (136 loc) · 5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Contract File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 1.4.0
* @link https://graph.microsoft.io/
*/
namespace Microsoft\Graph\Model;
/**
* Contract class
*
* @category Model
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version Release: 1.4.0
* @link https://graph.microsoft.io/
*/
class Contract extends DirectoryObject
{
/**
* Gets the contractType
* Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
*
* @return string The contractType
*/
public function getContractType()
{
if (array_key_exists("contractType", $this->_propDict)) {
return $this->_propDict["contractType"];
} else {
return null;
}
}
/**
* Sets the contractType
* Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
*
* @param string $val The contractType
*
* @return Contract
*/
public function setContractType($val)
{
$this->_propDict["contractType"] = $val;
return $this;
}
/**
* Gets the customerId
* The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
*
* @return string The customerId
*/
public function getCustomerId()
{
if (array_key_exists("customerId", $this->_propDict)) {
return $this->_propDict["customerId"];
} else {
return null;
}
}
/**
* Sets the customerId
* The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
*
* @param string $val The customerId
*
* @return Contract
*/
public function setCustomerId($val)
{
$this->_propDict["customerId"] = $val;
return $this;
}
/**
* Gets the defaultDomainName
* A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
*
* @return string The defaultDomainName
*/
public function getDefaultDomainName()
{
if (array_key_exists("defaultDomainName", $this->_propDict)) {
return $this->_propDict["defaultDomainName"];
} else {
return null;
}
}
/**
* Sets the defaultDomainName
* A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
*
* @param string $val The defaultDomainName
*
* @return Contract
*/
public function setDefaultDomainName($val)
{
$this->_propDict["defaultDomainName"] = $val;
return $this;
}
/**
* Gets the displayName
* A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
*
* @return string The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
*
* @param string $val The displayName
*
* @return Contract
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}