public static class StarredChanges.Create extends java.lang.Object implements RestCollectionCreateView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(AccountResource rsrc,
IdString id,
StarredChanges.EmptyInput in)
Process the view operation by creating the resource.
|
public Response<?> apply(AccountResource rsrc, IdString id, StarredChanges.EmptyInput in) throws RestApiException, java.io.IOException
RestCollectionCreateView
apply
in interface RestCollectionCreateView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
rsrc
- parent resource of the resource that should be createdin
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.RestApiException
- if the resource creation is rejectedjava.io.IOException