@@ -442,31 +442,31 @@ private void addPostParams(final Request request) {
442
442
443
443
}
444
444
if (notificationsNewMessageEnabled != null ) {
445
- request .addPostParam ("NotificationsNewMessageEnabled " , notificationsNewMessageEnabled .toString ());
445
+ request .addPostParam ("Notifications.NewMessage.Enabled " , notificationsNewMessageEnabled .toString ());
446
446
447
447
}
448
448
if (notificationsNewMessageTemplate != null ) {
449
449
request .addPostParam ("Notifications.NewMessage.Template" , notificationsNewMessageTemplate );
450
450
451
451
}
452
452
if (notificationsAddedToChannelEnabled != null ) {
453
- request .addPostParam ("NotificationsAddedToChannelEnabled " , notificationsAddedToChannelEnabled .toString ());
453
+ request .addPostParam ("Notifications.AddedToChannel.Enabled " , notificationsAddedToChannelEnabled .toString ());
454
454
455
455
}
456
456
if (notificationsAddedToChannelTemplate != null ) {
457
457
request .addPostParam ("Notifications.AddedToChannel.Template" , notificationsAddedToChannelTemplate );
458
458
459
459
}
460
460
if (notificationsRemovedFromChannelEnabled != null ) {
461
- request .addPostParam ("NotificationsRemovedFromChannelEnabled " , notificationsRemovedFromChannelEnabled .toString ());
461
+ request .addPostParam ("Notifications.RemovedFromChannel.Enabled " , notificationsRemovedFromChannelEnabled .toString ());
462
462
463
463
}
464
464
if (notificationsRemovedFromChannelTemplate != null ) {
465
465
request .addPostParam ("Notifications.RemovedFromChannel.Template" , notificationsRemovedFromChannelTemplate );
466
466
467
467
}
468
468
if (notificationsInvitedToChannelEnabled != null ) {
469
- request .addPostParam ("NotificationsInvitedToChannelEnabled " , notificationsInvitedToChannelEnabled .toString ());
469
+ request .addPostParam ("Notifications.InvitedToChannel.Enabled " , notificationsInvitedToChannelEnabled .toString ());
470
470
471
471
}
472
472
if (notificationsInvitedToChannelTemplate != null ) {
@@ -492,139 +492,139 @@ private void addPostParams(final Request request) {
492
492
493
493
}
494
494
if (webhooksOnMessageSendUrl != null ) {
495
- request .addPostParam ("WebhooksOnMessageSendUrl " , webhooksOnMessageSendUrl .toString ());
495
+ request .addPostParam ("Webhooks.OnMessageSend.Url " , webhooksOnMessageSendUrl .toString ());
496
496
497
497
}
498
498
if (webhooksOnMessageSendMethod != null ) {
499
- request .addPostParam ("WebhooksOnMessageSendMethod " , webhooksOnMessageSendMethod .toString ());
499
+ request .addPostParam ("Webhooks.OnMessageSend.Method " , webhooksOnMessageSendMethod .toString ());
500
500
501
501
}
502
502
if (webhooksOnMessageUpdateUrl != null ) {
503
- request .addPostParam ("WebhooksOnMessageUpdateUrl " , webhooksOnMessageUpdateUrl .toString ());
503
+ request .addPostParam ("Webhooks.OnMessageUpdate.Url " , webhooksOnMessageUpdateUrl .toString ());
504
504
505
505
}
506
506
if (webhooksOnMessageUpdateMethod != null ) {
507
- request .addPostParam ("WebhooksOnMessageUpdateMethod " , webhooksOnMessageUpdateMethod .toString ());
507
+ request .addPostParam ("Webhooks.OnMessageUpdate.Method " , webhooksOnMessageUpdateMethod .toString ());
508
508
509
509
}
510
510
if (webhooksOnMessageRemoveUrl != null ) {
511
- request .addPostParam ("WebhooksOnMessageRemoveUrl " , webhooksOnMessageRemoveUrl .toString ());
511
+ request .addPostParam ("Webhooks.OnMessageRemove.Url " , webhooksOnMessageRemoveUrl .toString ());
512
512
513
513
}
514
514
if (webhooksOnMessageRemoveMethod != null ) {
515
- request .addPostParam ("WebhooksOnMessageRemoveMethod " , webhooksOnMessageRemoveMethod .toString ());
515
+ request .addPostParam ("Webhooks.OnMessageRemove.Method " , webhooksOnMessageRemoveMethod .toString ());
516
516
517
517
}
518
518
if (webhooksOnChannelAddUrl != null ) {
519
- request .addPostParam ("WebhooksOnChannelAddUrl " , webhooksOnChannelAddUrl .toString ());
519
+ request .addPostParam ("Webhooks.OnChannelAdd.Url " , webhooksOnChannelAddUrl .toString ());
520
520
521
521
}
522
522
if (webhooksOnChannelAddMethod != null ) {
523
- request .addPostParam ("WebhooksOnChannelAddMethod " , webhooksOnChannelAddMethod .toString ());
523
+ request .addPostParam ("Webhooks.OnChannelAdd.Method " , webhooksOnChannelAddMethod .toString ());
524
524
525
525
}
526
526
if (webhooksOnChannelDestroyUrl != null ) {
527
- request .addPostParam ("WebhooksOnChannelDestroyUrl " , webhooksOnChannelDestroyUrl .toString ());
527
+ request .addPostParam ("Webhooks.OnChannelDestroy.Url " , webhooksOnChannelDestroyUrl .toString ());
528
528
529
529
}
530
530
if (webhooksOnChannelDestroyMethod != null ) {
531
- request .addPostParam ("WebhooksOnChannelDestroyMethod " , webhooksOnChannelDestroyMethod .toString ());
531
+ request .addPostParam ("Webhooks.OnChannelDestroy.Method " , webhooksOnChannelDestroyMethod .toString ());
532
532
533
533
}
534
534
if (webhooksOnChannelUpdateUrl != null ) {
535
- request .addPostParam ("WebhooksOnChannelUpdateUrl " , webhooksOnChannelUpdateUrl .toString ());
535
+ request .addPostParam ("Webhooks.OnChannelUpdate.Url " , webhooksOnChannelUpdateUrl .toString ());
536
536
537
537
}
538
538
if (webhooksOnChannelUpdateMethod != null ) {
539
- request .addPostParam ("WebhooksOnChannelUpdateMethod " , webhooksOnChannelUpdateMethod .toString ());
539
+ request .addPostParam ("Webhooks.OnChannelUpdate.Method " , webhooksOnChannelUpdateMethod .toString ());
540
540
541
541
}
542
542
if (webhooksOnMemberAddUrl != null ) {
543
- request .addPostParam ("WebhooksOnMemberAddUrl " , webhooksOnMemberAddUrl .toString ());
543
+ request .addPostParam ("Webhooks.OnMemberAdd.Url " , webhooksOnMemberAddUrl .toString ());
544
544
545
545
}
546
546
if (webhooksOnMemberAddMethod != null ) {
547
- request .addPostParam ("WebhooksOnMemberAddMethod " , webhooksOnMemberAddMethod .toString ());
547
+ request .addPostParam ("Webhooks.OnMemberAdd.Method " , webhooksOnMemberAddMethod .toString ());
548
548
549
549
}
550
550
if (webhooksOnMemberRemoveUrl != null ) {
551
- request .addPostParam ("WebhooksOnMemberRemoveUrl " , webhooksOnMemberRemoveUrl .toString ());
551
+ request .addPostParam ("Webhooks.OnMemberRemove.Url " , webhooksOnMemberRemoveUrl .toString ());
552
552
553
553
}
554
554
if (webhooksOnMemberRemoveMethod != null ) {
555
- request .addPostParam ("WebhooksOnMemberRemoveMethod " , webhooksOnMemberRemoveMethod .toString ());
555
+ request .addPostParam ("Webhooks.OnMemberRemove.Method " , webhooksOnMemberRemoveMethod .toString ());
556
556
557
557
}
558
558
if (webhooksOnMessageSentUrl != null ) {
559
- request .addPostParam ("WebhooksOnMessageSentUrl " , webhooksOnMessageSentUrl .toString ());
559
+ request .addPostParam ("Webhooks.OnMessageSent.Url " , webhooksOnMessageSentUrl .toString ());
560
560
561
561
}
562
562
if (webhooksOnMessageSentMethod != null ) {
563
- request .addPostParam ("WebhooksOnMessageSentMethod " , webhooksOnMessageSentMethod .toString ());
563
+ request .addPostParam ("Webhooks.OnMessageSent.Method " , webhooksOnMessageSentMethod .toString ());
564
564
565
565
}
566
566
if (webhooksOnMessageUpdatedUrl != null ) {
567
- request .addPostParam ("WebhooksOnMessageUpdatedUrl " , webhooksOnMessageUpdatedUrl .toString ());
567
+ request .addPostParam ("Webhooks.OnMessageUpdated.Url " , webhooksOnMessageUpdatedUrl .toString ());
568
568
569
569
}
570
570
if (webhooksOnMessageUpdatedMethod != null ) {
571
- request .addPostParam ("WebhooksOnMessageUpdatedMethod " , webhooksOnMessageUpdatedMethod .toString ());
571
+ request .addPostParam ("Webhooks.OnMessageUpdated.Method " , webhooksOnMessageUpdatedMethod .toString ());
572
572
573
573
}
574
574
if (webhooksOnMessageRemovedUrl != null ) {
575
- request .addPostParam ("WebhooksOnMessageRemovedUrl " , webhooksOnMessageRemovedUrl .toString ());
575
+ request .addPostParam ("Webhooks.OnMessageRemoved.Url " , webhooksOnMessageRemovedUrl .toString ());
576
576
577
577
}
578
578
if (webhooksOnMessageRemovedMethod != null ) {
579
- request .addPostParam ("WebhooksOnMessageRemovedMethod " , webhooksOnMessageRemovedMethod .toString ());
579
+ request .addPostParam ("Webhooks.OnMessageRemoved.Method " , webhooksOnMessageRemovedMethod .toString ());
580
580
581
581
}
582
582
if (webhooksOnChannelAddedUrl != null ) {
583
- request .addPostParam ("WebhooksOnChannelAddedUrl " , webhooksOnChannelAddedUrl .toString ());
583
+ request .addPostParam ("Webhooks.OnChannelAdded.Url " , webhooksOnChannelAddedUrl .toString ());
584
584
585
585
}
586
586
if (webhooksOnChannelAddedMethod != null ) {
587
- request .addPostParam ("WebhooksOnChannelAddedMethod " , webhooksOnChannelAddedMethod .toString ());
587
+ request .addPostParam ("Webhooks.OnChannelAdded.Method " , webhooksOnChannelAddedMethod .toString ());
588
588
589
589
}
590
590
if (webhooksOnChannelDestroyedUrl != null ) {
591
- request .addPostParam ("WebhooksOnChannelDestroyedUrl " , webhooksOnChannelDestroyedUrl .toString ());
591
+ request .addPostParam ("Webhooks.OnChannelDestroyed.Url " , webhooksOnChannelDestroyedUrl .toString ());
592
592
593
593
}
594
594
if (webhooksOnChannelDestroyedMethod != null ) {
595
- request .addPostParam ("WebhooksOnChannelDestroyedMethod " , webhooksOnChannelDestroyedMethod .toString ());
595
+ request .addPostParam ("Webhooks.OnChannelDestroyed.Method " , webhooksOnChannelDestroyedMethod .toString ());
596
596
597
597
}
598
598
if (webhooksOnChannelUpdatedUrl != null ) {
599
- request .addPostParam ("WebhooksOnChannelUpdatedUrl " , webhooksOnChannelUpdatedUrl .toString ());
599
+ request .addPostParam ("Webhooks.OnChannelUpdated.Url " , webhooksOnChannelUpdatedUrl .toString ());
600
600
601
601
}
602
602
if (webhooksOnChannelUpdatedMethod != null ) {
603
- request .addPostParam ("WebhooksOnChannelUpdatedMethod " , webhooksOnChannelUpdatedMethod .toString ());
603
+ request .addPostParam ("Webhooks.OnChannelUpdated.Method " , webhooksOnChannelUpdatedMethod .toString ());
604
604
605
605
}
606
606
if (webhooksOnMemberAddedUrl != null ) {
607
- request .addPostParam ("WebhooksOnMemberAddedUrl " , webhooksOnMemberAddedUrl .toString ());
607
+ request .addPostParam ("Webhooks.OnMemberAdded.Url " , webhooksOnMemberAddedUrl .toString ());
608
608
609
609
}
610
610
if (webhooksOnMemberAddedMethod != null ) {
611
- request .addPostParam ("WebhooksOnMemberAddedMethod " , webhooksOnMemberAddedMethod .toString ());
611
+ request .addPostParam ("Webhooks.OnMemberAdded.Method " , webhooksOnMemberAddedMethod .toString ());
612
612
613
613
}
614
614
if (webhooksOnMemberRemovedUrl != null ) {
615
- request .addPostParam ("WebhooksOnMemberRemovedUrl " , webhooksOnMemberRemovedUrl .toString ());
615
+ request .addPostParam ("Webhooks.OnMemberRemoved.Url " , webhooksOnMemberRemovedUrl .toString ());
616
616
617
617
}
618
618
if (webhooksOnMemberRemovedMethod != null ) {
619
- request .addPostParam ("WebhooksOnMemberRemovedMethod " , webhooksOnMemberRemovedMethod .toString ());
619
+ request .addPostParam ("Webhooks.OnMemberRemoved.Method " , webhooksOnMemberRemovedMethod .toString ());
620
620
621
621
}
622
622
if (limitsChannelMembers != null ) {
623
- request .addPostParam ("LimitsChannelMembers " , limitsChannelMembers .toString ());
623
+ request .addPostParam ("Limits.ChannelMembers " , limitsChannelMembers .toString ());
624
624
625
625
}
626
626
if (limitsUserChannels != null ) {
627
- request .addPostParam ("LimitsUserChannels " , limitsUserChannels .toString ());
627
+ request .addPostParam ("Limits.UserChannels " , limitsUserChannels .toString ());
628
628
629
629
}
630
630
}
0 commit comments