code
stringlengths 12
335k
| docstring
stringlengths 20
20.8k
| func_name
stringlengths 1
105
| language
stringclasses 1
value | repo
stringclasses 498
values | path
stringlengths 5
172
| url
stringlengths 43
235
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
func (b *OutlookTaskFolderRequestBuilder) Request() *OutlookTaskFolderRequest {
return &OutlookTaskFolderRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns OutlookTaskFolderRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskFolderRequest) Get(ctx context.Context) (resObj *OutlookTaskFolder, 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 OutlookTaskFolder | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskFolderRequest) Update(ctx context.Context, reqObj *OutlookTaskFolder) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for OutlookTaskFolder | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskFolderRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for OutlookTaskFolder | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (b *OutlookTaskGroupRequestBuilder) Request() *OutlookTaskGroupRequest {
return &OutlookTaskGroupRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns OutlookTaskGroupRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskGroupRequest) Get(ctx context.Context) (resObj *OutlookTaskGroup, 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 OutlookTaskGroup | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskGroupRequest) Update(ctx context.Context, reqObj *OutlookTaskGroup) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for OutlookTaskGroup | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookTaskGroupRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for OutlookTaskGroup | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (b *OutlookUserRequestBuilder) Request() *OutlookUserRequest {
return &OutlookUserRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns OutlookUserRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookUserRequest) Get(ctx context.Context) (resObj *OutlookUser, 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 OutlookUser | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookUserRequest) Update(ctx context.Context, reqObj *OutlookUser) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for OutlookUser | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (r *OutlookUserRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for OutlookUser | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (b *OutlookTaskRequestBuilder) Complete(reqObj *OutlookTaskCompleteRequestParameter) *OutlookTaskCompleteRequestBuilder {
bb := &OutlookTaskCompleteRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/complete"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Complete action undocumented | Complete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestOutlook.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Timevalue(reqObj *WorkbookFunctionsTimevalueRequestParameter) *WorkbookFunctionsTimevalueRequestBuilder {
bb := &WorkbookFunctionsTimevalueRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/timevalue"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Timevalue action undocumented | Timevalue | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsTimevalue.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsTimevalue.go | Apache-2.0 |
func (b *ActiveDirectoryWindowsAutopilotDeploymentProfileRequestBuilder) Request() *ActiveDirectoryWindowsAutopilotDeploymentProfileRequest {
return &ActiveDirectoryWindowsAutopilotDeploymentProfileRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns ActiveDirectoryWindowsAutopilotDeploymentProfileRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | Apache-2.0 |
func (r *ActiveDirectoryWindowsAutopilotDeploymentProfileRequest) Get(ctx context.Context) (resObj *ActiveDirectoryWindowsAutopilotDeploymentProfile, 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 ActiveDirectoryWindowsAutopilotDeploymentProfile | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | Apache-2.0 |
func (r *ActiveDirectoryWindowsAutopilotDeploymentProfileRequest) Update(ctx context.Context, reqObj *ActiveDirectoryWindowsAutopilotDeploymentProfile) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for ActiveDirectoryWindowsAutopilotDeploymentProfile | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | Apache-2.0 |
func (r *ActiveDirectoryWindowsAutopilotDeploymentProfileRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for ActiveDirectoryWindowsAutopilotDeploymentProfile | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestActive.go | Apache-2.0 |
func (b *SecureScoreRequestBuilder) Request() *SecureScoreRequest {
return &SecureScoreRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns SecureScoreRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreRequest) Get(ctx context.Context) (resObj *SecureScore, 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 SecureScore | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreRequest) Update(ctx context.Context, reqObj *SecureScore) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for SecureScore | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for SecureScore | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (b *SecureScoreControlProfileRequestBuilder) Request() *SecureScoreControlProfileRequest {
return &SecureScoreControlProfileRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns SecureScoreControlProfileRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreControlProfileRequest) Get(ctx context.Context) (resObj *SecureScoreControlProfile, 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 SecureScoreControlProfile | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreControlProfileRequest) Update(ctx context.Context, reqObj *SecureScoreControlProfile) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for SecureScoreControlProfile | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (r *SecureScoreControlProfileRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for SecureScoreControlProfile | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSecure.go | Apache-2.0 |
func (b *LicenseDetailsRequestBuilder) Request() *LicenseDetailsRequest {
return &LicenseDetailsRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns LicenseDetailsRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | Apache-2.0 |
func (r *LicenseDetailsRequest) Get(ctx context.Context) (resObj *LicenseDetails, 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 LicenseDetails | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | Apache-2.0 |
func (r *LicenseDetailsRequest) Update(ctx context.Context, reqObj *LicenseDetails) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for LicenseDetails | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | Apache-2.0 |
func (r *LicenseDetailsRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for LicenseDetails | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestLicense.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Quotient(reqObj *WorkbookFunctionsQuotientRequestParameter) *WorkbookFunctionsQuotientRequestBuilder {
bb := &WorkbookFunctionsQuotientRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/quotient"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Quotient action undocumented | Quotient | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuotient.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsQuotient.go | Apache-2.0 |
func (b *TelecomExpenseManagementPartnerRequestBuilder) Request() *TelecomExpenseManagementPartnerRequest {
return &TelecomExpenseManagementPartnerRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns TelecomExpenseManagementPartnerRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | Apache-2.0 |
func (r *TelecomExpenseManagementPartnerRequest) Get(ctx context.Context) (resObj *TelecomExpenseManagementPartner, 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 TelecomExpenseManagementPartner | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | Apache-2.0 |
func (r *TelecomExpenseManagementPartnerRequest) Update(ctx context.Context, reqObj *TelecomExpenseManagementPartner) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for TelecomExpenseManagementPartner | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | Apache-2.0 |
func (r *TelecomExpenseManagementPartnerRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for TelecomExpenseManagementPartner | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestTelecom.go | Apache-2.0 |
func (b *SearchRequestBuilder) Request() *SearchRequest {
return &SearchRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns SearchRequest | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | Apache-2.0 |
func (r *SearchRequest) Get(ctx context.Context) (resObj *Search, 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 Search | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | Apache-2.0 |
func (r *SearchRequest) Update(ctx context.Context, reqObj *Search) error {
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
} | Update performs PATCH request for Search | Update | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | Apache-2.0 |
func (r *SearchRequest) Delete(ctx context.Context) error {
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
} | Delete performs DELETE request for Search | Delete | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | Apache-2.0 |
func (b *SearchRequestBuilder) Query(reqObj *SearchQueryRequestParameter) *SearchQueryRequestBuilder {
bb := &SearchQueryRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/query"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Query action undocumented | Query | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestSearch.go | Apache-2.0 |
func (b *CallRequestBuilder) AudioRoutingGroups() *CallAudioRoutingGroupsCollectionRequestBuilder {
bb := &CallAudioRoutingGroupsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/audioRoutingGroups"
return bb
} | AudioRoutingGroups returns request builder for AudioRoutingGroup collection | AudioRoutingGroups | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallAudioRoutingGroupsCollectionRequestBuilder) Request() *CallAudioRoutingGroupsCollectionRequest {
return &CallAudioRoutingGroupsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for AudioRoutingGroup collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallAudioRoutingGroupsCollectionRequestBuilder) ID(id string) *AudioRoutingGroupRequestBuilder {
bb := &AudioRoutingGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for AudioRoutingGroup item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallAudioRoutingGroupsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]AudioRoutingGroup, 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 []AudioRoutingGroup
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 []AudioRoutingGroup
)
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 AudioRoutingGroup collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallAudioRoutingGroupsCollectionRequest) GetN(ctx context.Context, n int) ([]AudioRoutingGroup, 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 AudioRoutingGroup collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallAudioRoutingGroupsCollectionRequest) Get(ctx context.Context) ([]AudioRoutingGroup, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for AudioRoutingGroup collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallAudioRoutingGroupsCollectionRequest) Add(ctx context.Context, reqObj *AudioRoutingGroup) (resObj *AudioRoutingGroup, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for AudioRoutingGroup collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallRequestBuilder) Operations() *CallOperationsCollectionRequestBuilder {
bb := &CallOperationsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/operations"
return bb
} | Operations returns request builder for CommsOperation collection | Operations | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallOperationsCollectionRequestBuilder) Request() *CallOperationsCollectionRequest {
return &CallOperationsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for CommsOperation collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallOperationsCollectionRequestBuilder) ID(id string) *CommsOperationRequestBuilder {
bb := &CommsOperationRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for CommsOperation item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallOperationsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]CommsOperation, 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 []CommsOperation
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 []CommsOperation
)
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 CommsOperation collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallOperationsCollectionRequest) GetN(ctx context.Context, n int) ([]CommsOperation, 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 CommsOperation collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallOperationsCollectionRequest) Get(ctx context.Context) ([]CommsOperation, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for CommsOperation collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallOperationsCollectionRequest) Add(ctx context.Context, reqObj *CommsOperation) (resObj *CommsOperation, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for CommsOperation collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallRequestBuilder) Participants() *CallParticipantsCollectionRequestBuilder {
bb := &CallParticipantsCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/participants"
return bb
} | Participants returns request builder for Participant collection | Participants | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallParticipantsCollectionRequestBuilder) Request() *CallParticipantsCollectionRequest {
return &CallParticipantsCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for Participant collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *CallParticipantsCollectionRequestBuilder) ID(id string) *ParticipantRequestBuilder {
bb := &ParticipantRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for Participant item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallParticipantsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Participant, 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 []Participant
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 []Participant
)
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 Participant collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallParticipantsCollectionRequest) GetN(ctx context.Context, n int) ([]Participant, 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 Participant collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallParticipantsCollectionRequest) Get(ctx context.Context) ([]Participant, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for Participant collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (r *CallParticipantsCollectionRequest) Add(ctx context.Context, reqObj *Participant) (resObj *Participant, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for Participant collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionCall.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Rri(reqObj *WorkbookFunctionsRriRequestParameter) *WorkbookFunctionsRriRequestBuilder {
bb := &WorkbookFunctionsRriRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/rri"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Rri action undocumented | Rri | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRri.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsRri.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupDayBs(reqObj *WorkbookFunctionsCoupDayBsRequestParameter) *WorkbookFunctionsCoupDayBsRequestBuilder {
bb := &WorkbookFunctionsCoupDayBsRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupDayBs"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupDayBs action undocumented | CoupDayBs | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupDays(reqObj *WorkbookFunctionsCoupDaysRequestParameter) *WorkbookFunctionsCoupDaysRequestBuilder {
bb := &WorkbookFunctionsCoupDaysRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupDays"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupDays action undocumented | CoupDays | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupDaysNc(reqObj *WorkbookFunctionsCoupDaysNcRequestParameter) *WorkbookFunctionsCoupDaysNcRequestBuilder {
bb := &WorkbookFunctionsCoupDaysNcRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupDaysNc"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupDaysNc action undocumented | CoupDaysNc | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupNcd(reqObj *WorkbookFunctionsCoupNcdRequestParameter) *WorkbookFunctionsCoupNcdRequestBuilder {
bb := &WorkbookFunctionsCoupNcdRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupNcd"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupNcd action undocumented | CoupNcd | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupNum(reqObj *WorkbookFunctionsCoupNumRequestParameter) *WorkbookFunctionsCoupNumRequestBuilder {
bb := &WorkbookFunctionsCoupNumRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupNum"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupNum action undocumented | CoupNum | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) CoupPcd(reqObj *WorkbookFunctionsCoupPcdRequestParameter) *WorkbookFunctionsCoupPcdRequestBuilder {
bb := &WorkbookFunctionsCoupPcdRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/coupPcd"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | CoupPcd action undocumented | CoupPcd | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsCoup.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Confidence_Norm(reqObj *WorkbookFunctionsConfidence_NormRequestParameter) *WorkbookFunctionsConfidence_NormRequestBuilder {
bb := &WorkbookFunctionsConfidence_NormRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/confidence_Norm"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Confidence_Norm action undocumented | Confidence_Norm | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsConfidence_.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsConfidence_.go | Apache-2.0 |
func (b *WorkbookFunctionsRequestBuilder) Confidence_T(reqObj *WorkbookFunctionsConfidence_TRequestParameter) *WorkbookFunctionsConfidence_TRequestBuilder {
bb := &WorkbookFunctionsConfidence_TRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/confidence_T"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
} | Confidence_T action undocumented | Confidence_T | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsConfidence_.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsConfidence_.go | Apache-2.0 |
func (b *SalesCreditMemoRequestBuilder) Currency() *CurrencyRequestBuilder {
bb := &CurrencyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/currency"
return bb
} | Currency is navigation property | Currency | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoRequestBuilder) Customer() *CustomerRequestBuilder {
bb := &CustomerRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/customer"
return bb
} | Customer is navigation property | Customer | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoRequestBuilder) PaymentTerm() *PaymentTermRequestBuilder {
bb := &PaymentTermRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/paymentTerm"
return bb
} | PaymentTerm is navigation property | PaymentTerm | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoRequestBuilder) SalesCreditMemoLines() *SalesCreditMemoSalesCreditMemoLinesCollectionRequestBuilder {
bb := &SalesCreditMemoSalesCreditMemoLinesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/salesCreditMemoLines"
return bb
} | SalesCreditMemoLines returns request builder for SalesCreditMemoLine collection | SalesCreditMemoLines | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoSalesCreditMemoLinesCollectionRequestBuilder) Request() *SalesCreditMemoSalesCreditMemoLinesCollectionRequest {
return &SalesCreditMemoSalesCreditMemoLinesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for SalesCreditMemoLine collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoSalesCreditMemoLinesCollectionRequestBuilder) ID(id string) *SalesCreditMemoLineRequestBuilder {
bb := &SalesCreditMemoLineRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for SalesCreditMemoLine item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesCreditMemoSalesCreditMemoLinesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SalesCreditMemoLine, 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 []SalesCreditMemoLine
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 []SalesCreditMemoLine
)
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 SalesCreditMemoLine collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesCreditMemoSalesCreditMemoLinesCollectionRequest) GetN(ctx context.Context, n int) ([]SalesCreditMemoLine, 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 SalesCreditMemoLine collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesCreditMemoSalesCreditMemoLinesCollectionRequest) Get(ctx context.Context) ([]SalesCreditMemoLine, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for SalesCreditMemoLine collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesCreditMemoSalesCreditMemoLinesCollectionRequest) Add(ctx context.Context, reqObj *SalesCreditMemoLine) (resObj *SalesCreditMemoLine, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for SalesCreditMemoLine collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoLineRequestBuilder) Account() *AccountRequestBuilder {
bb := &AccountRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/account"
return bb
} | Account is navigation property | Account | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesCreditMemoLineRequestBuilder) Item() *ItemRequestBuilder {
bb := &ItemRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/item"
return bb
} | Item is navigation property | Item | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceRequestBuilder) Currency() *CurrencyRequestBuilder {
bb := &CurrencyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/currency"
return bb
} | Currency is navigation property | Currency | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceRequestBuilder) Customer() *CustomerRequestBuilder {
bb := &CustomerRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/customer"
return bb
} | Customer is navigation property | Customer | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceRequestBuilder) PaymentTerm() *PaymentTermRequestBuilder {
bb := &PaymentTermRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/paymentTerm"
return bb
} | PaymentTerm is navigation property | PaymentTerm | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceRequestBuilder) SalesInvoiceLines() *SalesInvoiceSalesInvoiceLinesCollectionRequestBuilder {
bb := &SalesInvoiceSalesInvoiceLinesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/salesInvoiceLines"
return bb
} | SalesInvoiceLines returns request builder for SalesInvoiceLine collection | SalesInvoiceLines | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceSalesInvoiceLinesCollectionRequestBuilder) Request() *SalesInvoiceSalesInvoiceLinesCollectionRequest {
return &SalesInvoiceSalesInvoiceLinesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for SalesInvoiceLine collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceSalesInvoiceLinesCollectionRequestBuilder) ID(id string) *SalesInvoiceLineRequestBuilder {
bb := &SalesInvoiceLineRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/" + id
return bb
} | ID returns request builder for SalesInvoiceLine item | ID | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesInvoiceSalesInvoiceLinesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SalesInvoiceLine, 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 []SalesInvoiceLine
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 []SalesInvoiceLine
)
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 SalesInvoiceLine collection | Paging | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesInvoiceSalesInvoiceLinesCollectionRequest) GetN(ctx context.Context, n int) ([]SalesInvoiceLine, 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 SalesInvoiceLine collection, max N pages | GetN | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesInvoiceSalesInvoiceLinesCollectionRequest) Get(ctx context.Context) ([]SalesInvoiceLine, error) {
return r.GetN(ctx, 0)
} | Get performs GET request for SalesInvoiceLine collection | Get | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (r *SalesInvoiceSalesInvoiceLinesCollectionRequest) Add(ctx context.Context, reqObj *SalesInvoiceLine) (resObj *SalesInvoiceLine, err error) {
err = r.JSONRequest(ctx, "POST", "", reqObj, &resObj)
return
} | Add performs POST request for SalesInvoiceLine collection | Add | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceRequestBuilder) ShipmentMethod() *ShipmentMethodRequestBuilder {
bb := &ShipmentMethodRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/shipmentMethod"
return bb
} | ShipmentMethod is navigation property | ShipmentMethod | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceLineRequestBuilder) Account() *AccountRequestBuilder {
bb := &AccountRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/account"
return bb
} | Account is navigation property | Account | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesInvoiceLineRequestBuilder) Item() *ItemRequestBuilder {
bb := &ItemRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/item"
return bb
} | Item is navigation property | Item | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesOrderRequestBuilder) Currency() *CurrencyRequestBuilder {
bb := &CurrencyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/currency"
return bb
} | Currency is navigation property | Currency | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesOrderRequestBuilder) Customer() *CustomerRequestBuilder {
bb := &CustomerRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/customer"
return bb
} | Customer is navigation property | Customer | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesOrderRequestBuilder) PaymentTerm() *PaymentTermRequestBuilder {
bb := &PaymentTermRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/paymentTerm"
return bb
} | PaymentTerm is navigation property | PaymentTerm | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesOrderRequestBuilder) SalesOrderLines() *SalesOrderSalesOrderLinesCollectionRequestBuilder {
bb := &SalesOrderSalesOrderLinesCollectionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.baseURL += "/salesOrderLines"
return bb
} | SalesOrderLines returns request builder for SalesOrderLine collection | SalesOrderLines | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
func (b *SalesOrderSalesOrderLinesCollectionRequestBuilder) Request() *SalesOrderSalesOrderLinesCollectionRequest {
return &SalesOrderSalesOrderLinesCollectionRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
}
} | Request returns request for SalesOrderLine collection | Request | go | 42wim/matterbridge | vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | https://github.com/42wim/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/ActionSales.go | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.