diff --git a/.spec-version b/.spec-version index 4bc5714..dd127fd 100644 --- a/.spec-version +++ b/.spec-version @@ -1,2 +1,2 @@ -spec: openapi-v241.25.1 -generator: chat v241.25.1 +spec: openapi-v241.26.0 +generator: chat v241.26.0 diff --git a/lib/getstream_ruby/generated/models/submit_action_response.rb b/lib/getstream_ruby/generated/models/submit_action_response.rb index 831a751..5114515 100644 --- a/lib/getstream_ruby/generated/models/submit_action_response.rb +++ b/lib/getstream_ruby/generated/models/submit_action_response.rb @@ -15,6 +15,9 @@ class SubmitActionResponse < GetStream::BaseModel # @!attribute auto_restore_warning # @return [String] Present when the appeal was accepted but the entity could not be restored automatically. The moderator should restore it manually. attr_accessor :auto_restore_warning + # @!attribute item_id + # @return [String] ID of the review queue item the action was performed on + attr_accessor :item_id # @!attribute appeal_item # @return [AppealItemResponse] attr_accessor :appeal_item @@ -27,6 +30,7 @@ def initialize(attributes = {}) super(attributes) @duration = attributes.fetch(:duration) { attributes.fetch('duration', nil) } @auto_restore_warning = attributes.fetch(:auto_restore_warning) { attributes.fetch('auto_restore_warning', nil) } + @item_id = attributes.fetch(:item_id) { attributes.fetch('item_id', nil) } @appeal_item = attributes.fetch(:appeal_item) { attributes.fetch('appeal_item', nil) } @item = attributes.fetch(:item) { attributes.fetch('item', nil) } end @@ -36,6 +40,7 @@ def self.json_field_mappings { duration: 'duration', auto_restore_warning: 'auto_restore_warning', + item_id: 'item_id', appeal_item: 'appeal_item', item: 'item' }