5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 13:20:27 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsVar_.go

60 lines
1.9 KiB
Go
Raw Normal View History

2020-09-04 21:29:13 +00:00
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "context"
//
type WorkbookFunctionsVar_PRequestBuilder struct{ BaseRequestBuilder }
// Var_P action undocumented
func (b *WorkbookFunctionsRequestBuilder) Var_P(reqObj *WorkbookFunctionsVar_PRequestParameter) *WorkbookFunctionsVar_PRequestBuilder {
bb := &WorkbookFunctionsVar_PRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/var_P"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsVar_PRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsVar_PRequestBuilder) Request() *WorkbookFunctionsVar_PRequest {
return &WorkbookFunctionsVar_PRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsVar_PRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}
//
type WorkbookFunctionsVar_SRequestBuilder struct{ BaseRequestBuilder }
// Var_S action undocumented
func (b *WorkbookFunctionsRequestBuilder) Var_S(reqObj *WorkbookFunctionsVar_SRequestParameter) *WorkbookFunctionsVar_SRequestBuilder {
bb := &WorkbookFunctionsVar_SRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/var_S"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsVar_SRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsVar_SRequestBuilder) Request() *WorkbookFunctionsVar_SRequest {
return &WorkbookFunctionsVar_SRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsVar_SRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}