summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-03-08 17:08:18 +0100
committerGitHub <noreply@github.com>2020-03-08 17:08:18 +0100
commit9785edd26366be8eb11c2435f50f90a5c8eea7fc (patch)
treee8e236b5b273e7535c607507cc059f3b957068a1 /vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go
parent2a0bc11b684f63305258e338c5f1d0e91eb24414 (diff)
downloadmatterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.gz
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.bz2
matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.zip
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354 go get doesn't honor the go.mod replace options.
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go')
-rw-r--r--vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go155
1 files changed, 155 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go
new file mode 100644
index 00000000..d033b0c3
--- /dev/null
+++ b/vendor/github.com/matterbridge/msgraph.go/beta/SalesInvoiceAction.go
@@ -0,0 +1,155 @@
+// Code generated by msgraph-generate.go DO NOT EDIT.
+
+package msgraph
+
+import "context"
+
+// SalesInvoiceCancelAndSendRequestParameter undocumented
+type SalesInvoiceCancelAndSendRequestParameter struct {
+}
+
+// SalesInvoiceCancelRequestParameter undocumented
+type SalesInvoiceCancelRequestParameter struct {
+}
+
+// SalesInvoicePostAndSendRequestParameter undocumented
+type SalesInvoicePostAndSendRequestParameter struct {
+}
+
+// SalesInvoicePostRequestParameter undocumented
+type SalesInvoicePostRequestParameter struct {
+}
+
+// SalesInvoiceSendRequestParameter undocumented
+type SalesInvoiceSendRequestParameter struct {
+}
+
+//
+type SalesInvoiceCancelAndSendRequestBuilder struct{ BaseRequestBuilder }
+
+// CancelAndSend action undocumented
+func (b *SalesInvoiceRequestBuilder) CancelAndSend(reqObj *SalesInvoiceCancelAndSendRequestParameter) *SalesInvoiceCancelAndSendRequestBuilder {
+ bb := &SalesInvoiceCancelAndSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/cancelAndSend"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type SalesInvoiceCancelAndSendRequest struct{ BaseRequest }
+
+//
+func (b *SalesInvoiceCancelAndSendRequestBuilder) Request() *SalesInvoiceCancelAndSendRequest {
+ return &SalesInvoiceCancelAndSendRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *SalesInvoiceCancelAndSendRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}
+
+//
+type SalesInvoiceCancelRequestBuilder struct{ BaseRequestBuilder }
+
+// Cancel action undocumented
+func (b *SalesInvoiceRequestBuilder) Cancel(reqObj *SalesInvoiceCancelRequestParameter) *SalesInvoiceCancelRequestBuilder {
+ bb := &SalesInvoiceCancelRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/cancel"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type SalesInvoiceCancelRequest struct{ BaseRequest }
+
+//
+func (b *SalesInvoiceCancelRequestBuilder) Request() *SalesInvoiceCancelRequest {
+ return &SalesInvoiceCancelRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *SalesInvoiceCancelRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}
+
+//
+type SalesInvoicePostAndSendRequestBuilder struct{ BaseRequestBuilder }
+
+// PostAndSend action undocumented
+func (b *SalesInvoiceRequestBuilder) PostAndSend(reqObj *SalesInvoicePostAndSendRequestParameter) *SalesInvoicePostAndSendRequestBuilder {
+ bb := &SalesInvoicePostAndSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/postAndSend"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type SalesInvoicePostAndSendRequest struct{ BaseRequest }
+
+//
+func (b *SalesInvoicePostAndSendRequestBuilder) Request() *SalesInvoicePostAndSendRequest {
+ return &SalesInvoicePostAndSendRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *SalesInvoicePostAndSendRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}
+
+//
+type SalesInvoicePostRequestBuilder struct{ BaseRequestBuilder }
+
+// Post action undocumented
+func (b *SalesInvoiceRequestBuilder) Post(reqObj *SalesInvoicePostRequestParameter) *SalesInvoicePostRequestBuilder {
+ bb := &SalesInvoicePostRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/post"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type SalesInvoicePostRequest struct{ BaseRequest }
+
+//
+func (b *SalesInvoicePostRequestBuilder) Request() *SalesInvoicePostRequest {
+ return &SalesInvoicePostRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *SalesInvoicePostRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}
+
+//
+type SalesInvoiceSendRequestBuilder struct{ BaseRequestBuilder }
+
+// Send action undocumented
+func (b *SalesInvoiceRequestBuilder) Send(reqObj *SalesInvoiceSendRequestParameter) *SalesInvoiceSendRequestBuilder {
+ bb := &SalesInvoiceSendRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
+ bb.BaseRequestBuilder.baseURL += "/send"
+ bb.BaseRequestBuilder.requestObject = reqObj
+ return bb
+}
+
+//
+type SalesInvoiceSendRequest struct{ BaseRequest }
+
+//
+func (b *SalesInvoiceSendRequestBuilder) Request() *SalesInvoiceSendRequest {
+ return &SalesInvoiceSendRequest{
+ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
+ }
+}
+
+//
+func (r *SalesInvoiceSendRequest) Post(ctx context.Context) error {
+ return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
+}