parent
cff0f35269
commit
348d2c8b4f
@ -1,49 +1,17 @@ |
||||
package com.keylesspalace.tusky.entity; |
||||
|
||||
public class Media { |
||||
int id; |
||||
String type; |
||||
String url; |
||||
String preview_url; |
||||
String text_url; |
||||
|
||||
public int getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(int id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public String getType() { |
||||
return type; |
||||
} |
||||
import com.google.gson.annotations.SerializedName; |
||||
|
||||
public void setType(String type) { |
||||
this.type = type; |
||||
} |
||||
|
||||
public String getUrl() { |
||||
return url; |
||||
} |
||||
|
||||
public void setUrl(String url) { |
||||
this.url = url; |
||||
} |
||||
public class Media { |
||||
public int id; |
||||
|
||||
public String getPreview_url() { |
||||
return preview_url; |
||||
} |
||||
public String type; |
||||
|
||||
public void setPreview_url(String preview_url) { |
||||
this.preview_url = preview_url; |
||||
} |
||||
public String url; |
||||
|
||||
public String getText_url() { |
||||
return text_url; |
||||
} |
||||
@SerializedName("preview_url") |
||||
public String previewUrl; |
||||
|
||||
public void setText_url(String text_url) { |
||||
this.text_url = text_url; |
||||
} |
||||
@SerializedName("text_url") |
||||
public String textUrl; |
||||
} |
||||
|
@ -1,58 +1,18 @@ |
||||
package com.keylesspalace.tusky.entity; |
||||
|
||||
public class Relationship { |
||||
public boolean isFollowing() { |
||||
return following; |
||||
} |
||||
|
||||
public void setFollowing(boolean following) { |
||||
this.following = following; |
||||
} |
||||
|
||||
public boolean isFollowed_by() { |
||||
return followed_by; |
||||
} |
||||
|
||||
public void setFollowed_by(boolean followed_by) { |
||||
this.followed_by = followed_by; |
||||
} |
||||
import com.google.gson.annotations.SerializedName; |
||||
|
||||
public boolean isBlocking() { |
||||
return blocking; |
||||
} |
||||
|
||||
public void setBlocking(boolean blocking) { |
||||
this.blocking = blocking; |
||||
} |
||||
|
||||
public boolean isMuting() { |
||||
return muting; |
||||
} |
||||
|
||||
public void setMuting(boolean muting) { |
||||
this.muting = muting; |
||||
} |
||||
public class Relationship { |
||||
public int id; |
||||
|
||||
public boolean isRequested() { |
||||
return requested; |
||||
} |
||||
public boolean following; |
||||
|
||||
public void setRequested(boolean requested) { |
||||
this.requested = requested; |
||||
} |
||||
@SerializedName("followed_by") |
||||
public boolean followedBy; |
||||
|
||||
public int getId() { |
||||
return id; |
||||
} |
||||
public boolean blocking; |
||||
|
||||
public void setId(int id) { |
||||
this.id = id; |
||||
} |
||||
public boolean muting; |
||||
|
||||
int id; |
||||
boolean following; |
||||
boolean followed_by; |
||||
boolean blocking; |
||||
boolean muting; |
||||
boolean requested; |
||||
public boolean requested; |
||||
} |
||||
|
Loading…
Reference in new issue