summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-03-08 17:08:18 +0100
committerGitHub <noreply@github.com>2020-03-08 17:08:18 +0100
commit9785edd26366be8eb11c2435f50f90a5c8eea7fc (patch)
treee8e236b5b273e7535c607507cc059f3b957068a1 /vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go
parent2a0bc11b684f63305258e338c5f1d0e91eb24414 (diff)
downloadmatterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.gz
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.bz2
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.zip
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354 go get doesn't honor the go.mod replace options.
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go')
-rw-r--r--vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go b/vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go
new file mode 100644
index 00000000..203794d4
--- /dev/null
+++ b/vendor/github.com/matterbridge/msgraph.go/beta/RoleDefinitionModel.go
@@ -0,0 +1,25 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+// RoleDefinition The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role.
+type RoleDefinition struct {
+ // Entity is the base model of RoleDefinition
+ Entity
+ // DisplayName Display Name of the Role definition.
+ DisplayName *string `json:"displayName,omitempty"`
+ // Description Description of the Role definition.
+ Description *string `json:"description,omitempty"`
+ // Permissions List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.
+ Permissions []RolePermission `json:"permissions,omitempty"`
+ // RolePermissions List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.
+ RolePermissions []RolePermission `json:"rolePermissions,omitempty"`
+ // IsBuiltInRoleDefinition Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition.
+ IsBuiltInRoleDefinition *bool `json:"isBuiltInRoleDefinition,omitempty"`
+ // IsBuiltIn Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition.
+ IsBuiltIn *bool `json:"isBuiltIn,omitempty"`
+ // RoleScopeTagIDs List of Scope Tags for this Entity instance.
+ RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
+ // RoleAssignments undocumented
+ RoleAssignments []RoleAssignment `json:"roleAssignments,omitempty"`
+}