bskyrb 0.5 → 0.5.1
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/bskyrb/codegen.rb +1 -0
- data/lib/bskyrb/error.rb +10 -0
- data/lib/bskyrb/firehose.rb +19 -21
- data/lib/bskyrb/generated_classes.rb +711 -4
- data/lib/bskyrb/records.rb +50 -91
- data/lib/bskyrb/session.rb +40 -30
- data/lib/bskyrb/version.rb +2 -1
- data/lib/bskyrb.rb +3 -0
- metadata +3 -16
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
module Bskyrb
|
2
3
|
module AppBskyActorDefs
|
3
4
|
class ProfileViewBasic
|
@@ -140,6 +141,12 @@ module Bskyrb
|
|
140
141
|
class ViewerState
|
141
142
|
attr_accessor :muted
|
142
143
|
|
144
|
+
attr_accessor :mutedByList
|
145
|
+
|
146
|
+
attr_accessor :blockedBy
|
147
|
+
|
148
|
+
attr_accessor :blocking
|
149
|
+
|
143
150
|
attr_accessor :following
|
144
151
|
|
145
152
|
attr_accessor :followedBy
|
@@ -150,6 +157,12 @@ module Bskyrb
|
|
150
157
|
|
151
158
|
instance.send(:muted=, hash["muted"])
|
152
159
|
|
160
|
+
instance.send(:mutedByList=, hash["mutedByList"])
|
161
|
+
|
162
|
+
instance.send(:blockedBy=, hash["blockedBy"])
|
163
|
+
|
164
|
+
instance.send(:blocking=, hash["blocking"])
|
165
|
+
|
153
166
|
instance.send(:following=, hash["following"])
|
154
167
|
|
155
168
|
instance.send(:followedBy=, hash["followedBy"])
|
@@ -159,6 +172,55 @@ module Bskyrb
|
|
159
172
|
end
|
160
173
|
end
|
161
174
|
|
175
|
+
module AppBskyActorDefs
|
176
|
+
class Preferences
|
177
|
+
attr_accessor :items
|
178
|
+
|
179
|
+
def self.from_hash(hash)
|
180
|
+
# httparty-returned string-keyed hash
|
181
|
+
instance = new
|
182
|
+
|
183
|
+
instance.send(:items=, hash["items"])
|
184
|
+
|
185
|
+
instance
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
module AppBskyActorDefs
|
191
|
+
class AdultContentPref
|
192
|
+
attr_accessor :enabled
|
193
|
+
|
194
|
+
def self.from_hash(hash)
|
195
|
+
# httparty-returned string-keyed hash
|
196
|
+
instance = new
|
197
|
+
|
198
|
+
instance.send(:enabled=, hash["enabled"])
|
199
|
+
|
200
|
+
instance
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
module AppBskyActorDefs
|
206
|
+
class ContentLabelPref
|
207
|
+
attr_accessor :label
|
208
|
+
|
209
|
+
attr_accessor :visibility
|
210
|
+
|
211
|
+
def self.from_hash(hash)
|
212
|
+
# httparty-returned string-keyed hash
|
213
|
+
instance = new
|
214
|
+
|
215
|
+
instance.send(:label=, hash["label"])
|
216
|
+
|
217
|
+
instance.send(:visibility=, hash["visibility"])
|
218
|
+
|
219
|
+
instance
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
162
224
|
module AppBskyEmbedExternal
|
163
225
|
class External
|
164
226
|
attr_accessor :uri
|
@@ -310,6 +372,8 @@ module Bskyrb
|
|
310
372
|
|
311
373
|
attr_accessor :value
|
312
374
|
|
375
|
+
attr_accessor :labels
|
376
|
+
|
313
377
|
attr_accessor :embeds
|
314
378
|
|
315
379
|
attr_accessor :indexedAt
|
@@ -326,6 +390,8 @@ module Bskyrb
|
|
326
390
|
|
327
391
|
instance.send(:value=, hash["value"])
|
328
392
|
|
393
|
+
instance.send(:labels=, hash["labels"])
|
394
|
+
|
329
395
|
instance.send(:embeds=, hash["embeds"])
|
330
396
|
|
331
397
|
instance.send(:indexedAt=, hash["indexedAt"])
|
@@ -350,6 +416,21 @@ module Bskyrb
|
|
350
416
|
end
|
351
417
|
end
|
352
418
|
|
419
|
+
module AppBskyEmbedRecord
|
420
|
+
class ViewBlocked
|
421
|
+
attr_accessor :uri
|
422
|
+
|
423
|
+
def self.from_hash(hash)
|
424
|
+
# httparty-returned string-keyed hash
|
425
|
+
instance = new
|
426
|
+
|
427
|
+
instance.send(:uri=, hash["uri"])
|
428
|
+
|
429
|
+
instance
|
430
|
+
end
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
353
434
|
module AppBskyEmbedRecordwithmedia
|
354
435
|
class View
|
355
436
|
attr_accessor :record
|
@@ -546,6 +627,25 @@ module Bskyrb
|
|
546
627
|
end
|
547
628
|
end
|
548
629
|
|
630
|
+
module AppBskyFeedDefs
|
631
|
+
class BlockedPost
|
632
|
+
attr_accessor :uri
|
633
|
+
|
634
|
+
attr_accessor :blocked
|
635
|
+
|
636
|
+
def self.from_hash(hash)
|
637
|
+
# httparty-returned string-keyed hash
|
638
|
+
instance = new
|
639
|
+
|
640
|
+
instance.send(:uri=, hash["uri"])
|
641
|
+
|
642
|
+
instance.send(:blocked=, hash["blocked"])
|
643
|
+
|
644
|
+
instance
|
645
|
+
end
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
549
649
|
module AppBskyFeedGetlikes
|
550
650
|
class Like
|
551
651
|
attr_accessor :indexedAt
|
@@ -626,6 +726,136 @@ module Bskyrb
|
|
626
726
|
end
|
627
727
|
end
|
628
728
|
|
729
|
+
module AppBskyGraphDefs
|
730
|
+
class ListViewBasic
|
731
|
+
attr_accessor :uri
|
732
|
+
|
733
|
+
attr_accessor :name
|
734
|
+
|
735
|
+
attr_accessor :purpose
|
736
|
+
|
737
|
+
attr_accessor :avatar
|
738
|
+
|
739
|
+
attr_accessor :viewer
|
740
|
+
|
741
|
+
attr_accessor :indexedAt
|
742
|
+
|
743
|
+
def self.from_hash(hash)
|
744
|
+
# httparty-returned string-keyed hash
|
745
|
+
instance = new
|
746
|
+
|
747
|
+
instance.send(:uri=, hash["uri"])
|
748
|
+
|
749
|
+
instance.send(:name=, hash["name"])
|
750
|
+
|
751
|
+
instance.send(:purpose=, hash["purpose"])
|
752
|
+
|
753
|
+
instance.send(:avatar=, hash["avatar"])
|
754
|
+
|
755
|
+
instance.send(:viewer=, hash["viewer"])
|
756
|
+
|
757
|
+
instance.send(:indexedAt=, hash["indexedAt"])
|
758
|
+
|
759
|
+
instance
|
760
|
+
end
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
module AppBskyGraphDefs
|
765
|
+
class ListView
|
766
|
+
attr_accessor :uri
|
767
|
+
|
768
|
+
attr_accessor :creator
|
769
|
+
|
770
|
+
attr_accessor :name
|
771
|
+
|
772
|
+
attr_accessor :purpose
|
773
|
+
|
774
|
+
attr_accessor :description
|
775
|
+
|
776
|
+
attr_accessor :descriptionFacets
|
777
|
+
|
778
|
+
attr_accessor :avatar
|
779
|
+
|
780
|
+
attr_accessor :viewer
|
781
|
+
|
782
|
+
attr_accessor :indexedAt
|
783
|
+
|
784
|
+
def self.from_hash(hash)
|
785
|
+
# httparty-returned string-keyed hash
|
786
|
+
instance = new
|
787
|
+
|
788
|
+
instance.send(:uri=, hash["uri"])
|
789
|
+
|
790
|
+
instance.send(:creator=, hash["creator"])
|
791
|
+
|
792
|
+
instance.send(:name=, hash["name"])
|
793
|
+
|
794
|
+
instance.send(:purpose=, hash["purpose"])
|
795
|
+
|
796
|
+
instance.send(:description=, hash["description"])
|
797
|
+
|
798
|
+
instance.send(:descriptionFacets=, hash["descriptionFacets"])
|
799
|
+
|
800
|
+
instance.send(:avatar=, hash["avatar"])
|
801
|
+
|
802
|
+
instance.send(:viewer=, hash["viewer"])
|
803
|
+
|
804
|
+
instance.send(:indexedAt=, hash["indexedAt"])
|
805
|
+
|
806
|
+
instance
|
807
|
+
end
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
module AppBskyGraphDefs
|
812
|
+
class ListItemView
|
813
|
+
attr_accessor :subject
|
814
|
+
|
815
|
+
def self.from_hash(hash)
|
816
|
+
# httparty-returned string-keyed hash
|
817
|
+
instance = new
|
818
|
+
|
819
|
+
instance.send(:subject=, hash["subject"])
|
820
|
+
|
821
|
+
instance
|
822
|
+
end
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
module AppBskyGraphDefs
|
827
|
+
class ListPurpose
|
828
|
+
def self.from_hash(hash)
|
829
|
+
# httparty-returned string-keyed hash
|
830
|
+
new
|
831
|
+
end
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
module AppBskyGraphDefs
|
836
|
+
class Modlist
|
837
|
+
def self.from_hash(hash)
|
838
|
+
# httparty-returned string-keyed hash
|
839
|
+
new
|
840
|
+
end
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
844
|
+
module AppBskyGraphDefs
|
845
|
+
class ListViewerState
|
846
|
+
attr_accessor :muted
|
847
|
+
|
848
|
+
def self.from_hash(hash)
|
849
|
+
# httparty-returned string-keyed hash
|
850
|
+
instance = new
|
851
|
+
|
852
|
+
instance.send(:muted=, hash["muted"])
|
853
|
+
|
854
|
+
instance
|
855
|
+
end
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
629
859
|
module AppBskyNotificationListnotifications
|
630
860
|
class Notification
|
631
861
|
attr_accessor :uri
|
@@ -910,6 +1140,15 @@ module Bskyrb
|
|
910
1140
|
end
|
911
1141
|
end
|
912
1142
|
|
1143
|
+
module ComAtprotoAdminDefs
|
1144
|
+
class Escalate
|
1145
|
+
def self.from_hash(hash)
|
1146
|
+
# httparty-returned string-keyed hash
|
1147
|
+
new
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
913
1152
|
module ComAtprotoAdminDefs
|
914
1153
|
class ReportView
|
915
1154
|
attr_accessor :id
|
@@ -1004,6 +1243,8 @@ module Bskyrb
|
|
1004
1243
|
|
1005
1244
|
attr_accessor :invitedBy
|
1006
1245
|
|
1246
|
+
attr_accessor :invitesDisabled
|
1247
|
+
|
1007
1248
|
def self.from_hash(hash)
|
1008
1249
|
# httparty-returned string-keyed hash
|
1009
1250
|
instance = new
|
@@ -1022,6 +1263,8 @@ module Bskyrb
|
|
1022
1263
|
|
1023
1264
|
instance.send(:invitedBy=, hash["invitedBy"])
|
1024
1265
|
|
1266
|
+
instance.send(:invitesDisabled=, hash["invitesDisabled"])
|
1267
|
+
|
1025
1268
|
instance
|
1026
1269
|
end
|
1027
1270
|
end
|
@@ -1047,6 +1290,8 @@ module Bskyrb
|
|
1047
1290
|
|
1048
1291
|
attr_accessor :invites
|
1049
1292
|
|
1293
|
+
attr_accessor :invitesDisabled
|
1294
|
+
|
1050
1295
|
def self.from_hash(hash)
|
1051
1296
|
# httparty-returned string-keyed hash
|
1052
1297
|
instance = new
|
@@ -1069,6 +1314,8 @@ module Bskyrb
|
|
1069
1314
|
|
1070
1315
|
instance.send(:invites=, hash["invites"])
|
1071
1316
|
|
1317
|
+
instance.send(:invitesDisabled=, hash["invitesDisabled"])
|
1318
|
+
|
1072
1319
|
instance
|
1073
1320
|
end
|
1074
1321
|
end
|
@@ -1837,6 +2084,42 @@ module Bskyrb
|
|
1837
2084
|
end
|
1838
2085
|
end
|
1839
2086
|
|
2087
|
+
module AppBskyActorGetpreferences
|
2088
|
+
module GetPreferences
|
2089
|
+
class Input
|
2090
|
+
def self.from_hash(hash)
|
2091
|
+
# httparty-returned string-keyed hash
|
2092
|
+
new
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
def to_h
|
2096
|
+
{}
|
2097
|
+
end
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
class Output
|
2101
|
+
attr_accessor :preferences
|
2102
|
+
|
2103
|
+
def self.from_hash(hash)
|
2104
|
+
# httparty-returned string-keyed hash
|
2105
|
+
instance = new
|
2106
|
+
|
2107
|
+
instance.send(:preferences=, hash["preferences"])
|
2108
|
+
|
2109
|
+
instance
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def to_h
|
2113
|
+
{
|
2114
|
+
|
2115
|
+
"preferences" => preferences
|
2116
|
+
|
2117
|
+
}
|
2118
|
+
end
|
2119
|
+
end
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
|
1840
2123
|
module AppBskyActorGetprofile
|
1841
2124
|
module GetProfile
|
1842
2125
|
class Input
|
@@ -1977,6 +2260,31 @@ module Bskyrb
|
|
1977
2260
|
end
|
1978
2261
|
end
|
1979
2262
|
|
2263
|
+
module AppBskyActorPutpreferences
|
2264
|
+
module PutPreferences
|
2265
|
+
class Input
|
2266
|
+
attr_accessor :preferences
|
2267
|
+
|
2268
|
+
def self.from_hash(hash)
|
2269
|
+
# httparty-returned string-keyed hash
|
2270
|
+
instance = new
|
2271
|
+
|
2272
|
+
instance.send(:preferences=, hash["preferences"])
|
2273
|
+
|
2274
|
+
instance
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
def to_h
|
2278
|
+
{
|
2279
|
+
|
2280
|
+
"preferences" => preferences
|
2281
|
+
|
2282
|
+
}
|
2283
|
+
end
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
end
|
2287
|
+
|
1980
2288
|
module AppBskyActorSearchactors
|
1981
2289
|
module SearchActors
|
1982
2290
|
class Input
|
@@ -2483,11 +2791,69 @@ module Bskyrb
|
|
2483
2791
|
end
|
2484
2792
|
end
|
2485
2793
|
|
2486
|
-
module
|
2487
|
-
module
|
2794
|
+
module AppBskyGraphGetblocks
|
2795
|
+
module GetBlocks
|
2488
2796
|
class Input
|
2489
|
-
attr_accessor :
|
2490
|
-
|
2797
|
+
attr_accessor :limit
|
2798
|
+
|
2799
|
+
attr_accessor :cursor
|
2800
|
+
|
2801
|
+
def self.from_hash(hash)
|
2802
|
+
# httparty-returned string-keyed hash
|
2803
|
+
instance = new
|
2804
|
+
|
2805
|
+
instance.send(:limit=, hash["limit"])
|
2806
|
+
|
2807
|
+
instance.send(:cursor=, hash["cursor"])
|
2808
|
+
|
2809
|
+
instance
|
2810
|
+
end
|
2811
|
+
|
2812
|
+
def to_h
|
2813
|
+
{
|
2814
|
+
|
2815
|
+
"limit" => limit,
|
2816
|
+
|
2817
|
+
"cursor" => cursor
|
2818
|
+
|
2819
|
+
}
|
2820
|
+
end
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
class Output
|
2824
|
+
attr_accessor :cursor
|
2825
|
+
|
2826
|
+
attr_accessor :blocks
|
2827
|
+
|
2828
|
+
def self.from_hash(hash)
|
2829
|
+
# httparty-returned string-keyed hash
|
2830
|
+
instance = new
|
2831
|
+
|
2832
|
+
instance.send(:cursor=, hash["cursor"])
|
2833
|
+
|
2834
|
+
instance.send(:blocks=, hash["blocks"])
|
2835
|
+
|
2836
|
+
instance
|
2837
|
+
end
|
2838
|
+
|
2839
|
+
def to_h
|
2840
|
+
{
|
2841
|
+
|
2842
|
+
"cursor" => cursor,
|
2843
|
+
|
2844
|
+
"blocks" => blocks
|
2845
|
+
|
2846
|
+
}
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
end
|
2850
|
+
end
|
2851
|
+
|
2852
|
+
module AppBskyGraphGetfollowers
|
2853
|
+
module GetFollowers
|
2854
|
+
class Input
|
2855
|
+
attr_accessor :actor
|
2856
|
+
|
2491
2857
|
attr_accessor :limit
|
2492
2858
|
|
2493
2859
|
attr_accessor :cursor
|
@@ -2623,6 +2989,198 @@ module Bskyrb
|
|
2623
2989
|
end
|
2624
2990
|
end
|
2625
2991
|
|
2992
|
+
module AppBskyGraphGetlist
|
2993
|
+
module GetList
|
2994
|
+
class Input
|
2995
|
+
attr_accessor :list
|
2996
|
+
|
2997
|
+
attr_accessor :limit
|
2998
|
+
|
2999
|
+
attr_accessor :cursor
|
3000
|
+
|
3001
|
+
def self.from_hash(hash)
|
3002
|
+
# httparty-returned string-keyed hash
|
3003
|
+
instance = new
|
3004
|
+
|
3005
|
+
instance.send(:list=, hash["list"])
|
3006
|
+
|
3007
|
+
instance.send(:limit=, hash["limit"])
|
3008
|
+
|
3009
|
+
instance.send(:cursor=, hash["cursor"])
|
3010
|
+
|
3011
|
+
instance
|
3012
|
+
end
|
3013
|
+
|
3014
|
+
def to_h
|
3015
|
+
{
|
3016
|
+
|
3017
|
+
"list" => list,
|
3018
|
+
|
3019
|
+
"limit" => limit,
|
3020
|
+
|
3021
|
+
"cursor" => cursor
|
3022
|
+
|
3023
|
+
}
|
3024
|
+
end
|
3025
|
+
end
|
3026
|
+
|
3027
|
+
class Output
|
3028
|
+
attr_accessor :cursor
|
3029
|
+
|
3030
|
+
attr_accessor :list
|
3031
|
+
|
3032
|
+
attr_accessor :items
|
3033
|
+
|
3034
|
+
def self.from_hash(hash)
|
3035
|
+
# httparty-returned string-keyed hash
|
3036
|
+
instance = new
|
3037
|
+
|
3038
|
+
instance.send(:cursor=, hash["cursor"])
|
3039
|
+
|
3040
|
+
instance.send(:list=, hash["list"])
|
3041
|
+
|
3042
|
+
instance.send(:items=, hash["items"])
|
3043
|
+
|
3044
|
+
instance
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
def to_h
|
3048
|
+
{
|
3049
|
+
|
3050
|
+
"cursor" => cursor,
|
3051
|
+
|
3052
|
+
"list" => list,
|
3053
|
+
|
3054
|
+
"items" => items
|
3055
|
+
|
3056
|
+
}
|
3057
|
+
end
|
3058
|
+
end
|
3059
|
+
end
|
3060
|
+
end
|
3061
|
+
|
3062
|
+
module AppBskyGraphGetlistmutes
|
3063
|
+
module GetListMutes
|
3064
|
+
class Input
|
3065
|
+
attr_accessor :limit
|
3066
|
+
|
3067
|
+
attr_accessor :cursor
|
3068
|
+
|
3069
|
+
def self.from_hash(hash)
|
3070
|
+
# httparty-returned string-keyed hash
|
3071
|
+
instance = new
|
3072
|
+
|
3073
|
+
instance.send(:limit=, hash["limit"])
|
3074
|
+
|
3075
|
+
instance.send(:cursor=, hash["cursor"])
|
3076
|
+
|
3077
|
+
instance
|
3078
|
+
end
|
3079
|
+
|
3080
|
+
def to_h
|
3081
|
+
{
|
3082
|
+
|
3083
|
+
"limit" => limit,
|
3084
|
+
|
3085
|
+
"cursor" => cursor
|
3086
|
+
|
3087
|
+
}
|
3088
|
+
end
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
class Output
|
3092
|
+
attr_accessor :cursor
|
3093
|
+
|
3094
|
+
attr_accessor :lists
|
3095
|
+
|
3096
|
+
def self.from_hash(hash)
|
3097
|
+
# httparty-returned string-keyed hash
|
3098
|
+
instance = new
|
3099
|
+
|
3100
|
+
instance.send(:cursor=, hash["cursor"])
|
3101
|
+
|
3102
|
+
instance.send(:lists=, hash["lists"])
|
3103
|
+
|
3104
|
+
instance
|
3105
|
+
end
|
3106
|
+
|
3107
|
+
def to_h
|
3108
|
+
{
|
3109
|
+
|
3110
|
+
"cursor" => cursor,
|
3111
|
+
|
3112
|
+
"lists" => lists
|
3113
|
+
|
3114
|
+
}
|
3115
|
+
end
|
3116
|
+
end
|
3117
|
+
end
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
module AppBskyGraphGetlists
|
3121
|
+
module GetLists
|
3122
|
+
class Input
|
3123
|
+
attr_accessor :actor
|
3124
|
+
|
3125
|
+
attr_accessor :limit
|
3126
|
+
|
3127
|
+
attr_accessor :cursor
|
3128
|
+
|
3129
|
+
def self.from_hash(hash)
|
3130
|
+
# httparty-returned string-keyed hash
|
3131
|
+
instance = new
|
3132
|
+
|
3133
|
+
instance.send(:actor=, hash["actor"])
|
3134
|
+
|
3135
|
+
instance.send(:limit=, hash["limit"])
|
3136
|
+
|
3137
|
+
instance.send(:cursor=, hash["cursor"])
|
3138
|
+
|
3139
|
+
instance
|
3140
|
+
end
|
3141
|
+
|
3142
|
+
def to_h
|
3143
|
+
{
|
3144
|
+
|
3145
|
+
"actor" => actor,
|
3146
|
+
|
3147
|
+
"limit" => limit,
|
3148
|
+
|
3149
|
+
"cursor" => cursor
|
3150
|
+
|
3151
|
+
}
|
3152
|
+
end
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
class Output
|
3156
|
+
attr_accessor :cursor
|
3157
|
+
|
3158
|
+
attr_accessor :lists
|
3159
|
+
|
3160
|
+
def self.from_hash(hash)
|
3161
|
+
# httparty-returned string-keyed hash
|
3162
|
+
instance = new
|
3163
|
+
|
3164
|
+
instance.send(:cursor=, hash["cursor"])
|
3165
|
+
|
3166
|
+
instance.send(:lists=, hash["lists"])
|
3167
|
+
|
3168
|
+
instance
|
3169
|
+
end
|
3170
|
+
|
3171
|
+
def to_h
|
3172
|
+
{
|
3173
|
+
|
3174
|
+
"cursor" => cursor,
|
3175
|
+
|
3176
|
+
"lists" => lists
|
3177
|
+
|
3178
|
+
}
|
3179
|
+
end
|
3180
|
+
end
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
|
2626
3184
|
module AppBskyGraphGetmutes
|
2627
3185
|
module GetMutes
|
2628
3186
|
class Input
|
@@ -2706,6 +3264,31 @@ module Bskyrb
|
|
2706
3264
|
end
|
2707
3265
|
end
|
2708
3266
|
|
3267
|
+
module AppBskyGraphMuteactorlist
|
3268
|
+
module MuteActorList
|
3269
|
+
class Input
|
3270
|
+
attr_accessor :list
|
3271
|
+
|
3272
|
+
def self.from_hash(hash)
|
3273
|
+
# httparty-returned string-keyed hash
|
3274
|
+
instance = new
|
3275
|
+
|
3276
|
+
instance.send(:list=, hash["list"])
|
3277
|
+
|
3278
|
+
instance
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
def to_h
|
3282
|
+
{
|
3283
|
+
|
3284
|
+
"list" => list
|
3285
|
+
|
3286
|
+
}
|
3287
|
+
end
|
3288
|
+
end
|
3289
|
+
end
|
3290
|
+
end
|
3291
|
+
|
2709
3292
|
module AppBskyGraphUnmuteactor
|
2710
3293
|
module UnmuteActor
|
2711
3294
|
class Input
|
@@ -2731,6 +3314,31 @@ module Bskyrb
|
|
2731
3314
|
end
|
2732
3315
|
end
|
2733
3316
|
|
3317
|
+
module AppBskyGraphUnmuteactorlist
|
3318
|
+
module UnmuteActorList
|
3319
|
+
class Input
|
3320
|
+
attr_accessor :list
|
3321
|
+
|
3322
|
+
def self.from_hash(hash)
|
3323
|
+
# httparty-returned string-keyed hash
|
3324
|
+
instance = new
|
3325
|
+
|
3326
|
+
instance.send(:list=, hash["list"])
|
3327
|
+
|
3328
|
+
instance
|
3329
|
+
end
|
3330
|
+
|
3331
|
+
def to_h
|
3332
|
+
{
|
3333
|
+
|
3334
|
+
"list" => list
|
3335
|
+
|
3336
|
+
}
|
3337
|
+
end
|
3338
|
+
end
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
|
2734
3342
|
module AppBskyNotificationGetunreadcount
|
2735
3343
|
module GetUnreadCount
|
2736
3344
|
class Input
|
@@ -2869,6 +3477,8 @@ module Bskyrb
|
|
2869
3477
|
module AppBskyUnspeccedGetpopular
|
2870
3478
|
module GetPopular
|
2871
3479
|
class Input
|
3480
|
+
attr_accessor :includeNsfw
|
3481
|
+
|
2872
3482
|
attr_accessor :limit
|
2873
3483
|
|
2874
3484
|
attr_accessor :cursor
|
@@ -2877,6 +3487,8 @@ module Bskyrb
|
|
2877
3487
|
# httparty-returned string-keyed hash
|
2878
3488
|
instance = new
|
2879
3489
|
|
3490
|
+
instance.send(:includeNsfw=, hash["includeNsfw"])
|
3491
|
+
|
2880
3492
|
instance.send(:limit=, hash["limit"])
|
2881
3493
|
|
2882
3494
|
instance.send(:cursor=, hash["cursor"])
|
@@ -2887,6 +3499,8 @@ module Bskyrb
|
|
2887
3499
|
def to_h
|
2888
3500
|
{
|
2889
3501
|
|
3502
|
+
"includeNsfw" => includeNsfw,
|
3503
|
+
|
2890
3504
|
"limit" => limit,
|
2891
3505
|
|
2892
3506
|
"cursor" => cursor
|
@@ -2924,6 +3538,31 @@ module Bskyrb
|
|
2924
3538
|
end
|
2925
3539
|
end
|
2926
3540
|
|
3541
|
+
module ComAtprotoAdminDisableaccountinvites
|
3542
|
+
module DisableAccountInvites
|
3543
|
+
class Input
|
3544
|
+
attr_accessor :account
|
3545
|
+
|
3546
|
+
def self.from_hash(hash)
|
3547
|
+
# httparty-returned string-keyed hash
|
3548
|
+
instance = new
|
3549
|
+
|
3550
|
+
instance.send(:account=, hash["account"])
|
3551
|
+
|
3552
|
+
instance
|
3553
|
+
end
|
3554
|
+
|
3555
|
+
def to_h
|
3556
|
+
{
|
3557
|
+
|
3558
|
+
"account" => account
|
3559
|
+
|
3560
|
+
}
|
3561
|
+
end
|
3562
|
+
end
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
|
2927
3566
|
module ComAtprotoAdminDisableinvitecodes
|
2928
3567
|
module DisableInviteCodes
|
2929
3568
|
class Input
|
@@ -2955,6 +3594,31 @@ module Bskyrb
|
|
2955
3594
|
end
|
2956
3595
|
end
|
2957
3596
|
|
3597
|
+
module ComAtprotoAdminEnableaccountinvites
|
3598
|
+
module EnableAccountInvites
|
3599
|
+
class Input
|
3600
|
+
attr_accessor :account
|
3601
|
+
|
3602
|
+
def self.from_hash(hash)
|
3603
|
+
# httparty-returned string-keyed hash
|
3604
|
+
instance = new
|
3605
|
+
|
3606
|
+
instance.send(:account=, hash["account"])
|
3607
|
+
|
3608
|
+
instance
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
def to_h
|
3612
|
+
{
|
3613
|
+
|
3614
|
+
"account" => account
|
3615
|
+
|
3616
|
+
}
|
3617
|
+
end
|
3618
|
+
end
|
3619
|
+
end
|
3620
|
+
end
|
3621
|
+
|
2958
3622
|
module ComAtprotoAdminGetinvitecodes
|
2959
3623
|
module GetInviteCodes
|
2960
3624
|
class Input
|
@@ -3162,6 +3826,8 @@ module Bskyrb
|
|
3162
3826
|
|
3163
3827
|
attr_accessor :resolved
|
3164
3828
|
|
3829
|
+
attr_accessor :actionType
|
3830
|
+
|
3165
3831
|
attr_accessor :limit
|
3166
3832
|
|
3167
3833
|
attr_accessor :cursor
|
@@ -3174,6 +3840,8 @@ module Bskyrb
|
|
3174
3840
|
|
3175
3841
|
instance.send(:resolved=, hash["resolved"])
|
3176
3842
|
|
3843
|
+
instance.send(:actionType=, hash["actionType"])
|
3844
|
+
|
3177
3845
|
instance.send(:limit=, hash["limit"])
|
3178
3846
|
|
3179
3847
|
instance.send(:cursor=, hash["cursor"])
|
@@ -3188,6 +3856,8 @@ module Bskyrb
|
|
3188
3856
|
|
3189
3857
|
"resolved" => resolved,
|
3190
3858
|
|
3859
|
+
"actionType" => actionType,
|
3860
|
+
|
3191
3861
|
"limit" => limit,
|
3192
3862
|
|
3193
3863
|
"cursor" => cursor
|
@@ -4328,6 +4998,37 @@ module Bskyrb
|
|
4328
4998
|
end
|
4329
4999
|
end
|
4330
5000
|
|
5001
|
+
module ComAtprotoRepoRebaserepo
|
5002
|
+
module RebaseRepo
|
5003
|
+
class Input
|
5004
|
+
attr_accessor :repo
|
5005
|
+
|
5006
|
+
attr_accessor :swapCommit
|
5007
|
+
|
5008
|
+
def self.from_hash(hash)
|
5009
|
+
# httparty-returned string-keyed hash
|
5010
|
+
instance = new
|
5011
|
+
|
5012
|
+
instance.send(:repo=, hash["repo"])
|
5013
|
+
|
5014
|
+
instance.send(:swapCommit=, hash["swapCommit"])
|
5015
|
+
|
5016
|
+
instance
|
5017
|
+
end
|
5018
|
+
|
5019
|
+
def to_h
|
5020
|
+
{
|
5021
|
+
|
5022
|
+
"repo" => repo,
|
5023
|
+
|
5024
|
+
"swapCommit" => swapCommit
|
5025
|
+
|
5026
|
+
}
|
5027
|
+
end
|
5028
|
+
end
|
5029
|
+
end
|
5030
|
+
end
|
5031
|
+
|
4331
5032
|
module ComAtprotoRepoUploadblob
|
4332
5033
|
module UploadBlob
|
4333
5034
|
class Output
|
@@ -4360,6 +5061,8 @@ module Bskyrb
|
|
4360
5061
|
|
4361
5062
|
attr_accessor :handle
|
4362
5063
|
|
5064
|
+
attr_accessor :did
|
5065
|
+
|
4363
5066
|
attr_accessor :inviteCode
|
4364
5067
|
|
4365
5068
|
attr_accessor :password
|
@@ -4374,6 +5077,8 @@ module Bskyrb
|
|
4374
5077
|
|
4375
5078
|
instance.send(:handle=, hash["handle"])
|
4376
5079
|
|
5080
|
+
instance.send(:did=, hash["did"])
|
5081
|
+
|
4377
5082
|
instance.send(:inviteCode=, hash["inviteCode"])
|
4378
5083
|
|
4379
5084
|
instance.send(:password=, hash["password"])
|
@@ -4390,6 +5095,8 @@ module Bskyrb
|
|
4390
5095
|
|
4391
5096
|
"handle" => handle,
|
4392
5097
|
|
5098
|
+
"did" => did,
|
5099
|
+
|
4393
5100
|
"inviteCode" => inviteCode,
|
4394
5101
|
|
4395
5102
|
"password" => password,
|