github.com/yaegashi/msgraph.go@v0.1.4/beta/RequestWorkbookFunctionsAcoth.go (about)

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