@Test public void builderShouldThrowWhenAccountIdIsGiven() { assertThatThrownBy(() -> SetMessagesResponse.builder().accountId("")) .isInstanceOf(NotImplementedException.class); }
public static Builder builder() { return new Builder(); }
SetMessagesResponse implements Method.Response { public static Builder builder() { return new Builder(); } }
SetMessagesResponse implements Method.Response { public static Builder builder() { return new Builder(); } @VisibleForTesting  SetMessagesResponse(String accountId, String oldState, String newState, ImmutableMap<CreationMessageId, MessageFullView> created, ImmutableMap<CreationMessageId, MessageId> mdnSent, ImmutableList<MessageId> updated, ImmutableList<MessageId> destroyed,
                                           ImmutableMap<CreationMessageId, SetError> notCreated, ImmutableMap<CreationMessageId, SetError> mdnNotSent, ImmutableMap<MessageId, SetError> notUpdated, ImmutableMap<MessageId, SetError> notDestroyed); }
SetMessagesResponse implements Method.Response { public static Builder builder() { return new Builder(); } @VisibleForTesting  SetMessagesResponse(String accountId, String oldState, String newState, ImmutableMap<CreationMessageId, MessageFullView> created, ImmutableMap<CreationMessageId, MessageId> mdnSent, ImmutableList<MessageId> updated, ImmutableList<MessageId> destroyed,
                                           ImmutableMap<CreationMessageId, SetError> notCreated, ImmutableMap<CreationMessageId, SetError> mdnNotSent, ImmutableMap<MessageId, SetError> notUpdated, ImmutableMap<MessageId, SetError> notDestroyed); static Builder builder(); String getAccountId(); String getOldState(); String getNewState(); ImmutableMap<CreationMessageId, MessageFullView> getCreated(); ImmutableList<MessageId> getUpdated(); ImmutableList<MessageId> getDestroyed(); ImmutableMap<CreationMessageId, SetError> getNotCreated(); ImmutableMap<MessageId, SetError> getNotUpdated(); ImmutableMap<MessageId, SetError> getNotDestroyed(); @JsonProperty("MDNSent") ImmutableMap<CreationMessageId, MessageId> getMDNSent(); @JsonProperty("MDNNotSent") ImmutableMap<CreationMessageId, SetError> getMDNNotSent(); SetMessagesResponse.Builder mergeInto(SetMessagesResponse.Builder responseBuilder); }
SetMessagesResponse implements Method.Response { public static Builder builder() { return new Builder(); } @VisibleForTesting  SetMessagesResponse(String accountId, String oldState, String newState, ImmutableMap<CreationMessageId, MessageFullView> created, ImmutableMap<CreationMessageId, MessageId> mdnSent, ImmutableList<MessageId> updated, ImmutableList<MessageId> destroyed,
                                           ImmutableMap<CreationMessageId, SetError> notCreated, ImmutableMap<CreationMessageId, SetError> mdnNotSent, ImmutableMap<MessageId, SetError> notUpdated, ImmutableMap<MessageId, SetError> notDestroyed); static Builder builder(); String getAccountId(); String getOldState(); String getNewState(); ImmutableMap<CreationMessageId, MessageFullView> getCreated(); ImmutableList<MessageId> getUpdated(); ImmutableList<MessageId> getDestroyed(); ImmutableMap<CreationMessageId, SetError> getNotCreated(); ImmutableMap<MessageId, SetError> getNotUpdated(); ImmutableMap<MessageId, SetError> getNotDestroyed(); @JsonProperty("MDNSent") ImmutableMap<CreationMessageId, MessageId> getMDNSent(); @JsonProperty("MDNNotSent") ImmutableMap<CreationMessageId, SetError> getMDNNotSent(); SetMessagesResponse.Builder mergeInto(SetMessagesResponse.Builder responseBuilder);  }