summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go')
-rw-r--r--vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go
new file mode 100644
index 00000000..d1a67162
--- /dev/null
+++ b/vendor/github.com/matterbridge/msgraph.go/beta/PurchaseInvoiceAction.go
@@ -0,0 +1,35 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+import "context"
+
+// PurchaseInvoicePostRequestParameter undocumented
+type PurchaseInvoicePostRequestParameter struct {
+}
+
+//
+type PurchaseInvoicePostRequestBuilder struct{ BaseRequestBuilder }
+
+// Post action undocumented
+func (b *PurchaseInvoiceRequestBuilder) Post(reqObj *PurchaseInvoicePostRequestParameter) *PurchaseInvoicePostRequestBuilder {
+ bb := &PurchaseInvoicePostRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/post"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type PurchaseInvoicePostRequest struct{ BaseRequest }
+
+//
+func (b *PurchaseInvoicePostRequestBuilder) Request() *PurchaseInvoicePostRequest {
+ return &PurchaseInvoicePostRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *PurchaseInvoicePostRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}