From 9785edd26366be8eb11c2435f50f90a5c8eea7fc Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 8 Mar 2020 17:08:18 +0100 Subject: Remove replace directives and use own fork to make go get work again (#1028) See https://github.com/golang/go/issues/30354 go get doesn't honor the go.mod replace options. --- .../beta/DeviceManagementReportsAction.go | 244 +++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementReportsAction.go (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementReportsAction.go') diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementReportsAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementReportsAction.go new file mode 100644 index 00000000..e91994a5 --- /dev/null +++ b/vendor/github.com/matterbridge/msgraph.go/beta/DeviceManagementReportsAction.go @@ -0,0 +1,244 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// DeviceManagementReportsGetDeviceNonComplianceReportRequestParameter undocumented +type DeviceManagementReportsGetDeviceNonComplianceReportRequestParameter struct { + // Name undocumented + Name *string `json:"name,omitempty"` + // Select undocumented + Select []string `json:"select,omitempty"` + // Search undocumented + Search *string `json:"search,omitempty"` + // GroupBy undocumented + GroupBy []string `json:"groupBy,omitempty"` + // OrderBy undocumented + OrderBy []string `json:"orderBy,omitempty"` + // Skip undocumented + Skip *int `json:"skip,omitempty"` + // Top undocumented + Top *int `json:"top,omitempty"` + // SessionID undocumented + SessionID *string `json:"sessionId,omitempty"` + // Filter undocumented + Filter *string `json:"filter,omitempty"` +} + +// DeviceManagementReportsGetPolicyNonComplianceReportRequestParameter undocumented +type DeviceManagementReportsGetPolicyNonComplianceReportRequestParameter struct { + // Name undocumented + Name *string `json:"name,omitempty"` + // Select undocumented + Select []string `json:"select,omitempty"` + // Search undocumented + Search *string `json:"search,omitempty"` + // GroupBy undocumented + GroupBy []string `json:"groupBy,omitempty"` + // OrderBy undocumented + OrderBy []string `json:"orderBy,omitempty"` + // Skip undocumented + Skip *int `json:"skip,omitempty"` + // Top undocumented + Top *int `json:"top,omitempty"` + // SessionID undocumented + SessionID *string `json:"sessionId,omitempty"` + // Filter undocumented + Filter *string `json:"filter,omitempty"` +} + +// DeviceManagementReportsGetPolicyNonComplianceMetadataRequestParameter undocumented +type DeviceManagementReportsGetPolicyNonComplianceMetadataRequestParameter struct { + // Name undocumented + Name *string `json:"name,omitempty"` + // Select undocumented + Select []string `json:"select,omitempty"` + // Search undocumented + Search *string `json:"search,omitempty"` + // GroupBy undocumented + GroupBy []string `json:"groupBy,omitempty"` + // OrderBy undocumented + OrderBy []string `json:"orderBy,omitempty"` + // Skip undocumented + Skip *int `json:"skip,omitempty"` + // Top undocumented + Top *int `json:"top,omitempty"` + // SessionID undocumented + SessionID *string `json:"sessionId,omitempty"` + // Filter undocumented + Filter *string `json:"filter,omitempty"` +} + +// DeviceManagementReportsGetHistoricalReportRequestParameter undocumented +type DeviceManagementReportsGetHistoricalReportRequestParameter struct { + // Name undocumented + Name *string `json:"name,omitempty"` + // Select undocumented + Select []string `json:"select,omitempty"` + // Search undocumented + Search *string `json:"search,omitempty"` + // GroupBy undocumented + GroupBy []string `json:"groupBy,omitempty"` + // OrderBy undocumented + OrderBy []string `json:"orderBy,omitempty"` + // Skip undocumented + Skip *int `json:"skip,omitempty"` + // Top undocumented + Top *int `json:"top,omitempty"` + // Filter undocumented + Filter *string `json:"filter,omitempty"` +} + +// DeviceManagementReportsGetCachedReportRequestParameter undocumented +type DeviceManagementReportsGetCachedReportRequestParameter struct { + // ID undocumented + ID *string `json:"id,omitempty"` + // Select undocumented + Select []string `json:"select,omitempty"` + // Search undocumented + Search *string `json:"search,omitempty"` + // GroupBy undocumented + GroupBy []string `json:"groupBy,omitempty"` + // OrderBy undocumented + OrderBy []string `json:"orderBy,omitempty"` + // Skip undocumented + Skip *int `json:"skip,omitempty"` + // Top undocumented + Top *int `json:"top,omitempty"` +} + +// +type DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder struct{ BaseRequestBuilder } + +// GetDeviceNonComplianceReport action undocumented +func (b *DeviceManagementReportsRequestBuilder) GetDeviceNonComplianceReport(reqObj *DeviceManagementReportsGetDeviceNonComplianceReportRequestParameter) *DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder { + bb := &DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/getDeviceNonComplianceReport" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type DeviceManagementReportsGetDeviceNonComplianceReportRequest struct{ BaseRequest } + +// +func (b *DeviceManagementReportsGetDeviceNonComplianceReportRequestBuilder) Request() *DeviceManagementReportsGetDeviceNonComplianceReportRequest { + return &DeviceManagementReportsGetDeviceNonComplianceReportRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *DeviceManagementReportsGetDeviceNonComplianceReportRequest) Post(ctx context.Context) (resObj *Stream, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder struct{ BaseRequestBuilder } + +// GetPolicyNonComplianceReport action undocumented +func (b *DeviceManagementReportsRequestBuilder) GetPolicyNonComplianceReport(reqObj *DeviceManagementReportsGetPolicyNonComplianceReportRequestParameter) *DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder { + bb := &DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/getPolicyNonComplianceReport" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type DeviceManagementReportsGetPolicyNonComplianceReportRequest struct{ BaseRequest } + +// +func (b *DeviceManagementReportsGetPolicyNonComplianceReportRequestBuilder) Request() *DeviceManagementReportsGetPolicyNonComplianceReportRequest { + return &DeviceManagementReportsGetPolicyNonComplianceReportRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *DeviceManagementReportsGetPolicyNonComplianceReportRequest) Post(ctx context.Context) (resObj *Stream, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder struct{ BaseRequestBuilder } + +// GetPolicyNonComplianceMetadata action undocumented +func (b *DeviceManagementReportsRequestBuilder) GetPolicyNonComplianceMetadata(reqObj *DeviceManagementReportsGetPolicyNonComplianceMetadataRequestParameter) *DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder { + bb := &DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/getPolicyNonComplianceMetadata" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type DeviceManagementReportsGetPolicyNonComplianceMetadataRequest struct{ BaseRequest } + +// +func (b *DeviceManagementReportsGetPolicyNonComplianceMetadataRequestBuilder) Request() *DeviceManagementReportsGetPolicyNonComplianceMetadataRequest { + return &DeviceManagementReportsGetPolicyNonComplianceMetadataRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *DeviceManagementReportsGetPolicyNonComplianceMetadataRequest) Post(ctx context.Context) (resObj *Stream, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type DeviceManagementReportsGetHistoricalReportRequestBuilder struct{ BaseRequestBuilder } + +// GetHistoricalReport action undocumented +func (b *DeviceManagementReportsRequestBuilder) GetHistoricalReport(reqObj *DeviceManagementReportsGetHistoricalReportRequestParameter) *DeviceManagementReportsGetHistoricalReportRequestBuilder { + bb := &DeviceManagementReportsGetHistoricalReportRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/getHistoricalReport" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type DeviceManagementReportsGetHistoricalReportRequest struct{ BaseRequest } + +// +func (b *DeviceManagementReportsGetHistoricalReportRequestBuilder) Request() *DeviceManagementReportsGetHistoricalReportRequest { + return &DeviceManagementReportsGetHistoricalReportRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *DeviceManagementReportsGetHistoricalReportRequest) Post(ctx context.Context) (resObj *Stream, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type DeviceManagementReportsGetCachedReportRequestBuilder struct{ BaseRequestBuilder } + +// GetCachedReport action undocumented +func (b *DeviceManagementReportsRequestBuilder) GetCachedReport(reqObj *DeviceManagementReportsGetCachedReportRequestParameter) *DeviceManagementReportsGetCachedReportRequestBuilder { + bb := &DeviceManagementReportsGetCachedReportRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/getCachedReport" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type DeviceManagementReportsGetCachedReportRequest struct{ BaseRequest } + +// +func (b *DeviceManagementReportsGetCachedReportRequestBuilder) Request() *DeviceManagementReportsGetCachedReportRequest { + return &DeviceManagementReportsGetCachedReportRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *DeviceManagementReportsGetCachedReportRequest) Post(ctx context.Context) (resObj *Stream, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} -- cgit v1.2.3