Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-04 21:14:35.504551",
"spec_repo_commit": "08338fd1"
"regenerated": "2024-11-05 15:05:36.604829",
"spec_repo_commit": "8d63eae4"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-04 21:14:35.522954",
"spec_repo_commit": "08338fd1"
"regenerated": "2024-11-05 15:05:36.623464",
"spec_repo_commit": "8d63eae4"
}
}
}
27 changes: 13 additions & 14 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14418,7 +14418,7 @@ components:
$ref: '#/components/schemas/SyntheticsBatchResult'
type: array
status:
$ref: '#/components/schemas/SyntheticsStatus'
$ref: '#/components/schemas/SyntheticsBatchStatus'
type: object
SyntheticsBatchResult:
description: Object with the results of a Synthetic batch.
Expand All @@ -14442,7 +14442,7 @@ components:
format: double
type: number
status:
$ref: '#/components/schemas/SyntheticsStatus'
$ref: '#/components/schemas/SyntheticsBatchStatus'
test_name:
description: Name of the test.
type: string
Expand All @@ -14452,6 +14452,17 @@ components:
test_type:
$ref: '#/components/schemas/SyntheticsTestDetailsType'
type: object
SyntheticsBatchStatus:
description: Determines whether the batch has passed, failed, or is in progress.
enum:
- passed
- skipped
- failed
type: string
x-enum-varnames:
- PASSED
- SKIPPED
- FAILED
SyntheticsBrowserError:
description: Error response object for a browser test.
properties:
Expand Down Expand Up @@ -16210,18 +16221,6 @@ components:
description: Subject Alternative Name associated with the certificate.
type: string
type: object
SyntheticsStatus:
description: Determines whether or not the batch has passed, failed, or is in
progress.
enum:
- passed
- skipped
- failed
type: string
x-enum-varnames:
- PASSED
- skipped
- failed
SyntheticsStep:
description: The steps used in a Synthetic browser test.
properties:
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ def overrides
"v1.synthetics_batch_details" => "SyntheticsBatchDetails",
"v1.synthetics_batch_details_data" => "SyntheticsBatchDetailsData",
"v1.synthetics_batch_result" => "SyntheticsBatchResult",
"v1.synthetics_batch_status" => "SyntheticsBatchStatus",
"v1.synthetics_browser_error" => "SyntheticsBrowserError",
"v1.synthetics_browser_error_type" => "SyntheticsBrowserErrorType",
"v1.synthetics_browser_test" => "SyntheticsBrowserTest",
Expand Down Expand Up @@ -670,7 +671,6 @@ def overrides
"v1.synthetics_ssl_certificate" => "SyntheticsSSLCertificate",
"v1.synthetics_ssl_certificate_issuer" => "SyntheticsSSLCertificateIssuer",
"v1.synthetics_ssl_certificate_subject" => "SyntheticsSSLCertificateSubject",
"v1.synthetics_status" => "SyntheticsStatus",
"v1.synthetics_step" => "SyntheticsStep",
"v1.synthetics_step_detail" => "SyntheticsStepDetail",
"v1.synthetics_step_detail_warning" => "SyntheticsStepDetailWarning",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SyntheticsBatchDetailsData
# List of results for the batch.
attr_accessor :results

# Determines whether or not the batch has passed, failed, or is in progress.
# Determines whether the batch has passed, failed, or is in progress.
attr_accessor :status

attr_accessor :additional_properties
Expand All @@ -48,7 +48,7 @@ def self.openapi_types
{
:'metadata' => :'SyntheticsCIBatchMetadata',
:'results' => :'Array<SyntheticsBatchResult>',
:'status' => :'SyntheticsStatus'
:'status' => :'SyntheticsBatchStatus'
}
end

Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v1/models/synthetics_batch_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SyntheticsBatchResult
# Number of times this result has been retried.
attr_accessor :retries

# Determines whether or not the batch has passed, failed, or is in progress.
# Determines whether the batch has passed, failed, or is in progress.
attr_accessor :status

# Name of the test.
Expand Down Expand Up @@ -80,7 +80,7 @@ def self.openapi_types
:'location' => :'String',
:'result_id' => :'String',
:'retries' => :'Float',
:'status' => :'SyntheticsStatus',
:'status' => :'SyntheticsBatchStatus',
:'test_name' => :'String',
:'test_public_id' => :'String',
:'test_type' => :'SyntheticsTestDetailsType'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
require 'time'

module DatadogAPIClient::V1
# Determines whether or not the batch has passed, failed, or is in progress.
class SyntheticsStatus
# Determines whether the batch has passed, failed, or is in progress.
class SyntheticsBatchStatus
include BaseEnumModel

PASSED = "passed".freeze
skipped = "skipped".freeze
failed = "failed".freeze
SKIPPED = "skipped".freeze
FAILED = "failed".freeze
end
end
Loading