Skip to content

Commit

Permalink
Regenerate client from commit c70ecd2f of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 1, 2023
1 parent c64e315 commit f4ea1cb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
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.4",
"regenerated": "2023-05-31 18:24:41.047170",
"spec_repo_commit": "75f2b526"
"regenerated": "2023-06-01 14:05:08.660999",
"spec_repo_commit": "c70ecd2f"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-05-31 18:24:41.059309",
"spec_repo_commit": "75f2b526"
"regenerated": "2023-06-01 14:05:08.676337",
"spec_repo_commit": "c70ecd2f"
}
}
}
8 changes: 4 additions & 4 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13613,7 +13613,7 @@ components:
handle:
description: The team's identifier
example: example-team
maxLength: 64
maxLength: 195
type: string
link_count:
description: The number of links belonging to the team
Expand All @@ -13628,7 +13628,7 @@ components:
name:
description: The name of the team
example: Example Team
maxLength: 64
maxLength: 200
type: string
summary:
description: A brief summary of the team, derived from the `description`
Expand Down Expand Up @@ -13964,12 +13964,12 @@ components:
handle:
description: The team's identifier
example: example-team
maxLength: 64
maxLength: 195
type: string
name:
description: The name of the team
example: Example Team
maxLength: 64
maxLength: 200
type: string
required:
- handle
Expand Down
12 changes: 6 additions & 6 deletions lib/datadog_api_client/v2/models/team_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ def initialize(attributes = {})
# @!visibility private
def valid?
return false if @handle.nil?
return false if @handle.to_s.length > 64
return false if @handle.to_s.length > 195
return false if !@link_count.nil? && @link_count > 2147483647
return false if @name.nil?
return false if @name.to_s.length > 64
return false if @name.to_s.length > 200
return false if !@summary.nil? && @summary.to_s.length > 120
return false if !@user_count.nil? && @user_count > 2147483647
true
Expand All @@ -154,8 +154,8 @@ def handle=(handle)
if handle.nil?
fail ArgumentError, 'invalid value for "handle", handle cannot be nil.'
end
if handle.to_s.length > 64
fail ArgumentError, 'invalid value for "handle", the character length must be smaller than or equal to 64.'
if handle.to_s.length > 195
fail ArgumentError, 'invalid value for "handle", the character length must be smaller than or equal to 195.'
end
@handle = handle
end
Expand All @@ -177,8 +177,8 @@ def name=(name)
if name.nil?
fail ArgumentError, 'invalid value for "name", name cannot be nil.'
end
if name.to_s.length > 64
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 64.'
if name.to_s.length > 200
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 200.'
end
@name = name
end
Expand Down
12 changes: 6 additions & 6 deletions lib/datadog_api_client/v2/models/team_update_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def valid?
return false if !@color.nil? && @color > 13
return false if !@color.nil? && @color < 0
return false if @handle.nil?
return false if @handle.to_s.length > 64
return false if @handle.to_s.length > 195
return false if @name.nil?
return false if @name.to_s.length > 64
return false if @name.to_s.length > 200
true
end

Expand All @@ -121,8 +121,8 @@ def handle=(handle)
if handle.nil?
fail ArgumentError, 'invalid value for "handle", handle cannot be nil.'
end
if handle.to_s.length > 64
fail ArgumentError, 'invalid value for "handle", the character length must be smaller than or equal to 64.'
if handle.to_s.length > 195
fail ArgumentError, 'invalid value for "handle", the character length must be smaller than or equal to 195.'
end
@handle = handle
end
Expand All @@ -134,8 +134,8 @@ def name=(name)
if name.nil?
fail ArgumentError, 'invalid value for "name", name cannot be nil.'
end
if name.to_s.length > 64
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 64.'
if name.to_s.length > 200
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 200.'
end
@name = name
end
Expand Down

0 comments on commit f4ea1cb

Please sign in to comment.