Skip to content

Commit 7e906a0

Browse files
committed
Class names fix
1 parent d7ad928 commit 7e906a0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@Data
1010
@EqualsAndHashCode(callSuper = true)
11-
public class RecipientsListRetrieveResponse extends Response {
11+
public class RecipientListRetrieveResponse extends Response {
1212

1313
@Description(value = "", sample = {""})
1414
private RecipientList results;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@Data
1212
@EqualsAndHashCode(callSuper = true)
13-
public class RecipientsListsListAllResponse extends Response {
13+
public class RecipientListsListAllResponse extends Response {
1414

1515
@Description(value = "List of RecipientList", sample = {""})
1616
private List<RecipientList> results;

libs/sparkpost-lib/src/main/java/com/sparkpost/resources/ResourceRecipientLists.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import com.sparkpost.exception.SparkPostException;
55
import com.sparkpost.model.RecipientList;
6-
import com.sparkpost.model.responses.RecipientsListRetrieveResponse;
7-
import com.sparkpost.model.responses.RecipientsListsListAllResponse;
6+
import com.sparkpost.model.responses.RecipientListRetrieveResponse;
7+
import com.sparkpost.model.responses.RecipientListsListAllResponse;
88
import com.sparkpost.model.responses.Response;
99
import com.sparkpost.transport.RestConnection;
1010

@@ -28,18 +28,18 @@ public static Response create(RestConnection conn, Integer maxNumberOfRecipientE
2828
return response;
2929
}
3030

31-
public static RecipientsListRetrieveResponse retrieve(RestConnection conn, String recipientListId, Boolean showRecipients) throws SparkPostException {
31+
public static RecipientListRetrieveResponse retrieve(RestConnection conn, String recipientListId, Boolean showRecipients) throws SparkPostException {
3232
Endpoint ep = new Endpoint("recipient-lists/" + recipientListId);
3333
ep.addParam("show_recipients", showRecipients);
3434
Response response = conn.get(ep.toString());
3535

36-
RecipientsListRetrieveResponse retrieveResponse = RecipientsListRetrieveResponse.decode(response, RecipientsListRetrieveResponse.class);
36+
RecipientListRetrieveResponse retrieveResponse = RecipientListRetrieveResponse.decode(response, RecipientListRetrieveResponse.class);
3737
return retrieveResponse;
3838
}
3939

40-
public static RecipientsListsListAllResponse listAll(RestConnection conn) throws SparkPostException {
40+
public static RecipientListsListAllResponse listAll(RestConnection conn) throws SparkPostException {
4141
Response response = conn.get("recipient-lists");
42-
RecipientsListsListAllResponse listResponse = RecipientsListsListAllResponse.decode(response, RecipientsListsListAllResponse.class);
42+
RecipientListsListAllResponse listResponse = RecipientListsListAllResponse.decode(response, RecipientListsListAllResponse.class);
4343
return listResponse;
4444
}
4545

0 commit comments

Comments
 (0)