mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-14 10:50:30 +00:00
171 lines
5.8 KiB
Go
171 lines
5.8 KiB
Go
// Code generated by msgraph.go/gen 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)
|
|
}
|