mirror of https://github.com/apache/cloudstack.git
api: fix response annotation for createBackupSchedule (#11950)
Currently, `createBackupSchedule` API documentation wrongly specifies BackupResponse as the API response. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
b394b5ba74
commit
432a3065bc
|
|
@ -26,7 +26,6 @@ import org.apache.cloudstack.api.ApiErrorCode;
|
|||
import org.apache.cloudstack.api.BaseCmd;
|
||||
import org.apache.cloudstack.api.Parameter;
|
||||
import org.apache.cloudstack.api.ServerApiException;
|
||||
import org.apache.cloudstack.api.response.BackupResponse;
|
||||
import org.apache.cloudstack.api.response.BackupScheduleResponse;
|
||||
import org.apache.cloudstack.api.response.UserVmResponse;
|
||||
import org.apache.cloudstack.backup.BackupManager;
|
||||
|
|
@ -38,7 +37,7 @@ import com.cloud.utils.exception.CloudRuntimeException;
|
|||
|
||||
@APICommand(name = "createBackupSchedule",
|
||||
description = "Creates a User-defined Instance backup schedule",
|
||||
responseObject = BackupResponse.class, since = "4.14.0",
|
||||
responseObject = BackupScheduleResponse.class, since = "4.14.0",
|
||||
authorized = {RoleType.Admin, RoleType.ResourceAdmin, RoleType.DomainAdmin, RoleType.User})
|
||||
public class CreateBackupScheduleCmd extends BaseCmd {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue