mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-14 06:10:27 +00:00
60 lines
2.1 KiB
Go
60 lines
2.1 KiB
Go
// Code generated by msgraph.go/gen DO NOT EDIT.
|
|
|
|
package msgraph
|
|
|
|
import "context"
|
|
|
|
//
|
|
type WorkbookFunctionsNetworkDaysRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// NetworkDays action undocumented
|
|
func (b *WorkbookFunctionsRequestBuilder) NetworkDays(reqObj *WorkbookFunctionsNetworkDaysRequestParameter) *WorkbookFunctionsNetworkDaysRequestBuilder {
|
|
bb := &WorkbookFunctionsNetworkDaysRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/networkDays"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFunctionsNetworkDaysRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFunctionsNetworkDaysRequestBuilder) Request() *WorkbookFunctionsNetworkDaysRequest {
|
|
return &WorkbookFunctionsNetworkDaysRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFunctionsNetworkDaysRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|
|
|
|
//
|
|
type WorkbookFunctionsNetworkDays_IntlRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// NetworkDays_Intl action undocumented
|
|
func (b *WorkbookFunctionsRequestBuilder) NetworkDays_Intl(reqObj *WorkbookFunctionsNetworkDays_IntlRequestParameter) *WorkbookFunctionsNetworkDays_IntlRequestBuilder {
|
|
bb := &WorkbookFunctionsNetworkDays_IntlRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
|
|
bb.BaseRequestBuilder.baseURL += "/networkDays_Intl"
|
|
bb.BaseRequestBuilder.requestObject = reqObj
|
|
return bb
|
|
}
|
|
|
|
//
|
|
type WorkbookFunctionsNetworkDays_IntlRequest struct{ BaseRequest }
|
|
|
|
//
|
|
func (b *WorkbookFunctionsNetworkDays_IntlRequestBuilder) Request() *WorkbookFunctionsNetworkDays_IntlRequest {
|
|
return &WorkbookFunctionsNetworkDays_IntlRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
|
|
}
|
|
}
|
|
|
|
//
|
|
func (r *WorkbookFunctionsNetworkDays_IntlRequest) Post(ctx context.Context) (resObj *WorkbookFunctionResult, err error) {
|
|
err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj)
|
|
return
|
|
}
|