// Code generated by msgraph.go/gen DO NOT EDIT.

package msgraph

import "context"

//
type WorkbookFunctionsCleanRequestBuilder struct{ BaseRequestBuilder }

// Clean action undocumented
func (b *WorkbookFunctionsRequestBuilder) Clean(reqObj *WorkbookFunctionsCleanRequestParameter) *WorkbookFunctionsCleanRequestBuilder {
	bb := &WorkbookFunctionsCleanRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/clean"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsCleanRequest struct{ BaseRequest }

//
func (b *WorkbookFunctionsCleanRequestBuilder) Request() *WorkbookFunctionsCleanRequest {
	return &WorkbookFunctionsCleanRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *WorkbookFunctionsCleanRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
	err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
	return
}
