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
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18642,6 +18642,10 @@ components:
description: Content of the file.
maxLength: 3145728
type: string
encoding:
description: Encoding of the file content. The only supported value is `base64`,
indicating the `content` field contains base64-encoded data.
type: string
name:
description: Name of the file.
maxLength: 1500
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-12-09T11:18:08.137Z
2026-03-03T11:12:53.062Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
original_file_name: "image.png",
content: "file content",
type: "file type",
encoding: "base64",
}),
],
basic_auth: DatadogAPIClient::V1::SyntheticsBasicAuthOauthClient.new({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"name": "file name",
"originalFileName": "image.png",
"content": "file content",
"type": "file type"
"type": "file type",
"encoding": "base64"
}],
"basicAuth": {
"accessTokenUrl": "https://datadog-token.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class SyntheticsTestRequestBodyFile
# Content of the file.
attr_reader :content

# Encoding of the file content. The only supported value is `base64`, indicating the `content` field contains base64-encoded data.
attr_accessor :encoding

# Name of the file.
attr_reader :name

Expand All @@ -47,6 +50,7 @@ def self.attribute_map
{
:'bucket_key' => :'bucketKey',
:'content' => :'content',
:'encoding' => :'encoding',
:'name' => :'name',
:'original_file_name' => :'originalFileName',
:'size' => :'size',
Expand All @@ -60,6 +64,7 @@ def self.openapi_types
{
:'bucket_key' => :'String',
:'content' => :'String',
:'encoding' => :'String',
:'name' => :'String',
:'original_file_name' => :'String',
:'size' => :'Integer',
Expand Down Expand Up @@ -93,6 +98,10 @@ def initialize(attributes = {})
self.content = attributes[:'content']
end

if attributes.key?(:'encoding')
self.encoding = attributes[:'encoding']
end

if attributes.key?(:'name')
self.name = attributes[:'name']
end
Expand Down Expand Up @@ -204,6 +213,7 @@ def ==(o)
self.class == o.class &&
bucket_key == o.bucket_key &&
content == o.content &&
encoding == o.encoding &&
name == o.name &&
original_file_name == o.original_file_name &&
size == o.size &&
Expand All @@ -215,7 +225,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[bucket_key, content, name, original_file_name, size, type, additional_properties].hash
[bucket_key, content, encoding, name, original_file_name, size, type, additional_properties].hash
end
end
end
Loading