summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBin2.go
blob: 246221ac1ce73869f869aa8dc9da3757510a39df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Code generated by msgraph-generate.go DO NOT EDIT.

package msgraph

import "context"

//
type WorkbookFunctionsBin2DecRequestBuilder struct{ BaseRequestBuilder }

// Bin2Dec action undocumented
func (b *WorkbookFunctionsRequestBuilder) Bin2Dec(reqObj *WorkbookFunctionsBin2DecRequestParameter) *WorkbookFunctionsBin2DecRequestBuilder {
	bb := &WorkbookFunctionsBin2DecRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/bin2Dec"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsBin2DecRequest struct{ BaseRequest }

//
func (b *WorkbookFunctionsBin2DecRequestBuilder) Request() *WorkbookFunctionsBin2DecRequest {
	return &WorkbookFunctionsBin2DecRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *WorkbookFunctionsBin2DecRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
	err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
	return
}

//
type WorkbookFunctionsBin2HexRequestBuilder struct{ BaseRequestBuilder }

// Bin2Hex action undocumented
func (b *WorkbookFunctionsRequestBuilder) Bin2Hex(reqObj *WorkbookFunctionsBin2HexRequestParameter) *WorkbookFunctionsBin2HexRequestBuilder {
	bb := &WorkbookFunctionsBin2HexRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/bin2Hex"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsBin2HexRequest struct{ BaseRequest }

//
func (b *WorkbookFunctionsBin2HexRequestBuilder) Request() *WorkbookFunctionsBin2HexRequest {
	return &WorkbookFunctionsBin2HexRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *WorkbookFunctionsBin2HexRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
	err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
	return
}

//
type WorkbookFunctionsBin2OctRequestBuilder struct{ BaseRequestBuilder }

// Bin2Oct action undocumented
func (b *WorkbookFunctionsRequestBuilder) Bin2Oct(reqObj *WorkbookFunctionsBin2OctRequestParameter) *WorkbookFunctionsBin2OctRequestBuilder {
	bb := &WorkbookFunctionsBin2OctRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
	bb.BaseRequestBuilder.baseURL += "/bin2Oct"
	bb.BaseRequestBuilder.requestObject = reqObj
	return bb
}

//
type WorkbookFunctionsBin2OctRequest struct{ BaseRequest }

//
func (b *WorkbookFunctionsBin2OctRequestBuilder) Request() *WorkbookFunctionsBin2OctRequest {
	return &WorkbookFunctionsBin2OctRequest{
		BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
	}
}

//
func (r *WorkbookFunctionsBin2OctRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
	err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
	return
}