@@ -31,6 +31,7 @@ public class NotificationDTO implements Comparable<NotificationDTO>, Restricted
3131 private String proxyPassword ;
3232 private Integer proxyPort ;
3333 private String proxyServer ;
34+ private String proxySchema ;
3435 private String proxyUser ;
3536 private String repositorySlug ;
3637 private TRIGGER_IF_MERGE triggerIfCanMerge ;
@@ -62,143 +63,153 @@ public boolean equals(Object obj) {
6263 return false ;
6364 }
6465 NotificationDTO other = (NotificationDTO ) obj ;
65- if (this . filterRegexp == null ) {
66+ if (filterRegexp == null ) {
6667 if (other .filterRegexp != null ) {
6768 return false ;
6869 }
69- } else if (!this . filterRegexp .equals (other .filterRegexp )) {
70+ } else if (!filterRegexp .equals (other .filterRegexp )) {
7071 return false ;
7172 }
72- if (this . filterString == null ) {
73+ if (filterString == null ) {
7374 if (other .filterString != null ) {
7475 return false ;
7576 }
76- } else if (!this . filterString .equals (other .filterString )) {
77+ } else if (!filterString .equals (other .filterString )) {
7778 return false ;
7879 }
79- if (this . headers == null ) {
80+ if (headers == null ) {
8081 if (other .headers != null ) {
8182 return false ;
8283 }
83- } else if (!this . headers .equals (other .headers )) {
84+ } else if (!headers .equals (other .headers )) {
8485 return false ;
8586 }
86- if (this . injectionUrl == null ) {
87+ if (injectionUrl == null ) {
8788 if (other .injectionUrl != null ) {
8889 return false ;
8990 }
90- } else if (!this . injectionUrl .equals (other .injectionUrl )) {
91+ } else if (!injectionUrl .equals (other .injectionUrl )) {
9192 return false ;
9293 }
93- if (this . injectionUrlRegexp == null ) {
94+ if (injectionUrlRegexp == null ) {
9495 if (other .injectionUrlRegexp != null ) {
9596 return false ;
9697 }
97- } else if (!this . injectionUrlRegexp .equals (other .injectionUrlRegexp )) {
98+ } else if (!injectionUrlRegexp .equals (other .injectionUrlRegexp )) {
9899 return false ;
99100 }
100- if (this . method != other .method ) {
101+ if (method != other .method ) {
101102 return false ;
102103 }
103- if (this . name == null ) {
104+ if (name == null ) {
104105 if (other .name != null ) {
105106 return false ;
106107 }
107- } else if (!this . name .equals (other .name )) {
108+ } else if (!name .equals (other .name )) {
108109 return false ;
109110 }
110- if (this . password == null ) {
111+ if (password == null ) {
111112 if (other .password != null ) {
112113 return false ;
113114 }
114- } else if (!this . password .equals (other .password )) {
115+ } else if (!password .equals (other .password )) {
115116 return false ;
116117 }
117- if (this . postContent == null ) {
118+ if (postContent == null ) {
118119 if (other .postContent != null ) {
119120 return false ;
120121 }
121- } else if (!this . postContent .equals (other .postContent )) {
122+ } else if (!postContent .equals (other .postContent )) {
122123 return false ;
123124 }
124- if (this .projectKey == null ) {
125+ if (postContentEncoding != other .postContentEncoding ) {
126+ return false ;
127+ }
128+ if (projectKey == null ) {
125129 if (other .projectKey != null ) {
126130 return false ;
127131 }
128- } else if (!this . projectKey .equals (other .projectKey )) {
132+ } else if (!projectKey .equals (other .projectKey )) {
129133 return false ;
130134 }
131- if (this . proxyPassword == null ) {
135+ if (proxyPassword == null ) {
132136 if (other .proxyPassword != null ) {
133137 return false ;
134138 }
135- } else if (!this . proxyPassword .equals (other .proxyPassword )) {
139+ } else if (!proxyPassword .equals (other .proxyPassword )) {
136140 return false ;
137141 }
138- if (this . proxyPort == null ) {
142+ if (proxyPort == null ) {
139143 if (other .proxyPort != null ) {
140144 return false ;
141145 }
142- } else if (!this .proxyPort .equals (other .proxyPort )) {
146+ } else if (!proxyPort .equals (other .proxyPort )) {
147+ return false ;
148+ }
149+ if (proxySchema == null ) {
150+ if (other .proxySchema != null ) {
151+ return false ;
152+ }
153+ } else if (!proxySchema .equals (other .proxySchema )) {
143154 return false ;
144155 }
145- if (this . proxyServer == null ) {
156+ if (proxyServer == null ) {
146157 if (other .proxyServer != null ) {
147158 return false ;
148159 }
149- } else if (!this . proxyServer .equals (other .proxyServer )) {
160+ } else if (!proxyServer .equals (other .proxyServer )) {
150161 return false ;
151162 }
152- if (this . proxyUser == null ) {
163+ if (proxyUser == null ) {
153164 if (other .proxyUser != null ) {
154165 return false ;
155166 }
156- } else if (!this . proxyUser .equals (other .proxyUser )) {
167+ } else if (!proxyUser .equals (other .proxyUser )) {
157168 return false ;
158169 }
159- if (this . repositorySlug == null ) {
170+ if (repositorySlug == null ) {
160171 if (other .repositorySlug != null ) {
161172 return false ;
162173 }
163- } else if (!this . repositorySlug .equals (other .repositorySlug )) {
174+ } else if (!repositorySlug .equals (other .repositorySlug )) {
164175 return false ;
165176 }
166- if (this . triggerIfCanMerge != other .triggerIfCanMerge ) {
177+ if (triggerIfCanMerge != other .triggerIfCanMerge ) {
167178 return false ;
168179 }
169- if (this . triggerIgnoreStateList == null ) {
180+ if (triggerIgnoreStateList == null ) {
170181 if (other .triggerIgnoreStateList != null ) {
171182 return false ;
172183 }
173- } else if (!this . triggerIgnoreStateList .equals (other .triggerIgnoreStateList )) {
184+ } else if (!triggerIgnoreStateList .equals (other .triggerIgnoreStateList )) {
174185 return false ;
175186 }
176- if (this . triggers == null ) {
187+ if (triggers == null ) {
177188 if (other .triggers != null ) {
178189 return false ;
179190 }
180- } else if (!this . triggers .equals (other .triggers )) {
191+ } else if (!triggers .equals (other .triggers )) {
181192 return false ;
182193 }
183- if (this . url == null ) {
194+ if (url == null ) {
184195 if (other .url != null ) {
185196 return false ;
186197 }
187- } else if (!this . url .equals (other .url )) {
198+ } else if (!url .equals (other .url )) {
188199 return false ;
189200 }
190- if (this . user == null ) {
201+ if (user == null ) {
191202 if (other .user != null ) {
192203 return false ;
193204 }
194- } else if (!this . user .equals (other .user )) {
205+ } else if (!user .equals (other .user )) {
195206 return false ;
196207 }
197- if (this . uuid == null ) {
208+ if (uuid == null ) {
198209 if (other .uuid != null ) {
199210 return false ;
200211 }
201- } else if (!this . uuid .equals (other .uuid )) {
212+ } else if (!uuid .equals (other .uuid )) {
202213 return false ;
203214 }
204215 return true ;
@@ -294,31 +305,30 @@ public UUID getUuid() {
294305 public int hashCode () {
295306 final int prime = 31 ;
296307 int result = 1 ;
297- result = prime * result + (this .filterRegexp == null ? 0 : this .filterRegexp .hashCode ());
298- result = prime * result + (this .filterString == null ? 0 : this .filterString .hashCode ());
299- result = prime * result + (this .headers == null ? 0 : this .headers .hashCode ());
300- result = prime * result + (this .injectionUrl == null ? 0 : this .injectionUrl .hashCode ());
308+ result = prime * result + (filterRegexp == null ? 0 : filterRegexp .hashCode ());
309+ result = prime * result + (filterString == null ? 0 : filterString .hashCode ());
310+ result = prime * result + (headers == null ? 0 : headers .hashCode ());
311+ result = prime * result + (injectionUrl == null ? 0 : injectionUrl .hashCode ());
312+ result = prime * result + (injectionUrlRegexp == null ? 0 : injectionUrlRegexp .hashCode ());
313+ result = prime * result + (method == null ? 0 : method .hashCode ());
314+ result = prime * result + (name == null ? 0 : name .hashCode ());
315+ result = prime * result + (password == null ? 0 : password .hashCode ());
316+ result = prime * result + (postContent == null ? 0 : postContent .hashCode ());
317+ result = prime * result + (postContentEncoding == null ? 0 : postContentEncoding .hashCode ());
318+ result = prime * result + (projectKey == null ? 0 : projectKey .hashCode ());
319+ result = prime * result + (proxyPassword == null ? 0 : proxyPassword .hashCode ());
320+ result = prime * result + (proxyPort == null ? 0 : proxyPort .hashCode ());
321+ result = prime * result + (proxySchema == null ? 0 : proxySchema .hashCode ());
322+ result = prime * result + (proxyServer == null ? 0 : proxyServer .hashCode ());
323+ result = prime * result + (proxyUser == null ? 0 : proxyUser .hashCode ());
324+ result = prime * result + (repositorySlug == null ? 0 : repositorySlug .hashCode ());
325+ result = prime * result + (triggerIfCanMerge == null ? 0 : triggerIfCanMerge .hashCode ());
301326 result =
302- prime * result + (this .injectionUrlRegexp == null ? 0 : this .injectionUrlRegexp .hashCode ());
303- result = prime * result + (this .method == null ? 0 : this .method .hashCode ());
304- result = prime * result + (this .name == null ? 0 : this .name .hashCode ());
305- result = prime * result + (this .password == null ? 0 : this .password .hashCode ());
306- result = prime * result + (this .postContent == null ? 0 : this .postContent .hashCode ());
307- result = prime * result + (this .projectKey == null ? 0 : this .projectKey .hashCode ());
308- result = prime * result + (this .proxyPassword == null ? 0 : this .proxyPassword .hashCode ());
309- result = prime * result + (this .proxyPort == null ? 0 : this .proxyPort .hashCode ());
310- result = prime * result + (this .proxyServer == null ? 0 : this .proxyServer .hashCode ());
311- result = prime * result + (this .proxyUser == null ? 0 : this .proxyUser .hashCode ());
312- result = prime * result + (this .repositorySlug == null ? 0 : this .repositorySlug .hashCode ());
313- result =
314- prime * result + (this .triggerIfCanMerge == null ? 0 : this .triggerIfCanMerge .hashCode ());
315- result =
316- prime * result
317- + (this .triggerIgnoreStateList == null ? 0 : this .triggerIgnoreStateList .hashCode ());
318- result = prime * result + (this .triggers == null ? 0 : this .triggers .hashCode ());
319- result = prime * result + (this .url == null ? 0 : this .url .hashCode ());
320- result = prime * result + (this .user == null ? 0 : this .user .hashCode ());
321- result = prime * result + (this .uuid == null ? 0 : this .uuid .hashCode ());
327+ prime * result + (triggerIgnoreStateList == null ? 0 : triggerIgnoreStateList .hashCode ());
328+ result = prime * result + (triggers == null ? 0 : triggers .hashCode ());
329+ result = prime * result + (url == null ? 0 : url .hashCode ());
330+ result = prime * result + (user == null ? 0 : user .hashCode ());
331+ result = prime * result + (uuid == null ? 0 : uuid .hashCode ());
322332 return result ;
323333 }
324334
@@ -409,4 +419,12 @@ public void setUuid(UUID uuid) {
409419 public ENCODE_FOR getPostContentEncoding () {
410420 return postContentEncoding ;
411421 }
422+
423+ public void setProxySchema (String proxySchema ) {
424+ this .proxySchema = proxySchema ;
425+ }
426+
427+ public String getProxySchema () {
428+ return proxySchema ;
429+ }
412430}
0 commit comments