5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-27 22:35:43 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go
2020-09-04 23:29:13 +02:00

87 lines
2.8 KiB
Go

// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "context"
//
type WorkbookFunctionsHex2BinRequestBuilder struct{ BaseRequestBuilder }
// Hex2Bin action undocumented
func (b *WorkbookFunctionsRequestBuilder) Hex2Bin(reqObj *WorkbookFunctionsHex2BinRequestParameter) *WorkbookFunctionsHex2BinRequestBuilder {
bb := &WorkbookFunctionsHex2BinRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/hex2Bin"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsHex2BinRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsHex2BinRequestBuilder) Request() *WorkbookFunctionsHex2BinRequest {
return &WorkbookFunctionsHex2BinRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsHex2BinRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}
//
type WorkbookFunctionsHex2DecRequestBuilder struct{ BaseRequestBuilder }
// Hex2Dec action undocumented
func (b *WorkbookFunctionsRequestBuilder) Hex2Dec(reqObj *WorkbookFunctionsHex2DecRequestParameter) *WorkbookFunctionsHex2DecRequestBuilder {
bb := &WorkbookFunctionsHex2DecRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/hex2Dec"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsHex2DecRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsHex2DecRequestBuilder) Request() *WorkbookFunctionsHex2DecRequest {
return &WorkbookFunctionsHex2DecRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsHex2DecRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}
//
type WorkbookFunctionsHex2OctRequestBuilder struct{ BaseRequestBuilder }
// Hex2Oct action undocumented
func (b *WorkbookFunctionsRequestBuilder) Hex2Oct(reqObj *WorkbookFunctionsHex2OctRequestParameter) *WorkbookFunctionsHex2OctRequestBuilder {
bb := &WorkbookFunctionsHex2OctRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/hex2Oct"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type WorkbookFunctionsHex2OctRequest struct{ BaseRequest }
//
func (b *WorkbookFunctionsHex2OctRequestBuilder) Request() *WorkbookFunctionsHex2OctRequest {
return &WorkbookFunctionsHex2OctRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *WorkbookFunctionsHex2OctRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
return
}