File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,15 @@ public class Site2SiteCustomerGatewayResponse extends BaseResponse implements Co
4343 @ SerializedName (ApiConstants .IPSEC_PSK ) @ Param (description ="IPsec preshared-key of customer gateway" )
4444 private String ipsecPsk ;
4545
46+ @ SerializedName (ApiConstants .IKE_POLICY ) @ Param (description ="IKE policy of customer gateway" )
47+ private String ikePolicy ;
48+
49+ @ SerializedName (ApiConstants .ESP_POLICY ) @ Param (description ="IPsec policy of customer gateway" )
50+ private String espPolicy ;
51+
52+ @ SerializedName (ApiConstants .LIFETIME ) @ Param (description ="Lifetime of IKE and IPsec policy of customer gateway" )
53+ private Long lifetime ;
54+
4655 @ SerializedName (ApiConstants .ACCOUNT ) @ Param (description ="the owner" )
4756 private String accountName ;
4857
@@ -85,6 +94,18 @@ public void setIpsecPsk(String ipsecPsk) {
8594 this .ipsecPsk = ipsecPsk ;
8695 }
8796
97+ public void setIkePolicy (String ikePolicy ) {
98+ this .ikePolicy = ikePolicy ;
99+ }
100+
101+ public void setEspPolicy (String espPolicy ) {
102+ this .espPolicy = espPolicy ;
103+ }
104+
105+ public void setLifetime (Long lifetime ) {
106+ this .lifetime = lifetime ;
107+ }
108+
88109 public void setRemoved (Date removed ) {
89110 this .removed = removed ;
90111 }
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ public interface Site2SiteCustomerGateway extends ControlledEntity {
99 public String getGatewayIp ();
1010 public String getGuestCidrList ();
1111 public String getIpsecPsk ();
12+ public String getIkePolicy ();
13+ public String getEspPolicy ();
14+ public Long getLifetime ();
1215 public Date getRemoved ();
1316 String getName ();
1417}
Original file line number Diff line number Diff line change @@ -3789,6 +3789,9 @@ public Site2SiteCustomerGatewayResponse createSite2SiteCustomerGatewayResponse(S
37893789 response .setGatewayIp (result .getGatewayIp ());
37903790 response .setGuestCidrList (result .getGuestCidrList ());
37913791 response .setIpsecPsk (result .getIpsecPsk ());
3792+ response .setIkePolicy (result .getIkePolicy ());
3793+ response .setEspPolicy (result .getEspPolicy ());
3794+ response .setLifetime (result .getLifetime ());
37923795 response .setRemoved (result .getRemoved ());
37933796 response .setObjectName ("vpncustomergateway" );
37943797
Original file line number Diff line number Diff line change @@ -118,14 +118,16 @@ public void setRemoved(Date removed) {
118118 this .removed = removed ;
119119 }
120120
121- public long getLifetime () {
121+ @ Override
122+ public Long getLifetime () {
122123 return lifetime ;
123124 }
124125
125126 public void setLifetime (long lifetime ) {
126127 this .lifetime = lifetime ;
127128 }
128129
130+ @ Override
129131 public String getIkePolicy () {
130132 return ikePolicy ;
131133 }
@@ -134,6 +136,7 @@ public void setIkePolicy(String ikePolicy) {
134136 this .ikePolicy = ikePolicy ;
135137 }
136138
139+ @ Override
137140 public String getEspPolicy () {
138141 return espPolicy ;
139142 }
You can’t perform that action at this time.
0 commit comments