mirror of
https://github.com/mihonapp/mihon.git
synced 2024-10-31 21:20:59 -04:00
36 lines
895 B
Java
36 lines
895 B
Java
package eu.kanade.mangafeed.util;
|
|
|
|
import android.support.annotation.Nullable;
|
|
|
|
public class PostResult {
|
|
|
|
@Nullable
|
|
private final Integer numberOfRowsUpdated;
|
|
|
|
@Nullable
|
|
private final Integer numberOfRowsInserted;
|
|
|
|
@Nullable
|
|
private final Integer numberOfRowsDeleted;
|
|
|
|
public PostResult(Integer numberOfRowsUpdated, Integer numberOfRowsInserted, Integer numberOfRowsDeleted) {
|
|
this.numberOfRowsUpdated = numberOfRowsUpdated;
|
|
this.numberOfRowsInserted = numberOfRowsInserted;
|
|
this.numberOfRowsDeleted = numberOfRowsDeleted;
|
|
}
|
|
|
|
@Nullable
|
|
public Integer getNumberOfRowsUpdated() {
|
|
return numberOfRowsUpdated;
|
|
}
|
|
|
|
@Nullable
|
|
public Integer getNumberOfRowsInserted() {
|
|
return numberOfRowsInserted;
|
|
}
|
|
|
|
@Nullable
|
|
public Integer getNumberOfRowsDeleted() {
|
|
return numberOfRowsDeleted;
|
|
}
|
|
}
|