Deprecated API

Contents

  • Deprecated Methods
    Method
    Description
    Use VortexClient.acceptInvitations(List, AcceptUser) instead. This method is maintained for backward compatibility but will be removed in a future version. Use the new User format which supports email, phone, and name.

    Example migration:

    
     // Old way (deprecated):
     InvitationTarget target = new InvitationTarget("email", "user@example.com");
     List<InvitationResult> results = client.acceptInvitations(invitationIds, target);
    
     // New way (preferred):
     AcceptUser user = new AcceptUser("user@example.com");
     InvitationResult result = client.acceptInvitations(invitationIds, user);
     
    Use VortexClient.acceptInvitations(List, AcceptUser) instead and call once per user. This method calls the API once per target and is maintained only for backward compatibility.

    Example migration:

    
     // Old way (deprecated):
     List<InvitationTarget> targets = Arrays.asList(
         new InvitationTarget("email", "user1@example.com"),
         new InvitationTarget("email", "user2@example.com")
     );
     InvitationResult result = client.acceptInvitations(invitationIds, targets);
    
     // New way (preferred) - call once per user:
     for (InvitationTarget target : targets) {
         AcceptUser user = new AcceptUser(target.getValue());
         InvitationResult result = client.acceptInvitations(invitationIds, user);
     }