1// Code generated by msgraph.go/gen DO NOT EDIT. 2 3package msgraph 4 5import "context" 6 7// 8type WorkbookFunctionsTanRequestBuilder struct{ BaseRequestBuilder } 9 10// Tan action undocumented 11func (b *WorkbookFunctionsRequestBuilder) Tan(reqObj *WorkbookFunctionsTanRequestParameter) *WorkbookFunctionsTanRequestBuilder { 12 bb := &WorkbookFunctionsTanRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} 13 bb.BaseRequestBuilder.baseURL += "/tan" 14 bb.BaseRequestBuilder.requestObject = reqObj 15 return bb 16} 17 18// 19type WorkbookFunctionsTanRequest struct{ BaseRequest } 20 21// 22func (b *WorkbookFunctionsTanRequestBuilder) Request() *WorkbookFunctionsTanRequest { 23 return &WorkbookFunctionsTanRequest{ 24 BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, 25 } 26} 27 28// 29func (r *WorkbookFunctionsTanRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) { 30 err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) 31 return 32} 33