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 (r *DeviceManagementSettingDefinitionsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingDefinition, 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 DeviceManagementSettingDefinition collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementSettingDefinitionsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingDefinition, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingDefinition collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementSettingDefinitionsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingDefinition) (resObj *DeviceManagementSettingDefinition, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingDefinition collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) SoftwareUpdateStatusSummary() *SoftwareUpdateStatusSummaryRequestBuilder { bb := &SoftwareUpdateStatusSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/softwareUpdateStatusSummary" return bb }
SoftwareUpdateStatusSummary is navigation property
SoftwareUpdateStatusSummary
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) TelecomExpenseManagementPartners() *DeviceManagementTelecomExpenseManagementPartnersCollectionRequestBuilder { bb := &DeviceManagementTelecomExpenseManagementPartnersCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/telecomExpenseManagementPartners" return bb }
TelecomExpenseManagementPartners returns request builder for TelecomExpenseManagementPartner collection
TelecomExpenseManagementPartners
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTelecomExpenseManagementPartnersCollectionRequestBuilder) Request() *DeviceManagementTelecomExpenseManagementPartnersCollectionRequest { return &DeviceManagementTelecomExpenseManagementPartnersCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for TelecomExpenseManagementPartner collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTelecomExpenseManagementPartnersCollectionRequestBuilder) ID(id string) *TelecomExpenseManagementPartnerRequestBuilder { bb := &TelecomExpenseManagementPartnerRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for TelecomExpenseManagementPartner item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTelecomExpenseManagementPartnersCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]TelecomExpenseManagementPartner, 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 []TelecomExpenseManagementPartner 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 []TelecomExpenseManagementPartner ) 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 TelecomExpenseManagementPartner collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTelecomExpenseManagementPartnersCollectionRequest) GetN(ctx context.Context, n int) ([]TelecomExpenseManagementPartner, 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 TelecomExpenseManagementPartner collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTelecomExpenseManagementPartnersCollectionRequest) Get(ctx context.Context) ([]TelecomExpenseManagementPartner, error) { return r.GetN(ctx, 0) }
Get performs GET request for TelecomExpenseManagementPartner collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTelecomExpenseManagementPartnersCollectionRequest) Add(ctx context.Context, reqObj *TelecomExpenseManagementPartner) (resObj *TelecomExpenseManagementPartner, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for TelecomExpenseManagementPartner collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) Templates() *DeviceManagementTemplatesCollectionRequestBuilder { bb := &DeviceManagementTemplatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/templates" return bb }
Templates returns request builder for DeviceManagementTemplate collection
Templates
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTemplatesCollectionRequestBuilder) Request() *DeviceManagementTemplatesCollectionRequest { return &DeviceManagementTemplatesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementTemplate collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTemplatesCollectionRequestBuilder) ID(id string) *DeviceManagementTemplateRequestBuilder { bb := &DeviceManagementTemplateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementTemplate item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTemplatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementTemplate, 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 []DeviceManagementTemplate 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 []DeviceManagementTemplate ) 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 DeviceManagementTemplate collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTemplatesCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementTemplate, 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 DeviceManagementTemplate collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTemplatesCollectionRequest) Get(ctx context.Context) ([]DeviceManagementTemplate, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementTemplate collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTemplatesCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementTemplate) (resObj *DeviceManagementTemplate, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementTemplate collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) TermsAndConditions() *DeviceManagementTermsAndConditionsCollectionRequestBuilder { bb := &DeviceManagementTermsAndConditionsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/termsAndConditions" return bb }
TermsAndConditions returns request builder for TermsAndConditions collection
TermsAndConditions
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTermsAndConditionsCollectionRequestBuilder) Request() *DeviceManagementTermsAndConditionsCollectionRequest { return &DeviceManagementTermsAndConditionsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for TermsAndConditions collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTermsAndConditionsCollectionRequestBuilder) ID(id string) *TermsAndConditionsRequestBuilder { bb := &TermsAndConditionsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for TermsAndConditions item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTermsAndConditionsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]TermsAndConditions, 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 []TermsAndConditions 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 []TermsAndConditions ) 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 TermsAndConditions collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTermsAndConditionsCollectionRequest) GetN(ctx context.Context, n int) ([]TermsAndConditions, 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 TermsAndConditions collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTermsAndConditionsCollectionRequest) Get(ctx context.Context) ([]TermsAndConditions, error) { return r.GetN(ctx, 0) }
Get performs GET request for TermsAndConditions collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTermsAndConditionsCollectionRequest) Add(ctx context.Context, reqObj *TermsAndConditions) (resObj *TermsAndConditions, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for TermsAndConditions collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) TroubleshootingEvents() *DeviceManagementTroubleshootingEventsCollectionRequestBuilder { bb := &DeviceManagementTroubleshootingEventsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/troubleshootingEvents" return bb }
TroubleshootingEvents returns request builder for DeviceManagementTroubleshootingEvent collection
TroubleshootingEvents
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTroubleshootingEventsCollectionRequestBuilder) Request() *DeviceManagementTroubleshootingEventsCollectionRequest { return &DeviceManagementTroubleshootingEventsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementTroubleshootingEvent collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementTroubleshootingEventsCollectionRequestBuilder) ID(id string) *DeviceManagementTroubleshootingEventRequestBuilder { bb := &DeviceManagementTroubleshootingEventRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementTroubleshootingEvent item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTroubleshootingEventsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementTroubleshootingEvent, 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 []DeviceManagementTroubleshootingEvent 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 []DeviceManagementTroubleshootingEvent ) 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 DeviceManagementTroubleshootingEvent collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTroubleshootingEventsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementTroubleshootingEvent, 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 DeviceManagementTroubleshootingEvent collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTroubleshootingEventsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementTroubleshootingEvent, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementTroubleshootingEvent collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementTroubleshootingEventsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementTroubleshootingEvent) (resObj *DeviceManagementTroubleshootingEvent, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementTroubleshootingEvent collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsBaselines() *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequestBuilder { bb := &DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsBaselines" return bb }
UserExperienceAnalyticsBaselines returns request builder for UserExperienceAnalyticsBaseline collection
UserExperienceAnalyticsBaselines
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequestBuilder) Request() *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest { return &DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UserExperienceAnalyticsBaseline collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequestBuilder) ID(id string) *UserExperienceAnalyticsBaselineRequestBuilder { bb := &UserExperienceAnalyticsBaselineRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UserExperienceAnalyticsBaseline item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UserExperienceAnalyticsBaseline, 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 []UserExperienceAnalyticsBaseline 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 []UserExperienceAnalyticsBaseline ) 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 UserExperienceAnalyticsBaseline collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest) GetN(ctx context.Context, n int) ([]UserExperienceAnalyticsBaseline, 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 UserExperienceAnalyticsBaseline collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest) Get(ctx context.Context) ([]UserExperienceAnalyticsBaseline, error) { return r.GetN(ctx, 0) }
Get performs GET request for UserExperienceAnalyticsBaseline collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsBaselinesCollectionRequest) Add(ctx context.Context, reqObj *UserExperienceAnalyticsBaseline) (resObj *UserExperienceAnalyticsBaseline, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UserExperienceAnalyticsBaseline collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsCategories() *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequestBuilder { bb := &DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsCategories" return bb }
UserExperienceAnalyticsCategories returns request builder for UserExperienceAnalyticsCategory collection
UserExperienceAnalyticsCategories
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequestBuilder) Request() *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest { return &DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UserExperienceAnalyticsCategory collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequestBuilder) ID(id string) *UserExperienceAnalyticsCategoryRequestBuilder { bb := &UserExperienceAnalyticsCategoryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UserExperienceAnalyticsCategory item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UserExperienceAnalyticsCategory, 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 []UserExperienceAnalyticsCategory 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 []UserExperienceAnalyticsCategory ) 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 UserExperienceAnalyticsCategory collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest) GetN(ctx context.Context, n int) ([]UserExperienceAnalyticsCategory, 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 UserExperienceAnalyticsCategory collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest) Get(ctx context.Context) ([]UserExperienceAnalyticsCategory, error) { return r.GetN(ctx, 0) }
Get performs GET request for UserExperienceAnalyticsCategory collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsCategoriesCollectionRequest) Add(ctx context.Context, reqObj *UserExperienceAnalyticsCategory) (resObj *UserExperienceAnalyticsCategory, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UserExperienceAnalyticsCategory collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsDevicePerformance() *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequestBuilder { bb := &DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsDevicePerformance" return bb }
UserExperienceAnalyticsDevicePerformance returns request builder for UserExperienceAnalyticsDevicePerformance collection
UserExperienceAnalyticsDevicePerformance
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequestBuilder) Request() *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest { return &DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UserExperienceAnalyticsDevicePerformance collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequestBuilder) ID(id string) *UserExperienceAnalyticsDevicePerformanceRequestBuilder { bb := &UserExperienceAnalyticsDevicePerformanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UserExperienceAnalyticsDevicePerformance item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UserExperienceAnalyticsDevicePerformance, 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 []UserExperienceAnalyticsDevicePerformance 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 []UserExperienceAnalyticsDevicePerformance ) 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 UserExperienceAnalyticsDevicePerformance collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest) GetN(ctx context.Context, n int) ([]UserExperienceAnalyticsDevicePerformance, 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 UserExperienceAnalyticsDevicePerformance collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest) Get(ctx context.Context) ([]UserExperienceAnalyticsDevicePerformance, error) { return r.GetN(ctx, 0) }
Get performs GET request for UserExperienceAnalyticsDevicePerformance collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDevicePerformanceCollectionRequest) Add(ctx context.Context, reqObj *UserExperienceAnalyticsDevicePerformance) (resObj *UserExperienceAnalyticsDevicePerformance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UserExperienceAnalyticsDevicePerformance collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsDeviceStartupHistory() *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequestBuilder { bb := &DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsDeviceStartupHistory" return bb }
UserExperienceAnalyticsDeviceStartupHistory returns request builder for UserExperienceAnalyticsDeviceStartupHistory collection
UserExperienceAnalyticsDeviceStartupHistory
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequestBuilder) Request() *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest { return &DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UserExperienceAnalyticsDeviceStartupHistory collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequestBuilder) ID(id string) *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder { bb := &UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UserExperienceAnalyticsDeviceStartupHistory item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UserExperienceAnalyticsDeviceStartupHistory, 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 []UserExperienceAnalyticsDeviceStartupHistory 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 []UserExperienceAnalyticsDeviceStartupHistory ) 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 UserExperienceAnalyticsDeviceStartupHistory collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest) GetN(ctx context.Context, n int) ([]UserExperienceAnalyticsDeviceStartupHistory, 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 UserExperienceAnalyticsDeviceStartupHistory collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest) Get(ctx context.Context) ([]UserExperienceAnalyticsDeviceStartupHistory, error) { return r.GetN(ctx, 0) }
Get performs GET request for UserExperienceAnalyticsDeviceStartupHistory collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserExperienceAnalyticsDeviceStartupHistoryCollectionRequest) Add(ctx context.Context, reqObj *UserExperienceAnalyticsDeviceStartupHistory) (resObj *UserExperienceAnalyticsDeviceStartupHistory, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UserExperienceAnalyticsDeviceStartupHistory collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsOverview() *UserExperienceAnalyticsOverviewRequestBuilder { bb := &UserExperienceAnalyticsOverviewRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsOverview" return bb }
UserExperienceAnalyticsOverview is navigation property
UserExperienceAnalyticsOverview
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserExperienceAnalyticsRegressionSummary() *UserExperienceAnalyticsRegressionSummaryRequestBuilder { bb := &UserExperienceAnalyticsRegressionSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userExperienceAnalyticsRegressionSummary" return bb }
UserExperienceAnalyticsRegressionSummary is navigation property
UserExperienceAnalyticsRegressionSummary
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) UserPfxCertificates() *DeviceManagementUserPfxCertificatesCollectionRequestBuilder { bb := &DeviceManagementUserPfxCertificatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userPfxCertificates" return bb }
UserPfxCertificates returns request builder for UserPFXCertificate collection
UserPfxCertificates
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserPfxCertificatesCollectionRequestBuilder) Request() *DeviceManagementUserPfxCertificatesCollectionRequest { return &DeviceManagementUserPfxCertificatesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for UserPFXCertificate collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementUserPfxCertificatesCollectionRequestBuilder) ID(id string) *UserPFXCertificateRequestBuilder { bb := &UserPFXCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for UserPFXCertificate item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserPfxCertificatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]UserPFXCertificate, 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 []UserPFXCertificate 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 []UserPFXCertificate ) 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 UserPFXCertificate collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserPfxCertificatesCollectionRequest) GetN(ctx context.Context, n int) ([]UserPFXCertificate, 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 UserPFXCertificate collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserPfxCertificatesCollectionRequest) Get(ctx context.Context) ([]UserPFXCertificate, error) { return r.GetN(ctx, 0) }
Get performs GET request for UserPFXCertificate collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementUserPfxCertificatesCollectionRequest) Add(ctx context.Context, reqObj *UserPFXCertificate) (resObj *UserPFXCertificate, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for UserPFXCertificate collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsAutopilotDeploymentProfiles() *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequestBuilder { bb := &DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsAutopilotDeploymentProfiles" return bb }
WindowsAutopilotDeploymentProfiles returns request builder for WindowsAutopilotDeploymentProfile collection
WindowsAutopilotDeploymentProfiles
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequestBuilder) Request() *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest { return &DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsAutopilotDeploymentProfile collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequestBuilder) ID(id string) *WindowsAutopilotDeploymentProfileRequestBuilder { bb := &WindowsAutopilotDeploymentProfileRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsAutopilotDeploymentProfile item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsAutopilotDeploymentProfile, 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 []WindowsAutopilotDeploymentProfile 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 []WindowsAutopilotDeploymentProfile ) 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 WindowsAutopilotDeploymentProfile collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsAutopilotDeploymentProfile, 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 WindowsAutopilotDeploymentProfile collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest) Get(ctx context.Context) ([]WindowsAutopilotDeploymentProfile, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsAutopilotDeploymentProfile collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeploymentProfilesCollectionRequest) Add(ctx context.Context, reqObj *WindowsAutopilotDeploymentProfile) (resObj *WindowsAutopilotDeploymentProfile, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsAutopilotDeploymentProfile collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsAutopilotDeviceIdentities() *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequestBuilder { bb := &DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsAutopilotDeviceIdentities" return bb }
WindowsAutopilotDeviceIdentities returns request builder for WindowsAutopilotDeviceIdentity collection
WindowsAutopilotDeviceIdentities
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequestBuilder) Request() *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest { return &DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsAutopilotDeviceIdentity collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequestBuilder) ID(id string) *WindowsAutopilotDeviceIdentityRequestBuilder { bb := &WindowsAutopilotDeviceIdentityRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsAutopilotDeviceIdentity item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsAutopilotDeviceIdentity, 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 []WindowsAutopilotDeviceIdentity 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 []WindowsAutopilotDeviceIdentity ) 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 WindowsAutopilotDeviceIdentity collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsAutopilotDeviceIdentity, 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 WindowsAutopilotDeviceIdentity collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest) Get(ctx context.Context) ([]WindowsAutopilotDeviceIdentity, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsAutopilotDeviceIdentity collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsAutopilotDeviceIdentitiesCollectionRequest) Add(ctx context.Context, reqObj *WindowsAutopilotDeviceIdentity) (resObj *WindowsAutopilotDeviceIdentity, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsAutopilotDeviceIdentity collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsAutopilotSettings() *WindowsAutopilotSettingsRequestBuilder { bb := &WindowsAutopilotSettingsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsAutopilotSettings" return bb }
WindowsAutopilotSettings is navigation property
WindowsAutopilotSettings
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsFeatureUpdateProfiles() *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequestBuilder { bb := &DeviceManagementWindowsFeatureUpdateProfilesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsFeatureUpdateProfiles" return bb }
WindowsFeatureUpdateProfiles returns request builder for WindowsFeatureUpdateProfile collection
WindowsFeatureUpdateProfiles
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequestBuilder) Request() *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest { return &DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsFeatureUpdateProfile collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequestBuilder) ID(id string) *WindowsFeatureUpdateProfileRequestBuilder { bb := &WindowsFeatureUpdateProfileRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsFeatureUpdateProfile item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsFeatureUpdateProfile, 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 []WindowsFeatureUpdateProfile 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 []WindowsFeatureUpdateProfile ) 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 WindowsFeatureUpdateProfile collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsFeatureUpdateProfile, 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 WindowsFeatureUpdateProfile collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest) Get(ctx context.Context) ([]WindowsFeatureUpdateProfile, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsFeatureUpdateProfile collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsFeatureUpdateProfilesCollectionRequest) Add(ctx context.Context, reqObj *WindowsFeatureUpdateProfile) (resObj *WindowsFeatureUpdateProfile, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsFeatureUpdateProfile collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsInformationProtectionAppLearningSummaries() *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequestBuilder { bb := &DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsInformationProtectionAppLearningSummaries" return bb }
WindowsInformationProtectionAppLearningSummaries returns request builder for WindowsInformationProtectionAppLearningSummary collection
WindowsInformationProtectionAppLearningSummaries
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequestBuilder) Request() *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest { return &DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsInformationProtectionAppLearningSummary collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequestBuilder) ID(id string) *WindowsInformationProtectionAppLearningSummaryRequestBuilder { bb := &WindowsInformationProtectionAppLearningSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsInformationProtectionAppLearningSummary item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsInformationProtectionAppLearningSummary, 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 []WindowsInformationProtectionAppLearningSummary 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 []WindowsInformationProtectionAppLearningSummary ) 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 WindowsInformationProtectionAppLearningSummary collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsInformationProtectionAppLearningSummary, 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 WindowsInformationProtectionAppLearningSummary collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest) Get(ctx context.Context) ([]WindowsInformationProtectionAppLearningSummary, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsInformationProtectionAppLearningSummary collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (r *DeviceManagementWindowsInformationProtectionAppLearningSummariesCollectionRequest) Add(ctx context.Context, reqObj *WindowsInformationProtectionAppLearningSummary) (resObj *WindowsInformationProtectionAppLearningSummary, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsInformationProtectionAppLearningSummary collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementRequestBuilder) WindowsInformationProtectionNetworkLearningSummaries() *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequestBuilder { bb := &DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsInformationProtectionNetworkLearningSummaries" return bb }
WindowsInformationProtectionNetworkLearningSummaries returns request builder for WindowsInformationProtectionNetworkLearningSummary collection
WindowsInformationProtectionNetworkLearningSummaries
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0
func (b *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequestBuilder) Request() *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest { return &DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsInformationProtectionNetworkLearningSummary collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionDevice.go
Apache-2.0