code
stringlengths
12
335k
docstring
stringlengths
20
20.8k
func_name
stringlengths
1
105
language
stringclasses
1 value
repo
stringclasses
498 values
path
stringlengths
5
172
url
stringlengths
43
235
license
stringclasses
4 values
func (b *OfficeGraphInsightsSharedCollectionRequestBuilder) ID(id string) *SharedInsightRequestBuilder { bb := &SharedInsightRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for SharedInsight item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsSharedCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SharedInsight, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []SharedInsight for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []SharedInsight ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for SharedInsight collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsSharedCollectionRequest) GetN(ctx context.Context, n int) ([]SharedInsight, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for SharedInsight collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsSharedCollectionRequest) Get(ctx context.Context) ([]SharedInsight, error) { return r.GetN(ctx, 0) }
Get performs GET request for SharedInsight collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsSharedCollectionRequest) Add(ctx context.Context, reqObj *SharedInsight) (resObj *SharedInsight, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for SharedInsight collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsRequestBuilder) Trending() *OfficeGraphInsightsTrendingCollectionRequestBuilder { bb := &OfficeGraphInsightsTrendingCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/trending" return bb }
Trending returns request builder for Trending collection
Trending
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsTrendingCollectionRequestBuilder) Request() *OfficeGraphInsightsTrendingCollectionRequest { return &OfficeGraphInsightsTrendingCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for Trending collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsTrendingCollectionRequestBuilder) ID(id string) *TrendingRequestBuilder { bb := &TrendingRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for Trending item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsTrendingCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Trending, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []Trending for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []Trending ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for Trending collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsTrendingCollectionRequest) GetN(ctx context.Context, n int) ([]Trending, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for Trending collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsTrendingCollectionRequest) Get(ctx context.Context) ([]Trending, error) { return r.GetN(ctx, 0) }
Get performs GET request for Trending collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsTrendingCollectionRequest) Add(ctx context.Context, reqObj *Trending) (resObj *Trending, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for Trending collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsRequestBuilder) Used() *OfficeGraphInsightsUsedCollectionRequestBuilder { bb := &OfficeGraphInsightsUsedCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/used" return bb }
Used returns request builder for UsedInsight collection
Used
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsUsedCollectionRequestBuilder) Request() *OfficeGraphInsightsUsedCollectionRequest { return &OfficeGraphInsightsUsedCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UsedInsight collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *OfficeGraphInsightsUsedCollectionRequestBuilder) ID(id string) *UsedInsightRequestBuilder { bb := &UsedInsightRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UsedInsight item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsUsedCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UsedInsight, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []UsedInsight for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []UsedInsight ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for UsedInsight collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsUsedCollectionRequest) GetN(ctx context.Context, n int) ([]UsedInsight, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for UsedInsight collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsUsedCollectionRequest) Get(ctx context.Context) ([]UsedInsight, error) { return r.GetN(ctx, 0) }
Get performs GET request for UsedInsight collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (r *OfficeGraphInsightsUsedCollectionRequest) Add(ctx context.Context, reqObj *UsedInsight) (resObj *UsedInsight, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UsedInsight collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOffice.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Asc(reqObj *WorkbookFunctionsAscRequestParameter) *WorkbookFunctionsAscRequestBuilder { bb := &WorkbookFunctionsAscRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/asc" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Asc action undocumented
Asc
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsAsc.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsAsc.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Minute(reqObj *WorkbookFunctionsMinuteRequestParameter) *WorkbookFunctionsMinuteRequestBuilder { bb := &WorkbookFunctionsMinuteRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/minute" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Minute action undocumented
Minute
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsMinute.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsMinute.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Asin(reqObj *WorkbookFunctionsAsinRequestParameter) *WorkbookFunctionsAsinRequestBuilder { bb := &WorkbookFunctionsAsinRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/asin" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Asin action undocumented
Asin
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsAsin.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsAsin.go
Apache-2.0
func (b *ContentTypeRequestBuilder) ColumnLinks() *ContentTypeColumnLinksCollectionRequestBuilder { bb := &ContentTypeColumnLinksCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/columnLinks" return bb }
ColumnLinks returns request builder for ColumnLink collection
ColumnLinks
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (b *ContentTypeColumnLinksCollectionRequestBuilder) Request() *ContentTypeColumnLinksCollectionRequest { return &ContentTypeColumnLinksCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for ColumnLink collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (b *ContentTypeColumnLinksCollectionRequestBuilder) ID(id string) *ColumnLinkRequestBuilder { bb := &ColumnLinkRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for ColumnLink item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (r *ContentTypeColumnLinksCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ColumnLink, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []ColumnLink for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []ColumnLink ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for ColumnLink collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (r *ContentTypeColumnLinksCollectionRequest) GetN(ctx context.Context, n int) ([]ColumnLink, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for ColumnLink collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (r *ContentTypeColumnLinksCollectionRequest) Get(ctx context.Context) ([]ColumnLink, error) { return r.GetN(ctx, 0) }
Get performs GET request for ColumnLink collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (r *ContentTypeColumnLinksCollectionRequest) Add(ctx context.Context, reqObj *ColumnLink) (resObj *ColumnLink, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for ColumnLink collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionContent.go
Apache-2.0
func (b *PolicyRequestBuilder) Request() *PolicyRequest { return &PolicyRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PolicyRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicyRequest) Get(ctx context.Context) (resObj *Policy, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for Policy
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicyRequest) Update(ctx context.Context, reqObj *Policy) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for Policy
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicyRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for Policy
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *PolicySetRequestBuilder) Request() *PolicySetRequest { return &PolicySetRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PolicySetRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetRequest) Get(ctx context.Context) (resObj *PolicySet, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for PolicySet
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetRequest) Update(ctx context.Context, reqObj *PolicySet) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PolicySet
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PolicySet
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *PolicySetAssignmentRequestBuilder) Request() *PolicySetAssignmentRequest { return &PolicySetAssignmentRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PolicySetAssignmentRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetAssignmentRequest) Get(ctx context.Context) (resObj *PolicySetAssignment, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for PolicySetAssignment
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetAssignmentRequest) Update(ctx context.Context, reqObj *PolicySetAssignment) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PolicySetAssignment
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetAssignmentRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PolicySetAssignment
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *PolicySetItemRequestBuilder) Request() *PolicySetItemRequest { return &PolicySetItemRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PolicySetItemRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetItemRequest) Get(ctx context.Context) (resObj *PolicySetItem, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for PolicySetItem
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetItemRequest) Update(ctx context.Context, reqObj *PolicySetItem) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PolicySetItem
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (r *PolicySetItemRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PolicySetItem
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *DeviceAppManagementPolicySetsCollectionRequestBuilder) GetPolicySets(reqObj *PolicySetCollectionGetPolicySetsRequestParameter) *PolicySetCollectionGetPolicySetsRequestBuilder { bb := &PolicySetCollectionGetPolicySetsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/getPolicySets" bb.BaseRequestBuilder.requestObject = reqObj return bb }
GetPolicySets action undocumented
GetPolicySets
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *PolicySetRequestBuilder) Update(reqObj *PolicySetUpdateRequestParameter) *PolicySetUpdateRequestBuilder { bb := &PolicySetUpdateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/update" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Update action undocumented
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPolicy.go
Apache-2.0
func (b *DocumentRequestBuilder) Request() *DocumentRequest { return &DocumentRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns DocumentRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentRequest) Get(ctx context.Context) (resObj *Document, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for Document
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentRequest) Update(ctx context.Context, reqObj *Document) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for Document
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for Document
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (b *DocumentCommentRequestBuilder) Request() *DocumentCommentRequest { return &DocumentCommentRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns DocumentCommentRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentRequest) Get(ctx context.Context) (resObj *DocumentComment, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for DocumentComment
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentRequest) Update(ctx context.Context, reqObj *DocumentComment) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for DocumentComment
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for DocumentComment
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (b *DocumentCommentReplyRequestBuilder) Request() *DocumentCommentReplyRequest { return &DocumentCommentReplyRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns DocumentCommentReplyRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentReplyRequest) Get(ctx context.Context) (resObj *DocumentCommentReply, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for DocumentCommentReply
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentReplyRequest) Update(ctx context.Context, reqObj *DocumentCommentReply) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for DocumentCommentReply
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (r *DocumentCommentReplyRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for DocumentCommentReply
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDocument.go
Apache-2.0
func (b *IntuneBrandingProfileRequestBuilder) Assignments() *IntuneBrandingProfileAssignmentsCollectionRequestBuilder { bb := &IntuneBrandingProfileAssignmentsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/assignments" return bb }
Assignments returns request builder for IntuneBrandingProfileAssignment collection
Assignments
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (b *IntuneBrandingProfileAssignmentsCollectionRequestBuilder) Request() *IntuneBrandingProfileAssignmentsCollectionRequest { return &IntuneBrandingProfileAssignmentsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for IntuneBrandingProfileAssignment collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (b *IntuneBrandingProfileAssignmentsCollectionRequestBuilder) ID(id string) *IntuneBrandingProfileAssignmentRequestBuilder { bb := &IntuneBrandingProfileAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for IntuneBrandingProfileAssignment item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (r *IntuneBrandingProfileAssignmentsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]IntuneBrandingProfileAssignment, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []IntuneBrandingProfileAssignment for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []IntuneBrandingProfileAssignment ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for IntuneBrandingProfileAssignment collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (r *IntuneBrandingProfileAssignmentsCollectionRequest) GetN(ctx context.Context, n int) ([]IntuneBrandingProfileAssignment, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for IntuneBrandingProfileAssignment collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (r *IntuneBrandingProfileAssignmentsCollectionRequest) Get(ctx context.Context) ([]IntuneBrandingProfileAssignment, error) { return r.GetN(ctx, 0) }
Get performs GET request for IntuneBrandingProfileAssignment collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (r *IntuneBrandingProfileAssignmentsCollectionRequest) Add(ctx context.Context, reqObj *IntuneBrandingProfileAssignment) (resObj *IntuneBrandingProfileAssignment, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for IntuneBrandingProfileAssignment collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIntune.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Exp(reqObj *WorkbookFunctionsExpRequestParameter) *WorkbookFunctionsExpRequestBuilder { bb := &WorkbookFunctionsExpRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/exp" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Exp action undocumented
Exp
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsExp.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsExp.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Power(reqObj *WorkbookFunctionsPowerRequestParameter) *WorkbookFunctionsPowerRequestBuilder { bb := &WorkbookFunctionsPowerRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/power" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Power action undocumented
Power
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsPower.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsPower.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Rank_Avg(reqObj *WorkbookFunctionsRank_AvgRequestParameter) *WorkbookFunctionsRank_AvgRequestBuilder { bb := &WorkbookFunctionsRank_AvgRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/rank_Avg" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Rank_Avg action undocumented
Rank_Avg
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRank_.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRank_.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Rank_Eq(reqObj *WorkbookFunctionsRank_EqRequestParameter) *WorkbookFunctionsRank_EqRequestBuilder { bb := &WorkbookFunctionsRank_EqRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/rank_Eq" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Rank_Eq action undocumented
Rank_Eq
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRank_.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRank_.go
Apache-2.0
func (b *EnterpriseCodeSigningCertificateRequestBuilder) Request() *EnterpriseCodeSigningCertificateRequest { return &EnterpriseCodeSigningCertificateRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns EnterpriseCodeSigningCertificateRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
Apache-2.0
func (r *EnterpriseCodeSigningCertificateRequest) Get(ctx context.Context) (resObj *EnterpriseCodeSigningCertificate, err error) { var query string if r.query != nil { query = "?" + r.query.Encode() } err = r.JSONRequest(ctx, "GET", query, nil, &resObj) return }
Get performs GET request for EnterpriseCodeSigningCertificate
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
Apache-2.0
func (r *EnterpriseCodeSigningCertificateRequest) Update(ctx context.Context, reqObj *EnterpriseCodeSigningCertificate) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for EnterpriseCodeSigningCertificate
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
Apache-2.0
func (r *EnterpriseCodeSigningCertificateRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for EnterpriseCodeSigningCertificate
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestEnterprise.go
Apache-2.0
func (b *ItemRequestBuilder) ItemCategory() *ItemCategoryRequestBuilder { bb := &ItemCategoryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/itemCategory" return bb }
ItemCategory is navigation property
ItemCategory
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemRequestBuilder) Picture() *ItemPictureCollectionRequestBuilder { bb := &ItemPictureCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/picture" return bb }
Picture returns request builder for Picture collection
Picture
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemPictureCollectionRequestBuilder) Request() *ItemPictureCollectionRequest { return &ItemPictureCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for Picture collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemPictureCollectionRequestBuilder) ID(id string) *PictureRequestBuilder { bb := &PictureRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for Picture item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemPictureCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Picture, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []Picture for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []Picture ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for Picture collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemPictureCollectionRequest) GetN(ctx context.Context, n int) ([]Picture, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for Picture collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemPictureCollectionRequest) Get(ctx context.Context) ([]Picture, error) { return r.GetN(ctx, 0) }
Get performs GET request for Picture collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemPictureCollectionRequest) Add(ctx context.Context, reqObj *Picture) (resObj *Picture, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for Picture collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityRequestBuilder) DriveItem() *DriveItemRequestBuilder { bb := &DriveItemRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/driveItem" return bb }
DriveItem is navigation property
DriveItem
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityOLDRequestBuilder) DriveItem() *DriveItemRequestBuilder { bb := &DriveItemRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/driveItem" return bb }
DriveItem is navigation property
DriveItem
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityOLDRequestBuilder) ListItem() *ListItemRequestBuilder { bb := &ListItemRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/listItem" return bb }
ListItem is navigation property
ListItem
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityStatRequestBuilder) Activities() *ItemActivityStatActivitiesCollectionRequestBuilder { bb := &ItemActivityStatActivitiesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/activities" return bb }
Activities returns request builder for ItemActivity collection
Activities
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityStatActivitiesCollectionRequestBuilder) Request() *ItemActivityStatActivitiesCollectionRequest { return &ItemActivityStatActivitiesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for ItemActivity collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemActivityStatActivitiesCollectionRequestBuilder) ID(id string) *ItemActivityRequestBuilder { bb := &ItemActivityRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for ItemActivity item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemActivityStatActivitiesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ItemActivity, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []ItemActivity for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []ItemActivity ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for ItemActivity collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemActivityStatActivitiesCollectionRequest) GetN(ctx context.Context, n int) ([]ItemActivity, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for ItemActivity collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemActivityStatActivitiesCollectionRequest) Get(ctx context.Context) ([]ItemActivity, error) { return r.GetN(ctx, 0) }
Get performs GET request for ItemActivity collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemActivityStatActivitiesCollectionRequest) Add(ctx context.Context, reqObj *ItemActivity) (resObj *ItemActivity, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for ItemActivity collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemAnalyticsRequestBuilder) AllTime() *ItemActivityStatRequestBuilder { bb := &ItemActivityStatRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/allTime" return bb }
AllTime is navigation property
AllTime
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemAnalyticsRequestBuilder) ItemActivityStats() *ItemAnalyticsItemActivityStatsCollectionRequestBuilder { bb := &ItemAnalyticsItemActivityStatsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/itemActivityStats" return bb }
ItemActivityStats returns request builder for ItemActivityStat collection
ItemActivityStats
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemAnalyticsItemActivityStatsCollectionRequestBuilder) Request() *ItemAnalyticsItemActivityStatsCollectionRequest { return &ItemAnalyticsItemActivityStatsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for ItemActivityStat collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (b *ItemAnalyticsItemActivityStatsCollectionRequestBuilder) ID(id string) *ItemActivityStatRequestBuilder { bb := &ItemActivityStatRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for ItemActivityStat item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemAnalyticsItemActivityStatsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ItemActivityStat, error) { req, err := r.NewJSONRequest(method, path, obj) if err != nil { return nil, err } if ctx != nil { req = req.WithContext(ctx) } res, err := r.client.Do(req) if err != nil { return nil, err } var values []ItemActivityStat for { if res.StatusCode != http.StatusOK { b, _ := ioutil.ReadAll(res.Body) res.Body.Close() errRes := &ErrorResponse{Response: res} err := jsonx.Unmarshal(b, errRes) if err != nil { return nil, fmt.Errorf("%s: %s", res.Status, string(b)) } return nil, errRes } var ( paging Paging value []ItemActivityStat ) err := jsonx.NewDecoder(res.Body).Decode(&paging) res.Body.Close() if err != nil { return nil, err } err = jsonx.Unmarshal(paging.Value, &value) if err != nil { return nil, err } values = append(values, value...) if n >= 0 { n-- } if n == 0 || len(paging.NextLink) == 0 { return values, nil } req, err = http.NewRequest("GET", paging.NextLink, nil) if ctx != nil { req = req.WithContext(ctx) } res, err = r.client.Do(req) if err != nil { return nil, err } } }
Paging perfoms paging operation for ItemActivityStat collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemAnalyticsItemActivityStatsCollectionRequest) GetN(ctx context.Context, n int) ([]ItemActivityStat, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for ItemActivityStat collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemAnalyticsItemActivityStatsCollectionRequest) Get(ctx context.Context) ([]ItemActivityStat, error) { return r.GetN(ctx, 0) }
Get performs GET request for ItemActivityStat collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0
func (r *ItemAnalyticsItemActivityStatsCollectionRequest) Add(ctx context.Context, reqObj *ItemActivityStat) (resObj *ItemActivityStat, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for ItemActivityStat collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionItem.go
Apache-2.0