-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelTenant.go
43 lines (36 loc) · 1.51 KB
/
ModelTenant.go
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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// TenantAppManagementPolicy undocumented
type TenantAppManagementPolicy struct {
// PolicyBase is the base model of TenantAppManagementPolicy
PolicyBase
ODataType string `json:"@odata.type,omitempty"`
// ApplicationRestrictions undocumented
ApplicationRestrictions *AppManagementConfiguration `json:"applicationRestrictions,omitempty"`
// IsEnabled undocumented
IsEnabled *bool `json:"isEnabled,omitempty"`
// ServicePrincipalRestrictions undocumented
ServicePrincipalRestrictions *AppManagementConfiguration `json:"servicePrincipalRestrictions,omitempty"`
}
func NewTenantAppManagementPolicy() (*TenantAppManagementPolicy, error) {
newTenantAppManagementPolicy := &TenantAppManagementPolicy{
ODataType: "#microsoft.graph.TenantAppManagementPolicy",
}
return newTenantAppManagementPolicy, nil
}
// TenantRelationship undocumented
type TenantRelationship struct {
// Object is the base model of TenantRelationship
Object
ODataType string `json:"@odata.type,omitempty"`
// DelegatedAdminCustomers undocumented
DelegatedAdminCustomers []DelegatedAdminCustomer `json:"delegatedAdminCustomers,omitempty"`
// DelegatedAdminRelationships undocumented
DelegatedAdminRelationships []DelegatedAdminRelationship `json:"delegatedAdminRelationships,omitempty"`
}
func NewTenantRelationship() (*TenantRelationship, error) {
newTenantRelationship := &TenantRelationship{
ODataType: "#microsoft.graph.TenantRelationship",
}
return newTenantRelationship, nil
}