You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shared/src/commonMain/kotlin/dev/dimension/flare/data/network/mastodon/api/model/MastodonInstanceElement.kt
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,21 +38,84 @@ internal data class InstanceData(
38
38
valconfiguration:Configuration? = null,
39
39
valregistrations:Registrations? = null,
40
40
valcontact:Contact? = null,
41
+
valicon:List<Icon>? = null,
42
+
@SerialName("api_versions")
43
+
valapiVersions:APIVersions? = null,
44
+
valrules:List<Rule>? = null,
45
+
)
46
+
47
+
@Serializable
48
+
internaldata classRule(
49
+
valid:String? = null,
50
+
valtext:String? = null,
51
+
valhint:String? = null,
52
+
)
53
+
54
+
@Serializable
55
+
internaldata classIcon(
56
+
valsrc:String? = null,
57
+
valsize:String? = null,
58
+
)
59
+
60
+
@Serializable
61
+
internaldata classAPIVersions(
62
+
valmastodon:Long? = null,
41
63
)
42
64
43
65
@Serializable
44
66
internaldata classConfiguration(
45
67
valurls:Urls? = null,
68
+
valvapid:Vapid? = null,
46
69
valaccounts:Accounts? = null,
47
70
valstatuses:Statuses? = null,
48
71
@SerialName("media_attachments")
72
+
valmediaAttachments:MediaAttachments? = null,
73
+
valpolls:Polls? = null,
49
74
valtranslation:Translation? = null,
50
75
)
51
76
77
+
@Serializable
78
+
internaldata classMediaAttachments(
79
+
@SerialName("description_limit")
80
+
valdescriptionLimit:Long? = null,
81
+
@SerialName("image_matrix_limit")
82
+
valimageMatrixLimit:Long? = null,
83
+
@SerialName("image_size_limit")
84
+
valimageSizeLimit:Long? = null,
85
+
@SerialName("supported_mime_types")
86
+
valsupportedMIMETypes:List<String>? = null,
87
+
@SerialName("video_frame_rate_limit")
88
+
valvideoFrameRateLimit:Long? = null,
89
+
@SerialName("video_matrix_limit")
90
+
valvideoMatrixLimit:Long? = null,
91
+
@SerialName("video_size_limit")
92
+
valvideoSizeLimit:Long? = null,
93
+
)
94
+
95
+
@Serializable
96
+
internaldata classPolls(
97
+
@SerialName("max_options")
98
+
valmaxOptions:Long? = null,
99
+
@SerialName("max_characters_per_option")
100
+
valmaxCharactersPerOption:Long? = null,
101
+
@SerialName("min_expiration")
102
+
valminExpiration:Long? = null,
103
+
@SerialName("max_expiration")
104
+
valmaxExpiration:Long? = null,
105
+
)
106
+
107
+
@Serializable
108
+
internaldata classVapid(
109
+
@SerialName("public_key")
110
+
valpublicKey:String? = null,
111
+
)
112
+
52
113
@Serializable
53
114
internaldata classAccounts(
54
115
@SerialName("max_featured_tags")
55
116
valmaxFeaturedTags:Long? = null,
117
+
@SerialName("max_pinned_statuses")
118
+
valmaxPinnedStatuses:Long? = null,
56
119
)
57
120
58
121
@Serializable
@@ -77,6 +140,11 @@ internal data class Translation(
77
140
internaldata classUrls(
78
141
valstreaming:String? = null,
79
142
valstatus:String? = null,
143
+
valabout:String? = null,
144
+
@SerialName("privacy_policy")
145
+
valprivacyPolicy:String? = null,
146
+
@SerialName("terms_of_service")
147
+
valtermsOfService:String? = null,
80
148
)
81
149
82
150
@Serializable
@@ -100,6 +168,12 @@ internal data class Registrations(
0 commit comments