Class: MicrosoftGraph::Reports::ReportsRequestBuilder

Inherits:
MicrosoftKiotaAbstractions::BaseRequestBuilder
  • Object
show all
Defined in:
lib/reports/reports_request_builder.rb

Overview

Provides operations to manage the reportRoot singleton.

Defined Under Namespace

Classes: ReportsRequestBuilderGetQueryParameters

Instance Method Summary collapse

Constructor Details

#initialize(path_parameters, request_adapter) ⇒ Object

Instantiates a new ReportsRequestBuilder and sets the default values.

Parameters:

  • path_parameters

    Path parameters for the request

  • request_adapter

    The request adapter to use to execute the requests.



192
193
194
# File 'lib/reports/reports_request_builder.rb', line 192

def initialize(path_parameters, request_adapter)
    super(path_parameters, request_adapter, "{+baseurl}/reports{?%24select,%24expand}")
end

Instance Method Details

#authentication_methodsObject

Provides operations to manage the authenticationMethods property of the microsoft.graph.reportRoot entity.



123
124
125
# File 'lib/reports/reports_request_builder.rb', line 123

def authentication_methods()
    return MicrosoftGraph::Reports::AuthenticationMethods::AuthenticationMethodsRequestBuilder.new(@path_parameters, @request_adapter)
end

#daily_print_usage_by_printerObject

Provides operations to manage the dailyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity.



128
129
130
# File 'lib/reports/reports_request_builder.rb', line 128

def daily_print_usage_by_printer()
    return MicrosoftGraph::Reports::DailyPrintUsageByPrinter::DailyPrintUsageByPrinterRequestBuilder.new(@path_parameters, @request_adapter)
end

#daily_print_usage_by_userObject

Provides operations to manage the dailyPrintUsageByUser property of the microsoft.graph.reportRoot entity.



133
134
135
# File 'lib/reports/reports_request_builder.rb', line 133

def daily_print_usage_by_user()
    return MicrosoftGraph::Reports::DailyPrintUsageByUser::DailyPrintUsageByUserRequestBuilder.new(@path_parameters, @request_adapter)
end

#device_configuration_device_activityObject

Provides operations to call the deviceConfigurationDeviceActivity method.



138
139
140
# File 'lib/reports/reports_request_builder.rb', line 138

def device_configuration_device_activity()
    return MicrosoftGraph::Reports::DeviceConfigurationDeviceActivity::DeviceConfigurationDeviceActivityRequestBuilder.new(@path_parameters, @request_adapter)
end

#device_configuration_user_activityObject

Provides operations to call the deviceConfigurationUserActivity method.



143
144
145
# File 'lib/reports/reports_request_builder.rb', line 143

def device_configuration_user_activity()
    return MicrosoftGraph::Reports::DeviceConfigurationUserActivity::DeviceConfigurationUserActivityRequestBuilder.new(@path_parameters, @request_adapter)
end

#get(request_configuration = nil) ⇒ Object

Read properties and relationships of the reportRoot object.

Parameters:

  • request_configuration (defaults to: nil)

    Configuration for the request such as headers, query parameters, and middleware options.

Returns:

  • a Fiber of report_root



200
201
202
203
204
205
206
207
208
# File 'lib/reports/reports_request_builder.rb', line 200

def get(request_configuration=nil)
    request_info = self.to_get_request_information(
        request_configuration
    )
    error_mapping = Hash.new
    error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) }
    error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) }
    return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ReportRoot.create_from_discriminator_value(pn) }, error_mapping)
end

#get_email_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getEmailActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


214
215
216
217
# File 'lib/reports/reports_request_builder.rb', line 214

def get_email_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getEmailActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


223
224
225
226
# File 'lib/reports/reports_request_builder.rb', line 223

def get_email_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getEmailActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_email_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


232
233
234
235
# File 'lib/reports/reports_request_builder.rb', line 232

def get_email_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetEmailActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_email_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getEmailActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


241
242
243
244
# File 'lib/reports/reports_request_builder.rb', line 241

def get_email_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_app_usage_apps_user_counts_with_period(period) ⇒ Object

Provides operations to call the getEmailAppUsageAppsUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_app_usage_apps_user_counts_with_period_request_builder

Raises:

  • (StandardError)


250
251
252
253
# File 'lib/reports/reports_request_builder.rb', line 250

def get_email_app_usage_apps_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_app_usage_user_counts_with_period(period) ⇒ Object

Provides operations to call the getEmailAppUsageUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_app_usage_user_counts_with_period_request_builder

Raises:

  • (StandardError)


259
260
261
262
# File 'lib/reports/reports_request_builder.rb', line 259

