summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsClean.go
blob: cc05890513efd9e341ecb5a96f2a9fad8428a8e1 (plain) (tree)






























                                                                                                                                       
// Code generated by msgraph-generate.go 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
}