Skip to content
Open
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
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29845,7 +29845,7 @@ components:
8 indicates Jira.'
example: 1
format: int32
maximum: 9
maximum: 100
type: integer
metadata:
$ref: '#/components/schemas/IncidentIntegrationMetadataMetadata'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def initialize(attributes = {})
# @!visibility private
def valid?
return false if @integration_type.nil?
return false if @integration_type > 9
return false if @integration_type > 100
return false if @metadata.nil?
return false if !@status.nil? && @status > 5
true
Expand All @@ -131,8 +131,8 @@ def integration_type=(integration_type)
if integration_type.nil?
fail ArgumentError, 'invalid value for "integration_type", integration_type cannot be nil.'
end
if integration_type > 9
fail ArgumentError, 'invalid value for "integration_type", must be smaller than or equal to 9.'
if integration_type > 100
fail ArgumentError, 'invalid value for "integration_type", must be smaller than or equal to 100.'
end
@integration_type = integration_type
end
Expand Down
Loading