def get_email_app_usage_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailAppUsageUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_app_usage_user_detail_with_date(date) ⇒ Object

Provides operations to call the getEmailAppUsageUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_email_app_usage_user_detail_with_date_request_builder

Raises:

  • (StandardError)


268
269
270
271
# File 'lib/reports/reports_request_builder.rb', line 268

def get_email_app_usage_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetEmailAppUsageUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_email_app_usage_user_detail_with_period(period) ⇒ Object

Provides operations to call the getEmailAppUsageUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_app_usage_user_detail_with_period_request_builder

Raises:

  • (StandardError)


277
278
279
280
# File 'lib/reports/reports_request_builder.rb', line 277

def get_email_app_usage_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailAppUsageUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_email_app_usage_versions_user_counts_with_period(period) ⇒ Object

Provides operations to call the getEmailAppUsageVersionsUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_email_app_usage_versions_user_counts_with_period_request_builder

Raises:

  • (StandardError)


286
287
288
289
# File 'lib/reports/reports_request_builder.rb', line 286

def get_email_app_usage_versions_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time(end_date_time, group_id, start_date_time) ⇒ Object

Provides operations to call the getGroupArchivedPrintJobs method.

Parameters:

  • end_date_time

    Usage: endDateTime=endDateTime

  • group_id

    Usage: groupId=‘groupId’

  • start_date_time

    Usage: startDateTime=startDateTime

Returns:

  • a get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder

Raises:

  • (StandardError)


297
298
299
300
301
302
# File 'lib/reports/reports_request_builder.rb', line 297

def get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time(end_date_time, group_id, start_date_time)
    raise StandardError, 'end_date_time cannot be null' if end_date_time.nil?
    raise StandardError, 'group_id cannot be null' if group_id.nil?
    raise StandardError, 'start_date_time cannot be null' if start_date_time.nil?
    return GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.new(@path_parameters, @request_adapter, endDateTime, groupId, startDateTime)
end

#get_m365_app_platform_user_counts_with_period(period) ⇒ Object

Provides operations to call the getM365AppPlatformUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_m365_app_platform_user_counts_with_period_request_builder

Raises:

  • (StandardError)


308
309
310
311
# File 'lib/reports/reports_request_builder.rb', line 308

def get_m365_app_platform_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetM365AppPlatformUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_m365_app_user_counts_with_period(period) ⇒ Object

Provides operations to call the getM365AppUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_m365_app_user_counts_with_period_request_builder

Raises:

  • (StandardError)


317
318
319
320
# File 'lib/reports/reports_request_builder.rb', line 317

def get_m365_app_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetM365AppUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_m365_app_user_detail_with_date(date) ⇒ Object

Provides operations to call the getM365AppUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_m365_app_user_detail_with_date_request_builder

Raises:

  • (StandardError)


326
327
328
329
# File 'lib/reports/reports_request_builder.rb', line 326

def get_m365_app_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetM365AppUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_m365_app_user_detail_with_period(period) ⇒ Object

Provides operations to call the getM365AppUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_m365_app_user_detail_with_period_request_builder

Raises:

  • (StandardError)


335
336
337
338
# File 'lib/reports/reports_request_builder.rb', line 335

def get_m365_app_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetM365AppUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_mailbox_usage_detail_with_period(period) ⇒ Object

Provides operations to call the getMailboxUsageDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_mailbox_usage_detail_with_period_request_builder

Raises:

  • (StandardError)


344
345
346
347
# File 'lib/reports/reports_request_builder.rb', line 344

def get_mailbox_usage_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetMailboxUsageDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_mailbox_usage_mailbox_counts_with_period(period) ⇒ Object

Provides operations to call the getMailboxUsageMailboxCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_mailbox_usage_mailbox_counts_with_period_request_builder

Raises:

  • (StandardError)


353
354
355
356
# File 'lib/reports/reports_request_builder.rb', line 353

def get_mailbox_usage_mailbox_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_mailbox_usage_quota_status_mailbox_counts_with_period(period) ⇒ Object

Provides operations to call the getMailboxUsageQuotaStatusMailboxCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder

Raises:

  • (StandardError)


362
363
364
365
# File 'lib/reports/reports_request_builder.rb', line 362

def get_mailbox_usage_quota_status_mailbox_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_mailbox_usage_storage_with_period(period) ⇒ Object

Provides operations to call the getMailboxUsageStorage method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_mailbox_usage_storage_with_period_request_builder

Raises:

  • (StandardError)


371
372
373
374
# File 'lib/reports/reports_request_builder.rb', line 371

def get_mailbox_usage_storage_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetMailboxUsageStorageWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_activation_countsObject

Provides operations to call the getOffice365ActivationCounts method.



