From c46051412e697511b1f4bb22786cd6d919c36ab3 Mon Sep 17 00:00:00 2001 From: dazzatronus <181476274+dazzatronus@users.noreply.github.com> Date: Sat, 11 Apr 2026 04:05:56 +0000 Subject: [PATCH] chore: regenerate SDK from @shotstack/schemas v1.10.7 --- .oas-version | 2 +- lib/shotstack/models/rich_text_background.rb | 20 ++++++++++++++++---- lib/shotstack/version.rb | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.oas-version b/.oas-version index 18b3114..ccff224 100644 --- a/.oas-version +++ b/.oas-version @@ -1 +1 @@ -1.10.4 +1.10.7 diff --git a/lib/shotstack/models/rich_text_background.rb b/lib/shotstack/models/rich_text_background.rb index 1df053c..677c853 100644 --- a/lib/shotstack/models/rich_text_background.rb +++ b/lib/shotstack/models/rich_text_background.rb @@ -25,12 +25,16 @@ class RichTextBackground # The border radius of the background box in pixels. Must be 0 or greater. attr_accessor :border_radius + # When true, the background pill shrinks to fit the rendered text bounding box plus the asset's padding (and stroke width, if present), producing a pill or badge effect. When false (default), the background fills the full asset content area. Available on rich-text and rich-caption assets only; not supported on legacy `type: text`. + attr_accessor :wrap + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'color' => :'color', :'opacity' => :'opacity', - :'border_radius' => :'borderRadius' + :'border_radius' => :'borderRadius', + :'wrap' => :'wrap' } end @@ -44,7 +48,8 @@ def self.openapi_types { :'color' => :'String', :'opacity' => :'Float', - :'border_radius' => :'Float' + :'border_radius' => :'Float', + :'wrap' => :'Boolean' } end @@ -84,6 +89,12 @@ def initialize(attributes = {}) else self.border_radius = 0 end + + if attributes.key?(:'wrap') + self.wrap = attributes[:'wrap'] + else + self.wrap = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -176,7 +187,8 @@ def ==(o) self.class == o.class && color == o.color && opacity == o.opacity && - border_radius == o.border_radius + border_radius == o.border_radius && + wrap == o.wrap end # @see the `==` method @@ -188,7 +200,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [color, opacity, border_radius].hash + [color, opacity, border_radius, wrap].hash end # Builds the object from hash diff --git a/lib/shotstack/version.rb b/lib/shotstack/version.rb index 9dce678..8d6b835 100644 --- a/lib/shotstack/version.rb +++ b/lib/shotstack/version.rb @@ -11,5 +11,5 @@ =end module Shotstack - VERSION = '1.10.4' + VERSION = '1.10.7' end