summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go')
-rw-r--r--vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go45
1 files changed, 0 insertions, 45 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go b/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go
deleted file mode 100644
index 2251e7aa..00000000
--- a/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementExchangeOnPremisesPolicyRequest.go
+++ /dev/null
@@ -1,45 +0,0 @@
-// Code generated by msgraph-generate.go DO NOT EDIT.
-
-package msgraph
-
-import "context"
-
-// DeviceManagementExchangeOnPremisesPolicyRequestBuilder is request builder for DeviceManagementExchangeOnPremisesPolicy
-type DeviceManagementExchangeOnPremisesPolicyRequestBuilder struct{ BaseRequestBuilder }
-
-// Request returns DeviceManagementExchangeOnPremisesPolicyRequest
-func (b *DeviceManagementExchangeOnPremisesPolicyRequestBuilder) Request() *DeviceManagementExchangeOnPremisesPolicyRequest {
- return &DeviceManagementExchangeOnPremisesPolicyRequest{
- BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
- }
-}
-
-// DeviceManagementExchangeOnPremisesPolicyRequest is request for DeviceManagementExchangeOnPremisesPolicy
-type DeviceManagementExchangeOnPremisesPolicyRequest struct{ BaseRequest }
-
-// Get performs GET request for DeviceManagementExchangeOnPremisesPolicy
-func (r *DeviceManagementExchangeOnPremisesPolicyRequest) Get(ctx context.Context) (resObj *DeviceManagementExchangeOnPremisesPolicy, err error) {
- var query string
- if r.query != nil {
- query = "?" + r.query.Encode()
- }
- err = r.JSONRequest(ctx, "GET", query, nil, &resObj)
- return
-}
-
-// Update performs PATCH request for DeviceManagementExchangeOnPremisesPolicy
-func (r *DeviceManagementExchangeOnPremisesPolicyRequest) Update(ctx context.Context, reqObj *DeviceManagementExchangeOnPremisesPolicy) error {
- return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
-}
-
-// Delete performs DELETE request for DeviceManagementExchangeOnPremisesPolicy
-func (r *DeviceManagementExchangeOnPremisesPolicyRequest) Delete(ctx context.Context) error {
- return r.JSONRequest(ctx, "DELETE", "", nil, nil)
-}
-
-// ConditionalAccessSettings is navigation property
-func (b *DeviceManagementExchangeOnPremisesPolicyRequestBuilder) ConditionalAccessSettings() *OnPremisesConditionalAccessSettingsRequestBuilder {
- bb := &OnPremisesConditionalAccessSettingsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
- bb.baseURL += "/conditionalAccessSettings"
- return bb
-}