@@ -62,52 +62,52 @@ fun main() {
62
62
63
63
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
64
64
65
- Images images = Images .builder()
65
+ val images: Images = Images .builder()
66
66
.emptyInboxUrl(" emptyInboxUrl" )
67
67
.build();
68
68
69
- Banner banner = Banner .builder()
69
+ val banner: Banner = Banner .builder()
70
70
.backgroundColor(" backgroundColor" )
71
71
.backgroundOpacity(8 .96D)
72
72
.fontSize(" fontSize" )
73
73
.textColor(" textColor" )
74
74
.build();
75
75
76
- Dialog dialog = Dialog .builder()
76
+ val dialog: Dialog = Dialog .builder()
77
77
.accentColor(" accentColor" )
78
78
.backgroundColor(" backgroundColor" )
79
79
.textColor(" textColor" )
80
80
.build();
81
81
82
- Footer footer = Footer .builder()
82
+ val footer: Footer = Footer .builder()
83
83
.backgroundColor(" backgroundColor" )
84
84
.borderRadius(" borderRadius" )
85
85
.fontSize(" fontSize" )
86
86
.textColor(" textColor" )
87
87
.build();
88
88
89
- Header header = Header .builder()
89
+ val header: Header = Header .builder()
90
90
.backgroundColor(" backgroundColor" )
91
91
.borderRadius(" borderRadius" )
92
92
.fontFamily(" fontFamily" )
93
93
.fontSize(" fontSize" )
94
94
.textColor(" textColor" )
95
95
.build();
96
96
97
- Icon icon = Icon .builder()
97
+ val icon: Icon = Icon .builder()
98
98
.borderColor(" borderColor" )
99
99
.width(" width" )
100
100
.build();
101
101
102
- DefaultHover defaultHover = DefaultHover .builder()
102
+ val defaultHover: DefaultHover = DefaultHover .builder()
103
103
.backgroundColor(" backgroundColor" )
104
104
.build();
105
105
106
- DefaultState defaultState = DefaultState .builder()
106
+ val defaultState: DefaultState = DefaultState .builder()
107
107
.color(" color" )
108
108
.build();
109
109
110
- Default_ default_ = Default_ .builder()
110
+ val default_: Default_ = Default_ .builder()
111
111
.backgroundColor(" backgroundColor" )
112
112
.borderRadius(" borderRadius" )
113
113
.fontFamily(" fontFamily" )
@@ -118,47 +118,47 @@ fun main() {
118
118
.textColor(" textColor" )
119
119
.build();
120
120
121
- UnreadHover unreadHover = UnreadHover .builder()
121
+ val unreadHover: UnreadHover = UnreadHover .builder()
122
122
.backgroundColor(" backgroundColor" )
123
123
.build();
124
124
125
- UnreadState unreadState = UnreadState .builder()
125
+ val unreadState: UnreadState = UnreadState .builder()
126
126
.color(" color" )
127
127
.build();
128
128
129
- Unread unread = Unread .builder()
129
+ val unread: Unread = Unread .builder()
130
130
.backgroundColor(" backgroundColor" )
131
131
.hover(unreadHover)
132
132
.state(unreadState)
133
133
.textColor(" textColor" )
134
134
.build();
135
135
136
- UnseenHover unseenHover = UnseenHover .builder()
136
+ val unseenHover: UnseenHover = UnseenHover .builder()
137
137
.backgroundColor(" backgroundColor" )
138
138
.build();
139
139
140
- UnseenState unseenState = UnseenState .builder()
140
+ val unseenState: UnseenState = UnseenState .builder()
141
141
.color(" color" )
142
142
.build();
143
143
144
- Unseen unseen = Unseen .builder()
144
+ val unseen: Unseen = Unseen .builder()
145
145
.backgroundColor(" backgroundColor" )
146
146
.hover(unseenHover)
147
147
.state(unseenState)
148
148
.textColor(" textColor" )
149
149
.build();
150
150
151
- Notification notification = Notification .builder()
151
+ val notification: Notification = Notification .builder()
152
152
.default_(default_)
153
153
.unread(unread)
154
154
.unseen(unseen)
155
155
.build();
156
156
157
- UnseenBadge unseenBadge = UnseenBadge .builder()
157
+ val unseenBadge: UnseenBadge = UnseenBadge .builder()
158
158
.backgroundColor(" backgroundColor" )
159
159
.build();
160
160
161
- Theme theme = Theme .builder()
161
+ val theme: Theme = Theme .builder()
162
162
.banner(banner)
163
163
.dialog(dialog)
164
164
.footer(footer)
@@ -168,7 +168,7 @@ fun main() {
168
168
.unseenBadge(unseenBadge)
169
169
.build();
170
170
171
- InboxConfig inboxConfig = InboxConfig .builder()
171
+ val inboxConfig: InboxConfig = InboxConfig .builder()
172
172
.images(images)
173
173
.locale(" locale" )
174
174
.theme(theme)
@@ -246,7 +246,7 @@ fun main() {
246
246
247
247
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
248
248
249
- AuthedUser authedUser = AuthedUser .builder()
249
+ val authedUser: AuthedUser = AuthedUser .builder()
250
250
.accessToken(" access_token" )
251
251
.expiresIn(5L )
252
252
.id(" id" )
@@ -255,23 +255,23 @@ fun main() {
255
255
.tokenType(" token_type" )
256
256
.build();
257
257
258
- Enterprise enterprise = Enterprise .builder()
258
+ val enterprise: Enterprise = Enterprise .builder()
259
259
.id(" id" )
260
260
.name(" name" )
261
261
.build();
262
262
263
- IncomingWebhook incomingWebhook = IncomingWebhook .builder()
263
+ val incomingWebhook: IncomingWebhook = IncomingWebhook .builder()
264
264
.channel(" channel" )
265
265
.configurationUrl(" configuration_url" )
266
266
.url(" url" )
267
267
.build();
268
268
269
- Team team = Team .builder()
269
+ val team: Team = Team .builder()
270
270
.id(" id" )
271
271
.name(" name" )
272
272
.build();
273
273
274
- SlackInstallation slackInstallation = SlackInstallation .builder()
274
+ val slackInstallation: SlackInstallation = SlackInstallation .builder()
275
275
.accessToken(" access_token" )
276
276
.appId(" app_id" )
277
277
.authedUser(authedUser)
@@ -325,7 +325,7 @@ fun main() {
325
325
326
326
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
327
327
328
- SlackFinishInstallResponse slackFinishInstallResponse = SlackFinishInstallResponse .builder()
328
+ val slackFinishInstallResponse: SlackFinishInstallResponse = SlackFinishInstallResponse .builder()
329
329
.appId(" app_id" )
330
330
.code(" code" )
331
331
.redirectUrl(" redirect_url" )
@@ -371,9 +371,9 @@ fun main() {
371
371
372
372
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
373
373
374
- List <String > extraScopes = Arrays .asList(" extra_scopes" );
374
+ val extraScopes : List <String > = Arrays .asList(" extra_scopes" );
375
375
376
- SlackStartInstall slackStartInstall = SlackStartInstall .builder()
376
+ val slackStartInstall: SlackStartInstall = SlackStartInstall .builder()
377
377
.appId(" app_id" )
378
378
.authUrl(" auth_url" )
379
379
.extraScopes(extraScopes)
@@ -417,7 +417,7 @@ fun main() {
417
417
418
418
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
419
419
420
- TemplatesInstallation templatesInstallation = TemplatesInstallation .builder()
420
+ val templatesInstallation: TemplatesInstallation = TemplatesInstallation .builder()
421
421
.category(" category" )
422
422
.channel(" channel" )
423
423
.text(" text" )
@@ -461,12 +461,12 @@ fun main() {
461
461
462
462
val magicbellUserClient: MagicbellUserClient = MagicbellUserClient (config);
463
463
464
- Keys keys = Keys .builder()
464
+ val keys: Keys = Keys .builder()
465
465
.auth(" auth" )
466
466
.p256dh(" p256dh" )
467
467
.build();
468
468
469
- WebPushToken webPushToken = WebPushToken .builder()
469
+ val webPushToken: WebPushToken = WebPushToken .builder()
470
470
.endpoint(" endpoint" )
471
471
.keys(keys)
472
472
.build();
0 commit comments