File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed
api/src/main/java/org/apache/cloudstack/api/response
server/src/main/java/com/cloud/api Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 1616// under the License.
1717package org .apache .cloudstack .api .response ;
1818
19- import com .google .gson .annotations .SerializedName ;
20-
21- import org .apache .cloudstack .api .ApiConstants ;
2219import org .apache .cloudstack .api .BaseResponse ;
2320import org .apache .cloudstack .api .EntityReference ;
2421import org .apache .cloudstack .jobs .JobInfo ;
2522
26- import com .cloud .serializer .Param ;
27-
2823@ EntityReference (value = JobInfo .class )
29- @ SuppressWarnings ("unused" )
3024public class UpgradeRouterTemplateResponse extends BaseResponse {
31- @ SerializedName (ApiConstants .JOB_ID )
32- @ Param (description = "the id of AsyncJob" )
33- private String asyncJobId ;
34-
35- public String getAsyncJobId () {
36- return asyncJobId ;
37- }
38-
39- public void setAsyncJobId (String asyncJobId ) {
40- this .asyncJobId = asyncJobId ;
41- }
4225}
Original file line number Diff line number Diff line change @@ -4994,7 +4994,7 @@ public ListResponse<UpgradeRouterTemplateResponse> createUpgradeRouterTemplateRe
49944994 for (Long jobId : jobIds ) {
49954995 UpgradeRouterTemplateResponse routerResponse = new UpgradeRouterTemplateResponse ();
49964996 AsyncJob job = _entityMgr .findById (AsyncJob .class , jobId );
4997- routerResponse .setAsyncJobId ((job .getUuid ()));
4997+ routerResponse .setJobId ((job .getUuid ()));
49984998 routerResponse .setObjectName ("asyncjobs" );
49994999 responses .add (routerResponse );
50005000 }
You can’t perform that action at this time.
0 commit comments