Skip to content

Commit 22c0df6

Browse files
feat: regenerate client from openapi-v241.37.3
1 parent 18e2d56 commit 22c0df6

5 files changed

Lines changed: 66 additions & 5 deletions

File tree

‎.spec-version‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
spec: openapi-v241.37.2
2-
generator: chat v241.37.2
1+
spec: openapi-v241.37.3
2+
generator: chat v241.37.3

‎lib/getstream_ruby/generated/models/broadcast_daily_rollup.rb‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class BroadcastDailyRollup < GetStream::BaseModel
4545
# @!attribute poor_viewers_by_cause
4646
# @return [PoorByCause]
4747
attr_accessor :poor_viewers_by_cause
48+
# @!attribute broadcasts_with_screenshare
49+
# @return [Integer]
50+
attr_accessor :broadcasts_with_screenshare
4851

4952
# Initialize with attributes
5053
def initialize(attributes = {})
@@ -61,6 +64,7 @@ def initialize(attributes = {})
6164
@unique_viewers_sum = attributes.fetch(:unique_viewers_sum) { attributes.fetch('unique_viewers_sum', nil) }
6265
@top_broadcasts = attributes.fetch(:top_broadcasts) { attributes.fetch('top_broadcasts', nil) }
6366
@poor_viewers_by_cause = attributes.fetch(:poor_viewers_by_cause) { attributes.fetch('poor_viewers_by_cause', nil) }
67+
@broadcasts_with_screenshare = attributes.fetch(:broadcasts_with_screenshare) { attributes.fetch('broadcasts_with_screenshare', nil) }
6468
end
6569

6670
# Override field mappings for JSON serialization
@@ -77,7 +81,8 @@ def self.json_field_mappings
7781
source_drops: 'source_drops',
7882
unique_viewers_sum: 'unique_viewers_sum',
7983
top_broadcasts: 'top_broadcasts',
80-
poor_viewers_by_cause: 'poor_viewers_by_cause'
84+
poor_viewers_by_cause: 'poor_viewers_by_cause',
85+
broadcasts_with_screenshare: 'broadcasts_with_screenshare'
8186
}
8287
end
8388
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# frozen_string_literal: true
2+
3+
# Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
4+
5+
module GetStream
6+
module Generated
7+
module Models
8+
#
9+
class PublishedTracks < GetStream::BaseModel
10+
11+
# Model attributes
12+
# @!attribute audio
13+
# @return [Boolean]
14+
attr_accessor :audio
15+
# @!attribute screenshare
16+
# @return [Boolean]
17+
attr_accessor :screenshare
18+
# @!attribute screenshare_audio
19+
# @return [Boolean]
20+
attr_accessor :screenshare_audio
21+
# @!attribute video
22+
# @return [Boolean]
23+
attr_accessor :video
24+
25+
# Initialize with attributes
26+
def initialize(attributes = {})
27+
super(attributes)
28+
@audio = attributes.fetch(:audio) { attributes.fetch('audio', nil) }
29+
@screenshare = attributes.fetch(:screenshare) { attributes.fetch('screenshare', nil) }
30+
@screenshare_audio = attributes.fetch(:screenshare_audio) { attributes.fetch('screenshare_audio', nil) }
31+
@video = attributes.fetch(:video) { attributes.fetch('video', nil) }
32+
end
33+
34+
# Override field mappings for JSON serialization
35+
def self.json_field_mappings
36+
{
37+
audio: 'audio',
38+
screenshare: 'screenshare',
39+
screenshare_audio: 'screenshare_audio',
40+
video: 'video'
41+
}
42+
end
43+
end
44+
end
45+
end
46+
end

‎lib/getstream_ruby/generated/models/publisher_session.rb‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class PublisherSession < GetStream::BaseModel
4545
# @!attribute encoding
4646
# @return [EncodingProfile]
4747
attr_accessor :encoding
48+
# @!attribute published_tracks
49+
# @return [PublishedTracks]
50+
attr_accessor :published_tracks
4851

4952
# Initialize with attributes
5053
def initialize(attributes = {})
@@ -61,6 +64,7 @@ def initialize(attributes = {})
6164
@send_quality_score = attributes.fetch(:send_quality_score) { attributes.fetch('send_quality_score', nil) }
6265
@tool = attributes.fetch(:tool) { attributes.fetch('tool', nil) }
6366
@encoding = attributes.fetch(:encoding) { attributes.fetch('encoding', nil) }
67+
@published_tracks = attributes.fetch(:published_tracks) { attributes.fetch('published_tracks', nil) }
6468
end
6569

6670
# Override field mappings for JSON serialization
@@ -77,7 +81,8 @@ def self.json_field_mappings
7781
os: 'os',
7882
send_quality_score: 'send_quality_score',
7983
tool: 'tool',
80-
encoding: 'encoding'
84+
encoding: 'encoding',
85+
published_tracks: 'published_tracks'
8186
}
8287
end
8388
end

‎lib/getstream_ruby/generated/models/source_health.rb‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class SourceHealth < GetStream::BaseModel
2121
# @!attribute publisher_sessions
2222
# @return [Array<PublisherSession>]
2323
attr_accessor :publisher_sessions
24+
# @!attribute screenshare_used
25+
# @return [Boolean]
26+
attr_accessor :screenshare_used
2427

2528
# Initialize with attributes
2629
def initialize(attributes = {})
@@ -29,6 +32,7 @@ def initialize(attributes = {})
2932
@dead_air_s = attributes.fetch(:dead_air_s) { attributes.fetch('dead_air_s', nil) }
3033
@interruptions = attributes.fetch(:interruptions) { attributes.fetch('interruptions', nil) }
3134
@publisher_sessions = attributes.fetch(:publisher_sessions) { attributes.fetch('publisher_sessions', nil) }
35+
@screenshare_used = attributes.fetch(:screenshare_used) { attributes.fetch('screenshare_used', nil) }
3236
end
3337

3438
# Override field mappings for JSON serialization
@@ -37,7 +41,8 @@ def self.json_field_mappings
3741
co_host_peak: 'co_host_peak',
3842
dead_air_s: 'dead_air_s',
3943
interruptions: 'interruptions',
40-
publisher_sessions: 'publisher_sessions'
44+
publisher_sessions: 'publisher_sessions',
45+
screenshare_used: 'screenshare_used'
4146
}
4247
end
4348
end

0 commit comments

Comments
 (0)