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

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