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 *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequestBuilder) ID(id string) *WindowsInformationProtectionNetworkLearningSummaryRequestBuilder { bb := &WindowsInformationProtectionNetworkLearningSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsInformationProtectionNetworkLearningSummary 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 *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsInformationProtectionNetworkLearningSummary, 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 []WindowsInformationProtectionNetworkLearningSummary 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 []WindowsInformationProtectionNetworkLearningSummary ) 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 WindowsInformationProtectionNetworkLearningSummary 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 *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsInformationProtectionNetworkLearningSummary, 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 WindowsInformationProtectionNetworkLearningSummary 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 *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest) Get(ctx context.Context) ([]WindowsInformationProtectionNetworkLearningSummary, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsInformationProtectionNetworkLearningSummary 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 *DeviceManagementWindowsInformationProtectionNetworkLearningSummariesCollectionRequest) Add(ctx context.Context, reqObj *WindowsInformationProtectionNetworkLearningSummary) (resObj *WindowsInformationProtectionNetworkLearningSummary, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsInformationProtectionNetworkLearningSummary 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) WindowsMalwareInformation() *DeviceManagementWindowsMalwareInformationCollectionRequestBuilder { bb := &DeviceManagementWindowsMalwareInformationCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/windowsMalwareInformation" return bb }
WindowsMalwareInformation returns request builder for WindowsMalwareInformation collection
WindowsMalwareInformation
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 *DeviceManagementWindowsMalwareInformationCollectionRequestBuilder) Request() *DeviceManagementWindowsMalwareInformationCollectionRequest { return &DeviceManagementWindowsMalwareInformationCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for WindowsMalwareInformation 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 *DeviceManagementWindowsMalwareInformationCollectionRequestBuilder) ID(id string) *WindowsMalwareInformationRequestBuilder { bb := &WindowsMalwareInformationRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for WindowsMalwareInformation 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 *DeviceManagementWindowsMalwareInformationCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsMalwareInformation, 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 []WindowsMalwareInformation 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 []WindowsMalwareInformation ) 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 WindowsMalwareInformation 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 *DeviceManagementWindowsMalwareInformationCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsMalwareInformation, 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 WindowsMalwareInformation 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 *DeviceManagementWindowsMalwareInformationCollectionRequest) Get(ctx context.Context) ([]WindowsMalwareInformation, error) { return r.GetN(ctx, 0) }
Get performs GET request for WindowsMalwareInformation 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 *DeviceManagementWindowsMalwareInformationCollectionRequest) Add(ctx context.Context, reqObj *WindowsMalwareInformation) (resObj *WindowsMalwareInformation, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for WindowsMalwareInformation 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 *DeviceManagementAbstractComplexSettingInstanceRequestBuilder) Value() *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequestBuilder { bb := &DeviceManagementAbstractComplexSettingInstanceValueCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/value" return bb }
Value returns request builder for DeviceManagementSettingInstance collection
Value
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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequestBuilder) Request() *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest { return &DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementSettingInstance 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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequestBuilder) ID(id string) *DeviceManagementSettingInstanceRequestBuilder { bb := &DeviceManagementSettingInstanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementSettingInstance 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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementSettingInstance, 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 []DeviceManagementSettingInstance 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 []DeviceManagementSettingInstance ) 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 DeviceManagementSettingInstance 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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingInstance, 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 DeviceManagementSettingInstance 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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingInstance, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingInstance 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 *DeviceManagementAbstractComplexSettingInstanceValueCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingInstance) (resObj *DeviceManagementSettingInstance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceRequestBuilder) Value() *DeviceManagementCollectionSettingInstanceValueCollectionRequestBuilder { bb := &DeviceManagementCollectionSettingInstanceValueCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/value" return bb }
Value returns request builder for DeviceManagementSettingInstance collection
Value
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 *DeviceManagementCollectionSettingInstanceValueCollectionRequestBuilder) Request() *DeviceManagementCollectionSettingInstanceValueCollectionRequest { return &DeviceManagementCollectionSettingInstanceValueCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceValueCollectionRequestBuilder) ID(id string) *DeviceManagementSettingInstanceRequestBuilder { bb := &DeviceManagementSettingInstanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceValueCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementSettingInstance, 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 []DeviceManagementSettingInstance 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 []DeviceManagementSettingInstance ) 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 DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceValueCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingInstance, 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 DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceValueCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingInstance, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingInstance 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 *DeviceManagementCollectionSettingInstanceValueCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingInstance) (resObj *DeviceManagementSettingInstance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceRequestBuilder) Value() *DeviceManagementComplexSettingInstanceValueCollectionRequestBuilder { bb := &DeviceManagementComplexSettingInstanceValueCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/value" return bb }
Value returns request builder for DeviceManagementSettingInstance collection
Value
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 *DeviceManagementComplexSettingInstanceValueCollectionRequestBuilder) Request() *DeviceManagementComplexSettingInstanceValueCollectionRequest { return &DeviceManagementComplexSettingInstanceValueCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceValueCollectionRequestBuilder) ID(id string) *DeviceManagementSettingInstanceRequestBuilder { bb := &DeviceManagementSettingInstanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceValueCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementSettingInstance, 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 []DeviceManagementSettingInstance 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 []DeviceManagementSettingInstance ) 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 DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceValueCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingInstance, 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 DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceValueCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingInstance, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingInstance 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 *DeviceManagementComplexSettingInstanceValueCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingInstance) (resObj *DeviceManagementSettingInstance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingInstance 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 *DeviceManagementExchangeOnPremisesPolicyRequestBuilder) ConditionalAccessSettings() *OnPremisesConditionalAccessSettingsRequestBuilder { bb := &OnPremisesConditionalAccessSettingsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/conditionalAccessSettings" return bb }
ConditionalAccessSettings is navigation property
ConditionalAccessSettings
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 *DeviceManagementIntentRequestBuilder) Assignments() *DeviceManagementIntentAssignmentsCollectionRequestBuilder { bb := &DeviceManagementIntentAssignmentsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/assignments" return bb }
Assignments returns request builder for DeviceManagementIntentAssignment collection
Assignments
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 *DeviceManagementIntentAssignmentsCollectionRequestBuilder) Request() *DeviceManagementIntentAssignmentsCollectionRequest { return &DeviceManagementIntentAssignmentsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementIntentAssignment 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 *DeviceManagementIntentAssignmentsCollectionRequestBuilder) ID(id string) *DeviceManagementIntentAssignmentRequestBuilder { bb := &DeviceManagementIntentAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementIntentAssignment 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 *DeviceManagementIntentAssignmentsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementIntentAssignment, 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 []DeviceManagementIntentAssignment 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 []DeviceManagementIntentAssignment ) 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 DeviceManagementIntentAssignment 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 *DeviceManagementIntentAssignmentsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementIntentAssignment, 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 DeviceManagementIntentAssignment 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 *DeviceManagementIntentAssignmentsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementIntentAssignment, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementIntentAssignment 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 *DeviceManagementIntentAssignmentsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementIntentAssignment) (resObj *DeviceManagementIntentAssignment, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementIntentAssignment 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 *DeviceManagementIntentRequestBuilder) Categories() *DeviceManagementIntentCategoriesCollectionRequestBuilder { bb := &DeviceManagementIntentCategoriesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/categories" return bb }
Categories returns request builder for DeviceManagementIntentSettingCategory collection
Categories
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 *DeviceManagementIntentCategoriesCollectionRequestBuilder) Request() *DeviceManagementIntentCategoriesCollectionRequest { return &DeviceManagementIntentCategoriesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentCategoriesCollectionRequestBuilder) ID(id string) *DeviceManagementIntentSettingCategoryRequestBuilder { bb := &DeviceManagementIntentSettingCategoryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentCategoriesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementIntentSettingCategory, 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 []DeviceManagementIntentSettingCategory 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 []DeviceManagementIntentSettingCategory ) 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 DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentCategoriesCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementIntentSettingCategory, 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 DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentCategoriesCollectionRequest) Get(ctx context.Context) ([]DeviceManagementIntentSettingCategory, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentCategoriesCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementIntentSettingCategory) (resObj *DeviceManagementIntentSettingCategory, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementIntentSettingCategory 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 *DeviceManagementIntentRequestBuilder) DeviceSettingStateSummaries() *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequestBuilder { bb := &DeviceManagementIntentDeviceSettingStateSummariesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/deviceSettingStateSummaries" return bb }
DeviceSettingStateSummaries returns request builder for DeviceManagementIntentDeviceSettingStateSummary collection
DeviceSettingStateSummaries
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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequestBuilder) Request() *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest { return &DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequestBuilder) ID(id string) *DeviceManagementIntentDeviceSettingStateSummaryRequestBuilder { bb := &DeviceManagementIntentDeviceSettingStateSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementIntentDeviceSettingStateSummary, 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 []DeviceManagementIntentDeviceSettingStateSummary 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 []DeviceManagementIntentDeviceSettingStateSummary ) 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 DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementIntentDeviceSettingStateSummary, 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 DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest) Get(ctx context.Context) ([]DeviceManagementIntentDeviceSettingStateSummary, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentDeviceSettingStateSummariesCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementIntentDeviceSettingStateSummary) (resObj *DeviceManagementIntentDeviceSettingStateSummary, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementIntentDeviceSettingStateSummary 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 *DeviceManagementIntentRequestBuilder) DeviceStateSummary() *DeviceManagementIntentDeviceStateSummaryRequestBuilder { bb := &DeviceManagementIntentDeviceStateSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/deviceStateSummary" return bb }
DeviceStateSummary is navigation property
DeviceStateSummary
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 *DeviceManagementIntentRequestBuilder) DeviceStates() *DeviceManagementIntentDeviceStatesCollectionRequestBuilder { bb := &DeviceManagementIntentDeviceStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/deviceStates" return bb }
DeviceStates returns request builder for DeviceManagementIntentDeviceState collection
DeviceStates
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 *DeviceManagementIntentDeviceStatesCollectionRequestBuilder) Request() *DeviceManagementIntentDeviceStatesCollectionRequest { return &DeviceManagementIntentDeviceStatesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementIntentDeviceState 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 *DeviceManagementIntentDeviceStatesCollectionRequestBuilder) ID(id string) *DeviceManagementIntentDeviceStateRequestBuilder { bb := &DeviceManagementIntentDeviceStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementIntentDeviceState 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 *DeviceManagementIntentDeviceStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementIntentDeviceState, 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 []DeviceManagementIntentDeviceState 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 []DeviceManagementIntentDeviceState ) 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 DeviceManagementIntentDeviceState 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 *DeviceManagementIntentDeviceStatesCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementIntentDeviceState, 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 DeviceManagementIntentDeviceState 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 *DeviceManagementIntentDeviceStatesCollectionRequest) Get(ctx context.Context) ([]DeviceManagementIntentDeviceState, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementIntentDeviceState 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 *DeviceManagementIntentDeviceStatesCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementIntentDeviceState) (resObj *DeviceManagementIntentDeviceState, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementIntentDeviceState 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 *DeviceManagementIntentRequestBuilder) Settings() *DeviceManagementIntentSettingsCollectionRequestBuilder { bb := &DeviceManagementIntentSettingsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/settings" return bb }
Settings returns request builder for DeviceManagementSettingInstance collection
Settings
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 *DeviceManagementIntentSettingsCollectionRequestBuilder) Request() *DeviceManagementIntentSettingsCollectionRequest { return &DeviceManagementIntentSettingsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingsCollectionRequestBuilder) ID(id string) *DeviceManagementSettingInstanceRequestBuilder { bb := &DeviceManagementSettingInstanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementSettingInstance, 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 []DeviceManagementSettingInstance 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 []DeviceManagementSettingInstance ) 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 DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingInstance, 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 DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingInstance, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingInstance) (resObj *DeviceManagementSettingInstance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingInstance 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 *DeviceManagementIntentRequestBuilder) UserStateSummary() *DeviceManagementIntentUserStateSummaryRequestBuilder { bb := &DeviceManagementIntentUserStateSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userStateSummary" return bb }
UserStateSummary is navigation property
UserStateSummary
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 *DeviceManagementIntentRequestBuilder) UserStates() *DeviceManagementIntentUserStatesCollectionRequestBuilder { bb := &DeviceManagementIntentUserStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userStates" return bb }
UserStates returns request builder for DeviceManagementIntentUserState collection
UserStates
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 *DeviceManagementIntentUserStatesCollectionRequestBuilder) Request() *DeviceManagementIntentUserStatesCollectionRequest { return &DeviceManagementIntentUserStatesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementIntentUserState 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 *DeviceManagementIntentUserStatesCollectionRequestBuilder) ID(id string) *DeviceManagementIntentUserStateRequestBuilder { bb := &DeviceManagementIntentUserStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementIntentUserState 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 *DeviceManagementIntentUserStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementIntentUserState, 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 []DeviceManagementIntentUserState 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 []DeviceManagementIntentUserState ) 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 DeviceManagementIntentUserState 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 *DeviceManagementIntentUserStatesCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementIntentUserState, 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 DeviceManagementIntentUserState 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 *DeviceManagementIntentUserStatesCollectionRequest) Get(ctx context.Context) ([]DeviceManagementIntentUserState, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementIntentUserState 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 *DeviceManagementIntentUserStatesCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementIntentUserState) (resObj *DeviceManagementIntentUserState, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementIntentUserState 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 *DeviceManagementIntentSettingCategoryRequestBuilder) Settings() *DeviceManagementIntentSettingCategorySettingsCollectionRequestBuilder { bb := &DeviceManagementIntentSettingCategorySettingsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/settings" return bb }
Settings returns request builder for DeviceManagementSettingInstance collection
Settings
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 *DeviceManagementIntentSettingCategorySettingsCollectionRequestBuilder) Request() *DeviceManagementIntentSettingCategorySettingsCollectionRequest { return &DeviceManagementIntentSettingCategorySettingsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingCategorySettingsCollectionRequestBuilder) ID(id string) *DeviceManagementSettingInstanceRequestBuilder { bb := &DeviceManagementSettingInstanceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingCategorySettingsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementSettingInstance, 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 []DeviceManagementSettingInstance 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 []DeviceManagementSettingInstance ) 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 DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingCategorySettingsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementSettingInstance, 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 DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingCategorySettingsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementSettingInstance, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementSettingInstance 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 *DeviceManagementIntentSettingCategorySettingsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementSettingInstance) (resObj *DeviceManagementSettingInstance, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementSettingInstance 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 *DeviceManagementReportsRequestBuilder) CachedReportConfigurations() *DeviceManagementReportsCachedReportConfigurationsCollectionRequestBuilder { bb := &DeviceManagementReportsCachedReportConfigurationsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/cachedReportConfigurations" return bb }
CachedReportConfigurations returns request builder for DeviceManagementCachedReportConfiguration collection
CachedReportConfigurations
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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequestBuilder) Request() *DeviceManagementReportsCachedReportConfigurationsCollectionRequest { return &DeviceManagementReportsCachedReportConfigurationsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequestBuilder) ID(id string) *DeviceManagementCachedReportConfigurationRequestBuilder { bb := &DeviceManagementCachedReportConfigurationRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementCachedReportConfiguration, 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 []DeviceManagementCachedReportConfiguration 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 []DeviceManagementCachedReportConfiguration ) 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 DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementCachedReportConfiguration, 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 DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementCachedReportConfiguration, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsCachedReportConfigurationsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementCachedReportConfiguration) (resObj *DeviceManagementCachedReportConfiguration, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementCachedReportConfiguration 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 *DeviceManagementReportsRequestBuilder) ExportJobs() *DeviceManagementReportsExportJobsCollectionRequestBuilder { bb := &DeviceManagementReportsExportJobsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/exportJobs" return bb }
ExportJobs returns request builder for DeviceManagementExportJob collection
ExportJobs
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 *DeviceManagementReportsExportJobsCollectionRequestBuilder) Request() *DeviceManagementReportsExportJobsCollectionRequest { return &DeviceManagementReportsExportJobsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DeviceManagementExportJob 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 *DeviceManagementReportsExportJobsCollectionRequestBuilder) ID(id string) *DeviceManagementExportJobRequestBuilder { bb := &DeviceManagementExportJobRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DeviceManagementExportJob 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 *DeviceManagementReportsExportJobsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DeviceManagementExportJob, 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 []DeviceManagementExportJob 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 []DeviceManagementExportJob ) 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 DeviceManagementExportJob 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 *DeviceManagementReportsExportJobsCollectionRequest) GetN(ctx context.Context, n int) ([]DeviceManagementExportJob, 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 DeviceManagementExportJob 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 *DeviceManagementReportsExportJobsCollectionRequest) Get(ctx context.Context) ([]DeviceManagementExportJob, error) { return r.GetN(ctx, 0) }
Get performs GET request for DeviceManagementExportJob 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 *DeviceManagementReportsExportJobsCollectionRequest) Add(ctx context.Context, reqObj *DeviceManagementExportJob) (resObj *DeviceManagementExportJob, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for DeviceManagementExportJob 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 *DeviceManagementReportsRequestBuilder) ReportSchedules() *DeviceManagementReportsReportSchedulesCollectionRequestBuilder { bb := &DeviceManagementReportsReportSchedulesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/reportSchedules" return bb }
ReportSchedules returns request builder for DeviceManagementReportSchedule collection
ReportSchedules
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