Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .spec-version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spec: openapi-v241.37.4
generator: chat v241.37.4
spec: openapi-v241.37.5
generator: chat v241.37.5
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class BroadcastDailyRollup < GetStream::BaseModel
# @!attribute broadcasts_with_screenshare
# @return [Integer]
attr_accessor :broadcasts_with_screenshare
# @!attribute received_resolution
# @return [RollupReceivedResolution]
attr_accessor :received_resolution

# Initialize with attributes
def initialize(attributes = {})
Expand All @@ -65,6 +68,7 @@ def initialize(attributes = {})
@top_broadcasts = attributes.fetch(:top_broadcasts) { attributes.fetch('top_broadcasts', nil) }
@poor_viewers_by_cause = attributes.fetch(:poor_viewers_by_cause) { attributes.fetch('poor_viewers_by_cause', nil) }
@broadcasts_with_screenshare = attributes.fetch(:broadcasts_with_screenshare) { attributes.fetch('broadcasts_with_screenshare', nil) }
@received_resolution = attributes.fetch(:received_resolution) { attributes.fetch('received_resolution', nil) }
end

# Override field mappings for JSON serialization
Expand All @@ -82,7 +86,8 @@ def self.json_field_mappings
unique_viewers_sum: 'unique_viewers_sum',
top_broadcasts: 'top_broadcasts',
poor_viewers_by_cause: 'poor_viewers_by_cause',
broadcasts_with_screenshare: 'broadcasts_with_screenshare'
broadcasts_with_screenshare: 'broadcasts_with_screenshare',
received_resolution: 'received_resolution'
}
end
end
Expand Down
7 changes: 6 additions & 1 deletion lib/getstream_ruby/generated/models/broadcast_digest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class BroadcastDigest < GetStream::BaseModel
# @!attribute viewers
# @return [ViewerBehavior]
attr_accessor :viewers
# @!attribute received_resolution
# @return [ReceivedResolution]
attr_accessor :received_resolution

# Initialize with attributes
def initialize(attributes = {})
Expand All @@ -53,6 +56,7 @@ def initialize(attributes = {})
@segments = attributes.fetch(:segments) { attributes.fetch('segments', nil) }
@source = attributes.fetch(:source) { attributes.fetch('source', nil) }
@viewers = attributes.fetch(:viewers) { attributes.fetch('viewers', nil) }
@received_resolution = attributes.fetch(:received_resolution) { attributes.fetch('received_resolution', nil) }
end

# Override field mappings for JSON serialization
Expand All @@ -67,7 +71,8 @@ def self.json_field_mappings
quality: 'quality',
segments: 'segments',
source: 'source',
viewers: 'viewers'
viewers: 'viewers',
received_resolution: 'received_resolution'
}
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CallStatsReportReadyEvent < GetStream::BaseModel
# @return [CallStatsParticipantCounts]
attr_accessor :counts
# @!attribute type
# @return [String] The type of event, "call.report_ready" in this case
# @return [String] The type of event, "call.stats_report_ready" in this case
attr_accessor :type
# @!attribute is_trimmed
# @return [Boolean] Whether participants_overview is truncated by the server-side limit
Expand Down
56 changes: 56 additions & 0 deletions lib/getstream_ruby/generated/models/received_resolution.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# frozen_string_literal: true

# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.

module GetStream
module Generated
module Models
#
class ReceivedResolution < GetStream::BaseModel

# Model attributes
# @!attribute note
# @return [String]
attr_accessor :note
# @!attribute coverage
# @return [ReceivedResolutionCoverage]
attr_accessor :coverage
# @!attribute publisher_seconds_by_tier
# @return [Hash<String, Integer>]
attr_accessor :publisher_seconds_by_tier
# @!attribute viewer_bytes_by_tier
# @return [Hash<String, Integer>]
attr_accessor :viewer_bytes_by_tier
# @!attribute viewer_seconds_by_tier
# @return [Hash<String, Integer>]
attr_accessor :viewer_seconds_by_tier
# @!attribute viewers_by_max_tier
# @return [Hash<String, Integer>]
attr_accessor :viewers_by_max_tier

