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 *EducationRootRequestBuilder) SynchronizationProfiles() *EducationRootSynchronizationProfilesCollectionRequestBuilder { bb := &EducationRootSynchronizationProfilesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/synchronizationProfiles" return bb }
SynchronizationProfiles returns request builder for EducationSynchronizationProfile collection
SynchronizationProfiles
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationRootSynchronizationProfilesCollectionRequestBuilder) Request() *EducationRootSynchronizationProfilesCollectionRequest { return &EducationRootSynchronizationProfilesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationSynchronizationProfile collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationRootSynchronizationProfilesCollectionRequestBuilder) ID(id string) *EducationSynchronizationProfileRequestBuilder { bb := &EducationSynchronizationProfileRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationSynchronizationProfile item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootSynchronizationProfilesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationSynchronizationProfile, 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 []EducationSynchronizationProfile 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 []EducationSynchronizationProfile ) 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 EducationSynchronizationProfile collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootSynchronizationProfilesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationSynchronizationProfile, 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 EducationSynchronizationProfile collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootSynchronizationProfilesCollectionRequest) Get(ctx context.Context) ([]EducationSynchronizationProfile, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationSynchronizationProfile collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootSynchronizationProfilesCollectionRequest) Add(ctx context.Context, reqObj *EducationSynchronizationProfile) (resObj *EducationSynchronizationProfile, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationSynchronizationProfile collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationRootRequestBuilder) Users() *EducationRootUsersCollectionRequestBuilder { bb := &EducationRootUsersCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/users" return bb }
Users returns request builder for EducationUser collection
Users
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationRootUsersCollectionRequestBuilder) Request() *EducationRootUsersCollectionRequest { return &EducationRootUsersCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationUser collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationRootUsersCollectionRequestBuilder) ID(id string) *EducationUserRequestBuilder { bb := &EducationUserRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationUser item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootUsersCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationUser, 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 []EducationUser 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 []EducationUser ) 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 EducationUser collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootUsersCollectionRequest) GetN(ctx context.Context, n int) ([]EducationUser, 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 EducationUser collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootUsersCollectionRequest) Get(ctx context.Context) ([]EducationUser, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationUser collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationRootUsersCollectionRequest) Add(ctx context.Context, reqObj *EducationUser) (resObj *EducationUser, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationUser collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolRequestBuilder) AdministrativeUnit() *AdministrativeUnitRequestBuilder { bb := &AdministrativeUnitRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/administrativeUnit" return bb }
AdministrativeUnit is navigation property
AdministrativeUnit
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolRequestBuilder) Classes() *EducationSchoolClassesCollectionRequestBuilder { bb := &EducationSchoolClassesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/classes" return bb }
Classes returns request builder for EducationClass collection
Classes
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolClassesCollectionRequestBuilder) Request() *EducationSchoolClassesCollectionRequest { return &EducationSchoolClassesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationClass collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolClassesCollectionRequestBuilder) ID(id string) *EducationClassRequestBuilder { bb := &EducationClassRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationClass item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolClassesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationClass, 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 []EducationClass 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 []EducationClass ) 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 EducationClass collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolClassesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationClass, 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 EducationClass collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolClassesCollectionRequest) Get(ctx context.Context) ([]EducationClass, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationClass collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolClassesCollectionRequest) Add(ctx context.Context, reqObj *EducationClass) (resObj *EducationClass, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationClass collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolRequestBuilder) Users() *EducationSchoolUsersCollectionRequestBuilder { bb := &EducationSchoolUsersCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/users" return bb }
Users returns request builder for EducationUser collection
Users
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolUsersCollectionRequestBuilder) Request() *EducationSchoolUsersCollectionRequest { return &EducationSchoolUsersCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationUser collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSchoolUsersCollectionRequestBuilder) ID(id string) *EducationUserRequestBuilder { bb := &EducationUserRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationUser item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolUsersCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationUser, 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 []EducationUser 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 []EducationUser ) 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 EducationUser collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolUsersCollectionRequest) GetN(ctx context.Context, n int) ([]EducationUser, 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 EducationUser collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolUsersCollectionRequest) Get(ctx context.Context) ([]EducationUser, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationUser collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSchoolUsersCollectionRequest) Add(ctx context.Context, reqObj *EducationUser) (resObj *EducationUser, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationUser collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionRequestBuilder) Outcomes() *EducationSubmissionOutcomesCollectionRequestBuilder { bb := &EducationSubmissionOutcomesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/outcomes" return bb }
Outcomes returns request builder for EducationOutcome collection
Outcomes
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionOutcomesCollectionRequestBuilder) Request() *EducationSubmissionOutcomesCollectionRequest { return &EducationSubmissionOutcomesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationOutcome collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionOutcomesCollectionRequestBuilder) ID(id string) *EducationOutcomeRequestBuilder { bb := &EducationOutcomeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationOutcome item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionOutcomesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationOutcome, 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 []EducationOutcome 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 []EducationOutcome ) 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 EducationOutcome collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionOutcomesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationOutcome, 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 EducationOutcome collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionOutcomesCollectionRequest) Get(ctx context.Context) ([]EducationOutcome, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationOutcome collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionOutcomesCollectionRequest) Add(ctx context.Context, reqObj *EducationOutcome) (resObj *EducationOutcome, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationOutcome collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionRequestBuilder) Resources() *EducationSubmissionResourcesCollectionRequestBuilder { bb := &EducationSubmissionResourcesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/resources" return bb }
Resources returns request builder for EducationSubmissionResource collection
Resources
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionResourcesCollectionRequestBuilder) Request() *EducationSubmissionResourcesCollectionRequest { return &EducationSubmissionResourcesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationSubmissionResource collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionResourcesCollectionRequestBuilder) ID(id string) *EducationSubmissionResourceRequestBuilder { bb := &EducationSubmissionResourceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationSubmissionResource item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionResourcesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationSubmissionResource, 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 []EducationSubmissionResource 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 []EducationSubmissionResource ) 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 EducationSubmissionResource collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionResourcesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationSubmissionResource, 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 EducationSubmissionResource collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionResourcesCollectionRequest) Get(ctx context.Context) ([]EducationSubmissionResource, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationSubmissionResource collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionResourcesCollectionRequest) Add(ctx context.Context, reqObj *EducationSubmissionResource) (resObj *EducationSubmissionResource, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationSubmissionResource collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionRequestBuilder) SubmittedResources() *EducationSubmissionSubmittedResourcesCollectionRequestBuilder { bb := &EducationSubmissionSubmittedResourcesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/submittedResources" return bb }
SubmittedResources returns request builder for EducationSubmissionResource collection
SubmittedResources
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionSubmittedResourcesCollectionRequestBuilder) Request() *EducationSubmissionSubmittedResourcesCollectionRequest { return &EducationSubmissionSubmittedResourcesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationSubmissionResource collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSubmissionSubmittedResourcesCollectionRequestBuilder) ID(id string) *EducationSubmissionResourceRequestBuilder { bb := &EducationSubmissionResourceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationSubmissionResource item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionSubmittedResourcesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationSubmissionResource, 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 []EducationSubmissionResource 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 []EducationSubmissionResource ) 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 EducationSubmissionResource collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionSubmittedResourcesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationSubmissionResource, 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 EducationSubmissionResource collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionSubmittedResourcesCollectionRequest) Get(ctx context.Context) ([]EducationSubmissionResource, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationSubmissionResource collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSubmissionSubmittedResourcesCollectionRequest) Add(ctx context.Context, reqObj *EducationSubmissionResource) (resObj *EducationSubmissionResource, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationSubmissionResource collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSynchronizationProfileRequestBuilder) Errors() *EducationSynchronizationProfileErrorsCollectionRequestBuilder { bb := &EducationSynchronizationProfileErrorsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/errors" return bb }
Errors returns request builder for EducationSynchronizationError collection
Errors
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSynchronizationProfileErrorsCollectionRequestBuilder) Request() *EducationSynchronizationProfileErrorsCollectionRequest { return &EducationSynchronizationProfileErrorsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationSynchronizationError collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSynchronizationProfileErrorsCollectionRequestBuilder) ID(id string) *EducationSynchronizationErrorRequestBuilder { bb := &EducationSynchronizationErrorRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationSynchronizationError item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSynchronizationProfileErrorsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationSynchronizationError, 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 []EducationSynchronizationError 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 []EducationSynchronizationError ) 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 EducationSynchronizationError collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSynchronizationProfileErrorsCollectionRequest) GetN(ctx context.Context, n int) ([]EducationSynchronizationError, 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 EducationSynchronizationError collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSynchronizationProfileErrorsCollectionRequest) Get(ctx context.Context) ([]EducationSynchronizationError, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationSynchronizationError collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationSynchronizationProfileErrorsCollectionRequest) Add(ctx context.Context, reqObj *EducationSynchronizationError) (resObj *EducationSynchronizationError, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationSynchronizationError collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationSynchronizationProfileRequestBuilder) ProfileStatus() *EducationSynchronizationProfileStatusRequestBuilder { bb := &EducationSynchronizationProfileStatusRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/profileStatus" return bb }
ProfileStatus is navigation property
ProfileStatus
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) Assignments() *EducationUserAssignmentsCollectionRequestBuilder { bb := &EducationUserAssignmentsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/assignments" return bb }
Assignments returns request builder for EducationAssignment collection
Assignments
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserAssignmentsCollectionRequestBuilder) Request() *EducationUserAssignmentsCollectionRequest { return &EducationUserAssignmentsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationAssignment collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserAssignmentsCollectionRequestBuilder) ID(id string) *EducationAssignmentRequestBuilder { bb := &EducationAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationAssignment item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserAssignmentsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationAssignment, 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 []EducationAssignment 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 []EducationAssignment ) 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 EducationAssignment collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserAssignmentsCollectionRequest) GetN(ctx context.Context, n int) ([]EducationAssignment, 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 EducationAssignment collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserAssignmentsCollectionRequest) Get(ctx context.Context) ([]EducationAssignment, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationAssignment collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserAssignmentsCollectionRequest) Add(ctx context.Context, reqObj *EducationAssignment) (resObj *EducationAssignment, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationAssignment collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) Classes() *EducationUserClassesCollectionRequestBuilder { bb := &EducationUserClassesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/classes" return bb }
Classes returns request builder for EducationClass collection
Classes
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserClassesCollectionRequestBuilder) Request() *EducationUserClassesCollectionRequest { return &EducationUserClassesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationClass collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserClassesCollectionRequestBuilder) ID(id string) *EducationClassRequestBuilder { bb := &EducationClassRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationClass item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserClassesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationClass, 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 []EducationClass 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 []EducationClass ) 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 EducationClass collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserClassesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationClass, 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 EducationClass collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserClassesCollectionRequest) Get(ctx context.Context) ([]EducationClass, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationClass collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserClassesCollectionRequest) Add(ctx context.Context, reqObj *EducationClass) (resObj *EducationClass, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationClass collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) Rubrics() *EducationUserRubricsCollectionRequestBuilder { bb := &EducationUserRubricsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/rubrics" return bb }
Rubrics returns request builder for EducationRubric collection
Rubrics
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRubricsCollectionRequestBuilder) Request() *EducationUserRubricsCollectionRequest { return &EducationUserRubricsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationRubric collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRubricsCollectionRequestBuilder) ID(id string) *EducationRubricRequestBuilder { bb := &EducationRubricRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationRubric item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserRubricsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationRubric, 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 []EducationRubric 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 []EducationRubric ) 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 EducationRubric collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserRubricsCollectionRequest) GetN(ctx context.Context, n int) ([]EducationRubric, 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 EducationRubric collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserRubricsCollectionRequest) Get(ctx context.Context) ([]EducationRubric, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationRubric collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserRubricsCollectionRequest) Add(ctx context.Context, reqObj *EducationRubric) (resObj *EducationRubric, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationRubric collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) Schools() *EducationUserSchoolsCollectionRequestBuilder { bb := &EducationUserSchoolsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/schools" return bb }
Schools returns request builder for EducationSchool collection
Schools
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserSchoolsCollectionRequestBuilder) Request() *EducationUserSchoolsCollectionRequest { return &EducationUserSchoolsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationSchool collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserSchoolsCollectionRequestBuilder) ID(id string) *EducationSchoolRequestBuilder { bb := &EducationSchoolRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationSchool item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserSchoolsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationSchool, 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 []EducationSchool 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 []EducationSchool ) 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 EducationSchool collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserSchoolsCollectionRequest) GetN(ctx context.Context, n int) ([]EducationSchool, 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 EducationSchool collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserSchoolsCollectionRequest) Get(ctx context.Context) ([]EducationSchool, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationSchool collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserSchoolsCollectionRequest) Add(ctx context.Context, reqObj *EducationSchool) (resObj *EducationSchool, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationSchool collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) TaughtClasses() *EducationUserTaughtClassesCollectionRequestBuilder { bb := &EducationUserTaughtClassesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/taughtClasses" return bb }
TaughtClasses returns request builder for EducationClass collection
TaughtClasses
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserTaughtClassesCollectionRequestBuilder) Request() *EducationUserTaughtClassesCollectionRequest { return &EducationUserTaughtClassesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for EducationClass collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserTaughtClassesCollectionRequestBuilder) ID(id string) *EducationClassRequestBuilder { bb := &EducationClassRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for EducationClass item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserTaughtClassesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]EducationClass, 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 []EducationClass 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 []EducationClass ) 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 EducationClass collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserTaughtClassesCollectionRequest) GetN(ctx context.Context, n int) ([]EducationClass, 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 EducationClass collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserTaughtClassesCollectionRequest) Get(ctx context.Context) ([]EducationClass, error) { return r.GetN(ctx, 0) }
Get performs GET request for EducationClass collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (r *EducationUserTaughtClassesCollectionRequest) Add(ctx context.Context, reqObj *EducationClass) (resObj *EducationClass, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for EducationClass collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *EducationUserRequestBuilder) User() *UserRequestBuilder { bb := &UserRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/user" return bb }
User is navigation property
User
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Cos(reqObj *WorkbookFunctionsCosRequestParameter) *WorkbookFunctionsCosRequestBuilder { bb := &WorkbookFunctionsCosRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/cos" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Cos action undocumented
Cos
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCos.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCos.go
Apache-2.0
func (b *RestrictedAppsViolationRequestBuilder) Request() *RestrictedAppsViolationRequest { return &RestrictedAppsViolationRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns RestrictedAppsViolationRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
Apache-2.0
func (r *RestrictedAppsViolationRequest) Get(ctx context.Context) (resObj *RestrictedAppsViolation, 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 RestrictedAppsViolation
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
Apache-2.0
func (r *RestrictedAppsViolationRequest) Update(ctx context.Context, reqObj *RestrictedAppsViolation) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for RestrictedAppsViolation
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
Apache-2.0
func (r *RestrictedAppsViolationRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for RestrictedAppsViolation
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
Apache-2.0
func (b *RestrictedSignInRequestBuilder) Request() *RestrictedSignInRequest { return &RestrictedSignInRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns RestrictedSignInRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestRestricted.go
Apache-2.0