matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/BusinessFlowAction.go

40 lines
1.3 KiB
Go
Raw Normal View History

// 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)
}