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

package msgraph

import "context"

//
type WorkbookFunctionsAtanRequestBuilder struct{ BaseRequestBuilder }

// Atan action undocumented
func (b *WorkbookFunctionsRequestBuilder) Atan(reqObj *WorkbookFunctionsAtanRequestParameter) *WorkbookFunctionsAtanRequestBuilder {
	bb := &WorkbookFunctionsAtanRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/atan"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsAtanRequest struct{ BaseRequest }

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

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