getstream-ruby 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/getstream_ruby/generated/common_client.rb +67 -0
- data/lib/getstream_ruby/generated/feeds_client.rb +6 -2
- data/lib/getstream_ruby/generated/models/activity_request.rb +11 -1
- data/lib/getstream_ruby/generated/models/activity_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/add_activity_request.rb +11 -1
- data/lib/getstream_ruby/generated/models/add_activity_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/add_comment_reaction_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/add_comment_response.rb +11 -1
- data/lib/getstream_ruby/generated/models/add_reaction_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/appeal_accepted_event.rb +51 -0
- data/lib/getstream_ruby/generated/models/appeal_created_event.rb +51 -0
- data/lib/getstream_ruby/generated/models/appeal_item_response.rb +81 -0
- data/lib/getstream_ruby/generated/models/appeal_rejected_event.rb +51 -0
- data/lib/getstream_ruby/generated/models/appeal_request.rb +56 -0
- data/lib/getstream_ruby/generated/models/appeal_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/call_recording_failed_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_recording_ready_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_recording_started_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_recording_stopped_event.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/call_settings.rb +10 -0
- data/lib/getstream_ruby/generated/models/call_settings_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/call_settings_response.rb +10 -0
- data/lib/getstream_ruby/generated/models/call_stats_participant_counts.rb +6 -1
- data/lib/getstream_ruby/generated/models/channel_batch_completed_event.rb +81 -0
- data/lib/getstream_ruby/generated/models/channel_batch_started_event.rb +81 -0
- data/lib/getstream_ruby/generated/models/comment_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/composite_recording_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/create_import_v2_task_request.rb +46 -0
- data/lib/getstream_ruby/generated/models/create_import_v2_task_response.rb +66 -0
- data/lib/getstream_ruby/generated/models/delete_import_v2_task_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/egress_response.rb +16 -1
- data/lib/getstream_ruby/generated/models/enrichment_options.rb +23 -18
- data/lib/getstream_ruby/generated/models/event_hook.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_own_data.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/feed_suggestion_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/future_channel_ban_response.rb +56 -0
- data/lib/getstream_ruby/generated/models/get_appeal_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/get_import_v2_task_response.rb +66 -0
- data/lib/getstream_ruby/generated/models/go_live_request.rb +15 -0
- data/lib/getstream_ruby/generated/models/import_v2_task_item.rb +61 -0
- data/lib/getstream_ruby/generated/models/import_v2_task_settings.rb +36 -0
- data/lib/getstream_ruby/generated/models/import_v2_task_settings_s3.rb +41 -0
- data/lib/getstream_ruby/generated/models/individual_record_settings.rb +31 -0
- data/lib/getstream_ruby/generated/models/individual_recording_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/individual_recording_settings_request.rb +31 -0
- data/lib/getstream_ruby/generated/models/individual_recording_settings_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/ingress_error_event.rb +61 -0
- data/lib/getstream_ruby/generated/models/ingress_started_event.rb +71 -0
- data/lib/getstream_ruby/generated/models/ingress_stopped_event.rb +51 -0
- data/lib/getstream_ruby/generated/models/list_import_v2_tasks_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/mark_reviewed_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/message_new_event.rb +1 -1
- data/lib/getstream_ruby/generated/models/own_batch_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/participant_session_details.rb +61 -0
- data/lib/getstream_ruby/generated/models/poll_vote_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/query_appeals_request.rb +61 -0
- data/lib/getstream_ruby/generated/models/query_appeals_response.rb +46 -0
- data/lib/getstream_ruby/generated/models/query_call_participant_sessions_response.rb +76 -0
- data/lib/getstream_ruby/generated/models/query_channels_request.rb +15 -0
- data/lib/getstream_ruby/generated/models/query_future_channel_bans_payload.rb +56 -0
- data/lib/getstream_ruby/generated/models/query_future_channel_bans_response.rb +36 -0
- data/lib/getstream_ruby/generated/models/ranking_config.rb +1 -1
- data/lib/getstream_ruby/generated/models/raw_record_settings.rb +31 -0
- data/lib/getstream_ruby/generated/models/raw_recording_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/raw_recording_settings_request.rb +31 -0
- data/lib/getstream_ruby/generated/models/raw_recording_settings_response.rb +31 -0
- data/lib/getstream_ruby/generated/models/reject_appeal_request.rb +31 -0
- data/lib/getstream_ruby/generated/models/resolve_sip_inbound_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/restore_action_request.rb +18 -1
- data/lib/getstream_ruby/generated/models/review_queue_item_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/rule_builder_condition.rb +10 -0
- data/lib/getstream_ruby/generated/models/search_payload.rb +5 -0
- data/lib/getstream_ruby/generated/models/single_follow_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/stop_live_request.rb +15 -0
- data/lib/getstream_ruby/generated/models/submit_action_request.rb +21 -1
- data/lib/getstream_ruby/generated/models/submit_action_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/text_rule_parameters.rb +10 -0
- data/lib/getstream_ruby/generated/models/threaded_comment_response.rb +5 -0
- data/lib/getstream_ruby/generated/models/unban_action_request.rb +18 -1
- data/lib/getstream_ruby/generated/models/unblock_action_request.rb +18 -1
- data/lib/getstream_ruby/generated/models/update_activity_partial_request.rb +2 -2
- data/lib/getstream_ruby/generated/models/update_activity_request.rb +10 -0
- data/lib/getstream_ruby/generated/models/update_comment_request.rb +5 -0
- data/lib/getstream_ruby/generated/models/update_feed_request.rb +15 -0
- data/lib/getstream_ruby/generated/models/upsert_activities_response.rb +6 -1
- data/lib/getstream_ruby/generated/models/user_identical_content_count_parameters.rb +36 -0
- data/lib/getstream_ruby/generated/models/user_role_parameters.rb +36 -0
- data/lib/getstream_ruby/generated/moderation_client.rb +50 -0
- data/lib/getstream_ruby/version.rb +1 -1
- metadata +41 -2
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
# Basic response information
|
|
9
|
+
class DeleteImportV2TaskResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String] Duration of the request in milliseconds
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
|
|
16
|
+
# Initialize with attributes
|
|
17
|
+
def initialize(attributes = {})
|
|
18
|
+
super(attributes)
|
|
19
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Override field mappings for JSON serialization
|
|
23
|
+
def self.json_field_mappings
|
|
24
|
+
{
|
|
25
|
+
duration: 'duration'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -15,20 +15,32 @@ module GetStream
|
|
|
15
15
|
# @!attribute rtmps
|
|
16
16
|
# @return [Array<EgressRTMPResponse>]
|
|
17
17
|
attr_accessor :rtmps
|
|
18
|
+
# @!attribute composite_recording
|
|
19
|
+
# @return [CompositeRecordingResponse]
|
|
20
|
+
attr_accessor :composite_recording
|
|
18
21
|
# @!attribute frame_recording
|
|
19
22
|
# @return [FrameRecordingResponse]
|
|
20
23
|
attr_accessor :frame_recording
|
|
21
24
|
# @!attribute hls
|
|
22
25
|
# @return [EgressHLSResponse]
|
|
23
26
|
attr_accessor :hls
|
|
27
|
+
# @!attribute individual_recording
|
|
28
|
+
# @return [IndividualRecordingResponse]
|
|
29
|
+
attr_accessor :individual_recording
|
|
30
|
+
# @!attribute raw_recording
|
|
31
|
+
# @return [RawRecordingResponse]
|
|
32
|
+
attr_accessor :raw_recording
|
|
24
33
|
|
|
25
34
|
# Initialize with attributes
|
|
26
35
|
def initialize(attributes = {})
|
|
27
36
|
super(attributes)
|
|
28
37
|
@broadcasting = attributes[:broadcasting] || attributes['broadcasting']
|
|
29
38
|
@rtmps = attributes[:rtmps] || attributes['rtmps']
|
|
39
|
+
@composite_recording = attributes[:composite_recording] || attributes['composite_recording'] || nil
|
|
30
40
|
@frame_recording = attributes[:frame_recording] || attributes['frame_recording'] || nil
|
|
31
41
|
@hls = attributes[:hls] || attributes['hls'] || nil
|
|
42
|
+
@individual_recording = attributes[:individual_recording] || attributes['individual_recording'] || nil
|
|
43
|
+
@raw_recording = attributes[:raw_recording] || attributes['raw_recording'] || nil
|
|
32
44
|
end
|
|
33
45
|
|
|
34
46
|
# Override field mappings for JSON serialization
|
|
@@ -36,8 +48,11 @@ module GetStream
|
|
|
36
48
|
{
|
|
37
49
|
broadcasting: 'broadcasting',
|
|
38
50
|
rtmps: 'rtmps',
|
|
51
|
+
composite_recording: 'composite_recording',
|
|
39
52
|
frame_recording: 'frame_recording',
|
|
40
|
-
hls: 'hls'
|
|
53
|
+
hls: 'hls',
|
|
54
|
+
individual_recording: 'individual_recording',
|
|
55
|
+
raw_recording: 'raw_recording'
|
|
41
56
|
}
|
|
42
57
|
end
|
|
43
58
|
end
|
|
@@ -5,65 +5,69 @@
|
|
|
5
5
|
module GetStream
|
|
6
6
|
module Generated
|
|
7
7
|
module Models
|
|
8
|
-
#
|
|
8
|
+
# Options to skip specific enrichments to improve performance. Default is false (enrichments are included). Setting a field to true skips that enrichment.
|
|
9
9
|
class EnrichmentOptions < GetStream::BaseModel
|
|
10
10
|
|
|
11
11
|
# Model attributes
|
|
12
|
+
# @!attribute enrich_own_followings
|
|
13
|
+
# @return [Boolean] Default: false. When true, includes fetching and enriching own_followings (follows where activity author's feeds follow current user's feeds).
|
|
14
|
+
attr_accessor :enrich_own_followings
|
|
12
15
|
# @!attribute skip_activity
|
|
13
|
-
# @return [Boolean]
|
|
16
|
+
# @return [Boolean] Default: false. When true, skips all activity enrichments.
|
|
14
17
|
attr_accessor :skip_activity
|
|
15
18
|
# @!attribute skip_activity_collections
|
|
16
|
-
# @return [Boolean]
|
|
19
|
+
# @return [Boolean] Default: false. When true, skips enriching collections on activities.
|
|
17
20
|
attr_accessor :skip_activity_collections
|
|
18
21
|
# @!attribute skip_activity_comments
|
|
19
|
-
# @return [Boolean]
|
|
22
|
+
# @return [Boolean] Default: false. When true, skips enriching comments on activities.
|
|
20
23
|
attr_accessor :skip_activity_comments
|
|
21
24
|
# @!attribute skip_activity_current_feed
|
|
22
|
-
# @return [Boolean]
|
|
25
|
+
# @return [Boolean] Default: false. When true, skips enriching current_feed on activities. Note: CurrentFeed is still computed for permission checks, but enrichment is skipped.
|
|
23
26
|
attr_accessor :skip_activity_current_feed
|
|
24
27
|
# @!attribute skip_activity_mentioned_users
|
|
25
|
-
# @return [Boolean]
|
|
28
|
+
# @return [Boolean] Default: false. When true, skips enriching mentioned users on activities.
|
|
26
29
|
attr_accessor :skip_activity_mentioned_users
|
|
27
30
|
# @!attribute skip_activity_own_bookmarks
|
|
28
|
-
# @return [Boolean]
|
|
31
|
+
# @return [Boolean] Default: false. When true, skips enriching own bookmarks on activities.
|
|
29
32
|
attr_accessor :skip_activity_own_bookmarks
|
|
30
33
|
# @!attribute skip_activity_parents
|
|
31
|
-
# @return [Boolean]
|
|
34
|
+
# @return [Boolean] Default: false. When true, skips enriching parent activities.
|
|
32
35
|
attr_accessor :skip_activity_parents
|
|
33
36
|
# @!attribute skip_activity_poll
|
|
34
|
-
# @return [Boolean]
|
|
37
|
+
# @return [Boolean] Default: false. When true, skips enriching poll data on activities.
|
|
35
38
|
attr_accessor :skip_activity_poll
|
|
36
39
|
# @!attribute skip_activity_reactions
|
|
37
|
-
# @return [Boolean]
|
|
40
|
+
# @return [Boolean] Default: false. When true, skips fetching and enriching latest and own reactions on activities. Note: If reactions are already denormalized in the database, they will still be included.
|
|
38
41
|
attr_accessor :skip_activity_reactions
|
|
39
42
|
# @!attribute skip_activity_refresh_image_urls
|
|
40
|
-
# @return [Boolean]
|
|
43
|
+
# @return [Boolean] Default: false. When true, skips refreshing image URLs on activities.
|
|
41
44
|
attr_accessor :skip_activity_refresh_image_urls
|
|
42
45
|
# @!attribute skip_all
|
|
43
|
-
# @return [Boolean]
|
|
46
|
+
# @return [Boolean] Default: false. When true, skips all enrichments.
|
|
44
47
|
attr_accessor :skip_all
|
|
45
48
|
# @!attribute skip_feed_member_user
|
|
46
|
-
# @return [Boolean]
|
|
49
|
+
# @return [Boolean] Default: false. When true, skips enriching user data on feed members.
|
|
47
50
|
attr_accessor :skip_feed_member_user
|
|
48
51
|
# @!attribute skip_followers
|
|
49
|
-
# @return [Boolean]
|
|
52
|
+
# @return [Boolean] Default: false. When true, skips fetching and enriching followers. Note: If followers_pagination is explicitly provided, followers will be fetched regardless of this setting.
|
|
50
53
|
attr_accessor :skip_followers
|
|
51
54
|
# @!attribute skip_following
|
|
52
|
-
# @return [Boolean]
|
|
55
|
+
# @return [Boolean] Default: false. When true, skips fetching and enriching following. Note: If following_pagination is explicitly provided, following will be fetched regardless of this setting.
|
|
53
56
|
attr_accessor :skip_following
|
|
54
57
|
# @!attribute skip_own_capabilities
|
|
55
|
-
# @return [Boolean]
|
|
58
|
+
# @return [Boolean] Default: false. When true, skips computing and including capabilities for feeds.
|
|
56
59
|
attr_accessor :skip_own_capabilities
|
|
57
60
|
# @!attribute skip_own_follows
|
|
58
|
-
# @return [Boolean]
|
|
61
|
+
# @return [Boolean] Default: false. When true, skips fetching and enriching own_follows (follows where user's feeds follow target feeds).
|
|
59
62
|
attr_accessor :skip_own_follows
|
|
60
63
|
# @!attribute skip_pins
|
|
61
|
-
# @return [Boolean]
|
|
64
|
+
# @return [Boolean] Default: false. When true, skips enriching pinned activities.
|
|
62
65
|
attr_accessor :skip_pins
|
|
63
66
|
|
|
64
67
|
# Initialize with attributes
|
|
65
68
|
def initialize(attributes = {})
|
|
66
69
|
super(attributes)
|
|
70
|
+
@enrich_own_followings = attributes[:enrich_own_followings] || attributes['enrich_own_followings'] || nil
|
|
67
71
|
@skip_activity = attributes[:skip_activity] || attributes['skip_activity'] || nil
|
|
68
72
|
@skip_activity_collections = attributes[:skip_activity_collections] || attributes['skip_activity_collections'] || nil
|
|
69
73
|
@skip_activity_comments = attributes[:skip_activity_comments] || attributes['skip_activity_comments'] || nil
|
|
@@ -86,6 +90,7 @@ module GetStream
|
|
|
86
90
|
# Override field mappings for JSON serialization
|
|
87
91
|
def self.json_field_mappings
|
|
88
92
|
{
|
|
93
|
+
enrich_own_followings: 'enrich_own_followings',
|
|
89
94
|
skip_activity: 'skip_activity',
|
|
90
95
|
skip_activity_collections: 'skip_activity_collections',
|
|
91
96
|
skip_activity_comments: 'skip_activity_comments',
|
|
@@ -30,6 +30,9 @@ module GetStream
|
|
|
30
30
|
# @!attribute sns_auth_type
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :sns_auth_type
|
|
33
|
+
# @!attribute sns_event_based_message_group_id_enabled
|
|
34
|
+
# @return [Boolean]
|
|
35
|
+
attr_accessor :sns_event_based_message_group_id_enabled
|
|
33
36
|
# @!attribute sns_key
|
|
34
37
|
# @return [String]
|
|
35
38
|
attr_accessor :sns_key
|
|
@@ -89,6 +92,7 @@ module GetStream
|
|
|
89
92
|
@product = attributes[:product] || attributes['product'] || nil
|
|
90
93
|
@should_send_custom_events = attributes[:should_send_custom_events] || attributes['should_send_custom_events'] || nil
|
|
91
94
|
@sns_auth_type = attributes[:sns_auth_type] || attributes['sns_auth_type'] || nil
|
|
95
|
+
@sns_event_based_message_group_id_enabled = attributes[:sns_event_based_message_group_id_enabled] || attributes['sns_event_based_message_group_id_enabled'] || nil
|
|
92
96
|
@sns_key = attributes[:sns_key] || attributes['sns_key'] || nil
|
|
93
97
|
@sns_region = attributes[:sns_region] || attributes['sns_region'] || nil
|
|
94
98
|
@sns_role_arn = attributes[:sns_role_arn] || attributes['sns_role_arn'] || nil
|
|
@@ -117,6 +121,7 @@ module GetStream
|
|
|
117
121
|
product: 'product',
|
|
118
122
|
should_send_custom_events: 'should_send_custom_events',
|
|
119
123
|
sns_auth_type: 'sns_auth_type',
|
|
124
|
+
sns_event_based_message_group_id_enabled: 'sns_event_based_message_group_id_enabled',
|
|
120
125
|
sns_key: 'sns_key',
|
|
121
126
|
sns_region: 'sns_region',
|
|
122
127
|
sns_role_arn: 'sns_role_arn',
|
|
@@ -12,6 +12,9 @@ module GetStream
|
|
|
12
12
|
# @!attribute own_capabilities
|
|
13
13
|
# @return [Array<FeedOwnCapability>] Capabilities the current user has for this feed
|
|
14
14
|
attr_accessor :own_capabilities
|
|
15
|
+
# @!attribute own_followings
|
|
16
|
+
# @return [Array<FollowResponse>] Follow relationships where the feed owner's feeds are following the current user's feeds (up to 5 total)
|
|
17
|
+
attr_accessor :own_followings
|
|
15
18
|
# @!attribute own_follows
|
|
16
19
|
# @return [Array<FollowResponse>] Follow relationships where the current user's feeds are following this feed
|
|
17
20
|
attr_accessor :own_follows
|
|
@@ -23,6 +26,7 @@ module GetStream
|
|
|
23
26
|
def initialize(attributes = {})
|
|
24
27
|
super(attributes)
|
|
25
28
|
@own_capabilities = attributes[:own_capabilities] || attributes['own_capabilities'] || nil
|
|
29
|
+
@own_followings = attributes[:own_followings] || attributes['own_followings'] || nil
|
|
26
30
|
@own_follows = attributes[:own_follows] || attributes['own_follows'] || nil
|
|
27
31
|
@own_membership = attributes[:own_membership] || attributes['own_membership'] || nil
|
|
28
32
|
end
|
|
@@ -31,6 +35,7 @@ module GetStream
|
|
|
31
35
|
def self.json_field_mappings
|
|
32
36
|
{
|
|
33
37
|
own_capabilities: 'own_capabilities',
|
|
38
|
+
own_followings: 'own_followings',
|
|
34
39
|
own_follows: 'own_follows',
|
|
35
40
|
own_membership: 'own_membership'
|
|
36
41
|
}
|
|
@@ -60,6 +60,9 @@ module GetStream
|
|
|
60
60
|
# @!attribute own_capabilities
|
|
61
61
|
# @return [Array<FeedOwnCapability>] Capabilities the current user has for this feed
|
|
62
62
|
attr_accessor :own_capabilities
|
|
63
|
+
# @!attribute own_followings
|
|
64
|
+
# @return [Array<FollowResponse>] Follow relationships where the feed owner’s feeds are following the current user's feeds
|
|
65
|
+
attr_accessor :own_followings
|
|
63
66
|
# @!attribute own_follows
|
|
64
67
|
# @return [Array<FollowResponse>] Follow relationships where the current user's feeds are following this feed
|
|
65
68
|
attr_accessor :own_follows
|
|
@@ -90,6 +93,7 @@ module GetStream
|
|
|
90
93
|
@visibility = attributes[:visibility] || attributes['visibility'] || nil
|
|
91
94
|
@filter_tags = attributes[:filter_tags] || attributes['filter_tags'] || nil
|
|
92
95
|
@own_capabilities = attributes[:own_capabilities] || attributes['own_capabilities'] || nil
|
|
96
|
+
@own_followings = attributes[:own_followings] || attributes['own_followings'] || nil
|
|
93
97
|
@own_follows = attributes[:own_follows] || attributes['own_follows'] || nil
|
|
94
98
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
95
99
|
@own_membership = attributes[:own_membership] || attributes['own_membership'] || nil
|
|
@@ -115,6 +119,7 @@ module GetStream
|
|
|
115
119
|
visibility: 'visibility',
|
|
116
120
|
filter_tags: 'filter_tags',
|
|
117
121
|
own_capabilities: 'own_capabilities',
|
|
122
|
+
own_followings: 'own_followings',
|
|
118
123
|
own_follows: 'own_follows',
|
|
119
124
|
custom: 'custom',
|
|
120
125
|
own_membership: 'own_membership'
|
|
@@ -66,6 +66,9 @@ module GetStream
|
|
|
66
66
|
# @!attribute own_capabilities
|
|
67
67
|
# @return [Array<FeedOwnCapability>] Capabilities the current user has for this feed
|
|
68
68
|
attr_accessor :own_capabilities
|
|
69
|
+
# @!attribute own_followings
|
|
70
|
+
# @return [Array<FollowResponse>] Follow relationships where the feed owner’s feeds are following the current user's feeds
|
|
71
|
+
attr_accessor :own_followings
|
|
69
72
|
# @!attribute own_follows
|
|
70
73
|
# @return [Array<FollowResponse>] Follow relationships where the current user's feeds are following this feed
|
|
71
74
|
attr_accessor :own_follows
|
|
@@ -101,6 +104,7 @@ module GetStream
|
|
|
101
104
|
@visibility = attributes[:visibility] || attributes['visibility'] || nil
|
|
102
105
|
@filter_tags = attributes[:filter_tags] || attributes['filter_tags'] || nil
|
|
103
106
|
@own_capabilities = attributes[:own_capabilities] || attributes['own_capabilities'] || nil
|
|
107
|
+
@own_followings = attributes[:own_followings] || attributes['own_followings'] || nil
|
|
104
108
|
@own_follows = attributes[:own_follows] || attributes['own_follows'] || nil
|
|
105
109
|
@algorithm_scores = attributes[:algorithm_scores] || attributes['algorithm_scores'] || nil
|
|
106
110
|
@custom = attributes[:custom] || attributes['custom'] || nil
|
|
@@ -129,6 +133,7 @@ module GetStream
|
|
|
129
133
|
visibility: 'visibility',
|
|
130
134
|
filter_tags: 'filter_tags',
|
|
131
135
|
own_capabilities: 'own_capabilities',
|
|
136
|
+
own_followings: 'own_followings',
|
|
132
137
|
own_follows: 'own_follows',
|
|
133
138
|
algorithm_scores: 'algorithm_scores',
|
|
134
139
|
custom: 'custom',
|
|
@@ -0,0 +1,56 @@
|
|
|
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 FutureChannelBanResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute created_at
|
|
13
|
+
# @return [DateTime]
|
|
14
|
+
attr_accessor :created_at
|
|
15
|
+
# @!attribute expires
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :expires
|
|
18
|
+
# @!attribute reason
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :reason
|
|
21
|
+
# @!attribute shadow
|
|
22
|
+
# @return [Boolean]
|
|
23
|
+
attr_accessor :shadow
|
|
24
|
+
# @!attribute banned_by
|
|
25
|
+
# @return [UserResponse]
|
|
26
|
+
attr_accessor :banned_by
|
|
27
|
+
# @!attribute user
|
|
28
|
+
# @return [UserResponse]
|
|
29
|
+
attr_accessor :user
|
|
30
|
+
|
|
31
|
+
# Initialize with attributes
|
|
32
|
+
def initialize(attributes = {})
|
|
33
|
+
super(attributes)
|
|
34
|
+
@created_at = attributes[:created_at] || attributes['created_at']
|
|
35
|
+
@expires = attributes[:expires] || attributes['expires'] || nil
|
|
36
|
+
@reason = attributes[:reason] || attributes['reason'] || nil
|
|
37
|
+
@shadow = attributes[:shadow] || attributes['shadow'] || nil
|
|
38
|
+
@banned_by = attributes[:banned_by] || attributes['banned_by'] || nil
|
|
39
|
+
@user = attributes[:user] || attributes['user'] || nil
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Override field mappings for JSON serialization
|
|
43
|
+
def self.json_field_mappings
|
|
44
|
+
{
|
|
45
|
+
created_at: 'created_at',
|
|
46
|
+
expires: 'expires',
|
|
47
|
+
reason: 'reason',
|
|
48
|
+
shadow: 'shadow',
|
|
49
|
+
banned_by: 'banned_by',
|
|
50
|
+
user: 'user'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 GetAppealResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute duration
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :duration
|
|
15
|
+
# @!attribute item
|
|
16
|
+
# @return [AppealItemResponse]
|
|
17
|
+
attr_accessor :item
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
23
|
+
@item = attributes[:item] || attributes['item'] || nil
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
duration: 'duration',
|
|
30
|
+
item: 'item'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
# Basic response information
|
|
9
|
+
class GetImportV2TaskResponse < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute app_pk
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :app_pk
|
|
15
|
+
# @!attribute created_at
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :created_at
|
|
18
|
+
# @!attribute duration
|
|
19
|
+
# @return [String] Duration of the request in milliseconds
|
|
20
|
+
attr_accessor :duration
|
|
21
|
+
# @!attribute id
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :id
|
|
24
|
+
# @!attribute product
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :product
|
|
27
|
+
# @!attribute state
|
|
28
|
+
# @return [Integer]
|
|
29
|
+
attr_accessor :state
|
|
30
|
+
# @!attribute updated_at
|
|
31
|
+
# @return [DateTime]
|
|
32
|
+
attr_accessor :updated_at
|
|
33
|
+
# @!attribute settings
|
|
34
|
+
# @return [ImportV2TaskSettings]
|
|
35
|
+
attr_accessor :settings
|
|
36
|
+
|
|
37
|
+
# Initialize with attributes
|
|
38
|
+
def initialize(attributes = {})
|
|
39
|
+
super(attributes)
|
|
40
|
+
@app_pk = attributes[:app_pk] || attributes['app_pk']
|
|
41
|
+
@created_at = attributes[:created_at] || attributes['created_at']
|
|
42
|
+
@duration = attributes[:duration] || attributes['duration']
|
|
43
|
+
@id = attributes[:id] || attributes['id']
|
|
44
|
+
@product = attributes[:product] || attributes['product']
|
|
45
|
+
@state = attributes[:state] || attributes['state']
|
|
46
|
+
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
47
|
+
@settings = attributes[:settings] || attributes['settings']
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Override field mappings for JSON serialization
|
|
51
|
+
def self.json_field_mappings
|
|
52
|
+
{
|
|
53
|
+
app_pk: 'app_pk',
|
|
54
|
+
created_at: 'created_at',
|
|
55
|
+
duration: 'duration',
|
|
56
|
+
id: 'id',
|
|
57
|
+
product: 'product',
|
|
58
|
+
state: 'state',
|
|
59
|
+
updated_at: 'updated_at',
|
|
60
|
+
settings: 'settings'
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -15,9 +15,18 @@ module GetStream
|
|
|
15
15
|
# @!attribute start_closed_caption
|
|
16
16
|
# @return [Boolean]
|
|
17
17
|
attr_accessor :start_closed_caption
|
|
18
|
+
# @!attribute start_composite_recording
|
|
19
|
+
# @return [Boolean]
|
|
20
|
+
attr_accessor :start_composite_recording
|
|
18
21
|
# @!attribute start_hls
|
|
19
22
|
# @return [Boolean]
|
|
20
23
|
attr_accessor :start_hls
|
|
24
|
+
# @!attribute start_individual_recording
|
|
25
|
+
# @return [Boolean]
|
|
26
|
+
attr_accessor :start_individual_recording
|
|
27
|
+
# @!attribute start_raw_recording
|
|
28
|
+
# @return [Boolean]
|
|
29
|
+
attr_accessor :start_raw_recording
|
|
21
30
|
# @!attribute start_recording
|
|
22
31
|
# @return [Boolean]
|
|
23
32
|
attr_accessor :start_recording
|
|
@@ -33,7 +42,10 @@ module GetStream
|
|
|
33
42
|
super(attributes)
|
|
34
43
|
@recording_storage_name = attributes[:recording_storage_name] || attributes['recording_storage_name'] || nil
|
|
35
44
|
@start_closed_caption = attributes[:start_closed_caption] || attributes['start_closed_caption'] || nil
|
|
45
|
+
@start_composite_recording = attributes[:start_composite_recording] || attributes['start_composite_recording'] || nil
|
|
36
46
|
@start_hls = attributes[:start_hls] || attributes['start_hls'] || nil
|
|
47
|
+
@start_individual_recording = attributes[:start_individual_recording] || attributes['start_individual_recording'] || nil
|
|
48
|
+
@start_raw_recording = attributes[:start_raw_recording] || attributes['start_raw_recording'] || nil
|
|
37
49
|
@start_recording = attributes[:start_recording] || attributes['start_recording'] || nil
|
|
38
50
|
@start_transcription = attributes[:start_transcription] || attributes['start_transcription'] || nil
|
|
39
51
|
@transcription_storage_name = attributes[:transcription_storage_name] || attributes['transcription_storage_name'] || nil
|
|
@@ -44,7 +56,10 @@ module GetStream
|
|
|
44
56
|
{
|
|
45
57
|
recording_storage_name: 'recording_storage_name',
|
|
46
58
|
start_closed_caption: 'start_closed_caption',
|
|
59
|
+
start_composite_recording: 'start_composite_recording',
|
|
47
60
|
start_hls: 'start_hls',
|
|
61
|
+
start_individual_recording: 'start_individual_recording',
|
|
62
|
+
start_raw_recording: 'start_raw_recording',
|
|
48
63
|
start_recording: 'start_recording',
|
|
49
64
|
start_transcription: 'start_transcription',
|
|
50
65
|
transcription_storage_name: 'transcription_storage_name'
|
|
@@ -0,0 +1,61 @@
|
|
|
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 ImportV2TaskItem < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute app_pk
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :app_pk
|
|
15
|
+
# @!attribute created_at
|
|
16
|
+
# @return [DateTime]
|
|
17
|
+
attr_accessor :created_at
|
|
18
|
+
# @!attribute id
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :id
|
|
21
|
+
# @!attribute product
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :product
|
|
24
|
+
# @!attribute state
|
|
25
|
+
# @return [Integer]
|
|
26
|
+
attr_accessor :state
|
|
27
|
+
# @!attribute updated_at
|
|
28
|
+
# @return [DateTime]
|
|
29
|
+
attr_accessor :updated_at
|
|
30
|
+
# @!attribute settings
|
|
31
|
+
# @return [ImportV2TaskSettings]
|
|
32
|
+
attr_accessor :settings
|
|
33
|
+
|
|
34
|
+
# Initialize with attributes
|
|
35
|
+
def initialize(attributes = {})
|
|
36
|
+
super(attributes)
|
|
37
|
+
@app_pk = attributes[:app_pk] || attributes['app_pk']
|
|
38
|
+
@created_at = attributes[:created_at] || attributes['created_at']
|
|
39
|
+
@id = attributes[:id] || attributes['id']
|
|
40
|
+
@product = attributes[:product] || attributes['product']
|
|
41
|
+
@state = attributes[:state] || attributes['state']
|
|
42
|
+
@updated_at = attributes[:updated_at] || attributes['updated_at']
|
|
43
|
+
@settings = attributes[:settings] || attributes['settings']
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Override field mappings for JSON serialization
|
|
47
|
+
def self.json_field_mappings
|
|
48
|
+
{
|
|
49
|
+
app_pk: 'app_pk',
|
|
50
|
+
created_at: 'created_at',
|
|
51
|
+
id: 'id',
|
|
52
|
+
product: 'product',
|
|
53
|
+
state: 'state',
|
|
54
|
+
updated_at: 'updated_at',
|
|
55
|
+
settings: 'settings'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ImportV2TaskSettings < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute skip_references_check
|
|
13
|
+
# @return [Boolean]
|
|
14
|
+
attr_accessor :skip_references_check
|
|
15
|
+
# @!attribute s3
|
|
16
|
+
# @return [ImportV2TaskSettingsS3]
|
|
17
|
+
attr_accessor :s3
|
|
18
|
+
|
|
19
|
+
# Initialize with attributes
|
|
20
|
+
def initialize(attributes = {})
|
|
21
|
+
super(attributes)
|
|
22
|
+
@skip_references_check = attributes[:skip_references_check] || attributes['skip_references_check'] || nil
|
|
23
|
+
@s3 = attributes[:s3] || attributes['s3'] || nil
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Override field mappings for JSON serialization
|
|
27
|
+
def self.json_field_mappings
|
|
28
|
+
{
|
|
29
|
+
skip_references_check: 'skip_references_check',
|
|
30
|
+
s3: 's3'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ImportV2TaskSettingsS3 < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute bucket
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :bucket
|
|
15
|
+
# @!attribute dir
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :dir
|
|
18
|
+
# @!attribute region
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :region
|
|
21
|
+
|
|
22
|
+
# Initialize with attributes
|
|
23
|
+
def initialize(attributes = {})
|
|
24
|
+
super(attributes)
|
|
25
|
+
@bucket = attributes[:bucket] || attributes['bucket'] || nil
|
|
26
|
+
@dir = attributes[:dir] || attributes['dir'] || nil
|
|
27
|
+
@region = attributes[:region] || attributes['region'] || nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Override field mappings for JSON serialization
|
|
31
|
+
def self.json_field_mappings
|
|
32
|
+
{
|
|
33
|
+
bucket: 'bucket',
|
|
34
|
+
dir: 'dir',
|
|
35
|
+
region: 'region'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
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 IndividualRecordSettings < GetStream::BaseModel
|
|
10
|
+
|
|
11
|
+
# Model attributes
|
|
12
|
+
# @!attribute mode
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :mode
|
|
15
|
+
|
|
16
|
+
# Initialize with attributes
|
|
17
|
+
def initialize(attributes = {})
|
|
18
|
+
super(attributes)
|
|
19
|
+
@mode = attributes[:mode] || attributes['mode']
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Override field mappings for JSON serialization
|
|
23
|
+
def self.json_field_mappings
|
|
24
|
+
{
|
|
25
|
+
mode: 'mode'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|