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.2
generator: chat v241.37.2
spec: openapi-v241.37.3
generator: chat v241.37.3
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class BroadcastDailyRollup < GetStream::BaseModel
# @!attribute poor_viewers_by_cause
# @return [PoorByCause]
attr_accessor :poor_viewers_by_cause
# @!attribute broadcasts_with_screenshare
# @return [Integer]
attr_accessor :broadcasts_with_screenshare

# Initialize with attributes
def initialize(attributes = {})
Expand All @@ -61,6 +64,7 @@ def initialize(attributes = {})
@unique_viewers_sum = attributes.fetch(:unique_viewers_sum) { attributes.fetch('unique_viewers_sum', nil) }
@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) }
end

# Override field mappings for JSON serialization
Expand All @@ -77,7 +81,8 @@ def self.json_field_mappings
source_drops: 'source_drops',
unique_viewers_sum: 'unique_viewers_sum',
top_broadcasts: 'top_broadcasts',
poor_viewers_by_cause: 'poor_viewers_by_cause'
poor_viewers_by_cause: 'poor_viewers_by_cause',
broadcasts_with_screenshare: 'broadcasts_with_screenshare'
}
end
end
Expand Down
46 changes: 46 additions & 0 deletions lib/getstream_ruby/generated/models/published_tracks.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 PublishedTracks < GetStream::BaseModel

# Model attributes
# @!attribute audio
# @return [Boolean]
attr_accessor :audio
# @!attribute screenshare
# @return [Boolean]
attr_accessor :screenshare
# @!attribute screenshare_audio
# @return [Boolean]
attr_accessor :screenshare_audio
# @!attribute video
# @return [Boolean]
attr_accessor :video

# Initialize with attributes
def initialize(attributes = {})
super(attributes)
@audio = attributes.fetch(:audio) { attributes.fetch('audio', nil) }
@screenshare = attributes.fetch(:screenshare) { attributes.fetch('screenshare', nil) }
@screenshare_audio = attributes.fetch(:screenshare_audio) { attributes.fetch('screenshare_audio', nil) }
@video = attributes.fetch(:video) { attributes.fetch('video', nil) }
end

# Override field mappings for JSON serialization
def self.json_field_mappings
{
audio: 'audio',
screenshare: 'screenshare',
screenshare_audio: 'screenshare_audio',
video: 'video'
}
end
end
end
end
end
7 changes: 6 additions & 1 deletion lib/getstream_ruby/generated/models/publisher_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class PublisherSession < GetStream::BaseModel
# @!attribute encoding
# @return [EncodingProfile]
attr_accessor :encoding
# @!attribute published_tracks
# @return [PublishedTracks]
attr_accessor :published_tracks

# Initialize with attributes
def initialize(attributes = {})
Expand All @@ -61,6 +64,7 @@ def initialize(attributes = {})
@send_quality_score = attributes.fetch(:send_quality_score) { attributes.fetch('send_quality_score', nil) }
@tool = attributes.fetch(:tool) { attributes.fetch('tool', nil) }
@encoding = attributes.fetch(:encoding) { attributes.fetch('encoding', nil) }
@published_tracks = attributes.fetch(:published_tracks) { attributes.fetch('published_tracks', nil) }
end

# Override field mappings for JSON serialization
Expand All @@ -77,7 +81,8 @@ def self.json_field_mappings
os: 'os',
send_quality_score: 'send_quality_score',
tool: 'tool',
encoding: 'encoding'
encoding: 'encoding',
published_tracks: 'published_tracks'
}
end
end
Expand Down
7 changes: 6 additions & 1 deletion lib/getstream_ruby/generated/models/source_health.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ class SourceHealth < GetStream::BaseModel
# @!attribute publisher_sessions
# @return [Array<PublisherSession>]
attr_accessor :publisher_sessions
# @!attribute screenshare_used
# @return [Boolean]
attr_accessor :screenshare_used

# Initialize with attributes
def initialize(attributes = {})
Expand All @@ -29,6 +32,7 @@ def initialize(attributes = {})
@dead_air_s = attributes.fetch(:dead_air_s) { attributes.fetch('dead_air_s', nil) }
@interruptions = attributes.fetch(:interruptions) { attributes.fetch('interruptions', nil) }
@publisher_sessions = attributes.fetch(:publisher_sessions) { attributes.fetch('publisher_sessions', nil) }
@screenshare_used = attributes.fetch(:screenshare_used) { attributes.fetch('screenshare_used', nil) }
end

# Override field mappings for JSON serialization
Expand All @@ -37,7 +41,8 @@ def self.json_field_mappings
co_host_peak: 'co_host_peak',
dead_air_s: 'dead_air_s',
interruptions: 'interruptions',
publisher_sessions: 'publisher_sessions'
publisher_sessions: 'publisher_sessions',
screenshare_used: 'screenshare_used'
}
end
end
Expand Down
Loading