5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 14:30:26 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/JournalAction.go

36 lines
935 B
Go

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "context"
// JournalPostRequestParameter undocumented
type JournalPostRequestParameter struct {
}
//
type JournalPostRequestBuilder struct{ BaseRequestBuilder }
// Post action undocumented
func (b *JournalRequestBuilder) Post(reqObj *JournalPostRequestParameter) *JournalPostRequestBuilder {
bb := &JournalPostRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/post"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type JournalPostRequest struct{ BaseRequest }
//
func (b *JournalPostRequestBuilder) Request() *JournalPostRequest {
return &JournalPostRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *JournalPostRequest) Post(ctx context.Context) error {
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}