code
stringlengths 12
335k
| docstring
stringlengths 20
20.8k
| func_name
stringlengths 1
105
| language
stringclasses 1
value | repo
stringclasses 498
values | path
stringlengths 5
172
| url
stringlengths 43
235
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
func (r *PostMentionsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Mention, 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 []Mention
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 []Mention
)
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 Mention collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMentionsCollectionRequest) GetN(ctx context.Context, n int) ([]Mention, 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 Mention collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMentionsCollectionRequest) Get(ctx context.Context) ([]Mention, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for Mention collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMentionsCollectionRequest) Add(ctx context.Context, reqObj *Mention) (resObj *Mention, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for Mention collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostRequestBuilder) MultiValueExtendedProperties() *PostMultiValueExtendedPropertiesCollectionRequestBuilder {
bb := &PostMultiValueExtendedPropertiesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/multiValueExtendedProperties"
return bb
} | MultiValueExtendedProperties returns request builder for MultiValueLegacyExtendedProperty collection | MultiValueExtendedProperties | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostMultiValueExtendedPropertiesCollectionRequestBuilder) Request() *PostMultiValueExtendedPropertiesCollectionRequest {
return &PostMultiValueExtendedPropertiesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for MultiValueLegacyExtendedProperty collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostMultiValueExtendedPropertiesCollectionRequestBuilder) ID(id string) *MultiValueLegacyExtendedPropertyRequestBuilder {
bb := &MultiValueLegacyExtendedPropertyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for MultiValueLegacyExtendedProperty item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMultiValueExtendedPropertiesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]MultiValueLegacyExtendedProperty, 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 []MultiValueLegacyExtendedProperty
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 []MultiValueLegacyExtendedProperty
)
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 MultiValueLegacyExtendedProperty collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMultiValueExtendedPropertiesCollectionRequest) GetN(ctx context.Context, n int) ([]MultiValueLegacyExtendedProperty, 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 MultiValueLegacyExtendedProperty collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMultiValueExtendedPropertiesCollectionRequest) Get(ctx context.Context) ([]MultiValueLegacyExtendedProperty, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for MultiValueLegacyExtendedProperty collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostMultiValueExtendedPropertiesCollectionRequest) Add(ctx context.Context, reqObj *MultiValueLegacyExtendedProperty) (resObj *MultiValueLegacyExtendedProperty, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for MultiValueLegacyExtendedProperty collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostRequestBuilder) SingleValueExtendedProperties() *PostSingleValueExtendedPropertiesCollectionRequestBuilder {
bb := &PostSingleValueExtendedPropertiesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/singleValueExtendedProperties"
return bb
} | SingleValueExtendedProperties returns request builder for SingleValueLegacyExtendedProperty collection | SingleValueExtendedProperties | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostSingleValueExtendedPropertiesCollectionRequestBuilder) Request() *PostSingleValueExtendedPropertiesCollectionRequest {
return &PostSingleValueExtendedPropertiesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for SingleValueLegacyExtendedProperty collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *PostSingleValueExtendedPropertiesCollectionRequestBuilder) ID(id string) *SingleValueLegacyExtendedPropertyRequestBuilder {
bb := &SingleValueLegacyExtendedPropertyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for SingleValueLegacyExtendedProperty item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostSingleValueExtendedPropertiesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SingleValueLegacyExtendedProperty, 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 []SingleValueLegacyExtendedProperty
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 []SingleValueLegacyExtendedProperty
)
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 SingleValueLegacyExtendedProperty collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostSingleValueExtendedPropertiesCollectionRequest) GetN(ctx context.Context, n int) ([]SingleValueLegacyExtendedProperty, 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 SingleValueLegacyExtendedProperty collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostSingleValueExtendedPropertiesCollectionRequest) Get(ctx context.Context) ([]SingleValueLegacyExtendedProperty, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for SingleValueLegacyExtendedProperty collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (r *PostSingleValueExtendedPropertiesCollectionRequest) Add(ctx context.Context, reqObj *SingleValueLegacyExtendedProperty) (resObj *SingleValueLegacyExtendedProperty, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for SingleValueLegacyExtendedProperty collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionPost.go | Apache-2.0 |
func (b *ProgramRequestBuilder) Request() *ProgramRequest {
return &ProgramRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ProgramRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramRequest) Get(ctx context.Context) (resObj *Program, 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 Program | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramRequest) Update(ctx context.Context, reqObj *Program) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for Program | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for Program | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (b *ProgramControlRequestBuilder) Request() *ProgramControlRequest {
return &ProgramControlRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ProgramControlRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlRequest) Get(ctx context.Context) (resObj *ProgramControl, 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 ProgramControl | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlRequest) Update(ctx context.Context, reqObj *ProgramControl) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for ProgramControl | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for ProgramControl | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (b *ProgramControlTypeRequestBuilder) Request() *ProgramControlTypeRequest {
return &ProgramControlTypeRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ProgramControlTypeRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlTypeRequest) Get(ctx context.Context) (resObj *ProgramControlType, 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 ProgramControlType | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlTypeRequest) Update(ctx context.Context, reqObj *ProgramControlType) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for ProgramControlType | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (r *ProgramControlTypeRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for ProgramControlType | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestProgram.go | Apache-2.0 |
func (b *BusinessFlowRequestBuilder) Request() *BusinessFlowRequest {
return &BusinessFlowRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns BusinessFlowRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowRequest) Get(ctx context.Context) (resObj *BusinessFlow, 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 BusinessFlow | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowRequest) Update(ctx context.Context, reqObj *BusinessFlow) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for BusinessFlow | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for BusinessFlow | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (b *BusinessFlowTemplateRequestBuilder) Request() *BusinessFlowTemplateRequest {
return &BusinessFlowTemplateRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns BusinessFlowTemplateRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowTemplateRequest) Get(ctx context.Context) (resObj *BusinessFlowTemplate, 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 BusinessFlowTemplate | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowTemplateRequest) Update(ctx context.Context, reqObj *BusinessFlowTemplate) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for BusinessFlowTemplate | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (r *BusinessFlowTemplateRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for BusinessFlowTemplate | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (b *BusinessFlowRequestBuilder) RecordDecisions(reqObj *BusinessFlowRecordDecisionsRequestParameter) *BusinessFlowRecordDecisionsRequestBuilder {
bb := &BusinessFlowRecordDecisionsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/recordDecisions"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | RecordDecisions action undocumented | RecordDecisions | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestBusiness.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationRequestBuilder) Apps() *TargetedManagedAppConfigurationAppsCollectionRequestBuilder {
bb := &TargetedManagedAppConfigurationAppsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/apps"
return bb
} | Apps returns request builder for ManagedMobileApp collection | Apps | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationAppsCollectionRequestBuilder) Request() *TargetedManagedAppConfigurationAppsCollectionRequest {
return &TargetedManagedAppConfigurationAppsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for ManagedMobileApp collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationAppsCollectionRequestBuilder) ID(id string) *ManagedMobileAppRequestBuilder {
bb := &ManagedMobileAppRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for ManagedMobileApp item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAppsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ManagedMobileApp, 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 []ManagedMobileApp
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 []ManagedMobileApp
)
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 ManagedMobileApp collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAppsCollectionRequest) GetN(ctx context.Context, n int) ([]ManagedMobileApp, 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 ManagedMobileApp collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAppsCollectionRequest) Get(ctx context.Context) ([]ManagedMobileApp, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for ManagedMobileApp collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAppsCollectionRequest) Add(ctx context.Context, reqObj *ManagedMobileApp) (resObj *ManagedMobileApp, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for ManagedMobileApp collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationRequestBuilder) Assignments() *TargetedManagedAppConfigurationAssignmentsCollectionRequestBuilder {
bb := &TargetedManagedAppConfigurationAssignmentsCollectionRequestBuilder{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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationAssignmentsCollectionRequestBuilder) Request() *TargetedManagedAppConfigurationAssignmentsCollectionRequest {
return &TargetedManagedAppConfigurationAssignmentsCollectionRequest{
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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationAssignmentsCollectionRequestBuilder) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppConfigurationAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppConfigurationRequestBuilder) DeploymentSummary() *ManagedAppPolicyDeploymentSummaryRequestBuilder {
bb := &ManagedAppPolicyDeploymentSummaryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/deploymentSummary"
return bb
} | DeploymentSummary is navigation property | DeploymentSummary | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppProtectionRequestBuilder) Assignments() *TargetedManagedAppProtectionAssignmentsCollectionRequestBuilder {
bb := &TargetedManagedAppProtectionAssignmentsCollectionRequestBuilder{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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppProtectionAssignmentsCollectionRequestBuilder) Request() *TargetedManagedAppProtectionAssignmentsCollectionRequest {
return &TargetedManagedAppProtectionAssignmentsCollectionRequest{
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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *TargetedManagedAppProtectionAssignmentsCollectionRequestBuilder) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppProtectionAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppProtectionAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppProtectionAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (r *TargetedManagedAppProtectionAssignmentsCollectionRequest) 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/ActionTargeted.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionTargeted.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Bitlshift(reqObj *WorkbookFunctionsBitlshiftRequestParameter) *WorkbookFunctionsBitlshiftRequestBuilder {
bb := &WorkbookFunctionsBitlshiftRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/bitlshift"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Bitlshift action undocumented | Bitlshift | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBitlshift.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsBitlshift.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) NetworkDays(reqObj *WorkbookFunctionsNetworkDaysRequestParameter) *WorkbookFunctionsNetworkDaysRequestBuilder {
bb := &WorkbookFunctionsNetworkDaysRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/networkDays"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | NetworkDays action undocumented | NetworkDays | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsNetwork.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsNetwork.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) NetworkDays_Intl(reqObj *WorkbookFunctionsNetworkDays_IntlRequestParameter) *WorkbookFunctionsNetworkDays_IntlRequestBuilder {
bb := &WorkbookFunctionsNetworkDays_IntlRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/networkDays_Intl"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | NetworkDays_Intl action undocumented | NetworkDays_Intl | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsNetwork.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsNetwork.go | Apache-2.0 |
func (b *ExternalRequestBuilder) Request() *ExternalRequest {
return &ExternalRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ExternalRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalRequest) Get(ctx context.Context) (resObj *External, 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 External | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalRequest) Update(ctx context.Context, reqObj *External) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for External | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for External | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (b *ExternalConnectionRequestBuilder) Request() *ExternalConnectionRequest {
return &ExternalConnectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ExternalConnectionRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalConnectionRequest) Get(ctx context.Context) (resObj *ExternalConnection, 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 ExternalConnection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalConnectionRequest) Update(ctx context.Context, reqObj *ExternalConnection) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for ExternalConnection | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalConnectionRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for ExternalConnection | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (b *ExternalItemRequestBuilder) Request() *ExternalItemRequest {
return &ExternalItemRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ExternalItemRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalItemRequest) Get(ctx context.Context) (resObj *ExternalItem, 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 ExternalItem | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalItemRequest) Update(ctx context.Context, reqObj *ExternalItem) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for ExternalItem | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (r *ExternalItemRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for ExternalItem | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestExternal.go | Apache-2.0 |
func (b *DepIOSEnrollmentProfileRequestBuilder) Request() *DepIOSEnrollmentProfileRequest {
return &DepIOSEnrollmentProfileRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DepIOSEnrollmentProfileRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepIOSEnrollmentProfileRequest) Get(ctx context.Context) (resObj *DepIOSEnrollmentProfile, 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 DepIOSEnrollmentProfile | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepIOSEnrollmentProfileRequest) Update(ctx context.Context, reqObj *DepIOSEnrollmentProfile) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DepIOSEnrollmentProfile | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepIOSEnrollmentProfileRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DepIOSEnrollmentProfile | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepMacOSEnrollmentProfileRequestBuilder) Request() *DepMacOSEnrollmentProfileRequest {
return &DepMacOSEnrollmentProfileRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DepMacOSEnrollmentProfileRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepMacOSEnrollmentProfileRequest) Get(ctx context.Context) (resObj *DepMacOSEnrollmentProfile, 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 DepMacOSEnrollmentProfile | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepMacOSEnrollmentProfileRequest) Update(ctx context.Context, reqObj *DepMacOSEnrollmentProfile) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DepMacOSEnrollmentProfile | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepMacOSEnrollmentProfileRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DepMacOSEnrollmentProfile | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepOnboardingSettingRequestBuilder) Request() *DepOnboardingSettingRequest {
return &DepOnboardingSettingRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns DepOnboardingSettingRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepOnboardingSettingRequest) Get(ctx context.Context) (resObj *DepOnboardingSetting, 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 DepOnboardingSetting | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepOnboardingSettingRequest) Update(ctx context.Context, reqObj *DepOnboardingSetting) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for DepOnboardingSetting | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (r *DepOnboardingSettingRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for DepOnboardingSetting | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepOnboardingSettingRequestBuilder) UploadDepToken(reqObj *DepOnboardingSettingUploadDepTokenRequestParameter) *DepOnboardingSettingUploadDepTokenRequestBuilder {
bb := &DepOnboardingSettingUploadDepTokenRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/uploadDepToken"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | UploadDepToken action undocumented | UploadDepToken | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepOnboardingSettingRequestBuilder) SyncWithAppleDeviceEnrollmentProgram(reqObj *DepOnboardingSettingSyncWithAppleDeviceEnrollmentProgramRequestParameter) *DepOnboardingSettingSyncWithAppleDeviceEnrollmentProgramRequestBuilder {
bb := &DepOnboardingSettingSyncWithAppleDeviceEnrollmentProgramRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/syncWithAppleDeviceEnrollmentProgram"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | SyncWithAppleDeviceEnrollmentProgram action undocumented | SyncWithAppleDeviceEnrollmentProgram | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepOnboardingSettingRequestBuilder) ShareForSchoolDataSyncService(reqObj *DepOnboardingSettingShareForSchoolDataSyncServiceRequestParameter) *DepOnboardingSettingShareForSchoolDataSyncServiceRequestBuilder {
bb := &DepOnboardingSettingShareForSchoolDataSyncServiceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/shareForSchoolDataSyncService"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | ShareForSchoolDataSyncService action undocumented | ShareForSchoolDataSyncService | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *DepOnboardingSettingRequestBuilder) UnshareForSchoolDataSyncService(reqObj *DepOnboardingSettingUnshareForSchoolDataSyncServiceRequestParameter) *DepOnboardingSettingUnshareForSchoolDataSyncServiceRequestBuilder {
bb := &DepOnboardingSettingUnshareForSchoolDataSyncServiceRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/unshareForSchoolDataSyncService"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | UnshareForSchoolDataSyncService action undocumented | UnshareForSchoolDataSyncService | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestDep.go | Apache-2.0 |
func (b *WorkbookRequestBuilder) Request() *WorkbookRequest {
return &WorkbookRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns WorkbookRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookRequest) Get(ctx context.Context) (resObj *Workbook, 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 Workbook | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookRequest) Update(ctx context.Context, reqObj *Workbook) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for Workbook | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for Workbook | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (b *WorkbookApplicationRequestBuilder) Request() *WorkbookApplicationRequest {
return &WorkbookApplicationRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns WorkbookApplicationRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookApplicationRequest) Get(ctx context.Context) (resObj *WorkbookApplication, 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 WorkbookApplication | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookApplicationRequest) Update(ctx context.Context, reqObj *WorkbookApplication) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for WorkbookApplication | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
func (r *WorkbookApplicationRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for WorkbookApplication | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbook.go | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.