-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
142 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
app/src/main/java/com/tomclaw/appsend/main/profile/EliminateUserResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package com.tomclaw.appsend.main.profile; | ||
|
||
import android.os.Parcel; | ||
import android.os.Parcelable; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.tomclaw.appsend.util.Unobfuscatable; | ||
|
||
public class EliminateUserResponse implements Parcelable, Unobfuscatable { | ||
|
||
@SerializedName("files_count") | ||
private int filesCount; | ||
@SerializedName("msgs_count") | ||
private int msgsCount; | ||
@SerializedName("ratings_count") | ||
private int ratingsCount; | ||
|
||
protected EliminateUserResponse(Parcel in) { | ||
filesCount = in.readInt(); | ||
msgsCount = in.readInt(); | ||
ratingsCount = in.readInt(); | ||
} | ||
|
||
public int getFilesCount() { | ||
return filesCount; | ||
} | ||
|
||
public int getMessagesCount() { | ||
return msgsCount; | ||
} | ||
|
||
public int getRatingsCount() { | ||
return ratingsCount; | ||
} | ||
|
||
@Override | ||
public void writeToParcel(Parcel dest, int flags) { | ||
dest.writeInt(filesCount); | ||
dest.writeInt(msgsCount); | ||
dest.writeInt(ratingsCount); | ||
} | ||
|
||
@Override | ||
public int describeContents() { | ||
return 0; | ||
} | ||
|
||
public static final Creator<EliminateUserResponse> CREATOR = new Creator<EliminateUserResponse>() { | ||
@Override | ||
public EliminateUserResponse createFromParcel(Parcel in) { | ||
return new EliminateUserResponse(in); | ||
} | ||
|
||
@Override | ||
public EliminateUserResponse[] newArray(int size) { | ||
return new EliminateUserResponse[size]; | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters