@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ExpectedResponses
Example:
@ExpectedResponses({200, 201}) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft .CustomerInsights/hubs/{hubName}/images/getEntityTypeImageUploadUrl") void getUploadUrlForEntityType(@Path("resourceGroupName") String resourceGroupName, @Path("hubName") String hubName, @Path("subscriptionId") String subscriptionId, @Body GetImageUploadUrlInputInner parameters);
Modifier and Type | Required Element and Description |
---|---|
int[] |
value
The status code that will trigger that an error of type errorType should be returned.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.