forked from avniproject/avni-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avnirproject#762 | Created DatabaseSyncStatus for getInitialSyncStatus
- Loading branch information
1 parent
b456232
commit e21282d
Showing
3 changed files
with
60 additions
and
4 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
49 changes: 49 additions & 0 deletions
49
avni-server-api/src/main/java/org/avni/server/domain/metabase/DatabaseSyncStatus.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,49 @@ | ||
package org.avni.server.domain.metabase; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class DatabaseSyncStatus { | ||
|
||
@JsonProperty("initial_sync_status") | ||
private String initialSyncStatus; | ||
|
||
@JsonProperty("name") | ||
private String name; | ||
|
||
@JsonProperty("is_full_sync") | ||
private boolean isFullSync; | ||
|
||
@JsonProperty("id") | ||
private int id; | ||
|
||
@JsonProperty("engine") | ||
private String engine; | ||
|
||
|
||
public String getInitialSyncStatus() { | ||
return initialSyncStatus; | ||
} | ||
|
||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
|
||
public boolean isFullSync() { | ||
return isFullSync; | ||
} | ||
|
||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
|
||
public String getEngine() { | ||
return engine; | ||
} | ||
|
||
} |
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