summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-03-15 22:43:46 +0000
committerWim <wim@42.be>2020-03-22 00:02:48 +0100
commit76e5fe5a87d7e60919075f96eee599f3c6255a9f (patch)
treeaf3181ad6aadaea02069473a3718a827be888426 /vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go
parent802c80f40c709ba4967de317e40a8d6abe57f6be (diff)
downloadmatterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.gz
matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.bz2
matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.zip
Update vendor yaegashi/msgraph.go to v0.1.2 (2)
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go170
1 files changed, 170 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go b/vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go
new file mode 100644
index 00000000..8cd8c14a
--- /dev/null
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/RequestIdentity.go
@@ -0,0 +1,170 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+import "context"
+
+// IdentityContainerRequestBuilder is request builder for IdentityContainer
+type IdentityContainerRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns IdentityContainerRequest
+func (b *IdentityContainerRequestBuilder) Request() *IdentityContainerRequest {
+ return &IdentityContainerRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// IdentityContainerRequest is request for IdentityContainer
+type IdentityContainerRequest struct{ BaseRequest }
+
+// Get performs GET request for IdentityContainer
+func (r *IdentityContainerRequest) Get(ctx context.Context) (resObj *IdentityContainer, 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 IdentityContainer
+func (r *IdentityContainerRequest) Update(ctx context.Context, reqObj *IdentityContainer) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for IdentityContainer
+func (r *IdentityContainerRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}
+
+// IdentityGovernanceRequestBuilder is request builder for IdentityGovernance
+type IdentityGovernanceRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns IdentityGovernanceRequest
+func (b *IdentityGovernanceRequestBuilder) Request() *IdentityGovernanceRequest {
+ return &IdentityGovernanceRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// IdentityGovernanceRequest is request for IdentityGovernance
+type IdentityGovernanceRequest struct{ BaseRequest }
+
+// Get performs GET request for IdentityGovernance
+func (r *IdentityGovernanceRequest) Get(ctx context.Context) (resObj *IdentityGovernance, 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 IdentityGovernance
+func (r *IdentityGovernanceRequest) Update(ctx context.Context, reqObj *IdentityGovernance) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for IdentityGovernance
+func (r *IdentityGovernanceRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}
+
+// IdentityProviderRequestBuilder is request builder for IdentityProvider
+type IdentityProviderRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns IdentityProviderRequest
+func (b *IdentityProviderRequestBuilder) Request() *IdentityProviderRequest {
+ return &IdentityProviderRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// IdentityProviderRequest is request for IdentityProvider
+type IdentityProviderRequest struct{ BaseRequest }
+
+// Get performs GET request for IdentityProvider
+func (r *IdentityProviderRequest) Get(ctx context.Context) (resObj *IdentityProvider, 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 IdentityProvider
+func (r *IdentityProviderRequest) Update(ctx context.Context, reqObj *IdentityProvider) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for IdentityProvider
+func (r *IdentityProviderRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}
+
+// IdentityRiskEventRequestBuilder is request builder for IdentityRiskEvent
+type IdentityRiskEventRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns IdentityRiskEventRequest
+func (b *IdentityRiskEventRequestBuilder) Request() *IdentityRiskEventRequest {
+ return &IdentityRiskEventRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// IdentityRiskEventRequest is request for IdentityRiskEvent
+type IdentityRiskEventRequest struct{ BaseRequest }
+
+// Get performs GET request for IdentityRiskEvent
+func (r *IdentityRiskEventRequest) Get(ctx context.Context) (resObj *IdentityRiskEvent, 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 IdentityRiskEvent
+func (r *IdentityRiskEventRequest) Update(ctx context.Context, reqObj *IdentityRiskEvent) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for IdentityRiskEvent
+func (r *IdentityRiskEventRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}
+
+// IdentityUserFlowRequestBuilder is request builder for IdentityUserFlow
+type IdentityUserFlowRequestBuilder struct{ BaseRequestBuilder }
+
+// Request returns IdentityUserFlowRequest
+func (b *IdentityUserFlowRequestBuilder) Request() *IdentityUserFlowRequest {
+ return &IdentityUserFlowRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
+ }
+}
+
+// IdentityUserFlowRequest is request for IdentityUserFlow
+type IdentityUserFlowRequest struct{ BaseRequest }
+
+// Get performs GET request for IdentityUserFlow
+func (r *IdentityUserFlowRequest) Get(ctx context.Context) (resObj *IdentityUserFlow, 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 IdentityUserFlow
+func (r *IdentityUserFlowRequest) Update(ctx context.Context, reqObj *IdentityUserFlow) error {
+ return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
+}
+
+// Delete performs DELETE request for IdentityUserFlow
+func (r *IdentityUserFlowRequest) Delete(ctx context.Context) error {
+ return r.JSONRequest(ctx, "DELETE", "", nil, nil)
+}