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 *IOSScepCertificateProfileManagedDeviceCertificateStatesCollectionRequest) GetN(ctx context.Context, n int) ([]ManagedDeviceCertificateState, error) { var query string if r.query != nil { query = "?" + r.query.Encode() } return r.Paging(ctx, "GET", query, nil, n) }
GetN performs GET request for ManagedDeviceCertificateState collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSScepCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Get(ctx context.Context) ([]ManagedDeviceCertificateState, error) { return r.GetN(ctx, 0) }
Get performs GET request for ManagedDeviceCertificateState collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSScepCertificateProfileManagedDeviceCertificateStatesCollectionRequest) Add(ctx context.Context, reqObj *ManagedDeviceCertificateState) (resObj *ManagedDeviceCertificateState, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for ManagedDeviceCertificateState collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSScepCertificateProfileRequestBuilder) RootCertificate() *IOSTrustedRootCertificateRequestBuilder { bb := &IOSTrustedRootCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/rootCertificate" return bb }
RootCertificate is navigation property
RootCertificate
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSVPNConfigurationRequestBuilder) DerivedCredentialSettings() *DeviceManagementDerivedCredentialSettingsRequestBuilder { bb := &DeviceManagementDerivedCredentialSettingsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/derivedCredentialSettings" return bb }
DerivedCredentialSettings is navigation property
DerivedCredentialSettings
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSVPNConfigurationRequestBuilder) IdentityCertificate() *IOSCertificateProfileBaseRequestBuilder { bb := &IOSCertificateProfileBaseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/identityCertificate" return bb }
IdentityCertificate is navigation property
IdentityCertificate
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSVPPAppRequestBuilder) AssignedLicenses() *IOSVPPAppAssignedLicensesCollectionRequestBuilder { bb := &IOSVPPAppAssignedLicensesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/assignedLicenses" return bb }
AssignedLicenses returns request builder for IOSVPPAppAssignedLicense collection
AssignedLicenses
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSVPPAppAssignedLicensesCollectionRequestBuilder) Request() *IOSVPPAppAssignedLicensesCollectionRequest { return &IOSVPPAppAssignedLicensesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for IOSVPPAppAssignedLicense collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *IOSVPPAppAssignedLicensesCollectionRequestBuilder) ID(id string) *IOSVPPAppAssignedLicenseRequestBuilder { bb := &IOSVPPAppAssignedLicenseRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for IOSVPPAppAssignedLicense item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSVPPAppAssignedLicensesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]IOSVPPAppAssignedLicense, 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 []IOSVPPAppAssignedLicense 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 []IOSVPPAppAssignedLicense ) 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 IOSVPPAppAssignedLicense collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSVPPAppAssignedLicensesCollectionRequest) GetN(ctx context.Context, n int) ([]IOSVPPAppAssignedLicense, 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 IOSVPPAppAssignedLicense collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSVPPAppAssignedLicensesCollectionRequest) Get(ctx context.Context) ([]IOSVPPAppAssignedLicense, error) { return r.GetN(ctx, 0) }
Get performs GET request for IOSVPPAppAssignedLicense collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (r *IOSVPPAppAssignedLicensesCollectionRequest) Add(ctx context.Context, reqObj *IOSVPPAppAssignedLicense) (resObj *IOSVPPAppAssignedLicense, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for IOSVPPAppAssignedLicense collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIOS.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Phi(reqObj *WorkbookFunctionsPhiRequestParameter) *WorkbookFunctionsPhiRequestBuilder { bb := &WorkbookFunctionsPhiRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/phi" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Phi action undocumented
Phi
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsPhi.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsPhi.go
Apache-2.0
func (b *JournalRequestBuilder) Request() *JournalRequest { return &JournalRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns JournalRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalRequest) Get(ctx context.Context) (resObj *Journal, 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 Journal
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalRequest) Update(ctx context.Context, reqObj *Journal) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for Journal
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for Journal
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (b *JournalLineRequestBuilder) Request() *JournalLineRequest { return &JournalLineRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns JournalLineRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalLineRequest) Get(ctx context.Context) (resObj *JournalLine, 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 JournalLine
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalLineRequest) Update(ctx context.Context, reqObj *JournalLine) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for JournalLine
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (r *JournalLineRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for JournalLine
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (b *JournalRequestBuilder) Post(reqObj *JournalPostRequestParameter) *JournalPostRequestBuilder { bb := &JournalPostRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/post" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Post action undocumented
Post
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestJournal.go
Apache-2.0
func (b *IPSecurityProfileRequestBuilder) Request() *IPSecurityProfileRequest { return &IPSecurityProfileRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns IPSecurityProfileRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
Apache-2.0
func (r *IPSecurityProfileRequest) Get(ctx context.Context) (resObj *IPSecurityProfile, 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 IPSecurityProfile
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
Apache-2.0
func (r *IPSecurityProfileRequest) Update(ctx context.Context, reqObj *IPSecurityProfile) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for IPSecurityProfile
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
Apache-2.0
func (r *IPSecurityProfileRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for IPSecurityProfile
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestIP.go
Apache-2.0
func (b *PrivilegedAccessRequestBuilder) Request() *PrivilegedAccessRequest { return &PrivilegedAccessRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedAccessRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedAccessRequest) Get(ctx context.Context) (resObj *PrivilegedAccess, 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 PrivilegedAccess
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedAccessRequest) Update(ctx context.Context, reqObj *PrivilegedAccess) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedAccess
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedAccessRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedAccess
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedApprovalRequestBuilder) Request() *PrivilegedApprovalRequest { return &PrivilegedApprovalRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedApprovalRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedApprovalRequest) Get(ctx context.Context) (resObj *PrivilegedApproval, 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 PrivilegedApproval
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedApprovalRequest) Update(ctx context.Context, reqObj *PrivilegedApproval) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedApproval
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedApprovalRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedApproval
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedOperationEventRequestBuilder) Request() *PrivilegedOperationEventRequest { return &PrivilegedOperationEventRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedOperationEventRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedOperationEventRequest) Get(ctx context.Context) (resObj *PrivilegedOperationEvent, 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 PrivilegedOperationEvent
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedOperationEventRequest) Update(ctx context.Context, reqObj *PrivilegedOperationEvent) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedOperationEvent
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedOperationEventRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedOperationEvent
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleRequestBuilder) Request() *PrivilegedRoleRequest { return &PrivilegedRoleRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedRoleRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleRequest) Get(ctx context.Context) (resObj *PrivilegedRole, 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 PrivilegedRole
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleRequest) Update(ctx context.Context, reqObj *PrivilegedRole) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedRole
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedRole
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleAssignmentRequestBuilder) Request() *PrivilegedRoleAssignmentRequest { return &PrivilegedRoleAssignmentRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedRoleAssignmentRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequest) Get(ctx context.Context) (resObj *PrivilegedRoleAssignment, 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 PrivilegedRoleAssignment
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequest) Update(ctx context.Context, reqObj *PrivilegedRoleAssignment) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedRoleAssignment
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedRoleAssignment
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleAssignmentRequestObjectRequestBuilder) Request() *PrivilegedRoleAssignmentRequestObjectRequest { return &PrivilegedRoleAssignmentRequestObjectRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedRoleAssignmentRequestObjectRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequestObjectRequest) Get(ctx context.Context) (resObj *PrivilegedRoleAssignmentRequestObject, 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 PrivilegedRoleAssignmentRequestObject
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequestObjectRequest) Update(ctx context.Context, reqObj *PrivilegedRoleAssignmentRequestObject) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedRoleAssignmentRequestObject
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleAssignmentRequestObjectRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedRoleAssignmentRequestObject
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleSettingsRequestBuilder) Request() *PrivilegedRoleSettingsRequest { return &PrivilegedRoleSettingsRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedRoleSettingsRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSettingsRequest) Get(ctx context.Context) (resObj *PrivilegedRoleSettings, 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 PrivilegedRoleSettings
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSettingsRequest) Update(ctx context.Context, reqObj *PrivilegedRoleSettings) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedRoleSettings
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSettingsRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedRoleSettings
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleSummaryRequestBuilder) Request() *PrivilegedRoleSummaryRequest { return &PrivilegedRoleSummaryRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedRoleSummaryRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSummaryRequest) Get(ctx context.Context) (resObj *PrivilegedRoleSummary, 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 PrivilegedRoleSummary
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSummaryRequest) Update(ctx context.Context, reqObj *PrivilegedRoleSummary) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedRoleSummary
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedRoleSummaryRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedRoleSummary
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedSignupStatusRequestBuilder) Request() *PrivilegedSignupStatusRequest { return &PrivilegedSignupStatusRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns PrivilegedSignupStatusRequest
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedSignupStatusRequest) Get(ctx context.Context) (resObj *PrivilegedSignupStatus, 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 PrivilegedSignupStatus
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedSignupStatusRequest) Update(ctx context.Context, reqObj *PrivilegedSignupStatus) error { return r.JSONRequest(ctx, "PATCH", "", reqObj, nil) }
Update performs PATCH request for PrivilegedSignupStatus
Update
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (r *PrivilegedSignupStatusRequest) Delete(ctx context.Context) error { return r.JSONRequest(ctx, "DELETE", "", nil, nil) }
Delete performs DELETE request for PrivilegedSignupStatus
Delete
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleRequestBuilder) SelfActivate(reqObj *PrivilegedRoleSelfActivateRequestParameter) *PrivilegedRoleSelfActivateRequestBuilder { bb := &PrivilegedRoleSelfActivateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/selfActivate" bb.BaseRequestBuilder.requestObject = reqObj return bb }
SelfActivate action undocumented
SelfActivate
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleRequestBuilder) SelfDeactivate(reqObj *PrivilegedRoleSelfDeactivateRequestParameter) *PrivilegedRoleSelfDeactivateRequestBuilder { bb := &PrivilegedRoleSelfDeactivateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/selfDeactivate" bb.BaseRequestBuilder.requestObject = reqObj return bb }
SelfDeactivate action undocumented
SelfDeactivate
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleAssignmentRequestBuilder) MakePermanent(reqObj *PrivilegedRoleAssignmentMakePermanentRequestParameter) *PrivilegedRoleAssignmentMakePermanentRequestBuilder { bb := &PrivilegedRoleAssignmentMakePermanentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/makePermanent" bb.BaseRequestBuilder.requestObject = reqObj return bb }
MakePermanent action undocumented
MakePermanent
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleAssignmentRequestBuilder) MakeEligible(reqObj *PrivilegedRoleAssignmentMakeEligibleRequestParameter) *PrivilegedRoleAssignmentMakeEligibleRequestBuilder { bb := &PrivilegedRoleAssignmentMakeEligibleRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/makeEligible" bb.BaseRequestBuilder.requestObject = reqObj return bb }
MakeEligible action undocumented
MakeEligible
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *PrivilegedRoleAssignmentRequestObjectRequestBuilder) Cancel(reqObj *PrivilegedRoleAssignmentRequestObjectCancelRequestParameter) *PrivilegedRoleAssignmentRequestObjectCancelRequestBuilder { bb := &PrivilegedRoleAssignmentRequestObjectCancelRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/cancel" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Cancel action undocumented
Cancel
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestPrivileged.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Dec2Bin(reqObj *WorkbookFunctionsDec2BinRequestParameter) *WorkbookFunctionsDec2BinRequestBuilder { bb := &WorkbookFunctionsDec2BinRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/dec2Bin" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Dec2Bin action undocumented
Dec2Bin
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Dec2Hex(reqObj *WorkbookFunctionsDec2HexRequestParameter) *WorkbookFunctionsDec2HexRequestBuilder { bb := &WorkbookFunctionsDec2HexRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/dec2Hex" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Dec2Hex action undocumented
Dec2Hex
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Dec2Oct(reqObj *WorkbookFunctionsDec2OctRequestParameter) *WorkbookFunctionsDec2OctRequestBuilder { bb := &WorkbookFunctionsDec2OctRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/dec2Oct" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Dec2Oct action undocumented
Dec2Oct
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsDec2.go
Apache-2.0
func (b *IdentityContainerRequestBuilder) UserFlows() *IdentityContainerUserFlowsCollectionRequestBuilder { bb := &IdentityContainerUserFlowsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/userFlows" return bb }
UserFlows returns request builder for IdentityUserFlow collection
UserFlows
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (b *IdentityContainerUserFlowsCollectionRequestBuilder) Request() *IdentityContainerUserFlowsCollectionRequest { return &IdentityContainerUserFlowsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for IdentityUserFlow collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (b *IdentityContainerUserFlowsCollectionRequestBuilder) ID(id string) *IdentityUserFlowRequestBuilder { bb := &IdentityUserFlowRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for IdentityUserFlow item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (r *IdentityContainerUserFlowsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]IdentityUserFlow, 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 []IdentityUserFlow 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 []IdentityUserFlow ) 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 IdentityUserFlow collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (r *IdentityContainerUserFlowsCollectionRequest) GetN(ctx context.Context, n int) ([]IdentityUserFlow, 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 IdentityUserFlow collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (r *IdentityContainerUserFlowsCollectionRequest) Get(ctx context.Context) ([]IdentityUserFlow, error) { return r.GetN(ctx, 0) }
Get performs GET request for IdentityUserFlow collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (r *IdentityContainerUserFlowsCollectionRequest) Add(ctx context.Context, reqObj *IdentityUserFlow) (resObj *IdentityUserFlow, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for IdentityUserFlow collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (b *IdentityGovernanceRequestBuilder) EntitlementManagement() *EntitlementManagementRequestBuilder { bb := &EntitlementManagementRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/entitlementManagement" return bb }
EntitlementManagement is navigation property
EntitlementManagement
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (b *IdentityRiskEventRequestBuilder) ImpactedUser() *UserRequestBuilder { bb := &UserRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/impactedUser" return bb }
ImpactedUser is navigation property
ImpactedUser
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionIdentity.go
Apache-2.0
func (b *WorkbookFunctionsRequestBuilder) Unicode(reqObj *WorkbookFunctionsUnicodeRequestParameter) *WorkbookFunctionsUnicodeRequestBuilder { bb := &WorkbookFunctionsUnicodeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.BaseRequestBuilder.baseURL += "/unicode" bb.BaseRequestBuilder.requestObject = reqObj return bb }
Unicode action undocumented
Unicode
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsUnicode.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsUnicode.go
Apache-2.0
func (b *SynchronizationRequestBuilder) Jobs() *SynchronizationJobsCollectionRequestBuilder { bb := &SynchronizationJobsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/jobs" return bb }
Jobs returns request builder for SynchronizationJob collection
Jobs
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationJobsCollectionRequestBuilder) Request() *SynchronizationJobsCollectionRequest { return &SynchronizationJobsCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for SynchronizationJob collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationJobsCollectionRequestBuilder) ID(id string) *SynchronizationJobRequestBuilder { bb := &SynchronizationJobRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for SynchronizationJob item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationJobsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SynchronizationJob, 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 []SynchronizationJob 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 []SynchronizationJob ) 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 SynchronizationJob collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationJobsCollectionRequest) GetN(ctx context.Context, n int) ([]SynchronizationJob, 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 SynchronizationJob collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationJobsCollectionRequest) Get(ctx context.Context) ([]SynchronizationJob, error) { return r.GetN(ctx, 0) }
Get performs GET request for SynchronizationJob collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationJobsCollectionRequest) Add(ctx context.Context, reqObj *SynchronizationJob) (resObj *SynchronizationJob, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for SynchronizationJob collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationRequestBuilder) Templates() *SynchronizationTemplatesCollectionRequestBuilder { bb := &SynchronizationTemplatesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/templates" return bb }
Templates returns request builder for SynchronizationTemplate collection
Templates
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationTemplatesCollectionRequestBuilder) Request() *SynchronizationTemplatesCollectionRequest { return &SynchronizationTemplatesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for SynchronizationTemplate collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationTemplatesCollectionRequestBuilder) ID(id string) *SynchronizationTemplateRequestBuilder { bb := &SynchronizationTemplateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for SynchronizationTemplate item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationTemplatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SynchronizationTemplate, 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 []SynchronizationTemplate 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 []SynchronizationTemplate ) 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 SynchronizationTemplate collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationTemplatesCollectionRequest) GetN(ctx context.Context, n int) ([]SynchronizationTemplate, 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 SynchronizationTemplate collection, max N pages
GetN
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationTemplatesCollectionRequest) Get(ctx context.Context) ([]SynchronizationTemplate, error) { return r.GetN(ctx, 0) }
Get performs GET request for SynchronizationTemplate collection
Get
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationTemplatesCollectionRequest) Add(ctx context.Context, reqObj *SynchronizationTemplate) (resObj *SynchronizationTemplate, err error) { err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj) return }
Add performs POST request for SynchronizationTemplate collection
Add
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationJobRequestBuilder) Schema() *SynchronizationSchemaRequestBuilder { bb := &SynchronizationSchemaRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/schema" return bb }
Schema is navigation property
Schema
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationSchemaRequestBuilder) Directories() *SynchronizationSchemaDirectoriesCollectionRequestBuilder { bb := &SynchronizationSchemaDirectoriesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/directories" return bb }
Directories returns request builder for DirectoryDefinition collection
Directories
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationSchemaDirectoriesCollectionRequestBuilder) Request() *SynchronizationSchemaDirectoriesCollectionRequest { return &SynchronizationSchemaDirectoriesCollectionRequest{ BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client}, } }
Request returns request for DirectoryDefinition collection
Request
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (b *SynchronizationSchemaDirectoriesCollectionRequestBuilder) ID(id string) *DirectoryDefinitionRequestBuilder { bb := &DirectoryDefinitionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} bb.baseURL += "/" + id return bb }
ID returns request builder for DirectoryDefinition item
ID
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0
func (r *SynchronizationSchemaDirectoriesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]DirectoryDefinition, 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 []DirectoryDefinition 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 []DirectoryDefinition ) 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 DirectoryDefinition collection
Paging
go
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSynchronization.go
Apache-2.0