Skip to content

Commit 10c8692

Browse files
committed
Add profile timezone
1 parent c2ca89a commit 10c8692

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/main/java/allbegray/slack/type/Profile.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class Profile {
1111
protected String email;
1212
protected String skype;
1313
protected String phone;
14+
protected String tz;
1415
protected String image_24;
1516
protected String image_32;
1617
protected String image_48;
@@ -65,6 +66,14 @@ public void setPhone(String phone) {
6566
this.phone = phone;
6667
}
6768

69+
public String getTz() {
70+
return tz;
71+
}
72+
73+
public void setTz(String tz) {
74+
this.tz = tz;
75+
}
76+
6877
public String getImage_24() {
6978
return image_24;
7079
}
@@ -107,7 +116,7 @@ public void setImage_192(String image_192) {
107116

108117
@Override
109118
public String toString() {
110-
return "Profile [first_name=" + first_name + ", last_name=" + last_name + ", real_name=" + real_name + ", email=" + email + ", skype=" + skype + ", phone=" + phone + ", image_24=" + image_24
119+
return "Profile [first_name=" + first_name + ", last_name=" + last_name + ", real_name=" + real_name + ", email=" + email + ", tz=" + tz + ", skype=" + skype + ", phone=" + phone + ", image_24=" + image_24
111120
+ ", image_32=" + image_32 + ", image_48=" + image_48 + ", image_72=" + image_72 + ", image_192=" + image_192 + "]";
112121
}
113122

0 commit comments

Comments
 (0)