-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTopic.java
More file actions
38 lines (32 loc) · 789 Bytes
/
Topic.java
File metadata and controls
38 lines (32 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package wrapper;
/**
* The topic class stores all the information given by the Klout API
* of a topic. All fields are publicly accessible.
*
* @author Anish Visaria
*
*/
public class Topic {
public final String id, display_name, name, slug, imageUrl, displayType, topicType;
/**
* Constructs topic object.
*
* @param id
* @param display_name
* @param name
* @param slug
* @param image_url
* @param displayType
* @param topicType
*/
public Topic(String id, String display_name, String name, String slug, String image_url,
String displayType, String topicType) {
this.id = id;
this.display_name = display_name;
this.name = name;
this.slug = slug;
imageUrl = image_url;
this.displayType = displayType;
this.topicType = topicType;
}
}