-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathReview.java
More file actions
89 lines (70 loc) · 2.2 KB
/
Review.java
File metadata and controls
89 lines (70 loc) · 2.2 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.siftscience.model;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Review {
@Expose @SerializedName("$subject") private String subject;
@Expose @SerializedName("$body") private String body;
@Expose @SerializedName("$contact_email") private String contactEmail;
@Expose @SerializedName("$locations") private List<Address> locations;
@Expose @SerializedName("$reviewed_content_id") private String reviewedContentId;
@Expose @SerializedName("$reviewed_user_id") private String reviewedUserId;
@Expose @SerializedName("$images") private List<Image> images;
@Expose @SerializedName("$rating") private Double rating;
public String getBody() {
return body;
}
public Review setBody(String body) {
this.body = body;
return this;
}
public String getContactEmail() {
return contactEmail;
}
public Review setContactEmail(String contactEmail) {
this.contactEmail = contactEmail;
return this;
}
public List<Image> getImages() {
return images;
}
public Review setImages(List<Image> images) {
this.images = images;
return this;
}
public List<Address> getLocations() {
return locations;
}
public Review setLocations(List<Address> locations) {
this.locations = locations;
return this;
}
public String getSubject() {
return subject;
}
public Review setSubject(String subject) {
this.subject = subject;
return this;
}
public Double getRating() {
return rating;
}
public Review setRating(Double rating) {
this.rating = rating;
return this;
}
public String getReviewedContentId() {
return reviewedContentId;
}
public Review setReviewedContentId(String reviewedContentId) {
this.reviewedContentId = reviewedContentId;
return this;
}
public String getReviewedUserId() {
return reviewedUserId;
}
public Review setReviewedUserId(String reviewedUserId) {
this.reviewedUserId = reviewedUserId;
return this;
}
}