Skip to content

Commit 8e3da4a

Browse files
author
bob
committed
Add basic View support - List the Views; List the tickets in a View
Provide basic functionality for views. Support getting a list of the Views. Then, using the view id, we can get a list of the Tickets in the View.
1 parent d7c031b commit 8e3da4a

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<groupId>com.cloudbees.thirdparty</groupId>
2727
<artifactId>zendesk-java-client</artifactId>
28-
<version>0.17.2-SNAPSHOT</version>
28+
<version>0.17.1-SNAPSHOT</version>
2929

3030
<name>zendesk-java-client</name>
3131
<description>Java client for the Zendesk API</description>

src/main/java/org/zendesk/client/v2/model/View.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@
88
@JsonIgnoreProperties(ignoreUnknown = true)
99
public class View implements Serializable {
1010

11-
<<<<<<< HEAD
12-
private static final long serialVersionUID = 1L;
13-
=======
1411
private static final long serialVersionUID = 8162172428393948830L;
1512

16-
>>>>>>> 954b71b... Add basic View support - List the Views; List the tickets in a View
1713
private long id;
1814
private String title;
1915
private boolean active;
@@ -23,10 +19,6 @@ public class View implements Serializable {
2319
private String description;
2420
private Conditions conditions;
2521
private boolean watchable;
26-
<<<<<<< HEAD
27-
private String rawTitle;
28-
=======
29-
>>>>>>> 954b71b... Add basic View support - List the Views; List the tickets in a View
3022

3123
public void setId(long id) {
3224
this.id = id;
@@ -109,19 +101,6 @@ public boolean getWatchable() {
109101
return this.watchable;
110102
}
111103

112-
<<<<<<< HEAD
113-
public void setRawTitle(String rawTitle) {
114-
this.rawTitle = rawTitle;
115-
}
116-
117-
@JsonProperty("raw_title")
118-
public String getRawTitle() {
119-
return this.rawTitle;
120-
}
121-
122-
=======
123-
>>>>>>> 954b71b... Add basic View support - List the Views; List the tickets in a View
124-
//TODO: fix this.
125104
public String toString() {
126105
return "View " +
127106
"{id=" + id +
@@ -133,10 +112,6 @@ public String toString() {
133112
", description=" + description +
134113
", conditions=" + conditions +
135114
", watchable=" + watchable +
136-
<<<<<<< HEAD
137-
", rawTitle=" + rawTitle +
138-
=======
139-
>>>>>>> 954b71b... Add basic View support - List the Views; List the tickets in a View
140115
"}";
141116
}
142117
}

0 commit comments

Comments
 (0)