SyncStats Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. SyncStats
- com.
Implements
public final class SyncStats
implements JsonSerializable<SyncStats>
Stats of the synchronization.
Constructor Summary
| Constructor | Description |
|---|---|
| SyncStats() |
Creates an instance of Sync |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
added()
Get the added property: Count of catalog items added during synchronization. |
|
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
| Integer |
removed()
Get the removed property: Count of catalog items removed during synchronization. |
|
List<Catalog |
syncedCatalogItemTypes()
Get the synced |
| Integer |
synchronizationErrors()
Get the synchronization |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
unchanged()
Get the unchanged property: Count of catalog items that were unchanged during synchronization. |
| Integer |
updated()
Get the updated property: Count of catalog items updated during synchronization. |
| void |
validate()
Validates the instance. |
| Integer |
validationErrors()
Get the validation |
|
Sync |
withSyncedCatalogItemTypes(List<CatalogItemType> syncedCatalogItemTypes)
Set the synced |
Methods inherited from java.lang.Object
Constructor Details
SyncStats
public SyncStats()
Creates an instance of SyncStats class.
Method Details
added
public Integer added()
Get the added property: Count of catalog items added during synchronization.
Returns:
fromJson
public static SyncStats fromJson(JsonReader jsonReader)
Reads an instance of SyncStats from the JsonReader.
Parameters:
Returns:
Throws:
removed
public Integer removed()
Get the removed property: Count of catalog items removed during synchronization.
Returns:
syncedCatalogItemTypes
public List<CatalogItemType> syncedCatalogItemTypes()
Get the syncedCatalogItemTypes property: Indicates catalog item types that were synced.
Returns:
synchronizationErrors
public Integer synchronizationErrors()
Get the synchronizationErrors property: Count of synchronization errors that occured during synchronization.
Returns:
toJson
unchanged
public Integer unchanged()
Get the unchanged property: Count of catalog items that were unchanged during synchronization.
Returns:
updated
public Integer updated()
Get the updated property: Count of catalog items updated during synchronization.
Returns:
validate
public void validate()
Validates the instance.
validationErrors
public Integer validationErrors()
Get the validationErrors property: Count of catalog items that had validation errors during synchronization.
Returns:
withSyncedCatalogItemTypes
public SyncStats withSyncedCatalogItemTypes(List<CatalogItemType> syncedCatalogItemTypes)
Set the syncedCatalogItemTypes property: Indicates catalog item types that were synced.
Parameters:
Returns: