|
| 1 | +// Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +// or more contributor license agreements. See the NOTICE file |
| 3 | +// distributed with this work for additional information |
| 4 | +// regarding copyright ownership. The ASF licenses this file |
| 5 | +// to you under the Apache License, Version 2.0 (the |
| 6 | +// "License"); you may not use this file except in compliance |
| 7 | +// with the License. You may obtain a copy of the License at |
| 8 | +// |
| 9 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +// |
| 11 | +// Unless required by applicable law or agreed to in writing, |
| 12 | +// software distributed under the License is distributed on an |
| 13 | +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +// KIND, either express or implied. See the License for the |
| 15 | +// specific language governing permissions and limitations |
| 16 | +// under the License. |
| 17 | + |
1 | 18 | package org.apache.cloudstack.api.command.user.dns; |
2 | 19 |
|
3 | 20 | import org.apache.cloudstack.api.APICommand; |
|
14 | 31 | import com.cloud.user.Account; |
15 | 32 |
|
16 | 33 | @APICommand(name = "deleteDnsServer", description = "Removes a DNS server integration", |
17 | | - responseObject = SuccessResponse.class, |
18 | | - requestHasSensitiveInfo = false, responseHasSensitiveInfo = false) |
| 34 | + responseObject = SuccessResponse.class, requestHasSensitiveInfo = false, |
| 35 | + responseHasSensitiveInfo = false, since = "4.23.0") |
19 | 36 | public class DeleteDnsServerCmd extends BaseAsyncCmd { |
20 | | - private static final String COMMAND_RESPONSE_NAME = "deletednsserverresponse"; |
21 | 37 |
|
22 | 38 | ///////////////////////////////////////////////////// |
23 | 39 | //////////////// API Parameters ///////////////////// |
@@ -54,11 +70,6 @@ public void execute() { |
54 | 70 | } |
55 | 71 | } |
56 | 72 |
|
57 | | - @Override |
58 | | - public String getCommandName() { |
59 | | - return COMMAND_RESPONSE_NAME; |
60 | | - } |
61 | | - |
62 | 73 | @Override |
63 | 74 | public long getEntityOwnerId() { |
64 | 75 | // Look up the server to find its owner. |
|
0 commit comments