Skip to content

Commit a313077

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 74866a53 of spec repo
1 parent 644c5cc commit a313077

File tree

3 files changed

+6
-38
lines changed

3 files changed

+6
-38
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-20 19:51:44.281546",
8-
"spec_repo_commit": "51272749"
7+
"regenerated": "2025-06-23 07:59:25.891159",
8+
"spec_repo_commit": "74866a53"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-20 19:51:44.297382",
13-
"spec_repo_commit": "51272749"
12+
"regenerated": "2025-06-23 07:59:25.906930",
13+
"spec_repo_commit": "74866a53"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14785,9 +14785,6 @@ components:
1478514785
description: Username to use for the basic authentication.
1478614786
example: my_username
1478714787
type: string
14788-
required:
14789-
- password
14790-
- username
1479114788
type: object
1479214789
SyntheticsBasicAuthWebType:
1479314790
default: web

lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class SyntheticsBasicAuthWeb
2222
include BaseGenericModel
2323

2424
# Password to use for the basic authentication.
25-
attr_reader :password
25+
attr_accessor :password
2626

2727
# The type of basic authentication to use when performing the test.
2828
attr_accessor :type
2929

3030
# Username to use for the basic authentication.
31-
attr_reader :username
31+
attr_accessor :username
3232

3333
attr_accessor :additional_properties
3434

@@ -83,35 +83,6 @@ def initialize(attributes = {})
8383
end
8484
end
8585

86-
# Check to see if the all the properties in the model are valid
87-
# @return true if the model is valid
88-
# @!visibility private
89-
def valid?
90-
return false if @password.nil?
91-
return false if @username.nil?
92-
true
93-
end
94-
95-
# Custom attribute writer method with validation
96-
# @param password [Object] Object to be assigned
97-
# @!visibility private
98-
def password=(password)
99-
if password.nil?
100-
fail ArgumentError, 'invalid value for "password", password cannot be nil.'
101-
end
102-
@password = password
103-
end
104-
105-
# Custom attribute writer method with validation
106-
# @param username [Object] Object to be assigned
107-
# @!visibility private
108-
def username=(username)
109-
if username.nil?
110-
fail ArgumentError, 'invalid value for "username", username cannot be nil.'
111-
end
112-
@username = username
113-
end
114-
11586
# Returns the object in the form of hash, with additionalProperties support.
11687
# @return [Hash] Returns the object in the form of hash
11788
# @!visibility private

0 commit comments

Comments
 (0)