5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 23:41:36 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/BusinessFlowAction.go

40 lines
1.3 KiB
Go

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "context"
// BusinessFlowRecordDecisionsRequestParameter undocumented
type BusinessFlowRecordDecisionsRequestParameter struct {
// ReviewResult undocumented
ReviewResult *string `json:"reviewResult,omitempty"`
// Justification undocumented
Justification *string `json:"justification,omitempty"`
}
//
type BusinessFlowRecordDecisionsRequestBuilder struct{ BaseRequestBuilder }
// RecordDecisions action undocumented
func (b *BusinessFlowRequestBuilder) RecordDecisions(reqObj *BusinessFlowRecordDecisionsRequestParameter) *BusinessFlowRecordDecisionsRequestBuilder {
bb := &BusinessFlowRecordDecisionsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/recordDecisions"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type BusinessFlowRecordDecisionsRequest struct{ BaseRequest }
//
func (b *BusinessFlowRecordDecisionsRequestBuilder) Request() *BusinessFlowRecordDecisionsRequest {
return &BusinessFlowRecordDecisionsRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *BusinessFlowRecordDecisionsRequest) Post(ctx context.Context) error {
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}