mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-23 19:52:41 +01:00
36 lines
935 B
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)
|
||
|
}
|