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
39 changes: 39 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4241,6 +4241,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
tags:
description: |-
Tags associated with the connection. Each tag must follow the `key:value` format.
The `default` tag key is reserved.
example:
- env:prod
- team:action-platform
items:
description: A non-reserved tag in `key:value` format.
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
type: string
type: array
required:
- name
- integration
Expand All @@ -4254,6 +4266,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
tags:
description: |-
Tags associated with the connection. Each tag must follow the `key:value` format.
The `default` tag key is reserved.
example:
- env:prod
- team:action-platform
items:
description: A non-reserved tag in `key:value` format.
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
type: string
type: array
type: object
ActionConnectionData:
description: Data related to the connection.
Expand Down Expand Up @@ -121471,6 +121495,9 @@ paths:
type: AWSAssumeRole
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/CreateActionConnectionRequest"
Expand All @@ -121487,6 +121514,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000001
type: action_connection
schema:
Expand Down Expand Up @@ -121564,6 +121594,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000002
type: action_connection
schema:
Expand Down Expand Up @@ -121612,6 +121645,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/UpdateActionConnectionRequest"
Expand All @@ -121629,6 +121665,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000003
type: action_connection
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ class ActionConnectionAttributes
# Name of the connection
attr_reader :name

# Tags associated with the connection. Each tag must follow the `key:value` format.
# The `default` tag key is reserved.
attr_accessor :tags

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
# @!visibility private
def self.attribute_map
{
:'integration' => :'integration',
:'name' => :'name'
:'name' => :'name',
:'tags' => :'tags'
}
end

Expand All @@ -43,7 +48,8 @@ def self.attribute_map
def self.openapi_types
{
:'integration' => :'ActionConnectionIntegration',
:'name' => :'String'
:'name' => :'String',
:'tags' => :'Array<String>'
}
end

Expand Down Expand Up @@ -72,6 +78,12 @@ def initialize(attributes = {})
if attributes.key?(:'name')
self.name = attributes[:'name']
end

if attributes.key?(:'tags')
if (value = attributes[:'tags']).is_a?(Array)
self.tags = value
end
end
end

# Check to see if the all the properties in the model are valid
Expand Down Expand Up @@ -131,14 +143,15 @@ def ==(o)
self.class == o.class &&
integration == o.integration &&
name == o.name &&
tags == o.tags &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[integration, name, additional_properties].hash
[integration, name, tags, additional_properties].hash
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ class ActionConnectionAttributesUpdate
# Name of the connection
attr_accessor :name

# Tags associated with the connection. Each tag must follow the `key:value` format.
# The `default` tag key is reserved.
attr_accessor :tags

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
# @!visibility private
def self.attribute_map
{
:'integration' => :'integration',
:'name' => :'name'
:'name' => :'name',
:'tags' => :'tags'
}
end

Expand All @@ -43,7 +48,8 @@ def self.attribute_map
def self.openapi_types
{
:'integration' => :'ActionConnectionIntegrationUpdate',
:'name' => :'String'
:'name' => :'String',
:'tags' => :'Array<String>'
}
end

Expand Down Expand Up @@ -72,6 +78,12 @@ def initialize(attributes = {})
if attributes.key?(:'name')
self.name = attributes[:'name']
end

if attributes.key?(:'tags')
if (value = attributes[:'tags']).is_a?(Array)
self.tags = value
end
end
end

# Returns the object in the form of hash, with additionalProperties support.
Expand Down Expand Up @@ -102,14 +114,15 @@ def ==(o)
self.class == o.class &&
integration == o.integration &&
name == o.name &&
tags == o.tags &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[integration, name, additional_properties].hash
[integration, name, tags, additional_properties].hash
end
end
end
Loading