1717package org .apache .cloudstack .api .response ;
1818
1919import org .apache .cloudstack .api .ApiConstants ;
20- import com .cloud .utils .IdentityProxy ;
2120import com .cloud .serializer .Param ;
2221import com .google .gson .annotations .SerializedName ;
2322import org .apache .cloudstack .api .BaseResponse ;
@@ -28,7 +27,7 @@ public class AutoScalePolicyResponse extends BaseResponse implements ControlledE
2827
2928 @ SerializedName (ApiConstants .ID )
3029 @ Param (description = "the autoscale policy ID" )
31- private IdentityProxy id = new IdentityProxy ( "autoscale_policies" ) ;
30+ private String id ;
3231
3332 @ SerializedName (ApiConstants .ACTION )
3433 @ Param (description = "the action to be executed if all the conditions evaluate to true for the specified duration." )
@@ -50,19 +49,19 @@ public class AutoScalePolicyResponse extends BaseResponse implements ControlledE
5049 private String accountName ;
5150
5251 @ SerializedName (ApiConstants .PROJECT_ID ) @ Param (description ="the project id autoscale policy" )
53- private IdentityProxy projectId = new IdentityProxy ( "projects" ) ;
52+ private String projectId ;
5453
5554 @ SerializedName (ApiConstants .PROJECT ) @ Param (description ="the project name of the autoscale policy" )
5655 private String projectName ;
5756
5857 @ SerializedName (ApiConstants .DOMAIN_ID ) @ Param (description ="the domain ID of the autoscale policy" )
59- private IdentityProxy domainId = new IdentityProxy ( "domain" ) ;
58+ private String domainId ;
6059
6160 @ SerializedName (ApiConstants .DOMAIN ) @ Param (description ="the domain name of the autoscale policy" )
6261 private String domainName ;
6362
64- public void setId (Long id ) {
65- this .id . setValue ( id ) ;
63+ public void setId (String id ) {
64+ this .id = id ;
6665 }
6766
6867 public void setDuration (Integer duration ) {
@@ -86,9 +85,11 @@ public void setAccountName(String accountName) {
8685 this .accountName = accountName ;
8786 }
8887
88+
89+
8990 @ Override
90- public void setDomainId (Long domainId ) {
91- this .domainId . setValue ( domainId ) ;
91+ public void setDomainId (String domainId ) {
92+ this .domainId = domainId ;
9293 }
9394
9495 @ Override
@@ -97,8 +98,8 @@ public void setDomainName(String domainName) {
9798 }
9899
99100 @ Override
100- public void setProjectId (Long projectId ) {
101- this .projectId . setValue ( projectId ) ;
101+ public void setProjectId (String projectId ) {
102+ this .projectId = projectId ;
102103 }
103104
104105 @ Override
0 commit comments