|
31 | 31 |
|
32 | 32 | public class CustomRequest extends BaseRequest { |
33 | 33 |
|
34 | | - public CustomRequest(final String requestUrl, final IBaseClient client, final java.util.List<? extends Option> requestOptions, final Class responseClass) { |
| 34 | + public CustomRequest(final String requestUrl, final IBaseClient client, final java.util.List<? extends Option> requestOptions, final Class<?> responseClass) { |
35 | 35 | super(requestUrl, client, requestOptions, responseClass); |
36 | 36 | } |
37 | 37 |
|
@@ -68,36 +68,36 @@ public void delete() throws ClientException {{ |
68 | 68 | * @param sourceItem The source object with updates |
69 | 69 | * @param callback The callback to be called after success or failure. |
70 | 70 | */ |
71 | | - public <T> void patch(final Class sourceObject, final ICallback<T> callback) { |
| 71 | + public <T> void patch(final Class<?> sourceObject, final ICallback<T> callback) { |
72 | 72 | send(HttpMethod.PATCH, callback, sourceObject); |
73 | 73 | } |
74 | 74 |
|
75 | 75 | /** |
76 | | - * Patches this Attachment with a source |
| 76 | + * Patches this item with a source |
77 | 77 | * @param sourceAttachment The source object with updates |
78 | | - * @return The updated Attachment |
| 78 | + * @return The updated item |
79 | 79 | * @throws ClientException This exception occurs if the request was unable to complete for any reason. |
80 | 80 | */ |
81 | | - public <T> T patch(final Class sourceObject) throws ClientException { |
| 81 | + public <T> T patch(final Class<?> sourceObject) throws ClientException { |
82 | 82 | return send(HttpMethod.PATCH, sourceObject); |
83 | 83 | } |
84 | 84 |
|
85 | 85 | /** |
86 | | - * Creates a Attachment with a new object |
87 | | - * @param newAttachment The new object to create |
| 86 | + * Creates an item with a new object |
| 87 | + * @param newObject The new object to create |
88 | 88 | * @param callback The callback to be called after success or failure. |
89 | 89 | */ |
90 | | - public <T> void post(final Class newObject, final ICallback<T> callback) { |
| 90 | + public <T> void post(final Class<?> newObject, final ICallback<T> callback) { |
91 | 91 | send(HttpMethod.POST, callback, newObject); |
92 | 92 | } |
93 | 93 |
|
94 | 94 | /** |
95 | | - * Creates a Attachment with a new object |
96 | | - * @param newAttachment The new object to create |
97 | | - * @return The created Attachment |
| 95 | + * Creates an item with a new object |
| 96 | + * @param newObject The new object to create |
| 97 | + * @return The created item |
98 | 98 | * @throws ClientException This exception occurs if the request was unable to complete for any reason. |
99 | 99 | */ |
100 | | - public <T> T post(final Class newObject) throws ClientException { |
| 100 | + public <T> T post(final Class<?> newObject) throws ClientException { |
101 | 101 | return send(HttpMethod.POST, newObject); |
102 | 102 | } |
103 | 103 |
|
|
0 commit comments