148
149
150
# File 'lib/reports/reports_request_builder.rb', line 148

def get_office365_activation_counts()
    return MicrosoftGraph::Reports::GetOffice365ActivationCounts::GetOffice365ActivationCountsRequestBuilder.new(@path_parameters, @request_adapter)
end

#get_office365_activations_user_countsObject

Provides operations to call the getOffice365ActivationsUserCounts method.



153
154
155
# File 'lib/reports/reports_request_builder.rb', line 153

def get_office365_activations_user_counts()
    return MicrosoftGraph::Reports::GetOffice365ActivationsUserCounts::GetOffice365ActivationsUserCountsRequestBuilder.new(@path_parameters, @request_adapter)
end

#get_office365_activations_user_detailObject

Provides operations to call the getOffice365ActivationsUserDetail method.



158
159
160
# File 'lib/reports/reports_request_builder.rb', line 158

def get_office365_activations_user_detail()
    return MicrosoftGraph::Reports::GetOffice365ActivationsUserDetail::GetOffice365ActivationsUserDetailRequestBuilder.new(@path_parameters, @request_adapter)
end

#get_office365_active_user_counts_with_period(period) ⇒ Object

Provides operations to call the getOffice365ActiveUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_active_user_counts_with_period_request_builder

Raises:

  • (StandardError)


380
381
382
383
# File 'lib/reports/reports_request_builder.rb', line 380

def get_office365_active_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365ActiveUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_active_user_detail_with_date(date) ⇒ Object

Provides operations to call the getOffice365ActiveUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_office365_active_user_detail_with_date_request_builder

Raises:

  • (StandardError)


389
390
391
392
# File 'lib/reports/reports_request_builder.rb', line 389

def get_office365_active_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetOffice365ActiveUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_office365_active_user_detail_with_period(period) ⇒ Object

Provides operations to call the getOffice365ActiveUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_active_user_detail_with_period_request_builder

Raises:

  • (StandardError)


398
399
400
401
# File 'lib/reports/reports_request_builder.rb', line 398

def get_office365_active_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365ActiveUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_groups_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getOffice365GroupsActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_groups_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


407
408
409
410
# File 'lib/reports/reports_request_builder.rb', line 407

def get_office365_groups_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_groups_activity_detail_with_date(date) ⇒ Object

Provides operations to call the getOffice365GroupsActivityDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_office365_groups_activity_detail_with_date_request_builder

Raises:

  • (StandardError)


416
417
418
419
# File 'lib/reports/reports_request_builder.rb', line 416

def get_office365_groups_activity_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetOffice365GroupsActivityDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_office365_groups_activity_detail_with_period(period) ⇒ Object

Provides operations to call the getOffice365GroupsActivityDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_groups_activity_detail_with_period_request_builder

Raises:

  • (StandardError)


425
426
427
428
# File 'lib/reports/reports_request_builder.rb', line 425

def get_office365_groups_activity_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_groups_activity_file_counts_with_period(period) ⇒ Object

Provides operations to call the getOffice365GroupsActivityFileCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_groups_activity_file_counts_with_period_request_builder

Raises:

  • (StandardError)


434
435
436
437
# File 'lib/reports/reports_request_builder.rb', line 434

def get_office365_groups_activity_file_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_groups_activity_group_counts_with_period(period) ⇒ Object

Provides operations to call the getOffice365GroupsActivityGroupCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_groups_activity_group_counts_with_period_request_builder

Raises:

  • (StandardError)


443
444
445
446
# File 'lib/reports/reports_request_builder.rb', line 443

def get_office365_groups_activity_group_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_groups_activity_storage_with_period(period) ⇒ Object

Provides operations to call the getOffice365GroupsActivityStorage method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_groups_activity_storage_with_period_request_builder

Raises:

  • (StandardError)


452
453
454
455
# File 'lib/reports/reports_request_builder.rb', line 452

def get_office365_groups_activity_storage_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_office365_services_user_counts_with_period(period) ⇒ Object

Provides operations to call the getOffice365ServicesUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_office365_services_user_counts_with_period_request_builder

Raises:

  • (StandardError)


461
462
463
464
# File 'lib/reports/reports_request_builder.rb', line 461

def get_office365_services_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOffice365ServicesUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_activity_file_counts_with_period(period) ⇒ Object

Provides operations to call the getOneDriveActivityFileCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_activity_file_counts_with_period_request_builder

Raises:

  • (StandardError)


470
471
472
473
# File 'lib/reports/reports_request_builder.rb', line 470

def get_one_drive_activity_file_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveActivityFileCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getOneDriveActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


479
480
481
482
# File 'lib/reports/reports_request_builder.rb', line 479

def get_one_drive_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getOneDriveActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_one_drive_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