# Initialize with attributes
def initialize(attributes = {})
super(attributes)
@note = attributes.fetch(:note) { attributes.fetch('note', nil) }
@coverage = attributes.fetch(:coverage) { attributes.fetch('coverage', nil) }
@publisher_seconds_by_tier = attributes.fetch(:publisher_seconds_by_tier) { attributes.fetch('publisher_seconds_by_tier', nil) }
@viewer_bytes_by_tier = attributes.fetch(:viewer_bytes_by_tier) { attributes.fetch('viewer_bytes_by_tier', nil) }
@viewer_seconds_by_tier = attributes.fetch(:viewer_seconds_by_tier) { attributes.fetch('viewer_seconds_by_tier', nil) }
@viewers_by_max_tier = attributes.fetch(:viewers_by_max_tier) { attributes.fetch('viewers_by_max_tier', nil) }
end

# Override field mappings for JSON serialization
def self.json_field_mappings
{
note: 'note',
coverage: 'coverage',
publisher_seconds_by_tier: 'publisher_seconds_by_tier',
viewer_bytes_by_tier: 'viewer_bytes_by_tier',
viewer_seconds_by_tier: 'viewer_seconds_by_tier',
viewers_by_max_tier: 'viewers_by_max_tier'
}
end
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# frozen_string_literal: true

# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.

module GetStream
module Generated
module Models
#
class ReceivedResolutionCoverage < GetStream::BaseModel

# Model attributes
# @!attribute sfus
# @return [Integer]
attr_accessor :sfus
# @!attribute usage_reports_found
# @return [Boolean]
attr_accessor :usage_reports_found
# @!attribute user_sessions
# @return [Integer]
attr_accessor :user_sessions
# @!attribute absent_reason
# @return [String]
attr_accessor :absent_reason

# Initialize with attributes
def initialize(attributes = {})
super(attributes)
@sfus = attributes.fetch(:sfus) { attributes.fetch('sfus', nil) }
@usage_reports_found = attributes.fetch(:usage_reports_found) { attributes.fetch('usage_reports_found', nil) }
@user_sessions = attributes.fetch(:user_sessions) { attributes.fetch('user_sessions', nil) }
@absent_reason = attributes.fetch(:absent_reason) { attributes.fetch('absent_reason', nil) }
end

# Override field mappings for JSON serialization
def self.json_field_mappings
{
sfus: 'sfus',
usage_reports_found: 'usage_reports_found',
user_sessions: 'user_sessions',
absent_reason: 'absent_reason'
}
end
end
end
end
end
46 changes: 46 additions & 0 deletions lib/getstream_ruby/generated/models/rollup_received_resolution.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# frozen_string_literal: true

# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.

module GetStream
module Generated
module Models
#
class RollupReceivedResolution < GetStream::BaseModel

# Model attributes
# @!attribute broadcasts_total
# @return [Integer]
attr_accessor :broadcasts_total
# @!attribute broadcasts_with_usage
# @return [Integer]
attr_accessor :broadcasts_with_usage
# @!attribute note
# @return [String]
attr_accessor :note
# @!attribute viewer_seconds_by_tier
# @return [Hash<String, Integer>]
attr_accessor :viewer_seconds_by_tier

# Initialize with attributes
def initialize(attributes = {})
super(attributes)
@broadcasts_total = attributes.fetch(:broadcasts_total) { attributes.fetch('broadcasts_total', nil) }
@broadcasts_with_usage = attributes.fetch(:broadcasts_with_usage) { attributes.fetch('broadcasts_with_usage', nil) }
@note = attributes.fetch(:note) { attributes.fetch('note', nil) }
@viewer_seconds_by_tier = attributes.fetch(:viewer_seconds_by_tier) { attributes.fetch('viewer_seconds_by_tier', nil) }
end

# Override field mappings for JSON serialization
def self.json_field_mappings
{
broadcasts_total: 'broadcasts_total',
broadcasts_with_usage: 'broadcasts_with_usage',
note: 'note',
viewer_seconds_by_tier: 'viewer_seconds_by_tier'
}
end
end
end
end
end
Loading