// Code generated by msgraph-generate.go DO NOT EDIT.

package msgraph

import "context"

//
type WorkbookFunctionsGaussRequestBuilder struct{ BaseRequestBuilder }

// Gauss action undocumented
func (b *WorkbookFunctionsRequestBuilder) Gauss(reqObj *WorkbookFunctionsGaussRequestParameter) *WorkbookFunctionsGaussRequestBuilder {
	bb := &WorkbookFunctionsGaussRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/gauss"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsGaussRequest struct{ BaseRequest }

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

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