488
489
490
491
# File 'lib/reports/reports_request_builder.rb', line 488

def get_one_drive_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetOneDriveActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_one_drive_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getOneDriveActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


497
498
499
500
# File 'lib/reports/reports_request_builder.rb', line 497

def get_one_drive_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_usage_account_counts_with_period(period) ⇒ Object

Provides operations to call the getOneDriveUsageAccountCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_usage_account_counts_with_period_request_builder

Raises:

  • (StandardError)


506
507
508
509
# File 'lib/reports/reports_request_builder.rb', line 506

def (period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_usage_account_detail_with_date(date) ⇒ Object

Provides operations to call the getOneDriveUsageAccountDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_one_drive_usage_account_detail_with_date_request_builder

Raises:

  • (StandardError)


515
516
517
518
# File 'lib/reports/reports_request_builder.rb', line 515

def (date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetOneDriveUsageAccountDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_one_drive_usage_account_detail_with_period(period) ⇒ Object

Provides operations to call the getOneDriveUsageAccountDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_usage_account_detail_with_period_request_builder

Raises:

  • (StandardError)


524
525
526
527
# File 'lib/reports/reports_request_builder.rb', line 524

def (period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_usage_file_counts_with_period(period) ⇒ Object

Provides operations to call the getOneDriveUsageFileCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_usage_file_counts_with_period_request_builder

Raises:

  • (StandardError)


533
534
535
536
# File 'lib/reports/reports_request_builder.rb', line 533

def get_one_drive_usage_file_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveUsageFileCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_one_drive_usage_storage_with_period(period) ⇒ Object

Provides operations to call the getOneDriveUsageStorage method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_one_drive_usage_storage_with_period_request_builder

Raises:

  • (StandardError)


542
543
544
545
# File 'lib/reports/reports_request_builder.rb', line 542

def get_one_drive_usage_storage_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetOneDriveUsageStorageWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time(end_date_time, printer_id, start_date_time) ⇒ Object

Provides operations to call the getPrinterArchivedPrintJobs method.

Parameters:

  • end_date_time

    Usage: endDateTime=endDateTime

  • printer_id

    Usage: printerId=‘printerId’

  • start_date_time

    Usage: startDateTime=startDateTime

Returns:

  • a get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder

Raises:

  • (StandardError)


553
554
555
556
557
558
# File 'lib/reports/reports_request_builder.rb', line 553

def get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time(end_date_time, printer_id, start_date_time)
    raise StandardError, 'end_date_time cannot be null' if end_date_time.nil?
    raise StandardError, 'printer_id cannot be null' if printer_id.nil?
    raise StandardError, 'start_date_time cannot be null' if start_date_time.nil?
    return GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.new(@path_parameters, @request_adapter, endDateTime, printerId, startDateTime)
end

#get_share_point_activity_file_counts_with_period(period) ⇒ Object

Provides operations to call the getSharePointActivityFileCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_activity_file_counts_with_period_request_builder

Raises:

  • (StandardError)


564
565
566
567
# File 'lib/reports/reports_request_builder.rb', line 564

def get_share_point_activity_file_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointActivityFileCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_activity_pages_with_period(period) ⇒ Object

Provides operations to call the getSharePointActivityPages method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_activity_pages_with_period_request_builder

Raises:

  • (StandardError)


573
574
575
576
# File 'lib/reports/reports_request_builder.rb', line 573

def get_share_point_activity_pages_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointActivityPagesWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSharePointActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


582
583
584
585
# File 'lib/reports/reports_request_builder.rb', line 582

def get_share_point_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getSharePointActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_share_point_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


591
592
593
594
# File 'lib/reports/reports_request_builder.rb', line 591

def get_share_point_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetSharePointActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_share_point_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getSharePointActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


600
601
602
603
# File 'lib/reports/reports_request_builder.rb', line 600

def get_share_point_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_site_usage_detail_with_date(date) ⇒ Object

Provides operations to call the getSharePointSiteUsageDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_share_point_site_usage_detail_with_date_request_builder

Raises:

  • (StandardError)


609
610
611
612
# File 'lib/reports/reports_request_builder.rb', line 609

def get_share_point_site_usage_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetSharePointSiteUsageDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_share_point_site_usage_detail_with_period(period) ⇒ Object

Provides operations to call the getSharePointSiteUsageDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_site_usage_detail_with_period_request_builder

Raises:

  • (StandardError)


618
619
620
621
# File 'lib/reports/reports_request_builder.rb', line 618

def get_share_point_site_usage_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointSiteUsageDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_site_usage_file_counts_with_period(period) ⇒ Object

Provides operations to call the getSharePointSiteUsageFileCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_site_usage_file_counts_with_period_request_builder

Raises:

  • (StandardError)


627
628
629
630
# File 'lib/reports/reports_request_builder.rb', line 627

def get_share_point_site_usage_file_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_site_usage_pages_with_period(period) ⇒ Object

Provides operations to call the getSharePointSiteUsagePages method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_site_usage_pages_with_period_request_builder

Raises:

  • (StandardError)


636
637
638
639
# File 'lib/reports/reports_request_builder.rb', line 636

def get_share_point_site_usage_pages_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointSiteUsagePagesWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_site_usage_site_counts_with_period(period) ⇒ Object

Provides operations to call the getSharePointSiteUsageSiteCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_site_usage_site_counts_with_period_request_builder

Raises:

  • (StandardError)


645
646
647
648
# File 'lib/reports/reports_request_builder.rb', line 645

def get_share_point_site_usage_site_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_share_point_site_usage_storage_with_period(period) ⇒ Object

Provides operations to call the getSharePointSiteUsageStorage method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_share_point_site_usage_storage_with_period_request_builder

Raises:

  • (StandardError)


654
655
656
657
# File 'lib/reports/reports_request_builder.rb', line 654

def get_share_point_site_usage_storage_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSharePointSiteUsageStorageWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


663
664
665
666
# File 'lib/reports/reports_request_builder.rb', line 663

def get_skype_for_business_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


672
673
674
675
# File 'lib/reports/reports_request_builder.rb', line 672

def get_skype_for_business_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getSkypeForBusinessActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_skype_for_business_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


681
682
683
684
# File 'lib/reports/reports_request_builder.rb', line 681

def get_skype_for_business_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_skype_for_business_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


690
691
692
693
# File 'lib/reports/reports_request_builder.rb', line 690

def get_skype_for_business_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_device_usage_distribution_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessDeviceUsageDistributionUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder

Raises:

  • (StandardError)


699
700
701
702
# File 'lib/reports/reports_request_builder.rb', line 699

def get_skype_for_business_device_usage_distribution_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_device_usage_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessDeviceUsageUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_device_usage_user_counts_with_period_request_builder

Raises:

  • (StandardError)


708
709
710
711
# File 'lib/reports/reports_request_builder.rb', line 708

def get_skype_for_business_device_usage_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_device_usage_user_detail_with_date(date) ⇒ Object

Provides operations to call the getSkypeForBusinessDeviceUsageUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_skype_for_business_device_usage_user_detail_with_date_request_builder

Raises:

  • (StandardError)


717
718
719
720
# File 'lib/reports/reports_request_builder.rb', line 717

def get_skype_for_business_device_usage_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_skype_for_business_device_usage_user_detail_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessDeviceUsageUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_device_usage_user_detail_with_period_request_builder

Raises:

  • (StandardError)


726
727
728
729
# File 'lib/reports/reports_request_builder.rb', line 726

def get_skype_for_business_device_usage_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_organizer_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessOrganizerActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_organizer_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


735
736
737
738
# File 'lib/reports/reports_request_builder.rb', line 735

def get_skype_for_business_organizer_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_organizer_activity_minute_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessOrganizerActivityMinuteCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder

Raises:

  • (StandardError)


744
745
746
747
# File 'lib/reports/reports_request_builder.rb', line 744

def get_skype_for_business_organizer_activity_minute_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_organizer_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessOrganizerActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_organizer_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


753
754
755
756
# File 'lib/reports/reports_request_builder.rb', line 753

def get_skype_for_business_organizer_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_participant_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessParticipantActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_participant_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


762
763
764
765
# File 'lib/reports/reports_request_builder.rb', line 762

def get_skype_for_business_participant_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_participant_activity_minute_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessParticipantActivityMinuteCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_participant_activity_minute_counts_with_period_request_builder

Raises:

  • (StandardError)


771
772
773
774
# File 'lib/reports/reports_request_builder.rb', line 771

def get_skype_for_business_participant_activity_minute_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_participant_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessParticipantActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_participant_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


780
781
782
783
# File 'lib/reports/reports_request_builder.rb', line 780

def get_skype_for_business_participant_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_peer_to_peer_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessPeerToPeerActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


789
790
791
792
# File 'lib/reports/reports_request_builder.rb', line 789

def get_skype_for_business_peer_to_peer_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_peer_to_peer_activity_minute_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessPeerToPeerActivityMinuteCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder

Raises:

  • (StandardError)


798
799
800
801
# File 'lib/reports/reports_request_builder.rb', line 798

def get_skype_for_business_peer_to_peer_activity_minute_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_skype_for_business_peer_to_peer_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getSkypeForBusinessPeerToPeerActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


807
808
809
810
# File 'lib/reports/reports_request_builder.rb', line 807

def get_skype_for_business_peer_to_peer_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_device_usage_distribution_user_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsDeviceUsageDistributionUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_device_usage_distribution_user_counts_with_period_request_builder

Raises:

  • (StandardError)


816
817
818
819
# File 'lib/reports/reports_request_builder.rb', line 816

def get_teams_device_usage_distribution_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_device_usage_user_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsDeviceUsageUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_device_usage_user_counts_with_period_request_builder

Raises:

  • (StandardError)


825
826
827
828
# File 'lib/reports/reports_request_builder.rb', line 825

def get_teams_device_usage_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_device_usage_user_detail_with_date(date) ⇒ Object

Provides operations to call the getTeamsDeviceUsageUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_teams_device_usage_user_detail_with_date_request_builder

Raises:

  • (StandardError)


834
835
836
837
# File 'lib/reports/reports_request_builder.rb', line 834

def get_teams_device_usage_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_teams_device_usage_user_detail_with_period(period) ⇒ Object

Provides operations to call the getTeamsDeviceUsageUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_device_usage_user_detail_with_period_request_builder

Raises:

  • (StandardError)


843
844
845
846
# File 'lib/reports/reports_request_builder.rb', line 843

def get_teams_device_usage_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_team_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsTeamActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_team_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


852
853
854
855
# File 'lib/reports/reports_request_builder.rb', line 852

def get_teams_team_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsTeamActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_team_activity_detail_with_date(date) ⇒ Object

Provides operations to call the getTeamsTeamActivityDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_teams_team_activity_detail_with_date_request_builder

Raises:

  • (StandardError)


861
862
863
864
# File 'lib/reports/reports_request_builder.rb', line 861

def get_teams_team_activity_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetTeamsTeamActivityDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_teams_team_activity_detail_with_period(period) ⇒ Object

Provides operations to call the getTeamsTeamActivityDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_team_activity_detail_with_period_request_builder

Raises:

  • (StandardError)


870
871
872
873
# File 'lib/reports/reports_request_builder.rb', line 870

def get_teams_team_activity_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsTeamActivityDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_team_activity_distribution_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsTeamActivityDistributionCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_team_activity_distribution_counts_with_period_request_builder

Raises:

  • (StandardError)


879
880
881
882
# File 'lib/reports/reports_request_builder.rb', line 879

def get_teams_team_activity_distribution_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_team_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsTeamCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_team_counts_with_period_request_builder

Raises:

  • (StandardError)


888
889
890
891
# File 'lib/reports/reports_request_builder.rb', line 888

def get_teams_team_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsTeamCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_user_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsUserActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_user_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


897
898
899
900
# File 'lib/reports/reports_request_builder.rb', line 897

def get_teams_user_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsUserActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_user_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getTeamsUserActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_user_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


906
907
908
909
# File 'lib/reports/reports_request_builder.rb', line 906

def get_teams_user_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_teams_user_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getTeamsUserActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_teams_user_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


915
916
917
918
# File 'lib/reports/reports_request_builder.rb', line 915

def get_teams_user_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetTeamsUserActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_teams_user_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getTeamsUserActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_teams_user_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


924
925
926
927
# File 'lib/reports/reports_request_builder.rb', line 924

def get_teams_user_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time(end_date_time, start_date_time, user_id) ⇒ Object

Provides operations to call the getUserArchivedPrintJobs method.

Parameters:

  • end_date_time

    Usage: endDateTime=endDateTime

  • start_date_time

    Usage: startDateTime=startDateTime

  • user_id

    Usage: userId=‘userId’

Returns:

  • a get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder

Raises:

  • (StandardError)


935
936
937
938
939
940
# File 'lib/reports/reports_request_builder.rb', line 935

def get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time(end_date_time, start_date_time, user_id)
    raise StandardError, 'end_date_time cannot be null' if end_date_time.nil?
    raise StandardError, 'start_date_time cannot be null' if start_date_time.nil?
    raise StandardError, 'user_id cannot be null' if user_id.nil?
    return GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.new(@path_parameters, @request_adapter, endDateTime, startDateTime, userId)
end

#get_yammer_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


946
947
948
949
# File 'lib/reports/reports_request_builder.rb', line 946

def get_yammer_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_activity_user_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerActivityUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_activity_user_counts_with_period_request_builder

Raises:

  • (StandardError)


955
956
957
958
# File 'lib/reports/reports_request_builder.rb', line 955

def get_yammer_activity_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerActivityUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_activity_user_detail_with_date(date) ⇒ Object

Provides operations to call the getYammerActivityUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_yammer_activity_user_detail_with_date_request_builder

Raises:

  • (StandardError)


964
965
966
967
# File 'lib/reports/reports_request_builder.rb', line 964

def get_yammer_activity_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetYammerActivityUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_yammer_activity_user_detail_with_period(period) ⇒ Object

Provides operations to call the getYammerActivityUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_activity_user_detail_with_period_request_builder

Raises:

  • (StandardError)


973
974
975
976
# File 'lib/reports/reports_request_builder.rb', line 973

def get_yammer_activity_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerActivityUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_device_usage_distribution_user_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerDeviceUsageDistributionUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_device_usage_distribution_user_counts_with_period_request_builder

Raises:

  • (StandardError)


982
983
984
985
# File 'lib/reports/reports_request_builder.rb', line 982

def get_yammer_device_usage_distribution_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_device_usage_user_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerDeviceUsageUserCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_device_usage_user_counts_with_period_request_builder

Raises:

  • (StandardError)


991
992
993
994
# File 'lib/reports/reports_request_builder.rb', line 991

def get_yammer_device_usage_user_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_device_usage_user_detail_with_date(date) ⇒ Object

Provides operations to call the getYammerDeviceUsageUserDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_yammer_device_usage_user_detail_with_date_request_builder

Raises:

  • (StandardError)


1000
1001
1002
1003
# File 'lib/reports/reports_request_builder.rb', line 1000

def get_yammer_device_usage_user_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetYammerDeviceUsageUserDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_yammer_device_usage_user_detail_with_period(period) ⇒ Object

Provides operations to call the getYammerDeviceUsageUserDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_device_usage_user_detail_with_period_request_builder

Raises:

  • (StandardError)


1009
1010
1011
1012
# File 'lib/reports/reports_request_builder.rb', line 1009

def get_yammer_device_usage_user_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_groups_activity_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerGroupsActivityCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_groups_activity_counts_with_period_request_builder

Raises:

  • (StandardError)


1018
1019
1020
1021
# File 'lib/reports/reports_request_builder.rb', line 1018

def get_yammer_groups_activity_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerGroupsActivityCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_groups_activity_detail_with_date(date) ⇒ Object

Provides operations to call the getYammerGroupsActivityDetail method.

Parameters:

  • date

    Usage: date=date

Returns:

  • a get_yammer_groups_activity_detail_with_date_request_builder

Raises:

  • (StandardError)


1027
1028
1029
1030
# File 'lib/reports/reports_request_builder.rb', line 1027

def get_yammer_groups_activity_detail_with_date(date)
    raise StandardError, 'date cannot be null' if date.nil?
    return GetYammerGroupsActivityDetailWithDateRequestBuilder.new(@path_parameters, @request_adapter, date)
end

#get_yammer_groups_activity_detail_with_period(period) ⇒ Object

Provides operations to call the getYammerGroupsActivityDetail method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_groups_activity_detail_with_period_request_builder

Raises:

  • (StandardError)


1036
1037
1038
1039
# File 'lib/reports/reports_request_builder.rb', line 1036

def get_yammer_groups_activity_detail_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerGroupsActivityDetailWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#get_yammer_groups_activity_group_counts_with_period(period) ⇒ Object

Provides operations to call the getYammerGroupsActivityGroupCounts method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a get_yammer_groups_activity_group_counts_with_period_request_builder

Raises:

  • (StandardError)


1045
1046
1047
1048
# File 'lib/reports/reports_request_builder.rb', line 1045

def get_yammer_groups_activity_group_counts_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#managed_device_enrollment_failure_detailsObject

Provides operations to call the managedDeviceEnrollmentFailureDetails method.



163
164
165
# File 'lib/reports/reports_request_builder.rb', line 163

def managed_device_enrollment_failure_details()
    return MicrosoftGraph::Reports::ManagedDeviceEnrollmentFailureDetails::ManagedDeviceEnrollmentFailureDetailsRequestBuilder.new(@path_parameters, @request_adapter)
end

#managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token(filter, skip, skip_token, top) ⇒ Object

Provides operations to call the managedDeviceEnrollmentFailureDetails method.

Parameters:

  • filter

    Usage: filter=‘filter’

  • skip

    Usage: skip=skip

  • skip_token

    Usage: skipToken=‘skipToken’

  • top

    Usage: top=top

Returns:

  • a managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder

Raises:

  • (StandardError)


1057
1058
1059
1060
1061
1062
1063
# File 'lib/reports/reports_request_builder.rb', line 1057

def managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token(filter, skip, skip_token, top)
    raise StandardError, 'filter cannot be null' if filter.nil?
    raise StandardError, 'skip cannot be null' if skip.nil?
    raise StandardError, 'skip_token cannot be null' if skip_token.nil?
    raise StandardError, 'top cannot be null' if top.nil?
    return ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.new(@path_parameters, @request_adapter, filter, skip, skipToken, top)
end

#managed_device_enrollment_top_failuresObject

Provides operations to call the managedDeviceEnrollmentTopFailures method.



168
169
170
# File 'lib/reports/reports_request_builder.rb', line 168

def managed_device_enrollment_top_failures()
    return MicrosoftGraph::Reports::ManagedDeviceEnrollmentTopFailures::ManagedDeviceEnrollmentTopFailuresRequestBuilder.new(@path_parameters, @request_adapter)
end

#managed_device_enrollment_top_failures_with_period(period) ⇒ Object

Provides operations to call the managedDeviceEnrollmentTopFailures method.

Parameters:

  • period

    Usage: period=‘period’

Returns:

  • a managed_device_enrollment_top_failures_with_period_request_builder

Raises:

  • (StandardError)


1069
1070
1071
1072
# File 'lib/reports/reports_request_builder.rb', line 1069

def managed_device_enrollment_top_failures_with_period(period)
    raise StandardError, 'period cannot be null' if period.nil?
    return ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.new(@path_parameters, @request_adapter, period)
end

#monthly_print_usage_by_printerObject

Provides operations to manage the monthlyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity.



173
174
175
# File 'lib/reports/reports_request_builder.rb', line 173

def monthly_print_usage_by_printer()
    return MicrosoftGraph::Reports::MonthlyPrintUsageByPrinter::MonthlyPrintUsageByPrinterRequestBuilder.new(@path_parameters, @request_adapter)
end

#monthly_print_usage_by_userObject

Provides operations to manage the monthlyPrintUsageByUser property of the microsoft.graph.reportRoot entity.



178
179
180
# File 'lib/reports/reports_request_builder.rb', line 178

def monthly_print_usage_by_user()
    return MicrosoftGraph::Reports::MonthlyPrintUsageByUser::MonthlyPrintUsageByUserRequestBuilder.new(@path_parameters, @request_adapter)
end

#patch(body, request_configuration = nil) ⇒ Object

Update the properties of a reportRoot object.

Parameters:

  • body

    The request body

  • request_configuration (defaults to: nil)

    Configuration for the request such as headers, query parameters, and middleware options.

Returns:

  • a Fiber of report_root

Raises:

  • (StandardError)


1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'lib/reports/reports_request_builder.rb', line 1079

def patch(body, request_configuration=nil)
    raise StandardError, 'body cannot be null' if body.nil?
    request_info = self.to_patch_request_information(
        body, request_configuration
    )
    error_mapping = Hash.new
    error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) }
    error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) }
    return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ReportRoot.create_from_discriminator_value(pn) }, error_mapping)
end

#securityObject

Provides operations to manage the security property of the microsoft.graph.reportRoot entity.



183
184
185
# File 'lib/reports/reports_request_builder.rb', line 183

def security()
    return MicrosoftGraph::Reports::Security::SecurityRequestBuilder.new(@path_parameters, @request_adapter)
end

#to_get_request_information(request_configuration = nil) ⇒ Object

Read properties and relationships of the reportRoot object.

Parameters:

  • request_configuration (defaults to: nil)

    Configuration for the request such as headers, query parameters, and middleware options.

Returns:

  • a request_information



1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'lib/reports/reports_request_builder.rb', line 1094

def to_get_request_information(request_configuration=nil)
    request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
    request_info.url_template = @url_template
    request_info.path_parameters = @path_parameters
    request_info.http_method = :GET
    request_info.headers.add('Accept', 'application/json')
    unless request_configuration.nil?
        request_info.add_headers_from_raw_object(request_configuration.headers)
        request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
        request_info.add_request_options(request_configuration.options)
    end
    return request_info
end

#to_patch_request_information(body, request_configuration = nil) ⇒ Object

Update the properties of a reportRoot object.

Parameters:

  • body

    The request body

  • request_configuration (defaults to: nil)

    Configuration for the request such as headers, query parameters, and middleware options.

Returns:

  • a request_information

Raises:

  • (StandardError)


1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/reports/reports_request_builder.rb', line 1113

def to_patch_request_information(body, request_configuration=nil)
    raise StandardError, 'body cannot be null' if body.nil?
    request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
    request_info.url_template = @url_template
    request_info.path_parameters = @path_parameters
    request_info.http_method = :PATCH
    request_info.headers.add('Accept', 'application/json')
    unless request_configuration.nil?
        request_info.add_headers_from_raw_object(request_configuration.headers)
        request_info.add_request_options(request_configuration.options)
    end
    request_info.set_content_from_parsable(@request_adapter, "application/json", body)
    return request_info
end