datadog_api_client 1.0.0.beta.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.azure-pipelines/all.yml +0 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +23 -0
- data/Gemfile +1 -1
- data/LICENSE-3rdparty.csv +0 -1
- data/check-examples.sh +7 -2
- data/data/v1/openapi.yaml +1963 -245
- data/data/v2/openapi.yaml +67 -13
- data/docs/v1/DashboardsAPI.md +10 -5
- data/docs/v1/DistributionWidgetDefinition.md +9 -3
- data/docs/v1/DistributionWidgetXAxis.md +24 -0
- data/docs/v1/DistributionWidgetYAxis.md +26 -0
- data/docs/v1/EventsAPI.md +7 -3
- data/docs/v1/GroupWidgetDefinition.md +8 -0
- data/docs/v1/ImageWidgetDefinition.md +11 -1
- data/docs/v1/LogsByRetention.md +22 -0
- data/docs/v1/LogsByRetentionMonthlyUsage.md +20 -0
- data/docs/v1/LogsByRetentionOrgUsage.md +18 -0
- data/docs/v1/LogsByRetentionOrgs.md +18 -0
- data/docs/v1/LogsRetentionAggSumUsage.md +24 -0
- data/docs/v1/LogsRetentionSumUsage.md +24 -0
- data/docs/v1/MonitorsAPI.md +1 -1
- data/docs/v1/NoteWidgetDefinition.md +5 -1
- data/docs/v1/NotebookAbsoluteTime.md +22 -0
- data/docs/v1/NotebookAuthor.md +34 -0
- data/docs/v1/NotebookCellCreateRequest.md +20 -0
- data/docs/v1/NotebookCellCreateRequestAttributes.md +57 -0
- data/docs/v1/NotebookCellResourceType.md +15 -0
- data/docs/v1/NotebookCellResponse.md +22 -0
- data/docs/v1/NotebookCellResponseAttributes.md +57 -0
- data/docs/v1/NotebookCellTime.md +49 -0
- data/docs/v1/NotebookCellUpdateRequest.md +22 -0
- data/docs/v1/NotebookCellUpdateRequestAttributes.md +57 -0
- data/docs/v1/NotebookCreateData.md +20 -0
- data/docs/v1/NotebookCreateDataAttributes.md +24 -0
- data/docs/v1/NotebookCreateRequest.md +18 -0
- data/docs/v1/NotebookDistributionCellAttributes.md +24 -0
- data/docs/v1/NotebookGlobalTime.md +49 -0
- data/docs/v1/NotebookGraphSize.md +15 -0
- data/docs/v1/NotebookHeatMapCellAttributes.md +24 -0
- data/docs/v1/NotebookLogStreamCellAttributes.md +22 -0
- data/docs/v1/NotebookMarkdownCellAttributes.md +18 -0
- data/docs/v1/NotebookMarkdownCellDefinition.md +21 -0
- data/docs/v1/NotebookMarkdownCellDefinitionType.md +15 -0
- data/docs/v1/NotebookRelativeTime.md +18 -0
- data/docs/v1/NotebookResourceType.md +15 -0
- data/docs/v1/NotebookResponse.md +18 -0
- data/docs/v1/NotebookResponseData.md +22 -0
- data/docs/v1/NotebookResponseDataAttributes.md +30 -0
- data/docs/v1/NotebookSplitBy.md +20 -0
- data/docs/v1/NotebookStatus.md +15 -0
- data/docs/v1/NotebookTimeseriesCellAttributes.md +24 -0
- data/docs/v1/NotebookToplistCellAttributes.md +24 -0
- data/docs/v1/NotebookUpdateCell.md +49 -0
- data/docs/v1/NotebookUpdateData.md +20 -0
- data/docs/v1/NotebookUpdateDataAttributes.md +24 -0
- data/docs/v1/NotebookUpdateRequest.md +18 -0
- data/docs/v1/NotebooksAPI.md +339 -0
- data/docs/v1/NotebooksResponse.md +20 -0
- data/docs/v1/NotebooksResponseMeta.md +18 -0
- data/docs/v1/NotebooksResponsePage.md +20 -0
- data/docs/v1/README.md +66 -9
- data/docs/v1/SLOListResponse.md +3 -1
- data/docs/v1/SLOListResponseMetadata.md +18 -0
- data/docs/v1/SLOListResponseMetadataPage.md +20 -0
- data/docs/v1/SLOResponse.md +1 -1
- data/docs/v1/SLOResponseData.md +44 -0
- data/docs/v1/ServiceLevelObjectivesAPI.md +8 -4
- data/docs/v1/SyntheticsAPI.md +28 -156
- data/docs/v1/SyntheticsAPIStep.md +4 -0
- data/docs/v1/SyntheticsBrowserTestConfig.md +2 -0
- data/docs/v1/SyntheticsTestConfig.md +1 -1
- data/docs/v1/SyntheticsTestOptions.md +1 -1
- data/docs/v1/SyntheticsTestRequest.md +6 -0
- data/docs/v1/UsageAttributionSupportedMetrics.md +15 -0
- data/docs/v1/UsageAttributionValues.md +8 -0
- data/docs/v1/UsageHostHour.md +3 -1
- data/docs/v1/UsageIoTHour.md +1 -1
- data/docs/v1/UsageLogsByRetentionHour.md +24 -0
- data/docs/v1/UsageLogsByRetentionResponse.md +18 -0
- data/docs/v1/UsageMeteringAPI.md +69 -2
- data/docs/v1/UsageSummaryDate.md +11 -9
- data/docs/v1/UsageSummaryDateOrg.md +3 -1
- data/docs/v1/UsageSummaryResponse.md +5 -1
- data/docs/v1/WidgetHorizontalAlign.md +15 -0
- data/docs/v1/WidgetLayout.md +2 -0
- data/docs/v1/WidgetMarker.md +1 -1
- data/docs/v1/WidgetVerticalAlign.md +15 -0
- data/docs/v2/IncidentServiceUpdateData.md +1 -1
- data/docs/v2/IncidentServicesAPI.md +1 -1
- data/docs/v2/IncidentTeamUpdateData.md +1 -1
- data/docs/v2/IncidentTeamsAPI.md +1 -1
- data/docs/v2/MetricsAPI.md +1 -11
- data/extract-code-blocks.sh +6 -2
- data/lib/datadog_api_client/v1.rb +54 -0
- data/lib/datadog_api_client/v1/api/dashboards_api.rb +3 -0
- data/lib/datadog_api_client/v1/api/events_api.rb +14 -4
- data/lib/datadog_api_client/v1/api/monitors_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/notebooks_api.rb +418 -0
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -0
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +14 -170
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +79 -2
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +36 -6
- data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +259 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +269 -0
- data/lib/datadog_api_client/v1/models/group_widget_definition.rb +42 -1
- data/lib/datadog_api_client/v1/models/image_widget_definition.rb +56 -4
- data/lib/datadog_api_client/v1/models/logs_by_retention.rb +243 -0
- data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +235 -0
- data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +225 -0
- data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +225 -0
- data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +253 -0
- data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +253 -0
- data/lib/datadog_api_client/v1/models/note_widget_definition.rb +25 -4
- data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +253 -0
- data/lib/datadog_api_client/v1/models/notebook_author.rb +303 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +243 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +113 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_resource_type.rb +39 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +258 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +113 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +109 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +258 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +113 -0
- data/lib/datadog_api_client/v1/models/notebook_create_data.rb +243 -0
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +298 -0
- data/lib/datadog_api_client/v1/models/notebook_create_request.rb +227 -0
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +255 -0
- data/lib/datadog_api_client/v1/models/notebook_global_time.rb +109 -0
- data/lib/datadog_api_client/v1/models/notebook_graph_size.rb +43 -0
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +255 -0
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +246 -0
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +227 -0
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +244 -0
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition_type.rb +39 -0
- data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +227 -0
- data/lib/datadog_api_client/v1/models/notebook_resource_type.rb +39 -0
- data/lib/datadog_api_client/v1/models/notebook_response.rb +222 -0
- data/lib/datadog_api_client/v1/models/notebook_response_data.rb +258 -0
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +327 -0
- data/lib/datadog_api_client/v1/models/notebook_split_by.rb +247 -0
- data/lib/datadog_api_client/v1/models/notebook_status.rb +39 -0
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +255 -0
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +255 -0
- data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +109 -0
- data/lib/datadog_api_client/v1/models/notebook_update_data.rb +243 -0
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +298 -0
- data/lib/datadog_api_client/v1/models/notebook_update_request.rb +227 -0
- data/lib/datadog_api_client/v1/models/notebooks_response.rb +234 -0
- data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +222 -0
- data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +233 -0
- data/lib/datadog_api_client/v1/models/slo_list_response.rb +13 -4
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +222 -0
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +233 -0
- data/lib/datadog_api_client/v1/models/slo_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +363 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +21 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +4 -0
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +11 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -5
- data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +79 -1
- data/lib/datadog_api_client/v1/models/synthetics_tick_interval.rb +1 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +67 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +14 -4
- data/lib/datadog_api_client/v1/models/usage_io_t_hour.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +253 -0
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +225 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +38 -28
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +14 -4
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +23 -4
- data/lib/datadog_api_client/v1/models/widget.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_horizontal_align.rb +41 -0
- data/lib/datadog_api_client/v1/models/widget_image_sizing.rb +5 -0
- data/lib/datadog_api_client/v1/models/widget_layout.rb +12 -2
- data/lib/datadog_api_client/v1/models/widget_margin.rb +3 -0
- data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_vertical_align.rb +41 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/configuration.rb +0 -2
- data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +0 -5
- data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +0 -5
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/run-tests.sh +0 -6
- data/spec/v1/api/notebooks_api_spec.rb +106 -0
- data/spec/v1/models/distribution_widget_x_axis_spec.rb +55 -0
- data/spec/v1/models/distribution_widget_y_axis_spec.rb +61 -0
- data/spec/v1/models/logs_by_retention_monthly_usage_spec.rb +43 -0
- data/spec/v1/models/logs_by_retention_org_usage_spec.rb +37 -0
- data/spec/v1/models/logs_by_retention_orgs_spec.rb +37 -0
- data/spec/v1/models/logs_by_retention_spec.rb +49 -0
- data/spec/v1/models/logs_retention_agg_sum_usage_spec.rb +55 -0
- data/spec/v1/models/logs_retention_sum_usage_spec.rb +55 -0
- data/spec/v1/models/notebook_absolute_time_spec.rb +49 -0
- data/spec/v1/models/notebook_author_spec.rb +85 -0
- data/spec/v1/models/notebook_cell_create_request_attributes_spec.rb +34 -0
- data/spec/v1/models/notebook_cell_create_request_spec.rb +43 -0
- data/spec/v1/models/notebook_cell_resource_type_spec.rb +31 -0
- data/spec/v1/models/notebook_cell_response_attributes_spec.rb +34 -0
- data/spec/v1/models/notebook_cell_response_spec.rb +49 -0
- data/spec/v1/models/notebook_cell_time_spec.rb +34 -0
- data/spec/v1/models/notebook_cell_update_request_attributes_spec.rb +34 -0
- data/spec/v1/models/notebook_cell_update_request_spec.rb +49 -0
- data/spec/v1/models/notebook_create_data_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_create_data_spec.rb +43 -0
- data/spec/v1/models/notebook_create_request_spec.rb +37 -0
- data/spec/v1/models/notebook_distribution_cell_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_global_time_spec.rb +34 -0
- data/spec/v1/models/notebook_graph_size_spec.rb +31 -0
- data/spec/v1/models/notebook_heat_map_cell_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_log_stream_cell_attributes_spec.rb +49 -0
- data/spec/v1/models/notebook_markdown_cell_attributes_spec.rb +37 -0
- data/spec/v1/models/notebook_markdown_cell_definition_spec.rb +43 -0
- data/spec/v1/models/notebook_markdown_cell_definition_type_spec.rb +31 -0
- data/spec/v1/models/notebook_relative_time_spec.rb +37 -0
- data/spec/v1/models/notebook_resource_type_spec.rb +31 -0
- data/spec/v1/models/notebook_response_data_attributes_spec.rb +73 -0
- data/spec/v1/models/notebook_response_data_spec.rb +49 -0
- data/spec/v1/models/notebook_response_spec.rb +37 -0
- data/spec/v1/models/notebook_split_by_spec.rb +43 -0
- data/spec/v1/models/notebook_status_spec.rb +31 -0
- data/spec/v1/models/notebook_timeseries_cell_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_toplist_cell_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_update_cell_spec.rb +34 -0
- data/spec/v1/models/notebook_update_data_attributes_spec.rb +55 -0
- data/spec/v1/models/notebook_update_data_spec.rb +43 -0
- data/spec/v1/models/notebook_update_request_spec.rb +37 -0
- data/spec/v1/models/notebooks_response_meta_spec.rb +37 -0
- data/spec/v1/models/notebooks_response_page_spec.rb +43 -0
- data/spec/v1/models/notebooks_response_spec.rb +43 -0
- data/spec/v1/models/slo_list_response_metadata_page_spec.rb +43 -0
- data/spec/v1/models/slo_list_response_metadata_spec.rb +37 -0
- data/spec/v1/models/slo_response_data_spec.rb +115 -0
- data/spec/v1/models/usage_attribution_supported_metrics_spec.rb +31 -0
- data/spec/v1/models/usage_logs_by_retention_hour_spec.rb +55 -0
- data/spec/v1/models/usage_logs_by_retention_response_spec.rb +37 -0
- data/spec/v1/models/widget_horizontal_align_spec.rb +31 -0
- data/spec/v1/models/widget_vertical_align_spec.rb +31 -0
- metadata +220 -4
@@ -326,6 +326,7 @@ module DatadogAPIClient::V1
|
|
326
326
|
# Get a service level objective object.
|
327
327
|
# @param slo_id [String] The ID of the service level objective object.
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
|
+
# @option opts [Boolean] :with_configured_alert_ids Get the IDs of SLO monitors that reference this SLO.
|
329
330
|
# @return [SLOResponse]
|
330
331
|
def get_slo(slo_id, opts = {})
|
331
332
|
data, _status_code, _headers = get_slo_with_http_info(slo_id, opts)
|
@@ -336,6 +337,7 @@ module DatadogAPIClient::V1
|
|
336
337
|
# Get a service level objective object.
|
337
338
|
# @param slo_id [String] The ID of the service level objective object.
|
338
339
|
# @param [Hash] opts the optional parameters
|
340
|
+
# @option opts [Boolean] :with_configured_alert_ids Get the IDs of SLO monitors that reference this SLO.
|
339
341
|
# @return [Array<(SLOResponse, Integer, Hash)>] SLOResponse data, response status code and response headers
|
340
342
|
def get_slo_with_http_info(slo_id, opts = {})
|
341
343
|
|
@@ -360,6 +362,7 @@ module DatadogAPIClient::V1
|
|
360
362
|
|
361
363
|
# query parameters
|
362
364
|
query_params = opts[:query_params] || {}
|
365
|
+
query_params[:'with_configured_alert_ids'] = opts[:'with_configured_alert_ids'] if !opts[:'with_configured_alert_ids'].nil?
|
363
366
|
|
364
367
|
# header parameters
|
365
368
|
header_params = opts[:header_params] || {}
|
@@ -322,81 +322,6 @@ module DatadogAPIClient::V1
|
|
322
322
|
return data, status_code, headers
|
323
323
|
end
|
324
324
|
|
325
|
-
# Create a test
|
326
|
-
# Create a Synthetic test.
|
327
|
-
# @param body [SyntheticsTestDetails] Details of the test to create.
|
328
|
-
# @param [Hash] opts the optional parameters
|
329
|
-
# @return [SyntheticsTestDetails]
|
330
|
-
def create_test(body, opts = {})
|
331
|
-
data, _status_code, _headers = create_test_with_http_info(body, opts)
|
332
|
-
data
|
333
|
-
end
|
334
|
-
|
335
|
-
# Create a test
|
336
|
-
# Create a Synthetic test.
|
337
|
-
# @param body [SyntheticsTestDetails] Details of the test to create.
|
338
|
-
# @param [Hash] opts the optional parameters
|
339
|
-
# @return [Array<(SyntheticsTestDetails, Integer, Hash)>] SyntheticsTestDetails data, response status code and response headers
|
340
|
-
def create_test_with_http_info(body, opts = {})
|
341
|
-
|
342
|
-
if @api_client.config.unstable_operations.has_key?(:create_test)
|
343
|
-
unstable_enabled = @api_client.config.unstable_operations[:create_test]
|
344
|
-
if unstable_enabled
|
345
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "create_test")
|
346
|
-
else
|
347
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "create_test"))
|
348
|
-
end
|
349
|
-
end
|
350
|
-
|
351
|
-
if @api_client.config.debugging
|
352
|
-
@api_client.config.logger.debug 'Calling API: SyntheticsAPI.create_test ...'
|
353
|
-
end
|
354
|
-
# verify the required parameter 'body' is set
|
355
|
-
if @api_client.config.client_side_validation && body.nil?
|
356
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.create_test"
|
357
|
-
end
|
358
|
-
# resource path
|
359
|
-
local_var_path = '/api/v1/synthetics/tests'
|
360
|
-
|
361
|
-
# query parameters
|
362
|
-
query_params = opts[:query_params] || {}
|
363
|
-
|
364
|
-
# header parameters
|
365
|
-
header_params = opts[:header_params] || {}
|
366
|
-
# HTTP header 'Accept' (if needed)
|
367
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
368
|
-
# HTTP header 'Content-Type'
|
369
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
370
|
-
|
371
|
-
# form parameters
|
372
|
-
form_params = opts[:form_params] || {}
|
373
|
-
|
374
|
-
# http body (model)
|
375
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
376
|
-
|
377
|
-
# return_type
|
378
|
-
return_type = opts[:debug_return_type] || 'SyntheticsTestDetails'
|
379
|
-
|
380
|
-
# auth_names
|
381
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
382
|
-
|
383
|
-
new_options = opts.merge(
|
384
|
-
:operation => :create_test,
|
385
|
-
:header_params => header_params,
|
386
|
-
:query_params => query_params,
|
387
|
-
:form_params => form_params,
|
388
|
-
:body => post_body,
|
389
|
-
:auth_names => auth_names,
|
390
|
-
:return_type => return_type
|
391
|
-
)
|
392
|
-
|
393
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
394
|
-
if @api_client.config.debugging
|
395
|
-
@api_client.config.logger.debug "API called: SyntheticsAPI#create_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
396
|
-
end
|
397
|
-
return data, status_code, headers
|
398
|
-
end
|
399
|
-
|
400
325
|
# Delete a global variable
|
401
326
|
# Delete a Synthetics global variable.
|
402
327
|
# @param variable_id [String] The ID of the global variable.
|
@@ -772,7 +697,7 @@ module DatadogAPIClient::V1
|
|
772
697
|
return data, status_code, headers
|
773
698
|
end
|
774
699
|
|
775
|
-
# Get
|
700
|
+
# Get an API test's latest results summaries
|
776
701
|
# Get the last 50 test results summaries for a given Synthetics API test.
|
777
702
|
# @param public_id [String] The public ID of the test for which to search results for.
|
778
703
|
# @param [Hash] opts the optional parameters
|
@@ -785,7 +710,7 @@ module DatadogAPIClient::V1
|
|
785
710
|
data
|
786
711
|
end
|
787
712
|
|
788
|
-
# Get
|
713
|
+
# Get an API test's latest results summaries
|
789
714
|
# Get the last 50 test results summaries for a given Synthetics API test.
|
790
715
|
# @param public_id [String] The public ID of the test for which to search results for.
|
791
716
|
# @param [Hash] opts the optional parameters
|
@@ -854,7 +779,7 @@ module DatadogAPIClient::V1
|
|
854
779
|
return data, status_code, headers
|
855
780
|
end
|
856
781
|
|
857
|
-
# Get
|
782
|
+
# Get an API test result
|
858
783
|
# Get a specific full result from a given (API) Synthetic test.
|
859
784
|
# @param public_id [String] The public ID of the API test to which the target result belongs.
|
860
785
|
# @param result_id [String] The ID of the result to get.
|
@@ -865,7 +790,7 @@ module DatadogAPIClient::V1
|
|
865
790
|
data
|
866
791
|
end
|
867
792
|
|
868
|
-
# Get
|
793
|
+
# Get an API test result
|
869
794
|
# Get a specific full result from a given (API) Synthetic test.
|
870
795
|
# @param public_id [String] The public ID of the API test to which the target result belongs.
|
871
796
|
# @param result_id [String] The ID of the result to get.
|
@@ -933,7 +858,7 @@ module DatadogAPIClient::V1
|
|
933
858
|
return data, status_code, headers
|
934
859
|
end
|
935
860
|
|
936
|
-
# Get a test
|
861
|
+
# Get a browser test
|
937
862
|
# Get the detailed configuration (including steps) associated with a Synthetic browser test.
|
938
863
|
# @param public_id [String] The public ID of the test to get details from.
|
939
864
|
# @param [Hash] opts the optional parameters
|
@@ -943,7 +868,7 @@ module DatadogAPIClient::V1
|
|
943
868
|
data
|
944
869
|
end
|
945
870
|
|
946
|
-
# Get a test
|
871
|
+
# Get a browser test
|
947
872
|
# Get the detailed configuration (including steps) associated with a Synthetic browser test.
|
948
873
|
# @param public_id [String] The public ID of the test to get details from.
|
949
874
|
# @param [Hash] opts the optional parameters
|
@@ -1006,7 +931,7 @@ module DatadogAPIClient::V1
|
|
1006
931
|
return data, status_code, headers
|
1007
932
|
end
|
1008
933
|
|
1009
|
-
# Get
|
934
|
+
# Get a browser test's latest results summaries
|
1010
935
|
# Get the last 50 test results summaries for a given Synthetics Browser test.
|
1011
936
|
# @param public_id [String] The public ID of the browser test for which to search results for.
|
1012
937
|
# @param [Hash] opts the optional parameters
|
@@ -1019,7 +944,7 @@ module DatadogAPIClient::V1
|
|
1019
944
|
data
|
1020
945
|
end
|
1021
946
|
|
1022
|
-
# Get
|
947
|
+
# Get a browser test's latest results summaries
|
1023
948
|
# Get the last 50 test results summaries for a given Synthetics Browser test.
|
1024
949
|
# @param public_id [String] The public ID of the browser test for which to search results for.
|
1025
950
|
# @param [Hash] opts the optional parameters
|
@@ -1088,7 +1013,7 @@ module DatadogAPIClient::V1
|
|
1088
1013
|
return data, status_code, headers
|
1089
1014
|
end
|
1090
1015
|
|
1091
|
-
# Get a test result
|
1016
|
+
# Get a browser test result
|
1092
1017
|
# Get a specific full result from a given (browser) Synthetic test.
|
1093
1018
|
# @param public_id [String] The public ID of the browser test to which the target result belongs.
|
1094
1019
|
# @param result_id [String] The ID of the result to get.
|
@@ -1099,7 +1024,7 @@ module DatadogAPIClient::V1
|
|
1099
1024
|
data
|
1100
1025
|
end
|
1101
1026
|
|
1102
|
-
# Get a test result
|
1027
|
+
# Get a browser test result
|
1103
1028
|
# Get a specific full result from a given (browser) Synthetic test.
|
1104
1029
|
# @param public_id [String] The public ID of the browser test to which the target result belongs.
|
1105
1030
|
# @param result_id [String] The ID of the result to get.
|
@@ -1313,7 +1238,7 @@ module DatadogAPIClient::V1
|
|
1313
1238
|
return data, status_code, headers
|
1314
1239
|
end
|
1315
1240
|
|
1316
|
-
# Get a test configuration
|
1241
|
+
# Get a test configuration
|
1317
1242
|
# Get the detailed configuration associated with a Synthetics test.
|
1318
1243
|
# @param public_id [String] The public ID of the test to get details from.
|
1319
1244
|
# @param [Hash] opts the optional parameters
|
@@ -1323,7 +1248,7 @@ module DatadogAPIClient::V1
|
|
1323
1248
|
data
|
1324
1249
|
end
|
1325
1250
|
|
1326
|
-
# Get a test configuration
|
1251
|
+
# Get a test configuration
|
1327
1252
|
# Get the detailed configuration associated with a Synthetics test.
|
1328
1253
|
# @param public_id [String] The public ID of the test to get details from.
|
1329
1254
|
# @param [Hash] opts the optional parameters
|
@@ -1520,7 +1445,7 @@ module DatadogAPIClient::V1
|
|
1520
1445
|
return data, status_code, headers
|
1521
1446
|
end
|
1522
1447
|
|
1523
|
-
# Trigger
|
1448
|
+
# Trigger tests from CI/CD pipelines
|
1524
1449
|
# Trigger a set of Synthetics tests for continuous integration.
|
1525
1450
|
# @param body [SyntheticsCITestBody] Details of the test to trigger.
|
1526
1451
|
# @param [Hash] opts the optional parameters
|
@@ -1530,7 +1455,7 @@ module DatadogAPIClient::V1
|
|
1530
1455
|
data
|
1531
1456
|
end
|
1532
1457
|
|
1533
|
-
# Trigger
|
1458
|
+
# Trigger tests from CI/CD pipelines
|
1534
1459
|
# Trigger a set of Synthetics tests for continuous integration.
|
1535
1460
|
# @param body [SyntheticsCITestBody] Details of the test to trigger.
|
1536
1461
|
# @param [Hash] opts the optional parameters
|
@@ -1838,87 +1763,6 @@ module DatadogAPIClient::V1
|
|
1838
1763
|
return data, status_code, headers
|
1839
1764
|
end
|
1840
1765
|
|
1841
|
-
# Edit a test
|
1842
|
-
# Edit the configuration of a Synthetic test.
|
1843
|
-
# @param public_id [String] The public ID of the test to get details from.
|
1844
|
-
# @param body [SyntheticsTestDetails] New test details to be saved.
|
1845
|
-
# @param [Hash] opts the optional parameters
|
1846
|
-
# @return [SyntheticsTestDetails]
|
1847
|
-
def update_test(public_id, body, opts = {})
|
1848
|
-
data, _status_code, _headers = update_test_with_http_info(public_id, body, opts)
|
1849
|
-
data
|
1850
|
-
end
|
1851
|
-
|
1852
|
-
# Edit a test
|
1853
|
-
# Edit the configuration of a Synthetic test.
|
1854
|
-
# @param public_id [String] The public ID of the test to get details from.
|
1855
|
-
# @param body [SyntheticsTestDetails] New test details to be saved.
|
1856
|
-
# @param [Hash] opts the optional parameters
|
1857
|
-
# @return [Array<(SyntheticsTestDetails, Integer, Hash)>] SyntheticsTestDetails data, response status code and response headers
|
1858
|
-
def update_test_with_http_info(public_id, body, opts = {})
|
1859
|
-
|
1860
|
-
if @api_client.config.unstable_operations.has_key?(:update_test)
|
1861
|
-
unstable_enabled = @api_client.config.unstable_operations[:update_test]
|
1862
|
-
if unstable_enabled
|
1863
|
-
@api_client.config.logger.warn format("Using unstable operation '%s'", "update_test")
|
1864
|
-
else
|
1865
|
-
raise APIError.new(message: format("Unstable operation '%s' is disabled", "update_test"))
|
1866
|
-
end
|
1867
|
-
end
|
1868
|
-
|
1869
|
-
if @api_client.config.debugging
|
1870
|
-
@api_client.config.logger.debug 'Calling API: SyntheticsAPI.update_test ...'
|
1871
|
-
end
|
1872
|
-
# verify the required parameter 'public_id' is set
|
1873
|
-
if @api_client.config.client_side_validation && public_id.nil?
|
1874
|
-
fail ArgumentError, "Missing the required parameter 'public_id' when calling SyntheticsAPI.update_test"
|
1875
|
-
end
|
1876
|
-
# verify the required parameter 'body' is set
|
1877
|
-
if @api_client.config.client_side_validation && body.nil?
|
1878
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.update_test"
|
1879
|
-
end
|
1880
|
-
# resource path
|
1881
|
-
local_var_path = '/api/v1/synthetics/tests/{public_id}'.sub('{' + 'public_id' + '}', CGI.escape(public_id.to_s))
|
1882
|
-
|
1883
|
-
# query parameters
|
1884
|
-
query_params = opts[:query_params] || {}
|
1885
|
-
|
1886
|
-
# header parameters
|
1887
|
-
header_params = opts[:header_params] || {}
|
1888
|
-
# HTTP header 'Accept' (if needed)
|
1889
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1890
|
-
# HTTP header 'Content-Type'
|
1891
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1892
|
-
|
1893
|
-
# form parameters
|
1894
|
-
form_params = opts[:form_params] || {}
|
1895
|
-
|
1896
|
-
# http body (model)
|
1897
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1898
|
-
|
1899
|
-
# return_type
|
1900
|
-
return_type = opts[:debug_return_type] || 'SyntheticsTestDetails'
|
1901
|
-
|
1902
|
-
# auth_names
|
1903
|
-
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
1904
|
-
|
1905
|
-
new_options = opts.merge(
|
1906
|
-
:operation => :update_test,
|
1907
|
-
:header_params => header_params,
|
1908
|
-
:query_params => query_params,
|
1909
|
-
:form_params => form_params,
|
1910
|
-
:body => post_body,
|
1911
|
-
:auth_names => auth_names,
|
1912
|
-
:return_type => return_type
|
1913
|
-
)
|
1914
|
-
|
1915
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1916
|
-
if @api_client.config.debugging
|
1917
|
-
@api_client.config.logger.debug "API called: SyntheticsAPI#update_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1918
|
-
end
|
1919
|
-
return data, status_code, headers
|
1920
|
-
end
|
1921
|
-
|
1922
1766
|
# Pause or start a test
|
1923
1767
|
# Pause or start a Synthetics test by changing the status.
|
1924
1768
|
# @param public_id [String] The public ID of the Synthetic test to update.
|
@@ -637,7 +637,7 @@ module DatadogAPIClient::V1
|
|
637
637
|
# Get Usage Attribution
|
638
638
|
# Get Usage Attribution.
|
639
639
|
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
640
|
-
# @param fields [
|
640
|
+
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
641
641
|
# @param [Hash] opts the optional parameters
|
642
642
|
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
643
643
|
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`. (default to 'desc')
|
@@ -651,7 +651,7 @@ module DatadogAPIClient::V1
|
|
651
651
|
# Get Usage Attribution
|
652
652
|
# Get Usage Attribution.
|
653
653
|
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
654
|
-
# @param fields [
|
654
|
+
# @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
655
655
|
# @param [Hash] opts the optional parameters
|
656
656
|
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
657
657
|
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
@@ -1413,6 +1413,83 @@ module DatadogAPIClient::V1
|
|
1413
1413
|
return data, status_code, headers
|
1414
1414
|
end
|
1415
1415
|
|
1416
|
+
# Get hourly logs usage by retention
|
1417
|
+
# Get hourly usage for indexed logs by retention period.
|
1418
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1419
|
+
# @param [Hash] opts the optional parameters
|
1420
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1421
|
+
# @return [UsageLogsByRetentionResponse]
|
1422
|
+
def get_usage_logs_by_retention(start_hr, opts = {})
|
1423
|
+
data, _status_code, _headers = get_usage_logs_by_retention_with_http_info(start_hr, opts)
|
1424
|
+
data
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# Get hourly logs usage by retention
|
1428
|
+
# Get hourly usage for indexed logs by retention period.
|
1429
|
+
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
1430
|
+
# @param [Hash] opts the optional parameters
|
1431
|
+
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
1432
|
+
# @return [Array<(UsageLogsByRetentionResponse, Integer, Hash)>] UsageLogsByRetentionResponse data, response status code and response headers
|
1433
|
+
def get_usage_logs_by_retention_with_http_info(start_hr, opts = {})
|
1434
|
+
|
1435
|
+
if @api_client.config.unstable_operations.has_key?(:get_usage_logs_by_retention)
|
1436
|
+
unstable_enabled = @api_client.config.unstable_operations[:get_usage_logs_by_retention]
|
1437
|
+
if unstable_enabled
|
1438
|
+
@api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_logs_by_retention")
|
1439
|
+
else
|
1440
|
+
raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_logs_by_retention"))
|
1441
|
+
end
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
if @api_client.config.debugging
|
1445
|
+
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_logs_by_retention ...'
|
1446
|
+
end
|
1447
|
+
# verify the required parameter 'start_hr' is set
|
1448
|
+
if @api_client.config.client_side_validation && start_hr.nil?
|
1449
|
+
fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_logs_by_retention"
|
1450
|
+
end
|
1451
|
+
# resource path
|
1452
|
+
local_var_path = '/api/v1/usage/logs-by-retention'
|
1453
|
+
|
1454
|
+
# query parameters
|
1455
|
+
query_params = opts[:query_params] || {}
|
1456
|
+
query_params[:'start_hr'] = start_hr
|
1457
|
+
query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
|
1458
|
+
|
1459
|
+
# header parameters
|
1460
|
+
header_params = opts[:header_params] || {}
|
1461
|
+
# HTTP header 'Accept' (if needed)
|
1462
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339'])
|
1463
|
+
|
1464
|
+
# form parameters
|
1465
|
+
form_params = opts[:form_params] || {}
|
1466
|
+
|
1467
|
+
# http body (model)
|
1468
|
+
post_body = opts[:debug_body]
|
1469
|
+
|
1470
|
+
# return_type
|
1471
|
+
return_type = opts[:debug_return_type] || 'UsageLogsByRetentionResponse'
|
1472
|
+
|
1473
|
+
# auth_names
|
1474
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
1475
|
+
|
1476
|
+
new_options = opts.merge(
|
1477
|
+
:operation => :get_usage_logs_by_retention,
|
1478
|
+
:header_params => header_params,
|
1479
|
+
:query_params => query_params,
|
1480
|
+
:form_params => form_params,
|
1481
|
+
:body => post_body,
|
1482
|
+
:auth_names => auth_names,
|
1483
|
+
:return_type => return_type
|
1484
|
+
)
|
1485
|
+
|
1486
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1487
|
+
if @api_client.config.debugging
|
1488
|
+
@api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_logs_by_retention\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1489
|
+
end
|
1490
|
+
return data, status_code, headers
|
1491
|
+
end
|
1492
|
+
|
1416
1493
|
# Get hourly usage for Network Flows
|
1417
1494
|
# Get hourly usage for network flows.
|
1418
1495
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
@@ -19,13 +19,16 @@ require 'time'
|
|
19
19
|
module DatadogAPIClient::V1
|
20
20
|
# The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.
|
21
21
|
class DistributionWidgetDefinition
|
22
|
-
#
|
22
|
+
# (Deprecated) The widget legend was replaced by a tooltip and sidebar.
|
23
23
|
attr_accessor :legend_size
|
24
24
|
|
25
|
+
# List of markers.
|
26
|
+
attr_accessor :markers
|
27
|
+
|
25
28
|
# Array of one request object to display in the widget. See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json) to learn how to build the `REQUEST_SCHEMA`.
|
26
29
|
attr_accessor :requests
|
27
30
|
|
28
|
-
#
|
31
|
+
# (Deprecated) The widget legend was replaced by a tooltip and sidebar.
|
29
32
|
attr_accessor :show_legend
|
30
33
|
|
31
34
|
attr_accessor :time
|
@@ -40,17 +43,24 @@ module DatadogAPIClient::V1
|
|
40
43
|
|
41
44
|
attr_accessor :type
|
42
45
|
|
46
|
+
attr_accessor :xaxis
|
47
|
+
|
48
|
+
attr_accessor :yaxis
|
49
|
+
|
43
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
51
|
def self.attribute_map
|
45
52
|
{
|
46
53
|
:'legend_size' => :'legend_size',
|
54
|
+
:'markers' => :'markers',
|
47
55
|
:'requests' => :'requests',
|
48
56
|
:'show_legend' => :'show_legend',
|
49
57
|
:'time' => :'time',
|
50
58
|
:'title' => :'title',
|
51
59
|
:'title_align' => :'title_align',
|
52
60
|
:'title_size' => :'title_size',
|
53
|
-
:'type' => :'type'
|
61
|
+
:'type' => :'type',
|
62
|
+
:'xaxis' => :'xaxis',
|
63
|
+
:'yaxis' => :'yaxis'
|
54
64
|
}
|
55
65
|
end
|
56
66
|
|
@@ -63,13 +73,16 @@ module DatadogAPIClient::V1
|
|
63
73
|
def self.openapi_types
|
64
74
|
{
|
65
75
|
:'legend_size' => :'String',
|
76
|
+
:'markers' => :'Array<WidgetMarker>',
|
66
77
|
:'requests' => :'Array<DistributionWidgetRequest>',
|
67
78
|
:'show_legend' => :'Boolean',
|
68
79
|
:'time' => :'WidgetTime',
|
69
80
|
:'title' => :'String',
|
70
81
|
:'title_align' => :'WidgetTextAlign',
|
71
82
|
:'title_size' => :'String',
|
72
|
-
:'type' => :'DistributionWidgetDefinitionType'
|
83
|
+
:'type' => :'DistributionWidgetDefinitionType',
|
84
|
+
:'xaxis' => :'DistributionWidgetXAxis',
|
85
|
+
:'yaxis' => :'DistributionWidgetYAxis'
|
73
86
|
}
|
74
87
|
end
|
75
88
|
|
@@ -98,6 +111,12 @@ module DatadogAPIClient::V1
|
|
98
111
|
self.legend_size = attributes[:'legend_size']
|
99
112
|
end
|
100
113
|
|
114
|
+
if attributes.key?(:'markers')
|
115
|
+
if (value = attributes[:'markers']).is_a?(Array)
|
116
|
+
self.markers = value
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
101
120
|
if attributes.key?(:'requests')
|
102
121
|
if (value = attributes[:'requests']).is_a?(Array)
|
103
122
|
self.requests = value
|
@@ -129,6 +148,14 @@ module DatadogAPIClient::V1
|
|
129
148
|
else
|
130
149
|
self.type = 'distribution'
|
131
150
|
end
|
151
|
+
|
152
|
+
if attributes.key?(:'xaxis')
|
153
|
+
self.xaxis = attributes[:'xaxis']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.key?(:'yaxis')
|
157
|
+
self.yaxis = attributes[:'yaxis']
|
158
|
+
end
|
132
159
|
end
|
133
160
|
|
134
161
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -188,13 +215,16 @@ module DatadogAPIClient::V1
|
|
188
215
|
return true if self.equal?(o)
|
189
216
|
self.class == o.class &&
|
190
217
|
legend_size == o.legend_size &&
|
218
|
+
markers == o.markers &&
|
191
219
|
requests == o.requests &&
|
192
220
|
show_legend == o.show_legend &&
|
193
221
|
time == o.time &&
|
194
222
|
title == o.title &&
|
195
223
|
title_align == o.title_align &&
|
196
224
|
title_size == o.title_size &&
|
197
|
-
type == o.type
|
225
|
+
type == o.type &&
|
226
|
+
xaxis == o.xaxis &&
|
227
|
+
yaxis == o.yaxis
|
198
228
|
end
|
199
229
|
|
200
230
|
# @see the `==` method
|
@@ -206,7 +236,7 @@ module DatadogAPIClient::V1
|
|
206
236
|
# Calculates hash code according to all attributes.
|
207
237
|
# @return [Integer] Hash code
|
208
238
|
def hash
|
209
|
-
[legend_size, requests, show_legend, time, title, title_align, title_size, type].hash
|
239
|
+
[legend_size, markers, requests, show_legend, time, title, title_align, title_size, type, xaxis, yaxis].hash
|
210
240
|
end
|
211
241
|
|
212
242
|
# Builds the object from hash
|