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 *OnenoteNotebooksCollectionRequestBuilder) Request() *OnenoteNotebooksCollectionRequest {
return &OnenoteNotebooksCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for Notebook collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteNotebooksCollectionRequestBuilder) ID(id string) *NotebookRequestBuilder {
bb := &NotebookRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for Notebook item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteNotebooksCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Notebook, 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 []Notebook
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 []Notebook
)
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 Notebook collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteNotebooksCollectionRequest) GetN(ctx context.Context, n int) ([]Notebook, 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 Notebook collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteNotebooksCollectionRequest) Get(ctx context.Context) ([]Notebook, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for Notebook collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteNotebooksCollectionRequest) Add(ctx context.Context, reqObj *Notebook) (resObj *Notebook, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for Notebook collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteRequestBuilder) Operations() *OnenoteOperationsCollectionRequestBuilder {
bb := &OnenoteOperationsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/operations"
return bb
} | Operations returns request builder for OnenoteOperation collection | Operations | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteOperationsCollectionRequestBuilder) Request() *OnenoteOperationsCollectionRequest {
return &OnenoteOperationsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for OnenoteOperation collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteOperationsCollectionRequestBuilder) ID(id string) *OnenoteOperationRequestBuilder {
bb := &OnenoteOperationRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for OnenoteOperation item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteOperationsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]OnenoteOperation, 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 []OnenoteOperation
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 []OnenoteOperation
)
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 OnenoteOperation collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteOperationsCollectionRequest) GetN(ctx context.Context, n int) ([]OnenoteOperation, 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 OnenoteOperation collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteOperationsCollectionRequest) Get(ctx context.Context) ([]OnenoteOperation, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for OnenoteOperation collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteOperationsCollectionRequest) Add(ctx context.Context, reqObj *OnenoteOperation) (resObj *OnenoteOperation, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for OnenoteOperation collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteRequestBuilder) Pages() *OnenotePagesCollectionRequestBuilder {
bb := &OnenotePagesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/pages"
return bb
} | Pages returns request builder for OnenotePage collection | Pages | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenotePagesCollectionRequestBuilder) Request() *OnenotePagesCollectionRequest {
return &OnenotePagesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for OnenotePage collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenotePagesCollectionRequestBuilder) ID(id string) *OnenotePageRequestBuilder {
bb := &OnenotePageRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for OnenotePage item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenotePagesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]OnenotePage, 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 []OnenotePage
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 []OnenotePage
)
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 OnenotePage collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenotePagesCollectionRequest) GetN(ctx context.Context, n int) ([]OnenotePage, 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 OnenotePage collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenotePagesCollectionRequest) Get(ctx context.Context) ([]OnenotePage, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for OnenotePage collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenotePagesCollectionRequest) Add(ctx context.Context, reqObj *OnenotePage) (resObj *OnenotePage, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for OnenotePage collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteRequestBuilder) Resources() *OnenoteResourcesCollectionRequestBuilder {
bb := &OnenoteResourcesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/resources"
return bb
} | Resources returns request builder for OnenoteResource collection | Resources | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteResourcesCollectionRequestBuilder) Request() *OnenoteResourcesCollectionRequest {
return &OnenoteResourcesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for OnenoteResource collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteResourcesCollectionRequestBuilder) ID(id string) *OnenoteResourceRequestBuilder {
bb := &OnenoteResourceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for OnenoteResource item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteResourcesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]OnenoteResource, 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 []OnenoteResource
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 []OnenoteResource
)
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 OnenoteResource collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteResourcesCollectionRequest) GetN(ctx context.Context, n int) ([]OnenoteResource, 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 OnenoteResource collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteResourcesCollectionRequest) Get(ctx context.Context) ([]OnenoteResource, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for OnenoteResource collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteResourcesCollectionRequest) Add(ctx context.Context, reqObj *OnenoteResource) (resObj *OnenoteResource, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for OnenoteResource collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteRequestBuilder) SectionGroups() *OnenoteSectionGroupsCollectionRequestBuilder {
bb := &OnenoteSectionGroupsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/sectionGroups"
return bb
} | SectionGroups returns request builder for SectionGroup collection | SectionGroups | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionGroupsCollectionRequestBuilder) Request() *OnenoteSectionGroupsCollectionRequest {
return &OnenoteSectionGroupsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for SectionGroup collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionGroupsCollectionRequestBuilder) ID(id string) *SectionGroupRequestBuilder {
bb := &SectionGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for SectionGroup item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionGroupsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SectionGroup, 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 []SectionGroup
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 []SectionGroup
)
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 SectionGroup collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionGroupsCollectionRequest) GetN(ctx context.Context, n int) ([]SectionGroup, 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 SectionGroup collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionGroupsCollectionRequest) Get(ctx context.Context) ([]SectionGroup, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for SectionGroup collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionGroupsCollectionRequest) Add(ctx context.Context, reqObj *SectionGroup) (resObj *SectionGroup, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for SectionGroup collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteRequestBuilder) Sections() *OnenoteSectionsCollectionRequestBuilder {
bb := &OnenoteSectionsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/sections"
return bb
} | Sections returns request builder for OnenoteSection collection | Sections | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionsCollectionRequestBuilder) Request() *OnenoteSectionsCollectionRequest {
return &OnenoteSectionsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for OnenoteSection collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionsCollectionRequestBuilder) ID(id string) *OnenoteSectionRequestBuilder {
bb := &OnenoteSectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for OnenoteSection item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]OnenoteSection, 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 []OnenoteSection
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 []OnenoteSection
)
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 OnenoteSection collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionsCollectionRequest) GetN(ctx context.Context, n int) ([]OnenoteSection, 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 OnenoteSection collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionsCollectionRequest) Get(ctx context.Context) ([]OnenoteSection, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for OnenoteSection collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionsCollectionRequest) Add(ctx context.Context, reqObj *OnenoteSection) (resObj *OnenoteSection, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for OnenoteSection collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenotePageRequestBuilder) ParentNotebook() *NotebookRequestBuilder {
bb := &NotebookRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/parentNotebook"
return bb
} | ParentNotebook is navigation property | ParentNotebook | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenotePageRequestBuilder) ParentSection() *OnenoteSectionRequestBuilder {
bb := &OnenoteSectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/parentSection"
return bb
} | ParentSection is navigation property | ParentSection | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionRequestBuilder) Pages() *OnenoteSectionPagesCollectionRequestBuilder {
bb := &OnenoteSectionPagesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/pages"
return bb
} | Pages returns request builder for OnenotePage collection | Pages | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionPagesCollectionRequestBuilder) Request() *OnenoteSectionPagesCollectionRequest {
return &OnenoteSectionPagesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for OnenotePage collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionPagesCollectionRequestBuilder) ID(id string) *OnenotePageRequestBuilder {
bb := &OnenotePageRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for OnenotePage item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionPagesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]OnenotePage, 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 []OnenotePage
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 []OnenotePage
)
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 OnenotePage collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionPagesCollectionRequest) GetN(ctx context.Context, n int) ([]OnenotePage, 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 OnenotePage collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionPagesCollectionRequest) Get(ctx context.Context) ([]OnenotePage, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for OnenotePage collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (r *OnenoteSectionPagesCollectionRequest) Add(ctx context.Context, reqObj *OnenotePage) (resObj *OnenotePage, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for OnenotePage collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionRequestBuilder) ParentNotebook() *NotebookRequestBuilder {
bb := &NotebookRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/parentNotebook"
return bb
} | ParentNotebook is navigation property | ParentNotebook | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *OnenoteSectionRequestBuilder) ParentSectionGroup() *SectionGroupRequestBuilder {
bb := &SectionGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/parentSectionGroup"
return bb
} | ParentSectionGroup is navigation property | ParentSectionGroup | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionOnenote.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Quartile_Exc(reqObj *WorkbookFunctionsQuartile_ExcRequestParameter) *WorkbookFunctionsQuartile_ExcRequestBuilder {
bb := &WorkbookFunctionsQuartile_ExcRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/quartile_Exc"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Quartile_Exc action undocumented | Quartile_Exc | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuartile_.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuartile_.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Quartile_Inc(reqObj *WorkbookFunctionsQuartile_IncRequestParameter) *WorkbookFunctionsQuartile_IncRequestBuilder {
bb := &WorkbookFunctionsQuartile_IncRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/quartile_Inc"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Quartile_Inc action undocumented | Quartile_Inc | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuartile_.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuartile_.go | Apache-2.0 |
func (b *DeviceRequestBuilder) Request() *DeviceRequest {
return &DeviceRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceRequest) Get(ctx context.Context) (resObj *Device, 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 Device | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceRequest) Update(ctx context.Context, reqObj *Device) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for Device | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for Device | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceAndAppManagementRoleAssignmentRequestBuilder) Request() *DeviceAndAppManagementRoleAssignmentRequest {
return &DeviceAndAppManagementRoleAssignmentRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceAndAppManagementRoleAssignmentRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAndAppManagementRoleAssignmentRequest) Get(ctx context.Context) (resObj *DeviceAndAppManagementRoleAssignment, 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 DeviceAndAppManagementRoleAssignment | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAndAppManagementRoleAssignmentRequest) Update(ctx context.Context, reqObj *DeviceAndAppManagementRoleAssignment) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceAndAppManagementRoleAssignment | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAndAppManagementRoleAssignmentRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceAndAppManagementRoleAssignment | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceAppManagementRequestBuilder) Request() *DeviceAppManagementRequest {
return &DeviceAppManagementRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceAppManagementRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementRequest) Get(ctx context.Context) (resObj *DeviceAppManagement, 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 DeviceAppManagement | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementRequest) Update(ctx context.Context, reqObj *DeviceAppManagement) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceAppManagement | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceAppManagement | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceAppManagementTaskRequestBuilder) Request() *DeviceAppManagementTaskRequest {
return &DeviceAppManagementTaskRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceAppManagementTaskRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementTaskRequest) Get(ctx context.Context) (resObj *DeviceAppManagementTask, 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 DeviceAppManagementTask | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementTaskRequest) Update(ctx context.Context, reqObj *DeviceAppManagementTask) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceAppManagementTask | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceAppManagementTaskRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceAppManagementTask | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceCategoryRequestBuilder) Request() *DeviceCategoryRequest {
return &DeviceCategoryRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceCategoryRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCategoryRequest) Get(ctx context.Context) (resObj *DeviceCategory, 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 DeviceCategory | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCategoryRequest) Update(ctx context.Context, reqObj *DeviceCategory) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceCategory | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCategoryRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceCategory | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceComplianceActionItemRequestBuilder) Request() *DeviceComplianceActionItemRequest {
return &DeviceComplianceActionItemRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceComplianceActionItemRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceActionItemRequest) Get(ctx context.Context) (resObj *DeviceComplianceActionItem, 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 DeviceComplianceActionItem | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceActionItemRequest) Update(ctx context.Context, reqObj *DeviceComplianceActionItem) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceComplianceActionItem | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceActionItemRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceComplianceActionItem | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceComplianceDeviceOverviewRequestBuilder) Request() *DeviceComplianceDeviceOverviewRequest {
return &DeviceComplianceDeviceOverviewRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceComplianceDeviceOverviewRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceOverviewRequest) Get(ctx context.Context) (resObj *DeviceComplianceDeviceOverview, 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 DeviceComplianceDeviceOverview | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceOverviewRequest) Update(ctx context.Context, reqObj *DeviceComplianceDeviceOverview) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceComplianceDeviceOverview | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceOverviewRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceComplianceDeviceOverview | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceComplianceDeviceStatusRequestBuilder) Request() *DeviceComplianceDeviceStatusRequest {
return &DeviceComplianceDeviceStatusRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceComplianceDeviceStatusRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceStatusRequest) Get(ctx context.Context) (resObj *DeviceComplianceDeviceStatus, 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 DeviceComplianceDeviceStatus | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceStatusRequest) Update(ctx context.Context, reqObj *DeviceComplianceDeviceStatus) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceComplianceDeviceStatus | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceComplianceDeviceStatusRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceComplianceDeviceStatus | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceCompliancePolicyRequestBuilder) Request() *DeviceCompliancePolicyRequest {
return &DeviceCompliancePolicyRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceCompliancePolicyRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyRequest) Get(ctx context.Context) (resObj *DeviceCompliancePolicy, 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 DeviceCompliancePolicy | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyRequest) Update(ctx context.Context, reqObj *DeviceCompliancePolicy) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceCompliancePolicy | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceCompliancePolicy | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceCompliancePolicyAssignmentRequestBuilder) Request() *DeviceCompliancePolicyAssignmentRequest {
return &DeviceCompliancePolicyAssignmentRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceCompliancePolicyAssignmentRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyAssignmentRequest) Get(ctx context.Context) (resObj *DeviceCompliancePolicyAssignment, 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 DeviceCompliancePolicyAssignment | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyAssignmentRequest) Update(ctx context.Context, reqObj *DeviceCompliancePolicyAssignment) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceCompliancePolicyAssignment | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyAssignmentRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceCompliancePolicyAssignment | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) Request() *DeviceCompliancePolicyDeviceStateSummaryRequest {
return &DeviceCompliancePolicyDeviceStateSummaryRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceCompliancePolicyDeviceStateSummaryRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyDeviceStateSummaryRequest) Get(ctx context.Context) (resObj *DeviceCompliancePolicyDeviceStateSummary, 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 DeviceCompliancePolicyDeviceStateSummary | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyDeviceStateSummaryRequest) Update(ctx context.Context, reqObj *DeviceCompliancePolicyDeviceStateSummary) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DeviceCompliancePolicyDeviceStateSummary | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyDeviceStateSummaryRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DeviceCompliancePolicyDeviceStateSummary | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (b *DeviceCompliancePolicyGroupAssignmentRequestBuilder) Request() *DeviceCompliancePolicyGroupAssignmentRequest {
return &DeviceCompliancePolicyGroupAssignmentRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DeviceCompliancePolicyGroupAssignmentRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
func (r *DeviceCompliancePolicyGroupAssignmentRequest) Get(ctx context.Context) (resObj *DeviceCompliancePolicyGroupAssignment, 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 DeviceCompliancePolicyGroupAssignment | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.