File tree Expand file tree Collapse file tree 10 files changed +30
-30
lines changed
src/main/java/org/zendesk/client/v2/model/events Expand file tree Collapse file tree 10 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 9
9
* @since 05/04/2013 11:56
10
10
*/
11
11
public class CcEvent extends Event {
12
- private List <Integer > recipients ;
12
+ private List <Long > recipients ;
13
13
private Via via ;
14
14
15
- public List <Integer > getRecipients () {
15
+ public List <Long > getRecipients () {
16
16
return recipients ;
17
17
}
18
18
19
- public void setRecipients (List <Integer > recipients ) {
19
+ public void setRecipients (List <Long > recipients ) {
20
20
this .recipients = recipients ;
21
21
}
22
22
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class CommentEvent extends PublicPrivateEvent {
13
13
private String body ;
14
14
private String htmlBody ;
15
15
private Boolean trusted ;
16
- private Integer authorId ;
16
+ private Long authorId ;
17
17
private List <Attachment > attachments ;
18
18
19
19
public List <Attachment > getAttachments () {
@@ -25,11 +25,11 @@ public void setAttachments(List<Attachment> attachments) {
25
25
}
26
26
27
27
@ JsonProperty ("author_id" )
28
- public Integer getAuthorId () {
28
+ public Long getAuthorId () {
29
29
return authorId ;
30
30
}
31
31
32
- public void setAuthorId (Integer authorId ) {
32
+ public void setAuthorId (Long authorId ) {
33
33
this .authorId = authorId ;
34
34
}
35
35
Original file line number Diff line number Diff line change 7
7
* @since 05/04/2013 11:55
8
8
*/
9
9
public class CommentPrivacyChangeEvent extends PublicPrivateEvent {
10
- private Integer commentId ;
10
+ private Long commentId ;
11
11
12
12
@ JsonProperty ("comment_id" )
13
- public Integer getCommentId () {
13
+ public Long getCommentId () {
14
14
return commentId ;
15
15
}
16
16
17
- public void setCommentId (Integer commentId ) {
17
+ public void setCommentId (Long commentId ) {
18
18
this .commentId = commentId ;
19
19
}
20
20
Original file line number Diff line number Diff line change 27
27
})
28
28
29
29
public abstract class Event {
30
- private Integer id ;
30
+ private Long id ;
31
31
32
- public Integer getId () {
32
+ public Long getId () {
33
33
return id ;
34
34
}
35
35
36
- public void setId (Integer id ) {
36
+ public void setId (Long id ) {
37
37
this .id = id ;
38
38
}
39
39
Original file line number Diff line number Diff line change 10
10
*/
11
11
public class FacebookEvent extends Event {
12
12
private Map <String , Object > page ;
13
- private Integer communication ;
13
+ private Long communication ;
14
14
private String ticketVia ;
15
15
private String body ;
16
16
17
- public Integer getCommunication () {
17
+ public Long getCommunication () {
18
18
return communication ;
19
19
}
20
20
21
- public void setCommunication (Integer communication ) {
21
+ public void setCommunication (Long communication ) {
22
22
this .communication = communication ;
23
23
}
24
24
Original file line number Diff line number Diff line change 9
9
public class SMSEvent extends Event {
10
10
private String body ;
11
11
private String phoneNumber ;
12
- private Integer recipientId ;
12
+ private Long recipientId ;
13
13
14
14
public String getBody () {
15
15
return body ;
@@ -29,11 +29,11 @@ public void setPhoneNumber(String phoneNumber) {
29
29
}
30
30
31
31
@ JsonProperty ("recipient_id" )
32
- public Integer getRecipientId () {
32
+ public Long getRecipientId () {
33
33
return recipientId ;
34
34
}
35
35
36
- public void setRecipientId (Integer recipientId ) {
36
+ public void setRecipientId (Long recipientId ) {
37
37
this .recipientId = recipientId ;
38
38
}
39
39
Original file line number Diff line number Diff line change 9
9
public class
10
10
SatisfactionRatingEvent extends Event {
11
11
private String score ;
12
- private Integer assigneeId ;
12
+ private Long assigneeId ;
13
13
private String body ;
14
14
15
15
@ JsonProperty ("assignee_id" )
16
- public Integer getAssigneeId () {
16
+ public Long getAssigneeId () {
17
17
return assigneeId ;
18
18
}
19
19
20
- public void setAssigneeId (Integer assigneeId ) {
20
+ public void setAssigneeId (Long assigneeId ) {
21
21
this .assigneeId = assigneeId ;
22
22
}
23
23
Original file line number Diff line number Diff line change 7
7
* @since 05/04/2013 11:57
8
8
*/
9
9
public class TicketSharingEvent extends Event {
10
- private Integer agreementId ;
10
+ private Long agreementId ;
11
11
private String action ;
12
12
13
13
public String getAction () {
@@ -19,11 +19,11 @@ public void setAction(String action) {
19
19
}
20
20
21
21
@ JsonProperty ("agreement_id" )
22
- public Integer getAgreementId () {
22
+ public Long getAgreementId () {
23
23
return agreementId ;
24
24
}
25
25
26
- public void setAgreementId (Integer agreementId ) {
26
+ public void setAgreementId (Long agreementId ) {
27
27
this .agreementId = agreementId ;
28
28
}
29
29
Original file line number Diff line number Diff line change 11
11
public class TweetEvent extends Event {
12
12
private Boolean directMessage ;
13
13
private String body ;
14
- private List <Integer > recipients ;
14
+ private List <Long > recipients ;
15
15
16
16
public String getBody () {
17
17
return body ;
@@ -30,11 +30,11 @@ public void setDirectMessage(Boolean directMessage) {
30
30
this .directMessage = directMessage ;
31
31
}
32
32
33
- public List <Integer > getRecipients () {
33
+ public List <Long > getRecipients () {
34
34
return recipients ;
35
35
}
36
36
37
- public void setRecipients (List <Integer > recipients ) {
37
+ public void setRecipients (List <Long > recipients ) {
38
38
this .recipients = recipients ;
39
39
}
40
40
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class VoiceCommentEvent extends PublicPrivateEvent {
16
16
private String body ;
17
17
private String htmlBody ;
18
18
private Boolean trusted ;
19
- private Integer authorId ;
19
+ private Long authorId ;
20
20
private List <String > attachments ;
21
21
22
22
public List <String > getAttachments () {
@@ -28,11 +28,11 @@ public void setAttachments(List<String> attachments) {
28
28
}
29
29
30
30
@ JsonProperty ("author_id" )
31
- public Integer getAuthorId () {
31
+ public Long getAuthorId () {
32
32
return authorId ;
33
33
}
34
34
35
- public void setAuthorId (Integer authorId ) {
35
+ public void setAuthorId (Long authorId ) {
36
36
this .authorId = authorId ;
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments