class CreatePolicyResponse extends AbstractCommandResponse<CreatePolicyResponse> implements PolicyModifyCommandResponse<CreatePolicyResponse> {

    public static CreatePolicyResponse of(final PolicyId policyId, @Nullable final Policy policy,
            final DittoHeaders dittoHeaders) {

        return new CreatePolicyResponse(policyId, HttpStatusCode.CREATED, policy, dittoHeaders);
    }

    private  CreatePolicyResponse(final PolicyId policyId,
            final HttpStatusCode statusCode,
            @Nullable final Policy policyCreated,
            final DittoHeaders dittoHeaders);

}