5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 08:40:29 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsFind.go
2020-03-22 00:02:48 +01:00

60 lines
1.9 KiB
Go

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "context"
//
type WorkbookFunctionsFindRequestBuilder struct{ BaseRequestBuilder }
// Find action undocumented
func (b *WorkbookFunctionsRequestBuilder) Find(reqObj *WorkbookFunctionsFindRequestParameter) *WorkbookFunctionsFindRequestBuilder {
bb := &WorkbookFunctionsFindRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/find"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsFindRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsFindRequestBuilder) Request() *WorkbookFunctionsFindRequest {
return &WorkbookFunctionsFindRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsFindRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}
//
type WorkbookFunctionsFindBRequestBuilder struct{ BaseRequestBuilder }
// FindB action undocumented
func (b *WorkbookFunctionsRequestBuilder) FindB(reqObj *WorkbookFunctionsFindBRequestParameter) *WorkbookFunctionsFindBRequestBuilder {
bb := &WorkbookFunctionsFindBRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/findB"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsFindBRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsFindBRequestBuilder) Request() *WorkbookFunctionsFindBRequest {
return &WorkbookFunctionsFindBRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsFindBRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}