blob: c9bb3ffd6cfec11f34c8256c8b2e01d21e17ff10 (
plain)
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
|
package com.mavlushechka.a1qa.models;
import com.google.gson.annotations.SerializedName;
public class User {
private final int id;
@SerializedName("first_name")
private final String firstName;
@SerializedName("last_name")
private final String lastName;
@SerializedName("can_access_closed")
private final boolean canAccessClosed;
@SerializedName("is_closed")
private final boolean isClosed;
public User(int id, String firstName, String lastName, boolean canAccessClosed, boolean isClosed) {
this.id = id;
this.firstName = firstName;
this.lastName = lastName;
this.canAccessClosed = canAccessClosed;
this.isClosed = isClosed;
}
public int getId() {
return id;
}
public String getFirstName() {
return firstName;
}
public String getLastName() {
return lastName;
}
public boolean isCanAccessClosed() {
return canAccessClosed;
}
public boolean isClosed() {
return isClosed;
}
}
|