23
23
"notificationType" ,
24
24
"repeat" ,
25
25
"requirements" ,
26
- "subscriptionName" ,
27
- "timeout"
26
+ "subscriptionName"
28
27
})
29
28
public class Subscription {
30
29
@@ -42,8 +41,6 @@ public class Subscription {
42
41
private List <Requirement > requirements = new ArrayList <Requirement >();
43
42
@ JsonProperty ("subscriptionName" )
44
43
private String subscriptionName ;
45
- @ JsonProperty ("timeout" )
46
- private Integer timeout ;
47
44
@ JsonIgnore
48
45
private Map <String , Object > additionalProperties = new HashMap <String , Object >();
49
46
@@ -187,26 +184,6 @@ public void setSubscriptionName(String subscriptionName) {
187
184
this .subscriptionName = subscriptionName ;
188
185
}
189
186
190
- /**
191
- *
192
- * @return
193
- * The timeout
194
- */
195
- @ JsonProperty ("timeout" )
196
- public Integer getTimeout () {
197
- return timeout ;
198
- }
199
-
200
- /**
201
- *
202
- * @param timeout
203
- * The timeout
204
- */
205
- @ JsonProperty ("timeout" )
206
- public void setTimeout (Integer timeout ) {
207
- this .timeout = timeout ;
208
- }
209
-
210
187
@ Override
211
188
public String toString () {
212
189
return ToStringBuilder .reflectionToString (this );
@@ -224,7 +201,7 @@ public void setAdditionalProperty(String name, Object value) {
224
201
225
202
@ Override
226
203
public int hashCode () {
227
- return new HashCodeBuilder ().append (created ).append (notificationMessage ).append (notificationMeta ).append (notificationType ).append (repeat ).append (requirements ).append (subscriptionName ).append (timeout ). append ( additionalProperties ).toHashCode ();
204
+ return new HashCodeBuilder ().append (created ).append (notificationMessage ).append (notificationMeta ).append (notificationType ).append (repeat ).append (requirements ).append (subscriptionName ).append (additionalProperties ).toHashCode ();
228
205
}
229
206
230
207
@ Override
@@ -236,7 +213,7 @@ public boolean equals(Object other) {
236
213
return false ;
237
214
}
238
215
Subscription rhs = ((Subscription ) other );
239
- return new EqualsBuilder ().append (created , rhs .created ).append (notificationMessage , rhs .notificationMessage ).append (notificationMeta , rhs .notificationMeta ).append (notificationType , rhs .notificationType ).append (repeat , rhs .repeat ).append (requirements , rhs .requirements ).append (subscriptionName , rhs .subscriptionName ).append (timeout , rhs . timeout ). append ( additionalProperties , rhs .additionalProperties ).isEquals ();
216
+ return new EqualsBuilder ().append (created , rhs .created ).append (notificationMessage , rhs .notificationMessage ).append (notificationMeta , rhs .notificationMeta ).append (notificationType , rhs .notificationType ).append (repeat , rhs .repeat ).append (requirements , rhs .requirements ).append (subscriptionName , rhs .subscriptionName ).append (additionalProperties , rhs .additionalProperties ).isEquals ();
240
217
}
241
218
242
219
}
0 commit comments