class RetrieveResourceResponse extends AbstractCommandResponse<RetrieveResourceResponse> implements PolicyQueryCommandResponse<RetrieveResourceResponse> {

    @Deprecated
    public static RetrieveResourceResponse of(final String policyId,
            final Label label,
            final Resource resource,
            final DittoHeaders dittoHeaders) {

        return of(PolicyId.of(policyId), label, resource, dittoHeaders);
    }

    private  RetrieveResourceResponse(final PolicyId policyId,
            final Label label,
            final ResourceKey resourceKey,
            final JsonObject resource,
            final HttpStatusCode statusCode,
            final DittoHeaders dittoHeaders);

}