Skip to content

Commit 591ef2c

Browse files
committed
deprecate setter for company sessions
1 parent 444423f commit 591ef2c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

intercom-java/src/main/java/io/intercom/api/Company.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,16 @@ public int getSessionCount() {
252252
return sessionCount;
253253
}
254254

255+
/**
256+
* Deprecated. The Intercom API does not support changing the
257+
* session value for a company. Calling this method has no
258+
* effect.
259+
*
260+
* @param sessionCount this value is ignored
261+
* @return the company object
262+
*/
263+
@Deprecated
255264
public Company setSessionCount(int sessionCount) {
256-
this.sessionCount = sessionCount;
257265
return this;
258266
}
259267

0 commit comments

Comments
 (0)