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 *WindowsFeatureUpdateProfileAssignmentsCollectionRequestBuilder) Request() *WindowsFeatureUpdateProfileAssignmentsCollectionRequest {
return &WindowsFeatureUpdateProfileAssignmentsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsFeatureUpdateProfileAssignment collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsFeatureUpdateProfileAssignmentsCollectionRequestBuilder) ID(id string) *WindowsFeatureUpdateProfileAssignmentRequestBuilder {
bb := &WindowsFeatureUpdateProfileAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsFeatureUpdateProfileAssignment item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileAssignmentsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsFeatureUpdateProfileAssignment, 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 []WindowsFeatureUpdateProfileAssignment
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 []WindowsFeatureUpdateProfileAssignment
)
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 WindowsFeatureUpdateProfileAssignment collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileAssignmentsCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsFeatureUpdateProfileAssignment, 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 WindowsFeatureUpdateProfileAssignment collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileAssignmentsCollectionRequest) Get(ctx context.Context) ([]WindowsFeatureUpdateProfileAssignment, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsFeatureUpdateProfileAssignment collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileAssignmentsCollectionRequest) Add(ctx context.Context, reqObj *WindowsFeatureUpdateProfileAssignment) (resObj *WindowsFeatureUpdateProfileAssignment, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsFeatureUpdateProfileAssignment collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsFeatureUpdateProfileRequestBuilder) DeviceUpdateStates() *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequestBuilder {
bb := &WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/deviceUpdateStates"
return bb
} | DeviceUpdateStates returns request builder for WindowsUpdateState collection | DeviceUpdateStates | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequestBuilder) Request() *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest {
return &WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsUpdateState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequestBuilder) ID(id string) *WindowsUpdateStateRequestBuilder {
bb := &WindowsUpdateStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsUpdateState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsUpdateState, 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 []WindowsUpdateState
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 []WindowsUpdateState
)
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 WindowsUpdateState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsUpdateState, 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 WindowsUpdateState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest) Get(ctx context.Context) ([]WindowsUpdateState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsUpdateState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsFeatureUpdateProfileDeviceUpdateStatesCollectionRequest) Add(ctx context.Context, reqObj *WindowsUpdateState) (resObj *WindowsUpdateState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsUpdateState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionRequestBuilder) Assignments() *WindowsInformationProtectionAssignmentsCollectionRequestBuilder {
bb := &WindowsInformationProtectionAssignmentsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/assignments"
return bb
} | Assignments returns request builder for TargetedManagedAppPolicyAssignment collection | Assignments | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionAssignmentsCollectionRequestBuilder) Request() *WindowsInformationProtectionAssignmentsCollectionRequest {
return &WindowsInformationProtectionAssignmentsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for TargetedManagedAppPolicyAssignment collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionAssignmentsCollectionRequestBuilder) ID(id string) *TargetedManagedAppPolicyAssignmentRequestBuilder {
bb := &TargetedManagedAppPolicyAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for TargetedManagedAppPolicyAssignment item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionAssignmentsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]TargetedManagedAppPolicyAssignment, 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 []TargetedManagedAppPolicyAssignment
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 []TargetedManagedAppPolicyAssignment
)
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 TargetedManagedAppPolicyAssignment collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionAssignmentsCollectionRequest) GetN(ctx context.Context, n int) ([]TargetedManagedAppPolicyAssignment, 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 TargetedManagedAppPolicyAssignment collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionAssignmentsCollectionRequest) Get(ctx context.Context) ([]TargetedManagedAppPolicyAssignment, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for TargetedManagedAppPolicyAssignment collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionAssignmentsCollectionRequest) Add(ctx context.Context, reqObj *TargetedManagedAppPolicyAssignment) (resObj *TargetedManagedAppPolicyAssignment, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for TargetedManagedAppPolicyAssignment collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionRequestBuilder) ExemptAppLockerFiles() *WindowsInformationProtectionExemptAppLockerFilesCollectionRequestBuilder {
bb := &WindowsInformationProtectionExemptAppLockerFilesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/exemptAppLockerFiles"
return bb
} | ExemptAppLockerFiles returns request builder for WindowsInformationProtectionAppLockerFile collection | ExemptAppLockerFiles | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionExemptAppLockerFilesCollectionRequestBuilder) Request() *WindowsInformationProtectionExemptAppLockerFilesCollectionRequest {
return &WindowsInformationProtectionExemptAppLockerFilesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsInformationProtectionAppLockerFile collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionExemptAppLockerFilesCollectionRequestBuilder) ID(id string) *WindowsInformationProtectionAppLockerFileRequestBuilder {
bb := &WindowsInformationProtectionAppLockerFileRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsInformationProtectionAppLockerFile item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionExemptAppLockerFilesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsInformationProtectionAppLockerFile, 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 []WindowsInformationProtectionAppLockerFile
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 []WindowsInformationProtectionAppLockerFile
)
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 WindowsInformationProtectionAppLockerFile collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionExemptAppLockerFilesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsInformationProtectionAppLockerFile, 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 WindowsInformationProtectionAppLockerFile collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionExemptAppLockerFilesCollectionRequest) Get(ctx context.Context) ([]WindowsInformationProtectionAppLockerFile, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsInformationProtectionAppLockerFile collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionExemptAppLockerFilesCollectionRequest) Add(ctx context.Context, reqObj *WindowsInformationProtectionAppLockerFile) (resObj *WindowsInformationProtectionAppLockerFile, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsInformationProtectionAppLockerFile collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionRequestBuilder) ProtectedAppLockerFiles() *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequestBuilder {
bb := &WindowsInformationProtectionProtectedAppLockerFilesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/protectedAppLockerFiles"
return bb
} | ProtectedAppLockerFiles returns request builder for WindowsInformationProtectionAppLockerFile collection | ProtectedAppLockerFiles | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequestBuilder) Request() *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest {
return &WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsInformationProtectionAppLockerFile collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequestBuilder) ID(id string) *WindowsInformationProtectionAppLockerFileRequestBuilder {
bb := &WindowsInformationProtectionAppLockerFileRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsInformationProtectionAppLockerFile item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsInformationProtectionAppLockerFile, 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 []WindowsInformationProtectionAppLockerFile
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 []WindowsInformationProtectionAppLockerFile
)
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 WindowsInformationProtectionAppLockerFile collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsInformationProtectionAppLockerFile, 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 WindowsInformationProtectionAppLockerFile collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest) Get(ctx context.Context) ([]WindowsInformationProtectionAppLockerFile, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsInformationProtectionAppLockerFile collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsInformationProtectionProtectedAppLockerFilesCollectionRequest) Add(ctx context.Context, reqObj *WindowsInformationProtectionAppLockerFile) (resObj *WindowsInformationProtectionAppLockerFile, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsInformationProtectionAppLockerFile collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsMalwareInformationRequestBuilder) WindowsDevicesProtectionState() *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequestBuilder {
bb := &WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/windowsDevicesProtectionState"
return bb
} | WindowsDevicesProtectionState returns request builder for WindowsProtectionState collection | WindowsDevicesProtectionState | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequestBuilder) Request() *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest {
return &WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsProtectionState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequestBuilder) ID(id string) *WindowsProtectionStateRequestBuilder {
bb := &WindowsProtectionStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsProtectionState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsProtectionState, 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 []WindowsProtectionState
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 []WindowsProtectionState
)
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 WindowsProtectionState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsProtectionState, 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 WindowsProtectionState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest) Get(ctx context.Context) ([]WindowsProtectionState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsProtectionState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsMalwareInformationWindowsDevicesProtectionStateCollectionRequest) Add(ctx context.Context, reqObj *WindowsProtectionState) (resObj *WindowsProtectionState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsProtectionState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsManagementAppRequestBuilder) HealthStates() *WindowsManagementAppHealthStatesCollectionRequestBuilder {
bb := &WindowsManagementAppHealthStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/healthStates"
return bb
} | HealthStates returns request builder for WindowsManagementAppHealthState collection | HealthStates | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsManagementAppHealthStatesCollectionRequestBuilder) Request() *WindowsManagementAppHealthStatesCollectionRequest {
return &WindowsManagementAppHealthStatesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsManagementAppHealthState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsManagementAppHealthStatesCollectionRequestBuilder) ID(id string) *WindowsManagementAppHealthStateRequestBuilder {
bb := &WindowsManagementAppHealthStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsManagementAppHealthState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsManagementAppHealthStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsManagementAppHealthState, 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 []WindowsManagementAppHealthState
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 []WindowsManagementAppHealthState
)
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 WindowsManagementAppHealthState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsManagementAppHealthStatesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsManagementAppHealthState, 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 WindowsManagementAppHealthState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsManagementAppHealthStatesCollectionRequest) Get(ctx context.Context) ([]WindowsManagementAppHealthState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsManagementAppHealthState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsManagementAppHealthStatesCollectionRequest) Add(ctx context.Context, reqObj *WindowsManagementAppHealthState) (resObj *WindowsManagementAppHealthState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsManagementAppHealthState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81ImportedPFXCertificateProfileRequestBuilder) ManagedDeviceCertificateStates() *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder {
bb := &WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/managedDeviceCertificateStates"
return bb
} | ManagedDeviceCertificateStates returns request builder for ManagedDeviceCertificateState collection | ManagedDeviceCertificateStates | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder) Request() *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest {
return &WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for ManagedDeviceCertificateState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder) ID(id string) *ManagedDeviceCertificateStateRequestBuilder {
bb := &ManagedDeviceCertificateStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for ManagedDeviceCertificateState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ManagedDeviceCertificateState, 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 []ManagedDeviceCertificateState
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 []ManagedDeviceCertificateState
)
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 ManagedDeviceCertificateState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest) GetN(ctx context.Context, n int) ([]ManagedDeviceCertificateState, 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 ManagedDeviceCertificateState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Get(ctx context.Context) ([]ManagedDeviceCertificateState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for ManagedDeviceCertificateState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81ImportedPFXCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Add(ctx context.Context, reqObj *ManagedDeviceCertificateState) (resObj *ManagedDeviceCertificateState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for ManagedDeviceCertificateState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81SCEPCertificateProfileRequestBuilder) ManagedDeviceCertificateStates() *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder {
bb := &WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/managedDeviceCertificateStates"
return bb
} | ManagedDeviceCertificateStates returns request builder for ManagedDeviceCertificateState collection | ManagedDeviceCertificateStates | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder) Request() *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest {
return &WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for ManagedDeviceCertificateState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequestBuilder) ID(id string) *ManagedDeviceCertificateStateRequestBuilder {
bb := &ManagedDeviceCertificateStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for ManagedDeviceCertificateState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ManagedDeviceCertificateState, 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 []ManagedDeviceCertificateState
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 []ManagedDeviceCertificateState
)
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 ManagedDeviceCertificateState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest) GetN(ctx context.Context, n int) ([]ManagedDeviceCertificateState, 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 ManagedDeviceCertificateState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Get(ctx context.Context) ([]ManagedDeviceCertificateState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for ManagedDeviceCertificateState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsPhone81SCEPCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Add(ctx context.Context, reqObj *ManagedDeviceCertificateState) (resObj *ManagedDeviceCertificateState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for ManagedDeviceCertificateState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81SCEPCertificateProfileRequestBuilder) RootCertificate() *WindowsPhone81TrustedRootCertificateRequestBuilder {
bb := &WindowsPhone81TrustedRootCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/rootCertificate"
return bb
} | RootCertificate is navigation property | RootCertificate | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsPhone81VpnConfigurationRequestBuilder) IdentityCertificate() *WindowsPhone81CertificateProfileBaseRequestBuilder {
bb := &WindowsPhone81CertificateProfileBaseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/identityCertificate"
return bb
} | IdentityCertificate is navigation property | IdentityCertificate | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsProtectionStateRequestBuilder) DetectedMalwareState() *WindowsProtectionStateDetectedMalwareStateCollectionRequestBuilder {
bb := &WindowsProtectionStateDetectedMalwareStateCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/detectedMalwareState"
return bb
} | DetectedMalwareState returns request builder for WindowsDeviceMalwareState collection | DetectedMalwareState | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsProtectionStateDetectedMalwareStateCollectionRequestBuilder) Request() *WindowsProtectionStateDetectedMalwareStateCollectionRequest {
return &WindowsProtectionStateDetectedMalwareStateCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsDeviceMalwareState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsProtectionStateDetectedMalwareStateCollectionRequestBuilder) ID(id string) *WindowsDeviceMalwareStateRequestBuilder {
bb := &WindowsDeviceMalwareStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsDeviceMalwareState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsProtectionStateDetectedMalwareStateCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsDeviceMalwareState, 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 []WindowsDeviceMalwareState
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 []WindowsDeviceMalwareState
)
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 WindowsDeviceMalwareState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsProtectionStateDetectedMalwareStateCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsDeviceMalwareState, 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 WindowsDeviceMalwareState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsProtectionStateDetectedMalwareStateCollectionRequest) Get(ctx context.Context) ([]WindowsDeviceMalwareState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsDeviceMalwareState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsProtectionStateDetectedMalwareStateCollectionRequest) Add(ctx context.Context, reqObj *WindowsDeviceMalwareState) (resObj *WindowsDeviceMalwareState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsDeviceMalwareState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUniversalAppXRequestBuilder) CommittedContainedApps() *WindowsUniversalAppXCommittedContainedAppsCollectionRequestBuilder {
bb := &WindowsUniversalAppXCommittedContainedAppsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/committedContainedApps"
return bb
} | CommittedContainedApps returns request builder for MobileContainedApp collection | CommittedContainedApps | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUniversalAppXCommittedContainedAppsCollectionRequestBuilder) Request() *WindowsUniversalAppXCommittedContainedAppsCollectionRequest {
return &WindowsUniversalAppXCommittedContainedAppsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for MobileContainedApp collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUniversalAppXCommittedContainedAppsCollectionRequestBuilder) ID(id string) *MobileContainedAppRequestBuilder {
bb := &MobileContainedAppRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for MobileContainedApp item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUniversalAppXCommittedContainedAppsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]MobileContainedApp, 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 []MobileContainedApp
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 []MobileContainedApp
)
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 MobileContainedApp collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUniversalAppXCommittedContainedAppsCollectionRequest) GetN(ctx context.Context, n int) ([]MobileContainedApp, 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 MobileContainedApp collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUniversalAppXCommittedContainedAppsCollectionRequest) Get(ctx context.Context) ([]MobileContainedApp, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for MobileContainedApp collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUniversalAppXCommittedContainedAppsCollectionRequest) Add(ctx context.Context, reqObj *MobileContainedApp) (resObj *MobileContainedApp, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for MobileContainedApp collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUpdateForBusinessConfigurationRequestBuilder) DeviceUpdateStates() *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequestBuilder {
bb := &WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/deviceUpdateStates"
return bb
} | DeviceUpdateStates returns request builder for WindowsUpdateState collection | DeviceUpdateStates | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequestBuilder) Request() *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest {
return &WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for WindowsUpdateState collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequestBuilder) ID(id string) *WindowsUpdateStateRequestBuilder {
bb := &WindowsUpdateStateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for WindowsUpdateState item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]WindowsUpdateState, 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 []WindowsUpdateState
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 []WindowsUpdateState
)
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 WindowsUpdateState collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest) GetN(ctx context.Context, n int) ([]WindowsUpdateState, 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 WindowsUpdateState collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest) Get(ctx context.Context) ([]WindowsUpdateState, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for WindowsUpdateState collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsUpdateForBusinessConfigurationDeviceUpdateStatesCollectionRequest) Add(ctx context.Context, reqObj *WindowsUpdateState) (resObj *WindowsUpdateState, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for WindowsUpdateState collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsWiFiEnterpriseEAPConfigurationRequestBuilder) IdentityCertificateForClientAuthentication() *WindowsCertificateProfileBaseRequestBuilder {
bb := &WindowsCertificateProfileBaseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/identityCertificateForClientAuthentication"
return bb
} | IdentityCertificateForClientAuthentication is navigation property | IdentityCertificateForClientAuthentication | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsWiFiEnterpriseEAPConfigurationRequestBuilder) RootCertificatesForServerValidation() *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequestBuilder {
bb := &WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/rootCertificatesForServerValidation"
return bb
} | RootCertificatesForServerValidation returns request builder for Windows81TrustedRootCertificate collection | RootCertificatesForServerValidation | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequestBuilder) Request() *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest {
return &WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for Windows81TrustedRootCertificate collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequestBuilder) ID(id string) *Windows81TrustedRootCertificateRequestBuilder {
bb := &Windows81TrustedRootCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for Windows81TrustedRootCertificate item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Windows81TrustedRootCertificate, 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 []Windows81TrustedRootCertificate
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 []Windows81TrustedRootCertificate
)
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 Windows81TrustedRootCertificate collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest) GetN(ctx context.Context, n int) ([]Windows81TrustedRootCertificate, 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 Windows81TrustedRootCertificate collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest) Get(ctx context.Context) ([]Windows81TrustedRootCertificate, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for Windows81TrustedRootCertificate collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (r *WindowsWiFiEnterpriseEAPConfigurationRootCertificatesForServerValidationCollectionRequest) Add(ctx context.Context, reqObj *Windows81TrustedRootCertificate) (resObj *Windows81TrustedRootCertificate, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for Windows81TrustedRootCertificate collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionWindows.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) If(reqObj *WorkbookFunctionsIfRequestParameter) *WorkbookFunctionsIfRequestBuilder {
bb := &WorkbookFunctionsIfRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/if"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | If action undocumented | If | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsIf.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsIf.go | Apache-2.0 |
func (b *PostRequestBuilder) Request() *PostRequest {
return &PostRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns PostRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
func (r *PostRequest) Get(ctx context.Context) (resObj *Post, err error) {
var query string
if r.query != nil {
query = "?" + r.query.Encode()
}
err = r.JSONRequest(ctx, "GET", query, nil, &resObj)
return
} | Get performs GET request for Post | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
func (r *PostRequest) Update(ctx context.Context, reqObj *Post) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for Post | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
func (r *PostRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for Post | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
func (b *PostRequestBuilder) Reply(reqObj *PostReplyRequestParameter) *PostReplyRequestBuilder {
bb := &PostReplyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/reply"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Reply action undocumented | Reply | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
func (b *PostRequestBuilder) Forward(reqObj *PostForwardRequestParameter) *PostForwardRequestBuilder {
bb := &PostForwardRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/forward"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Forward action undocumented | Forward | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPost.go | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.