summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsHex2.go
blob: a3e784c2b3e8620cc14acc1bdae25d5b97081359 (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 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
}