2020-09-04 14:29:13 -07:00
|
|
|
// Code generated by msgraph.go/gen DO NOT EDIT.
|
2020-03-15 15:43:46 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|