diff options
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/AndroidWorkProfileEnterpriseWiFiConfigurationRequest.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/AndroidWorkProfileEnterpriseWiFiConfigurationRequest.go | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/AndroidWorkProfileEnterpriseWiFiConfigurationRequest.go b/vendor/github.com/matterbridge/msgraph.go/beta/AndroidWorkProfileEnterpriseWiFiConfigurationRequest.go new file mode 100644 index 00000000..a39fb0c3 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/AndroidWorkProfileEnterpriseWiFiConfigurationRequest.go @@ -0,0 +1,52 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// AndroidWorkProfileEnterpriseWiFiConfigurationRequestBuilder is request builder for AndroidWorkProfileEnterpriseWiFiConfiguration +type AndroidWorkProfileEnterpriseWiFiConfigurationRequestBuilder struct{ BaseRequestBuilder } + +// Request returns AndroidWorkProfileEnterpriseWiFiConfigurationRequest +func (b *AndroidWorkProfileEnterpriseWiFiConfigurationRequestBuilder) Request() *AndroidWorkProfileEnterpriseWiFiConfigurationRequest { + return &AndroidWorkProfileEnterpriseWiFiConfigurationRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, + } +} + +// AndroidWorkProfileEnterpriseWiFiConfigurationRequest is request for AndroidWorkProfileEnterpriseWiFiConfiguration +type AndroidWorkProfileEnterpriseWiFiConfigurationRequest struct{ BaseRequest } + +// Get performs GET request for AndroidWorkProfileEnterpriseWiFiConfiguration +func (r *AndroidWorkProfileEnterpriseWiFiConfigurationRequest) Get(ctx context.Context) (resObj *AndroidWorkProfileEnterpriseWiFiConfiguration, 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 AndroidWorkProfileEnterpriseWiFiConfiguration +func (r *AndroidWorkProfileEnterpriseWiFiConfigurationRequest) Update(ctx context.Context, reqObj *AndroidWorkProfileEnterpriseWiFiConfiguration) error { + return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) +} + +// Delete performs DELETE request for AndroidWorkProfileEnterpriseWiFiConfiguration +func (r *AndroidWorkProfileEnterpriseWiFiConfigurationRequest) Delete(ctx context.Context) error { + return r.JSONRequest(ctx, "DELETE", "", nil, nil) +} + +// IdentityCertificateForClientAuthentication is navigation property +func (b *AndroidWorkProfileEnterpriseWiFiConfigurationRequestBuilder) IdentityCertificateForClientAuthentication() *AndroidWorkProfileCertificateProfileBaseRequestBuilder { + bb := &AndroidWorkProfileCertificateProfileBaseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.baseURL += "/identityCertificateForClientAuthentication" + return bb +} + +// RootCertificateForServerValidation is navigation property +func (b *AndroidWorkProfileEnterpriseWiFiConfigurationRequestBuilder) RootCertificateForServerValidation() *AndroidWorkProfileTrustedRootCertificateRequestBuilder { + bb := &AndroidWorkProfileTrustedRootCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.baseURL += "/rootCertificateForServerValidation" + return bb +} |